/* ASX: light editorial page, navy bands for weight, one orange accent for routes and calls to action */
:root {
  --ink: #0B1B2E;
  --ink-2: #10243D;
  --line-dark: #2A4060;
  --paper: #FFFFFF;
  --mist: #F3F5F8;
  --rule: #D7DEE6;
  --muted: #475467;
  --muted-on-dark: #C3CEDB;
  --accent: #E8590C;
  --accent-strong: #C2410C;
  --accent-on-dark: #FDBA8C;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1180px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: 0; }
p { margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 16px; }

.band { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.wrap { max-width: var(--wrap); margin: 0 auto; }
.section { padding-block: clamp(64px, 9vw, 104px); }
.dark { background: var(--ink); color: var(--paper); }
.mist { background: var(--mist); }
.eyebrow { font-family: var(--display); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-strong); }
.dark .eyebrow { color: var(--accent-on-dark); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.dark .lead { color: var(--muted-on-dark); }
.head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }

/* header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--paper); border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 14px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 36px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font-size: 0.95rem; font-weight: 500; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--accent-strong); }
.lang { display: flex; gap: 2px; font-size: 0.85rem; }
.lang a, .lang span { padding: 4px 7px; border-radius: 6px; color: var(--muted); }
.lang [aria-current] { color: var(--ink); font-weight: 700; background: var(--mist); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 22px; border-radius: 8px; font-weight: 600; text-decoration: none; border: 1px solid transparent; font-family: var(--body); font-size: 1rem; cursor: pointer; }
.btn-accent { background: var(--accent-strong); color: #FFFFFF; }
.btn-accent:hover { background: #A8380A; color: #FFFFFF; }
.btn-ink { background: var(--ink); color: #FFFFFF; }
.btn-ink:hover { background: var(--ink-2); color: #FFFFFF; }
.btn-line { border-color: #98A4B3; color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.nav .btn { min-height: 40px; padding: 9px 16px; color: #FFFFFF; }
@media (max-width: 860px) { .nav .hide-sm { display: none; } .site-header { position: static; } }

/* hero */
.hero { background: var(--mist); }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; padding-top: clamp(48px, 7vw, 80px); }
.hero-copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; padding-bottom: clamp(48px, 7vw, 80px); }
.hero-copy .lead { color: #364152; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px; padding-top: 26px; border-top: 1px solid var(--rule); margin: 8px 0 0; }
.stats div { display: flex; flex-direction: column; gap: 4px; }
.stats dt { order: 2; font-size: 0.9rem; color: var(--muted); }
.stats dd { order: 1; margin: 0; font-family: var(--display); font-weight: 800; font-size: 2.2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.portrait { flex: 1 1 320px; min-width: 0; max-width: 430px; margin: 0; }
.portrait img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 14px 14px 0 0; }
.portrait figcaption { background: var(--ink); color: #FFFFFF; padding: 14px 18px; display: flex; flex-direction: column; font-size: 0.95rem; }
.portrait figcaption span { color: var(--muted-on-dark); font-size: 0.88rem; }

/* proof strip */
.strip .wrap { padding-block: 30px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px 40px; align-items: start; border-bottom: 1px solid var(--rule); }
.strip p { color: var(--muted); font-size: 0.98rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li { border: 1px solid var(--rule); border-radius: 999px; padding: 4px 12px; font-size: 0.88rem; color: var(--ink); }
.dark .chips li { border-color: var(--line-dark); color: var(--paper); }

/* bottlenecks */
.issues { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); column-gap: 40px; border-top: 1px solid var(--rule); margin-top: 40px; list-style: none; padding: 0; }
.issues li { display: grid; grid-template-columns: 18px 1fr; gap: 6px 10px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.issues .tag { width: 8px; height: 8px; background: var(--accent); margin-top: 9px; }
.issues h3 { grid-column: 2; }
.issues p { grid-column: 2; color: var(--muted); font-size: 1rem; }

/* diagnostic */
.diag .wrap { display: flex; flex-wrap: wrap; gap: 48px; }
.diag-copy { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.steps { flex: 1 1 360px; min-width: 0; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 2px 12px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--display); font-weight: 800; color: var(--accent-on-dark); grid-row: span 2; }
.steps strong { font-weight: 600; }
.steps span { color: var(--muted-on-dark); font-size: 0.95rem; }
.steps-cta { margin-top: 24px; }

/* services */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin-top: 40px; }
.service { background: var(--mist); border-radius: 12px; padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.service .kind { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.service p { color: var(--muted); font-size: 1rem; }

/* timeline */
.timeline { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 22px; }
.timeline li { border-top: 3px solid var(--ink); padding-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.timeline li:first-child { border-top-color: var(--accent); }
.timeline .year { font-family: var(--display); font-weight: 800; font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.timeline p { font-size: 0.97rem; color: #364152; }

/* faq */
.faq { margin-top: 32px; border-top: 1px solid var(--rule); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative; font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.5rem; color: var(--accent-strong); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 70ch; }

/* contact */
.contact .wrap { display: flex; flex-wrap: wrap; gap: 48px; }
.contact-copy { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-list { display: flex; flex-direction: column; gap: 10px; margin: 8px 0 0; }
.contact-list div { display: flex; flex-direction: column; }
.contact-list dt { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-on-dark); }
.contact-list dd { margin: 0; font-size: 1.05rem; user-select: all; }
.contact-list a { color: #FFFFFF; }
form { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 0.92rem; font-weight: 500; }
input, textarea { font: inherit; font-size: 1rem; color: #FFFFFF; background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 8px; padding: 12px 14px; width: 100%; }
textarea { resize: vertical; min-height: 120px; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.85rem; color: var(--muted-on-dark); }
.form-note a { color: var(--muted-on-dark); }
.form-status { font-size: 0.98rem; padding: 12px 14px; border-radius: 8px; background: var(--ink-2); border: 1px solid var(--line-dark); }

/* footer */
.site-footer .wrap { padding-block: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 0.88rem; color: var(--muted); }
.site-footer a { color: var(--muted); }

/* legal pages */
.legal { max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.legal h2 { font-size: 1.3rem; margin-top: 12px; }
.legal p, .legal li { color: #364152; }
