/* Benlira site styles. Brand rules: Benlira Blue #3E24FF is fixed (never tinted),
   light blues support it, pink is used sparingly, footer is white. */

@font-face { font-family: "Fraunces"; src: url("../fonts/Fraunces-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/Fraunces-Variable-Italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --blue: #3E24FF;
  --sky-50: #F4F7FF;
  --sky-100: #E6EDFF;
  --sky-200: #CDDCFF;
  --sky-300: #A8C2FF;
  --pink: #FFC9DB;
  --cream: #F4EFE6;
  --deep: #14123A;
  --mint: #CFEADB;
  --orange: #FF6A2B;
  --ink: #0B0B12;
  --ink-2: #2A2B38;
  --muted: #565868;
  --line: #E3E5EE;
  --white: #FFFFFF;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter Tight", "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 14px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --slant: -17deg;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue); color: var(--white); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--blue); color: var(--white); padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }

/* ---------- type */
.eyebrow {
  display: inline-flex; align-items: center; gap: .65em;
  font-size: .8125rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2);
  margin-bottom: 1.5rem;
}
.eyebrow::before { content: ""; width: 22px; height: 8px; background: var(--blue); transform: skewY(var(--slant)); border-radius: 1px; }
.display {
  font-family: var(--serif); font-size: clamp(2.75rem, 7.2vw, 6.75rem); line-height: 1; letter-spacing: -.025em;
  font-variation-settings: "opsz" 40, "SOFT" 0, "WONK" 0; text-wrap: balance;
}
.display em, .h2 em { font-style: italic; color: var(--blue); }
.h2 { font-family: var(--serif); font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: 1.05; letter-spacing: -.02em; font-variation-settings: "opsz" 40, "SOFT" 0, "WONK" 0; text-wrap: balance; }
.h3 { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.15; letter-spacing: -.01em; }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 40ch; font-weight: 300; }
.link { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; transition: text-decoration-thickness .2s; }
.link:hover { text-decoration-thickness: 2px; }

/* ---------- buttons */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: var(--h); padding: 0 1.4em; border-radius: 999px; border: 1.5px solid transparent;
  font: 500 .95rem/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: var(--white); color: var(--blue); }
.btn-light:hover { background: var(--sky-100); }
.btn-outline-light { color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.arrow { display: inline-block; transition: transform .3s var(--ease-out); margin-left: .4em; }

/* ---------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand img { width: 116px; height: auto; }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.primary-nav a { position: relative; display: block; padding: 10px 14px; font-size: .95rem; text-decoration: none; color: var(--ink-2); border-radius: 999px; transition: color .2s, background-color .2s; }
.primary-nav a:hover { color: var(--ink); background: var(--sky-50); }
.primary-nav a[aria-current="page"] { color: var(--blue); }
.primary-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 14px; height: 5px; margin-left: -7px; background: var(--blue); transform: skewY(var(--slant)); }
.header-cta { --h: 44px; }
.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid var(--line); background: var(--white); border-radius: 999px; cursor: pointer; }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 18px; height: 1.5px; background: var(--ink); margin: 0 auto; position: relative; transition: transform .3s var(--ease-out), background-color .2s; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -6px; } .menu-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav { padding: 8px var(--gutter) 28px; border-top: 1px solid var(--line); background: var(--white); }
.mobile-nav ul { list-style: none; margin: 0 0 20px; padding: 0; }
.mobile-nav a:not(.btn) { display: block; padding: 14px 0; font-family: var(--serif); font-size: 1.75rem; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-nav a[aria-current="page"] { color: var(--blue); }
.mobile-nav .btn { width: 100%; }

@media (max-width: 960px) {
  .primary-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
}

/* ---------- sections */
.section { padding: clamp(80px, 11vw, 160px) 0; }
.section-tight { padding: clamp(32px, 5vw, 64px) 0; }
.section-head { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: clamp(40px, 6vw, 80px); }
@media (min-width: 900px) { .section-head { grid-template-columns: 1.2fr 1fr; align-items: end; } }
.bg-sky { background: var(--sky-50); }

/* ---------- home hero */
.hero { padding: clamp(48px, 8vw, 120px) 0 clamp(64px, 9vw, 128px); overflow: hidden; }
.hero-grid { display: grid; gap: clamp(48px, 6vw, 80px); grid-template-columns: 1fr; align-items: end; }
@media (min-width: 1040px) { .hero-grid { grid-template-columns: 1.45fr 1fr; } }
.hero .display { max-width: 11ch; }
.hero-copy .lede { margin-top: 2rem; }
.hero-copy .btn-row { margin-top: 2.25rem; }
.hero-mark { position: relative; display: inline-block; }
.hero-mark .bar-under { position: absolute; left: 0; right: 4%; bottom: -.1em; height: .09em; background: var(--blue); transform-origin: left center; transform: skewY(-3deg) scaleX(0); transition: transform 1.1s 1s var(--ease-out); }
.is-ready .hero-mark .bar-under { transform: skewY(-3deg) scaleX(1); }

/* progress tracker card */
.tracker { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: 0 30px 60px -30px rgba(62,36,255,.25); position: relative; }
.tracker::before { content: ""; position: absolute; inset: -40px -60px auto auto; width: 220px; height: 220px; background: var(--sky-100); border-radius: 50%; z-index: -1; }
.tracker-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.tracker-label { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.tracker-title { font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; margin-bottom: 24px; }
.tracker-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.tracker-step { display: grid; grid-template-columns: 32px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.tracker-dot { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--sky-300); display: grid; place-items: center; font-size: .8rem; color: var(--muted); transition: background-color .5s, border-color .5s, color .5s; }
.tracker-step.is-done .tracker-dot { background: var(--blue); border-color: var(--blue); color: var(--white); }
.tracker-step.is-current .tracker-dot { border-color: var(--blue); color: var(--blue); box-shadow: 0 0 0 6px var(--sky-100); }
.tracker-name { font-weight: 500; }
.tracker-note { font-size: .82rem; color: var(--muted); }
.tracker-state { font-size: .78rem; color: var(--muted); }
.tracker-step.is-done .tracker-state { color: var(--blue); }
.tracker-foot { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: .85rem; color: var(--muted); }

/* ---------- marquee of accreditations */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 22px 0; }
.ticker-track { display: flex; gap: 56px; width: max-content; animation: ticker 40s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { font-family: var(--serif); font-size: clamp(1.4rem, 2.5vw, 2rem); white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; color: var(--ink-2); }
.ticker span::after { content: ""; width: 18px; height: 7px; background: var(--blue); transform: skewY(var(--slant)); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- service index rows (Wolff Olins style list) */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); counter-reset: svc; }
.svc-row { border-bottom: 1px solid var(--line); }
.svc-row a { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 8px 24px; padding: clamp(24px, 3vw, 36px) 0; text-decoration: none; isolation: isolate; }
@media (min-width: 900px) { .svc-row a { grid-template-columns: 80px 1.1fr 1fr 40px; align-items: center; } }
.svc-row a::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); background: var(--sky-50); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease-out); z-index: -1; }
.svc-row a:hover::before, .svc-row a:focus-visible::before { transform: scaleY(1); }
.svc-num { font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: .5em; }
.svc-name { font-family: var(--serif); font-size: clamp(1.75rem, 3.6vw, 3rem); line-height: 1.05; letter-spacing: -.015em; transition: color .3s, transform .45s var(--ease-out); }
.svc-row a:hover .svc-name { color: var(--blue); transform: translateX(8px); }
.svc-desc { grid-column: 2; color: var(--muted); max-width: 44ch; font-size: .98rem; }
@media (min-width: 900px) { .svc-desc { grid-column: auto; } }
.svc-go { display: none; }
@media (min-width: 900px) { .svc-go { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); transition: background-color .3s, border-color .3s, color .3s, transform .45s var(--ease-out); } }
.svc-row a:hover .svc-go { background: var(--blue); border-color: var(--blue); color: var(--white); transform: rotate(-45deg); }

/* ---------- root statement (blue) */
.root { background: var(--blue); color: var(--white); padding: clamp(96px, 13vw, 200px) 0; position: relative; overflow: hidden; }
.root-grid { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .root-grid { grid-template-columns: auto 1fr; gap: 96px; align-items: center; } }
.root-glyphs { font-family: var(--serif); font-size: clamp(3.5rem, 9vw, 6.5rem); line-height: 1; writing-mode: horizontal-tb; letter-spacing: .04em; }
@media (min-width: 960px) { .root-glyphs { writing-mode: vertical-rl; letter-spacing: .12em; } }
.root-glyphs span { display: inline-block; }
.root-quote { font-family: var(--serif); font-size: clamp(2rem, 4.4vw, 3.75rem); line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; margin-bottom: 1.5rem; }
.root-quote em { font-style: italic; }
.root p:not(.root-quote):not(.root-glyphs) { color: rgba(255,255,255,.86); max-width: 52ch; font-size: 1.05rem; }
.root .eyebrow { color: rgba(255,255,255,.9); }
.root .eyebrow::before { background: var(--white); }
.root-lines { position: absolute; inset: auto 0 0 0; height: 40%; pointer-events: none; opacity: .18; }

/* ---------- steps (how we work) */
.steps { display: grid; gap: 1px; grid-template-columns: 1fr; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--white); padding: 32px 28px 36px; min-height: 280px; display: flex; flex-direction: column; }
.step-num { font-family: var(--serif); font-size: 3.25rem; line-height: 1; color: var(--blue); margin-bottom: auto; padding-bottom: 40px; font-variation-settings: "opsz" 40, "SOFT" 0, "WONK" 0; }
.step h3 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: .96rem; }

/* ---------- roots (values) */
.roots { display: grid; gap: clamp(32px, 4vw, 56px) clamp(32px, 5vw, 72px); grid-template-columns: 1fr; }
@media (min-width: 800px) { .roots { grid-template-columns: repeat(2, 1fr); } }
.root-item { border-top: 1px solid var(--ink); padding-top: 24px; }
.root-item-num { font-size: .82rem; color: var(--muted); margin-bottom: 12px; display: block; }
.root-item h3 { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.15rem); line-height: 1.1; margin-bottom: 14px; letter-spacing: -.01em; }
.root-item p { color: var(--ink-2); max-width: 46ch; }

/* ---------- promise strip */
.promise { display: grid; gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; grid-template-columns: 1fr; }
@media (min-width: 800px) { .promise { grid-template-columns: repeat(3, 1fr); } }
.promise > div { background: var(--sky-50); padding: 32px 28px; }
.promise h3 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 8px; }
.promise p { color: var(--muted); font-size: .96rem; }

/* ---------- post cards */
.post-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color .3s, transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.post-card:hover { border-color: var(--sky-300); transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(62,36,255,.35); }
.post-card-link { display: flex; flex-direction: column; height: 100%; padding: 28px; text-decoration: none; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: .82rem; color: var(--muted); margin-bottom: 18px; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--sky-100); color: var(--blue); font-weight: 500; font-size: .75rem; letter-spacing: .02em; }
.tag-news { background: var(--pink); color: #8A1446; }
.tag-checklist { background: #FFE6D8; color: #8A3300; }
.post-card-title { font-family: var(--serif); font-size: 1.5rem; line-height: 1.18; margin-bottom: 12px; letter-spacing: -.01em; }
.post-card-summary { color: var(--muted); font-size: .96rem; margin-bottom: 24px; }
.post-card-more { margin-top: auto; font-weight: 500; font-size: .9rem; color: var(--blue); }
.post-card:hover .arrow, .featured:hover .arrow { transform: translateX(4px); }

/* ---------- page hero (inner pages) */
.page-hero { padding: clamp(56px, 9vw, 136px) 0 clamp(40px, 6vw, 80px); }
.page-hero .display { max-width: 15ch; margin-bottom: 2rem; }

/* ---------- services page */
.svc-detail { display: grid; gap: 32px 64px; grid-template-columns: 1fr; padding: clamp(56px, 8vw, 104px) 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
@media (min-width: 960px) { .svc-detail { grid-template-columns: 5fr 7fr; } }
.svc-detail-head { position: relative; }
@media (min-width: 960px) { .svc-detail-head { position: sticky; top: 120px; align-self: start; } }
.svc-detail .svc-num { display: block; margin-bottom: 18px; padding: 0; }
.svc-detail h2 { font-family: var(--serif); font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.04; letter-spacing: -.02em; margin-bottom: 20px; }
.svc-detail-head p { color: var(--ink-2); max-width: 40ch; }
.svc-cols { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .svc-cols { grid-template-columns: repeat(2, 1fr); } }
.svc-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.svc-card h3 { font-family: var(--serif); font-size: 1.35rem; margin-bottom: 8px; display: flex; align-items: baseline; gap: 10px; }
.svc-card p, .svc-card li { color: var(--muted); font-size: .95rem; }
.svc-card ul, .check-list { list-style: none; padding: 0; margin: 0; }
.svc-card li, .check-list li { position: relative; padding-left: 22px; margin-bottom: 6px; }
.svc-card li::before, .check-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 4px; background: var(--blue); transform: skewY(var(--slant)); }
.svc-card.wide { grid-column: 1 / -1; background: var(--sky-50); border-color: transparent; }
.svc-note { font-size: .88rem; color: var(--muted); margin-top: 20px; padding-left: 14px; border-left: 2px solid var(--sky-300); }
.svc-jump { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-jump a { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .9rem; transition: border-color .2s, color .2s; }
.svc-jump a:hover { border-color: var(--blue); color: var(--blue); }
.accr-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.accr-badges span { font-family: var(--serif); font-size: 1.15rem; padding: 6px 16px; border-radius: 999px; background: var(--sky-100); color: var(--blue); }

/* ---------- team */
.team-grid { display: grid; gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); grid-template-columns: 1fr; }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .team-grid { grid-template-columns: repeat(4, 1fr); } .person-lead { grid-column: span 2; } }
.person { background: var(--white); padding: 32px 28px 36px; display: flex; flex-direction: column; gap: 20px; min-height: 260px; transition: background-color .35s; }
.person:hover { background: var(--sky-50); }
.avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--sky-100); color: var(--blue); display: grid; place-items: center; font-family: var(--serif); font-size: 1.6rem; position: relative; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar::after { content: ""; position: absolute; left: 10%; right: -10%; bottom: 18%; height: 6px; background: var(--blue); transform: skewY(var(--slant)) scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.person:hover .avatar::after { transform: skewY(var(--slant)) scaleX(1); }
.person-name { font-family: var(--serif); font-size: 1.6rem; line-height: 1.15; letter-spacing: -.01em; }
.person-role { color: var(--muted); font-size: .92rem; margin-top: 6px; }
.person-tags { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.person-tags span { font-size: .75rem; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }
.person.is-lead { background: var(--sky-50); }
.person.is-lead .avatar { background: var(--blue); color: var(--white); }

/* ---------- about */
.about-split { display: grid; gap: 40px 80px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .about-split { grid-template-columns: 1fr 1fr; } }
.big-quote { font-family: var(--serif); font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.12; letter-spacing: -.015em; text-wrap: balance; }
.big-quote em { color: var(--blue); }
.name-card { border-radius: 20px; background: var(--sky-50); padding: clamp(32px, 5vw, 56px); display: grid; gap: 24px; }
.name-glyphs { font-family: var(--serif); font-size: clamp(3rem, 8vw, 6rem); line-height: 1; letter-spacing: .06em; }
.name-roman { font-size: .95rem; color: var(--muted); letter-spacing: .04em; }
.world-table { width: 100%; border-collapse: collapse; }
.world-table th, .world-table td { text-align: left; padding: 18px 0; border-top: 1px solid var(--line); vertical-align: top; }
.world-table th { font-weight: 500; width: 30%; padding-right: 24px; font-size: .95rem; }
.world-table td { color: var(--ink-2); }

/* ---------- contact */
.contact-grid { display: grid; gap: 48px 80px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.1fr; } }
.contact-facts { display: grid; gap: 28px; }
.contact-facts h2 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 6px; }
.contact-facts p, .contact-facts address { font-family: var(--serif); font-size: 1.5rem; line-height: 1.3; }
.form { display: grid; gap: 18px; background: var(--sky-50); border-radius: 20px; padding: clamp(24px, 4vw, 40px); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 500; font-size: .92rem; }
.field .hint { font-size: .82rem; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid var(--sky-200); background: var(--white); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(62,36,255,.15); }
.field [aria-invalid="true"] { border-color: #C0263A; }
.field .error { color: #B0182E; font-size: .85rem; }
.form-row { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form small { color: var(--muted); font-size: .82rem; }

/* ---------- resources */
.featured { display: grid; grid-template-columns: 1fr; border-radius: 20px; overflow: hidden; text-decoration: none; border: 1px solid var(--line); transition: box-shadow .45s var(--ease-out); }
.featured:hover { box-shadow: 0 30px 60px -32px rgba(62,36,255,.4); }
@media (min-width: 900px) { .featured { grid-template-columns: 1fr 1.2fr; } }
.featured-art { background: var(--blue); min-height: 220px; position: relative; overflow: hidden; }
.featured-art .bar { position: absolute; left: 12%; right: 12%; top: 50%; height: 34px; background: var(--white); transform: skewY(var(--slant)); transition: transform .8s var(--ease-out); }
.featured:hover .featured-art .bar { transform: skewY(var(--slant)) translateX(4%); }
.featured-body { padding: clamp(28px, 4vw, 52px); }
.featured-title { font-family: var(--serif); font-size: clamp(1.9rem, 3.5vw, 2.9rem); line-height: 1.06; letter-spacing: -.015em; margin-bottom: 16px; }
.featured .lede { margin-bottom: 24px; }
.library-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.library-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.search { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 16px; min-height: 48px; color: var(--muted); transition: border-color .2s; }
.search:focus-within { border-color: var(--blue); }
.search input { border: 0; outline: 0; font: inherit; font-size: .95rem; min-width: 200px; background: transparent; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font: 500 .9rem var(--sans); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.empty { padding: 48px 0; color: var(--muted); }
.post-card.is-hidden { display: none; }

/* ---------- article */
.article-head { padding-top: clamp(40px, 6vw, 96px); padding-bottom: clamp(32px, 4vw, 56px); }
.article-head > * { max-width: 980px; }
.back { display: inline-flex; gap: 8px; margin-bottom: 36px; font-size: .92rem; text-decoration: none; }
.article-title { font-family: var(--serif); font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.025em; margin-bottom: 24px; text-wrap: balance; font-variation-settings: "opsz" 40, "SOFT" 0, "WONK" 0; }
.article .lede { max-width: 56ch; }
.byline { margin-top: 20px; font-size: .9rem; color: var(--muted); }
.article-layout { display: grid; gap: 48px; grid-template-columns: 1fr; padding-bottom: clamp(64px, 8vw, 112px); }
@media (min-width: 1040px) { .article-layout { max-width: var(--wrap); grid-template-columns: minmax(0, 1fr) 300px; gap: 80px; } }
.article-aside { display: grid; gap: 16px; align-content: start; }
@media (min-width: 1040px) { .article-aside { position: sticky; top: 110px; align-self: start; } }
.aside-card { background: var(--sky-50); border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; }
.aside-title { font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; }
.aside-card p { font-size: .94rem; color: var(--ink-2); }
.prose { max-width: 68ch; font-size: 1.08rem; line-height: 1.75; color: var(--ink-2); }
.prose h2 { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.15; color: var(--ink); margin: 2.2em 0 .6em; letter-spacing: -.01em; scroll-margin-top: 100px; }
.prose h3 { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); margin: 1.8em 0 .5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.2em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--blue); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--blue); text-underline-offset: .2em; }
.prose blockquote { margin: 2em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--blue); font-family: var(--serif); font-size: 1.35rem; line-height: 1.4; color: var(--ink); }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.5em 0; }
.prose code { background: var(--sky-50); padding: 2px 6px; border-radius: 4px; font-size: .9em; }
.related { background: var(--sky-50); }
.related .h2 { margin-bottom: 36px; }

/* ---------- CTA band */
.cta-band { background: var(--blue); color: var(--white); padding: clamp(80px, 10vw, 140px) 0; }
.cta-inner { display: grid; gap: 40px 80px; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 960px) { .cta-inner { grid-template-columns: 1.3fr 1fr; } }
.cta-title { font-family: var(--serif); font-size: clamp(2.5rem, 6vw, 5.25rem); line-height: 1; letter-spacing: -.025em; text-wrap: balance; font-variation-settings: "opsz" 40, "SOFT" 0, "WONK" 0; }
.cta-side p { color: rgba(255,255,255,.88); margin-bottom: 28px; max-width: 42ch; }

/* ---------- footer (white, per brand guide) */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding-top: clamp(64px, 8vw, 104px); }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr .8fr; } }
.footer-motto { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.08; letter-spacing: -.015em; margin-bottom: 24px; }
.footer-h { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 14px; font-family: var(--sans); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a { display: inline-block; padding: 4px 0; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--blue); }
.footer-links a[aria-current] { color: var(--blue); }
.footer-reveal { position: relative; margin: clamp(40px, 6vw, 80px) auto 0; max-width: 1600px; aspect-ratio: 16 / 9; overflow: hidden; }
.footer-reveal video { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.footer-reveal-fallback { display: none; position: absolute; inset: 0; margin: auto; width: 60%; height: auto; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--line); font-size: .85rem; }
.footer-base p { margin: 0; }

/* ---------- motion */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-word > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 60ms + 80ms); }
.is-ready .split-word > span, [data-split].is-in .split-word > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .split-word > span { transform: none; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; }
  .footer-reveal video { display: none; }
  .footer-reveal-fallback { display: block; }
}

@media print {
  .site-header, .site-footer, .article-aside, .related, .cta-band, .back { display: none !important; }
  .prose { max-width: none; color: #000; }
  body { font-size: 11pt; }
}


/* =========================================================
   v2: wider palette, colour blocks (Wolff Olins / Stellar cues)
   ========================================================= */
.c-blue { background: var(--blue); color: var(--white); }
.c-ink { background: var(--deep); color: var(--white); }
.c-sky { background: var(--sky-200); color: var(--ink); }
.c-cream { background: var(--cream); color: var(--ink); }
.c-pink { background: var(--pink); color: var(--ink); }
.c-orange { background: var(--orange); color: var(--ink); }
.c-mint { background: var(--mint); color: var(--ink); }
.bg-cream { background: var(--cream); }

h3, .h3, .tile-kicker, .svc-card h3, .step h3 { font-family: var(--sans); }

/* bento of services on home */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .bento { grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(260px, auto); } .tile-xl { grid-row: span 2; } }
.tile { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 32px; border-radius: 22px; text-decoration: none; overflow: hidden; min-height: 260px; isolation: isolate; transition: transform .5s var(--ease-out); }
.tile:hover { transform: translateY(-6px); }
.tile-blue { background: var(--blue); color: var(--white); }
.tile-ink { background: var(--deep); color: var(--white); }
.tile-cream { background: var(--cream); }
.tile-sky { background: var(--sky-200); }
.tile-pink { background: var(--pink); }
.tile-num { font-size: .8rem; font-variant-numeric: tabular-nums; opacity: .7; }
.tile-kicker { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.tile-title { font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.08; letter-spacing: -.015em; max-width: 18ch; margin-top: auto; }
.tile-xl .tile-title { font-size: clamp(2.2rem, 4vw, 3.6rem); max-width: 12ch; }
.tile-chips, .svc-panel-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tile-chips span, .svc-panel-chips span { padding: 6px 14px; border-radius: 999px; border: 1px solid currentColor; font-size: .85rem; font-weight: 500; }
.tile-go { position: absolute; top: 24px; right: 24px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.18); transition: transform .45s var(--ease-out), background-color .3s; }
.tile-cream .tile-go, .tile-sky .tile-go, .tile-pink .tile-go { background: rgba(11,11,18,.07); }
.tile:hover .tile-go { transform: rotate(-45deg); background: var(--orange); color: var(--ink); }
.tile-xl::after { content: ""; position: absolute; right: -10%; bottom: 18%; width: 70%; height: 46px; background: var(--white); opacity: .14; transform: skewY(var(--slant)); z-index: -1; transition: transform .8s var(--ease-out); }
.tile-xl:hover::after { transform: skewY(var(--slant)) translateX(-6%); }
.tile-art { width: 120px; color: var(--orange); }

/* figures band */
.figures { background: var(--deep); color: var(--white); padding: clamp(64px, 8vw, 112px) 0; }
.figures-grid { display: grid; gap: 40px 32px; grid-template-columns: 1fr 1fr; }
@media (min-width: 960px) { .figures-grid { grid-template-columns: repeat(4, 1fr); } }
.figures-grid > div { border-top: 1px solid rgba(255,255,255,.2); padding-top: 20px; }
.fig-num { display: block; font-family: var(--serif); font-size: clamp(3rem, 6vw, 5rem); line-height: 1; letter-spacing: -.03em; margin-bottom: 12px; color: var(--sky-200); }
.figures-grid > div:nth-child(2) .fig-num { color: var(--pink); }
.figures-grid > div:nth-child(3) .fig-num { color: var(--orange); }
.figures-grid > div:nth-child(4) .fig-num { color: var(--mint); }
.fig-label { font-size: .95rem; color: rgba(255,255,255,.78); max-width: 26ch; display: block; }

/* promise colours */
.promise { background: transparent; gap: 16px; }
.promise > div { border-radius: var(--radius); }
.promise .promise-a { background: var(--cream); }
.promise .promise-b { background: var(--sky-100); }
.promise .promise-c { background: var(--pink); }
.promise h3 { font-family: var(--serif); }

/* services page: colour-block panels */
.svc-jump .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.svc-jump .dot.c-cream { box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.svc-block { padding: clamp(32px, 4vw, 56px) 0; scroll-margin-top: 80px; }
.svc-block-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .svc-block-grid { grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; } .svc-panel { position: sticky; top: 100px; } }
.svc-panel { position: relative; border-radius: 24px; padding: clamp(28px, 4vw, 48px); overflow: hidden; display: flex; flex-direction: column; gap: 18px; min-height: 360px; }
.svc-panel-num { font-family: var(--serif); font-size: clamp(4rem, 8vw, 6.5rem); line-height: .9; letter-spacing: -.04em; opacity: .9; }
.svc-panel-title { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.04; letter-spacing: -.02em; }
.svc-panel p { max-width: 42ch; opacity: .9; }
.svc-panel-art { width: 200px; margin-top: auto; color: var(--orange); }
.svc-panel.c-blue::after, .svc-panel.c-ink::after { content: ""; position: absolute; right: -20px; bottom: 40px; width: 55%; height: 34px; background: var(--white); opacity: .12; transform: skewY(var(--slant)); }
.svc-body { padding-top: 8px; }
.svc-card { background: var(--white); transition: border-color .3s, transform .45s var(--ease-out); }
.svc-card:hover { border-color: var(--sky-300); transform: translateY(-3px); }
.svc-card h3 { font-size: 1.05rem; font-weight: 600; }
.svc-sub { font-family: var(--serif); font-size: 1.6rem; margin: 48px 0 20px; }
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .process { grid-template-columns: repeat(3, 1fr); } }
.process li { display: grid; gap: 4px; padding: 20px; border-radius: var(--radius); background: var(--sky-50); border: 1px solid var(--sky-100); }
.process strong { font-weight: 600; }
.process li > span:not(.process-n) { color: var(--muted); font-size: .92rem; }
.process-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: var(--white); font-size: .82rem; font-weight: 600; margin-bottom: 8px; }
.process-4 { margin-top: 20px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .process-4 { grid-template-columns: repeat(4, 1fr); } }
.process-4 li { background: var(--sky-100); align-items: center; }
.process-4 li:last-child { background: var(--mint); border-color: var(--mint); }
.licence-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .licence-grid { grid-template-columns: repeat(3, 1fr); } }
.licence-grid li { padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); display: grid; gap: 2px; transition: background-color .3s, border-color .3s; }
.licence-grid li:hover { background: var(--cream); border-color: var(--cream); }
.licence-grid strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
.licence-grid span { font-size: .82rem; color: var(--muted); line-height: 1.4; }
.svc-note { margin-top: 24px; }

/* team: colour cards, one continuous grid */
.team-grid { gap: 16px; background: transparent; border: 0; }
.person { border-radius: 20px; min-height: 280px; justify-content: space-between; transition: transform .45s var(--ease-out); }
.person:hover { transform: translateY(-4px); }
.person.c-sky:hover { background: var(--sky-200); } .person.c-cream:hover { background: var(--cream); } .person.c-pink:hover { background: var(--pink); }
.person .avatar { width: 88px; height: 88px; font-size: 1.9rem; background: rgba(255,255,255,.65); color: var(--ink); }
.person.c-blue .avatar, .person.c-ink .avatar { background: rgba(255,255,255,.14); color: var(--white); }
.person .avatar::after { background: var(--orange); }
.person-name { font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 1.85rem); line-height: 1.12; }
.person-lead .person-name { font-size: clamp(2rem, 3.2vw, 2.8rem); }
.person-role { color: inherit; opacity: .75; font-size: .92rem; }
.person-lead { min-height: 340px; }

/* CTA band: deep ink with blue bar accent */
.cta-band { background: var(--deep); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -5%; top: 30%; width: 45%; height: 60px; background: var(--blue); transform: skewY(var(--slant)); }
.cta-inner { position: relative; }
.cta-band .btn-light:hover { background: var(--orange); color: var(--ink); }

/* v3: hero is type-only; tracker lives in its own section */
.hero .display { max-width: 13ch; }
.hero .lede { max-width: 46ch; }
.track-grid { display: grid; gap: 48px 96px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 960px) { .track-grid { grid-template-columns: 1fr 1fr; } }
.track-grid .tracker { max-width: 520px; width: 100%; justify-self: end; }
.track-grid .tracker::before { background: var(--pink); }
@media (min-width: 1000px) { .svc-panel { position: sticky; top: 100px; } }
@media (max-width: 999px) { .svc-panel { top: auto; } }

/* v3: scroll-driven footer logo (replaces the video) */
.footer-reveal { aspect-ratio: auto; overflow: visible; margin-top: clamp(56px, 8vw, 120px); padding-bottom: clamp(24px, 3vw, 40px); max-width: 1600px; }
.footer-logo { width: 100%; height: auto; overflow: visible; }
.footer-logo [data-bar], .footer-logo [data-letters] { will-change: transform; }
.track-section { overflow: hidden; }

/* v4: Wolff Olins-style footer. One viewport tall: links on top, the big logo below, header hides */
.site-header { transition: border-color .3s, transform .5s var(--ease-out); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-footer { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding-top: clamp(40px, 6vw, 72px); }
.site-footer > .wrap:first-child { flex: 0 0 auto; }
.footer-reveal { margin-top: auto; padding-top: clamp(32px, 4vw, 56px); padding-bottom: 8px; }
.footer-logo-link { display: block; border-radius: 8px; }
.footer-logo { display: block; width: 100%; height: auto; max-height: calc(100svh - 440px); }
.footer-base { align-items: center; }
.footer-root { flex: 1 1 auto; text-align: center; }
.to-top { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--white); color: var(--ink); font: 500 .9rem var(--sans); cursor: pointer; transition: background-color .2s, color .2s; }
.to-top:hover { background: var(--ink); color: var(--white); }
.to-top span { transition: transform .3s var(--ease-out); }
.to-top:hover span { transform: translateY(-3px); }
@media (max-width: 719px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-lead { grid-column: 1 / -1; }
  .footer-root { order: 3; flex-basis: 100%; text-align: left; }
  .footer-logo { max-height: none; }
}

/* v4: tiles */
.tile-orange { background: var(--orange); color: var(--ink); }
.tile-orange .tile-go { background: rgba(11,11,18,.1); }
.tile-orange:hover .tile-go { background: var(--ink); color: var(--white); }
@media (min-width: 1080px) { .tile-wide { grid-column: span 2; } }

/* v4: team cards keep their colour on hover */
.person.c-blue, .person.c-blue:hover { background: var(--blue); color: var(--white); }
.person.c-ink, .person.c-ink:hover { background: var(--deep); color: var(--white); }
.person.c-sky, .person.c-sky:hover { background: var(--sky-200); color: var(--ink); }
.person.c-cream, .person.c-cream:hover { background: var(--cream); color: var(--ink); }
.person.c-pink, .person.c-pink:hover { background: var(--pink); color: var(--ink); }
.person.c-orange, .person.c-orange:hover { background: var(--orange); color: var(--ink); }
.person:hover { box-shadow: 0 24px 48px -28px rgba(20,18,58,.45); }
.optional { font-weight: 400; color: var(--muted); font-size: .85rem; }
.form-req { font-size: .85rem; color: var(--muted); margin: 0; }
.req, .form-req span { color: #B0182E; }
/* footer fits exactly one screen on desktop: logo takes whatever space is left */
@media (min-width: 720px) and (min-height: 560px) {
  .site-footer { height: 100vh; height: 100svh; min-height: 0; }
  .footer-reveal { flex: 1 1 auto; min-height: 0; display: flex; align-items: flex-end; }
  .footer-logo-link { width: 100%; height: 100%; }
  .footer-logo { width: 100%; height: 100%; max-height: none; }
}
.licence-grid li { min-width: 0; }
.licence-grid strong { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 480px) { .licence-grid strong { font-size: 1.05rem; } .licence-grid li { padding: 14px; } }

/* =========================================================
   v5: gradients, grain texture, glass
   ========================================================= */
:root {
  --grain-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 -.18'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --sheen: radial-gradient(120% 90% at 100% 0%, rgba(255,255,255,.28), rgba(255,255,255,0) 55%);
  --glow-blue: radial-gradient(60% 80% at 85% 10%, rgba(62,36,255,.55), rgba(62,36,255,0) 70%);
}

/* glass header */
.site-header { background: rgba(255,255,255,.62); backdrop-filter: saturate(1.8) blur(18px); -webkit-backdrop-filter: saturate(1.8) blur(18px); }
.site-header.is-scrolled { border-bottom-color: rgba(20,18,58,.08); box-shadow: 0 10px 30px -22px rgba(20,18,58,.35); }

/* hero + page heroes: soft colour aura with grain */
.hero, .page-hero { position: relative; isolation: isolate; }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    var(--grain-dark),
    radial-gradient(38% 55% at 88% 18%, rgba(62,36,255,.20), rgba(62,36,255,0) 70%),
    radial-gradient(30% 45% at 72% 62%, rgba(255,201,219,.55), rgba(255,201,219,0) 70%),
    radial-gradient(35% 50% at 98% 70%, rgba(205,220,255,.8), rgba(205,220,255,0) 70%);
}
.page-hero::before { opacity: .8; }
@media (max-width: 760px) { .hero::before, .page-hero::before { background: var(--grain-dark), radial-gradient(70% 40% at 90% 8%, rgba(62,36,255,.16), rgba(62,36,255,0) 70%), radial-gradient(60% 35% at 10% 95%, rgba(255,201,219,.5), rgba(255,201,219,0) 70%); } }

/* colour blocks get a sheen and grain */
.tile-blue, .svc-panel.c-blue, .person.c-blue, .person.c-blue:hover { background: var(--grain-light), var(--sheen), var(--blue); }
.tile-ink, .svc-panel.c-ink, .person.c-ink, .person.c-ink:hover { background: var(--grain-light), var(--glow-blue), var(--deep); }
.tile-cream, .svc-panel.c-cream, .person.c-cream, .person.c-cream:hover { background: var(--grain-dark), radial-gradient(90% 80% at 100% 0%, rgba(255,201,219,.45), rgba(255,201,219,0) 60%), var(--cream); }
.tile-sky, .svc-panel.c-sky, .person.c-sky, .person.c-sky:hover { background: var(--grain-dark), var(--sheen), linear-gradient(160deg, #DCE6FF, var(--sky-200)); }
.tile-pink, .svc-panel.c-pink, .person.c-pink, .person.c-pink:hover { background: var(--grain-dark), var(--sheen), linear-gradient(160deg, #FFD9E6, var(--pink)); }
.tile-orange, .svc-panel.c-orange, .person.c-orange, .person.c-orange:hover { background: var(--grain-dark), radial-gradient(100% 90% at 100% 0%, rgba(255,214,120,.55), rgba(255,214,120,0) 60%), var(--orange); }

/* glass chips on colour blocks */
.tile-chips span, .svc-panel-chips span { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tile-sky .tile-chips span { background: rgba(255,255,255,.45); border-color: rgba(11,11,18,.18); }
.tile-go { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.person .avatar { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.55); }

/* dark bands: glow + grain */
.figures { background: var(--grain-light), radial-gradient(50% 120% at 10% 0%, rgba(62,36,255,.55), rgba(62,36,255,0) 70%), radial-gradient(40% 100% at 100% 100%, rgba(255,106,43,.22), rgba(255,106,43,0) 70%), var(--deep); }
.cta-band { background: var(--grain-light), radial-gradient(60% 90% at 90% 20%, rgba(62,36,255,.6), rgba(62,36,255,0) 70%), var(--deep); }

/* tracker section: glass card over colour */
.track-section { background: var(--grain-dark), radial-gradient(35% 60% at 82% 40%, rgba(62,36,255,.22), rgba(62,36,255,0) 70%), radial-gradient(30% 50% at 68% 80%, rgba(255,201,219,.7), rgba(255,201,219,0) 70%), radial-gradient(30% 45% at 95% 85%, rgba(255,106,43,.25), rgba(255,106,43,0) 70%); }
.track-grid .tracker { background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.75); backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5); box-shadow: 0 30px 60px -30px rgba(20,18,58,.35), inset 0 1px 0 rgba(255,255,255,.8); }
.track-grid .tracker::before { display: none; }
.track-grid .tracker-step { border-top-color: rgba(20,18,58,.08); }

/* resources: featured art and glass aside */
.featured-art { background: var(--grain-light), var(--sheen), var(--blue); }
.aside-card { background: rgba(244,247,255,.7); border: 1px solid var(--sky-100); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

/* contact form as frosted panel */
.contact-grid { position: relative; }
.form { background: rgba(244,247,255,.7); border: 1px solid rgba(205,220,255,.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 30px 60px -36px rgba(62,36,255,.35); }

/* v6: no grain (looked pixelated); smooth gradients and glass only */
:root { --grain-dark: linear-gradient(transparent, transparent); --grain-light: linear-gradient(transparent, transparent); }

/* split headings: room for descenders (y, g, p) and italic overhang so nothing is clipped */
.split-word { padding: 0 .06em .24em 0; margin: 0 -.06em -.24em 0; }

/* v7: ticker lists services, each with its service colour as a round marker */
.ticker span { gap: 14px; margin-right: 44px; }
.ticker span::after { content: none; }
.ticker span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; flex: 0 0 auto; background: var(--dot, var(--blue)); }
.ticker-track { gap: 0; }
.ticker .t-blue { --dot: var(--blue); }
.ticker .t-cream { --dot: #D8C3A0; }
.ticker .t-ink { --dot: var(--deep); }
.ticker .t-sky { --dot: #9DB8FF; }
.ticker .t-pink { --dot: #FF9CC0; }
.ticker .t-orange { --dot: var(--orange); }

/* v8: hero carries a full statement of what we do, so it runs smaller and wider than a slogan */
.hero .display.hero-statement { font-size: clamp(2.1rem, 4.6vw, 4.4rem); line-height: 1.06; max-width: 24ch; letter-spacing: -.02em; }
.hero .lede { max-width: 52ch; }

/* =========================================================
   v9: readability + one-screen hero + phone polish
   ========================================================= */
/* Fraunces: use a low optical size (sturdier hairlines) and a slightly heavier weight everywhere */
body { font-variation-settings: "opsz" 32, "SOFT" 0, "WONK" 0; }
.display, .h2, .h3, .tile-title, .svc-panel-title, .svc-panel-num, .svc-sub, .person-name, .root-item h3,
.post-card-title, .featured-title, .article-title, .cta-title, .footer-motto, .fig-num, .big-quote,
.name-glyphs, .tracker-title, .step-num, .promise h3, .licence-grid strong, .contact-facts p,
.contact-facts address, .prose h2, .prose h3, .prose blockquote, .aside-title, .ticker span, .mobile-nav a:not(.btn) {
  font-weight: 460;
}
.display em, .h2 em, .tile-title em { font-weight: 470; }

/* split headings: room above and below so ascenders and descenders are never clipped */
.split-word { padding: .14em .06em .24em 0; margin: -.14em -.06em -.24em 0; }

/* hero: the whole statement, lede and buttons fit in the first screen on any device */
.hero { min-height: calc(100vh - 76px); min-height: calc(100svh - 76px); display: flex; align-items: center; padding: clamp(20px, 5svh, 72px) 0 clamp(24px, 6svh, 80px); }
.hero > .wrap { width: 100%; }
.hero .eyebrow { margin-bottom: clamp(12px, 2.4svh, 24px); }
.hero .display.hero-statement { font-size: clamp(1.5rem, min(3.9vw, 5.6svh), 3.8rem); line-height: 1.1; max-width: 26ch; }
.hero-copy .lede { margin-top: clamp(14px, 2.6svh, 28px); font-size: clamp(1rem, min(1.5vw, 2.3svh), 1.25rem); }
.hero-copy .btn-row { margin-top: clamp(16px, 3svh, 32px); }
@media (max-width: 640px) {
  .header-inner { height: 64px; }
  .hero { min-height: calc(100svh - 64px); }
  .hero .display.hero-statement { font-size: clamp(1.45rem, min(6.6vw, 4.1svh), 2rem); line-height: 1.14; }
  .hero .btn-row .btn { flex: 1 1 auto; }
}

/* phone: services strip */
@media (max-width: 640px) {
  .ticker { padding: 14px 0; }
  .ticker span { font-size: 1.05rem; gap: 10px; margin-right: 28px; }
  .ticker span::before { width: 10px; height: 10px; }
  .ticker-track { animation-duration: 28s; }
}

/* phone footer: fits one screen; links above, logo below, so the line-to-dot animation is seen in full */
@media (max-width: 719px) {
  .site-footer { min-height: 100svh; padding-top: 28px; }
  .footer-lead { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px 18px; font-size: .9rem; line-height: 1.5; }
  .footer-grid p { margin-bottom: .4em; }
  .footer-h { margin-bottom: 8px; font-size: .7rem; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-links { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 2px 22px; }
  .footer-links a { padding: 6px 0; }
  .footer-reveal { padding-top: 32px; padding-bottom: 12px; }
  .footer-base { padding-top: 16px; padding-bottom: 20px; font-size: .8rem; gap: 10px 16px; }
  .to-top { min-height: 40px; padding: 0 14px; }
}
@media (max-width: 719px) {
  .site-footer { min-height: 0; }
  .footer-reveal { margin-top: 0; padding-top: 72px; }
}


/* =========================================================
   v10: Stellar-inspired composition. Plain white canvas, centred statements,
   generous white space, deep navy bands; one colour per service, used everywhere.
   ========================================================= */
:root {
  --svc-arch: #DCC9A8;   /* architecture & planning: beige */
  --svc-accr: #3E24FF;   /* accreditation: Benlira Blue */
  --svc-legal: #14123A;  /* legal & licensing: deep navy */
  --svc-tpa: #A6BFFF;    /* TPA support: light blue */
  --svc-train: #FFB0CB;  /* staff training: pink */
  --svc-pi: #FF6A2B;     /* PI insurance: orange */
  --soft-sheen: linear-gradient(155deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 55%);
}

/* plain white canvas: drop the colour auras behind headlines */
.hero::before, .page-hero::before { content: none; }

/* more white space */
.section { padding: clamp(104px, 13vw, 200px) 0; }
.section-tight { padding: clamp(48px, 6vw, 88px) 0; }
.page-hero { padding: clamp(80px, 12vw, 176px) 0 clamp(56px, 7vw, 104px); }
.section-head { margin-bottom: clamp(56px, 7vw, 104px); }

/* centred statements, like Stellar */
.hero-copy, .page-hero .wrap { text-align: center; }
.hero .display.hero-statement, .page-hero .display { margin-left: auto; margin-right: auto; }
.hero .lede, .page-hero .lede { margin-left: auto; margin-right: auto; }
.hero .btn-row, .svc-jump { justify-content: center; }
.section-head { grid-template-columns: 1fr !important; justify-items: center; text-align: center; gap: 20px; }
.section-head .h2 { max-width: 20ch; }
.section-head .lede { max-width: 50ch; margin: 0 auto; }
.section-head .btn { margin-top: 8px; }
.page-hero .display { max-width: 18ch; }

/* deep navy band with a centred title and divided key figures */
.figures { background: var(--deep); padding: clamp(96px, 12vw, 176px) 0; }
.figures-head { text-align: center; margin-bottom: clamp(48px, 6vw, 88px); }
.figures-head .h2 { color: var(--white); max-width: 18ch; margin: 0 auto; }
.figures-head .h2 em { color: var(--sky-300); }
.eyebrow-light { color: rgba(255,255,255,.75); }
.eyebrow-light::before { background: var(--white); }
.figures-grid { gap: 0; text-align: center; }
.figures-grid > div { border-top: 0; padding: 36px 24px; border-left: 1px solid rgba(255,255,255,.18); }
.figures-grid > div:first-child { border-left: 0; }
.fig-label { margin: 0 auto; }
.fig-num, .figures-grid > div:nth-child(n) .fig-num { color: var(--white); }
@media (max-width: 959px) {
  .figures-grid > div { border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .figures-grid > div:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.18); }
  .figures-grid > div:nth-child(-n+2) { border-top: 0; }
}

/* one colour per service, matching the coloured dots, with a light gradient */
.tile-cream, .svc-panel.c-cream { background: var(--soft-sheen), var(--svc-arch); color: var(--ink); }
.tile-blue, .svc-panel.c-blue { background: var(--soft-sheen), var(--svc-accr); color: var(--white); }
.tile-ink, .svc-panel.c-ink { background: var(--soft-sheen), var(--svc-legal); color: var(--white); }
.tile-sky, .svc-panel.c-sky { background: var(--soft-sheen), var(--svc-tpa); color: var(--ink); }
.tile-pink, .svc-panel.c-pink { background: var(--soft-sheen), var(--svc-train); color: var(--ink); }
.tile-orange, .svc-panel.c-orange { background: var(--soft-sheen), var(--svc-pi); color: var(--ink); }
.ticker .t-cream, .svc-jump .dot.c-cream { --dot: var(--svc-arch); background: var(--svc-arch); }
.ticker .t-blue { --dot: var(--svc-accr); }
.ticker .t-ink { --dot: var(--svc-legal); }
.ticker .t-sky { --dot: var(--svc-tpa); }
.ticker .t-pink { --dot: var(--svc-train); }
.ticker .t-orange { --dot: var(--svc-pi); }
.ticker span { background: none !important; }
.svc-jump .dot.c-blue { background: var(--svc-accr); }
.svc-jump .dot.c-ink { background: var(--svc-legal); }
.svc-jump .dot.c-sky { background: var(--svc-tpa); }
.svc-jump .dot.c-pink { background: var(--svc-train); }
.svc-jump .dot.c-orange { background: var(--svc-pi); }
.svc-block { padding: clamp(48px, 6vw, 88px) 0; }

/* tracker section: calmer backdrop */
.track-section { background: radial-gradient(40% 60% at 80% 45%, rgba(166,191,255,.35), rgba(166,191,255,0) 70%), radial-gradient(30% 45% at 66% 80%, rgba(255,176,203,.3), rgba(255,176,203,0) 70%), var(--white); }

/* contact page facts stay left-aligned beside the form */
.contact-grid { text-align: left; }
.tile-xl .tile-title { font-size: clamp(2rem, 3vw, 2.9rem); max-width: 14ch; }
