/* SocialGen website: home page styles.
   Brand: Visual Guidelines v2.1. Navy and white surfaces with Teal Mist for alternating light sections, teal as the single accent, Lato 300/400/700.
   Layout: 1120px content column, 72px section rhythm, rules and type weight instead of filled blocks.
   Drawings: isometric tiles and small figures, written by docs/drafts/illustrations.mjs (see the illustrations section).
   Motion: transform and opacity only, settles once. Only the logo strip (with a pause control) and the stage 1 hint in the journey loop. The hint stops at the first click (24 Nov 2026). */
:root{
  color-scheme:light;
  /* brand palette, exact hex */
  --navy:#0e4463; --teal:#0fb5bd; --teal-light:#28d4d9; --teal-deep:#0f5960; --teal-pale:#cbfcf9; --mist:#f0fdfc;
  --charcoal:#3c3533; --grey:#666666; --yellow:#ffca3a; --white:#ffffff;
  /* roles */
  --ink:var(--navy); --text:var(--charcoal); --muted:var(--grey);
  --teal-text:#0c7179; /* teal for text and buttons on white, AA 4.5:1 */
  --rule:rgba(14,68,99,.14); --rule-strong:var(--navy);
  --on-dark:#fff; --on-dark-2:rgba(255,255,255,.8); --rule-dark:rgba(255,255,255,.16);
  --font:'Lato','Noto Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
  --max:1184px; /* 1120px content + 32px gutters. Widened 17 Nov 2026 so copy and drawings sit side by side with room. */
  --ease:cubic-bezier(.22,.68,0,1);       /* brand reveal curve */
  --ease-lift:cubic-bezier(.22,.68,0,1.2); /* brand card hover curve */
  --shadow-card:0 2px 8px rgba(14,68,99,.06),0 1px 2px rgba(14,68,99,.04);
  --shadow-lift:0 16px 40px rgba(14,68,99,.12);
}

/* ---------- base ---------- */
*{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth;scroll-padding-top:88px;-webkit-text-size-adjust:100%}
html,body{overflow-x:clip}
body{margin:0;background:var(--white);color:var(--text);font-family:var(--font);font-size:1rem;line-height:1.7;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{color:var(--ink);margin:0;line-height:1.15;font-weight:700;text-wrap:balance}
p{margin:0}
a{color:var(--teal-deep)}
button{font:inherit;cursor:pointer}
img{display:block;max-width:100%}
summary{cursor:pointer;min-height:44px;display:flex;align-items:center}
:focus-visible{outline:3px solid var(--teal-text);outline-offset:3px;border-radius:4px}
.tone-navy :focus-visible,footer :focus-visible{outline-color:var(--teal-light)}
.skip{position:absolute;left:12px;top:-80px;z-index:100;background:var(--navy);color:#fff;padding:12px 18px;border-radius:6px;font-weight:700;text-decoration:none}
.skip:focus{top:12px}

.wrap{width:100%;max-width:var(--max);margin:0 auto;padding-inline:max(32px,env(safe-area-inset-left,0px))}
.sec{padding-block:72px} /* tightened in Round 1.6, Phil point 2 */

/* surfaces: white by default, Teal Mist and Navy alternate */
.tone-mist{background:var(--mist)}
.tone-navy{background:var(--navy);color:var(--on-dark-2)}
.tone-navy h2,.tone-navy h3,.tone-navy h4,.tone-navy b{color:var(--on-dark)}
.tone-navy+.tone-navy{margin-top:-1px;border-top:1px solid var(--navy)} /* hide the sub-pixel seam between joined navy sections */

/* section heads */
.eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:.75rem;font-weight:700;letter-spacing:.12em;color:var(--teal-deep);line-height:1.4}
.eyebrow::before{content:"";width:24px;height:2px;background:var(--teal);transform-origin:left center}
.tone-navy .eyebrow{color:var(--teal-light)}
.tone-navy .eyebrow::before{background:var(--teal-light)}
.h2{font-size:clamp(1.625rem,3.4vw,2.375rem);letter-spacing:-.015em;margin-top:8px;max-width:26ch}
.h2 em{font-style:normal;color:var(--teal-text)}
.tone-mist .h2 em{color:var(--teal-deep)}
.tone-navy .h2 em{color:var(--teal-light)}
.sub{font-size:1.125rem;line-height:1.7;color:var(--muted);max-width:58ch;margin-top:16px}
.tone-mist .sub{color:var(--text)}
.tone-navy .sub{color:var(--on-dark-2)}
.num{font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-.01em}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 28px;border-radius:6px;font-weight:700;font-size:.9375rem;line-height:1.2;text-decoration:none;border:1.5px solid transparent;transition:transform .3s var(--ease-lift),background-color .2s ease,border-color .2s ease,box-shadow .3s ease,color .2s ease}
.btn svg{width:18px;height:18px;flex-shrink:0}
/* the main action (start a conversation) is brand yellow, the opposite of the navy and teal the page is built on. Only .btn-primary uses it. */
.btn-primary{background:var(--yellow);color:var(--navy);box-shadow:0 3px 0 #d9a520,0 8px 18px rgba(14,68,99,.18)}
.btn-primary:hover{transform:translateY(-2px) scale(1.03);box-shadow:0 5px 0 #d9a520,0 12px 24px rgba(14,68,99,.24)}
.btn-primary:active{transform:translateY(2px) scale(.98);box-shadow:0 1px 0 #d9a520,0 2px 6px rgba(14,68,99,.2);transition-duration:.08s}
.btn-ghost,.btn-secondary,.btn-teal{background:#fff;color:var(--navy);border-color:rgba(14,68,99,.3)}
.btn-ghost:hover,.btn-secondary:hover,.btn-teal:hover{border-color:var(--navy);transform:translateY(-2px)}
.btn:active{transform:translateY(0) scale(.98);transition-duration:.1s}
.btn:focus-visible{outline:3px solid var(--teal-text);outline-offset:3px}
.btn-secondary,.btn-teal{border-color:var(--navy)}
.btn-secondary:hover,.btn-teal:hover{background:#fff6dc}
@media (prefers-contrast:more){.btn-ghost,.btn-secondary{border-color:var(--navy)}}
.tag{display:inline-block;font-size:.75rem;font-weight:700;color:#8a5a00;border:1px dashed #d9a441;border-radius:4px;padding:1px 8px;white-space:nowrap;vertical-align:middle}

/* ---------- header ---------- */
.head{position:sticky;top:0;z-index:30;background:#fff;border-bottom:1px solid transparent;transition:border-color .3s ease,box-shadow .3s ease}
.head.scrolled{border-bottom-color:var(--rule);box-shadow:0 8px 24px -20px rgba(14,68,99,.5)}
.head .wrap{display:flex;align-items:center;gap:28px;min-height:72px}
.brand{display:inline-flex;align-items:center;min-height:44px;flex-shrink:0}
.brand img{height:28px;width:auto}
.nav{display:flex;gap:24px;margin-left:auto;align-items:center}
.nav a{position:relative;color:var(--ink);text-decoration:none;font-weight:700;font-size:.9375rem;padding:12px 0}
.nav a::after{content:"";position:absolute;left:0;right:0;bottom:6px;height:2px;background:var(--teal);transform:scaleX(0);transform-origin:right center;transition:transform .35s var(--ease)}
.nav a:hover::after,.nav a[aria-current="true"]::after{transform:scaleX(1);transform-origin:left center}
.nav a[aria-current="true"]{color:var(--teal-deep)}
.head-cta{display:flex;gap:10px;align-items:center}
.head-cta .btn{min-height:44px;padding:10px 20px;font-size:.875rem}
.menu-btn{display:none;margin-left:auto;background:none;border:1px solid var(--rule);border-radius:6px;min-height:44px;min-width:44px;align-items:center;justify-content:center;color:var(--ink)}
.menu-btn svg{width:22px;height:22px}
.mnav{position:absolute;left:0;right:0;top:100%;background:#fff;border-top:1px solid var(--rule);box-shadow:0 24px 40px -24px rgba(14,68,99,.35);transform:translateY(-8px);opacity:0;visibility:hidden;transition:transform .3s var(--ease),opacity .2s ease,visibility 0s linear .3s}
.mnav.open{transform:none;opacity:1;visibility:visible;transition:transform .3s var(--ease),opacity .2s ease,visibility 0s}
.mnav .wrap{display:flex;flex-direction:column;padding-block:8px 20px}
.mnav a{color:var(--ink);font-weight:700;text-decoration:none;padding:12px 0;min-height:48px;display:flex;align-items:center;border-bottom:1px solid var(--rule)}
.mnav .btn{margin-top:16px;border-bottom:0;justify-content:center}
@media (min-width:1021px){.mnav{display:none}}

/* ---------- hero ---------- */
.hero{position:relative;background:#fff}
.hero-grid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:24px;align-items:center;padding-block:48px 56px}
.hook{font-size:1.125rem;font-weight:700;line-height:1.4;color:var(--teal-text)}
.hero h1{font-size:clamp(2.25rem,4.3vw,3.5rem);letter-spacing:-.02em;line-height:1.08;margin-top:16px;max-width:20ch;isolation:isolate}
.hero h1 span{position:relative;display:inline-block;color:var(--teal-text)}
/* a brushed underline under the last line of the tagline, drawn once */
.hero h1 span::after{content:"";position:absolute;z-index:-1;left:-1.5%;right:-2.5%;bottom:-.1em;height:.2em;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 16' preserveAspectRatio='none'%3E%3Cpath d='M2 10C52 3.5 118 1.5 178 4.5 228 7 268 6 298 3 270 9.5 230 12 180 10.5 120 8.5 56 10 3 14Z' fill='%230dc9d6' fill-opacity='.5'/%3E%3C/svg%3E") center/100% 100% no-repeat}
.hero .lead{font-size:1.125rem;font-weight:300;line-height:1.7;color:var(--text);max-width:50ch;margin-top:24px}
.hero .actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
.hero-keys{list-style:none;margin:24px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px 20px}
.hero-keys li{display:inline-flex;align-items:center;gap:8px;font-size:.9375rem;font-weight:700;color:var(--ink)}
.hero-keys li::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--teal)}
.no-eyebrow .eyebrow{display:none}

.hero-art{justify-self:end;width:100%}
@media (min-width:1280px){.hero-art{width:calc(100% + 56px);margin-right:-56px}} /* a little larger where there is margin to spare */
.hero-illo .tk{font-size:16px}
.hero-illo .ts,.hero-illo .tr{font-size:15px}
.hero-illo .tc{font-size:14px}

/* ---------- client logos ---------- */
.logos{background:#fff;border-top:1px solid var(--rule)}
.logos .wrap{padding-block:40px 32px;display:flex;flex-direction:column;gap:20px;align-items:center}
.logos p{font-size:.75rem;font-weight:700;letter-spacing:.12em;color:var(--muted);text-align:center}
.marquee{position:relative;width:100%;display:grid;gap:12px}
.mq-row{overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent)}
.mq-track,.mq-set ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;width:max-content}
.mq-set ul li{display:flex;align-items:center;justify-content:center;height:64px;padding-inline:28px}
.mq-set img{width:auto;max-width:none;filter:grayscale(1);opacity:.55;transition:filter .4s ease,opacity .4s ease}
.mq-set li:hover img{filter:none;opacity:1}
.mq-toggle{justify-self:center;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 14px;margin-top:8px;border:1px solid var(--rule);border-radius:6px;background:#fff;color:var(--muted);font-size:.8125rem;font-weight:700;transition:color .2s ease,border-color .2s ease}
.mq-toggle:hover{color:var(--ink);border-color:var(--navy)}
.mq-toggle svg{width:14px;height:14px;fill:currentColor}
.mq-toggle .pl{display:none}
.marquee.paused .mq-toggle .pl{display:inline}
.marquee.paused .mq-toggle .pa{display:none}
@media (prefers-reduced-motion:no-preference){
  .mq-track{animation:mq 70s linear infinite}
  .mq-row.rev .mq-track{animation-duration:62s;animation-direction:reverse}
  .marquee:hover .mq-track,.marquee:focus-within .mq-track,.marquee.paused .mq-track{animation-play-state:paused}
  @keyframes mq{to{transform:translateX(-50%)}}
}
@media (prefers-reduced-motion:reduce){
  .mq-row{-webkit-mask-image:none;mask-image:none}
  .mq-track,.mq-set ul{width:auto;flex-wrap:wrap;justify-content:center}
  .mq-set.dup,.mq-toggle{display:none}
}

/* ---------- the pattern we see ---------- */
/* pain points: all three in a row under a full-width head. Drawings sit straight on the background, no cards. */
.pb-head .sub{max-width:62ch}
.pb-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:20px}
.pb-bridge{margin-top:32px;font-size:1.125rem;color:var(--text)}
.pb-bridge a{font-weight:700;color:var(--teal-deep);text-underline-offset:3px;white-space:nowrap;margin-left:6px}
.pb-k{margin-top:32px;font-size:.75rem;font-weight:700;letter-spacing:.12em;color:var(--teal-deep)}

/* pain point panels */
.pp{margin:0;padding:24px;background:#fff;border-radius:12px;box-shadow:var(--shadow-card);display:flex;flex-direction:column}
.pp-art{max-width:340px;margin:-8px auto 0}
.pp-art .tk{font-size:17px}
.pp-art .ts{font-size:16px}
.pp-art .iq.sm{font-size:14px}
.pp figcaption{display:grid;gap:6px;margin-top:20px;padding-top:16px;border-top:1px solid var(--rule)}
.pp figcaption b{font-size:1.25rem;color:var(--ink);letter-spacing:-.01em}
.pp figcaption span{font-size:1rem;color:var(--text)}

/* ---------- illustrations: isometric tiles and small figures ----------
   Drawn by docs/drafts/illustrations.mjs and written inline into index.html.
   White tiles with teal outlines, navy for your executive, teal for people who engage, slate for other roles, grey for dead ends.
   Yellow is only ever the person you want to reach, or SocialGen's part. */
.sprite{position:absolute;width:0;height:0;overflow:hidden}
.illo{display:block;width:100%;height:auto;overflow:visible;font-family:var(--font);--i-line:rgba(15,89,96,.4);--halo:#fff}
.it,.il,.ir{stroke:var(--i-line);stroke-width:1.2;stroke-linejoin:round}
.it{fill:#fff}.il{fill:#dbe9ea}.ir{fill:#c6dadd}
.it.m{fill:#eef6f6}.il.m{fill:#d3e4e6}.ir.m{fill:#bdd4d7}
.it.l{fill:var(--teal-pale)}.il.l{fill:#96f9f5}.ir.l{fill:#5aeeee}
.it.t{fill:#28d4d9}.il.t{fill:var(--teal)}.ir.t{fill:var(--teal-text)}
.it.n{fill:#0f4d70}.il.n{fill:var(--navy)}.ir.n{fill:#0b3854}
.it.n,.il.n,.ir.n{stroke:var(--navy)}
.it.y{fill:var(--yellow)}.il.y{fill:#f0b62a}.ir.y{fill:#d9a520}
.it.y,.il.y,.ir.y{stroke:#b98a12}
.it.x{fill:#f6f7f8}.il.x{fill:#e6e9ec}.ir.x{fill:#d6dbdf}
.it.x,.il.x,.ir.x{stroke:#9aa4ad;stroke-dasharray:3 4}
.it.g{fill:rgba(255,255,255,.6);stroke:rgba(14,68,99,.4);stroke-dasharray:3 4}
.iw{fill:rgba(14,68,99,.13)}
/* figures: one shape, coloured by the class on each use */
.pw-sh{fill:var(--psh,var(--navy));fill-opacity:var(--psho,.15)}
.pw-b{fill:var(--p,var(--teal));stroke:var(--ps,#fff);stroke-width:var(--pw,1.4);stroke-dasharray:var(--pda,none);paint-order:stroke}
.pw-d{fill:var(--p2,var(--teal-text))}
.pw-h{fill:var(--ph,rgba(255,255,255,.5))}
.pw.n{--p:var(--navy);--p2:#0b3854}
.pw.y{--p:var(--yellow);--p2:#eab028;--ps:var(--navy);--pw:1.8}
.pw.s{--p:#a9b7c9;--p2:#8fa1b8}
.pw.x{--p:#cdd3d9;--p2:#b6bfc7}
.pw.g{--p:#fff;--p2:transparent;--ph:transparent;--ps:rgba(14,68,99,.55);--pda:3 3;--pw:1.5}
.pw.gy{--p:#ffe9a8;--p2:transparent;--ph:transparent;--ps:#c8920f;--pda:4 3;--pw:1.8}
.pw.w{--p:#fff;--p2:#cfe0e3}
.pw.tl{--p:var(--teal-light);--p2:var(--teal)}
/* marks on the ground */
.ig-path{fill:none;stroke:var(--navy);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.ig-link{fill:none;stroke:var(--teal);stroke-opacity:.65;stroke-width:1.5;stroke-linecap:round}
.ig-dead{fill:none;stroke:#8a8a8a;stroke-width:1.6;stroke-dasharray:3 6;stroke-linecap:round;stroke-linejoin:round}
.ig-ring{fill:var(--teal);fill-opacity:.18}
.ig-dot{fill:var(--teal);stroke:#fff;stroke-width:2.5}
.ig-halo{fill:var(--yellow);fill-opacity:.45}
.ig-note{fill:#fff;stroke:#8a8a8a;stroke-width:1.3;stroke-linejoin:round}
.ig-note-l{fill:none;stroke:#8a8a8a;stroke-width:1.3;stroke-linejoin:round}
/* labels: bold key, lighter second line, small role names. A halo keeps them readable over tiles. */
.illo text{paint-order:stroke;stroke:var(--halo);stroke-width:4px;stroke-linejoin:round}
.tk{font-size:14px;font-weight:700;fill:var(--ink)}
.ts{font-size:13px;fill:var(--text)}
.tr{font-size:13px;font-weight:700;fill:#4a5b6e}
.tr.x{fill:var(--grey)}
.iq{font-size:17px;font-weight:700;fill:var(--navy)}
.ib{fill:#fff;stroke:var(--navy);stroke-opacity:.5;stroke-width:1.4;stroke-linejoin:round}
.ibl{fill:none;stroke:var(--navy);stroke-opacity:.35;stroke-width:2;stroke-linecap:round}
.ib.t{fill:var(--teal);stroke:var(--teal-deep);stroke-opacity:1}
.ibl.t{stroke:#fff;stroke-opacity:.9}
.ib.n{fill:var(--navy);stroke:var(--navy);stroke-opacity:1}
.ibl.n{stroke:#fff;stroke-opacity:.9}
.tc{font-size:13px;font-weight:700;letter-spacing:.04em;fill:var(--teal-deep)}
.tk.sg{fill:var(--teal-deep)}
.tw{font-size:16px;font-weight:700;letter-spacing:.05em;fill:#0f4d70;stroke:#d3e4e6!important;stroke-width:5px!important}
.iq.sm{font-size:13px}
.ig-flow{fill:none;stroke:var(--navy);stroke-opacity:.55;stroke-width:2;stroke-linecap:round}
.ig-dash{fill:none;stroke:var(--navy);stroke-opacity:.45;stroke-width:1.5;stroke-dasharray:4 5;stroke-linecap:round}
.ig-path.thin{stroke-width:2.25}
.ig-link.n{stroke:var(--navy);stroke-opacity:.5}
/* small props in the industry scenes */
.ic-led{fill:none;stroke:var(--teal);stroke-width:3;stroke-linecap:round}
.ic-cross{fill:var(--teal);stroke:var(--teal-deep);stroke-width:1;stroke-linejoin:round}
/* on navy: dark tiles, teal-light outlines, white for your executive */
.illo.dk{--i-line:rgba(40,212,217,.5);--halo:var(--navy);--psh:#000;--psho:.32}
.dk .it{fill:#0f4d70}.dk .il{fill:#0b3854}.dk .ir{fill:#0b3854}
.dk .it.l{fill:#089ca6}.dk .il.l{fill:#0c7179}.dk .ir.l{fill:#0f5960}
.dk .pw.w{--ps:var(--navy)}.dk .pw.tl{--ps:var(--navy)}.dk .pw.y{--ps:var(--navy)}
.dk .pw.g{--p:rgba(255,255,255,.08);--ps:rgba(255,255,255,.75)}
.dk .ig-link{stroke:var(--teal-light);stroke-opacity:.7}
.dk .ig-ring{fill:var(--teal-light);fill-opacity:.25}
.dk .ig-halo{fill-opacity:.4}
.dk .iq{fill:#fff}
.dk .ib{fill:#fff;stroke:none}
.dk .ibl{stroke:var(--navy);stroke-opacity:.45}
.dk .ib.t{fill:var(--teal-light)}
.dk .ibl.t{stroke:var(--navy);stroke-opacity:.6}

/* ---------- figures and regions: one navy band ---------- */
.stats-sec{padding-block:72px}
.panel{padding-top:0}
.panel-head{margin-bottom:48px}
.panel-head h2{font-size:clamp(1.625rem,3.4vw,2.375rem);margin-top:8px;max-width:24ch}
.stat-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.stat{position:relative;display:flex;flex-direction:column;gap:10px;padding-top:20px;border-top:1px solid var(--rule-dark)}
.stat::before{content:"";position:absolute;left:0;top:-1px;width:32px;height:2px;background:var(--teal-light);transform-origin:left center}
.stat strong{font-size:clamp(2.125rem,4vw,3rem);font-weight:700;line-height:1;letter-spacing:-.02em;color:var(--teal-light);font-variant-numeric:tabular-nums;white-space:nowrap}
.stat span{font-size:.9375rem;line-height:1.5;color:var(--on-dark-2)}
.regions{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,2fr);gap:32px;align-items:center;margin-top:64px;padding-top:40px;border-top:1px solid var(--rule-dark)}
.regions h3{font-size:1.25rem}
.rg-list{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:4px}
.rg-list li{position:relative;padding:8px 0 8px 20px;font-weight:700;color:var(--on-dark-2);transition:color .35s ease}
.rg-list li::before{content:"";position:absolute;left:0;top:50%;width:8px;height:8px;margin-top:-4px;border-radius:50%;background:var(--rule-dark);transition:background-color .35s ease}
.rg-list li.on{color:#fff}
.rg-list li.on::before{background:var(--yellow)}
.wm{display:block;width:100%;height:auto}
.wm path{fill:none;stroke-linecap:round;stroke-width:.9;stroke:rgba(255,255,255,.2);transition:stroke .5s ease}
.wm path.on{stroke:var(--yellow)}


/* ---------- industries ---------- */
.ind-grid{margin-top:48px;border-top:2px solid var(--rule-strong)}
.ind{position:relative;display:grid;grid-template-columns:136px minmax(0,1fr) minmax(0,1.7fr);grid-template-areas:"art num text" "art title text";column-gap:28px;row-gap:2px;align-items:center;padding:14px 0;text-decoration:none;color:inherit;border-bottom:1px solid var(--rule)}
.ind-fig{grid-area:art;display:block}
.ind-art{--halo:var(--mist)}
.ind::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--teal-deep);transform:scaleX(0);transform-origin:left center;transition:transform .35s ease}
.ind:hover::after,.ind:focus-visible::after{transform:scaleX(1)}
.ind .num{grid-area:num;align-self:end;font-size:.9375rem;color:var(--teal-deep)}
.ind h3{grid-area:title;align-self:start;font-size:1.25rem;letter-spacing:-.01em;transition:color .25s ease}
.ind:hover h3{color:var(--teal-deep)}
.ind p{grid-area:text;font-size:1rem;color:var(--text)}

/* ---------- where we sit ---------- */
.layer-grid{display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);gap:32px;align-items:center}

/* where we sit: four blocks on one base (not data). SocialGen's block is yellow and stands taller. */
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.ly{margin:0}
.ly-art .tk{font-size:16px}
.ly-art .ts{font-size:15px}

/* ---------- growth journey ---------- */
.journey{position:relative}
/* situation: folder tabs on top of the journey card. The chosen tab is card-white and joins the card. */
.jfolder{margin-top:40px}
.sit{position:relative;z-index:2;display:flex;align-items:flex-end;gap:6px;padding-left:0}
.sit button{position:relative;display:grid;gap:2px;padding:14px 26px 16px;margin-bottom:-1px;text-align:left;background:#c3d8da;border:1px solid transparent;border-bottom:0;border-radius:14px 14px 0 0;color:var(--muted);transform:translateY(4px);transition:background-color .3s ease,transform .3s var(--ease-lift),color .3s ease}
.sit button:hover{background:#e9f1f2;transform:translateY(1px)}
.sit button[aria-pressed="true"]{background:#fff;border-color:rgba(102,102,102,.2);transform:none;color:var(--text);box-shadow:0 -6px 14px -8px rgba(14,68,99,.18)}
.sit-t{display:grid;gap:2px}
.sit-t b{display:inline-flex;align-items:center;gap:10px;font-size:1rem;color:var(--ink)}
.sit-t b::before{content:"";width:9px;height:9px;border-radius:50%;background:var(--navy);opacity:.25;transition:background-color .3s ease,opacity .3s ease}
.sit button[aria-pressed="true"] .sit-t b::before{background:var(--yellow);opacity:1}
.sit-t span{font-size:.875rem;line-height:1.45;padding-left:19px;color:var(--text)}
.jfolder .jcard{margin-top:0;border-top-left-radius:0}
@media (max-width:760px){.sit{align-items:stretch}.sit button{flex:1;align-content:center;padding:12px 14px 14px}.sit-t span{display:none}.sit-t b{font-size:.9375rem}}
.jcard{position:relative;margin-top:40px;background:#fff;border:1px solid rgba(102,102,102,.2);border-radius:16px;box-shadow:var(--shadow-card);padding:clamp(20px,3vw,36px)}
.stages{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;position:relative}
.stage{position:relative;z-index:1;background:transparent;border:0;color:var(--muted);display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;padding:0 2px 4px;min-height:100px}
.stage .dot{position:relative;width:48px;height:48px;border-radius:50%;border:2px solid var(--navy);background:#fff;box-shadow:0 3px 0 rgba(14,68,99,.35),0 6px 14px rgba(14,68,99,.12);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.9375rem;color:var(--navy);flex-shrink:0;font-variant-numeric:tabular-nums;transition:transform .25s var(--ease-lift),opacity .4s ease,background-color .3s ease,color .3s ease,box-shadow .3s ease}
.stage .dot::after{content:"";position:absolute;inset:-7px;border-radius:50%;border:2px solid var(--teal);opacity:0;pointer-events:none}
/* hint: once the card has settled, stage 1 plays its own hover (lift, tint, one ring) every few seconds, so visitors see the stages are clickable.
   Only stage 1 moves, so it reads as a pointer rather than decoration. Stops at the first click (Jeron, 24 Nov 2026). */
@media (prefers-reduced-motion:no-preference){
  .jcard.settled .stages.hint .stage[data-stage="0"]:not([aria-pressed="true"]) .dot{animation:nudge 2.8s var(--ease) infinite}
  .jcard.settled .stages.hint .stage[data-stage="0"]:not([aria-pressed="true"]) .dot::after{animation:hint 2.8s var(--ease) infinite}
  .jcard.settled .stages.hint .stage[data-stage="0"]:not([aria-pressed="true"]) .sl{animation:nudge-l 2.8s var(--ease) infinite}
  @keyframes nudge{0%,55%,100%{transform:none;background:#fff;box-shadow:0 3px 0 rgba(14,68,99,.35),0 6px 14px rgba(14,68,99,.12)}18%,38%{transform:translateY(-3px) scale(1.12);background:#fff6dc;box-shadow:0 5px 0 rgba(14,68,99,.35),0 12px 22px rgba(14,68,99,.2)}}
  @keyframes hint{0%,17%{opacity:0;transform:scale(.92)}20%{opacity:.85;transform:scale(.92)}62%,100%{opacity:0;transform:scale(1.55)}}
  @keyframes nudge-l{0%,55%,100%{color:inherit}18%,38%{color:var(--ink)}}
}
.stage .sl{font-size:.8125rem;line-height:1.35;max-width:13ch;font-weight:700;transition:opacity .45s ease,transform .45s var(--ease),color .3s ease}
/* stages are raised white buttons. Hover tints and lifts them, click presses down, only the chosen one turns yellow. */
.stage:hover .dot,.stage:focus-visible .dot{background:#fff6dc;transform:translateY(-3px) scale(1.12);box-shadow:0 5px 0 rgba(14,68,99,.35),0 12px 22px rgba(14,68,99,.2)}
.stage:hover .sl{color:var(--ink)}
.stage:active .dot{transform:translateY(2px) scale(.96);box-shadow:0 1px 0 rgba(14,68,99,.35),0 2px 6px rgba(14,68,99,.15);transition-duration:.08s}
.stage[aria-pressed="true"]{color:var(--ink)}
.stage[aria-pressed="true"] .dot{background:var(--yellow);border-color:var(--yellow);color:var(--navy);transform:scale(1.18);box-shadow:0 4px 0 #d9a520,0 10px 22px rgba(14,68,99,.28)}
.sline{position:absolute;z-index:0;pointer-events:none}
.sline .base{position:absolute;inset:0;border-top:2px dotted var(--teal);transform-origin:left center}
.sline .fill{position:absolute;left:0;top:-1px;height:4px;width:100%;border-radius:4px;background:var(--teal-deep);transform-origin:left center;transform:scaleX(var(--f,0));transition:transform .7s cubic-bezier(.32,.72,0,1)}
.stages.vert .sline .base{border-top:0;border-left:2px dotted var(--teal);transform-origin:center top}
.stages.vert .sline .fill{top:0;left:-1px;width:4px;height:100%;transform-origin:center top;transform:scaleY(var(--f,0))}

.thread{display:flex;flex-wrap:wrap;gap:8px 18px;justify-content:center;align-items:center;margin:8px 0 28px;font-size:.8125rem;color:var(--teal-deep);font-weight:700}
.thread span{display:inline-flex;align-items:center;gap:8px}
.thread span::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--teal)}
.thread small{width:100%;text-align:center;color:var(--muted);font-weight:400;font-size:.8125rem}

.detail{border-top:1px solid var(--rule);padding-top:28px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:40px}
.detail .left{display:flex;flex-direction:column;gap:12px}
.detail h3{font-size:clamp(1.375rem,2.4vw,1.75rem);letter-spacing:-.015em}
.question{color:var(--muted);font-size:1rem}
.right{display:flex;flex-direction:column;gap:20px;min-width:0}
.two{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.two>div{min-width:0;display:flex;flex-direction:column;gap:8px;padding-top:14px;border-top:2px solid var(--teal)}
.two .learn{border-top-color:var(--navy)}
.two h4{font-size:.8125rem;color:var(--teal-deep)}
.two .learn h4{color:var(--ink)}
.two p{font-size:.9375rem;line-height:1.65;color:var(--text)}
details.ex{border:1px solid var(--rule);border-radius:8px;padding:6px 16px;background:#fff}
details.ex summary{font-weight:700;color:var(--ink);font-size:.9375rem;list-style:none;justify-content:space-between;gap:10px}
details.ex summary::-webkit-details-marker,.faq summary::-webkit-details-marker{display:none}
.exh{font-size:.8125rem;color:var(--muted);margin:8px 0 6px}
.cells{display:grid;grid-template-columns:minmax(0,1fr);gap:0} /* three single-line steps since Round 1.6 */
.cell{border-top:1px solid var(--rule);padding:12px 0;font-size:.875rem;line-height:1.55;min-width:0}
.cell strong{display:block;color:var(--ink);margin-bottom:2px}
.related{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 18px;padding-top:12px;border-top:1px solid var(--rule)}
.related p{font-size:.875rem;color:var(--muted)}
.related a{font-weight:700;text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
.related a:hover{text-decoration:underline;text-underline-offset:3px}

/* plus/minus marker shared by the example output and the FAQ */
details.ex summary::after,.faq summary::after{content:"";flex-shrink:0;width:14px;height:14px;background:linear-gradient(currentColor,currentColor) center/14px 2px no-repeat,linear-gradient(currentColor,currentColor) center/2px 14px no-repeat;color:var(--teal-deep);transition:transform .3s var(--ease)}
details[open]>summary::after{transform:rotate(45deg)}

/* Mergers and acquisitions mode: same card, navy accents and a yellow halo on the chosen stage */
.journey.mode-anim .jcard *{transition:background-color .5s ease,color .5s ease,border-color .5s ease,box-shadow .5s ease!important}
.journey.ma .thread,.journey.ma .two h4{color:var(--navy)}
.journey.ma .stage .dot::after{border-color:var(--yellow)}
.journey.ma .sline .base{border-color:rgba(14,68,99,.4)}
.journey.ma .sline .fill{background:var(--navy)}
.journey.ma .thread span::before{background:var(--yellow);box-shadow:0 0 0 1px rgba(14,68,99,.3)}
.journey.ma .two .helps{border-top-color:var(--navy)}
.journey.ma .two .learn{border-top-color:var(--yellow)}
.journey.ma .related a{color:var(--navy)}

/* ---------- how we work ---------- */
.ph-track{position:relative;height:2px;background:var(--rule-dark);margin-top:56px;overflow:hidden}
.ph-track i{position:absolute;inset:0;background:var(--teal-light);transform-origin:left center;transform:scaleX(var(--p,1))}
.phases{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-top:44px}
.phase{display:flex;flex-direction:column;gap:12px;position:relative}
/* timeline: thin rules divide the phases */
.phase+.phase{border-left:1px solid var(--rule-dark);padding-left:32px}
.phase:not(:last-child){padding-right:32px}
.deliver-o+.deliver-o{padding-left:32px}

.ph-fig{max-width:300px;margin:0 0 4px -10px}
.phase .top{display:flex;justify-content:space-between;align-items:flex-end;gap:12px}
.phase .num{font-size:clamp(2.5rem,4vw,3.25rem);line-height:1;color:var(--teal-light);transition:color .6s ease}
.phase .pn{font-size:clamp(1.375rem,2.2vw,1.625rem);line-height:1.2;letter-spacing:-.01em;font-weight:700;color:var(--teal-light)}
.phase h3{font-size:1.25rem;letter-spacing:-.01em;text-wrap:pretty}
.phase p{font-size:.9375rem;color:var(--on-dark-2)}
/* programme formats: heading across the row, then one format under each of the three steps */
.deliver{margin-top:40px;padding-top:28px;border-top:1px solid var(--rule-dark);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 0;align-items:start}
.deliver-h{grid-column:1/-1;margin:0;font-size:clamp(1.375rem,2.2vw,1.625rem);line-height:1.2;letter-spacing:-.01em;font-weight:700;color:var(--teal-light)}
.tone-navy .deliver-h{color:var(--teal-light)} /* same teal and size as Research, Engagement and Intelligence (Phil, 24 Nov 2026) */
.deliver-o{display:grid;gap:6px;margin:0}
.deliver-o b{font-size:1.25rem;line-height:1.3;letter-spacing:-.01em} /* same size as the step headings */
.deliver-o span{font-size:.9375rem;color:var(--on-dark-2)}
@media (max-width:760px){.deliver{grid-template-columns:1fr}.deliver-o+.deliver-o{padding-left:0}}
.faq{margin-top:56px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:20px 48px;align-items:start}
.faq-h{font-size:1.25rem;letter-spacing:-.01em}
.faq-list details{border-top:1px solid var(--rule-dark);padding:8px 0}
.faq-list details:last-child{border-bottom:1px solid var(--rule-dark)}
.faq summary{list-style:none;justify-content:space-between;gap:16px;color:#fff;font-weight:700;font-size:1rem;padding:6px 0}
.faq summary::after{color:var(--teal-light)}
.faq summary:hover{color:var(--teal-light)}
.faq p{margin:4px 0 10px;font-size:.9375rem;color:var(--on-dark-2);max-width:62ch}
/* FAQ on a light background, its own section at the end of the page */
.faq-light{grid-column:1/-1;margin-top:8px}
.faq-light .faq-list details{border-color:var(--rule)}
.faq-light summary{color:var(--ink)}
.faq-light summary::after{color:var(--teal-deep)}
.faq-light summary:hover{color:var(--teal-deep)}
.faq-light p{color:var(--text)}


/* ---------- who we work with: department tabs ---------- */
.tm{margin-top:48px;display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,2.2fr);gap:40px;align-items:start}
/* department cards: the chosen one comes forward, the rest recede but stay readable and clickable */
.tm-tabs{display:grid;gap:10px}
.tm-tabs button{position:relative;display:flex;align-items:center;gap:14px;min-height:60px;padding:14px 18px;background:var(--mist);border:1px solid transparent;border-radius:10px;text-align:left;font-weight:700;font-size:1rem;color:var(--ink);opacity:.8;transform:scale(.97);transform-origin:left center;transition:transform .35s var(--ease-lift),opacity .3s ease,box-shadow .35s ease,background-color .3s ease,border-color .3s ease}
.tm-tabs .num{flex-shrink:0;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;font-size:.8125rem;color:var(--navy);background:#fff;transition:background-color .3s ease,color .3s ease}
.tm-tabs button[aria-selected="true"] .num{background:var(--yellow);color:var(--navy)}
.tm-tabs button:hover{opacity:.9;transform:scale(.99);background:#fff;border-color:var(--rule);box-shadow:var(--shadow-card)}
.tm-tabs button:active{transform:scale(.96);transition-duration:.08s}
.tm-tabs button[aria-selected="true"]{opacity:1;transform:scale(1.03);background:#fff;border-color:rgba(14,68,99,.12);box-shadow:0 14px 30px -8px rgba(14,68,99,.28)}
.tm-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:start} /* drawings stay at the top when an example opens (Phil, 24 Nov 2026) */
.tm-panel+.tm-panel{margin-top:48px}
.js .tm-panel+.tm-panel{margin-top:0}
.tm-panel h3{font-size:clamp(1.375rem,2.4vw,1.75rem);letter-spacing:-.015em}
.tm-panel h4{font-size:.8125rem;font-weight:700;letter-spacing:.08em;color:var(--teal-deep);margin-bottom:8px}
.tm-panel p{margin-top:12px;color:var(--text)}
.tm-split{align-items:stretch}
.tm-split .tp-ex{margin-top:auto} /* examples line up along the bottom of both columns */
.tm-split-cta{grid-column:1/-1;justify-self:start;margin-top:-12px} /* one button for both relations */
.tm-split .tp-art.sm{margin-bottom:16px}
.tm-split article{display:flex;flex-direction:column;padding-top:16px;border-top:2px solid var(--teal)}
.tp-art .tk{font-size:13px}
.tp-art.sm{margin-top:20px;max-width:380px}
.tp-keys{list-style:none;margin:20px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.tp-keys li{font-size:.8125rem;font-weight:700;color:var(--teal-deep);border:1px solid rgba(15,89,96,.25);border-radius:4px;padding:6px 12px}
.tp-ex{margin-top:16px;border-top:1px solid var(--rule)}
.tp-ex summary{list-style:none;justify-content:space-between;gap:10px;padding-block:6px;font-weight:700;font-size:.9375rem;line-height:1.4;color:var(--ink)}
.tp-ex summary::-webkit-details-marker{display:none}
.tp-ex summary::after{content:"";flex-shrink:0;width:14px;height:14px;background:linear-gradient(currentColor,currentColor) center/14px 2px no-repeat,linear-gradient(currentColor,currentColor) center/2px 14px no-repeat;color:var(--teal-deep);transition:transform .3s var(--ease)}
.tp-ex p{margin:0 0 12px;font-size:.9375rem;color:var(--muted)}
/* Phil's example copy (24 Nov 2026): a small scenario note, then three labelled blocks */
.tp-exb{display:grid;gap:4px;padding:2px 0 14px}
.tp-exb h4,.tp-exb h5{margin:10px 0 0;font-size:.8125rem;font-weight:700;letter-spacing:.08em;line-height:1.4;color:var(--teal-deep)}
.tp-exb p{margin:0;font-size:.9375rem;line-height:1.65;color:var(--text)}
.tp-exb>:first-child{margin-top:4px}

/* ---------- offer slot ---------- */
.offer .offer-grid{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:24px 48px;padding-block:72px}
.offer .h2{margin-top:8px}

/* ---------- resources ---------- */
.res-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:24px;margin-top:48px}
.res{position:relative;background:#fff;border:1px solid rgba(102,102,102,.2);border-radius:12px;overflow:hidden;display:flex;flex-direction:column;box-shadow:var(--shadow-card);transition:transform .3s var(--ease-lift),box-shadow .3s ease,border-color .3s ease}
.res::before{content:"";position:absolute;z-index:2;left:0;right:0;top:0;height:3px;background:var(--teal-light);transform:scaleX(0);transform-origin:left center;transition:transform .35s ease}
.res:hover{transform:translateY(-4px);box-shadow:var(--shadow-lift);border-color:rgba(15,181,189,.3)}
.res:hover::before{transform:scaleX(1)}
.res:first-child{grid-row:span 2}
.cover{position:relative;background:var(--navy);padding:22px;display:flex;flex-direction:column;justify-content:space-between;gap:24px;overflow:hidden;aspect-ratio:2/1}
.cover.t{background:linear-gradient(130deg,var(--teal-deep),var(--teal))}
.cover.m{background:linear-gradient(130deg,#0f4d70,var(--navy))}
.cover img{height:20px;width:auto;align-self:flex-start}
.cover b{color:#fff;font-size:1.75rem;font-weight:700;line-height:1.15;max-width:14ch}
.rbody{padding:22px;display:flex;flex-direction:column;gap:10px;flex:1}
.rbody .type{font-size:.75rem;font-weight:700;letter-spacing:.08em;color:var(--teal-deep)}
.rbody h3{font-size:1.25rem;letter-spacing:-.01em}
.rbody p{font-size:.9375rem;color:var(--muted);flex:1}
.rbody .btn{align-self:flex-start;min-height:44px;padding:10px 20px;font-size:.875rem;margin-top:6px}
.res:not(:first-child){flex-direction:row}
.res:not(:first-child) .cover{aspect-ratio:auto;flex:0 0 36%;padding:18px}
.res:not(:first-child) .cover b{font-size:1.25rem}

/* ---------- contact ---------- */
.contact-box{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px 56px;align-items:start}
.contact-fig{max-width:380px;margin-top:40px}
.tp-cta{margin-top:20px}
.cform{display:grid;gap:16px;background:#fff;border:1px solid rgba(102,102,102,.2);border-radius:12px;box-shadow:var(--shadow-card);padding:28px}
.cform-embed{display:block;padding:20px 20px 8px} /* card around the GoHighLevel form; no min-height so it shrinks to the thank-you message */
.cform-embed iframe{display:block;width:100%}
@media (max-width:760px){.cform-embed{padding:4px 0 0}} /* GoHighLevel adds its own padding inside the frame */
.form-notice{margin:4px 4px 12px;font-size:.8125rem;line-height:1.55;color:var(--muted)}
.form-notice a{color:var(--teal-text)}

/* ---------- footer ---------- */
footer{background:var(--navy);color:var(--on-dark-2)}
.fwrap{display:grid;grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(0,1fr));gap:32px;padding-block:72px 40px}
footer img{height:28px;width:auto}
footer .tagline{margin-top:16px;font-size:1rem;font-weight:300;max-width:28ch;color:#fff}
footer h4{color:#fff;font-size:.875rem;margin-bottom:8px}
footer ul{list-style:none;margin:0;padding:0}
footer a{color:var(--on-dark-2);text-decoration:none;font-size:.9375rem;transition:color .2s ease}
footer li a{display:inline-flex;align-items:center;min-height:44px}
footer a:hover{color:#fff}
.fbot{background:linear-gradient(var(--rule-dark),var(--rule-dark)) top center/calc(100% - 2 * max(32px,env(safe-area-inset-left,0px))) 1px no-repeat;padding-block:20px;display:flex;flex-wrap:wrap;gap:10px 24px;justify-content:space-between;align-items:center;font-size:.8125rem}
.fbot a{min-height:44px;display:inline-flex;align-items:center;font-size:.8125rem}

/* ---------- Ask SocialGen (phase 2 draft in docs/drafts, kept styled here) ---------- */
.ask{position:fixed;right:calc(18px + env(safe-area-inset-right,0px));bottom:calc(18px + env(safe-area-inset-bottom,0px));z-index:40;display:flex;flex-direction:column;align-items:flex-end;gap:12px}
.ask-btn{display:inline-flex;align-items:center;gap:9px;background:var(--navy);color:#fff;border:0;border-radius:6px;padding:12px 18px;min-height:48px;font-weight:700;font-size:.9375rem;box-shadow:0 14px 30px -12px rgba(14,68,99,.6)}
.ask-btn svg{width:20px;height:20px}
.ask-panel{width:min(340px,calc(100vw - 36px));background:#fff;border:1px solid var(--rule);border-radius:12px;box-shadow:var(--shadow-lift);overflow:hidden}
.ask-top{background:var(--navy);color:#fff;padding:16px 18px;display:flex;justify-content:space-between;align-items:center;gap:10px}
.ask-top .tag{color:#fff4dc;border-color:rgba(255,236,190,.8)}
.ask-body{padding:16px 18px;display:flex;flex-direction:column;gap:10px;font-size:.875rem}
.bubble{background:var(--mist);border-radius:8px;padding:10px 12px}
.bubble.me{background:var(--teal-deep);color:#fff;align-self:flex-end}
.chips{display:flex;flex-direction:column;gap:8px}
.chips button{text-align:left;background:#fff;border:1px solid var(--rule);border-radius:6px;padding:10px 12px;min-height:44px;color:var(--ink);font-size:.875rem}
.chips button:hover{border-color:var(--teal)}

/* ---------- motion ----------
   Hero: staggered reveal (label .1s, h1 .25s, sub .4s, CTAs .55s, proof .7s) and the account map drawing once.
   Scroll: fade up 20px over .6s, once. Counters only in the figures. */
.rv{opacity:1;transform:none}
@media (prefers-reduced-motion:no-preference){
  @keyframes heroReveal{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}
  @keyframes fadeIn{from{opacity:0}to{opacity:1}}
  @keyframes ringIn{from{opacity:0;transform:scale(.86)}to{opacity:1;transform:none}}
  @keyframes draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
  @keyframes pop{0%{opacity:0;transform:scale(.3)}70%{opacity:1;transform:scale(1.12)}100%{opacity:1;transform:none}}
  @keyframes halo{0%{opacity:0;transform:scale(.4)}60%{opacity:1}100%{opacity:1;transform:none}}

  html.motion .hero .hook,html.motion .hero h1,html.motion .hero .lead,html.motion .hero .hero-keys,html.motion .hero .actions{opacity:0;animation:heroReveal .65s var(--ease) forwards}
  html.motion .hero .hook{animation-delay:.1s}
  html.motion .hero h1{animation-delay:.25s}
  html.motion .hero .lead{animation-delay:.4s}
  html.motion .hero .hero-keys{animation-delay:.55s}
  html.motion .hero .actions{animation-delay:.7s}
  html.motion .tm-panel{animation:fadeIn .4s ease}

  /* hero drawing: the levels rise, the committee arrives, the path draws from your executive, each step lights as the line reaches it. Then it holds. --d is tenths of a second. */
  @keyframes rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
  @keyframes swash{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}
  html.motion .hero-illo .a-rise{opacity:0;animation:rise .7s var(--ease) forwards;animation-delay:calc(var(--d) * 100ms)}
  html.motion .hero-illo .a-fade{opacity:0;animation:fadeIn .6s ease forwards;animation-delay:calc(var(--d) * 100ms)}
  html.motion .hero-illo .a-pop{opacity:0;transform-box:fill-box;transform-origin:50% 100%;animation:pop .55s var(--ease) forwards;animation-delay:calc(var(--d) * 100ms)}
  html.motion .hero-illo .a-draw path{stroke-dasharray:1;stroke-dashoffset:1;animation:draw .42s linear forwards;animation-delay:calc(var(--d) * 100ms)}
  html.motion .hero-illo text{opacity:0;animation:fadeIn .6s ease 1.1s forwards}
  html.motion .hero h1 span::after{animation:swash .7s var(--ease) 1s both}

  /* scroll reveal */
  .js .rv{transition:opacity .6s ease,transform .6s var(--ease)}
  .js .rv.pre{opacity:0;transform:translateY(20px)}
  html.motion .eyebrow.rv::before{transition:transform .6s var(--ease) .15s}
  html.motion .eyebrow.rv.pre::before{transform:scaleX(0)}
  html.motion .stat::before{transition:transform .8s var(--ease) .3s}
  html.motion .panel:not(.counted) .stat::before{transform:scaleX(0)}
  html.motion .phase:not(.lit) .num{color:rgba(255,255,255,.22)}
  .phase{transition:opacity .6s ease,transform .6s var(--ease)}

  /* journey intro: line draws, dots arrive in order, detail follows */
  html.motion .jcard .stage .dot,html.motion .jcard .stage .sl{transition-delay:calc(var(--k) * 60ms + 150ms)}
  html.motion .jcard.settled .stage .dot,html.motion .jcard.settled .stage .sl{transition-delay:0ms}
  html.motion .jcard:not(.in) .stage .dot{opacity:0;transform:scale(.4)}
  html.motion .jcard:not(.in) .stage .sl{opacity:0;transform:translateY(8px)}
  html.motion .jcard .sline .base{transition:transform 1s cubic-bezier(.65,0,.35,1)}
  html.motion .jcard:not(.in) .sline .base{transform:scaleX(0)}
  html.motion .jcard:not(.in) .stages.vert .sline .base{transform:scaleY(0)}
  html.motion .jcard:not(.in) .sline .fill{transform:scaleX(0)}
  html.motion .jcard:not(.in) .stages.vert .sline .fill{transform:scaleY(0)}
  html.motion .jcard:not(.settled) .sline .fill{transition-delay:.8s}
  html.motion .jcard .thread,html.motion .jcard .detail{transition:opacity .6s ease,transform .6s var(--ease)}
  html.motion .jcard:not(.settled) .thread{transition-delay:.7s}
  html.motion .jcard:not(.settled) .detail{transition-delay:.85s}
  html.motion .jcard:not(.in) .thread,html.motion .jcard:not(.in) .detail{opacity:0;transform:translateY(12px)}
  .stage.ping .dot::after{animation:ping .8s var(--ease)}
  @keyframes ping{from{opacity:.7;transform:scale(.85)}to{opacity:0;transform:scale(1.6)}}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition-duration:.01ms!important;transition-delay:0ms!important}
  .mnav,.mnav.open{transform:none!important}
}
@media (prefers-contrast:more){.head{border-bottom-color:var(--navy)}.jcard,.res,.cform{border-color:var(--navy)}}

/* ---------- responsive ---------- */
@media (max-width:1020px){
  .nav,.head-cta{display:none}
  .menu-btn{display:inline-flex}
  .hero-grid{grid-template-columns:1fr;gap:16px}
  .hero-art{max-width:660px;justify-self:center}
  .pb-row{grid-template-columns:1fr;gap:32px}
  .ly{max-width:640px}
  .contact-fig{display:none}
  .contact-box,.layer-grid,.tm,.regions{grid-template-columns:1fr;gap:40px}
  .tm-tabs{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));column-gap:20px}
  .detail{grid-template-columns:1fr;gap:24px}
  .ind{grid-template-columns:120px minmax(0,1fr) minmax(0,1.4fr)}
  .fwrap{grid-template-columns:1fr 1fr}
}
@media (max-width:760px){
  .wrap{padding-inline:max(20px,env(safe-area-inset-left,0px))}
  .fbot{background-size:calc(100% - 40px) 1px}
  .sec{padding-block:60px}
  .hero-grid{padding-block:40px 32px}
  .stats-sec{padding-block:60px}
  .stat-row{grid-template-columns:1fr;row-gap:28px}
  .regions{margin-top:48px}
  .tm-panel,.tm-tabs{grid-template-columns:1fr}
  .tp-art{max-width:420px}
  .offer .offer-grid{padding-block:56px}
  .phases,.faq,.res-grid,.two,.cells{grid-template-columns:1fr}
  .ph-track{display:none}
  .phase+.phase{border-left:0;padding-left:0;border-top:1px solid var(--rule-dark);padding-top:32px}
  .phase:not(:last-child){padding-right:0}
  .phases{gap:40px;margin-top:40px}
  .faq{margin-top:48px}
  .ind{grid-template-columns:104px minmax(0,1fr);grid-template-areas:"art num" "art title" "text text";column-gap:16px;padding:16px 0}
  .ind p{margin-top:10px}
  .res:first-child{grid-row:auto}
  .res:not(:first-child){flex-direction:column}
  .res:not(:first-child) .cover{aspect-ratio:2/1;flex:none}
  .stages{grid-template-columns:1fr;gap:0}
  .stage{flex-direction:row;text-align:left;gap:14px;min-height:60px;padding:0}
  .stage .sl{max-width:none;font-size:.9375rem}
  .stages .detail{margin:4px 0 18px 62px;border-top:0;padding-top:4px}
  .thread{justify-content:flex-start;margin-top:18px}
  .thread small{text-align:left}
  .mq-set ul li{padding-inline:20px;height:56px}
}
/* on phones the hero drawing keeps two large labels and drops the rest, which would be too small to read.
   The four-part drawing is enlarged, loses its labels and gets a written key underneath instead. */
@media (max-width:560px){
  .ly-art{width:170%;max-width:none;margin:-32px 0 -48px -35%}
  .ly-art text:not(.tw){display:none}
  .ly-key{position:static;width:auto;height:auto;margin:-8px 0 0;padding:0;overflow:visible;clip:auto;white-space:normal;list-style:none;display:grid;gap:10px;color:var(--text)}
  .ly-key li{display:flex;align-items:baseline;gap:12px}
  .ly-key li::before{content:"";flex:none;width:12px;height:12px;border-radius:2px;background:#dbe9ea;border:1px solid var(--teal-text)}
  .ly-key li:last-child{font-weight:700;color:var(--ink)}
  .ly-key li:last-child::before{background:var(--yellow);border-color:#b98a12}
  .hero-illo text{display:none}
  .hero-illo text.mk{display:inline;font-size:25px}
  .hero-illo text.mk2{font-size:22px;transform:translateY(8px)}
}
@media (max-width:520px){
  .fwrap{grid-template-columns:1fr}
  .hero .actions .btn{width:100%}
  .stages .detail{margin-left:58px}
  .mq-set img{zoom:.85}
}
