/* Virtual CMO — site styles
   Layout language follows the Virtual CFO site (vcfoconsulting.com):
   slanted photo frames, ruled columns, situation → service index, dark CTA band.
   Colours come from the Virtual CMO logo. */

:root {
  --ink: #241c17;
  --text: #3b332e;
  --graphite: #6b6b6b;
  --orange: #f57c00;
  --orange-deep: #c76700;
  --peach: #ffb8a8;
  --wash: #fff0e4;
  --paper: #f7f4f1;
  --line: #e6ddd5;
  --white: #fff;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 80px;
  --radius: 3px;
  --slant: 9%;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3 3h7l7 7-7 7H3l7-7z'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; color: var(--text); background: var(--white);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 600; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.375rem, 1.5rem + 3.2vw, 4.1rem); font-stretch: 118%; letter-spacing: -.024em; line-height: 1.03; }
h2 { font-size: clamp(1.8rem, 1.35rem + 1.7vw, 2.75rem); font-stretch: 112%; letter-spacing: -.016em; }
h3 { font-size: 1.3125rem; line-height: 1.25; letter-spacing: -.005em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; }
::selection { color: var(--ink); background: var(--peach); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.accent { color: var(--orange); }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 300; padding: 10px 16px;
  color: var(--white); background: var(--ink); border-radius: var(--radius); transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.progress { position: fixed; inset: 0 0 auto; z-index: 250; height: 3px; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--peach), var(--orange)); transform: scaleX(var(--p, 0)); transform-origin: left; }

/* ---------- Layout ---------- */
.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(72px, 9vw, 128px); }
.section--paper { background: var(--paper); }
.section-intro {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 4.5vw, 64px);
}
.section-intro .lead { margin: 0; }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.55; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  color: var(--orange-deep); font-size: .8125rem; font-weight: 600; font-stretch: 110%;
  letter-spacing: .08em; text-transform: uppercase;
}
.kicker::before { width: 22px; height: 2px; content: ""; background: currentColor; }
.kicker--light { color: var(--peach); }
.block-title { margin-bottom: 8px; }
.actions--spaced { margin-top: 28px; }

/* ---------- Links & buttons ---------- */
.link {
  padding-bottom: 2px; color: var(--orange-deep); font-weight: 600; text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
  background-position: 0 100%, 0 100%; background-repeat: no-repeat; background-size: 100% 1px, 0 2px;
  transition: background-size .35s var(--ease), color .2s;
}
.link:hover { color: var(--orange); background-size: 100% 1px, 100% 2px; }

.btn {
  position: relative; display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 24px; overflow: hidden; isolation: isolate;
  border: 1px solid transparent; border-radius: var(--radius);
  font-size: 1rem; font-weight: 600; font-stretch: 106%; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s, transform .2s var(--ease), box-shadow .3s var(--ease);
}
.btn svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translate(3px, -3px); }
.btn::after {
  position: absolute; inset: 0; z-index: -1; content: "";
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { color: var(--white); background: var(--orange); box-shadow: 0 10px 24px -14px rgba(245,124,0,.9); }
.btn--primary:hover { background: var(--orange-deep); box-shadow: 0 16px 30px -14px rgba(199,103,0,.9); }
.btn--small { min-height: 42px; padding: 9px 16px; font-size: .9375rem; }
.btn[disabled] { cursor: progress; opacity: .75; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.actions__note { color: var(--graphite); font-size: .9375rem; }
.actions__note a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .22em; white-space: nowrap; }
.actions__note a:hover { text-decoration-color: var(--orange); }

/* ---------- Header ---------- */
.header-wrap { position: sticky; top: 0; z-index: 100; transition: transform .4s var(--ease); }
.header-wrap.is-hidden { transform: translateY(-100%); }
.site-header { background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(36,28,23,.5); }
.nav { display: flex; height: var(--header-h); align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; color: var(--graphite); text-decoration: none; }
.brand img { width: 132px; }
.brand__divider { width: 1px; height: 34px; background: var(--line); }
.brand__group { font-size: .75rem; line-height: 1.25; }
.brand__group strong { color: var(--ink); font-weight: 600; }
.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; padding: 10px 12px; color: var(--ink); font-size: .9375rem; font-weight: 500; text-decoration: none; transition: color .2s;
}
.nav__link::after {
  position: absolute; right: 12px; bottom: 4px; left: 12px; height: 2px; content: "";
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__link:hover, .nav__link.is-current { color: var(--orange-deep); }
.nav__link:hover::after, .nav__link.is-current::after { transform: scaleX(1); }
.nav__cta { margin-left: 12px; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; background: none; border: 0; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  position: relative; display: block; width: 22px; height: 2px; margin: auto; content: ""; background: var(--ink); transition: transform .3s var(--ease), background-color .2s;
}
.menu-toggle span::before { position: absolute; top: -7px; }
.menu-toggle span::after { position: absolute; top: 7px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Slanted frame (signature) ---------- */
.frame { position: relative; isolation: isolate; margin: 0; padding: 0 0 6% 5%; }
.frame::before {
  position: absolute; inset: 14% 10% 0 0; z-index: -1; content: "";
  background: var(--wash); clip-path: polygon(var(--slant) 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%);
  transition: transform .6s var(--ease), opacity .6s var(--ease);
}
.frame:hover::before { transform: translate(-8px, 8px); }
.frame img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; clip-path: polygon(var(--slant) 0, 100% 0, 100% 100%, 0 100%); }
.frame--portrait img { aspect-ratio: 4 / 5; object-position: center top; }
.frame--narrow { max-width: 460px; }
.frame--portrait::after {
  position: absolute; right: 2%; bottom: 0; width: 34%; height: 8px; content: ""; background: var(--orange);
  clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%);
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(36px, 5vw, 76px) clamp(60px, 7vw, 108px); overflow: hidden; }
.hero::before {
  position: absolute; top: -20%; right: -10%; z-index: -1; width: 60vw; height: 60vw; content: "";
  background: radial-gradient(closest-side, rgba(255,184,168,.35), transparent 70%);
  animation: drift 14s ease-in-out infinite alternate;
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { max-width: 15ch; margin-bottom: 28px; }
.hero__lead { max-width: 36em; margin-bottom: 36px; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.55; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px; padding: 7px 14px 7px 10px;
  color: var(--ink); background: var(--wash); border-radius: 999px; font-size: .875rem; font-weight: 500;
}
.eyebrow__dot { position: relative; width: 8px; height: 8px; background: var(--orange); border-radius: 50%; }
.eyebrow__dot::after { position: absolute; inset: 0; content: ""; border-radius: 50%; background: var(--orange); animation: ping 2s var(--ease) infinite; }

/* Hero dashboard illustration inside the slanted frame */
.frame--hero { transform-style: preserve-3d; transition: transform .4s var(--ease); }
.dash {
  overflow: hidden; color: var(--white); background: linear-gradient(150deg, #2f2520, #1d1714 70%);
  aspect-ratio: 3 / 2; clip-path: polygon(var(--slant) 0, 100% 0, 100% 100%, 0 100%);
  display: flex; flex-direction: column;
}
.dash__bar { display: flex; align-items: center; gap: 6px; padding: 14px 18px 14px calc(var(--slant) + 18px); border-bottom: 1px solid rgba(255,255,255,.08); font-size: .75rem; color: rgba(255,255,255,.6); }
.dash__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.18); }
.dash__bar i:first-child { background: var(--orange); }
.dash__bar span { margin-left: 10px; }
.dash__body { flex: 1; display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr auto; gap: 14px; padding: 18px 20px 20px calc(var(--slant) + 10px); }
.dash__chart { position: relative; display: flex; flex-direction: column; padding: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 6px; }
.dash__label { margin-bottom: 8px; font-size: .72rem; color: rgba(255,255,255,.65); }
.dash__chart svg { flex: 1; width: 100%; height: 100%; min-height: 80px; overflow: visible; }
.dash__grid path { stroke: rgba(255,255,255,.08); stroke-dasharray: 3 4; }
.dash__line { stroke-dasharray: 1200; stroke-dashoffset: 0; }
.dash__plot { position: relative; flex: 1; display: flex; }
.dash__dot { position: absolute; top: 7.7%; right: 0; margin: -5px -5px 0 0; width: 10px; height: 10px; background: var(--orange); border-radius: 50%; box-shadow: 0 0 12px var(--orange); }
.dash__dot::after { position: absolute; inset: 0; content: ""; border-radius: 50%; background: var(--orange); animation: ping 2s var(--ease) infinite; }
.dash__bars { display: grid; gap: 12px; align-content: center; margin: 0; padding: 14px; list-style: none; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 6px; }
.dash__bars li { display: grid; gap: 5px; font-size: .72rem; color: rgba(255,255,255,.7); }
.dash__bars b { position: relative; display: block; height: 7px; overflow: hidden; background: rgba(255,255,255,.08); border-radius: 4px; }
.dash__bars b::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, var(--peach), var(--orange)); border-radius: inherit; transform: scaleX(var(--v)); transform-origin: left; }
.dash__chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.dash__chips span { padding: 5px 10px; font-size: .7rem; color: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; }
.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 12px 16px;
  color: var(--ink); background: var(--white); border-radius: 6px; box-shadow: 0 20px 40px -18px rgba(36,28,23,.45);
  font-size: .85rem; white-space: nowrap;
}
.float-card b { color: var(--orange-deep); }
.float-card--a { left: -4%; bottom: -3%; animation: bob 6s ease-in-out infinite; }
.float-card--b { right: 2%; top: -5%; animation: bob 7s ease-in-out -2s infinite; }
.pulse { position: relative; width: 8px; height: 8px; background: #2fb46a; border-radius: 50%; }
.pulse::after { position: absolute; inset: 0; content: ""; border-radius: 50%; background: #2fb46a; animation: ping 2s var(--ease) infinite; }

/* Page-load entrance */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise .8s var(--ease) backwards; }
  .hero__copy > :nth-child(2) { animation-delay: .08s; }
  .hero__copy > :nth-child(3) { animation-delay: .16s; }
  .hero__copy > :nth-child(4) { animation-delay: .24s; }
  .hero .dash { animation: wipe 1.2s var(--ease) .15s backwards; }
  .hero .frame::before { animation: plane-in 1s var(--ease) .55s backwards; }
  .hero .dash__line { animation: draw 2.2s var(--ease) .7s backwards; }
  .hero .dash__area { animation: fade 1.2s ease 1.4s backwards; }
  .hero .dash__dot { animation: pop .5s cubic-bezier(.3,1.6,.5,1) 2.4s backwards; }
  .hero .dash__bars b::after { animation: grow 1.2s var(--ease) backwards; animation-delay: calc(var(--i) * 120ms + .9s); }
  .hero .dash__chips span { animation: rise .6s var(--ease) backwards; }
  .hero .dash__chips span:nth-child(1) { animation-delay: 1.4s; }
  .hero .dash__chips span:nth-child(2) { animation-delay: 1.5s; }
  .hero .dash__chips span:nth-child(3) { animation-delay: 1.6s; }
  .hero .float-card--a { animation: pop .7s cubic-bezier(.3,1.5,.5,1) 1.3s backwards, bob 6s ease-in-out 2s infinite; }
  .hero .float-card--b { animation: pop .7s cubic-bezier(.3,1.5,.5,1) 1.55s backwards, bob 7s ease-in-out 2.2s infinite; }
}

/* ---------- Ticker ---------- */
.ticker { padding-block: 26px; border-block: 1px solid var(--line); }
.ticker__outer {
  display: flex; flex-direction: column; gap: 12px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.ticker__outer:hover .ticker__track { animation-play-state: paused; }
.ticker__track { display: flex; width: max-content; will-change: transform; }
.ticker__track--fwd { animation: ticker-fwd 40s linear infinite; }
.ticker__track--rev { animation: ticker-rev 46s linear infinite; }
.ticker__items { display: flex; flex-shrink: 0; align-items: center; gap: 44px; margin: 0; padding: 0 22px; list-style: none; }
.ticker__items li { display: flex; align-items: center; gap: 44px; color: var(--ink); font-size: 1.05rem; font-weight: 500; font-stretch: 110%; white-space: nowrap; }
.ticker__track--rev li { color: var(--graphite); }
.ticker__items li::after { width: 9px; height: 9px; content: ""; background: var(--orange); -webkit-mask: var(--chev) center / contain no-repeat; mask: var(--chev) center / contain no-repeat; }

/* ---------- Facts ---------- */
.facts-band { padding-block: clamp(40px, 5vw, 64px); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.facts > div { display: grid; gap: 6px; padding-left: 20px; border-left: 2px solid var(--orange); }
.facts strong { color: var(--ink); font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem); font-weight: 600; font-stretch: 115%; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.facts > div > span { color: var(--graphite); font-size: .9375rem; }

/* ---------- Columns ---------- */
.columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(32px, 4vw, 56px); margin: 0; padding: 0; list-style: none; }
.columns > li { position: relative; padding-top: 22px; border-top: 2px solid var(--line); }
.columns > li::before {
  position: absolute; top: -2px; left: 0; width: 100%; height: 2px; content: ""; background: var(--ink);
  transform-origin: left; transition: transform 1s var(--ease) calc(var(--i, 0) * 120ms + .2s), background-color .3s;
}
.columns > li:hover::before { background: var(--orange); }
.columns__num { display: block; margin-bottom: 14px; color: var(--orange); font-size: .875rem; font-weight: 600; font-stretch: 115%; }
.columns h3 { margin-bottom: 12px; }
.columns p { margin: 0; }

/* ---------- Routes (situation → service) ---------- */
.routes__head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) 40px; gap: 32px; padding: 0 0 12px; color: var(--graphite); font-size: .875rem; }
.routes { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.route-item { border-bottom: 1px solid var(--line); }
.route {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) 40px; gap: 8px 32px; align-items: center;
  width: 100%; padding: 24px 0; text-align: left; color: inherit; border: 0;
  background: linear-gradient(var(--wash), var(--wash)) no-repeat 0 0 / 0 100%;
  transition: padding .35s var(--ease), background-size .5s var(--ease);
}
.route__situation { color: var(--ink); font-size: clamp(1.0625rem, 1rem + .4vw, 1.3rem); line-height: 1.4; }
.route__service { display: flex; align-items: baseline; gap: 12px; color: var(--orange-deep); font-weight: 600; }
.route__service::before {
  flex: none; width: .75em; height: .75em; content: ""; background: var(--orange);
  -webkit-mask: var(--chev) center / contain no-repeat; mask: var(--chev) center / contain no-repeat;
  transform: translateY(.05em); transition: transform .35s var(--ease);
}
.route__toggle { position: relative; width: 36px; height: 36px; justify-self: end; border: 1px solid var(--line); border-radius: 50%; transition: background-color .3s, border-color .3s, transform .4s var(--ease); }
.route__toggle::before, .route__toggle::after { position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; content: ""; background: var(--ink); transition: transform .4s var(--ease), background-color .3s; }
.route__toggle::after { transform: rotate(90deg); }
.route[aria-expanded="true"] .route__toggle { background: var(--orange); border-color: var(--orange); transform: rotate(180deg); }
.route[aria-expanded="true"] .route__toggle::before, .route[aria-expanded="true"] .route__toggle::after { background: var(--white); }
.route[aria-expanded="true"] .route__toggle::after { transform: rotate(0); }
.route[aria-expanded="true"], .route:focus-visible { padding-left: 16px; padding-right: 16px; background-size: 100% 100%; }
@media (hover: hover) {
  .route:hover { padding-left: 16px; padding-right: 16px; background-size: 100% 100%; }
  .route:hover .route__service::before { transform: translate(4px, .05em); }
  .route:hover .route__toggle { border-color: var(--orange); }
}
.route__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.route__panel > .route__inner { overflow: hidden; }
.route-item.is-open .route__panel { grid-template-rows: 1fr; }
.route__inner { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 0 32px; padding-inline: 16px; }
.route__inner > p { grid-column: 1; margin: 4px 0 16px; padding-top: 4px; }
.route__inner .checklist { grid-column: 1; padding-bottom: 28px; }
.route__outcome { grid-column: 2; grid-row: 1 / span 2; align-self: start; margin: 4px 0 28px; padding: 18px 20px; background: var(--white); border-left: 3px solid var(--orange); box-shadow: 0 14px 30px -24px rgba(36,28,23,.5); color: var(--ink); font-weight: 500; }
.route__outcome span { display: block; margin-bottom: 6px; color: var(--orange-deep); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.route__inner > * { opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.route-item.is-open .route__inner > * { opacity: 1; transform: none; transition-delay: .15s; }

.checklist { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.checklist li { position: relative; padding-left: 28px; }
.checklist li::before {
  position: absolute; top: .42em; left: 0; width: 12px; height: 12px; content: ""; background: var(--orange);
  -webkit-mask: var(--chev) center / contain no-repeat; mask: var(--chev) center / contain no-repeat;
}

.after-list { display: flex; gap: 14px; align-items: flex-start; max-width: 760px; margin: 36px 0 0; padding: 20px 24px; background: var(--paper); border-radius: var(--radius); }
.after-list__mark { color: var(--orange); font-size: 1.4rem; line-height: 1.1; }
.after-list strong { display: block; color: var(--ink); }

/* ---------- Steps ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(28px, 4vw, 56px); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps > li { position: relative; padding-top: 72px; counter-increment: step; }
.steps > li::before {
  position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 48px; height: 48px;
  content: counter(step, decimal-leading-zero); color: var(--white); background: var(--orange);
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%); font-weight: 600; font-stretch: 115%;
}
.steps > li::after { position: absolute; top: 24px; left: 64px; right: -16px; height: 2px; content: ""; background: linear-gradient(90deg, var(--orange), var(--peach) 60%, transparent); transform-origin: left; }
.steps > li:last-child::after { right: 30%; }
.steps__label { display: block; margin-bottom: 8px; color: var(--orange-deep); font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.steps h3 { margin-bottom: 12px; font-size: 1.5rem; }
.steps p { margin: 0; }

.cadence { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 24px 48px; align-items: center; margin-top: clamp(48px, 6vw, 80px); padding: clamp(24px, 3vw, 36px); background: var(--white); border-top: 3px solid var(--orange); box-shadow: 0 24px 50px -40px rgba(36,28,23,.6); }
.cadence h3 { font-size: 1.25rem; }
.cadence ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.cadence li { display: grid; gap: 2px; padding-left: 16px; border-left: 1px solid var(--line); color: var(--graphite); font-size: .9375rem; }
.cadence b { color: var(--ink); font-size: 1.0625rem; font-weight: 600; }

/* ---------- Leadership ---------- */
.role { margin: 0 0 24px; color: var(--orange-deep); font-weight: 600; }
.affiliation { margin: 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--graphite); font-size: .9375rem; }

/* ---------- CTA band / Contact ---------- */
.cta-band { position: relative; overflow: hidden; padding-block: clamp(72px, 9vw, 128px); color: rgba(255,255,255,.82); background: var(--ink); }
.cta-band::after {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(30vw, 400px); content: "";
  background: var(--orange); clip-path: polygon(52% 0, 100% 0, 100% 100%, 0 100%);
}
.cta-band::before {
  position: absolute; top: 0; right: min(22vw, 300px); bottom: 0; width: min(14vw, 180px); content: "";
  background: var(--peach); opacity: .12; clip-path: polygon(52% 0, 100% 0, 48% 100%, 0 100%);
}
.cta-band .container { position: relative; z-index: 1; }
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact h2 { max-width: 14ch; margin-bottom: 20px; color: var(--white); }
.contact__copy > p { max-width: 46ch; margin-bottom: 32px; }
.channels { display: grid; gap: 0; margin: 0 0 32px; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.14); }
.channels a { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; color: var(--white); font-weight: 500; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.14); transition: color .2s, padding .35s var(--ease); }
.channels a span { color: rgba(255,255,255,.55); font-weight: 400; }
.channels a:hover { color: var(--peach); padding-left: 8px; }
.locations p { margin: 0 0 14px; font-size: .9375rem; color: rgba(255,255,255,.65); }
.locations b { display: block; color: var(--white); font-weight: 600; }

.form { padding: clamp(24px, 3.5vw, 44px); color: var(--text); background: var(--white); border-radius: 4px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.form__head { margin-bottom: 24px; }
.form__head h3 { margin-bottom: 6px; font-size: 1.5rem; }
.form__head p { margin: 0; color: var(--graphite); font-size: .9375rem; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field--full { grid-column: 1 / -1; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 22px 14px 8px; background: var(--paper); border: 1px solid transparent; border-bottom: 2px solid var(--line);
  border-radius: var(--radius) var(--radius) 0 0; outline: none; transition: border-color .25s, background-color .25s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field label { position: absolute; top: 15px; left: 14px; color: var(--graphite); pointer-events: none; transform-origin: left top; transition: transform .25s var(--ease), color .25s; }
.field label em { font-style: normal; font-size: .85em; opacity: .7; }
.field input:focus, .field textarea:focus { background: var(--white); border-color: var(--line); border-bottom-color: var(--orange); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { color: var(--orange-deep); transform: translateY(-9px) scale(.76); }
.field.is-invalid input { border-bottom-color: #b3261e; }
.choices { margin: 4px 0 0; padding: 0; border: 0; }
.choices legend { margin-bottom: 10px; padding: 0; color: var(--ink); font-weight: 500; }
.choices legend span { margin-left: 6px; color: var(--graphite); font-size: .85rem; font-weight: 400; }
.choices__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: flex; align-items: center; gap: 10px; height: 100%; padding: 12px 14px; font-size: .9375rem; line-height: 1.3;
  border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, background-color .2s, color .2s;
}
.choice span::before { flex: none; width: 18px; height: 18px; content: ""; border: 1.5px solid var(--line); border-radius: 3px; transition: background .2s, border-color .2s; }
.choice:hover span { border-color: var(--orange); }
.choice input:checked + span { color: var(--ink); background: var(--wash); border-color: var(--orange); }
.choice input:checked + span::before { background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8.5 3 3 6-7' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--orange); animation: pop .3s cubic-bezier(.3,1.6,.5,1); }
.choice input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 24px; }
.form__foot p { flex: 1 1 240px; margin: 0; color: var(--graphite); font-size: .85rem; }
.form__foot a { color: var(--orange-deep); }
.form__status { margin: 16px 0 0; font-size: .9375rem; }
.form__status:empty { display: none; }
.form__status { padding: 12px 14px; color: #1d5b36; background: #e9f6ee; border-left: 3px solid #2fb46a; animation: rise .4s var(--ease); }
.form__status.error { color: #8c1d18; background: #fbeceb; border-left-color: #b3261e; }

/* ---------- Footer ---------- */
.site-footer { padding-top: clamp(56px, 7vw, 88px); background: var(--paper); font-size: .9375rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding-bottom: 48px; }
.footer__brand img { width: 140px; margin-bottom: 16px; }
.footer__brand p { max-width: 30ch; color: var(--graphite); }
.footer__col { display: grid; align-content: start; gap: 10px; }
.footer__col h4 { margin-bottom: 6px; font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.footer__col a, .footer__col span { color: var(--graphite); text-decoration: none; transition: color .2s; }
.footer__col a:hover { color: var(--orange-deep); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-block: 24px; border-top: 1px solid var(--line); color: var(--graphite); font-size: .875rem; }
.footer__bottom a { color: inherit; }

/* ---------- WhatsApp button ---------- */
.whatsapp {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; place-items: center; width: 56px; height: 56px;
  color: var(--white); background: #25d366; border-radius: 50%; box-shadow: 0 12px 28px -10px rgba(0,0,0,.45);
  transition: transform .3s var(--ease);
}
.whatsapp svg { width: 28px; height: 28px; }
.whatsapp:hover { transform: scale(1.08) rotate(-6deg); }
.whatsapp::before { position: absolute; inset: 0; content: ""; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.6s var(--ease) infinite; }

/* ---------- Keyframes ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes wipe { from { clip-path: polygon(var(--slant) 0, var(--slant) 0, 0 100%, 0 100%); } }
@keyframes plane-in { from { opacity: 0; transform: translate(-28px, 18px); } }
@keyframes draw { from { stroke-dashoffset: 1200; } }
@keyframes grow { from { transform: scaleX(0); } }
@keyframes pop { from { opacity: 0; transform: scale(.6); } }
@keyframes bob { 50% { transform: translateY(-8px); } }
@keyframes ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes blink { 50% { opacity: .55; } }
@keyframes drift { to { transform: translate(-6vw, 6vw) scale(1.1); } }
@keyframes ticker-fwd { to { transform: translateX(-50%); } }
@keyframes ticker-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ==========================================================================
   Scroll motion — `js-motion` is set in <head> only when motion is allowed,
   and removed if site.js never runs, so content can't stay hidden.
   ========================================================================== */
html.js-motion :is(.section-intro, .split > div, .facts > *, .columns > *, .route-item, .after-list, .routes__head,
  .steps > *, .cadence, .contact__copy > *, .form, .footer__grid > *) {
  --d: calc(var(--i, 0) * 90ms);
  transition: opacity .8s var(--ease) var(--d), transform .8s var(--ease) var(--d);
}
html.js-motion :is(.section-intro, .split > div, .facts > *, .columns > *, .route-item, .after-list, .routes__head,
  .steps > *, .cadence, .contact__copy > *, .form, .footer__grid > *):not(.is-in) {
  opacity: 0; transform: translateY(24px);
}
html.js-motion .columns > li:not(.is-in)::before { transform: scaleX(0); }
html.js-motion .frame:not(.hero *) img { clip-path: polygon(var(--slant) 0, var(--slant) 0, 0 100%, 0 100%); transition: clip-path 1.2s var(--ease); }
html.js-motion .frame:not(.hero *)::before { opacity: 0; transform: translate(-28px, 18px); transition: transform .9s var(--ease) .4s, opacity .9s var(--ease) .4s; }
html.js-motion .frame:not(.hero *)::after { transform: scaleX(0); transform-origin: right; transition: transform .8s var(--ease) .8s; }
html.js-motion .frame.is-in img { clip-path: polygon(var(--slant) 0, 100% 0, 100% 100%, 0 100%); }
html.js-motion .frame.is-in::before { opacity: 1; transform: none; }
html.js-motion .frame.is-in:hover::before { transform: translate(-8px, 8px); transition-delay: 0s; }
html.js-motion .frame.is-in::after { transform: none; }
html.js-motion .steps > li::before { transform: scale(.4); opacity: 0; transition: transform .6s cubic-bezier(.3,1.6,.5,1) calc(var(--i, 0) * 150ms + .1s), opacity .3s calc(var(--i, 0) * 150ms + .1s); }
html.js-motion .steps > li::after { transform: scaleX(0); transition: transform 1s var(--ease) calc(var(--i, 0) * 150ms + .35s); }
html.js-motion .steps > li.is-in::before, html.js-motion .steps > li.is-in::after { transform: none; opacity: 1; }
html.js-motion .cadence li { opacity: 0; transform: translateX(-12px); transition: opacity .6s var(--ease) calc(var(--i) * 120ms + .3s), transform .6s var(--ease) calc(var(--i) * 120ms + .3s); }
html.js-motion .cadence.is-in li { opacity: 1; transform: none; }
html.js-motion .cta-band::after { opacity: 0; transform: translateX(35%); transition: transform 1.2s var(--ease), opacity 1.2s var(--ease); }
html.js-motion .cta-band::before { opacity: 0; transform: translateX(60%); transition: transform 1.4s var(--ease) .15s, opacity 1.4s var(--ease) .15s; }
html.js-motion .cta-band.is-in::after { opacity: 1; transform: none; }
html.js-motion .cta-band.is-in::before { opacity: .12; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ticker__track { animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__link { padding-inline: 9px; }
  .brand__divider, .brand__group { display: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 70px; }
  .menu-toggle { display: block; }
  .nav__menu {
    position: fixed; inset: var(--header-h) 0 0; display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px var(--gutter) 32px; overflow-y: auto; background: var(--white);
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu.is-open > * { animation: rise .45s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 50ms + 40ms); }
  .nav__link { padding: 18px 0; font-size: 1.25rem; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__cta { margin: 24px 0 0; min-height: 52px; }
  .site-header { backdrop-filter: none; background: var(--white); }

  .hero__grid, .split, .contact, .section-intro { grid-template-columns: minmax(0, 1fr); }
  .frame--hero { max-width: 640px; }
  .columns, .steps { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .steps > li::after { display: none; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .cadence { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cta-band::after { width: 30vw; opacity: .9; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .routes__head { display: none; }
  .route { grid-template-columns: minmax(0, 1fr) 36px; padding: 20px 0; }
  .route__situation { grid-column: 1; }
  .route__service { grid-column: 1; grid-row: 2; }
  .route__toggle { grid-column: 2; grid-row: 1 / span 2; }
  .route__inner { grid-template-columns: minmax(0, 1fr); }
  .route__outcome { grid-column: 1; grid-row: auto; }
  .cadence ul { grid-template-columns: minmax(0, 1fr); }
  .form__grid, .choices__grid { grid-template-columns: minmax(0, 1fr); }
  .form__foot .btn { width: 100%; }
  .dash__body { grid-template-columns: minmax(0, 1fr); }
  .dash__bars { display: none; }
  .dash { aspect-ratio: 4 / 3.4; }
  .float-card--a { left: 0; bottom: -4%; }
  .float-card--b { display: none; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer__bottom { flex-direction: column; }
  .cta-band::after, .cta-band::before { display: none; }
}

@media print {
  html.js-motion * { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .header-wrap, .whatsapp, .progress, .ticker { display: none; }
}

/* ---------- Privacy page ---------- */
.privacy { padding-block: clamp(48px, 6vw, 88px); }
.privacy h1 { margin-bottom: 24px; font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
.privacy h2 { margin: 40px 0 12px; font-size: 1.375rem; }
.privacy p { max-width: 70ch; }
.privacy a { color: var(--orange-deep); }
.draft-notice { max-width: 70ch; margin-bottom: 24px; padding: 16px 20px; background: var(--wash); border-left: 3px solid var(--orange); }
