/* ==========================================================================
   Synkrith Innovations — site styles
   Palette from the logo: navy #012e5d, orange #f55613
   ========================================================================== */
:root {
  --navy: #012e5d;
  --navy-2: #0a3f7a;
  --orange: #f55613;
  --orange-2: #ff7a3d;
  --bg: #040b17;
  --bg-2: #071427;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --text: #eaf0f7;
  --muted: #9fb0c6;
  --font-display: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(1200px 700px at 78% 30%, rgba(1, 46, 93, 0.55), transparent 60%),
              radial-gradient(900px 600px at 15% 85%, rgba(245, 86, 19, 0.12), transparent 60%),
              var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; margin: 0; }
em { font-style: normal; }
h2 em { color: var(--muted); }
.accent, h1 em.accent { color: var(--orange); }
::selection { background: var(--orange); color: #fff; }

/* ---------- background canvas + grain ---------- */
#bg {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; display: block; background: transparent;
}
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
main, header, footer { position: relative; z-index: 2; }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--bg);
  display: grid; place-content: center; gap: 22px;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__mark svg { width: 120px; height: auto; display: block; margin: 0 auto; animation: pulse 1.6s ease-in-out infinite; }
.loader__mark .nv { fill: #fff; }
.loader__bar { width: 160px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 40%; background: var(--orange); animation: slide 1.2s var(--ease) infinite; }
@keyframes slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
@keyframes pulse { 0%, 100% { opacity: 0.6; transform: scale(0.98); } 50% { opacity: 1; transform: scale(1); } }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  padding: 18px clamp(20px, 4vw, 48px);
  transition: background 0.4s, backdrop-filter 0.4s, padding 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding: 12px clamp(20px, 4vw, 48px);
  background: rgba(4, 11, 23, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line);
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand .logo-mark { width: 54px; height: auto; }
.nav__brand .logo-lockup { width: 200px; height: 42px; display: block; flex: 0 0 auto; }
.footer__lockup .logo-lockup { width: 290px; height: 61px; }
@media (max-width: 480px) { .nav__brand .logo-lockup { width: 168px; height: 35px; } }
.logo-mark .nv { fill: #ffffff; }
.nav__name { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.logo-word { height: 19px; width: auto; display: block; }
.logo-word .nv, .logo-word .lt { fill: #ffffff; }
.nav__name-sub { font-family: var(--font-display); font-weight: 500; font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); margin-top: 6px; padding-left: 1px; }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-size: 0.92rem; font-weight: 500; color: var(--muted); }
.nav__links a { position: relative; padding: 4px 0; transition: color 0.3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px; background: var(--orange); transition: width 0.35s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: #fff; }
.nav__links a:hover::after, .nav__links a.is-active::after { width: 100%; }
.nav__burger { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.nav__burger span { display: block; width: 18px; height: 1.5px; background: #fff; transition: transform 0.3s, opacity 0.3s; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  font-family: var(--font-display); border: 1px solid transparent; cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, background 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 10px 30px -10px rgba(245, 86, 19, 0.6); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(245, 86, 19, 0.75); background: var(--orange-2); }
.btn--ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--line); color: var(--text); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.25); transform: translateY(-2px); }
.btn--block { width: 100%; justify-content: center; }

/* ---------- shared ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--orange); margin: 0 0 18px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(245, 86, 19, 0.2); animation: blink 2.2s infinite; }
@keyframes blink { 0%, 100% { box-shadow: 0 0 0 4px rgba(245, 86, 19, 0.2); } 50% { box-shadow: 0 0 0 8px rgba(245, 86, 19, 0); } }
.section { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 10vw, 140px) clamp(20px, 4vw, 48px); }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 700; line-height: 1.08; }
.section__lead { color: var(--muted); font-size: 1.08rem; margin: 20px 0 0; max-width: 640px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh; display: flex; align-items: center;
  padding: 140px clamp(20px, 4vw, 48px) 80px;
  max-width: var(--max); margin: 0 auto; position: relative;
}
.hero__inner { max-width: 640px; }
.hero__title { font-size: clamp(2.8rem, 7.2vw, 5.6rem); font-weight: 800; line-height: 0.98; margin: 0 0 28px; }
.hero__title .line { display: block; }
.hero__title em { color: var(--muted); }
.hero__lead { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.18rem); max-width: 560px; margin: 0 0 32px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero__proof { list-style: none; padding: 0; margin: 0; display: flex; gap: 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero__proof li { display: flex; flex-direction: column; padding: 18px 26px 0 0; margin-right: 26px; border-right: 1px solid var(--line); }
.hero__proof li:last-child { border-right: 0; }
.hero__proof strong { font-family: var(--font-display); font-size: 0.95rem; }
.hero__proof span { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); letter-spacing: 0.06em; margin-top: 4px; }
.hero__hint { position: absolute; bottom: 36px; left: clamp(20px, 4vw, 48px); display: flex; align-items: center; gap: 14px; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.hero__hint-line { width: 60px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.hero__hint-line::after { content: ""; position: absolute; inset: 0; background: var(--orange); transform: translateX(-100%); animation: hint 2.4s var(--ease) infinite; }
@keyframes hint { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

/* ---------- marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; overflow: hidden; background: rgba(4, 11, 23, 0.5); backdrop-filter: blur(6px); }
.marquee__label { margin: 0 0 14px; text-align: center; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__row { display: flex; gap: 0; }
.marquee__row span { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: rgba(255, 255, 255, 0.55); padding: 0 34px; position: relative; white-space: nowrap; }
.marquee__row span::after { content: ""; position: absolute; right: -3px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); opacity: 0.6; transform: translateY(-50%); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- services cards ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  position: relative; padding: 34px 32px 30px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transform-style: preserve-3d; will-change: transform;
  transition: border-color 0.4s, box-shadow 0.4s;
}
.card:hover { border-color: rgba(245, 86, 19, 0.5); box-shadow: 0 30px 60px -30px rgba(245, 86, 19, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.card__glow { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 86, 19, 0.28), transparent 60%); left: var(--mx, 50%); top: var(--my, 50%); transform: translate(-50%, -50%); opacity: 0; transition: opacity 0.4s; pointer-events: none; z-index: -1; }
.card:hover .card__glow { opacity: 1; }
.card__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(145deg, var(--navy-2), var(--navy)); color: #fff; margin-bottom: 26px; border: 1px solid rgba(255, 255, 255, 0.12); transform: translateZ(30px); }
.card__icon svg { width: 30px; height: 30px; }
.card h3 { font-size: 1.45rem; font-weight: 700; margin-bottom: 12px; transform: translateZ(20px); }
.card p { color: var(--muted); margin: 0 0 18px; transform: translateZ(12px); }
.card__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 0.92rem; }
.card__list li { position: relative; padding-left: 20px; color: rgba(234, 240, 247, 0.85); }
.card__list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 2px; background: var(--orange); transform: rotate(45deg); }
.card__list--cols { grid-template-columns: repeat(2, 1fr); gap: 8px 24px; }
.card__num { position: absolute; top: 26px; right: 30px; font-family: var(--font-mono); font-size: 0.8rem; color: rgba(255, 255, 255, 0.35); letter-spacing: 0.1em; }
.card--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 56px 1fr; gap: 28px; align-items: start; background: linear-gradient(120deg, rgba(1, 46, 93, 0.55), rgba(245, 86, 19, 0.12)); }
.card--wide .card__icon { margin-bottom: 0; }
.card--wide h3 { font-size: 1.7rem; }

/* ---------- process ---------- */
.process { position: relative; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 30px; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, transparent, var(--line) 10%, var(--line) 90%, transparent); }
.step { display: grid; grid-template-columns: 60px 1fr auto; gap: 28px; align-items: start; padding: 34px 0; border-bottom: 1px solid var(--line); position: relative; }
.step:last-child { border-bottom: 0; }
.step__num { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-size: 0.85rem; background: var(--bg-2); border: 1px solid var(--line); color: var(--orange); position: relative; z-index: 1; transition: background 0.4s, border-color 0.4s, color 0.4s, box-shadow 0.4s; }
.step:hover .step__num { background: var(--orange); color: #fff; border-color: var(--orange); box-shadow: 0 0 0 8px rgba(245, 86, 19, 0.15); }
.step__tag { display: inline-block; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.step h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0 0 14px; max-width: 620px; }
.step ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.step ul li { font-size: 0.8rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: rgba(234, 240, 247, 0.85); }
.step__time { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; color: var(--orange); padding: 8px 14px; border: 1px dashed rgba(245, 86, 19, 0.45); border-radius: 999px; white-space: nowrap; }

/* ---------- why ---------- */
.why__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.why__points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.why__points li { padding-left: 26px; position: relative; color: var(--muted); }
.why__points li strong { color: var(--text); display: block; font-family: var(--font-display); font-weight: 600; margin-bottom: 2px; }
.why__points li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 10px; height: 10px; border-radius: 3px; background: var(--orange); transform: rotate(45deg); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { padding: 30px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; }
.stat::after { content: ""; position: absolute; inset: auto -40px -40px auto; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 86, 19, 0.25), transparent 70%); }
.stat__value { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1; color: #fff; letter-spacing: -0.03em; }
.stat__label { display: block; color: var(--muted); font-size: 0.9rem; margin-top: 10px; }
.stat:nth-child(1) .stat__value, .stat:nth-child(4) .stat__value { color: var(--orange); }

/* ---------- work ---------- */
.work__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.work__item { padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(1, 46, 93, 0.45), rgba(255, 255, 255, 0.02)); position: relative; overflow: hidden; transform-style: preserve-3d; transition: border-color 0.4s; }
.work__item::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 200px at var(--mx, 80%) var(--my, 0%), rgba(245, 86, 19, 0.16), transparent 60%); opacity: 0; transition: opacity 0.4s; }
.work__item:hover { border-color: rgba(255, 255, 255, 0.25); }
.work__item:hover::before { opacity: 1; }
.work__tag { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange); display: block; margin-bottom: 14px; }
.work__item h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 10px; }
.work__item p { color: var(--muted); margin: 0; }

/* ---------- faq ---------- */
.faq__list { max-width: 820px; display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 0 24px; transition: border-color 0.3s, background 0.3s; }
.faq__item[open] { border-color: rgba(245, 86, 19, 0.5); background: var(--surface-2); }
.faq__item summary { cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; padding: 20px 40px 20px 0; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-weight: 400; color: var(--orange); transition: transform 0.3s, background 0.3s; }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); background: rgba(245, 86, 19, 0.15); }
.faq__item p { color: var(--muted); margin: 0 0 22px; max-width: 700px; }

/* ---------- contact ---------- */
.contact__card { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); padding: clamp(32px, 5vw, 64px); border-radius: 32px; border: 1px solid var(--line); background: linear-gradient(140deg, rgba(1, 46, 93, 0.65), rgba(4, 11, 23, 0.7) 55%, rgba(245, 86, 19, 0.18)); position: relative; overflow: hidden; }
.contact__card::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; right: -200px; top: -300px; background: radial-gradient(circle, rgba(245, 86, 19, 0.22), transparent 65%); pointer-events: none; }
.contact__text h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 700; line-height: 1.1; }
.contact__meta { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 12px; font-size: 0.95rem; }
.contact__meta span { display: block; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact__meta a { color: var(--orange); }
.form { display: grid; gap: 16px; position: relative; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 8px; font-size: 0.82rem; color: var(--muted); font-weight: 500; }
.form input, .form select, .form textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(4, 11, 23, 0.6); color: var(--text); font: inherit; font-size: 0.95rem; transition: border-color 0.3s, box-shadow 0.3s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(245, 86, 19, 0.15); }
.form select option { color: #111; }
.form textarea { resize: vertical; }
.form__note { margin: 0; font-size: 0.78rem; color: var(--muted); text-align: center; }

/* ---------- footer ---------- */
.footer { max-width: var(--max); margin: 0 auto; padding: 60px clamp(20px, 4vw, 48px) 40px; display: grid; grid-template-columns: 1fr auto; gap: 40px; border-top: 1px solid var(--line); }
.footer__lockup { gap: 16px; }
.footer__lockup .logo-mark { width: 72px; }
.footer__lockup .logo-word { height: 26px; }
.footer__lockup .nav__name-sub { font-size: 0.8rem; margin-top: 8px; letter-spacing: 0.32em; }
.footer__blurb { color: var(--muted); max-width: 380px; margin: 18px 0 0; font-size: 0.95rem; }
.footer__cols { display: flex; gap: clamp(40px, 6vw, 90px); }
.footer__cols h4 { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-family: var(--font-mono); font-weight: 500; }
.footer__cols a { display: block; color: rgba(234, 240, 247, 0.85); font-size: 0.95rem; padding: 4px 0; transition: color 0.3s; }
.footer__cols a:hover { color: var(--orange); }
.footer__bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--muted); }
.footer__tag { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav__links { position: fixed; inset: 0; background: rgba(4, 11, 23, 0.96); flex-direction: column; justify-content: center; align-items: center; gap: 30px; font-size: 1.5rem; font-family: var(--font-display); opacity: 0; pointer-events: none; transition: opacity 0.35s; margin: 0; }
  .nav__links.is-open { opacity: 1; pointer-events: auto; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; position: relative; z-index: 2; }
  .hero { padding-top: max(46vh, 300px); padding-bottom: 60px; align-items: flex-end; }
  .hero__title { font-size: clamp(2.4rem, 11vw, 4rem); }
  .hero__proof li { padding-right: 16px; margin-right: 16px; }
  .hero__hint { display: none; }
  .card--wide { grid-template-columns: 1fr; }
  .card__list--cols { grid-template-columns: 1fr; }
  .step { grid-template-columns: 48px 1fr; }
  .step__num { width: 48px; height: 48px; }
  .steps::before { left: 24px; }
  .step__time { grid-column: 2; justify-self: start; }
  .work__grid { grid-template-columns: 1fr; }
  .contact__card { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .hero__proof { flex-direction: column; }
  .hero__proof li { border-right: 0; padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Multi-page additions: nav dropdown, service pages, six-card grid
   ========================================================================== */
.nav__item--menu { position: relative; }
.nav__toggle { display: inline-flex; align-items: center; gap: 6px; }
.nav__toggle svg { transition: transform 0.3s; }
.nav__item--menu:hover .nav__toggle svg, .nav__item--menu.is-open .nav__toggle svg { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: 520px; padding: 10px; border-radius: 18px;
  background: rgba(7, 20, 39, 0.96); border: 1px solid var(--line);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.3s var(--ease);
}
.nav__menu::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav__item--menu:hover .nav__menu, .nav__item--menu.is-open .nav__menu { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav__menu a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; color: var(--text); transition: background 0.2s; }
.nav__menu a::after { display: none; }
.nav__menu a:hover { background: rgba(255, 255, 255, 0.06); }
.nav__menu strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; }
.nav__menu small { display: block; color: var(--muted); font-size: 0.74rem; margin-top: 2px; }
.nav__menu-icon { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(145deg, var(--navy-2), var(--navy)); border: 1px solid rgba(255, 255, 255, 0.12); }
.nav__menu-icon svg { width: 20px; height: 20px; }

/* six service cards on the home page */
.cards { grid-template-columns: repeat(3, 1fr); }
.card--link { display: flex; flex-direction: column; color: inherit; cursor: pointer; }
.card--link .card__list { margin-bottom: 22px; }
.card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--orange); }
.card__more .arrow { transition: transform 0.3s var(--ease); }
.card:hover .card__more .arrow { transform: translateX(4px); }
.card--link h3 { font-size: 1.3rem; }
.card--link p { font-size: 0.95rem; }

/* service page hero */
.hero__title--service { font-size: clamp(2.4rem, 5.4vw, 4.2rem); line-height: 1.04; }
.hero__title--service em { color: var(--orange); }
.hero__tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__tags li { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); color: rgba(234, 240, 247, 0.85); }

/* intro */
.intro { padding-top: 0; }
.intro__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: end; padding: clamp(36px, 5vw, 64px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.intro__p { color: var(--muted); font-size: 1.12rem; margin: 0; line-height: 1.7; }

/* capabilities */
.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cap { position: relative; padding: 30px 28px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)); transform-style: preserve-3d; transition: border-color 0.4s, box-shadow 0.4s; overflow: hidden; }
.cap::before { content: ""; position: absolute; inset: 0; background: radial-gradient(360px 200px at var(--mx, 50%) var(--my, 0%), rgba(245, 86, 19, 0.18), transparent 60%); opacity: 0; transition: opacity 0.4s; }
.cap:hover { border-color: rgba(245, 86, 19, 0.5); box-shadow: 0 30px 60px -30px rgba(245, 86, 19, 0.3); }
.cap:hover::before { opacity: 1; }
.cap__num { font-family: var(--font-mono); font-size: 0.72rem; color: var(--orange); letter-spacing: 0.15em; display: block; margin-bottom: 18px; }
.cap h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; position: relative; }
.cap p { color: var(--muted); font-size: 0.95rem; margin: 0; position: relative; }

/* compact steps */
.steps--compact .step { grid-template-columns: 60px 1fr; padding: 26px 0; }
.steps--compact .step h3 { font-size: 1.25rem; }
.steps--compact .step p { margin: 0; }

/* outcomes */
.outcomes { display: grid; gap: 40px; }
.stats--row { grid-template-columns: repeat(4, 1fr); }
.stats--row .stat__value { font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
.tools__list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tools__list li { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-family: var(--font-display); font-weight: 500; font-size: 0.88rem; color: rgba(234, 240, 247, 0.85); transition: border-color 0.3s, color 0.3s; }
.tools__list li:hover { border-color: var(--orange); color: #fff; }

/* related services */
.related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related__item { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(1, 46, 93, 0.45), rgba(255, 255, 255, 0.02)); color: inherit; transform-style: preserve-3d; transition: border-color 0.4s; }
.related__item:hover { border-color: rgba(255, 255, 255, 0.28); }
.related__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(145deg, var(--navy-2), var(--navy)); border: 1px solid rgba(255, 255, 255, 0.12); margin-bottom: 8px; }
.related__icon svg { width: 24px; height: 24px; }
.related__num { position: absolute; top: 24px; right: 26px; font-family: var(--font-mono); font-size: 0.75rem; color: rgba(255, 255, 255, 0.35); }
.related__item h3 { font-size: 1.15rem; }
.related__item p { color: var(--muted); font-size: 0.9rem; margin: 0 0 8px; }

/* CTA card on service pages */
.contact__card--cta { grid-template-columns: 1.4fr 1fr; align-items: center; }
.contact__actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.contact__actions .btn { justify-content: center; }

@media (max-width: 1024px) {
  .cards, .caps, .related__grid { grid-template-columns: repeat(2, 1fr); }
  .stats--row { grid-template-columns: repeat(2, 1fr); }
  .intro__grid { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 820px) {
  .cards, .caps, .related__grid { grid-template-columns: 1fr; }
  .contact__card--cta { grid-template-columns: 1fr; }
  .nav__item--menu { display: flex; flex-direction: column; align-items: center; }
  .nav__menu { position: static; transform: none; width: min(92vw, 420px); margin-top: 12px; display: none; box-shadow: none; }
  .nav__item--menu.is-open .nav__menu { display: grid; grid-template-columns: 1fr; opacity: 1; pointer-events: auto; }
  .nav__menu strong { font-size: 1rem; }
  body.nav-open { overflow: hidden; }
  .nav__links { overflow-y: auto; padding: 90px 20px 40px; justify-content: flex-start; }
}
@media (max-width: 480px) {
  .stats--row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Cinematic imagery (generated renders in assets/img)
   ========================================================================== */
.hero--media, .hero--home { position: relative; }
.hero__media {
  position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  /* stretch to the full viewport width even though .hero is max-width constrained */
  left: 50%; width: 100vw; transform: translateX(-50%);
}
.hero__media img {
  position: absolute; inset: -6% -4%; width: 108%; height: 112%; object-fit: cover; object-position: 76% 50%;
  transform: translate3d(var(--px, 0), var(--py, 0), 0) scale(1.02);
  will-change: transform; transition: opacity 1.2s var(--ease); opacity: 0;
}
.hero__media img.is-loaded { opacity: 1; }
.hero__video {
  position: absolute; inset: -6% -4%; width: 108%; height: 112%; object-fit: cover; object-position: 76% 50%;
  transform: translate3d(var(--px, 0), var(--py, 0), 0) scale(1.02);
  will-change: transform; opacity: 0; transition: opacity 1.4s var(--ease); pointer-events: none;
}
.hero__video.is-playing { opacity: 1; }
.hero__media--home .hero__video { object-position: 72% 50%; }
@media (max-width: 820px) { .hero__video { object-position: 60% 50%; } }
.hero__media::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(4, 11, 23, 0.96) 0%, rgba(4, 11, 23, 0.86) 28%, rgba(4, 11, 23, 0.35) 55%, rgba(4, 11, 23, 0.05) 80%),
    linear-gradient(180deg, rgba(4, 11, 23, 0.55) 0%, rgba(4, 11, 23, 0) 30%, rgba(4, 11, 23, 0) 70%, rgba(4, 11, 23, 1) 100%);
}
.hero__media--home img { object-position: 72% 50%; opacity: 0; }
.hero__media--home::before {
  background:
    linear-gradient(90deg, rgba(4, 11, 23, 0.97) 0%, rgba(4, 11, 23, 0.85) 30%, rgba(4, 11, 23, 0.45) 60%, rgba(4, 11, 23, 0.25) 100%),
    linear-gradient(180deg, rgba(4, 11, 23, 0.6) 0%, rgba(4, 11, 23, 0) 30%, rgba(4, 11, 23, 0) 65%, rgba(4, 11, 23, 1) 100%);
}
.hero--media .hero__title--service { text-shadow: 0 2px 30px rgba(4, 11, 23, 0.8); }
/* home: the backdrop sits behind the 3D canvas, fixed to the first viewport */
.hero__media--fixed { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; transform: none; z-index: -1; will-change: transform, opacity; }

/* service cards with image headers */
.card--media { padding-top: 0; }
.card__media { position: relative; margin: 0 -32px 24px; height: 190px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 0.9s var(--ease); }
.card:hover .card__media img { transform: scale(1.1); }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 11, 23, 0.1) 0%, rgba(4, 11, 23, 0.2) 60%, rgba(7, 20, 39, 1) 100%); }
.card--media .card__icon { margin-top: -54px; position: relative; z-index: 1; }
.card--media .card__num { top: 20px; right: 24px; color: rgba(255, 255, 255, 0.7); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); z-index: 1; }

/* related service cards with image background */
.related__item--media { min-height: 260px; justify-content: flex-end; overflow: hidden; }
.related__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; transition: transform 0.9s var(--ease), opacity 0.4s; }
.related__item--media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 11, 23, 0.1) 0%, rgba(4, 11, 23, 0.55) 45%, rgba(4, 11, 23, 0.95) 100%); }
.related__item--media:hover .related__img { transform: scale(1.06); opacity: 0.75; }
.related__item--media > * { position: relative; }
.related__item--media .related__icon { margin-bottom: auto; }

/* work items with imagery */
.work__item--media { padding: 0; display: flex; flex-direction: column; }
.work__img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.9s var(--ease); }
.work__item--media:hover .work__img { transform: scale(1.05); }
.work__body { padding: 26px 32px 32px; position: relative; background: linear-gradient(180deg, rgba(4, 11, 23, 0.4), rgba(4, 11, 23, 0)); }
.work__item--media::after { content: ""; position: absolute; left: 0; right: 0; top: 150px; height: 90px; background: linear-gradient(180deg, rgba(4, 11, 23, 0), rgba(7, 20, 39, 0.9)); pointer-events: none; }

/* why section: image with stats overlaid */
.why__visual { position: relative; border-radius: 28px; overflow: hidden; min-height: 520px; border: 1px solid var(--line); }
.why__visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.why__visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 11, 23, 0.15) 0%, rgba(4, 11, 23, 0.7) 55%, rgba(4, 11, 23, 0.96) 100%); }
.stats--overlay { position: absolute; left: 20px; right: 20px; bottom: 20px; gap: 12px; }
.stats--overlay .stat { background: rgba(7, 20, 39, 0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 22px 22px; }

/* CTA card with imagery */
.contact__card--media { position: relative; }
.contact__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; opacity: 0.45; }
.contact__card--media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 11, 23, 0.95) 0%, rgba(4, 11, 23, 0.8) 45%, rgba(4, 11, 23, 0.35) 100%); }
.contact__card--media > *:not(.contact__bg) { position: relative; z-index: 1; }

@media (max-width: 820px) {
  .hero__media img { object-position: 60% 50%; }
  .hero__media::before {
    background:
      linear-gradient(180deg, rgba(4, 11, 23, 0.55) 0%, rgba(4, 11, 23, 0.25) 35%, rgba(4, 11, 23, 0.9) 62%, rgba(4, 11, 23, 1) 100%);
  }
  .hero__media--home::before {
    background: linear-gradient(180deg, rgba(4, 11, 23, 0.6) 0%, rgba(4, 11, 23, 0.3) 30%, rgba(4, 11, 23, 0.92) 55%, rgba(4, 11, 23, 1) 100%);
  }
  .card__media { margin: 0 -32px 20px; height: 160px; }
  .why__visual { min-height: 0; }
  .stats--overlay { position: static; margin: 260px 16px 16px; }
}

/* ==========================================================================
   Iteration 3: per-service section library
   ========================================================================== */
.section--tight { padding-top: clamp(30px, 4vw, 48px); padding-bottom: clamp(30px, 4vw, 48px); }
.marquee--tight { padding: 16px 0; }
.marquee--tight .marquee__row span { font-size: 0.85rem; color: rgba(255, 255, 255, 0.45); letter-spacing: 0.04em; }

/* hero: split */
.hero--split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero__figure { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8); }
.hero__figure img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero__figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 11, 23, 0) 45%, rgba(4, 11, 23, 0.85) 100%); }
.hero__chips { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 1; list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.hero__chips li { display: flex; flex-direction: column; padding: 12px 16px; border-radius: 14px; background: rgba(7, 20, 39, 0.75); backdrop-filter: blur(10px); border: 1px solid var(--line); min-width: 110px; }
.hero__chips strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--orange); line-height: 1; }
.hero__chips span { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; color: var(--muted); margin-top: 6px; text-transform: uppercase; }

/* hero: stacked */
.hero--stacked { flex-direction: column; align-items: stretch; justify-content: center; gap: 40px; padding-bottom: 40px; }
.hero__inner--center { max-width: 820px; margin: 0 auto; text-align: center; }
.hero__inner--center .hero__cta, .hero__inner--center .hero__tags { justify-content: center; }
.hero__inner--center .hero__lead { margin-left: auto; margin-right: auto; }
.hero__wide { position: relative; margin: 0; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.9); }
.hero__wide img { display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.hero__wide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 11, 23, 0) 50%, rgba(4, 11, 23, 0.9) 100%); }
.hero__overlay { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; flex-wrap: wrap; }
.hero__overlay li { display: flex; flex-direction: column; padding: 14px 18px; border-radius: 14px; background: rgba(7, 20, 39, 0.72); backdrop-filter: blur(10px); border: 1px solid var(--line); min-width: 150px; }
.hero__overlay strong { font-family: var(--font-display); font-size: 1.35rem; color: #fff; line-height: 1; }
.hero__overlay span { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; color: var(--muted); margin-top: 6px; text-transform: uppercase; }

/* manifesto */
.manifesto__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; padding: clamp(36px, 5vw, 64px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.manifesto__p { color: var(--muted); font-size: 1.12rem; line-height: 1.7; margin: 0; }
.manifesto__points { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.manifesto__points li { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(245, 86, 19, 0.5); color: var(--orange); }

/* matrix */
.matrix__wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.matrix__table { width: 100%; border-collapse: collapse; min-width: 720px; }
.matrix__table th, .matrix__table td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: center; font-size: 0.9rem; }
.matrix__table thead th { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.matrix__table tbody th { text-align: left; font-family: var(--font-display); font-weight: 600; color: var(--text); }
.matrix__table tr:last-child td, .matrix__table tr:last-child th { border-bottom: 0; }
.matrix__dot { display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: var(--orange); transform: rotate(45deg); box-shadow: 0 0 0 4px rgba(245, 86, 19, 0.15); }
.matrix__dot--off { background: rgba(255, 255, 255, 0.08); box-shadow: none; }
.matrix__bar { display: inline-flex; gap: 3px; }
.matrix__bar i { width: 14px; height: 8px; border-radius: 2px; background: rgba(255, 255, 255, 0.08); }
.matrix__bar[data-v="1"] i:nth-child(-n+1), .matrix__bar[data-v="2"] i:nth-child(-n+2), .matrix__bar[data-v="3"] i:nth-child(-n+3) { background: var(--orange); }

/* capability variants */
.caps--numbered { grid-template-columns: repeat(2, 1fr); }
.caps--numbered .cap { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 26px 0; }
.caps--numbered .cap::before { display: none; }
.caps--numbered .cap:hover { box-shadow: none; border-color: var(--line); }
.caps--numbered .cap__num { font-size: 1.6rem; font-family: var(--font-display); font-weight: 800; color: var(--orange); margin: 0; letter-spacing: -0.02em; }
.caps--numbered .cap h3 { grid-column: 2; margin-top: -60px; }
.caps--numbered .cap p { grid-column: 2; }
.caps--bento { grid-template-columns: repeat(6, 1fr); }
.caps--bento .cap:nth-child(1), .caps--bento .cap:nth-child(2) { grid-column: span 3; }
.caps--bento .cap:nth-child(n+3) { grid-column: span 2; }
.caps--bento .cap:nth-child(1) { background: linear-gradient(140deg, rgba(1, 46, 93, 0.6), rgba(245, 86, 19, 0.15)); }

/* story rows */
.story { display: grid; gap: clamp(40px, 6vw, 90px); }
.story__row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.story__row--flip .story__img { order: 2; }
.story__img { margin: 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8); }
.story__img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s var(--ease); }
.story__row:hover .story__img img { transform: scale(1.04); }
.story__text h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; margin: 0 0 14px; line-height: 1.15; }
.story__text p { color: var(--muted); font-size: 1.05rem; }
.story__bullets { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.story__bullets li { display: flex; gap: 10px; align-items: center; font-size: 0.95rem; }
.story__bullets svg, .checklist svg, .cmp svg { width: 18px; height: 18px; flex: 0 0 18px; color: var(--orange); }

/* process: phases + horizontal */
.phases { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.phase { position: relative; padding: 26px 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); transform-style: preserve-3d; }
.phase__num { font-family: var(--font-mono); font-size: 0.72rem; color: var(--orange); letter-spacing: 0.15em; }
.phase__time { position: absolute; top: 22px; right: 18px; font-family: var(--font-mono); font-size: 0.64rem; color: var(--muted); letter-spacing: 0.06em; }
.phase h3 { font-size: 1.1rem; margin: 14px 0 8px; }
.phase p { color: var(--muted); font-size: 0.88rem; margin: 0; }
.hsteps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.hsteps::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--line); }
.hstep { position: relative; padding: 0 22px 0 0; }
.hstep__num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bg-2); border: 1px solid rgba(245, 86, 19, 0.5); color: var(--orange); font-family: var(--font-mono); font-size: 0.75rem; position: relative; z-index: 1; }
.hstep h3 { font-size: 1.05rem; margin: 18px 0 8px; }
.hstep p { color: var(--muted); font-size: 0.88rem; margin: 0 0 10px; }
.hstep__time { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; color: var(--orange); text-transform: uppercase; }

/* comparison */
.cmp__wrap { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.cmp { width: 100%; border-collapse: collapse; }
.cmp th { font-family: var(--font-display); font-size: 1rem; padding: 18px 24px; text-align: left; background: rgba(255, 255, 255, 0.03); color: var(--muted); }
.cmp th.cmp__right-head { color: #fff; background: linear-gradient(90deg, rgba(1, 46, 93, 0.6), rgba(245, 86, 19, 0.18)); }
.cmp td { padding: 16px 24px; border-top: 1px solid var(--line); vertical-align: top; font-size: 0.95rem; width: 50%; }
.cmp__left { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, 0.25); }
.cmp__right { display: flex; gap: 10px; align-items: flex-start; background: rgba(1, 46, 93, 0.18); }

/* checklist */
.checklist__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; }
.checklist__col { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist__col li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }

/* generic mini cards */
.mcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mcards--engagement { grid-template-columns: repeat(3, 1fr); }
.mcards--compliance, .mcards--usecases { grid-template-columns: repeat(3, 1fr); }
.mcard { position: relative; padding: 28px 26px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)); transform-style: preserve-3d; transition: border-color 0.4s; }
.mcard:hover { border-color: rgba(245, 86, 19, 0.5); }
.mcard__num { font-family: var(--font-mono); font-size: 0.7rem; color: var(--orange); letter-spacing: 0.15em; }
.mcard h3 { font-size: 1.1rem; margin: 12px 0 8px; }
.mcard p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.mcards--engagement .mcard { padding: 34px 30px; }
.mcards--engagement .mcard:nth-child(2) { background: linear-gradient(140deg, rgba(1, 46, 93, 0.6), rgba(245, 86, 19, 0.15)); border-color: rgba(245, 86, 19, 0.45); }
.mcards--engagement .mcard h3 { font-size: 1.35rem; }

/* principles */
.principles__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.principle { padding: 30px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principle__num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: rgba(255, 255, 255, 0.12); letter-spacing: -0.04em; line-height: 1; }
.principle h3 { font-size: 1.15rem; margin: 14px 0 8px; }
.principle p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* quotes */
.quotes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote { margin: 0; padding: 30px 28px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); transform-style: preserve-3d; }
.quote p { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.45; margin: 0 0 18px; }
.quote footer { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); }

/* glossary */
.glossary__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; }
.gloss { padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.gloss dt { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; color: #fff; }
.gloss dd { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* industries */
.industries__grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.industry { padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(1, 46, 93, 0.4), rgba(255, 255, 255, 0.02)); transform-style: preserve-3d; }
.industry h3 { font-size: 1.05rem; margin: 0 0 6px; }
.industry p { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* layers (stack) */
.layers__stack { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; perspective: 1200px; }
.layer { display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: center; padding: 20px 26px; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(90deg, rgba(1, 46, 93, calc(0.65 - var(--i) * 0.08)), rgba(255, 255, 255, 0.02)); transition: transform 0.5s var(--ease), border-color 0.4s; }
.layer:hover { transform: translateX(10px); border-color: rgba(245, 86, 19, 0.5); }
.layer__num { font-family: var(--font-mono); font-size: 0.8rem; color: var(--orange); letter-spacing: 0.15em; }
.layer h3 { font-size: 1.1rem; margin: 0 0 4px; }
.layer p { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* stack columns */
.stack__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stackcol { padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.stackcol h3 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); margin: 0 0 14px; }
.stackcol ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.stackcol li { font-family: var(--font-display); font-weight: 600; font-size: 1rem; padding: 8px 0; border-bottom: 1px solid var(--line); }
.stackcol li:last-child { border-bottom: 0; }

/* metrics panel */
.metrics__panel { padding: clamp(24px, 4vw, 40px); border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(1, 46, 93, 0.4), rgba(4, 11, 23, 0.6)); }
.metrics__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.metric__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font-size: 0.95rem; }
.metric__head strong { font-family: var(--font-display); color: var(--orange); font-size: 1.1rem; }
.metric__track { position: relative; height: 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.metric__track i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; width: 0; transition: width 1.4s var(--ease); }
.metric__before { background: rgba(255, 255, 255, 0.18); }
.metric__after { background: linear-gradient(90deg, var(--orange), var(--orange-2)); }
.reveal.is-in .metric__track i { width: var(--w); }
.metrics__legend { display: flex; gap: 22px; margin-top: 22px; font-size: 0.8rem; color: var(--muted); }
.metrics__legend i { display: inline-block; width: 22px; height: 8px; border-radius: 999px; margin-right: 8px; vertical-align: middle; }
.metrics__note { color: var(--muted); font-size: 0.78rem; margin: 10px 0 0; }

/* faq variants */
.faq__columns { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 40px; }
.faq__cell { padding: 22px 0; border-top: 1px solid var(--line); }
.faq__cell h3 { font-size: 1.05rem; margin: 0 0 8px; }
.faq__cell p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.faq__numbered { list-style: none; padding: 0; margin: 0; max-width: 900px; }
.faq__row { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); }
.faq__num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--orange); letter-spacing: -0.03em; }
.faq__row h3 { font-size: 1.1rem; margin: 4px 0 8px; }
.faq__row p { color: var(--muted); margin: 0; }

/* cta variants */
.ctaband { margin: clamp(40px, 6vw, 80px) 0 0; padding: clamp(48px, 7vw, 90px) clamp(20px, 4vw, 48px); background: linear-gradient(90deg, rgba(1, 46, 93, 0.7), rgba(245, 86, 19, 0.25)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ctaband__inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.ctaband h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0 0 10px; }
.ctaband p { color: var(--muted); margin: 0; max-width: 560px; }
.ctaband__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.ctasplit { display: grid; grid-template-columns: 1fr 1.1fr; border-radius: 30px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(140deg, rgba(1, 46, 93, 0.6), rgba(4, 11, 23, 0.8)); }
.ctasplit__img { margin: 0; min-height: 320px; }
.ctasplit__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ctasplit__text { padding: clamp(28px, 4vw, 56px); }
.ctasplit__text h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.ctasplit__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

@media (max-width: 1024px) {
  .hero--split, .manifesto__grid, .story__row, .ctaband__inner, .ctasplit { grid-template-columns: 1fr; }
  .story__row--flip .story__img { order: 0; }
  .phases, .hsteps { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .hsteps::before { display: none; }
  .principles__list, .quotes__grid, .glossary__grid, .industries__grid, .mcards, .stack__grid { grid-template-columns: repeat(2, 1fr); }
  .caps--bento .cap { grid-column: span 3 !important; }
  .ctaband__actions { justify-content: flex-start; }
}
@media (max-width: 820px) {
  .phases, .hsteps, .principles__list, .quotes__grid, .glossary__grid, .industries__grid, .mcards, .stack__grid, .checklist__grid, .faq__columns, .caps--numbered { grid-template-columns: 1fr; }
  .caps--bento .cap { grid-column: span 6 !important; }
  .hero--stacked { padding-top: 120px; }
  .hero__wide img { aspect-ratio: 4 / 3; }
  .cmp td { display: block; width: auto; }
  .cmp thead { display: none; }
  .cmp__left::before { content: "Before: "; font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); text-decoration: none; }
  .layer { grid-template-columns: 44px 1fr; }
}

/* home hero: shade the copy column so the terrain never fights the headline */
.hero--terrain::before { content: ""; position: absolute; inset: 0 30% 0 -10vw; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(4, 11, 23, 0.92) 0%, rgba(4, 11, 23, 0.7) 45%, rgba(4, 11, 23, 0) 100%); }
.hero--terrain .hero__inner { position: relative; z-index: 1; }
@media (max-width: 820px) { .hero--terrain::before { inset: 0 0 0 0; background: linear-gradient(180deg, rgba(4, 11, 23, 0.2) 0%, rgba(4, 11, 23, 0.75) 45%, rgba(4, 11, 23, 0.95) 100%); } }
