/* ================= Fulcreo — design system ================= */
:root {
  --ink: #1a1a1a;
  --ink-soft: #3d3c39;
  --muted: #5f5e5a;
  --orange: #d85a30;
  --orange-deep: #b8441e;
  --cream: #faf6f1;
  --cream-deep: #f5ede4;
  --peach: #faece7;
  --card: #ffffff;
  --line: rgba(26, 26, 26, 0.1);
  --font-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --radius: 20px;
  --shadow: 0 2px 6px rgba(26, 26, 26, 0.04), 0 18px 44px rgba(26, 26, 26, 0.07);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

h1, h2, h3 { line-height: 1.08; letter-spacing: -0.02em; font-weight: 600; }

h1 em, h2 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--orange);
  letter-spacing: -0.01em;
}

/* Orange triangle accent (echoes the fulcrum) */
.tri, i.tri {
  display: inline-block;
  width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 10px solid var(--orange);
}

.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}

.section-sub {
  color: var(--muted);
  font-size: 18px;
  max-width: 560px;
  margin-top: 20px;
}

/* ================= Buttons ================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 28px;
  border-radius: 100px;
  font-weight: 600; font-size: 15.5px;
  text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s, color 0.25s;
  cursor: pointer;
  border: none;
}
.btn-sm { padding: 11px 22px; font-size: 14.5px; }
.btn-primary {
  background: var(--orange); color: #fff;
  box-shadow: 0 8px 22px rgba(216, 90, 48, 0.32);
}
.btn-primary:hover { background: var(--orange-deep); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(216, 90, 48, 0.4); }
.btn-ghost { color: var(--ink); background: transparent; padding-left: 12px; }
.btn-ghost .arr { transition: transform 0.3s var(--ease); }
.btn-ghost:hover .arr { transform: translateX(5px); }
.btn-dark { background: var(--ink); color: var(--peach); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(26, 26, 26, 0.3); }
.btn-outline-light {
  border: 2px solid rgba(26, 26, 26, 0.6); color: var(--ink); background: transparent;
}
.btn-outline-light:hover { background: var(--ink); color: var(--peach); }

/* ================= Nav ================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}
.nav.scrolled {
  background: rgba(250, 246, 241, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 16px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo { color: var(--ink); display: flex; }
.nav-links { display: flex; gap: 34px; }
.nav-links a {
  color: var(--ink-soft); text-decoration: none;
  font-weight: 500; font-size: 15.5px;
  position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px;
  width: 100%; height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-burger {
  display: none; flex-direction: column; gap: 6px;
  background: none; border: none; padding: 8px; cursor: pointer;
}
.nav-burger span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s; }
.nav-burger.open span:first-child { transform: translateY(4.2px) rotate(45deg); }
.nav-burger.open span:last-child { transform: translateY(-4.2px) rotate(-45deg); }
.nav-mobile {
  display: none;
  flex-direction: column; gap: 20px;
  padding: 10px 28px 30px;
  background: rgba(250, 246, 241, 0.97);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-mobile a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 18px; }
.nav-mobile .btn { justify-content: center; }
.nav.menu-open .nav-mobile { display: flex; }
.nav.menu-open { background: rgba(250, 246, 241, 0.97); backdrop-filter: blur(14px); }

/* ================= Hero ================= */
.hero {
  padding: 168px 0 0;
  background:
    radial-gradient(1000px 560px at 82% -10%, rgba(216, 90, 48, 0.13), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(216, 90, 48, 0.06), transparent 55%),
    var(--cream);
  overflow: hidden;
}
.hero-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 28px;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 40px; align-items: center;
}
.hero h1 {
  font-size: clamp(44px, 6vw, 76px);
  margin-bottom: 26px;
}
.hero-sub { font-size: 20px; color: var(--muted); max-width: 520px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-props { list-style: none; display: grid; gap: 10px; }
.hero-props li {
  color: var(--muted); font-size: 15.5px;
  padding-left: 22px; position: relative;
}
.hero-props li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 0; height: 0;
  border-left: 5px solid transparent; border-right: 5px solid transparent;
  border-bottom: 9px solid var(--orange);
}
.hero-props strong { color: var(--ink); font-weight: 600; }

/* Hero visual */
.hero-visual { position: relative; }
.lever-scene { position: relative; }
.lever-svg { width: 100%; height: auto; display: block; }
.beam-group { transform-origin: 150px 244px; animation: teeter 5.5s var(--ease) infinite; }
.load { transform-origin: 111px 236px; animation: lift 5.5s var(--ease) infinite; }
@keyframes teeter {
  0%, 12% { transform: rotate(0deg); }
  38%, 62% { transform: rotate(7deg); }
  88%, 100% { transform: rotate(0deg); }
}
@keyframes lift {
  0%, 12% { transform: translateY(0); }
  38%, 62% { transform: translateY(-46px); }
  88%, 100% { transform: translateY(0); }
}
.chip {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 100px;
  padding: 10px 20px;
  font-weight: 600; font-size: 14px;
  animation: floaty 6s ease-in-out infinite;
}
.chip-1 { top: 4%; right: 8%; animation-delay: 0s; }
.chip-2 { top: 38%; right: -2%; animation-delay: 1.6s; }
.chip-3 { bottom: 6%; right: 16%; animation-delay: 3.2s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Marquee */
.hero-marquee {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: 34px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee-track span {
  font-size: 14.5px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}
.marquee-track .tri { flex: none; opacity: 0.85; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ================= Stats ================= */
.stats { padding: 88px 0 40px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.stat {
  border-left: 3px solid var(--orange);
  padding-left: 22px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.4vw, 58px);
  font-weight: 500; line-height: 1;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.stat p { color: var(--muted); font-size: 15px; max-width: 220px; }

/* ================= Sections shared ================= */
section { position: relative; }
.section-head { margin-bottom: 64px; }
.section-head h2 { font-size: clamp(36px, 4.6vw, 58px); }

/* ================= Services ================= */
.services { padding: 96px 0 110px; }
.service-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 32px;
  position: relative;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(216, 90, 48, 0.35);
}
.service-card.featured {
  background: var(--ink);
  color: var(--peach);
  border-color: var(--ink);
}
.service-card.featured p, .service-card.featured .service-list li { color: rgba(250, 236, 231, 0.78); }
.service-card.featured .service-index { color: rgba(250, 236, 231, 0.28); }
.service-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(216, 90, 48, 0.1);
  color: var(--orange);
  display: grid; place-items: center;
  margin-bottom: 26px;
}
.service-icon svg { width: 30px; height: 30px; }
.service-card.featured .service-icon { background: rgba(216, 90, 48, 0.22); }
.service-index {
  position: absolute; top: 34px; right: 32px;
  font-family: var(--font-display);
  font-size: 26px; color: rgba(26, 26, 26, 0.18);
}
.service-card h3 { font-size: 25px; margin-bottom: 14px; }
.service-card > p { color: var(--muted); font-size: 15.5px; margin-bottom: 24px; }
.service-list { list-style: none; display: grid; gap: 10px; }
.service-list li {
  font-size: 15px; color: var(--ink-soft);
  padding-left: 20px; position: relative;
}
.service-list li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 0; height: 0;
  border-left: 4.5px solid transparent; border-right: 4.5px solid transparent;
  border-bottom: 8px solid var(--orange);
}

/* ================= Approach ================= */
.approach {
  background: var(--ink);
  color: var(--peach);
  padding: 110px 0 120px;
  border-radius: 40px;
  margin: 0 16px;
}
.approach .eyebrow { color: rgba(250, 236, 231, 0.6); }
.approach .section-sub { color: rgba(250, 236, 231, 0.66); }
.steps {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  counter-reset: step;
}
.step {
  border-top: 1px solid rgba(250, 236, 231, 0.18);
  padding-top: 26px;
  transition: border-color 0.3s;
}
.step:hover { border-color: var(--orange); }
.step-num {
  font-family: var(--font-display);
  font-size: 20px; color: var(--orange);
  display: block; margin-bottom: 16px;
}
.step h3 { font-size: 23px; margin-bottom: 12px; }
.step p { color: rgba(250, 236, 231, 0.66); font-size: 15px; }

/* ================= Work ================= */
.work { padding: 110px 0; }
.work-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.work-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 34px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.work-tag {
  display: inline-block;
  background: rgba(216, 90, 48, 0.1);
  color: var(--orange-deep);
  font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px;
  margin-bottom: 20px;
}
.work-card h3 { font-size: 23px; margin-bottom: 12px; }
.work-card p { color: var(--muted); font-size: 15.5px; }

/* ================= Why ================= */
.why { padding: 20px 0 120px; }
.why-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: start;
}
.why h2 { font-size: clamp(36px, 4.4vw, 54px); }
.why .btn { margin-top: 30px; }
.why-list { list-style: none; display: grid; gap: 0; }
.why-list li {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 16.5px;
}
.why-list li:last-child { border-bottom: 1px solid var(--line); }
.why-list strong { color: var(--ink); display: block; font-size: 19px; margin-bottom: 6px; font-weight: 600; }

/* ================= CTA ================= */
.cta {
  background: var(--orange);
  border-radius: 40px;
  margin: 0 16px;
  padding: 110px 0;
  color: #fff;
  overflow: hidden;
  position: relative;
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(700px 400px at 85% 110%, rgba(26, 26, 26, 0.18), transparent 60%);
  pointer-events: none;
}
.cta-inner { text-align: center; position: relative; }
.cta-mark { width: 76px; margin-bottom: 28px; }
.cta h2 { font-size: clamp(40px, 5.4vw, 66px); margin-bottom: 22px; }
.cta p { max-width: 560px; margin: 0 auto 40px; font-size: 18px; color: rgba(255, 255, 255, 0.88); }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta .btn-outline-light { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.cta .btn-outline-light:hover { background: #fff; color: var(--orange-deep); }

/* ================= Footer ================= */
.footer {
  background: var(--ink);
  color: var(--peach);
  margin-top: 24px;
  padding: 80px 0 36px;
}
.footer-inner {
  display: grid; grid-template-columns: 1.2fr 2fr; gap: 60px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(250, 236, 231, 0.14);
}
.footer-word {
  font-size: 30px; font-weight: 500; letter-spacing: -0.03em;
  margin-top: 14px;
}
.footer-tag { color: rgba(250, 236, 231, 0.55); font-size: 14.5px; }
.footer-cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.footer-cols h4 {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(250, 236, 231, 0.5);
  margin-bottom: 18px;
}
.footer-cols a {
  display: block;
  color: rgba(250, 236, 231, 0.82);
  text-decoration: none;
  font-size: 15.5px;
  margin-bottom: 12px;
  transition: color 0.25s;
}
.footer-cols a:hover { color: var(--orange); }
.footer-base {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 30px;
  color: rgba(250, 236, 231, 0.45);
  font-size: 14px;
  flex-wrap: wrap; gap: 12px;
}
.footer-motto { font-family: var(--font-display); font-style: italic; font-size: 15px; }

/* ================= Reveal animations ================= */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .beam-group, .load, .chip, .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ================= Responsive ================= */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .service-cards { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .why-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .nav-burger { display: flex; }
  .hero { padding-top: 128px; }
  .hero-sub { font-size: 18px; }
  .work-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .approach, .cta { margin: 0 10px; border-radius: 28px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .chip { font-size: 12.5px; padding: 8px 15px; }
}

@media (max-width: 460px) {
  .stats-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
}
