/* ==========================================================================
   Colly's Driving School
   Navy feature areas, red highlights, white/paper content,
   hairline rules and square corners. Montserrat + Inter.
   ========================================================================== */

:root {
  --paper: #f8f8f5;
  --paper-elevated: #ffffff;
  --ink: #0b1f3a;          /* brand dark blue */
  --ink-muted: #4a5664;
  --hairline: #cdd3dc;
  --accent: #c8102e;       /* brand red */
  --accent-dark: #a00d25;
  --accent-on-dark: #e0243a; /* brand red, lifted just enough to read on navy (3.5:1) */

  --font-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Montserrat", "Segoe UI", system-ui, sans-serif; /* small caps labels */

  --header-h: 92px;
  --gutter: 20px;
  --max: 1160px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-muted);
  background: var(--paper);
  padding-bottom: 64px; /* room for mobile contact bar */
}

main { flex: 1; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.3rem); line-height: 1.08; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.12; letter-spacing: -0.02em; }
h3 { font-size: 1.15rem; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }

a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: 10px 16px;
  font-family: var(--font-mono); font-size: .8rem;
}
.skip-link:focus { top: 12px; color: var(--paper); }

.icon { width: 1.1em; height: 1.1em; flex-shrink: 0; }

/* "§01 — LABEL" section opener */
.label {
  display: flex;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.label b { font-weight: 800; color: var(--accent); letter-spacing: .08em; }

.lead { font-size: 1.06rem; max-width: 600px; }

/* Faint blueprint grid texture */
.grid-bg {
  background-image:
    linear-gradient(to right, rgba(11,31,58,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11,31,58,.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.grid-bg-light {
  background-image:
    linear-gradient(to right, rgba(255,255,255,.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Navy feature areas */
.theme-navy { background-color: var(--ink); color: rgba(255,255,255,.9); }
.theme-navy h2 { color: #fff; }
/* page headings in brand red */
.theme-navy h1 { color: var(--accent-on-dark); }
.theme-navy .label { color: rgba(255,255,255,.88); }
.theme-navy .label b { color: #fff; }
.theme-navy .hero-tagline { color: #fff; }
.theme-navy .points li::before { color: #fff; }
.theme-navy a:not(.btn) { color: #fff; }

.banner { padding: 40px 0 44px; }
.banner .lead { margin-bottom: 0; }
.banner .actions { margin-top: 24px; }
.narrow .faq { max-width: 860px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--ink);
  border-radius: 0;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--hairline); }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }
.btn-white { background: #fff; color: var(--accent); border-color: #fff; }
.btn-white:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.btn-block { width: 100%; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions .btn { flex: 1 1 220px; }
@media (min-width: 600px) { .actions .btn { flex: 0 0 auto; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; line-height: 1; }
.brand-logo { width: 68px; height: auto; }
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-sub {
  margin-top: 5px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}

.menu-btn {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--hairline);
  background: transparent;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: .75rem;
  letter-spacing: .14em;
  color: var(--ink);
  cursor: pointer;
}
.menu-btn[aria-expanded="true"] { border-color: var(--ink); }

.site-nav {
  position: absolute;
  top: 100%; left: 0; right: 0;
  display: none;
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
}
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0 var(--gutter); }
.site-nav li + li { border-top: 1px solid var(--hairline); }
.site-nav a {
  display: block;
  padding: 15px 0;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.site-nav a[aria-current="page"] { color: var(--accent); }

/* ---------- Hero (home) ---------- */
.hero { border-bottom: 0; }
.hero-grid { display: grid; gap: 36px; padding-top: 40px; padding-bottom: 40px; }
.hero-tagline {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.points { list-style: none; margin: 0 0 24px; padding: 0; max-width: 560px; }
.points li { position: relative; padding-left: 18px; margin-bottom: 6px; }
.points li::before {
  content: "·";
  position: absolute; left: 2px; top: -1px;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--accent);
}

/* Car photo as the hero background. Absolutely positioned, so the section keeps its exact size. */
.hero-photo-bg { position: relative; overflow: hidden; }
.hero-photo-bg .hero-bg { position: absolute; inset: 0; z-index: 0; }
/* show the coastal road, sea and mountains behind the text */
.hero-photo-bg .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
/* navy shade so the white text stays readable; lighter on the right where the car is */
.hero-photo-bg .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,31,58,.82) 0%, rgba(11,31,58,.72) 100%);
}
.hero-photo-bg .hero-grid { position: relative; z-index: 1; }

/* Facts band under the hero (navy) */
.band { background: var(--ink); color: #fff; border-top: 1px solid rgba(255,255,255,.12); }
.band-facts {
  margin: 0;
  padding: 16px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}
.band-facts dt {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .64rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.band-facts dd { margin: 3px 0 0; font-weight: 600; font-size: .92rem; color: #fff; line-height: 1.35; }
.band-facts a { color: #fff; text-decoration-color: var(--accent-on-dark); }
.band-facts a:hover { color: #fff; text-decoration-color: #fff; }

/* ---------- Generic page sections ---------- */
.page { padding: 36px 0 44px; }
.page > .section, .page > .container + .container { margin-top: 40px; }
.page-head { max-width: 720px; margin-bottom: 28px; }
.page-head p:last-child { margin-bottom: 0; }
.section + .section { margin-top: 40px; }

/* Process: three connected steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  border: 1px solid var(--hairline);
  background: var(--paper-elevated);
}
.steps li { padding: 20px 22px; }
.steps li + li { border-top: 1px solid var(--hairline); }
.step-no {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--accent);
}
.steps h3 { font-size: 1.15rem; margin-bottom: .3em; }
.steps p { margin: 0; font-size: .95rem; }

/* Licence code blocks */
.codes { display: grid; border: 1px solid var(--hairline); background: var(--paper-elevated); }
.code { padding: 22px; }
.code + .code { border-top: 1px solid var(--hairline); }
.code-no {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .14em;
  color: var(--accent);
}
.code-no span {
  font-weight: 500;
  font-size: .68rem;
  color: var(--ink-muted);
  border: 1px solid var(--hairline);
  padding: 2px 8px;
}
.code h3 { margin-bottom: .35em; }
.code p { margin: 0; font-size: .95rem; }

/* Index rows: "01  Title / description" separated by hairlines */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline); }
.rows li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 2px 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
}
.rows .no {
  grid-row: span 2;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .1em;
  color: var(--accent);
  padding-top: 3px;
}
.rows strong { color: var(--ink); font-weight: 600; }
.rows span:not(.no) { font-size: .95rem; }

/* About: company facts side by side */
.company {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--hairline);
  background: var(--paper-elevated);
}
.company > div { padding: 18px 22px; border-top: 4px solid var(--accent); }

.company dt {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.company dd { margin: 4px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink); overflow-wrap: anywhere; }

/* About: why choose us, laid out horizontally */
.why {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--hairline);
  background: var(--paper-elevated);
}
.why li { padding: 20px 22px; }
.why li + li { border-top: 1px solid var(--hairline); }
.why .no {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--accent);
  line-height: 1;
}
.why h3 { font-size: 1.02rem; margin-bottom: .35em; }
.why p { margin: 0; font-size: .92rem; }

/* Pricing strip */
.strip {
  display: grid;
  gap: 16px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--accent);
  border-left-width: 4px;
  background: var(--paper-elevated);
}
.strip h3 { margin-bottom: .25em; }
.strip p { margin: 0; }

/* Areas table */
.areas {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--hairline);
  border-left: 1px solid var(--hairline);
  background: var(--paper-elevated);
}
.areas li {
  padding: 12px 14px;
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  color: var(--ink);
  font-weight: 500;
  font-size: .95rem;
}
.areas li::before {
  content: attr(data-no);
  display: block;
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .14em;
  color: var(--accent);
}
.note { font-size: .9rem; margin: 12px 0 0; }

/* Gallery */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
/* vehicles: whole photos (no cropping) at a modest, shared height */
.gallery-vehicles { display: flex; flex-wrap: wrap; align-items: flex-start; }
.gallery-vehicles li { max-width: 100%; }

.gallery-learners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shot {
  display: block;
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: var(--paper-elevated);
}
.shot img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .25s ease; }
.shot-tall img { aspect-ratio: 2 / 3; }
/* whole photo, never cropped: sized by its own shape */
.shot.shot-natural img { aspect-ratio: auto; object-fit: initial; width: auto; height: auto; max-width: 100%; max-height: 380px; }
.shot:hover img { transform: scale(1.03); }
.shot:focus-visible { outline-offset: 2px; }

.lightbox {
  max-width: min(94vw, 1100px);
  max-height: 92vh;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(7, 18, 34, .88); }
.lightbox img { display: block; max-width: min(94vw, 1100px); max-height: 86vh; width: auto; height: auto; margin: 0 auto; }
.lightbox-close {
  display: block;
  margin: 0 0 10px auto;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.6);
  background: transparent;
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .16em;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(255,255,255,.12); }

/* FAQ */
.faq { border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  position: relative;
  padding: 15px 40px 15px 0;
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--accent);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0; padding: 0 0 16px; max-width: 640px; }

/* Contact list */
.contact-rows { margin: 0; border-top: 1px solid var(--hairline); }
.contact-rows > div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--hairline);
  overflow-wrap: anywhere;
}
.contact-rows dt {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding-top: 3px;
}
.contact-rows dd { margin: 0; color: var(--ink); font-weight: 500; }

/* Form */
.enquiry-form h2 { font-size: 1.6rem; margin-bottom: .2em; }
.form-note { font-size: .9rem; margin-bottom: 18px; }

.field { margin-bottom: 14px; }
.field-row { display: grid; gap: 0 14px; }
.field label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}
.optional { color: var(--ink-muted); text-transform: none; letter-spacing: 0; font-family: var(--font-body); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--hairline);
  border-radius: 0;
  background: var(--paper);
  font: inherit;
  color: var(--ink);
}
.field textarea { resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.field [aria-invalid="true"] { border-color: var(--accent); }
.field-error { margin: 6px 0 0; font-size: .85rem; color: var(--accent-dark); }
.field-error:empty { display: none; }

.form-status { margin: 14px 0 0; font-size: .92rem; }
.form-status:empty { display: none; }
.form-status.is-success { padding: 12px 14px; border: 1px solid var(--ink); color: var(--ink); background: var(--paper); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--hairline); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 22px;
  padding-bottom: 22px;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .08em;
  color: var(--ink-muted);
}
.footer-inner p { margin: 0; }

/* ---------- Mobile contact bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--accent);
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--paper);
}
.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .14em;
  text-decoration: none;
}
.mobile-bar .call { color: var(--ink); background: var(--paper); }
.mobile-bar .wa { color: #fff; background: var(--accent); }

/* ==========================================================================
   Animation - subtle, quick, and switched off for "reduce motion" users
   ========================================================================== */

/* 2. Entrance: hero (home) and page banners rise in one after another on load */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.hero-tagline, .hero h1, .hero .points, .hero .actions,
.banner .label, .banner h1, .banner .lead, .banner .actions {
  animation: rise-in .6s cubic-bezier(.2, .7, .2, 1) both;
}
.hero h1, .banner h1 { animation-delay: .08s; }
.hero .points, .banner .lead { animation-delay: .16s; }
.hero .actions, .banner .actions { animation-delay: .24s; }

/* 1. Scroll reveal: JS adds data-reveal only to content below the fold */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* 3. Hover: buttons lift, cards pick up a red edge, photos get depth */
@media (hover: hover) {
  .btn { transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .18s ease, box-shadow .18s ease; }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(7, 18, 34, .22); }
  .btn:active { transform: translateY(0); box-shadow: none; }

  .steps li, .code, .why li, .company > div, .areas li {
    transition: box-shadow .2s ease, background-color .2s ease;
  }
  .steps li:hover, .code:hover, .why li:hover, .areas li:hover {
    box-shadow: inset 0 3px 0 var(--accent);
    background-color: #fff;
  }
  .rows li { transition: padding-left .2s ease; }
  .rows li:hover { padding-left: 6px; }

  .shot { transition: box-shadow .25s ease; }
  .shot:hover { box-shadow: 0 12px 28px rgba(11, 31, 58, .18); }

  .faq summary { transition: color .15s ease; }
  .faq summary:hover { color: var(--accent); }

}

/* ==========================================================================
   Phones & small tablets: keep the PC look (photo visible, side-by-side rows
   that swipe) instead of stacking everything. PC (900px+) is not affected.
   ========================================================================== */
@media (max-width: 899px) {
  /* car photo clearly visible across the top, fading into navy under the heading */
  .hero-photo-bg .hero-bg { bottom: auto; height: 250px; }
  .hero-photo-bg .hero-bg img { object-position: 50% 72%; }
  .hero-photo-bg .hero-bg::after { background: linear-gradient(180deg, rgba(11,31,58,0) 45%, rgba(11,31,58,.6) 75%, var(--ink) 100%); }
  .hero-photo-bg .hero-grid { padding-top: 232px; }
}

@media (max-width: 599px) {
  /* rows that sit side by side on the PC become swipeable rows */
  .band-facts, .steps, .codes, .why {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--gutter);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-left: calc(-1 * var(--gutter));
    margin-right: calc(-1 * var(--gutter));
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }
  .band-facts::-webkit-scrollbar, .steps::-webkit-scrollbar,
  .codes::-webkit-scrollbar, .why::-webkit-scrollbar { display: none; }

  /* facts band: one row, like the PC */
  .band-facts { gap: 0; padding-top: 16px; padding-bottom: 16px; }
  .band-facts > div { flex: 0 0 auto; max-width: 42vw; padding: 0 14px; scroll-snap-align: start; }
  .band-facts > div:first-child { padding-left: 0; }
  .band-facts > div + div { border-left: 1px solid rgba(255,255,255,.18); }

  /* cards: each about 3/4 of the screen so the next one peeks in */
  .steps, .codes, .why { gap: 12px; border: 0; background: none; }
  .steps li, .code, .why li {
    flex: 0 0 78%;
    scroll-snap-align: start;
    border: 1px solid var(--hairline);
    background: var(--paper-elevated);
  }
  .steps li + li, .code + .code, .why li + li { border-top: 1px solid var(--hairline); }

  /* About: owner and registration side by side */
  .company { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .company > div + div { border-left: 1px solid var(--hairline); }
  .company > div { padding: 16px 14px; }
  .company dd { font-size: .9rem; overflow-wrap: normal; white-space: nowrap; }
}

/* ==========================================================================
   Breakpoints
   ========================================================================== */

@media (min-width: 600px) {
  :root { --gutter: 32px; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .gallery { gap: 16px; }
  .shot.shot-natural img { max-height: 340px; }
  .areas { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .strip { grid-template-columns: 1fr auto; }
  .band-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .company { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .company > div + div { border-left: 1px solid var(--hairline); }
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why li + li { border-top: 0; }
  .why li { border-top: 1px solid var(--hairline); }
  .why li:nth-child(-n+2) { border-top: 0; }
  .why li:nth-child(even) { border-left: 1px solid var(--hairline); }
}

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }

  .menu-btn { display: none; }
  .site-nav { position: static; display: block; border: 0; background: none; }
  .site-nav ul { display: flex; gap: 26px; padding: 0; }
  .site-nav li + li { border: 0; }
  .site-nav a {
    position: relative;
    padding: 6px 0;
    font-size: .74rem;
    color: var(--ink-muted);
  }
  .site-nav a::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 1.5px;
    background: var(--accent);
    transition: width .15s ease;
  }
  .site-nav a:hover,
  .site-nav a[aria-current="page"] { color: var(--accent); }
  .site-nav a:hover::after,
  .site-nav a[aria-current="page"]::after { width: 20px; }

  /* photo covers the right ~72% and fades into the navy on its left edge */
  .hero-grid { grid-template-columns: 1.25fr 1fr; gap: 56px; padding-top: 44px; padding-bottom: 40px; }
  .hero-photo-bg .hero-bg img { object-position: 50% 14%; }
  .hero-photo-bg .hero-bg::after { background: linear-gradient(90deg, rgba(11,31,58,.9) 0%, rgba(11,31,58,.72) 45%, rgba(11,31,58,.3) 75%, rgba(11,31,58,.15) 100%); }
  .page { padding: 44px 0 48px; }
  .brand-logo { width: 96px; }
  .brand-name { font-size: 1.6rem; }
  .banner { padding: 52px 0 56px; }

  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li + li { border-top: 0; border-left: 1px solid var(--hairline); }

  .codes { grid-template-columns: repeat(3, 1fr); }
  .code + .code { border-top: 0; border-left: 1px solid var(--hairline); }

  .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
  .two-col-wide { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
  .rows-2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 0; }
  .rows-2 li:nth-child(-n+2) { border-top: 1px solid var(--hairline); }

  .gallery-learners { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .band-facts { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; padding: 18px 0; }
  .band-facts > div { padding: 0 16px; }
  .band-facts > div:first-child { padding-left: 0; }
  .band-facts > div + div { border-left: 1px solid rgba(255,255,255,.18); }
  .why { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .why li, .why li:nth-child(-n+2) { border-top: 0; }
  .why li:nth-child(n) { border-left: 0; }
  .why li:nth-child(n+2) { border-left: 1px solid var(--hairline); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .btn:hover, .shot:hover img { transform: none; }
}
