/* Driveright Driving School: single-page site styles. */

@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/barlow-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }

:root {
  color-scheme: light;

  /* Brand colors, taken from the Driveright logo. */
  --navy-950: #071230;
  --navy-900: #0b1a44;
  --navy-800: #142763;
  --navy-700: #1f3480;
  --blue: #2445c8;
  --red: #d8232a;
  --yellow: #ffd000;
  --yellow-200: #fff1b0;

  --ink: #0e1630;
  --ink-2: #3a4462;
  --ink-3: #5a6481;
  --paper: #ffffff;
  --paper-2: #f3f5f9;
  --line: #e0e5ee;
  --on-navy: #ffffff;
  --on-navy-2: #c5cde6;

  --font-body: "Barlow", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Barlow Condensed", "Barlow", ui-sans-serif, system-ui, sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgb(11 26 68 / 0.06), 0 10px 30px rgb(11 26 68 / 0.08);
  --header-h: 68px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h2 { font-size: clamp(2.1rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 1.85rem); font-weight: 700; }
h4 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: var(--blue); text-underline-offset: 0.18em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, iframe { display: block; max-width: 100%; }
address { font-style: normal; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px; top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--yellow);
  color: var(--navy-900);
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0.7em 1.35em;
  border: 2px solid transparent;
  border-radius: 999px;
  font: 700 1.05rem/1.1 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 42px; padding: 0.55em 1.05em; font-size: 0.98rem; }

.btn-yellow { background: var(--yellow); color: var(--navy-900); box-shadow: 0 6px 20px rgb(255 208 0 / 0.25); }
.btn-yellow:hover { background: #ffdb33; }
.btn-yellow svg { fill: currentColor; }

.btn-ghost { border-color: rgb(255 255 255 / 0.4); color: var(--on-navy); }
.btn-ghost:hover { border-color: var(--on-navy); background: rgb(255 255 255 / 0.06); }

.btn-navy { background: var(--navy-900); color: var(--on-navy); }
.btn-navy:hover { background: var(--navy-700); }
.btn-navy svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.text-link {
  font-weight: 700;
  color: var(--blue);
}

/* ---------- Brand lockup ---------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}
.brand-mark {
  display: inline-block;
  padding: 0.08em 0.6em 0.04em;
  border: 2.5px solid var(--navy-950);
  border-radius: 999px;
  background: var(--yellow);
  font: italic 800 1.55rem/1 var(--font-display);
  letter-spacing: 0.01em;
}
.brand-drive { color: var(--blue); }
.brand-right { color: var(--red); }
.brand-sub {
  font: 700 0.72rem/1.15 var(--font-body);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
  max-width: 6.5em;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 0.9);
  backdrop-filter: saturate(1.6) blur(12px);
  -webkit-backdrop-filter: saturate(1.6) blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.menu-button {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font: 700 1rem var(--font-body);
  cursor: pointer;
}
.menu-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

/* The nav is a popover on small screens and a plain inline nav on wide ones. */
.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  position: static;
  inset: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  overflow: visible;
}
.site-nav ul { display: flex; gap: 4px; }
.site-nav ul a {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-2);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.site-nav ul a:hover { background: var(--paper-2); color: var(--ink); }
.site-nav ul a[aria-current="true"] { color: var(--navy-900); background: var(--yellow-200); }

@media (max-width: 1080px) {
  .menu-button { display: inline-flex; }
  .site-nav:not(:popover-open):not(.is-open) { display: none; }
  .site-nav {
    position: fixed;
    inset: calc(var(--header-h) + 8px) 12px auto auto;
    width: min(320px, calc(100vw - 24px));
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: 0 20px 50px rgb(11 26 68 / 0.18);
  }
  .site-nav.is-open { z-index: 60; }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav ul a { padding: 12px 14px; border-radius: var(--radius-sm); font-size: 1.1rem; }
  .site-nav::backdrop { background: rgb(7 18 48 / 0.35); }
}
@media (max-width: 420px) {
  .brand-sub { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 85% 15%, rgb(36 69 200 / 0.45), transparent 65%),
    radial-gradient(700px 500px at 0% 100%, rgb(36 69 200 / 0.25), transparent 70%),
    var(--navy-900);
  color: var(--on-navy);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  padding-block: clamp(48px, 8vw, 96px) clamp(24px, 4vw, 40px);
}
.hero h1 {
  font-size: clamp(3.2rem, 8vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}
.hero h1 span { color: var(--yellow); }
.hero .lead {
  max-width: 34em;
  margin-block: 24px 32px;
  color: var(--on-navy-2);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.eyebrow {
  margin-bottom: 14px;
  color: var(--blue);
  font: 700 0.85rem/1.2 var(--font-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow-light { color: var(--yellow); }

.hero-route { margin: 0; }
.hero-route svg {
  width: 100%;
  max-height: 560px;
  margin-inline: auto;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.road-shadow { fill: none; stroke: var(--navy-950); stroke-width: 82; stroke-linecap: round; opacity: 0.55; }
.road-edge { fill: none; stroke: rgb(255 255 255 / 0.85); stroke-width: 66; }
.road-asphalt { fill: none; stroke: #27304f; stroke-width: 60; }
.road-center {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 4;
  stroke-dasharray: 18 14;
}
@media (prefers-reduced-motion: no-preference) {
  .road-center { animation: road-move 1.6s linear infinite; }
}
@keyframes road-move { to { stroke-dashoffset: -32; } }

.stop circle { fill: var(--yellow); stroke: var(--navy-950); stroke-width: 4; }
.stop text { fill: var(--navy-950); font: 800 21px var(--font-display); text-anchor: middle; }
.stop-final circle { fill: var(--red); }
.stop-final text { fill: #fff; }
.tag rect { fill: rgb(255 255 255 / 0.96); }
.tag text { fill: var(--navy-900); font: 700 16px var(--font-body); text-anchor: middle; }

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: clamp(36px, 5vw, 56px);
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.14);
}
.facts li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 22px;
  background: rgb(11 26 68 / 0.92);
}
.facts strong {
  color: var(--yellow);
  font: 800 clamp(2rem, 3.4vw, 2.6rem)/1 var(--font-display);
}
.facts span { color: var(--on-navy-2); font-size: 0.98rem; line-height: 1.35; }

.road-line {
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--yellow) 0 56px, transparent 56px 96px);
  opacity: 0.9;
}
.hero .road-line { position: absolute; inset: auto 0 0; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-route svg { max-height: 380px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(64px, 9vw, 112px); }
.section-tint { background: var(--paper-2); }
.section-navy { background: var(--navy-900); color: var(--on-navy); }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head > p:not(.eyebrow) { margin-top: 16px; color: var(--ink-2); font-size: 1.15rem; }

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: clamp(24px, 3.2vw, 40px);
}

.pill {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  font: 700 0.8rem/1.2 var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pill-blue { background: #e4e9fb; color: #1b3399; }
.pill-red { background: #fde5e6; color: #a8161c; }

/* ---------- Programs ---------- */

.program-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
}
.program { display: flex; flex-direction: column; }
.program h3 { margin-bottom: 14px; font-size: clamp(1.9rem, 3vw, 2.4rem); font-weight: 800; }
.program > p { color: var(--ink-2); }
.program h4 { margin: 8px 0 12px; }
.program > .btn { align-self: flex-start; margin-top: auto; }

.big-stat {
  padding: 14px 18px;
  border-left: 5px solid var(--yellow);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: #fffbe8;
  color: var(--ink) !important;
  font-weight: 600;
}
.big-stat strong { font: 800 1.5rem/1 var(--font-display); }

.options { display: grid; gap: 10px; margin-bottom: 20px; }
.options li {
  display: grid;
  gap: 2px;
  padding: 14px 16px 14px 46px;
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  position: relative;
}
.options li::before {
  content: "";
  position: absolute;
  left: 16px; top: 17px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--navy-900) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffd000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.options span { color: var(--ink-2); font-size: 1rem; line-height: 1.45; }

.checks { display: grid; gap: 10px; margin-bottom: 28px; }
.checks li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.45;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1a44' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.note {
  margin-bottom: 24px !important;
  color: var(--ink-3);
  font-size: 0.98rem;
}

.packages { display: grid; gap: 14px; margin-block: 8px 28px; }
.packages li {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.package-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}
.package-head h4 { margin: 0; }
.price {
  margin: 0;
  color: var(--navy-900);
  font: 800 2rem/1 var(--font-display);
}
.packages p { color: var(--ink-2); font-size: 1rem; }
.fine { margin-top: 8px; color: var(--ink-3) !important; font-size: 0.92rem !important; font-style: italic; }

.online-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(24px, 3vw, 32px);
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3.2vw, 40px);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(-45deg, rgb(11 26 68 / 0.05) 0 14px, transparent 14px 28px),
    var(--yellow);
  color: var(--navy-950);
}
.online-band h3 { margin-bottom: 6px; }
.online-band p { max-width: 40em; font-weight: 500; }

@media (max-width: 860px) {
  .program-grid { grid-template-columns: 1fr; }
  .online-band { flex-direction: column; align-items: flex-start; }
}

/* ---------- How it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}
.steps li { position: relative; counter-increment: step; }
/* Dashed connector from each step's marker to the next one. */
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 27px; left: 70px; right: -8px;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--navy-900) 0 18px, transparent 18px 30px);
  opacity: 0.25;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  margin-bottom: 18px;
  border: 4px solid var(--paper-2);
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--yellow);
  font: 800 1.6rem/1 var(--font-display);
  position: relative;
}
.steps h3 { margin-bottom: 8px; font-size: 1.55rem; }
.steps p { color: var(--ink-2); font-size: 1rem; }

.drives {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  margin-top: clamp(48px, 6vw, 72px);
  padding: clamp(24px, 3.2vw, 40px);
  border-radius: var(--radius);
  background: var(--navy-900);
  color: var(--on-navy);
}
.drives-intro h3 { margin-bottom: 12px; font-size: clamp(1.9rem, 3vw, 2.4rem); font-weight: 800; }
.drives-intro p { color: var(--on-navy-2); }

.drive-list { display: grid; gap: 10px; }
.drive-list li {
  display: grid;
  grid-template-columns: 76px 1fr;
  column-gap: 16px;
  align-items: baseline;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgb(255 255 255 / 0.06);
  border: 1px solid rgb(255 255 255 / 0.1);
}
.drive-num {
  color: var(--yellow);
  font: 700 0.85rem/1.4 var(--font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.drive-list strong { font: 700 1.35rem/1.2 var(--font-display); }
.drive-list li > span:last-child:not(.drive-num) {
  grid-column: 2;
  margin-top: 4px;
  color: var(--on-navy-2);
  font-size: 1rem;
  line-height: 1.45;
}

.requirements {
  margin-top: clamp(24px, 3vw, 32px);
  padding: clamp(24px, 3.2vw, 36px) clamp(24px, 3.2vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.requirements h3 { margin-bottom: 20px; }
.requirements ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.requirements li { display: flex; align-items: center; gap: 14px; }
.requirements strong {
  flex: none;
  display: grid;
  place-items: center;
  width: 76px; height: 76px;
  border-radius: 18px;
  background: var(--yellow);
  color: var(--navy-950);
  font: 800 2.4rem/1 var(--font-display);
}
.requirements span { color: var(--ink-2); line-height: 1.35; font-weight: 500; }

@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .steps li::after { display: none; }
  .drives { grid-template-columns: 1fr; }
  .requirements ul { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .drive-list li { grid-template-columns: 1fr; }
  .drive-list li > span:last-child:not(.drive-num) { grid-column: 1; }
}

/* ---------- Parents FAQ ---------- */

.parents-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.parents-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }

.faq { display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.faq details[open] { border-color: #c9d1e3; box-shadow: var(--shadow); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font: 700 1.3rem/1.25 var(--font-display);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1a44' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--yellow); }
.faq details p { padding: 0 22px 20px; color: var(--ink-2); }

@media (max-width: 860px) {
  .parents-grid { grid-template-columns: 1fr; }
  .parents-head { position: static; }
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.about-grid h2 { margin-bottom: 20px; }
.about-grid > div > p:not(.eyebrow) { color: var(--on-navy-2); font-size: 1.15rem; }

.mission {
  margin: 0;
  padding: clamp(28px, 3.5vw, 44px);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.05);
  border: 1px solid rgb(255 255 255 / 0.12);
  border-left: 6px solid var(--yellow);
  color: var(--on-navy-2);
}
.mission-label {
  color: var(--yellow);
  font: 700 0.85rem/1.2 var(--font-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.mission ul { margin: 0 0 1em; }
.mission li {
  color: var(--on-navy);
  font: 700 1.5rem/1.3 var(--font-display);
}
.mission-sign {
  margin-top: 1.2em;
  color: var(--on-navy);
  font: italic 800 1.9rem/1.1 var(--font-display);
}
.mission-sign span { color: var(--yellow); }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ---------- Hours & contact ---------- */

.hours { padding-top: 28px; border-top: 1px solid var(--line); }
.hours h3 { margin-bottom: 8px; font-size: 1.4rem; }
.hours h3 span {
  margin-left: 6px;
  color: var(--ink-3);
  font: 600 0.85rem var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hours dl { margin: 0 0 20px; }
.hours dl:last-child { margin-bottom: 0; }
.hours dl div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  padding-block: 10px;
  border-bottom: 1px dashed var(--line);
}
.hours dt { font-weight: 600; }
.hours dd { margin: 0; color: var(--ink-2); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(20px, 3vw, 32px);
  align-items: stretch;
}
.contact-card { display: grid; gap: 28px; align-content: start; }
.contact-details { display: grid; gap: 22px; }
.contact-item h3 {
  margin-bottom: 6px;
  color: var(--ink-3);
  font: 700 0.85rem/1.2 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.contact-item p { margin-bottom: 6px; font-size: 1.15rem; }
.contact-big {
  color: var(--navy-900);
  font: 800 clamp(1.6rem, 2.6vw, 2rem)/1.15 var(--font-display);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-big:hover { color: var(--blue); text-decoration: underline; }

.map {
  min-height: 380px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--paper-2);
}
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-950);
  color: var(--on-navy-2);
  font-size: 0.98rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-block: 48px 24px;
}
.brand-footer { margin-bottom: 16px; }
.brand-footer .brand-sub { color: var(--on-navy-2); }
.site-footer a { color: var(--on-navy); }
.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 8px 32px;
  align-content: start;
}
.footer-nav a { text-decoration: none; font-weight: 600; }
.footer-nav a:hover { color: var(--yellow); }
.footer-legal {
  padding-block: 20px 32px;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  font-size: 0.9rem;
}

/* ---------- 404 ---------- */

.not-found {
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--header-h));
  padding: 64px var(--gutter);
  text-align: center;
  background: var(--navy-900);
  color: var(--on-navy);
}
.not-found h1 { font-size: clamp(3rem, 9vw, 5.5rem); text-transform: uppercase; }
.not-found h1 span { color: var(--yellow); }
.not-found p { max-width: 32em; margin: 20px auto 32px; color: var(--on-navy-2); font-size: 1.2rem; }
.not-found .hero-actions { justify-content: center; }
