/* Smart Mobility Advisory, design v4: photo-led, light, automotive-catalogue style
   Direction: large-format photography, white and light-grey sections, a solid dark menu bar.
   Layout: full-bleed image scenes alternate with 50/50 image-and-text rows and image cards.
   Accent: Line Yellow for buttons and bullets only. */

@font-face { font-family: "Montserrat Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/montserrat-latin-wght-normal.woff2) format("woff2-variations"); 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: "Montserrat Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/montserrat-latin-ext-wght-normal.woff2) format("woff2-variations"); 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; }

:root {
  --white: #ffffff;
  --grey: #f2f3f4;
  --grey-2: #e6e8ea;
  --ink: #031a2a;
  --body: #34434e;
  --muted: #66737d;
  --line: #dfe2e5;
  --bar: #04121d;
  --night: #071824;
  /* Logo palette */
  --violet: #7b0ffa;
  --magenta: #f20af0;
  --pink: #ff3dce;
  --coral: #fd807c;
  --teal: #2ff8de;
  --teal-ui: #14c4b0;
  --blue: #5963f5;
  --grad: linear-gradient(100deg, #7b0ffa 0%, #a50ef0 55%, #c80cd6 100%);
  --grad-logo: linear-gradient(100deg, #7b0ffa 0%, #f20af0 55%, #fd807c 100%);
  /* Engagement lanes */
  --lane-advise: var(--violet);
  --lane-launch: var(--pink);
  --lane-operate: var(--teal-ui);
  --font: "Montserrat Variable", "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --max: 1320px;
  --gutter: clamp(18px, 4vw, 56px);
  --head: 64px;
  --lane: 22px;
  --barh: 12px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 16px); }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 600; line-height: 1.18; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.2vw, 3.5rem); }
h2 { font-size: clamp(1.625rem, 2.6vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; }
p + p { margin-top: 1em; }
a { color: inherit; text-decoration-line: underline; text-decoration-color: var(--violet); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 3px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: var(--gutter); top: -60px; background: var(--violet); color: #fff; padding: 10px 16px; font-weight: 700; z-index: 60; border-radius: 4px; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.lede { font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.6; color: var(--body); max-width: 40em; }
.small { font-size: 0.875rem; }
.kicker { font-size: 0.875rem; font-weight: 600; color: var(--muted); margin-bottom: 12px; }

/* ---------- Header: solid dark bar ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; background: var(--bar); color: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--head); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand-logo { display: block; height: 38px; width: auto; }
.site-footer .brand-logo { height: 60px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { font-weight: 500; font-size: 0.9375rem; text-decoration: none; padding: 8px 12px; border-radius: 4px; color: rgba(255,255,255,.86); }
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--pink); border-radius: 0; }
.nav .btn { margin-left: 10px; min-width: 0; height: 38px; padding: 0 18px; color: #fff; box-shadow: none; border-radius: 4px; }
.nav .btn[aria-current="page"] { box-shadow: none; border-radius: 4px; }
.menu-toggle { display: none; width: 44px; height: 44px; margin-right: -10px; padding: 0; background: transparent; border: 0; border-radius: 4px; color: #fff; cursor: pointer; place-items: center; }
.menu-toggle .bars { position: relative; display: block; width: 24px; height: 16px; }
.menu-toggle .bars span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: top .25s ease, transform .25s ease, opacity .2s ease; }
.menu-toggle .bars span:nth-child(1) { top: 0; }
.menu-toggle .bars span:nth-child(2) { top: 7px; }
.menu-toggle .bars span:nth-child(3) { top: 14px; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(3) { top: 7px; transform: rotate(-45deg); }
@media (max-width: 1040px) {
  .menu-toggle { display: inline-grid; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: var(--head); flex-direction: column; align-items: stretch; gap: 0; background: var(--bar); padding: 8px var(--gutter) 20px; }
  .site-header.open .nav { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--pink); padding-left: 14px; }
  .nav .btn { margin: 14px 0 0; height: 46px; justify-content: center; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-width: 180px; height: 48px; padding: 0 26px; border-radius: 4px; font: 600 0.9375rem/1 var(--font); text-decoration: none; border: 0; cursor: pointer; transition: background-color .15s ease, color .15s ease, box-shadow .15s ease; }
.btn-primary { background: var(--grad); color: #fff; transition: filter .15s ease, box-shadow .15s ease; }
.btn-primary:hover { filter: brightness(1.1) saturate(1.05); box-shadow: 0 6px 20px rgba(123,15,250,.35); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.18); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #0d2a3f; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-weight: 600; font-size: 0.9375rem; text-decoration: none; display: inline-flex; gap: 10px; align-items: center; }
.text-link::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px) rotate(45deg); }
@media (max-width: 520px) { .btn-row .btn { flex: 1 1 100%; } }

/* ---------- Photos ---------- */
.photo { position: relative; overflow: hidden; background: linear-gradient(135deg, #12304a, #071824); }
.photo picture, .photo > img { position: absolute; inset: 0; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section.grey { background: var(--grey); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.section-head > div { max-width: 760px; }
.section-head .lede { margin-top: 12px; }
.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); row-gap: 28px; }
.card { background: var(--white); border-radius: 6px; padding: clamp(22px, 2.8vw, 36px); }
.grey .card { box-shadow: none; }
.card-line { border: 1px solid var(--line); }

/* ---------- Home hero ---------- */
.hero { position: relative; min-height: max(640px, 100svh); color: #fff; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; padding: calc(var(--head) + clamp(56px, 10vh, 120px)) var(--gutter) clamp(28px, 5vh, 52px); }
.hero > .photo { position: absolute; inset: 0; }
.hero-depth img { transform: scale(1.064); }
.depth-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .6s ease; }
.depth-canvas.ready { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10,13,15,.62) 0%, rgba(10,13,15,.12) 38%, rgba(10,13,15,.12) 60%, rgba(10,13,15,.72) 100%); pointer-events: none; }
.hero-copy, .hero .btn-row { position: relative; z-index: 1; }
.hero h1 { max-width: 22ch; margin-inline: auto; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero .lede { color: rgba(255,255,255,.9); margin: 18px auto 0; max-width: 40em; }
.hero .btn-row { justify-content: center; margin-top: 28px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; min-height: max(460px, 66svh); color: #fff; display: flex; align-items: flex-end; overflow: hidden; padding: calc(var(--head) + 48px) 0 clamp(40px, 6vh, 72px); }
.page-hero > .photo { position: absolute; inset: 0; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,13,15,.82) 0%, rgba(10,13,15,.35) 50%, rgba(10,13,15,.25) 100%); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .kicker { color: rgba(255,255,255,.85); }
.page-hero .kicker a { color: #ff8bdf; text-decoration: none; }
.page-hero h1 { max-width: 24ch; }
.page-hero .lede { color: rgba(255,255,255,.9); margin-top: 16px; }
.page-hero.short { min-height: max(360px, 44svh); }

/* ---------- Image cards (doors) ---------- */
.icards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.icard { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; color: #fff; text-decoration: none; padding: clamp(20px, 2.4vw, 30px); isolation: isolate; }
.icard > .photo { position: absolute; inset: 0; z-index: -2; }
.icard > .photo img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.icard:hover > .photo img { transform: scale(1.05); }
.icard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(10,13,15,.66) 0%, rgba(10,13,15,.1) 45%, rgba(10,13,15,.55) 100%); }
.icard .label { display: inline-block; padding: 5px 10px 4px; border-radius: 4px; background: var(--grad); color: #fff; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.3; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.icard h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); font-weight: 600; margin-top: 10px; max-width: 18ch; }
.icard .text-link { color: #fff; }
@media (max-width: 960px) { .icards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); } .icards::-webkit-scrollbar { display: none; } .icard { flex: 0 0 78%; scroll-snap-align: start; } }

/* ---------- Full-bleed band ---------- */
.band { position: relative; min-height: max(480px, 78svh); color: #fff; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; padding: 96px var(--gutter); }
.band > .photo { position: absolute; inset: 0; }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(10,13,15,.42); }
.band .inner { position: relative; z-index: 1; max-width: 760px; }
.band h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
.band p { margin-top: 18px; color: rgba(255,255,255,.92); font-size: 1.0625rem; }
.band .btn-row { justify-content: center; margin-top: 28px; }
.band-slim { min-height: 0; padding: clamp(56px, 7vw, 84px) var(--gutter); }
.band-slim h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.band-slim p { margin-top: 12px; }

/* ---------- 50/50 rows ---------- */
.rows { display: grid; gap: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; min-height: 440px; background: var(--grey); }
.row:nth-child(even) .row-photo { order: 2; }
.row-photo { min-height: 360px; }
.row-text { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 6vw, 88px); }
.row-text h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.row-text .points { list-style: none; margin: 18px 0 0; padding: 0; }
.row-text .points li { position: relative; padding: 4px 0 4px 20px; color: var(--body); }
.row-text .points li::before { content: ""; position: absolute; left: 0; top: 13px; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.row-text .text-link { margin-top: 22px; }
@media (max-width: 820px) { .row { grid-template-columns: minmax(0, 1fr); } .row:nth-child(even) .row-photo { order: 0; } .row-photo { min-height: 0; aspect-ratio: 16 / 10; } }

/* ---------- Projects carousel ---------- */
.proj-nav { display: flex; gap: 10px; flex: none; }
.cbtn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; cursor: pointer; transition: background-color .15s ease, opacity .15s ease; }
.cbtn svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cbtn:hover { background: var(--grey); }
.cbtn[disabled] { opacity: .35; cursor: default; }
.carousel { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scroll-padding-inline: var(--gutter); }
.carousel::-webkit-scrollbar { display: none; }
.ptrack { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: calc((min(100vw, var(--max)) - 2 * var(--gutter) - 3 * 16px) / 4); gap: 16px; }
.pcard { scroll-snap-align: start; }
.pcard a { display: flex; flex-direction: column; height: 100%; background: var(--white); text-decoration: none; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.pcard .photo { aspect-ratio: 1 / 1; }
.pcard .photo img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.pcard a:hover .photo img { transform: scale(1.05); }
.pbody { padding: 20px 18px 22px; text-align: center; flex: 1; }
.pbody h3 { font-size: 1.0625rem; font-weight: 600; line-height: 1.35; }
.pbody p { margin-top: 6px; color: var(--muted); font-size: 0.875rem; }
.proj-more { margin-top: 24px; }
@media (max-width: 1040px) { .ptrack { grid-auto-columns: calc((100vw - 2 * var(--gutter) - 16px) / 2.2); } }
@media (max-width: 640px) { .ptrack { grid-auto-columns: 78vw; } }
.pgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pgrid { grid-template-columns: 1fr; } }

/* ---------- Jurisdictions map (light) ---------- */
.juris .grid12 { align-items: center; }
.juris .copy { grid-column: 1 / span 4; }
.juris .copy p { margin-top: 16px; color: var(--body); }
.juris .mapwrap { grid-column: 5 / span 8; }
@media (max-width: 960px) { .juris .copy, .juris .mapwrap { grid-column: 1 / -1; } }
.map .land { stroke: #c5cacd; stroke-width: 0.8; }
.map .border { fill: none; stroke: #8f979c; stroke-width: 1; stroke-dasharray: 5 5; }
.map .jlabel { fill: var(--ink); font: 600 15px var(--font); text-anchor: middle; }
.map .jlabel.nz { fill: #8a6700; }
.map .leader { stroke: #8f979c; stroke-width: 1; fill: none; }
.map .hq { fill: var(--pink); stroke: var(--ink); stroke-width: 1.5; }
.map .hq-ring { fill: none; stroke: var(--pink); stroke-width: 2; opacity: .8; transform-box: fill-box; transform-origin: center; }
.map .base-label { fill: var(--ink); font: 600 13px var(--font); }
@media (prefers-reduced-motion: no-preference) { .map .hq-ring { animation: ping 2.8s ease-out infinite; } @keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } } }

/* ---------- Principal split ---------- */
.split { background: var(--grey); padding: clamp(56px, 8vw, 104px) 0; }
.split-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-figure { margin: 0; width: 100%; max-width: 440px; justify-self: end; }
.split-figure .photo { aspect-ratio: 4 / 5; border-radius: 8px; }
.split-figure .quote { margin-top: 22px; padding-left: 18px; border-left: 3px solid var(--violet); border-image: linear-gradient(to bottom, #7b0ffa, #f20af0) 1; }
.split-figure blockquote { margin: 0; }
.split-figure .quote p { font-size: 1.0625rem; font-weight: 600; line-height: 1.45; color: var(--ink); }
.split-figure .quote span { display: block; margin-top: 10px; font-size: 0.8125rem; color: var(--muted); }
.split .split-text { display: flex; flex-direction: column; justify-content: center; }
.split .split-text .lede { margin-top: 18px; }
.split .split-text p.body { margin-top: 14px; color: var(--body); max-width: 40em; }
@media (max-width: 900px) { .split-inner { grid-template-columns: minmax(0, 1fr); } .split-figure { justify-self: start; max-width: 320px; } }
.credential { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; align-items: center; margin-top: 28px; background: var(--white); border-radius: 6px; padding: 20px 22px; }
.credential p { font-size: 0.875rem; line-height: 1.55; color: var(--body); }
.credential strong { display: block; color: var(--ink); font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.credential .ext { display: table; margin-top: 10px; font-weight: 600; color: var(--ink); }
.cred-logo-link { display: block; text-decoration: none; }
.cred-logo { width: 200px; height: auto; }
@media (max-width: 560px) { .credential { grid-template-columns: 1fr; } .cred-logo-link { margin-top: 16px; } .cred-logo { width: 180px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--bar); color: #fff; padding-block: 56px 36px; font-size: 0.9375rem; }
.footer-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); row-gap: 28px; }
.f-brand { grid-column: 1 / span 5; }
.f-links { grid-column: 7 / span 3; }
.f-contact { grid-column: 10 / span 3; }
.f-brand p { margin-top: 14px; color: #a3abb1; max-width: 28em; }
.f-head { font-weight: 600; font-size: 0.9375rem; margin-bottom: 10px; color: inherit; }
.site-footer .f-head { color: #fff; }
.f-links ul { list-style: none; margin: 0; padding: 0; }
.f-links li { padding: 3px 0; }
.f-links a, .f-contact a { text-decoration-color: transparent; color: #a3abb1; }
.f-links a:hover, .f-contact a:hover { color: #fff; text-decoration-color: var(--pink); }
.f-contact p { color: #a3abb1; }
.legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #7e878d; font-size: 0.8125rem; line-height: 1.6; display: grid; gap: 6px; }
@media (max-width: 900px) { .f-brand { grid-column: 1 / -1; } .f-links { grid-column: 1 / span 6; } .f-contact { grid-column: 7 / span 6; } }
@media (max-width: 520px) { .f-links, .f-contact { grid-column: 1 / -1; } }

/* ---------- Route map (light panel) ---------- */
.route-panel { background: var(--white); border-radius: 6px; padding: clamp(24px, 4vw, 56px); }
.route-legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.route-legend a { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; text-decoration: none; padding: 14px 16px; border-radius: 6px; border: 1px solid var(--line); transition: background-color .2s ease; }
.route-legend a:hover, .route-legend a:focus-visible { background: var(--grey); }
.route-legend .swatch { grid-row: 1 / span 2; width: 34px; height: var(--barh); border-radius: 6px; margin-top: 6px; }
.route-legend strong { font-weight: 600; font-size: 1.0625rem; line-height: 1.35; }
.route-legend span:last-child { font-size: 0.875rem; line-height: 1.45; color: var(--muted); margin-top: 2px; }
.sw-advise { background: var(--lane-advise); } .sw-launch { background: var(--lane-launch); } .sw-operate { background: var(--lane-operate); }
.stops { list-style: none; margin: clamp(36px, 4.5vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.stop { position: relative; }
.track { position: relative; height: calc(var(--lane) * 3); }
.seg { position: absolute; left: 0; right: 0; height: var(--barh); top: calc((var(--n) - 1) * var(--lane) + (var(--lane) - var(--barh)) / 2); transform-origin: left center; }
.seg.l1 { --n: 1; background: var(--lane-advise); } .seg.l2 { --n: 2; background: var(--lane-launch); } .seg.l3 { --n: 3; background: var(--lane-operate); }
.seg.start { left: 50%; border-radius: 6px 0 0 6px; }
.seg.end { right: 50%; border-radius: 0 6px 6px 0; }
.node { position: absolute; left: 50%; width: 26px; margin-left: -13px; top: calc((var(--from) - 1) * var(--lane)); bottom: 0; background: var(--white); border: 3px solid var(--ink); border-radius: 13px; z-index: 1; }
.from-1 { --from: 1; } .from-2 { --from: 2; } .from-3 { --from: 3; }
.stop h3 { font-size: 1rem; margin-top: 18px; padding-inline: 4px; text-align: center; }
.stop p { font-size: 0.8125rem; line-height: 1.45; color: var(--muted); margin-top: 6px; padding-inline: 8px; text-align: center; }
.route-note { margin-top: 32px; font-size: 0.9375rem; color: var(--muted); text-align: center; }
.route[data-focus] .seg { transition: opacity .2s ease; }
.route[data-focus="advise"] .seg:not(.l1), .route[data-focus="launch"] .seg:not(.l2), .route[data-focus="operate"] .seg:not(.l3) { opacity: 0.12; }
@media (prefers-reduced-motion: no-preference) {
  .route.animate .seg { animation: draw .55s cubic-bezier(.3,.7,.2,1) both; animation-delay: calc(var(--i) * 85ms); }
  .route.animate .node { animation: pop .35s ease-out both; animation-delay: calc(var(--i) * 85ms + 180ms); }
  @keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
}
.stop:nth-child(1) { --i: 0; } .stop:nth-child(2) { --i: 1; } .stop:nth-child(3) { --i: 2; } .stop:nth-child(4) { --i: 3; } .stop:nth-child(5) { --i: 4; } .stop:nth-child(6) { --i: 5; } .stop:nth-child(7) { --i: 6; }
@media (max-width: 900px) {
  .route-legend { grid-template-columns: 1fr; gap: 8px; }
  .stops { grid-template-columns: 1fr; }
  .stop { display: grid; grid-template-columns: calc(var(--lane) * 3) 1fr; column-gap: 18px; }
  .stop p { padding-bottom: 24px; }
  .track { grid-row: 1 / span 2; height: auto; }
  .seg { top: 0; bottom: -1px; height: auto; width: var(--barh); left: calc((var(--n) - 1) * var(--lane) + (var(--lane) - var(--barh)) / 2); right: auto; transform-origin: center top; }
  .seg.start { top: 16px; border-radius: 6px 6px 0 0; }
  .seg.end { right: auto; bottom: auto; height: 16px; border-radius: 0 0 6px 6px; }
  .node { left: calc((var(--from) - 1) * var(--lane)); right: 0; width: auto; margin-left: 0; top: 3px; bottom: auto; height: 26px; }
  .stop h3, .stop p { text-align: left; padding-inline: 0; }
  .stop h3 { margin-top: 2px; }
  .route-note { text-align: left; }
  @media (prefers-reduced-motion: no-preference) { @keyframes draw { from { transform: scaleY(0); } to { transform: scaleY(1); } } }
}

/* ---------- Cards and lists ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cards3 .card h3 { font-size: 1.125rem; }
.cards3 .card p { margin-top: 10px; color: var(--body); font-size: 0.9375rem; }
.card-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(123, 15, 250, .08); margin-bottom: 18px; }
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--violet); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1040px) { .cards3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cards3 { grid-template-columns: 1fr; } }
.models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.model { position: relative; display: flex; flex-direction: column; border-top: 4px solid var(--lc); }
.model h3 { font-size: 1.75rem; }
.model .for { margin-top: 10px; color: var(--muted); font-size: 0.9375rem; }
.model ul { list-style: none; margin: 20px 0 0; padding: 0; }
.model li { padding: 10px 0 9px 20px; border-top: 1px solid var(--line); position: relative; line-height: 1.45; font-size: 0.9375rem; color: var(--body); }
.model li::before { content: ""; position: absolute; left: 0; top: 17px; width: 7px; height: 7px; border-radius: 50%; background: var(--lc); }
.model .fee { margin-top: auto; padding-top: 24px; }
.model .fee p { font-size: 0.875rem; color: var(--muted); }
.model .fee .f-head { color: var(--ink); margin-bottom: 4px; }
.lc-advise { --lc: var(--lane-advise); } .lc-launch { --lc: var(--lane-launch); } .lc-operate { --lc: var(--lane-operate); }
@media (max-width: 960px) { .models { grid-template-columns: 1fr; } }
.group-card { background: var(--white); border-radius: 6px; padding: clamp(24px, 3.6vw, 48px); }
.group-card + .group-card { margin-top: 16px; }
.group-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); row-gap: 8px; align-items: baseline; padding-bottom: 22px; }
.group-head h3 { grid-column: 1 / span 4; font-size: clamp(1.5rem, 2.4vw, 2rem); display: flex; align-items: center; gap: 14px; }
.group-head h3::before { content: ""; width: 30px; height: 8px; border-radius: 4px; background: var(--lc); flex: none; }
.group-head p { grid-column: 5 / span 8; color: var(--muted); }
.service { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); row-gap: 10px; padding-block: 22px; border-top: 1px solid var(--line); }
.service h4 { grid-column: 1 / span 4; font-size: 1.0625rem; font-weight: 600; }
.service .desc { grid-column: 5 / span 5; color: var(--body); font-size: 0.9375rem; }
.service .outputs { grid-column: 10 / span 3; list-style: none; margin: 0; padding: 0; font-size: 0.875rem; font-weight: 500; line-height: 1.4; }
.service .outputs li { padding: 4px 0 4px 16px; position: relative; }
.service .outputs li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--lc); }
.service .note { margin-top: 10px; font-size: 0.875rem; color: var(--muted); }
@media (max-width: 1000px) { .group-head h3, .group-head p, .service h4 { grid-column: 1 / -1; } .service .desc { grid-column: 1 / span 7; } .service .outputs { grid-column: 8 / span 5; } }
@media (max-width: 640px) { .service .desc, .service .outputs { grid-column: 1 / -1; } }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-size: 2rem; font-weight: 600; color: var(--ink); line-height: 1; margin-bottom: 14px; }
.steps h3 { font-size: 1.0625rem; }
.steps p { margin-top: 8px; color: var(--body); font-size: 0.9375rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.two-col p { margin-top: 10px; color: var(--body); font-size: 0.9375rem; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.check { list-style: none; margin: 18px 0 0; padding: 0; }
.check li { padding: 12px 0 10px 28px; border-top: 1px solid var(--line); position: relative; color: var(--body); }
.check li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 11px; height: 6px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid var(--line); border-radius: 4px; padding: 9px 14px; font-weight: 500; font-size: 0.9375rem; background: var(--white); }
.chips a { text-decoration: none; }
.figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.fig strong { display: block; font-size: clamp(2rem, 3.4vw, 2.75rem); font-weight: 600; line-height: 1; }
.fig span { display: block; margin-top: 8px; color: var(--muted); font-size: 0.875rem; font-weight: 500; }

/* ---------- Project pages ---------- */
.pmeta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding-block: 28px; border-bottom: 1px solid var(--line); }
.pmeta dt { font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.pmeta dd { margin: 6px 0 0; font-weight: 600; line-height: 1.4; }
@media (max-width: 900px) { .pmeta { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pstory { grid-column: 1 / span 7; }
.pstory h2 { margin-bottom: 4px; }
.pstory h3 { font-size: 1.0625rem; margin-top: 28px; }
.pstory p { margin-top: 8px; color: var(--body); font-size: 1.0625rem; line-height: 1.7; max-width: 40em; }
.pside { grid-column: 9 / span 4; display: grid; gap: 24px; align-content: start; }
.pside .figs { grid-template-columns: 1fr; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
@media (max-width: 960px) { .pstory, .pside { grid-column: 1 / -1; } }

/* ---------- Team ---------- */
.profile .grid12 { align-items: start; }
.profile .portrait { grid-column: 1 / span 4; max-width: 380px; aspect-ratio: 4 / 5; border-radius: 6px; position: sticky; top: calc(var(--head) + 24px); }
.profile .bio { grid-column: 6 / span 7; }
.profile .role { font-weight: 500; color: var(--muted); margin-top: 6px; }
.profile .bio > .lede { margin-top: 24px; }
.profile .bio > p:not(.lede):not(.role) { margin-top: 14px; color: var(--body); max-width: 40em; }
@media (max-width: 960px) { .profile .portrait { grid-column: 1 / -1; position: relative; top: 0; max-width: 320px; } .profile .bio { grid-column: 1 / -1; } }
.facts { margin: 32px 0 0; }
.facts > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding-block: 16px; border-top: 1px solid var(--line); }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; color: var(--body); }
.facts .ext { font-weight: 600; }
.dd-logo-link { display: block; width: max-content; text-decoration: none; }
.dd-logo { width: 200px; height: auto; margin-top: 12px; }
@media (max-width: 560px) { .facts > div { grid-template-columns: 1fr; gap: 4px; } }
.network { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.network li { background: var(--white); border-radius: 6px; padding: 22px; }
.network strong { font-weight: 600; display: block; line-height: 1.35; }
.network span { display: block; margin-top: 6px; font-size: 0.875rem; color: var(--muted); }
@media (max-width: 1040px) { .network { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .network { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { align-items: start; }
.contact-grid form { grid-column: 1 / span 7; }
.contact-grid aside { grid-column: 9 / span 4; display: grid; gap: 16px; }
@media (max-width: 960px) { .contact-grid form, .contact-grid aside { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
label { font-weight: 600; font-size: 0.875rem; }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); border: 1px solid #c9ced2; border-radius: 4px; padding: 12px 14px; width: 100%; }
textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(123,15,250,.18); }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 16px; font-weight: 500; padding: 14px 16px; border-radius: 4px; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #e6faf7; box-shadow: inset 4px 0 0 var(--teal-ui); }
.form-status.err { background: #fbeceb; box-shadow: inset 4px 0 0 #b3261e; }
.aside-card .big { font-weight: 600; word-break: break-word; }
.prose { max-width: 46em; }
.prose h2 { font-size: 1.375rem; margin-top: 32px; margin-bottom: 8px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--body); }

/* ---------- Brand guide ---------- */
.swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.swatches > div { border-radius: 6px; overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.swatches .chip { height: 100px; }
.swatches .meta { padding: 12px 14px; font-size: 0.875rem; line-height: 1.45; }
.swatches .meta strong { display: block; font-size: 1rem; }
@media (max-width: 900px) { .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.logo-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.logo-tiles figure { margin: 0; border-radius: 6px; padding: 44px 28px; display: grid; place-items: center; min-height: 200px; background: var(--white); position: relative; border: 1px solid var(--line); }
.logo-tiles figure.dark { background: var(--bar); border-color: var(--bar); }
.logo-tiles figcaption { position: absolute; left: 16px; bottom: 10px; font-size: 0.8125rem; color: var(--muted); }
.logo-tiles img { max-height: 90px; width: auto; }
@media (max-width: 720px) { .logo-tiles { grid-template-columns: 1fr; } }
.type-specimen { border-top: 1px solid var(--line); padding-block: 20px; display: grid; grid-template-columns: 12em 1fr; gap: 16px; align-items: baseline; }
.type-specimen .label { font-size: 0.875rem; color: var(--muted); }
@media (max-width: 640px) { .type-specimen { grid-template-columns: 1fr; } }
.dodont { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dodont ul { padding-left: 1.1em; margin: 10px 0 0; color: var(--body); }
@media (max-width: 720px) { .dodont { grid-template-columns: 1fr; } }

@media print { .site-header, .menu-toggle { display: none; } }
.hero h1 { max-width: 30ch; }
.hero::after { background: linear-gradient(to bottom, rgba(10,13,15,.66) 0%, rgba(10,13,15,.42) 38%, rgba(10,13,15,.1) 64%, rgba(10,13,15,.6) 100%); }
.hero .lede { text-shadow: 0 1px 14px rgba(0,0,0,.45); }
.hero { justify-content: center; padding-top: calc(var(--head) + 24px); padding-bottom: 72px; }
.hero::after { background: radial-gradient(ellipse 75% 50% at 50% 52%, rgba(10,13,15,.5) 0%, rgba(10,13,15,.22) 55%, rgba(10,13,15,0) 80%), linear-gradient(to bottom, rgba(10,13,15,.3) 0%, rgba(10,13,15,.12) 35%, rgba(10,13,15,.18) 70%, rgba(10,13,15,.55) 100%); }
.band::after { background: radial-gradient(ellipse at center, rgba(10,13,15,.62) 0%, rgba(10,13,15,.45) 60%, rgba(10,13,15,.35) 100%); }
.band h2, .band p { text-shadow: 0 1px 18px rgba(0,0,0,.35); }
.logo-dl { display: grid; gap: 12px; justify-items: start; }

/* ---------- Home: narrative intro ---------- */
.intro { padding-bottom: clamp(28px, 3.5vw, 44px); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.intro h2 { font-size: clamp(1.75rem, 3.2vw, 2.625rem); line-height: 1.15; max-width: 16ch; }
.intro-copy .lede { margin: 0; }
.intro-copy p + p { margin-top: 16px; color: var(--body); max-width: 40em; }
.doors { padding-top: clamp(28px, 3.5vw, 44px); }
.doors .icard { aspect-ratio: 4 / 3; }
@media (max-width: 960px) { .doors .icard { aspect-ratio: 3 / 4; } }
@media (max-width: 900px) { .intro-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Home: what we work on (tabs on wide screens, accordion on phones) ---------- */
.explorer { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(28px, 4vw, 64px); align-items: start; }
.ex-item { display: contents; }
.ex-tab { grid-column: 1; display: grid; grid-template-columns: 38px minmax(0, 1fr) 20px; align-items: center; gap: 12px; width: 100%; padding: 18px 4px 18px 16px; background: none; border: 0; border-top: 1px solid var(--line); font: inherit; text-align: left; color: var(--muted); cursor: pointer; position: relative; transition: color .2s ease; }
.ex-item:last-child .ex-tab { border-bottom: 1px solid var(--line); }
.ex-tab::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 2px; background: var(--grad); transform: scaleY(0); transform-origin: top; transition: transform .3s ease; }
.ex-tab:hover, .ex-tab[aria-expanded="true"] { color: var(--ink); }
.ex-tab[aria-expanded="true"]::before { transform: scaleY(1); }
.ex-num { font-size: 0.8125rem; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
.ex-tab[aria-expanded="true"] .ex-num { color: var(--violet); }
.ex-title { font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); font-weight: 600; line-height: 1.3; }
.ex-arrow { width: 10px; height: 10px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); justify-self: end; opacity: .5; transition: transform .25s ease, opacity .2s ease; }
.ex-tab[aria-expanded="true"] .ex-arrow { opacity: 1; }
.ex-panel { grid-column: 2; grid-row: 1 / span 5; }
.ex-panel[hidden] { display: none; }
.ex-panel.is-active { animation: exReveal .45s cubic-bezier(.2,.7,.2,1) both; }
.ex-photo { aspect-ratio: 16 / 10; border-radius: 8px; }
.ex-panel.is-active .ex-photo img { animation: exZoom 1.2s cubic-bezier(.2,.7,.2,1) both; }
.ex-copy { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 28px; margin-top: 18px; }
.ex-copy .points { list-style: none; margin: 0; padding: 0; }
.ex-copy .points li { position: relative; padding: 4px 0 4px 20px; color: var(--body); }
.ex-copy .points li::before { content: ""; position: absolute; left: 0; top: 13px; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
@keyframes exReveal { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes exZoom { from { transform: scale(1.05); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .ex-panel.is-active, .ex-panel.is-active .ex-photo img { animation: none; } }
@media (max-width: 820px) {
  .explorer { display: block; }
  .ex-item { display: block; border-top: 1px solid var(--line); }
  .ex-item:last-child { border-bottom: 1px solid var(--line); }
  .ex-tab, .ex-item:last-child .ex-tab { border: 0; }
  .ex-tab[aria-expanded="true"] .ex-arrow { transform: rotate(135deg); }
  .ex-arrow { transform: rotate(45deg); }
  .ex-panel { padding: 0 0 22px; }
}

.nw { white-space: nowrap; }
.doors .icard::before { background: linear-gradient(to bottom, rgba(3,26,42,.82) 0%, rgba(3,26,42,.45) 55%, rgba(3,26,42,.7) 100%); }
.doors .icard h3 { text-shadow: 0 1px 12px rgba(0,0,0,.35); }

/* ---------- Operators: engagement selector (tabs drive the route) ---------- */
.eg-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.eg-tab { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; text-align: left; font: inherit; color: var(--ink); background: var(--white); padding: 14px 16px; border-radius: 6px; border: 1px solid var(--line); cursor: pointer; transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.eg-tab:hover { background: var(--grey); }
.eg-tab[aria-selected="true"] { border-color: var(--lc); box-shadow: inset 0 0 0 1px var(--lc); background: var(--white); }
.eg-tab .swatch { grid-row: 1 / span 2; width: 34px; height: var(--barh); border-radius: 6px; margin-top: 6px; }
.eg-tab strong { font-weight: 600; font-size: 1.0625rem; line-height: 1.35; }
.eg-desc { font-size: 0.875rem; line-height: 1.45; color: var(--muted); margin-top: 2px; }
.engage .seg, .engage .stop h3, .engage .stop p, .engage .node { transition: opacity .25s ease; }
.engage[data-focus="advise"] .stop:not(.in-advise) :is(h3, p), .engage[data-focus="launch"] .stop:not(.in-launch) :is(h3, p), .engage[data-focus="operate"] .stop:not(.in-operate) :is(h3, p) { opacity: .35; }
.engage .seg { opacity: 1; }
.engage[data-focus="advise"] .seg:not(.l1), .engage[data-focus="launch"] .seg:not(.l2), .engage[data-focus="operate"] .seg:not(.l3) { opacity: .14; }
.eg-panel { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: clamp(20px, 3vw, 44px); margin-top: clamp(32px, 4vw, 48px); padding-top: 24px; border-top: 3px solid var(--lc); }
.eg-panel[hidden] { display: none; }
.eg-panel.is-active { animation: exReveal .4s cubic-bezier(.2,.7,.2,1) both; }
.eg-panel:focus-visible { outline: 2px solid var(--lc); outline-offset: 6px; }
.eg-col .f-head { font-weight: 600; color: var(--ink); font-size: 0.9375rem; margin-bottom: 8px; }
.eg-col p { font-size: 0.9375rem; color: var(--body); }
.eg-inc ul { list-style: none; margin: 0; padding: 0; }
.eg-inc li { position: relative; padding: 7px 0 6px 18px; border-top: 1px solid var(--line); font-size: 0.9375rem; line-height: 1.45; color: var(--body); }
.eg-inc li:first-child { border-top: 0; padding-top: 0; }
.eg-inc li::before { content: ""; position: absolute; left: 0; top: 15px; width: 7px; height: 7px; border-radius: 50%; background: var(--lc); }
.eg-inc li:first-child::before { top: 8px; }
.engage + .route-note { margin-top: 28px; }
@media (prefers-reduced-motion: reduce) { .eg-panel.is-active { animation: none; } }
@media (max-width: 900px) {
  .eg-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .eg-tab { grid-template-columns: 1fr; row-gap: 8px; padding: 12px; }
  .eg-tab .swatch { grid-row: auto; width: 28px; margin-top: 0; }
  .eg-desc { display: none; }
  .eg-panel { grid-template-columns: 1fr; gap: 22px; }
}

/* ---------- Operators: services explorer ---------- */
.explorer-svc .ex-tab::before { background: var(--lc); }
.explorer-svc .ex-tab { align-items: start; }
.explorer-svc .ex-num { padding-top: 5px; }
.explorer-svc .ex-arrow { margin-top: 9px; }
.ex-sub { display: block; font-size: 0.9375rem; font-weight: 400; color: var(--muted); margin-top: 4px; line-height: 1.45; }
.svc { padding: 20px 0 22px; border-top: 1px solid var(--line); }
.svc:first-child { border-top: 0; padding-top: 18px; }
.svc h3 { font-size: 1.125rem; font-weight: 600; }
.svc > p { margin-top: 8px; color: var(--body); font-size: 0.9375rem; }
.svc .note { color: var(--muted); font-size: 0.875rem; }
.chips { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { position: relative; font-size: 0.8125rem; font-weight: 500; line-height: 1.3; padding: 6px 12px 5px 24px; border-radius: 999px; background: var(--grey); color: var(--ink); }
.chips li::before { content: ""; position: absolute; left: 11px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--lc); }
.ex-aside { grid-column: 1; grid-row: 5; margin-top: 28px; padding: 22px 24px; border-radius: 6px; background: var(--grey); }
.ex-aside p { font-size: 0.9375rem; color: var(--body); margin-bottom: 10px; }
@media (max-width: 820px) { .ex-aside { margin-top: 24px; } }
@media (max-width: 820px) { .svc:first-child { padding-top: 4px; } }

/* Projects index: two-line summary on each card */
.pgrid .pbody { display: flex; flex-direction: column; }
.pbody .psum { margin-top: 8px; color: var(--body); font-size: 0.875rem; line-height: 1.5; }
.pbody .ploc { margin-top: auto; padding-top: 12px; font-size: 0.8125rem; color: var(--muted); }
/* Footer contact: same tight rhythm as the page links */
.f-contact p:not(.f-head) { margin-top: 6px; }
.f-contact .f-head + p { margin-top: 0; padding-top: 3px; }

/* Government: services explorer (photo + description + outputs) */
.explorer-gov { --lc: var(--violet); }
.explorer-gov .ex-panel { grid-row: 1 / span 6; }
.explorer-gov .ex-photo { aspect-ratio: 16 / 9; }
.ex-copy.ex-stack { display: block; }
.ex-stack > p { color: var(--body); max-width: 40em; }
.ex-stack .chips { margin-top: 14px; }
.ex-stack .text-link { display: inline-flex; margin-top: 16px; }
.intro-copy .credential { margin-top: 28px; border: 1px solid var(--line); max-width: 40em; }

/* Business: intro figures and plain chips */
.intro-figs { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 40em; }
.intro-figs .fig strong { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chips-plain li { padding-left: 12px; }
.chips-plain li::before { display: none; }
.grey .ex-aside { background: var(--white); }

/* Business: proof strip under the narrative */
.proof-strip { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; margin-top: clamp(40px, 5vw, 64px); padding: clamp(24px, 3vw, 32px) clamp(24px, 3vw, 36px); border-radius: 8px; background: var(--grey); }
.ps-text p:not(.f-head) { color: var(--body); font-size: 0.9375rem; margin-top: 6px; }
.ps-text .text-link { display: inline-flex; margin-top: 12px; }
.proof-strip .fig { padding-left: clamp(20px, 3vw, 40px); border-left: 1px solid var(--line); }
.proof-strip .fig strong { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 820px) {
  .proof-strip { grid-template-columns: 1fr 1fr; }
  .ps-text { grid-column: 1 / -1; }
  .proof-strip .fig { padding-left: 0; border-left: 0; padding-top: 18px; border-top: 1px solid var(--line); }
}

/* Home: "What we work on" tiles (single boxes, whole card clickable) */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.tiles > li { display: flex; }
.tcard { display: flex; flex-direction: column; width: 100%; background: var(--white); border-radius: 8px; overflow: hidden; color: var(--ink); text-decoration: none; box-shadow: 0 1px 2px rgba(3, 26, 42, .06); transition: box-shadow .25s ease, transform .25s ease; }
.tcard:hover { box-shadow: 0 10px 28px rgba(3, 26, 42, .12); transform: translateY(-2px); }
.tcard:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
.tcard > .photo { aspect-ratio: 16 / 9; }
.tcard > .photo img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.tcard:hover > .photo img { transform: scale(1.04); }
.tbody { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.tbody h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
.tbody p { margin-top: 8px; color: var(--body); font-size: 0.9375rem; line-height: 1.5; }
.tlink { margin-top: auto; padding-top: 16px; font-weight: 600; font-size: 0.9375rem; display: inline-flex; align-items: center; gap: 8px; }
.tlink::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s ease; }
.tcard:hover .tlink::after { transform: translateX(3px) rotate(45deg); }
.tcard-cta { background: var(--bar); color: #fff; position: relative; isolation: isolate; }
.tcard-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 100% 0%, rgba(242, 10, 240, .35), transparent 60%), radial-gradient(100% 80% at 0% 100%, rgba(123, 15, 250, .45), transparent 60%); }
.tcard-cta .tbody { justify-content: flex-start; padding: clamp(24px, 3vw, 34px); }
.tcard-cta .kicker { color: rgba(255, 255, 255, .75); margin: 0; }
.tcard-cta h3 { color: #fff; font-size: clamp(1.375rem, 2vw, 1.75rem); margin-top: 10px; }
.tcard-cta p:not(.kicker) { color: rgba(255, 255, 255, .8); }
.tcard-cta .tlink { color: #fff; }
@media (prefers-reduced-motion: reduce) { .tcard, .tcard > .photo img, .tlink::after { transition: none; } .tcard:hover { transform: none; } .tcard:hover > .photo img { transform: none; } }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .tiles { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .tiles::-webkit-scrollbar { display: none; }
  .tiles > li { flex: 0 0 82%; scroll-snap-align: start; }
}
/* Project cards: year tag at the bottom */
.pbody .ptag { display: inline-block; align-self: center; margin-top: 12px; padding: 4px 11px 3px; border-radius: 999px; background: rgba(123, 15, 250, .08); color: var(--violet); font-size: 0.75rem; font-weight: 600; letter-spacing: .04em; }
.pgrid .pbody .ploc + .ptag { margin-top: 10px; }
.pbody { display: flex; flex-direction: column; }
.pbody > p:last-of-type { margin-bottom: auto; }
.pgrid .pbody > p:last-of-type { margin-bottom: 0; }
/* Team: bespoke delivery-network icons */
.network li { display: flex; flex-direction: column; }
.net-icon { width: 48px; height: 48px; color: var(--ink); margin-bottom: 16px; }
/* Business: service cards (same pattern as the home page tiles) */
.chips-sm { margin-top: 14px; gap: 6px; }
.chips-sm li { font-size: 0.75rem; padding: 5px 10px 4px 22px; }
.chips-sm li::before { left: 10px; }
.tcard .chips li::before { background: var(--violet); }
.tiles > li.tspan2 { grid-column: span 2; }
.tspan2 .tcard-cta .tbody { justify-content: center; }
.tspan2 .tcard-cta h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.tspan2 .tcard-cta p:not(.kicker) { max-width: 34em; }
@media (max-width: 700px) { .tiles > li.tspan2 { grid-column: auto; } }
.tspan2 .tcard-cta .tlink { margin-top: 0; padding-top: 22px; }

/* FAQ (details/summary accordions; full answers stay in the HTML for search and AI tools) */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; font-weight: 600; font-size: 1.0625rem; line-height: 1.4; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid var(--violet); outline-offset: 4px; border-radius: 4px; }
.faq-icon { position: relative; flex: 0 0 18px; width: 18px; height: 18px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 2px; right: 2px; top: 8px; height: 2px; border-radius: 2px; background: var(--violet); transition: transform .25s ease; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-item p { margin: -4px 0 22px; color: var(--body); max-width: 46em; }
@media (max-width: 820px) { .faq-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .faq-icon::before, .faq-icon::after { transition: none; } }
/* Home hero: two-tier headline */
.h1-sub { display: block; margin-top: .35em; font-size: .5em; font-weight: 500; line-height: 1.25; letter-spacing: 0; color: rgba(255, 255, 255, .88); }
.h1-sub::before { content: ""; display: block; width: 56px; height: 3px; margin: 0 auto .7em; border-radius: 3px; background: var(--grad-logo, var(--grad)); }
@media (max-width: 600px) { .h1-sub { font-size: .58em; } }
/* Home hero: supporting line sits below the buttons */
.hero .lede.hero-after { margin-top: 26px; font-size: 1rem; color: rgba(255,255,255,.8); }
@media (max-width: 600px) { .hero .lede.hero-after { margin-top: 20px; font-size: .9375rem; } }
/* home hero lede: more prominent */
.hero .lede { font-size: clamp(1.1875rem, 1.65vw, 1.5rem); font-weight: 500; line-height: 1.5; color: #fff; max-width: 34em; margin-top: 22px; text-shadow: 0 1px 2px rgba(0,0,0,.35), 0 2px 18px rgba(0,0,0,.5); }
/* stage icons (Operators: What happens first) */
.steps-icons li { display: flex; flex-direction: column; }
.steps-icons .step-icon { order: 0; width: 56px; height: 56px; color: var(--ink); }
.steps-icons li::before { order: 1; font-size: .8125rem; letter-spacing: .08em; color: var(--muted); margin: 20px 0 6px; }
.steps-icons h3 { order: 2; }
.steps-icons p { order: 3; }
/* chips on dark tiles (Government: Operator experience) */
.tcard-cta .chips li { background: rgba(255,255,255,.12); color: #fff; }
.tcard-cta .chips li::before { background: var(--magenta); }
/* stage icons in the Operators services explorer */
.explorer-svc .ex-tab { grid-template-columns: 48px minmax(0, 1fr) 20px; gap: 16px; }
.explorer-svc .step-icon { width: 48px; height: 48px; --ac: var(--lc); color: var(--muted); opacity: .7; transition: color .2s ease, opacity .2s ease; }
.explorer-svc .ex-tab:hover .step-icon, .explorer-svc .ex-tab[aria-expanded="true"] .step-icon { color: var(--ink); opacity: 1; }
.explorer-svc .ex-num { display: block; padding-top: 0; margin-bottom: 2px; }
/* home hero: no buttons on mobile */
@media (max-width: 700px) { .hero .btn-row { display: none; } }
