/* Accelerayt site styles.
   One family (Schibsted Grotesk), navy and brand yellow, and the three bars
   from the logo as the single graphic device. Tokens first, then layout,
   components and page sections. */

:root {
  --navy: #0d2b4e;
  --navy-2: #143a66;
  --ink: #13213a;
  --slate: #506078;
  --slate-2: #6b7a90;
  --line: #d7dfe9;
  --mist: #edf2f7;
  --paper: #ffffff;
  --yellow: #f7c51e;
  --yellow-2: #fbe08a;
  --yellow-ink: #5c4300;
  --on-navy: #ffffff;
  --on-navy-2: #c3d0e0;
  --success: #12805c;
  --error: #c62828;

  --bg: var(--paper);
  --surface: var(--mist);

  --font: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --max: 1200px;
  --gutter: 1rem;
  --r-sm: 6px;
  --r: 14px;
  --r-lg: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

[data-theme="dark"] {
  --navy: #0e2747;
  --navy-2: #173a63;
  --ink: #e8eef6;
  --slate: #a9b7c9;
  --slate-2: #8d9cb1;
  --line: #24395a;
  --mist: #0f2340;
  --paper: #0a1a30;
  --yellow-ink: #f7c51e;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-size-adjust: 100%; }
body { font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-weight: 800; line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); letter-spacing: -.04em; line-height: 1.02; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); }
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -.015em; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; letter-spacing: 0; }
p { text-wrap: pretty; }

.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-link { position: absolute; top: -60px; left: 1rem; z-index: 200; background: var(--yellow); color: #13213a; padding: .6rem 1rem; border-radius: 0 0 var(--r-sm) var(--r-sm); font-weight: 700; }
.skip-link:focus { top: 0; }

/* Layout */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 640px) { :root { --gutter: 2rem; } }
.section { padding: 4.5rem 0; }
@media (min-width: 900px) { .section { padding: 6.5rem 0; } }
.section--alt { background: var(--mist); }
.section--tight { padding: 2.75rem 0; }
.section-head { max-width: 44rem; margin-bottom: 3rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: 1rem; }
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--slate); max-width: 40rem; }
.muted { color: var(--slate); }
.small { font-size: .9rem; }

.eyebrow { display: block; font-size: 1rem; font-weight: 700; color: var(--yellow-ink); margin-bottom: .9rem; letter-spacing: 0; }

.grid { display: grid; gap: 2.5rem 2rem; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.split { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.15fr .85fr; gap: 5rem; } .split--even { grid-template-columns: 1fr 1fr; } }

/* Heading on the left, content on the right (wide screens) */
.columns { display: grid; gap: 2rem; }
@media (min-width: 900px) { .columns { grid-template-columns: 4fr 8fr; gap: 4rem; } }
.columns > header h2 { margin-bottom: 1rem; }
@media (min-width: 900px) { .columns > header { position: sticky; top: 7rem; align-self: start; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.5rem; }
.brand img { height: 24px; width: auto; }
@media (min-width: 640px) { .brand img { height: 27px; } }
.logo-dark { display: none !important; }
[data-theme="dark"] .site-header .logo-light { display: none !important; }
[data-theme="dark"] .site-header .logo-dark { display: block !important; }
.site-footer .logo-light { display: none !important; }
.site-footer .logo-dark { display: block !important; }

.nav-menu { display: flex; align-items: center; gap: 2.25rem; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { font-weight: 600; font-size: .98rem; color: var(--ink); padding: .4rem 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { border-bottom-color: var(--line); }
.nav-links a[aria-current="page"] { border-bottom-color: var(--yellow); }
.menu-toggle { display: none; background: none; border: 0; color: var(--ink); padding: .5rem; cursor: pointer; border-radius: var(--r-sm); }

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 1.25rem;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem var(--gutter) 1.5rem;
    display: none;
  }
  .nav-menu.is-open { display: flex; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { display: block; padding: 1rem 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .nav-links a[aria-current="page"] { border-bottom-color: var(--line); box-shadow: inset 3px 0 0 var(--yellow); padding-left: .75rem; }
  .nav-menu .btn { width: 100%; }
}

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 3rem; padding: 0 1.35rem;
  border-radius: var(--r-sm); border: 1.5px solid transparent; font-weight: 700; font-size: 1rem; line-height: 1;
  cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s;
}
.btn:disabled { opacity: .6; cursor: progress; }
.btn-primary { background: var(--yellow); color: #13213a; }
.btn-primary:hover { background: #ffd43b; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.on-navy .btn-outline, .hero .btn-outline, .page-hero .btn-outline, .cta-band .btn-outline, .panel .btn-outline { border-color: rgba(255, 255, 255, .55); color: var(--on-navy); }
.on-navy .btn-outline:hover, .hero .btn-outline:hover, .page-hero .btn-outline:hover, .cta-band .btn-outline:hover, .panel .btn-outline:hover { background: var(--on-navy); color: #0d2b4e; border-color: var(--on-navy); }
.btn-lg { min-height: 3.5rem; padding: 0 1.75rem; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 480px) { .btn-row .btn { flex: 1 1 100%; } }

.text-link { font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.text-link:hover { text-decoration-color: var(--ink); }

/* Home hero */
.hero { background: var(--navy); color: var(--on-navy); overflow: hidden; }
.hero-grid { display: grid; gap: 2.5rem; align-items: end; padding-top: 3.5rem; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 7fr 5fr; gap: 3rem; padding-top: 5.5rem; min-height: 620px; } }
.hero-copy { padding-bottom: 0; }
@media (min-width: 900px) { .hero-copy { padding-bottom: 5.5rem; align-self: center; } }
.hero h1 { color: #fff; margin-bottom: 1.5rem; max-width: 14ch; }
.hero-lead { font-size: 1.25rem; line-height: 1.55; color: var(--on-navy-2); max-width: 34rem; margin-bottom: 2.25rem; }
.hero-note { margin-top: 1.5rem; color: var(--on-navy-2); font-size: .95rem; }

.hero-art { position: relative; height: 380px; max-width: 460px; width: 100%; margin: 0 auto; }
@media (min-width: 900px) { .hero-art { height: 560px; max-width: none; } }
.hero-bars { position: absolute; inset: 9% 4% 0 10%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7%; }
.hero-bars span { border-radius: 8px 8px 0 0; background: var(--yellow); transform-origin: bottom; }
.hero-bars span:nth-child(2) { background: var(--yellow-2); }
.hero-bars span:nth-child(3) { background: #fdf1c9; }
.hero-art img { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); height: 96%; width: auto; max-width: none; }

.js .hero-bars span { animation: bar-rise .9s var(--ease) both; }
.js .hero-bars span:nth-child(2) { animation-delay: .09s; }
.js .hero-bars span:nth-child(3) { animation-delay: .18s; }
.js .hero-art img { animation: portrait-in .8s var(--ease) .3s both; }
@keyframes bar-rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes portrait-in { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* Inner page hero */
.page-hero { background: var(--navy); color: var(--on-navy); padding: 3.5rem 0 4rem; }
@media (min-width: 900px) { .page-hero { padding: 5rem 0 5.5rem; } }
.page-hero h1 { color: #fff; max-width: 20ch; margin-bottom: 1.25rem; font-size: clamp(2.2rem, 4.8vw, 3.8rem); }
.page-hero .lead { color: var(--on-navy-2); max-width: 42rem; }
.page-hero .btn-row { margin-top: 2.25rem; }
.page-hero .eyebrow { color: var(--yellow); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .45rem; font-size: .92rem; color: var(--on-navy-2); margin-bottom: 1.75rem; }
.breadcrumb a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: '/'; margin-right: .45rem; opacity: .5; }

/* Client logos */
.logos { padding: 2.5rem 0; border-bottom: 1px solid var(--line); }
.logos-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.75rem; }
.logos-label { font-size: 1rem; font-weight: 600; color: var(--slate); margin-right: .5rem; }
.client-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.75rem; }
.client-logo img { height: 52px; width: auto; max-width: 150px; object-fit: contain; }
[data-theme="dark"] .client-logo { background: #fff; border-radius: var(--r-sm); padding: .35rem .5rem; }

/* Ruled lists: "What we work with", "How we work" */
.rule-list { border-top: 2px solid var(--ink); }
.rule-list > li, .rule-list > div { display: grid; gap: .35rem 2rem; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .rule-list > li, .rule-list > div { grid-template-columns: 15rem 1fr; } }
.rule-list strong, .rule-list h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
.rule-list span, .rule-list p { color: var(--slate); }
.rule-list .text-link { display: inline-block; margin-top: .4rem; font-size: .98rem; }

/* What we work with: tiles of technology chips; the two specialisms in navy */
.stack { display: grid; gap: 1rem; }
@media (min-width: 768px) {
  .stack { grid-template-columns: repeat(2, 1fr); }
  .stack-group--wide, .stack-group--ask { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .stack { grid-template-columns: repeat(12, 1fr); gap: 1.25rem; }
  .stack-group, .stack-group--ask { grid-column: span 4; }
  .stack-group--wide { grid-column: span 8; }
}
.stack-group { display: flex; flex-direction: column; gap: 1.1rem; padding: 1.75rem; border-radius: var(--r); background: var(--mist); }
@media (min-width: 1024px) { .stack-group { padding: 2rem; } }
.stack-group h3 { font-size: 1.35rem; letter-spacing: -.02em; }
.stack-group .text-link { margin-top: auto; align-self: flex-start; font-size: .98rem; }
.stack-group p { color: var(--slate); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chips:empty { display: none; }
.chips li { padding: .38rem .7rem; border-radius: var(--r-sm); background: var(--paper); border: 1px solid var(--line); font-size: .95rem; font-weight: 600; line-height: 1.3; }
.stack-group--featured { background: var(--navy); color: #fff; }
[data-theme="dark"] .stack-group--featured { background: var(--navy-2); }
.stack-group--featured h3 { color: #fff; }
.stack-group--featured .chips li { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; }
.stack-group--featured .text-link { color: #fff; }
.stack-group--ask { background: var(--yellow-2); color: #13213a; }
.stack-group--ask h3, .stack-group--ask .text-link { color: #13213a; }
.stack-group--ask p { color: #3a3220; }
.stack-group--ask .text-link { text-decoration-color: #13213a; }

/* Build / Scale / Strengthen: three bars rising from a shared baseline, like the logo mark */
.pillars { display: grid; gap: .75rem; }
.pillar {
  display: flex; flex-direction: column; padding: 1.75rem; border-radius: var(--r); color: #13213a;
  background: #fdf1c9;
}
.pillar:nth-child(2) { background: var(--yellow-2); }
.pillar:nth-child(3) { background: var(--yellow); }
.pillar-when { font-weight: 600; color: #4a4128; margin-bottom: .5rem; }
.pillar h3 { font-size: clamp(2.2rem, 3.8vw, 3.4rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; margin-bottom: 1rem; color: #13213a; }
.pillar-text { font-size: 1.15rem; line-height: 1.5; max-width: 20rem; color: #13213a; }
.pillar-foot { margin-top: 1.75rem; padding-top: 1.1rem; border-top: 1.5px solid rgba(19, 33, 58, .28); display: grid; gap: .65rem; }
.pillar-people { color: #3a3220; }
.pillar-link { font-weight: 700; color: #13213a; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; justify-self: start; }
.pillar-link:hover { text-decoration-thickness: 3px; }
@media (min-width: 900px) {
  .pillars { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: end; border-bottom: 3px solid var(--ink); }
  .pillar { border-radius: var(--r) var(--r) 0 0; padding: 2.25rem 2rem 2rem; }
  .pillar:nth-child(1) { min-height: 24rem; }
  .pillar:nth-child(2) { min-height: 28rem; }
  .pillar:nth-child(3) { min-height: 32rem; }
  .pillar-foot { margin-top: auto; }
}
.pillars-foot { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; }

/* Feature blocks (formerly cards): text with a rule above */
.card { border-top: 2px solid var(--ink); padding-top: 1.35rem; }
.card h3 { margin-bottom: .6rem; }
.card p { color: var(--slate); }
.aside .card, .callout, .form-card, .contact-method { border: 0; padding: 1.75rem; background: var(--mist); border-radius: var(--r); }
.section--alt .aside .card, .section--alt .form-card { background: var(--paper); }
.aside .card h3 { margin-bottom: .5rem; }

/* Offer cards (services, ways to work) */
.offer { display: flex; flex-direction: column; gap: 1rem; }
.offer ul, .bullets { display: grid; gap: .55rem; color: var(--slate); }
.offer li, .bullets li { padding-left: 1.5rem; position: relative; }
.offer li::before, .bullets li::before { content: ''; position: absolute; left: 0; top: .62em; width: .7rem; height: 3px; background: var(--yellow); }
.bullets--numbered { counter-reset: item; }
.bullets--numbered li { counter-increment: item; padding-left: 2rem; }
.bullets--numbered li::before { content: counter(item); width: auto; height: auto; top: 0; background: none; font-weight: 800; color: var(--ink); }
.offer .text-link { margin-top: auto; align-self: flex-start; padding-top: .5rem; }

/* Specialism panels */
.panels { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .panels { grid-template-columns: 1fr 1fr; } }
.panel {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 1.1rem; padding: 2.25rem;
  border-radius: var(--r-lg); background: var(--navy); color: var(--on-navy); min-height: 26rem;
}
@media (min-width: 900px) { .panel { padding: 3rem; } }
.panel::after {
  content: ''; position: absolute; right: 2rem; top: 0; width: 7.5rem; height: 5.5rem; opacity: .9;
  background: linear-gradient(90deg, var(--yellow) 0 26%, transparent 26% 37%, var(--yellow-2) 37% 63%, transparent 63% 74%, #fdf1c9 74% 100%);
  border-radius: 0 0 6px 6px;
}
[data-theme="dark"] .panel, [data-theme="dark"] .case-cover--brand { background: var(--navy-2); }
.panel h3 { color: #fff; font-size: clamp(2rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.035em; padding-top: 3.5rem; }
.panel p { color: var(--on-navy-2); font-size: 1.1rem; max-width: 30rem; }
.panel ul { display: grid; gap: .5rem; color: #fff; }
.panel li { padding-left: 1.5rem; position: relative; }
.panel li::before { content: ''; position: absolute; left: 0; top: .62em; width: .7rem; height: 3px; background: var(--yellow); }
.panel .btn { margin-top: auto; align-self: flex-start; }

/* Talent */
.talent-grid { display: grid; gap: 2rem 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.talent-card { display: flex; flex-direction: column; }
.talent-photo { aspect-ratio: 5 / 6; border-radius: var(--r); overflow: hidden; background: var(--mist); }
.talent-photo img { width: 100%; height: 100%; object-fit: cover; }
.talent-initials { aspect-ratio: 5 / 6; border-radius: var(--r); display: grid; place-items: center; font-weight: 800; font-size: 4rem; color: var(--navy); background: var(--yellow-2); }
[data-theme="dark"] .talent-initials { color: #13213a; }
.talent-body { padding-top: 1rem; display: grid; gap: .2rem; }
.talent-body h3 { font-size: 1.2rem; }
.talent-role { color: var(--ink); font-weight: 500; }
.talent-meta { font-size: .92rem; color: var(--slate); }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .5rem; }
.tag { padding: .2rem .55rem; border-radius: 4px; background: var(--mist); font-size: .82rem; font-weight: 600; color: var(--slate); }
.section--alt .tag { background: var(--paper); }

/* Case studies */
.case-grid { display: grid; gap: 3rem 2rem; }
@media (min-width: 768px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .case-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.case-card { position: relative; display: flex; flex-direction: column; }
.case-cover { aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: var(--mist); }
.case-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.case-card:hover .case-cover img { transform: scale(1.03); }
.case-cover--brand { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: .25rem; padding: 1.5rem; background: var(--navy); color: #fff; }
.case-cover--brand::after {
  content: ''; position: absolute; right: 1.5rem; top: 0; width: 5rem; height: 3.5rem;
  background: linear-gradient(90deg, var(--yellow) 0 26%, transparent 26% 37%, var(--yellow-2) 37% 63%, transparent 63% 74%, #fdf1c9 74% 100%);
  border-radius: 0 0 5px 5px;
}
.case-cover--brand span { font-size: .95rem; color: var(--on-navy-2); font-weight: 600; }
.case-cover--brand strong { font-size: 1.7rem; line-height: 1.1; letter-spacing: -.03em; }
.case-body { padding-top: 1.25rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.case-client { font-size: .95rem; font-weight: 600; color: var(--slate); }
.case-body h3 a::after { content: ''; position: absolute; inset: 0; }
.case-card:hover h3 { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.case-body p { color: var(--slate); }
.facts { display: grid; margin-top: .5rem; border-top: 1px solid var(--line); font-size: .95rem; }
.facts div { display: grid; grid-template-columns: 4.75rem 1fr; gap: .75rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 700; }
.facts dd { color: var(--slate); }

.fact-panel { display: grid; gap: 1.5rem 2.5rem; padding: 2rem 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .fact-panel { grid-template-columns: repeat(3, 1fr); } }
.fact-panel dt { font-weight: 700; margin-bottom: .35rem; }
.fact-panel dd { color: var(--slate); }

/* Steps (a real sequence) */
.steps { display: grid; gap: 2.5rem 2rem; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } .steps--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } }
.step { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 1.25rem; }
.step::before { content: counter(step); display: block; font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--yellow); margin-bottom: 1rem; -webkit-text-stroke: 1px rgba(19, 33, 58, .15); }
.step h3 { margin-bottom: .5rem; }
.step p { color: var(--slate); }
.step-result { margin-top: 1rem; font-size: .95rem; color: var(--ink) !important; }
.step-result strong { display: block; color: var(--slate); font-weight: 600; }

/* Callout */
.callout { display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; padding: 2rem; }
@media (min-width: 768px) { .callout { flex-direction: row; align-items: center; justify-content: space-between; padding: 2.5rem 3rem; } }
.callout h3 { font-size: 1.5rem; margin-bottom: .4rem; }
.callout .eyebrow { margin-bottom: .5rem; }

/* Mission band */
.mission-band { background: var(--yellow); color: #13213a; }
.mission-band h2 { font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -.04em; max-width: 16ch; margin-bottom: 1.5rem; }
.mission-band p { font-size: 1.15rem; max-width: 36rem; color: #3a3220; }
.mission-band .text-link { color: #13213a; text-decoration-color: #13213a; }
.mission-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .mission-grid { grid-template-columns: 7fr 5fr; gap: 4rem; align-items: end; } }
.mission-facts { display: grid; gap: 0; border-top: 2px solid #13213a; }
.mission-facts div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(19, 33, 58, .25); align-items: baseline; }
.mission-facts strong { font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; }

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0 2rem; border-top: 2px solid var(--ink); }
.stat { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.stat .num { font-size: 2.4rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.stat .num em { font-style: normal; }
.stat .cap { margin-top: .4rem; color: var(--slate); font-size: .98rem; }

/* CTA band (joins the footer) */
.cta-band { background: var(--navy); color: var(--on-navy); }
.cta-inner { display: grid; gap: 2rem; padding: 4.5rem 0 3.5rem; border-bottom: 1px solid rgba(255, 255, 255, .14); }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 7fr 5fr; align-items: end; padding: 6rem 0 4.5rem; } }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -.04em; max-width: 16ch; }
.cta-band p { color: var(--on-navy-2); margin-top: 1rem; max-width: 34rem; font-size: 1.1rem; }
@media (min-width: 900px) { .cta-band .btn-row { justify-content: flex-end; } }

/* Team */
.team-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); }
.team-card .talent-body { padding-top: 1.1rem; gap: .35rem; }
.team-card p { color: var(--slate); }

/* Prose */
.prose { max-width: 42rem; font-size: 1.1rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-top: 2.75rem; line-height: 1.15; }
.prose h3 { font-size: 1.2rem; margin-top: 2rem; }
.prose p, .prose li { color: var(--slate); }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.25rem; display: grid; gap: .55rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--ink); }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose img { border-radius: var(--r); }
.quote-block { margin: 2.5rem 0; padding: 0 0 0 1.5rem; border-left: 4px solid var(--yellow); }
.quote-block p { font-size: clamp(1.25rem, 2.4vw, 1.5rem); line-height: 1.4; color: var(--ink); font-weight: 600; letter-spacing: -.015em; }
.quote-block footer { display: flex; align-items: center; gap: .85rem; margin-top: 1.25rem; font-size: .98rem; color: var(--slate); }
.quote-block footer img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.quote-block cite { font-style: normal; font-weight: 700; color: var(--ink); display: block; }
.article-meta { color: var(--on-navy-2); margin-bottom: 1.25rem; font-size: .95rem; }

.aside { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .aside--sticky { position: sticky; top: 7rem; } }

/* FAQ */
.faq { max-width: 52rem; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.35rem 0; font-weight: 700; font-size: 1.12rem; list-style: none; display: flex; justify-content: space-between; gap: 1.5rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; line-height: 1; font-weight: 400; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { padding: 0 0 1.5rem; color: var(--slate); max-width: 44rem; }

/* Forms */
.form-card { padding: 1.75rem; }
@media (min-width: 640px) { .form-card { padding: 2.5rem; } }
.form-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .45rem; }
.field label, .field legend { font-size: .98rem; font-weight: 700; color: var(--ink); }
.field .hint { font-size: .9rem; color: var(--slate); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  font: inherit; font-size: 1rem; background: var(--paper); color: var(--ink);
}
.field textarea { resize: vertical; min-height: 7.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(247, 197, 30, .55); }
fieldset.field { border: 0; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)); gap: .5rem; margin-top: .3rem; }
.check { display: flex; align-items: center; gap: .55rem; padding: .6rem .75rem; border: 1.5px solid var(--line); border-radius: var(--r-sm); font-size: .95rem; cursor: pointer; background: var(--paper); }
.check input { width: 1.05rem; height: 1.05rem; accent-color: var(--navy); flex-shrink: 0; }
.check:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.form-actions { margin-top: 1.75rem; display: grid; gap: .9rem; }
.form-actions .btn { width: 100%; }
.form-fineprint { font-size: .9rem; color: var(--slate); }
.form-fineprint a { text-decoration: underline; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: var(--r-sm); padding: 1rem 1.1rem; font-size: 1rem; }
.form-status[hidden] { display: none; }
.form-status:focus { outline: none; }
.form-status--success { background: rgba(18, 128, 92, .1); border: 1.5px solid rgba(18, 128, 92, .45); }
.form-status--error { background: rgba(198, 40, 40, .07); border: 1.5px solid rgba(198, 40, 40, .4); }
.form-status a { font-weight: 700; text-decoration: underline; }
.spinner { width: 18px; height: 18px; border: 3px solid rgba(19, 33, 58, .25); border-top-color: #13213a; border-radius: 50%; animation: spin .8s linear infinite; display: none; }
.is-sending .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.contact-methods { display: grid; gap: 1rem; }
.contact-method h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.contact-method p { color: var(--slate); }
.contact-method a { font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Draft label (local preview only) */
.draft-flag {
  display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .04em;
  background: #fee2e2; color: #991b1b; border: 1px dashed #f87171; border-radius: 4px; padding: .1rem .4rem; vertical-align: middle;
}
.is-draft { outline: 2px dashed #f87171; outline-offset: 6px; border-radius: 4px; }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-navy-2); padding: 3.5rem 0 2rem; font-size: .98rem; }
.cta-band + .site-footer { padding-top: 3rem; }
.footer-grid { display: grid; gap: 2.5rem 2rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr repeat(4, 1fr); } }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-brand { grid-column: auto; } }
.footer-brand p { margin-top: 1rem; max-width: 22rem; }
.footer-col h2 { font-size: 1rem; letter-spacing: 0; color: #fff; margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: .6rem; }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; font-size: .9rem; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.socials { display: flex; gap: .6rem; }
.socials a { width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); color: #fff; text-decoration: none; }
.socials a:hover { background: #fff; color: #0d2b4e; }
.socials svg { width: 16px; height: 16px; }

/* Theme toggle */
.theme-toggle {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 60; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink); display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 6px 18px rgba(13, 43, 78, .15);
}
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: block; }
[data-theme="dark"] .theme-toggle .moon { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
  .site-header, .site-footer, .theme-toggle, .btn-row, .cta-band { display: none; }
  body { color: #000; background: #fff; }
}
