/* =========================================================================
   TM DIGITAL BIZ SERVICES — DESIGN SYSTEM
   -------------------------------------------------------------------------
   1. Tokens            7. Header & navigation     13. Framework
   2. Base / reset      8. Hero & home sections    14. Case studies
   3. Typography        9. Cards                   15. Forms
   4. Layout            10. Metrics                16. Filters & portfolio
   5. Buttons & links   11. Process & lists        17. Footer
   6. Utilities         12. FAQ, CTA, testimonial  18. Floating UI · motion
   ========================================================================= */

/* Self-hosted font (no third-party request). Plus Jakarta Sans, SIL OFL — see assets/fonts/OFL-LICENSE.txt */
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url("../assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2-variations"), url("../assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url("../assets/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2-variations"), url("../assets/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* 1. TOKENS -------------------------------------------------------------- */
:root {
  --blue: #1E55A0;          /* primary brand blue */
  --blue-700: #17457F;
  --blue-50: #EEF3FA;
  --blue-100: #DAE5F3;
  --navy: #0F2A4D;          /* deep navy — dark sections */
  --ink: #0B1628;           /* headings */
  --text: #2E3A50;          /* body copy */
  --muted: #5A677D;         /* secondary text (AA on white) */
  --orange: #F5821F;        /* accent — lines, highlights, states */
  --orange-text: #1E55A0;   /* small accent text on white uses brand blue (AA) — no off-brand browns */
  --orange-50: #FEF3E8;
  --paper: #FFFFFF;
  --mist: #F5F7FB;
  --line: #E1E6EE;
  --line-dark: rgba(255,255,255,.14);
  --success: #177245;
  --danger: #B42318;

  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(11,22,40,.06), 0 1px 1px rgba(11,22,40,.04);
  --shadow: 0 12px 32px -12px rgba(15,42,77,.18), 0 2px 6px rgba(15,42,77,.06);
  --shadow-lg: 0 30px 60px -24px rgba(15,42,77,.30);

  --container: 1480px;
  --gutter: clamp(16px, 2.6vw, 40px);
  --section: clamp(72px, 9vw, 128px);
  --header-h: 72px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* 2. BASE ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65;
  color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased;
  overflow-x: hidden; text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
[hidden] { display: none !important; }
::selection { background: var(--orange); color: var(--ink); }
.menu-open body { overflow: hidden; }

/* 3. TYPOGRAPHY ---------------------------------------------------------- */
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .5em; line-height: 1.12; letter-spacing: -0.022em; font-weight: 800; }
h1 { font-size: clamp(2.35rem, 5.6vw, 4.5rem); line-height: 1.03; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 3rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); letter-spacing: -0.015em; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--text); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem; margin: 0 0 1.1rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--orange); flex: none; }
.on-dark .eyebrow { color: #9DBCE6; }
.hl { color: var(--blue); }
.hl-o { background: linear-gradient(transparent 80%, rgba(245,130,31,.9) 80%, rgba(245,130,31,.9) 93%, transparent 93%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.index { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--orange-text); font-size: .85rem; letter-spacing: .06em; }
.on-dark .index { color: var(--orange); }

/* 4. LAYOUT -------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { padding: var(--section) 0; position: relative; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }
.section-mist { background: var(--mist); }
.section-navy { background: var(--navy); color: #C9D5E6; }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark a:not(.btn) { color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p:last-child { margin-bottom: 0; }
.split { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; align-items: start; }
  .split-5-7 { grid-template-columns: 5fr 7fr; }
  .split-7-5 { grid-template-columns: 7fr 5fr; }
  .sticky-col { position: sticky; top: calc(var(--header-h) + 32px); }
}
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }

/* 5. BUTTONS & LINKS ----------------------------------------------------- */
.btn {
  --bg: var(--blue); --fg: #fff; --bd: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: .75rem 1.4rem; border-radius: 10px; border: 2px solid var(--bd);
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { color: var(--fg); transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(30,85,160,.55); }
.btn:active { transform: translateY(0); }
.btn-primary:hover { --bg: var(--blue-700); --bd: var(--blue-700); }
.btn-primary::after { content: ""; width: 8px; height: 8px; border-top: 2px solid var(--orange); border-right: 2px solid var(--orange); transform: rotate(45deg); margin-left: .15rem; transition: transform .2s var(--ease); }
.btn-primary:hover::after { transform: translateX(3px) rotate(45deg); }
.btn-accent { --bg: var(--orange); --fg: var(--ink); --bd: var(--orange); }
.btn-accent:hover { --bg: #FF9A45; --bd: #FF9A45; box-shadow: 0 10px 22px -10px rgba(245,130,31,.6); }
.btn-ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line); }
.btn-ghost:hover { --bd: var(--ink); box-shadow: none; }
.on-dark .btn-ghost { --fg: #fff; --bd: rgba(255,255,255,.3); }
.on-dark .btn-ghost:hover { --bd: #fff; }
.btn-sm { min-height: 42px; padding: .5rem 1rem; font-size: .92rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
@media (max-width: 479px) { .btn-row .btn { width: 100%; } }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--blue); text-decoration: none; }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); color: var(--orange); }
.link-arrow:hover::after { transform: translateX(4px); }
.on-dark .link-arrow { color: #fff; }
.on-dark .link-arrow::after { color: var(--orange); }

/* 6. UTILITIES ----------------------------------------------------------- */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }
/* Clearly-marked placeholder content that the owner must replace */
.is-placeholder, .placeholder-box {
  outline: 2px dashed rgba(245,130,31,.7); outline-offset: 2px; background-color: var(--orange-50);
  color: var(--orange-text) !important; font-weight: 600;
}
.placeholder-box { display: grid; place-items: center; text-align: center; padding: 1.25rem; border-radius: var(--radius); font-size: .88rem; min-height: 120px; }
.tag { display: inline-flex; align-items: center; gap: .35rem; padding: .28rem .7rem; border-radius: 999px; background: var(--blue-50); color: var(--blue-700); font-size: .78rem; font-weight: 700; letter-spacing: .01em; }
.tag-o { background: var(--orange); color: var(--navy); }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.divider { height: 1px; background: var(--line); border: 0; margin: 2.5rem 0; }

/* 7. HEADER & NAVIGATION ------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(15,42,77,.35); }
.header-inner { display: flex; align-items: center; gap: 1.25rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand-mark { width: auto; height: 38px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 1.02rem; font-weight: 800; letter-spacing: .01em; text-transform: uppercase; color: var(--blue); }
.brand-text span { font-size: .68rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--orange-text); margin-top: 2px; }
.brand-light, .brand-light:hover { color: #fff; }
.brand-light .brand-text strong { color: #fff; }
.brand-light .brand-text span { color: var(--orange); }

.primary-nav { display: none; margin-left: auto; }
.primary-nav > ul { display: flex; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.primary-nav a { display: block; padding: .55rem .75rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; position: relative; }
.primary-nav > ul > li > a:hover { color: var(--blue); background: var(--mist); }
.primary-nav a[aria-current="page"] { color: var(--blue); }
.primary-nav a[aria-current="page"]::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .2rem; height: 2px; background: var(--orange); border-radius: 2px; }
.has-sub { position: relative; }
.has-sub > a { padding-right: 1.6rem; }
.has-sub > a::before { content: ""; position: absolute; right: .7rem; top: 50%; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); opacity: .6; }
.sub-menu {
  position: absolute; top: calc(100% + 8px); left: -1rem; width: 330px; padding: .5rem; margin: 0; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { padding: .6rem .8rem; }
.sub-menu a:hover { background: var(--mist); }
.sub-menu span { display: block; font-weight: 700; font-size: .93rem; }
.sub-menu small { display: block; color: var(--muted); font-weight: 500; font-size: .8rem; }

.header-cta { display: none; margin-left: auto; }
.nav-toggle { margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 10px; background: #fff; display: grid; place-items: center; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; overflow-y: auto; border-top: 1px solid var(--line); opacity: 0; transform: translateY(-6px); transition: opacity .2s, transform .2s var(--ease); }
.mobile-menu.is-open { opacity: 1; transform: none; }
.mobile-menu nav { padding-top: 1rem; padding-bottom: 2rem; }
.mobile-links { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.mobile-links > li { border-bottom: 1px solid var(--line); }
.mobile-links a { display: block; padding: .95rem 0; font-size: 1.15rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.mobile-links a[aria-current="page"] { color: var(--blue); }
.mobile-sub { list-style: none; margin: -.4rem 0 .8rem; padding: 0 0 0 1rem; border-left: 2px solid var(--orange); }
.mobile-sub a { padding: .5rem 0; font-size: 1rem; font-weight: 600; color: var(--text); }

@media (min-width: 640px) { .header-cta { display: inline-flex; } .header-cta + .nav-toggle { margin-left: 0; } }
@media (min-width: 1080px) {
  .primary-nav { display: block; }
  .header-cta { margin-left: .5rem; }
  .nav-toggle, .mobile-menu { display: none !important; }
}
@media (max-width: 380px) { .brand-text span { letter-spacing: .12em; } .brand-mark { height: 32px; } }

/* Breadcrumbs */
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: 0 0 1.5rem; padding: 0; font-size: .85rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: .35rem; color: #A5B0C2; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* 8. HERO & HOME SECTIONS ------------------------------------------------ */
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 7vw, 104px); position: relative; overflow: hidden; }
.hero::before { /* faint strategy grid */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .45;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 75% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 75% 40%, #000 20%, transparent 75%);
}
.hero-grid { display: grid; gap: clamp(40px, 5vw, 64px); align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.02fr .98fr; } }
.hero h1 { margin-bottom: 1.4rem; max-width: 13ch; }
.hero .lead { max-width: 56ch; margin-bottom: 2rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 2rem; font-size: .9rem; color: var(--muted); padding: 0; list-style: none; }
.hero-proof li { display: flex; align-items: center; gap: .45rem; }
.hero-proof li::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--orange); }

/* Hero visual: a composed "growth board" built from real work types */
.board { position: relative; min-height: 560px; }
.board-card { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 1.1rem 1.2rem; }
.board-label { white-space: nowrap; display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.b-chart { left: 0; top: 48px; width: 68%; z-index: 2; }
.b-chart .big { font-size: clamp(2.1rem, 3.4vw, 2.8rem); font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.b-chart .big small { display: block; margin: .45rem 0 0 !important; font-size: .8rem; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: .4rem; }
.b-chart svg { margin-top: .9rem; width: 100%; height: auto; }
.b-grid { right: 0; top: 0; width: 42%; z-index: 1; padding: .9rem; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.tiles span { aspect-ratio: 1; border-radius: 6px; background: var(--blue-50); position: relative; overflow: hidden; }
.tiles span:nth-child(3n+1) { background: var(--blue); }
.tiles span:nth-child(4) { background: var(--navy); }
.tiles span:nth-child(5) { background: var(--orange); }
.tiles span:nth-child(8) { background: var(--blue-100); }
.tiles span::after { content: ""; position: absolute; left: 18%; right: 30%; bottom: 18%; height: 3px; border-radius: 2px; background: rgba(255,255,255,.7); box-shadow: 0 -6px 0 rgba(255,255,255,.45); }
.tiles span:nth-child(2)::after, .tiles span:nth-child(6)::after, .tiles span:nth-child(8)::after, .tiles span:nth-child(9)::after { background: rgba(30,85,160,.35); box-shadow: 0 -6px 0 rgba(30,85,160,.2); }
.tile-play::before { content: ""; position: absolute; left: 50%; top: 42%; transform: translate(-40%, -50%); border-left: 9px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.b-plan { left: 0; bottom: 0; width: 54%; z-index: 3; }
.plan-row { display: grid; grid-template-columns: 88px 1fr; gap: .6rem; align-items: center; font-size: .82rem; font-weight: 600; color: var(--ink); padding: .28rem 0; }
.plan-bar { height: 7px; border-radius: 4px; background: var(--mist); overflow: hidden; }
.plan-bar i { display: block; height: 100%; width: var(--w); background: var(--blue); border-radius: 4px; }
.plan-row.is-now .plan-bar i { background: var(--orange); }
.b-chip { right: 0; bottom: 48px; z-index: 4; padding: .8rem 1rem; display: flex; gap: .75rem; align-items: center; }
.b-chip strong { display: block; font-size: 1.4rem; color: var(--ink); line-height: 1; letter-spacing: -.02em; }
.b-chip span { font-size: .78rem; color: var(--muted); font-weight: 600; }
.chip-dot { width: 38px; height: 38px; border-radius: 10px; background: var(--orange-50); display: grid; place-items: center; color: var(--orange-text); font-weight: 800; }
.board-note { position: absolute; left: 0; bottom: -30px; font-size: .75rem; color: var(--muted); }
@media (max-width: 979px) {
  .board { min-height: 0; display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
  .board-card { position: relative; inset: auto; width: auto; }
  .b-chart { grid-column: 1 / -1; order: -1; }
  .b-grid { display: none; }
  .b-plan { grid-column: 1 / -1; }
  .b-chip { grid-column: 1 / -1; }
  .board-note { position: static; grid-column: 1 / -1; }
}
@media (min-width: 560px) and (max-width: 979px) { .b-plan { grid-column: 1 / 2; } .b-chip { grid-column: 2 / 3; align-self: start; } .b-grid { display: block; grid-column: 2/3; grid-row: 2; } .b-chip { grid-row: 3; grid-column: 1/-1; } }

/* Problem section */
.problem-list { list-style: none; padding: 0; margin: 0; counter-reset: p; border-top: 1px solid var(--line); }
.problem-list li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); font-size: 1.05rem; align-items: baseline; }
.problem-list li::before { counter-increment: p; content: counter(p, decimal-leading-zero); font-size: .82rem; color: var(--orange-text); font-weight: 700; font-variant-numeric: tabular-nums; }
.transition-line { margin-top: 2rem; font-size: 1.2rem; font-weight: 700; color: var(--ink); display: flex; gap: .75rem; align-items: center; }
.transition-line::before { content: ""; width: 36px; height: 3px; background: var(--orange); border-radius: 2px; flex: none; }

/* Solution pillars */
.pillars { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 640px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pillars { grid-template-columns: repeat(5, 1fr); } }
.pillar { background: #fff; padding: 1.5rem 1.3rem; }
.pillar h3 { font-size: 1.08rem; margin: .7rem 0 .4rem; }
.pillar p { font-size: .92rem; color: var(--muted); margin: 0; }
.pillar-plus { display: none; }

/* 9. CARDS --------------------------------------------------------------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 2.2vw, 2rem); position: relative; transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease); }
.card-link:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--blue-100); }
.service-card { display: flex; flex-direction: column; }
.service-card::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; border-radius: var(--radius) var(--radius) 0 0; background: var(--blue); transform: scaleX(.18); transform-origin: left; transition: transform .35s var(--ease), background-color .35s; }
.service-card:hover::before { transform: scaleX(1); background: var(--orange); }
.service-card .index { display: block; margin-bottom: 1.4rem; }
.service-card h3 { margin-bottom: .6rem; }
.service-card p { color: var(--muted); font-size: .98rem; }
.service-card .link-arrow { margin-top: auto; padding-top: .5rem; }
.service-card .stretched::before { content: ""; position: absolute; inset: 0; }
.icon-box { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; margin-bottom: 1.2rem; }
.icon-box svg { width: 24px; height: 24px; }
.on-dark .card { background: rgba(255,255,255,.04); border-color: var(--line-dark); color: #C9D5E6; }

/* Differentiators */
.diff { display: grid; gap: 0; border-top: 1px solid var(--line); }
.diff-item { display: grid; gap: .5rem 2rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 800px) { .diff-item { grid-template-columns: 70px 1fr 1.3fr; align-items: baseline; } }
.diff-item h3 { margin: 0; }
.diff-item p { margin: 0; color: var(--muted); }

/* Industries */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.chips li { padding: .7rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; color: var(--ink); font-size: .95rem; transition: border-color .2s, color .2s; }
.chips li:hover { border-color: var(--orange); }

/* Logos */
.logo-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 800px) { .logo-row { grid-template-columns: repeat(4, 1fr); } }
.logo-cell { background: #fff; min-height: 110px; display: grid; place-items: center; padding: 1rem; text-align: center; }
.logo-cell img { max-height: 48px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.logo-cell:hover img { filter: none; opacity: 1; }
.logo-word { font-weight: 800; letter-spacing: -.02em; color: var(--muted); font-size: 1.05rem; line-height: 1.2; }
.logo-word small { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: .25rem; }

/* 10. METRICS ------------------------------------------------------------ */
.metrics { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .metrics { grid-template-columns: repeat(4, 1fr); } }
.metric { padding: clamp(1.5rem, 3vw, 2.4rem) clamp(.75rem, 2vw, 1.75rem); border-right: 1px solid var(--line); }
.metric:nth-child(2n) { border-right: 0; }
@media (max-width: 899px) { .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (min-width: 900px) { .metric:nth-child(2n) { border-right: 1px solid var(--line); } .metric:last-child { border-right: 0; } }
.metric-num { display: block; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.metric-num em { font-style: normal; color: var(--orange); }
.metric-label { display: block; margin-top: .6rem; font-size: .92rem; font-weight: 600; color: var(--muted); }
.on-dark .metrics, .on-dark .metric { border-color: var(--line-dark); }
.on-dark .metric-num { color: #fff; }
.on-dark .metric-label { color: #9FB2CC; }

/* 11. PROCESS & LISTS ---------------------------------------------------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
@media (min-width: 700px) { .process { grid-template-columns: repeat(2, 1fr); gap: 0 2rem; } }
@media (min-width: 1100px) { .process { grid-template-columns: repeat(6, 1fr); gap: 0 1.25rem; } }
.process li { position: relative; padding: 1.5rem 0 1.5rem; border-top: 2px solid var(--line); }
.process li::before { content: ""; position: absolute; top: -2px; left: 0; width: 40px; height: 2px; background: var(--orange); }
.process .index { display: block; margin-bottom: .8rem; }
.process h3 { font-size: 1.05rem; letter-spacing: .02em; text-transform: uppercase; margin-bottom: .4rem; }
.process p { font-size: .93rem; color: var(--muted); margin: 0; }
.on-dark .process li { border-color: var(--line-dark); }
.on-dark .process p { color: #A9B8CD; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.checklist li { position: relative; padding-left: 1.9rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 5px; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E55A0' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.checklist.cols { grid-template-columns: 1fr; }
@media (min-width: 700px) { .checklist.cols { grid-template-columns: 1fr 1fr; gap: .8rem 2rem; } }
.xlist { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.xlist li { position: relative; padding-left: 1.9rem; }
.xlist li::before { content: "×"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; line-height: 17px; text-align: center; font-weight: 800; border-radius: 5px; background: var(--orange); color: #fff; margin-top: .22em; font-size: .95rem; }

.deliverables { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 700px) { .deliverables { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .deliverables { grid-template-columns: repeat(3, 1fr); } }
.deliverable { background: #fff; padding: 1.4rem 1.4rem 1.5rem; }
.deliverable h3 { font-size: 1.05rem; margin: .5rem 0 .35rem; }
.deliverable p { font-size: .93rem; color: var(--muted); margin: 0; }

/* Fit: for / not for */
.fit { display: grid; gap: 1rem; }
@media (min-width: 800px) { .fit { grid-template-columns: 1fr 1fr; } }
.fit .card h3 { display: flex; gap: .6rem; align-items: center; }

/* 12. FAQ, CTA, TESTIMONIAL, ACADEMY ------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; padding: 1.35rem 0; font-weight: 700; color: var(--ink); font-size: 1.07rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1628' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/12px no-repeat; transition: transform .25s var(--ease), background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--orange-50); border-color: var(--orange); }
.faq summary:hover { color: var(--blue); }
.faq .answer { padding: 0 3rem 1.4rem 0; color: var(--text); }
.faq .answer p:last-child { margin: 0; }

.final-cta { background: var(--navy); color: #C9D5E6; position: relative; overflow: hidden; }
.final-cta::before { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 0 0 80px rgba(255,255,255,.02), 0 0 0 160px rgba(255,255,255,.015); }
.final-cta::after { content: ""; position: absolute; left: 0; top: 0; width: 120px; height: 4px; background: var(--orange); }
.final-cta .container { position: relative; }
.final-cta h2 { max-width: 18ch; font-size: clamp(2rem, 4.4vw, 3.5rem); }
.final-cta p:not(.eyebrow) { max-width: 58ch; font-size: 1.15rem; margin-bottom: 2rem; }

.cta-band { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 3rem); display: grid; gap: 1.5rem; align-items: center; background: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--orange); }
@media (min-width: 860px) { .cta-band { grid-template-columns: 1fr auto; } }
.cta-band h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: .4rem; }
.cta-band p { margin: 0; color: var(--muted); }

.testimonial { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.75rem, 4.5vw, 3.5rem); background: #fff; position: relative; }
.testimonial::before { content: "\201C"; position: absolute; top: .2rem; right: 1.6rem; font-size: 8rem; line-height: 1; color: var(--orange); opacity: .25; font-weight: 800; }
.testimonial blockquote { margin: 0 0 1.75rem; font-size: clamp(1.2rem, 2.2vw, 1.6rem); line-height: 1.45; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.testimonial figcaption { display: flex; gap: 1rem; align-items: center; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--blue-50); flex: none; object-fit: cover; }
.testimonial cite { font-style: normal; font-weight: 700; color: var(--ink); display: block; }

.academy-split { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 860px) { .academy-split { grid-template-columns: 1fr 1fr; } }
.academy-split > div { padding: clamp(1.6rem, 3.5vw, 2.6rem); background: #fff; }
.academy-split .is-academy { background: var(--mist); }
.academy-split h3 { font-size: 1.3rem; margin: .4rem 0 .5rem; }
.academy-split .motto { font-weight: 700; color: var(--ink); }

.founder { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .founder { grid-template-columns: 5fr 7fr; } }
.founder-photo { position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; background: var(--blue-50); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-photo .placeholder-box { position: absolute; inset: 0; border-radius: 0; }
.founder-photo::after { content: ""; position: absolute; left: 0; bottom: 0; width: 45%; height: 5px; background: var(--orange); }
.founder-name { font-size: 1.4rem; margin: 0; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.founder-role { color: var(--muted); font-weight: 600; margin-bottom: 1.25rem; }

/* Inner page hero */
.page-hero { padding: clamp(36px, 5vw, 64px) 0 clamp(48px, 6vw, 88px); background: var(--mist); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: 0; bottom: 0; width: min(38vw, 440px); height: 100%; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); opacity: .8; pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.1rem, 4.8vw, 3.8rem); max-width: 20ch; }
.page-hero .lead { max-width: 62ch; }
.page-hero .btn-row { margin-top: 1.75rem; }

/* Prose (articles, legal) */
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 2.5rem; }
.prose h3 { margin-top: 2rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: .45rem; }
.prose blockquote { margin: 1.5rem 0; padding: .4rem 0 .4rem 1.3rem; border-left: 3px solid var(--orange); font-weight: 600; color: var(--ink); font-size: 1.15rem; }
.notice { padding: 1rem 1.2rem; border-radius: var(--radius-sm); background: var(--orange-50); border: 1px solid #F8D3AE; color: var(--ink); font-size: .95rem; }

/* 13. FRAMEWORK (Visibility-to-Growth staircase) ------------------------- */
.framework { background: var(--navy); color: #C9D5E6; overflow: hidden; }
.framework .section-head p { color: #A9B8CD; }
.fw-axis { display: flex; justify-content: space-between; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #7F95B3; margin-bottom: 1rem; }
.fw-axis span:last-child { color: var(--orange); }
.fw-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.fw-step { position: relative; padding: 0 0 1.6rem 3.25rem; }
.fw-step::before { content: ""; position: absolute; left: 15px; top: 34px; bottom: 0; width: 2px; background: linear-gradient(var(--blue), rgba(255,255,255,.1)); }
.fw-step:last-child::before { display: none; }
.fw-num { position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; font-size: .8rem; color: #fff; background: var(--blue); font-variant-numeric: tabular-nums; }
.fw-step:last-child .fw-num { background: var(--orange); color: var(--ink); }
.fw-step h3 { color: #fff; font-size: 1.1rem; letter-spacing: .08em; margin: .2rem 0 .3rem; }
.fw-step p { margin: 0; font-size: .95rem; color: #A9B8CD; }
.fw-bar { display: none; }
@media (min-width: 1000px) {
  .fw-steps { grid-template-columns: repeat(7, 1fr); gap: 10px; align-items: end; min-height: 460px; }
  .fw-step { padding: 0; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
  .fw-step::before { display: none; }
  .fw-num { position: static; margin-bottom: .8rem; }
  .fw-bar { display: block; height: calc(56px + var(--i) * 38px); border-radius: 10px 10px 0 0; background: linear-gradient(180deg, rgba(30,85,160,.95), rgba(30,85,160,.25)); border-top: 3px solid #5F8FD0; margin-bottom: 1.1rem; transform-origin: bottom; transition: transform .8s var(--ease); transition-delay: calc(var(--i) * 70ms); }
  .fw-step:last-child .fw-bar { background: linear-gradient(180deg, rgba(245,130,31,.95), rgba(245,130,31,.2)); border-top-color: #FFB26B; }
  .js .fw-steps:not(.is-visible) .fw-bar { transform: scaleY(.2); }
  .fw-step h3 { font-size: .95rem; }
  .fw-step p { font-size: .86rem; min-height: 5.2em; }
  .fw-step:hover .fw-bar { border-top-color: var(--orange); }
}
.fw-foot { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.fw-foot p { margin: 0; color: #A9B8CD; max-width: 60ch; }
.tm-mark { font-size: .6em; vertical-align: super; }

/* 14. CASE STUDIES ------------------------------------------------------- */
.case-feature { display: grid; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
@media (min-width: 900px) { .case-feature { grid-template-columns: 1.1fr .9fr; } }
.case-feature-body { padding: clamp(1.6rem, 3.5vw, 2.8rem); }
.case-feature-data { background: var(--navy); color: #C9D5E6; padding: clamp(1.6rem, 3.5vw, 2.8rem); display: flex; flex-direction: column; justify-content: center; gap: 1.5rem; position: relative; }
.case-feature-data::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--orange); }
.result-num { display: block; font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1; font-weight: 800; color: #fff; letter-spacing: -.04em; }
.result-label { display: block; font-size: .92rem; color: #A9B8CD; margin-top: .4rem; font-weight: 600; }
.case-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.case-cards { display: grid; gap: clamp(16px, 2vw, 24px); margin-top: clamp(16px, 2vw, 24px); }
@media (min-width: 800px) { .case-cards { grid-template-columns: repeat(3, 1fr); } }
.case-card { display: flex; flex-direction: column; }
.case-card h3 { margin: .8rem 0 .5rem; }
.case-card p { color: var(--muted); font-size: .96rem; }
.case-card .scope { font-size: .88rem; color: var(--text); border-top: 1px solid var(--line); padding-top: .9rem; margin-top: auto; }
.case-card .scope strong { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: .3rem; }
.case-card .link-arrow { margin-top: 1rem; }

/* Case study page */
.cs-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 2rem; }
@media (min-width: 800px) { .cs-facts { grid-template-columns: repeat(4, 1fr); } }
.cs-facts div { background: #fff; padding: 1rem 1.2rem; }
.cs-facts dt { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cs-facts dd { margin: .25rem 0 0; font-weight: 700; color: var(--ink); }
.cs-flow { counter-reset: cs; }
.cs-block { display: grid; gap: .75rem 3rem; padding: clamp(2rem, 4vw, 3rem) 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .cs-block { grid-template-columns: 260px 1fr; } }
.cs-block > h2 { font-size: 1.4rem; display: flex; flex-direction: column; gap: .5rem; }
.cs-block > h2::before { counter-increment: cs; content: counter(cs, decimal-leading-zero); font-size: .8rem; color: var(--orange-text); letter-spacing: .08em; }
.cs-block > div > :last-child { margin-bottom: 0; }
.results-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .results-grid { grid-template-columns: repeat(2, 1fr); } }
.result-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; border-top: 4px solid var(--orange); }
.result-card .result-num { color: var(--ink); font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
.result-card .result-label { color: var(--muted); }

/* 15. FORMS -------------------------------------------------------------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3.5vw, 2.5rem); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 1.1rem 1.25rem; }
@media (min-width: 700px) { .form-grid { grid-template-columns: 1fr 1fr; } .field-full { grid-column: 1 / -1; } }
.form-section-title { grid-column: 1 / -1; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: .8rem 0 -.2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.form-section-title:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field label, .field .label { font-weight: 700; color: var(--ink); font-size: .93rem; }
.field .req, .req { color: var(--orange); }
.field .hint { font-size: .83rem; color: var(--muted); margin: -.15rem 0 0; }
.input, .field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem .9rem; border: 1.5px solid #CCD4E0; border-radius: 10px; background: #fff;
  font-size: 1rem; color: var(--ink); transition: border-color .15s, box-shadow .15s; appearance: none; -webkit-appearance: none;
}
.field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A677D' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right .8rem center/16px no-repeat; padding-right: 2.5rem; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9AA7BB; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30,85,160,.15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field.has-error input:focus, .field.has-error select:focus, .field.has-error textarea:focus { box-shadow: 0 0 0 4px rgba(180,35,24,.14); }
.field-error { color: var(--danger); font-size: .86rem; font-weight: 600; margin: 0; }
.field-error:empty { display: none; }
.field .check, .check { font-weight: 500; color: var(--text); display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; }
.check input { width: 20px; height: 20px; margin: .15rem 0 0; flex: none; accent-color: var(--blue); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 1.5rem; }
.form-actions .small { margin: 0; color: var(--muted); }
.form-status { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: 10px; font-size: .95rem; font-weight: 600; }
.form-status.is-error { background: #FDECEA; color: #7A1A12; border: 1px solid #F5C2BC; }
.form-status a { color: inherit; }
.form-success { text-align: left; padding: clamp(1.4rem, 3.5vw, 2.5rem); border-radius: var(--radius-lg); border: 1px solid #BFE3CF; background: #F1FAF5; }
.form-success h2, .form-success h3 { display: flex; gap: .7rem; align-items: center; }
.form-success h2::before, .form-success h3::before { content: ""; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/16px no-repeat; }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.inline-form { display: grid; gap: .75rem; }
@media (min-width: 640px) { .inline-form { grid-template-columns: 1fr 1fr auto; align-items: start; } .inline-form .btn { margin-top: 1.72rem; } }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.contact-list li { background: #fff; padding: 1rem 1.2rem; display: grid; gap: .1rem; }
.contact-list .k { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-list .v { font-weight: 700; color: var(--ink); word-break: break-word; }
.contact-list a.v { color: var(--blue); }

/* 16. FILTERS & PORTFOLIO ------------------------------------------------ */
.filter-bar { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.filter-group { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.filter-group .label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: .4rem; min-width: 72px; }
.filter-btn { min-height: 40px; padding: .4rem .95rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .9rem; color: var(--ink); cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.filter-btn:hover { border-color: var(--blue); }
.filter-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-count { font-size: .88rem; color: var(--muted); margin: 0 0 1.25rem; }
.portfolio-grid { display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: 1fr; }
@media (min-width: 560px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }
.work { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.work-media { aspect-ratio: 4/5; background: var(--mist); position: relative; overflow: hidden; }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.work:hover .work-media img { transform: scale(1.03); }
.work-media .placeholder-box { position: absolute; inset: 12px; min-height: 0; }
.work figcaption { padding: 1rem 1.1rem 1.2rem; }
.work figcaption strong { display: block; color: var(--ink); font-size: 1rem; }
.work figcaption span { font-size: .86rem; color: var(--muted); }

/* Resource cards */
.article-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.article-card .thumb { aspect-ratio: 16/9; background: var(--navy); position: relative; display: grid; place-items: end start; padding: 1.2rem; }
.article-card .thumb::after { content: ""; position: absolute; right: 1.2rem; top: 1.2rem; width: 48px; height: 4px; background: var(--orange); }
.article-card .thumb span { color: #fff; font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; max-width: 16ch; line-height: 1.2; }
.article-card .body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.article-card h3 { font-size: 1.15rem; }
.article-card p { color: var(--muted); font-size: .95rem; }
.article-card .link-arrow { margin-top: auto; }
.meta-line { font-size: .85rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .4rem 1rem; }

/* 17. FOOTER ------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #A9B8CD; padding: clamp(56px, 7vw, 88px) 0 1.5rem; font-size: .95rem; }
.site-footer a:not(.btn) { color: #D5DEEA; text-decoration: none; }
.site-footer a:not(.btn):hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; gap: 2.75rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-dark); }
@media (min-width: 1000px) { .footer-top { grid-template-columns: 1fr 2.1fr; gap: 4rem; } }
.footer-tagline { color: #fff; font-weight: 700; font-size: 1.1rem; margin: 1.25rem 0 .5rem; }
.footer-note { max-width: 38ch; margin-bottom: 1.5rem; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
@media (min-width: 760px) { .footer-cols { grid-template-columns: repeat(4, 1fr); } }
.footer-h { color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 1rem; font-weight: 700; }
.footer-h-gap { margin-top: 1.75rem; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.social-list a { display: inline-flex; gap: .6rem; align-items: center; }
.social-list svg { width: 18px; height: 18px; flex: none; }
.ext { font-size: .8em; color: var(--orange); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-top: 1.5rem; font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-split span + span::before { content: "·"; margin: 0 .5rem; color: var(--orange); }

/* 18. FLOATING UI & MOTION ----------------------------------------------- */
.wa-fab { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #1FAF54; color: #fff; display: none; place-items: center; box-shadow: 0 12px 28px -8px rgba(0,0,0,.35); transition: transform .2s var(--ease); }
.wa-fab:hover { transform: scale(1.06); color: #fff; }
.wa-fab svg { width: 30px; height: 30px; }
@media (min-width: 768px) { .wa-fab { display: grid; } }

.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; gap: .6rem; padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(15,42,77,.35); transform: translateY(110%); transition: transform .3s var(--ease); }
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn { flex: 1; }
.sticky-wa { width: 50px; height: 50px; flex: none; border-radius: 10px; background: #1FAF54; color: #fff; display: grid; place-items: center; }
.sticky-wa svg { width: 26px; height: 26px; }
.sticky-wa:hover { color: #fff; }
@media (min-width: 768px) { .sticky-cta { display: none; } }
.no-floating .sticky-cta, .no-floating .wa-fab { display: none !important; }

.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 120; max-width: 520px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1.1rem 1.2rem; font-size: .9rem; }
.consent p { margin: 0 0 .8rem; }
.consent-actions { display: flex; gap: .5rem; justify-content: flex-end; }
.consent .btn-primary::after { display: none; }

/* Scroll reveal (only when JS is running and motion is allowed) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .reveal-d1 { transition-delay: .08s; } .js .reveal-d2 { transition-delay: .16s; } .js .reveal-d3 { transition-delay: .24s; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* 404 */
.notfound { min-height: 60vh; display: grid; align-items: center; }
.notfound .code { font-size: clamp(5rem, 18vw, 11rem); font-weight: 800; letter-spacing: -.06em; line-height: .9; color: var(--blue); margin-bottom: 1rem; }
.notfound .code span { color: var(--orange); }

@media print {
  .site-header, .site-footer, .sticky-cta, .wa-fab, .consent, .final-cta, .no-print { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .section { padding: 16pt 0; }
}

/* Services overview blocks */
.svc-block { display: grid; gap: 1.5rem 4rem; padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: 1px solid var(--line); }
.svc-block:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .svc-block { grid-template-columns: 1.1fr .9fr; align-items: start; } }
.svc-block .index { display: block; margin-bottom: 1rem; }
.svc-block .card h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); }
.svc-block .card h3 + p { margin-bottom: 1.5rem; }
.svc-problem { border-left: 3px solid var(--orange); padding-left: 1rem; color: var(--ink); }
.cta-band { margin-top: clamp(2rem, 5vw, 4rem); }
.page-hero .tags .tag { text-decoration: none; }
.page-hero .tags .tag:hover { background: var(--blue-100); }
.related-case { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 860px) { .related-case { grid-template-columns: 1.3fr .7fr; } }
.related-case .result-num { color: var(--ink); font-size: clamp(2.2rem, 4vw, 3rem); }
.related-case .result-label { color: var(--muted); }

@media (min-width: 900px) { .metrics-2 { grid-template-columns: repeat(2, 1fr); } .metrics-2 .metric:nth-child(2) { border-right: 0; } }

/* Checklist resource */
.tick-list { list-style: none; padding: 0 !important; margin: 0 0 1.5rem; border-top: 1px solid var(--line); }
.tick-list li { border-bottom: 1px solid var(--line); margin: 0 !important; }
.tick-list label { display: flex; gap: .85rem; align-items: flex-start; padding: .8rem 0; cursor: pointer; }
.tick-list input { width: 20px; height: 20px; margin-top: .2rem; flex: none; accent-color: var(--blue); }
.tick-list input:checked + * , .tick-list label:has(input:checked) { color: var(--muted); }

/* Prevent grid children from forcing horizontal overflow on very small screens */
.split > *, .svc-block > *, .hero-grid > *, .founder > *, .grid > * { min-width: 0; }
@media (max-width: 479px) { .btn { white-space: normal; text-align: center; } }

.team-grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1000px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 639px) { .team-grid .card { padding: 1rem; } .team-grid h3 { font-size: 1rem; } }

/* Pricing */
.price-card { display: grid; gap: 2rem 4rem; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 3rem); background: #fff; position: relative; overflow: hidden; }
.price-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--blue) 0 70%, var(--orange) 70%); }
@media (min-width: 900px) { .price-card { grid-template-columns: 1.1fr .9fr; align-items: center; } }
.price-card h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.price-list { border-top: 1px solid var(--line); }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.price-row span { font-weight: 600; color: var(--ink); }
.price-row strong { font-size: 1.25rem; font-weight: 800; color: var(--blue); white-space: nowrap; letter-spacing: -.01em; }
.price-row strong small { font-size: .8rem; font-weight: 600; color: var(--muted); margin-left: 2px; }
@media (max-width: 479px) { .price-row { flex-direction: column; gap: .2rem; } }
.svc-price { display: inline-block; margin: 0 0 1.25rem; font-weight: 700; color: var(--ink); }
.svc-price strong { color: var(--blue); }

/* Results statistics */
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 1000px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { background: #fff; padding: clamp(1.25rem, 2.6vw, 2rem); display: flex; flex-direction: column; gap: .25rem; position: relative; }
.stat::before { content: ""; position: absolute; left: 0; top: 0; width: 40px; height: 3px; background: var(--orange); }
.stat-num { font-size: clamp(1.8rem, 4vw, 2.9rem); font-weight: 800; color: var(--ink); letter-spacing: -.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat-label { font-weight: 700; color: var(--blue); font-size: .95rem; }
.stat-client { font-size: .82rem; color: var(--muted); }
.on-dark .stat-grid { background: var(--line-dark); border-color: var(--line-dark); }

/* Testimonials grid */
.testimonial-grid { display: grid; gap: clamp(16px, 2vw, 24px); }
@media (min-width: 900px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }
.t-card { margin: 0; padding: clamp(1.4rem, 2.6vw, 2rem); display: flex; flex-direction: column; justify-content: space-between; }
.t-card::before { font-size: 5rem; top: .2rem; right: 1.2rem; }
.t-card blockquote { font-size: 1.02rem; font-weight: 500; line-height: 1.6; color: var(--text); margin-bottom: 1.5rem; }
.t-card blockquote p { margin: 0; }
.avatar-initial { width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 800; flex: none; }
.t-card figcaption cite { font-style: normal; font-weight: 700; color: var(--ink); display: block; }
@media (min-width: 800px) { .case-cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .case-cards-4 { grid-template-columns: repeat(4, 1fr); } }
.faq .answer ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.team-photo { aspect-ratio: 1; width: 100%; height: auto; object-fit: cover; border-radius: var(--radius); margin-bottom: 1rem; background: var(--blue-50); }

/* Case studies page */
.case-jump { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 700px) { .case-jump { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .case-jump { grid-template-columns: repeat(4, 1fr); } }
.case-jump a { background: #fff; padding: 1.1rem 1.2rem; text-decoration: none; display: flex; flex-direction: column; gap: .2rem; transition: background .2s; }
.case-jump a:hover { background: var(--mist); }
.case-jump strong { color: var(--ink); line-height: 1.3; }
.case-jump span:last-child { font-size: .85rem; color: var(--muted); }
.case-full { scroll-margin-top: calc(var(--header-h) + 8px); }
.case-full > .container > h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 0; }
.section-mist .cs-facts div { background: #fff; }
.cs-flow { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.cs-block > h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); display: flex; flex-direction: column; gap: .5rem; margin: 0; }
.cs-block > h3::before { counter-increment: cs; content: counter(cs, decimal-leading-zero); font-size: .8rem; color: var(--orange-text); letter-spacing: .08em; }
.cs-flow { counter-reset: cs; }
.journey { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; counter-reset: none; }
.journey li { padding: .55rem .95rem; border-radius: 999px; background: var(--blue-50); color: var(--blue-700); font-weight: 700; font-size: .92rem; position: relative; }
.journey li:not(:last-child)::after { content: "→"; margin-left: .6rem; color: var(--orange); }
.journey li:last-child { background: var(--orange); color: var(--ink); }
.approach-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 1rem; }
@media (min-width: 700px) { .approach-grid { grid-template-columns: repeat(2, 1fr); } }
.approach-grid > div { background: #fff; padding: 1.1rem 1.2rem; }
.approach-grid h4 { margin: .4rem 0 .25rem; }
.approach-grid p { margin: 0; font-size: .93rem; color: var(--muted); }
.tags-list { list-style: none; padding: 0; margin: .5rem 0 1rem; display: flex; flex-wrap: wrap; gap: .45rem; }
.tags-list li { padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; font-size: .9rem; color: var(--ink); }
.section-mist .result-card { background: #fff; }
.results-note { font-size: .82rem; color: var(--muted); max-width: 80ch; margin: 2rem 0 0; line-height: 1.6; }

/* Legal pages */
.legal-layout { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) { .legal-layout { grid-template-columns: 260px 1fr; gap: 4rem; align-items: start; } .legal-toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; } }
.legal-toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; font-size: .88rem; background: var(--mist); }
.legal-toc ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .3rem; }
.legal-toc a { color: var(--text); text-decoration: none; }
.legal-toc a:hover { color: var(--blue); text-decoration: underline; }
@media (max-width: 999px) { .legal-toc ol { columns: 2; column-gap: 2rem; display: block; } .legal-toc li { margin-bottom: .3rem; break-inside: avoid; } }
@media (max-width: 559px) { .legal-toc ol { columns: 1; } }
.legal h2 { font-size: clamp(1.25rem, 2vw, 1.55rem); scroll-margin-top: calc(var(--header-h) + 16px); padding-top: .5rem; }
.legal h3 { font-size: 1.08rem; margin-top: 1.5rem; }
.legal p, .legal li { font-size: 1rem; }

.form-status-title { font-weight: 800; font-size: 1.05rem; margin: 0 0 .25rem; }
.form-status p { margin: 0 0 .75rem; font-weight: 500; }
.form-status .btn-row { gap: .5rem; }
.form-status .btn-ghost { --fg: #7A1A12; --bd: #F5C2BC; background: #fff; }

.call-fee { display: inline-flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; margin-top: 1.25rem; padding: .7rem 1.1rem; border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: 10px; background: #fff; color: var(--ink); }
.call-fee span { font-weight: 800; color: var(--blue); font-size: 1.15rem; }

/* =========================================================================
   CINEMATIC LAYER — full-screen hero slider, photo scenes, scroll motion.
   Everything degrades to a calm static layout without JS or with
   prefers-reduced-motion.
   ========================================================================= */

/* Photos */
picture { display: block; }
.photo-missing { width: 100%; height: 100%; min-height: 220px; background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%); }
.img-zoom, .svc-media, .page-hero-media, .orbit-photo, .card-media { overflow: hidden; }
.svc-media picture, .page-hero-media picture, .orbit-photo picture, .card-media picture { height: 100%; }
.svc-media img, .page-hero-media img, .orbit-photo img, .card-media img { width: 100%; height: 100%; object-fit: cover; }
.img-zoom img { transition: transform 1.1s var(--ease); }
.card-link:hover .img-zoom img { transform: scale(1.07); }

/* Opening reveal: curtain (home, once per session) */
.intro { display: none; }
.intro-on .intro { display: grid; place-items: center; position: fixed; inset: 0; z-index: 1000; background: var(--navy); pointer-events: none;
  animation: introOut .9s cubic-bezier(.77,0,.18,1) 1.05s forwards; }
.intro-on .intro img { width: 120px; height: auto; opacity: 0; animation: introLogo 1s var(--ease) .1s forwards; }
.intro-on .intro::after { content: ""; position: absolute; left: 50%; bottom: 38%; width: 140px; height: 2px; margin-left: -70px; background: var(--orange); transform: scaleX(0); transform-origin: left; animation: introLine .8s var(--ease) .3s forwards; }
@keyframes introLogo { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes introLine { to { transform: scaleX(1); } }
@keyframes introOut { to { transform: translateY(-100%); visibility: hidden; } }

/* Full-screen hero slider */
.hero-cine { position: relative; min-height: max(600px, calc(100svh - var(--header-h) - 64px)); color: #fff; background: var(--navy); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 0s linear 1.2s; }
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.2s ease, visibility 0s; z-index: 1; }
.hero-media { position: absolute; inset: 0; z-index: -1; will-change: transform; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media img { transform: scale(1.12); transition: transform 9s linear; }
.hero-slide.is-active .hero-media img { transform: scale(1); }
.hero-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,22,40,.88) 0%, rgba(15,42,77,.66) 42%, rgba(15,42,77,.18) 75%, rgba(15,42,77,.05) 100%),
              linear-gradient(0deg, rgba(11,22,40,.75) 0%, rgba(11,22,40,0) 38%); }
.hero-copy { position: relative; padding-top: 3rem; padding-bottom: 12rem; }
.hero-copy .eyebrow { color: #FFC08A; }
.hero-title { color: #fff; font-size: clamp(2.4rem, 6vw, 5.2rem); line-height: 1.02; letter-spacing: -.035em; max-width: 14ch; margin: 0 0 1.4rem; font-weight: 800; }
.hero-title .hl-o { color: #fff; }
.hero-lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: #DCE5F2; max-width: 52ch; margin: 0; }
.hero-actions { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; align-items: center; justify-content: space-between; padding-bottom: 7.5rem; }
.btn-ghost-light { --bg: rgba(255,255,255,.06); --fg: #fff; --bd: rgba(255,255,255,.5); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { --bd: #fff; --bg: rgba(255,255,255,.14); box-shadow: none; color: #fff; }
.hero-nav { display: flex; align-items: center; gap: .9rem; }
.hero-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); background: rgba(11,22,40,.25); color: #fff; font-size: 1.15rem; cursor: pointer; display: grid; place-items: center; transition: background .2s, border-color .2s; backdrop-filter: blur(6px); }
.hero-arrow:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.hero-dots { display: flex; gap: .5rem; }
.hero-dots button { width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.hero-dots i { display: block; width: 34px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.35); overflow: hidden; position: relative; }
.hero-dots i::after { content: ""; position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.hero-dots [aria-current="true"] i::after { transform: scaleX(1); }
.hero-cine.is-playing .hero-dots [aria-current="true"] i::after { animation: dotFill var(--slide-ms, 7000ms) linear forwards; }
.hero-cine.is-paused .hero-dots [aria-current="true"] i::after { animation-play-state: paused; }
@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-scroll { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 2; writing-mode: vertical-rl; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.7); display: none; align-items: center; gap: .8rem; }
.hero-scroll span { width: 1px; height: 56px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.hero-scroll span::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--orange); animation: scrollCue 2s ease-in-out infinite; }
@keyframes scrollCue { to { top: 100%; } }
@media (min-width: 1100px) { .hero-scroll { display: flex; } }

/* Split-word headline reveal */
.js .hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js .hero-title .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i) * 60ms + .25s); }
.js .hero-slide.is-active .hero-title .w > span { transform: none; }
.js .hero-slide .eyebrow, .js .hero-slide .hero-lead { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s var(--ease); }
.js .hero-slide.is-active .eyebrow { opacity: 1; transform: none; transition-delay: .15s; }
.js .hero-slide.is-active .hero-lead { opacity: 1; transform: none; transition-delay: .7s; }
.intro-on .hero-slide.is-active .hero-title .w > span { transition-delay: calc(var(--i) * 60ms + 1.5s); }
.intro-on .hero-slide.is-active .eyebrow { transition-delay: 1.4s; }
.intro-on .hero-slide.is-active .hero-lead { transition-delay: 2s; }

@media (max-width: 760px) {
  .hero-cine { min-height: max(620px, calc(100svh - var(--header-h))); }
  .hero-copy { padding-bottom: 13rem; align-self: flex-end; }
  .hero-slide { align-items: flex-end; }
  .hero-media::after { background: linear-gradient(0deg, rgba(11,22,40,.94) 0%, rgba(15,42,77,.72) 50%, rgba(15,42,77,.25) 100%); }
  .hero-actions { padding-bottom: 5.5rem; }
  .hero-nav { width: 100%; justify-content: space-between; }
}

/* Trust cards overlapping the hero bottom */
.hero-cards-wrap { position: relative; z-index: 3; margin-top: -4.5rem; }
.hero-cards { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (max-width: 699px) {
  .hero-cards { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .hero-card { padding: 1.1rem; }
  .hero-card:nth-child(3) { grid-column: 1 / -1; }
  .hero-card .index { margin-bottom: .5rem; }
  .hero-card .metric-num { font-size: 2rem; }
  .hero-card .metric-label { font-size: .82rem; }
}
@media (min-width: 700px) { .hero-cards { grid-template-columns: repeat(3, 1fr); } }
.hero-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(1.4rem, 2.4vw, 2.2rem); border-top: 3px solid var(--blue); }
.hero-card:nth-child(3) { border-top-color: var(--orange); }
.hero-card .index { display: block; margin-bottom: .9rem; }
.hero-card .metric-num { font-size: clamp(1.9rem, 3.4vw, 3.2rem); }

/* Scroll-linked marquee */
.marquee { overflow: hidden; padding: clamp(2.5rem, 5vw, 4.5rem) 0 0; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 2.5rem; will-change: transform; }
.marquee span::before { content: attr(data-t); }
.marquee span { font-size: clamp(2.2rem, 6vw, 5.5rem); font-weight: 800; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--blue-100); display: inline-flex; align-items: center; gap: 2.5rem; }
.marquee span::after { content: ""; width: .32em; height: .32em; border-radius: 50%; background: var(--orange); }
.marquee span:nth-child(3n+2) { color: var(--blue); -webkit-text-stroke: 0; }

/* Person with orbiting cards */
.orbit-split { align-items: center; }
.orbit { position: relative; max-width: 560px; margin: 0 auto; width: 100%; padding: 2rem 0; }
.orbit-ring { position: absolute; inset: 6% 2%; border-radius: 50%; border: 1px dashed rgba(30,85,160,.3); animation: spin 60s linear infinite; }
.orbit-ring::before { content: ""; position: absolute; top: 14%; left: 8%; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit-photo { position: relative; width: 70%; margin: 0 auto; aspect-ratio: 4 / 5; border-radius: 220px 220px var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow-lg); z-index: 1; }
.orbit-photo .photo-missing { height: 100%; }
.orbit .board-card { position: absolute; z-index: 2; margin: 0; will-change: transform; transition: transform .25s ease-out; }
.orbit .board-card .board-label { font-size: .66rem; }
.orbit .b-chart { left: -2%; top: 12%; width: 54%; inset-inline-end: auto; bottom: auto; }
.orbit .b-chart .big { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.orbit .b-grid { display: block; right: -2%; top: 0; width: 34%; left: auto; bottom: auto; }
.orbit .b-plan { left: auto; right: -4%; bottom: 8%; width: 50%; top: auto; }
.orbit .b-plan .plan-row { font-size: .78rem; }
.orbit .b-chip { left: 0; right: auto; bottom: 4%; top: auto; }
.orbit .float-a { animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -10px; } }
.orbit .board-card:nth-child(1) { animation: bob 7s ease-in-out infinite; }
.orbit .board-card:nth-child(2) { animation: bob 6s ease-in-out -2s infinite; }
.orbit .board-card:nth-child(3) { animation: bob 8s ease-in-out -4s infinite; }
.orbit .board-card:nth-child(4) { animation: bob 6.5s ease-in-out -1s infinite; }
@media (max-width: 560px) {
  .orbit .b-grid, .orbit .b-plan { display: none; }
  .orbit .b-chart { width: 62%; top: 4%; }
  .orbit-photo { width: 78%; }
}
.orbit-split + .container .pillars { margin-top: clamp(2.5rem, 5vw, 4rem); }

/* Image clip reveal */
@media (prefers-reduced-motion: no-preference) {
  .js .img-reveal.reveal { opacity: 1; transform: none; clip-path: inset(12% 12% 12% 12% round var(--radius-lg)); transition: clip-path 1.3s cubic-bezier(.77,0,.18,1); }
  .js .img-reveal.reveal img { transform: scale(1.25); transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
  .js .img-reveal.reveal.is-visible { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
  .js .orbit-photo.img-reveal.reveal.is-visible { clip-path: inset(0 0 0 0 round 220px 220px var(--radius-lg) var(--radius-lg)); }
  .js .img-reveal.reveal.is-visible img { transform: scale(1); }
}

/* Home services grid with photos */
.services-grid { gap: clamp(1rem, 1.6vw, 1.5rem); }
.service-card.has-media { padding: 0; overflow: hidden; }
.service-card.has-media::before { z-index: 2; }
.service-card .card-media { aspect-ratio: 16 / 10; border-radius: var(--radius) var(--radius) 0 0; }
.service-card .card-body { padding: clamp(1.2rem, 2vw, 1.6rem); display: flex; flex-direction: column; flex: 1; }
.service-card .card-body .index { margin-bottom: .8rem; }
.service-card-cta { background: var(--navy); border-color: var(--navy); color: #C9D5E6; justify-content: center; }
.service-card-cta h3 { color: #fff; }
.service-card-cta p { color: #A9B8CD; }
.service-card-cta .index { color: var(--orange); }
.service-card-cta .btn { margin-top: auto; align-self: flex-start; }

/* Inner page heroes with a photo */
.page-hero.has-media::after { display: none; }
.page-hero-grid { display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.page-hero-grid > * { min-width: 0; }
@media (min-width: 980px) { .page-hero-grid { grid-template-columns: 1.05fr .95fr; } }
.page-hero-media { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); position: relative; }
.page-hero-media::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34%; height: 5px; background: var(--orange); }

/* Services page: alternating full-bleed scenes */
.svc-scene { padding: clamp(64px, 8vw, 120px) 0; position: relative; }
.svc-scene .svc-block { border-top: 0; padding: 0; }
.scene-white { background: #fff; }
.scene-blue-tint { background: var(--blue-50); }
.scene-mist { background: var(--mist); }
.scene-orange-tint { background: var(--orange-50); }
.scene-navy { background: var(--navy); color: #C9D5E6; }
.scene-blue { background: var(--blue); color: #E3ECF8; }
.svc-scene.on-dark h2 { color: #fff; }
.svc-scene.on-dark .lead { color: #DCE5F2; }
.svc-scene.on-dark .svc-problem, .svc-scene.on-dark .svc-price { color: #fff; }
.svc-scene.on-dark .svc-price strong { color: #FFC08A; }
.svc-scene.on-dark .muted { color: #C9D5E6; }
.svc-scene.on-dark .index { color: var(--orange); }
.svc-scene.on-dark .btn-primary { --bg: var(--orange); --fg: var(--ink); --bd: var(--orange); }
.svc-scene.on-dark .btn-primary::after { border-color: var(--ink); }
.svc-scene.on-dark .card { background: #fff; color: var(--text); border-color: transparent; }
.svc-scene.on-dark .card .muted { color: var(--muted); }
.scene-blue .card h3 { color: var(--blue); }
.scene-blue .svc-text .index { color: #FFC08A; }
.svc-side { display: grid; gap: 1.25rem; }
.svc-media { aspect-ratio: 16 / 10; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.svc-scene:nth-of-type(even) .svc-block { direction: rtl; }
.svc-scene:nth-of-type(even) .svc-block > * { direction: ltr; }
.svc-text .index { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-bottom: 1.25rem; }

/* Scroll scene change: dark band expands from inset card to full-bleed */
@media (prefers-reduced-motion: no-preference) {
  .js .scene-expand[data-expand] { background: transparent; }
  .js .scene-expand[data-expand]::before { content: ""; position: absolute; z-index: -1; background: var(--navy);
    inset: 0 calc((1 - var(--p, 1)) * 5vw); border-radius: calc((1 - var(--p, 1)) * 40px); }
  .scene-expand { position: relative; isolation: isolate; }
}

/* Clip decorative motion that may poke past the viewport */
.clip-x { overflow-x: hidden; overflow-x: clip; }
@media (max-width: 760px) {
  .hero-copy { padding-bottom: 15rem; }
  .hero-actions .btn-row { flex-wrap: nowrap; width: 100%; }
  .hero-actions .btn-row .btn { width: auto; flex: 1; padding-left: .8rem; padding-right: .8rem; white-space: nowrap; font-size: .95rem; }
}
@media (max-width: 400px) {
  .hero-actions .btn-row { flex-wrap: wrap; }
  .hero-actions .btn-row .btn { flex: 1 1 100%; }
  .hero-copy { padding-bottom: 18rem; }
  .hero-actions .btn-primary::after { display: none; }
  .hero-media img { object-position: 68% center; }
  .hero-lead { font-size: 1rem; }
}

/* Generic parallax helper */
[data-parallax] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .hero-media img { transform: none !important; }
  .orbit .board-card, .orbit-ring { animation: none !important; }
  .marquee-track { transform: none !important; }
}

/* Card CTAs are real buttons; the whole card stays clickable */
.card-link .stretched::before { content: ""; position: absolute; inset: 0; }
.card-link .btn.stretched { align-self: flex-start; margin-top: auto; }
.card-link .btn.stretched:hover { transform: none; }
.card-link:hover .btn-primary.stretched { --bg: var(--blue-700); --bd: var(--blue-700); }
.card-link:hover .btn-ghost.stretched { --bd: var(--ink); }
.service-card .card-body > p:last-of-type { margin-bottom: 1.25rem; }
.case-card .btn.stretched { margin-top: 1rem; }
.academy-split .btn, .founder .btn, .orbit-split .btn { margin-top: .5rem; }
@media (max-width: 479px) { .card-link .btn.stretched { width: auto; } }

/* "Not sure where to start?" icon */
.cta-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--orange); color: var(--navy); display: grid; place-items: center; margin-bottom: 1.25rem; }
.cta-icon svg { width: 28px; height: 28px; }

/* Back to top */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 89; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .25s var(--ease), visibility 0s linear .25s, background .2s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s var(--ease), background .2s; }
.to-top:hover { background: var(--blue); }
.to-top:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.to-top svg { width: 22px; height: 22px; }
@media (min-width: 768px) { .to-top { bottom: 92px; right: 25px; } }
.has-sticky-cta .to-top { bottom: 84px; }
@media print { .to-top { display: none !important; } }

/* =========================================================================
   PORTFOLIO — videos, carousels, graphics, lightbox
   ========================================================================= */
.pf-videos { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
@media (min-width: 900px) { .pf-videos { grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; } .pf-video.is-feature { grid-row: 1 / span 2; } }
.pf-video { margin: 0; display: flex; flex-direction: column; }
.pf-play, .pf-video video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy); cursor: pointer; box-shadow: var(--shadow); }
.pf-video.is-feature .pf-play, .pf-video.is-feature video { flex: 1; min-height: 0; }
@media (min-width: 900px) { .pf-video.is-feature .pf-play, .pf-video.is-feature video { aspect-ratio: auto; height: 100%; } }
.pf-video video { object-fit: contain; background: #000; }
.pf-play img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pf-play::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,22,40,.55), rgba(11,22,40,0) 55%); }
.pf-play:hover img { transform: scale(1.04); }
.pf-play-icon { position: absolute; left: 50%; top: 50%; z-index: 1; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: var(--orange); box-shadow: 0 10px 30px -8px rgba(245,130,31,.7); transition: transform .25s var(--ease); }
.pf-play-icon::before { content: ""; position: absolute; left: 29px; top: 23px; border-left: 20px solid var(--navy); border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.pf-video:not(.is-feature) .pf-play-icon { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.pf-video:not(.is-feature) .pf-play-icon::before { left: 22px; top: 17px; border-left-width: 16px; border-top-width: 11px; border-bottom-width: 11px; }
.pf-play:hover .pf-play-icon { transform: scale(1.08); }
.pf-play:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.pf-dur { position: absolute; right: 12px; bottom: 12px; z-index: 1; padding: .2rem .55rem; border-radius: 6px; background: rgba(11,22,40,.75); color: #fff; font-size: .8rem; font-weight: 700; }
.pf-video figcaption, .pf-carousel figcaption, .pf-item figcaption { margin-top: .8rem; display: flex; flex-direction: column; gap: .15rem; }
.pf-video figcaption strong, .pf-carousel figcaption strong, .pf-item figcaption strong { color: var(--ink); font-size: 1rem; }
.pf-video figcaption span, .pf-carousel figcaption span, .pf-item figcaption span { color: var(--muted); font-size: .88rem; }

.pf-carousels { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 800px) { .pf-carousels { grid-template-columns: 1fr 1fr; } }
.pf-carousel { margin: 0; min-width: 0; }
.pf-track-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.pf-track { display: flex; list-style: none; margin: 0; padding: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.pf-track::-webkit-scrollbar { display: none; }
.pf-track:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.pf-slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 4 / 5; }
.pf-slide .pf-zoom, .pf-slide img { width: 100%; height: 100%; }
.pf-slide img { object-fit: cover; }
.pf-nav { position: absolute; top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); font-size: 1.1rem; font-weight: 700; box-shadow: var(--shadow); cursor: pointer; display: grid; place-items: center; transition: opacity .2s, background .2s; }
.pf-nav:hover { background: var(--orange); }
.pf-nav:disabled { opacity: 0; pointer-events: none; }
.pf-prev { left: 12px; } .pf-next { right: 12px; }
.pf-count { position: absolute; right: 12px; top: 12px; padding: .2rem .6rem; border-radius: 999px; background: rgba(11,22,40,.75); color: #fff; font-size: .8rem; font-weight: 700; }

.pf-grid { columns: 1; column-gap: clamp(1rem, 1.6vw, 1.5rem); }
@media (min-width: 640px) { .pf-grid { columns: 2; } }
@media (min-width: 1100px) { .pf-grid { columns: 4; } }
.pf-item { break-inside: avoid; margin: 0 0 clamp(1.25rem, 2vw, 1.75rem); }
.pf-zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; }
.pf-item .pf-zoom { box-shadow: var(--shadow); }
.pf-zoom img { display: block; width: 100%; height: auto; transition: transform .7s var(--ease); }
.pf-item .pf-zoom:hover img { transform: scale(1.04); }
.pf-zoom:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.pf-lightbox { padding: 0; border: 0; background: transparent; max-width: min(92vw, 900px); max-height: 92vh; overflow: visible; }
.pf-lightbox::backdrop { background: rgba(11,22,40,.88); }
.pf-lightbox img { display: block; max-width: 100%; max-height: 88vh; width: auto; height: auto; border-radius: var(--radius); margin: 0 auto; }
.pf-lb-close { position: absolute; top: -14px; right: -14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--orange); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow); }
@media (max-width: 640px) { .pf-lb-close { top: 8px; right: 8px; } }
