/* =========================================================
   KRSTS — Design system & site styles
   One stylesheet, no frameworks, system fonts (zero font download).
   Sections: 1 Tokens · 2 Base · 3 Layout · 4 Components
             5 Header/Nav · 6 Page sections · 7 Forms · 8 Footer
             9 Mobile action bar · 10 Utilities · 11 Motion
   ========================================================= */

/* 1. TOKENS ------------------------------------------------ */
:root {
  /* Colour — restrained institutional palette */
  --ink: #0F1E2E;          /* headings, footer background */
  --text: #2B3A4A;         /* body copy */
  --muted: #56636F;        /* secondary copy (AA on paper & white) */
  --line: #E2E5E8;         /* hairlines */
  --line-strong: #C5CDD5;  /* input borders, dashed route */
  --paper: #FAFAF7;        /* page background (warm off-white) */
  --surface: #FFFFFF;      /* cards, alternate sections */
  --brand: #12355B;        /* primary actions, links */
  --brand-hover: #0B2745;
  --brand-soft: #E9EFF6;   /* icon tiles, selected chips */
  --accent: #C9850F;       /* route stops, markers (decorative only) */
  --accent-text: #8A5600;  /* accent used as text (AA) */
  --error: #B42318;
  --error-soft: #FDEDEB;

  /* Type */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
  --step-3: clamp(1.75rem, 1.25rem + 2vw, 2.5rem);
  --step-4: clamp(2.125rem, 1.35rem + 3.4vw, 3.5rem);

  /* Space & shape */
  --wrap: 1160px;
  --gutter: 20px;
  --section: clamp(64px, 9vw, 112px);
  --radius: 10px;
  --radius-lg: 16px;
}

/* 2. BASE -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: var(--step-4); letter-spacing: -.03em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.3; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 12px; color: #fff; }
.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; }

/* 3. LAYOUT ------------------------------------------------ */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: var(--step-1); line-height: 1.5; }

.grid { display: grid; gap: clamp(16px, 2.5vw, 24px); }
@media (min-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.split { display: grid; gap: 40px; }
@media (min-width: 960px) {
  .split { grid-template-columns: 5fr 7fr; gap: 72px; }
  .split-even { grid-template-columns: 1fr 1fr; }
  .split .sticky { position: sticky; top: 110px; align-self: start; }
}

/* 4. COMPONENTS -------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8125rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase;
  color: var(--accent-text); margin: 0 0 16px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--text); max-width: 40em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 22px; border-radius: var(--radius);
  font: inherit; font-size: 1rem; font-weight: 650; line-height: 1.2; text-align: center; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); color: #fff; }
.btn-secondary { background: transparent; color: var(--brand); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--brand); color: var(--brand-hover); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: #EEF2F6; color: var(--brand-hover); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.45); background: transparent; }
.btn-outline-light:hover { border-color: #fff; color: #fff; }
.btn-sm { min-height: 42px; padding: 8px 16px; font-size: .9375rem; }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .btn-row .btn { width: 100%; } }

.link-arrow { font-weight: 650; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 30px);
}
.card h3 { font-size: 1.125rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .96875rem; }
.card > :last-child { margin-bottom: 0; }
.card-link { display: block; text-decoration: none; color: inherit; transition: border-color .15s; }
.card-link:hover { border-color: var(--brand); color: inherit; }
.card-link .link-arrow { margin-top: 8px; color: var(--brand); }

.icon-tile {
  width: 42px; height: 42px; border-radius: 10px; flex: none;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; margin-bottom: 18px;
}
.icon-tile svg { width: 22px; height: 22px; }

/* Trust pillars: hairline-divided strip */
.pillars {
  display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
@media (min-width: 640px) { .pillars { grid-template-columns: repeat(2, 1fr); } .pillars > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .pillars { grid-template-columns: repeat(5, 1fr); } .pillars > :last-child:nth-child(odd) { grid-column: auto; } }
.pillar { background: var(--surface); padding: 28px 24px; }
.pillar h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.pillar p { font-size: .9375rem; color: var(--muted); margin: 0; }

/* Ticked list (challenges, inclusions) */
.ticks { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ticks li::before {
  content: ""; width: 10px; height: 10px; margin: 8px 0 0 6px; border-radius: 50%;
  border: 2px solid var(--accent); background: var(--surface);
}
.ticks strong { display: block; color: var(--ink); font-weight: 650; }
.ticks span { color: var(--muted); font-size: .9375rem; }
@media (min-width: 768px) { .ticks-2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 0; } .ticks-2 li:nth-child(-n+2) { border-top: 1px solid var(--line); } }

/* Route — the signature component: dashed line + numbered stops */
.route { list-style: none; margin: 0; padding: 0; counter-reset: stop; }
.route li { position: relative; padding: 0 0 30px 60px; counter-increment: stop; }
.route li::before {
  content: counter(stop, decimal-leading-zero);
  position: absolute; left: 0; top: 0; z-index: 1;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); border: 2px solid var(--brand); color: var(--brand);
  font-size: .8125rem; font-weight: 700; font-variant-numeric: tabular-nums;
}
.route li::after { content: ""; position: absolute; left: 18px; top: 40px; bottom: 2px; border-left: 2px dashed var(--line-strong); }
.route li:last-child { padding-bottom: 0; }
.route li:last-child::after { display: none; }
.route li:last-child::before { background: var(--brand); color: #fff; }
.route h3 { font-size: 1.125rem; margin: 6px 0 4px; }
.route p { margin: 0; color: var(--muted); font-size: .96875rem; }

/* Numbered steps (how to start) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.steps li::before { content: "Step " counter(step); display: block; font-size: .8125rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 10px; }
.steps h3 { font-size: 1.125rem; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); font-size: .96875rem; }

/* Dark band (closing CTA) */
.band { background: var(--ink); color: #C3CDD7; padding: clamp(56px, 8vw, 96px) 0; }
.band h2 { color: #fff; max-width: 22ch; }
.band p { max-width: 40rem; line-height: 1.55; }
.band .eyebrow { color: #E9BC66; }
.band-inner { display: grid; gap: 28px; }
@media (min-width: 960px) { .band-inner { grid-template-columns: 1.3fr 1fr; align-items: end; } .band .btn-row { justify-content: flex-end; } }

/* Callout */
.note {
  border-left: 3px solid var(--accent); background: var(--surface);
  padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; color: var(--text);
}
.note p:last-child { margin: 0; }

/* FAQ — native <details>, no JS */
.faq { border-top: 1px solid var(--line); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 20px 44px 20px 0; font-weight: 650; color: var(--ink); font-size: 1.0625rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 1.6rem; font-weight: 300; color: var(--brand); }
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 0 22px; max-width: 46rem; }
.faq .answer > :last-child { margin-bottom: 0; }

/* Breadcrumb */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 22px; font-size: .875rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: var(--muted); }

/* Topic blocks (safety / technology pages) */
.topic { display: grid; gap: 14px; padding: 28px 0; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .topic { grid-template-columns: 56px 1fr; gap: 20px; } }
.topic .icon-tile { margin: 0; }
.topic h3 { margin-bottom: 6px; }
.topic p { margin: 0; color: var(--muted); max-width: 42rem; }
.topic-group + .topic-group { margin-top: clamp(40px, 6vw, 64px); }
.topic-group > h2 { font-size: var(--step-2); }

/* 5. HEADER / NAV ------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 247, .96);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(250, 250, 247, .88); backdrop-filter: blur(8px); } }
.header-in { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.125rem; letter-spacing: .06em; }
.brand-text small { font-size: .6875rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface);
  font: inherit; font-size: .9375rem; font-weight: 600; color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 18px; height: 18px; }
.site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 4px var(--gutter) 20px; box-shadow: 0 12px 24px -16px rgba(15,30,46,.25); }
.site-nav.open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 500; }
.site-nav a[aria-current="page"] { color: var(--brand); font-weight: 700; }
.site-nav .btn { margin-top: 16px; width: 100%; }
@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; align-items: center; gap: 28px; position: static; padding: 0; border: 0; background: none; box-shadow: none; }
  .site-nav ul { display: flex; gap: 22px; }
  .site-nav li a { border: 0; padding: 8px 0; font-size: .9375rem; color: var(--text); }
  .site-nav li a:hover { color: var(--brand); }
  .site-nav a[aria-current="page"] { color: var(--brand); box-shadow: inset 0 -2px 0 var(--accent); }
  .site-nav .btn { margin: 0; width: auto; }
}

/* 6. PAGE SECTIONS ----------------------------------------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 56px; } }
.hero h1 { max-width: 17ch; }
.hero .lead { margin-bottom: 32px; }
.hero-meta { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 0; font-size: .9375rem; color: var(--muted); }
.hero-meta li + li::before { content: "•"; margin: 0 10px; color: var(--accent); }
.hero-visual { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(14px, 2.5vw, 24px); }
.hero-visual figcaption { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: .8125rem; font-weight: 600; }
.tagline { margin-top: 22px; font-size: .9375rem; color: var(--muted); font-style: italic; }

.page-hero { padding: clamp(32px, 5vw, 72px) 0 clamp(44px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { margin-bottom: 28px; }

.contact-list { display: grid; gap: 16px; }
@media (min-width: 640px) { .contact-list { grid-template-columns: 1fr 1fr; } }
.contact-card { display: flex; gap: 16px; align-items: flex-start; }
.contact-card .icon-tile { margin: 0; }
.contact-card h2 { font-size: 1.0625rem; margin: 2px 0 4px; }
.contact-card p { margin: 0 0 8px; color: var(--muted); font-size: .9375rem; }
.contact-card a.value { font-weight: 650; font-size: 1.0625rem; text-decoration: none; word-break: break-word; }

.prose { max-width: 46rem; }
.prose h2 { font-size: var(--step-2); margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: .4em; }

.error-page { text-align: center; padding: clamp(64px, 12vw, 140px) 0; }
.error-page h1 { margin: 0 auto 16px; max-width: 18ch; }
.error-page p { margin: 0 auto 32px; max-width: 34rem; color: var(--muted); }
.error-page .btn-row { justify-content: center; }
.error-page svg { margin: 0 auto 32px; width: 220px; }

/* 7. FORMS ------------------------------------------------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 40px); }
.form { display: grid; gap: 32px; }
.form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form legend { font-size: var(--step-1); font-weight: 700; color: var(--ink); padding: 0; margin-bottom: 18px; letter-spacing: -.01em; }
.fields { display: grid; gap: 18px; }
@media (min-width: 640px) { .fields-2 { grid-template-columns: 1fr 1fr; } .fields .full { grid-column: 1 / -1; } }
.field label, .field .label { display: block; font-weight: 600; font-size: .9375rem; color: var(--ink); margin-bottom: 7px; }
.req { color: var(--error); margin-left: 2px; }
.opt { font-weight: 400; color: var(--muted); font-size: .875rem; }
.form input:not([type="checkbox"]):not([type="radio"]), .form select, .form textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 1rem; /* 16px prevents iOS zoom */
  color: var(--ink); background: #fff;
  border: 1.5px solid var(--line-strong); border-radius: 8px;
  transition: border-color .15s;
}
.form textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.form select {
  appearance: none; -webkit-appearance: none; padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2312355B' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--brand); }
.form [aria-invalid="true"] { border-color: var(--error) !important; background-color: var(--error-soft) !important; }
.field-error { color: var(--error); font-size: .875rem; font-weight: 500; margin: 6px 0 0; }
.field-error:empty { display: none; }
.hint { font-size: .875rem; color: var(--muted); margin: 6px 0 0; }

.choices { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0; }
.choice { position: relative; display: inline-flex; }
.choice input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 9px 16px;
  border: 1.5px solid var(--line-strong); border-radius: 8px; background: #fff;
  font-size: .9375rem; color: var(--text); transition: border-color .15s, background-color .15s;
}
.choice span::before { content: ""; width: 16px; height: 16px; border: 1.5px solid var(--line-strong); border-radius: 4px; flex: none; background: #fff; }
.choice input[type="radio"] + span::before { border-radius: 50%; }
.choice input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); font-weight: 650; }
.choice input:checked + span::before { border-color: var(--brand); background: var(--brand); box-shadow: inset 0 0 0 3px #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; color: var(--text); }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--brand); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: var(--radius); font-size: .9375rem; }
.form-status:not(:empty) { padding: 16px 18px; }
.form-status.is-error { background: var(--error-soft); border: 1px solid #F3C4BE; color: #7A1A12; }
.form-status .btn { margin-top: 12px; }
.form-foot { display: grid; gap: 16px; }
.form-foot .btn { width: 100%; }
@media (min-width: 640px) { .form-foot .btn { width: auto; justify-self: start; } }

.proposal-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1024px) { .proposal-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; } .proposal-aside { position: sticky; top: 100px; } }
.aside-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.aside-box + .aside-box { margin-top: 16px; }
.aside-box h2 { font-size: 1.125rem; }
.aside-box .route li { padding-bottom: 20px; padding-left: 52px; }
.aside-box .route li::before { width: 32px; height: 32px; font-size: .75rem; }
.aside-box .route li::after { left: 15px; top: 34px; }
.aside-box .route h3 { font-size: 1rem; margin-top: 4px; }
.aside-box .route p { font-size: .9375rem; }

/* 8. FOOTER ------------------------------------------------ */
.site-footer { background: var(--ink); color: #B4C0CC; padding: 64px 0 32px; font-size: .9375rem; }
.site-footer a { color: #E3E9EF; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand .brand-text small { color: #8FA0B0; }
.footer-brand p { margin: 0 0 6px; max-width: 22rem; }
.site-footer h2 { font-size: .8125rem; text-transform: uppercase; letter-spacing: .1em; color: #8FA0B0; margin-bottom: 14px; font-weight: 650; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .875rem; color: #8FA0B0; }
.footer-bottom ul { display: flex; gap: 20px; }

/* 9. MOBILE ACTION BAR ------------------------------------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 8px;
  background: rgba(255,255,255,.98); border-top: 1px solid var(--line);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
}
.action-bar a {
  display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  text-decoration: none; font-weight: 650; font-size: .9375rem; color: var(--ink);
}
.action-bar a svg { width: 18px; height: 18px; }
.action-bar .ab-wa svg { color: #1F7A45; }
.action-bar .ab-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
body { padding-bottom: 72px; }
@media (min-width: 768px) { .action-bar { display: none; } body { padding-bottom: 0; } }

/* 10. UTILITIES -------------------------------------------- */
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 16px; } .mt-4 { margin-top: 32px; } .mt-6 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.measure { max-width: 44rem; }

/* 11. MOTION ----------------------------------------------- */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

@media print { .site-header, .action-bar, .site-footer, .band { display: none; } body { padding: 0; background: #fff; } }

/* Small-phone refinements */
@media (max-width: 639px) { .hero-visual { display: none; } .hero { padding-bottom: 48px; } }
@media (max-width: 379px) { .action-bar { gap: 6px; padding-left: 6px; padding-right: 6px; } .action-bar a { font-size: .875rem; } .action-bar a svg { display: none; } }
.section-tight { padding-top: clamp(24px, 4vw, 40px); }

/* =========================================================
   12. PREMIUM LAYER — display typeface, depth, signature details
   One self-hosted font (Inter Display SemiBold, ~16 KB, SIL OFL).
   Body copy stays on the device's system font for speed.
   ========================================================= */
@font-face {
  font-family: "Inter Display";
  src: url("/assets/fonts/InterDisplay-SemiBold.woff") format("woff");
  font-weight: 600; font-style: normal; font-display: swap;
}
/* Metric-matched fallback so the swap causes no layout shift */
@font-face {
  font-family: "Inter Display Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Roboto");
  size-adjust: 94.6%; ascent-override: 102%; descent-override: 25%; line-gap-override: 0%;
}
:root {
  --font-display: "Inter Display", "Inter Display Fallback", var(--font);
  --shadow-soft: 0 1px 2px rgba(15, 30, 46, .04), 0 24px 48px -28px rgba(15, 30, 46, .22);
  --grid-line: rgba(18, 53, 91, .055);
}

h1, h2, h3, h4,
.brand-text strong, .btn, .site-nav li a, .nav-toggle, .eyebrow, .chip, .form legend,
.faq summary, .field label, .field .label, .route li::before, .steps li::before,
.action-bar a, .site-footer h2, .link-arrow, .contact-card a.value {
  font-family: var(--font-display);
}
h1, h2, h3, h4 { font-weight: 600; }
h1 { font-size: clamp(2.375rem, 1.25rem + 4.2vw, 4.25rem); line-height: 1.03; letter-spacing: -.038em; }
h2 { font-size: clamp(1.875rem, 1.3rem + 2.2vw, 2.875rem); line-height: 1.08; letter-spacing: -.03em; }
h3 { letter-spacing: -.015em; }
.section-head h2, .split h2 { max-width: 20ch; }
.lead { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem); color: #3A4957; }
.eyebrow { font-weight: 600; letter-spacing: .12em; font-size: .78125rem; }
.btn { font-weight: 600; letter-spacing: -.005em; }
.brand-text strong { font-weight: 600; letter-spacing: .1em; font-size: 1.1875rem; }

/* Primary action arrow */
.btn-primary:not(.btn-sm)::after, .btn-light::after { content: "→"; font-family: var(--font); transition: transform .15s; }
.btn-primary:not(.btn-sm):hover::after, .btn-light:hover::after { transform: translateX(3px); }
.btn-primary { box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 8px 20px -10px rgba(18, 53, 91, .55); }

/* Hero & page heroes: faint route-map grid that fades out */
.hero, .page-hero { position: relative; isolation: isolate; }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 75% 85% at 78% 20%, #000 20%, transparent 72%);
          mask-image: radial-gradient(ellipse 75% 85% at 78% 20%, #000 20%, transparent 72%);
}
.page-hero::before { -webkit-mask-image: radial-gradient(ellipse 60% 90% at 95% 10%, #000 15%, transparent 70%); mask-image: radial-gradient(ellipse 60% 90% at 95% 10%, #000 15%, transparent 70%); }
.hero-visual { box-shadow: var(--shadow-soft); border-color: #E6E9EC; }
.hero-meta { font-size: .875rem; letter-spacing: .01em; }

/* Cards: quiet depth on interaction */
.card-link { transition: border-color .2s, box-shadow .2s, transform .2s; }
.card-link:hover { border-color: #C9D3DD; box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.form-card, .aside-box { box-shadow: var(--shadow-soft); }
.pillar { transition: background-color .2s; }
.pillar:hover { background: #FCFCFA; }
.pillar .icon-tile, .card .icon-tile { box-shadow: inset 0 0 0 1px rgba(18,53,91,.08); }

/* Route stops: amber halo on the final stop */
.route li:last-child::before { box-shadow: 0 0 0 5px rgba(201, 133, 15, .18); }

/* Closing band: decorative route line */
.band { position: relative; overflow: hidden; isolation: isolate; }
.band::after {
  content: ""; position: absolute; z-index: -1; right: -60px; bottom: -40px; width: 560px; height: 300px; opacity: .5; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 560 300'%3E%3Cpath d='M20 280C140 280 150 190 260 180S420 120 440 60 520 20 540 20' fill='none' stroke='%23E9BC66' stroke-width='3' stroke-linecap='round' stroke-dasharray='1 12'/%3E%3Ccircle cx='20' cy='280' r='7' fill='none' stroke='%23E9BC66' stroke-width='2.5'/%3E%3Ccircle cx='260' cy='180' r='7' fill='none' stroke='%23E9BC66' stroke-width='2.5'/%3E%3Ccircle cx='540' cy='20' r='9' fill='%23E9BC66'/%3E%3C/svg%3E") no-repeat center / contain;
}
@media (max-width: 767px) { .band::after { width: 340px; height: 180px; opacity: .3; } }

/* Footer statement */
.footer-statement {
  font-family: var(--font-display); font-weight: 600; color: #fff;
  font-size: clamp(1.75rem, 1.1rem + 3vw, 3.25rem); line-height: 1.08; letter-spacing: -.03em;
  margin: 0 0 56px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.12); max-width: 22ch;
}
.footer-statement span { color: #E9BC66; }

/* Header: slightly more presence */
@media (min-width: 1000px) { .header-in { min-height: 76px; } }
.hero h1 { max-width: none; font-size: clamp(2.375rem, 1.2rem + 3.5vw, 3.875rem); }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.3fr .7fr; gap: 64px; } }
.hero h1 { font-size: clamp(2.375rem, 1.2rem + 3.2vw, 3.625rem); }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; } }
.band { background: var(--brand); color: #CBD6E2; }
.band p:not(.eyebrow) { font-size: var(--step-1); }
.band .eyebrow { font-size: .78125rem; margin-bottom: 16px; }
.band::after { top: -70px; bottom: auto; opacity: .35; }
@media (min-width: 960px) { .band-inner { grid-template-columns: 1fr auto; gap: 64px; } .band .btn-row { flex-wrap: nowrap; } }
.site-footer { background: #0B1726; }
.footer-statement { border-bottom: 0; padding-bottom: 0; margin-bottom: 48px; }
.footer-grid { border-top: 1px solid rgba(255,255,255,.12); padding-top: 48px; }

/* Photo slots (filled from config.images) */
.photo-frame { border-radius: 12px; overflow: hidden; aspect-ratio: 6 / 5; background: var(--soft); }
.photo-frame img, .photo-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-visual:has(.photo-frame.has-photo) > svg { display: none; }
@media (max-width: 639px) { .hero-visual:has(.photo-frame.has-photo) { display: block; } }
.photo-slot { margin: 0 0 clamp(32px, 5vw, 56px); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 9; background: var(--soft); box-shadow: var(--shadow-soft); }
.split .photo-slot { aspect-ratio: 4 / 3; margin: 28px 0 0; }
.hero-visual { margin: 0; }
