/* ==========================================================================
   ROAT Commercial — design system
   --------------------------------------------------------------------------
   Brand     Navy is the club colour of the business. Corner-flag red appears
             only in the logo, on focus, and as a single marker where a page
             needs one. White and a cool "mist" grey are the grounds.
   Type      Google Fonts, loaded in each page's <head>.
             Display: Barlow Condensed 600/700 for headings and key figures;
             h1 and h2 uppercase with -0.01em tracking.
             Body and UI: Plus Jakarta Sans 400/500/600 at 17px, 66ch measure.
             Figures use tabular numerals.
   Images    Real photography, full-bleed or edge-to-edge in a column.
             Square corners. A dark scrim only where text sits on a photo.
   Spacing   4 · 8 · 12 · 16 · 24 · 32 · 48 · 64 · 96 · 128
   Grid      12 columns, 1240px container, 24px gutter.
   ========================================================================== */

:root {
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --navy: #13294b;
  --navy-deep: #0b1a33;
  --navy-soft: #24406b;
  --ink: #111a28;
  --text: #2b3645;
  --slate: #56616f;
  --line: #d9dee5;
  --line-strong: #b9c1cc;
  --mist: #eef1f5;
  --white: #fff;
  --flag: #d63a24;
  --on-dark: #e8edf4;
  --on-dark-mute: #a8b5c7;
  --line-dark: rgba(255, 255, 255, 0.16);

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --space-section: clamp(64px, 8vw, 112px);
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p, ul, ol, dl, figure, blockquote { margin: 0; }
h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  text-wrap: balance;
}
h1, h2 { text-transform: uppercase; letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 4.3vw, 56px); line-height: 1.06; }
h2 { font-size: clamp(26px, 2.6vw, 36px); }
h3 { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: 0; }
h4 { font-size: 17px; font-weight: 600; letter-spacing: 0; }
strong { font-weight: 600; color: var(--ink); }
::selection { background: var(--navy); color: #fff; }
:focus-visible { outline: 2px solid var(--flag); outline-offset: 3px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--space-section) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--mist { background: var(--mist); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.skip { position: absolute; left: -9999px; top: 8px; }
.skip:focus { left: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.break { overflow-wrap: anywhere; }

/* Text styles ----------------------------------------------------------- */
.lead { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.5; color: var(--ink); }
.prose { max-width: 66ch; }
.prose > * + * { margin-top: 1.1em; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.1em; }
.prose li + li { margin-top: 0.4em; }
.muted { color: var(--slate); }
.small { font-size: 15px; }
.kicker { font-size: 15px; font-weight: 600; color: var(--slate); margin-bottom: 14px; }

/* Links and buttons ----------------------------------------------------- */
.link {
  font-weight: 600;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-decoration-color: var(--line-strong);
  transition: text-decoration-color .15s;
}
.link:hover { text-decoration-color: currentColor; }
.on-dark .link { color: #fff; text-decoration-color: rgba(255, 255, 255, .4); }
.on-dark .link:hover { text-decoration-color: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px;
  border: 1px solid var(--navy); border-radius: var(--radius);
  background: var(--navy); color: #fff;
  font: 600 16px/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn--outline { background: transparent; color: var(--navy); }
.btn--outline:hover { background: var(--mist); border-color: var(--navy); }
.btn--white { background: #fff; border-color: #fff; color: var(--navy); }
.btn--white:hover { background: var(--on-dark); border-color: var(--on-dark); }
.btn--ghost-light { background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }

/* Logo ------------------------------------------------------------------ */
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; flex: none; }
.logo--light { color: #fff; }
.logo-type { display: flex; flex-direction: column; }
.logo-roat { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: .02em; line-height: .92; }
.logo-sub { font-family: var(--font-display); font-size: 9.5px; font-weight: 600; letter-spacing: .25em; line-height: 1; margin-top: 4px; }

/* Header ---------------------------------------------------------------- */
.site-header { position: relative; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; height: 80px; gap: 32px; }
.site-nav { margin-left: auto; display: flex; align-items: center; }
.nav-list { list-style: none; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link {
  display: block; padding: 28px 12px; font-size: 15.5px; font-weight: 500;
  color: var(--ink); text-decoration: none; position: relative;
}
.nav-link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: transparent; }
.nav-link:hover::after { background: var(--line-strong); }
.nav-link[data-active]::after, .nav-link[aria-current="page"]::after { background: var(--navy); }
.has-sub .nav-link { padding-right: 4px; }
.has-sub .nav-link::after { right: 4px; }
.sub-toggle {
  width: 24px; height: 32px; margin-right: 6px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--slate);
  display: grid; place-items: center;
}
.sub-toggle::before { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.sub-toggle[aria-expanded="true"]::before { transform: translateY(2px) rotate(-135deg); }
.sub {
  list-style: none; margin: 0; padding: 8px 0;
  position: absolute; top: 100%; left: 0; min-width: 260px;
  background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--navy);
  box-shadow: 0 12px 24px -16px rgba(17, 26, 40, .35);
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .12s, transform .12s, visibility 0s .12s;
}
.sub a { display: block; padding: 10px 20px; font-size: 15px; color: var(--ink); text-decoration: none; }
.sub a:hover { background: var(--mist); }
.sub a[aria-current="page"] { font-weight: 600; box-shadow: inset 3px 0 0 var(--navy); }
.has-sub.is-open .sub { opacity: 1; visibility: visible; transform: none; transition: opacity .12s, transform .12s; }
@media (hover: hover) and (min-width: 961px) {
  .has-sub:hover .sub { opacity: 1; visibility: visible; transform: none; transition: opacity .12s, transform .12s; }
}
.nav-foot { display: none; }
.menu-toggle { display: none; }

/* Home hero ------------------------------------------------------------- */
.hero { position: relative; color: #fff; background: var(--navy-deep); overflow: hidden; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8, 18, 36, .82) 0%, rgba(8, 18, 36, .55) 45%, rgba(8, 18, 36, .1) 75%),
              linear-gradient(0deg, rgba(8, 18, 36, .7) 0%, rgba(8, 18, 36, 0) 45%);
}
.hero-body { position: relative; min-height: clamp(520px, 74vh, 720px); display: flex; flex-direction: column; justify-content: flex-end; padding-top: 120px; padding-bottom: clamp(48px, 7vw, 88px); }
.hero h1 { color: #fff; max-width: 13em; font-size: clamp(36px, 5vw, 64px); }
.hero p { max-width: 34em; margin-top: 20px; font-size: clamp(18px, 1.6vw, 20px); color: var(--on-dark); }
.hero .actions { margin-top: 32px; }

/* Page heroes ----------------------------------------------------------- */
/* 1. Photo band with an overlapping title panel */
.page-banner { position: relative; height: clamp(260px, 38vw, 460px); background: var(--navy); }
.page-banner img { width: 100%; height: 100%; object-fit: cover; }
.title-panel { position: relative; margin-top: calc(-1 * clamp(64px, 8vw, 120px)); margin-left: calc(-1 * clamp(24px, 3vw, 48px)); background: #fff; padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px) 0 clamp(24px, 3vw, 48px); grid-column: 1 / span 8; }
.title-panel h1 { font-size: clamp(32px, 4vw, 52px); }
.title-panel .lead { margin-top: 20px; max-width: 34em; }
.crumb { font-size: 14px; color: var(--slate); margin-bottom: 16px; }
.crumb a { color: var(--slate); text-underline-offset: 3px; }

/* 2. Split: navy text block beside a photo that bleeds to the edge */
.split-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--navy); color: var(--on-dark); min-height: clamp(420px, 46vw, 560px); }
.split-hero-text { display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(48px, 6vw, 88px) clamp(24px, 4vw, 64px) clamp(48px, 6vw, 72px) max(var(--gutter), calc((100vw - var(--container)) / 2)); }
.split-hero h1 { color: #fff; font-size: clamp(32px, 3.8vw, 50px); }
.split-hero .lead { color: var(--on-dark); margin-top: 20px; max-width: 30em; }
.split-hero .crumb, .split-hero .crumb a { color: var(--on-dark-mute); }
.split-hero-media { position: relative; min-height: 300px; }
.split-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* 3. Plain page head for reference pages */
.page-head { padding: clamp(56px, 7vw, 96px) 0 clamp(36px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(32px, 4vw, 50px); max-width: 16em; }
.page-head .lead { margin-top: 20px; max-width: 36em; }
.page-head--mist { background: var(--mist); border-bottom: 0; }

/* Home: introduction ----------------------------------------------------- */
.intro-statement { grid-column: 1 / span 7; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.38; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); text-wrap: pretty; }
.intro-side { grid-column: 9 / span 4; align-self: end; }
.intro-side p + p { margin-top: 14px; }
.intro-side .link { display: inline-block; margin-top: 22px; }

/* Home: two routes in --------------------------------------------------- */
.routes { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: start; }
.route { display: block; text-decoration: none; color: inherit; }
.route-media { overflow: hidden; background: var(--navy); aspect-ratio: 4 / 3; }
.route:nth-child(2) { margin-top: clamp(48px, 8vw, 120px); }
.route:nth-child(2) .route-media { aspect-ratio: 4 / 5; }
.route-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.route:hover .route-media img { transform: scale(1.02); }
.route-text { padding-top: 22px; max-width: 30em; }
.route-text h2 { font-size: clamp(24px, 2.2vw, 30px); }
.route-text p { margin-top: 10px; }
.route-text .link { display: inline-block; margin-top: 16px; }
.route:hover .link { text-decoration-color: currentColor; }

/* Navy band with a photo half ------------------------------------------- */
.band { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); background: var(--navy); color: var(--on-dark); }
.band-media { grid-column: 1 / span 5; position: relative; min-height: 360px; }
.band-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-text { grid-column: 7 / span 5; padding: clamp(56px, 7vw, 104px) 0; align-self: center; }
.band-text h2 { color: #fff; }
.band-text p { margin-top: 18px; max-width: 32em; }
.band-text .actions { margin-top: 28px; }
.band--reverse .band-media { grid-column: 8 / span 5; grid-row: 1; }
.band--reverse .band-text { grid-column: 2 / span 5; grid-row: 1; }

/* Content layouts ------------------------------------------------------- */
.cols-main { grid-column: 1 / span 7; }
.cols-side { grid-column: 9 / span 4; }
.cols-head { grid-column: 1 / span 4; }
.cols-body { grid-column: 6 / span 7; }
.figure-wide { margin: 0; }
.figure-wide img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.figure-tall img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* Side panel of key points */
.keypoints { border-top: 2px solid var(--navy); }
.keypoints h2 { font-size: 15px; padding: 14px 0 6px; }
.keypoints dl > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.keypoints dt { font-weight: 600; color: var(--ink); }
.keypoints dd { margin: 2px 0 0; font-size: 15.5px; color: var(--slate); }
.keypoints .link { display: inline-block; margin-top: 18px; font-size: 15.5px; }

/* Season timeline (clubs page) */
.season { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 48px; }
.season::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line-strong); }
.season > div { position: relative; padding-top: 36px; }
.season > div::before { content: ""; position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 2px solid var(--navy); }
.season > div:first-child::before { background: var(--flag); border-color: var(--flag); }
.season .when { font-size: 14px; font-weight: 600; color: var(--slate); }
.season h3 { margin-top: 6px; }
.season p { margin-top: 10px; font-size: 16px; }

/* Pull statement */
.statement { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; max-width: 26em; padding-left: 24px; border-left: 3px solid var(--flag); }

/* Inline list with rules (used sparingly) */
.ruled { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.ruled li { padding: 14px 0; border-bottom: 1px solid var(--line); }

/* End-of-page next step */
.next { background: var(--mist); }
.next-inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.next-inner > div:first-child { grid-column: 1 / span 7; }
.next-inner p { margin-top: 12px; max-width: 34em; }
.next-inner .actions { grid-column: 9 / span 4; justify-content: flex-end; }

/* Sponsorship opportunities --------------------------------------------- */
.opp-group { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--line); }
.opp-group:first-of-type { border-top: 0; }
.opp-head { grid-column: 1 / span 4; }
.opp-head p { margin-top: 12px; color: var(--slate); }
.opp-head .opp-media { margin-top: 28px; }
.opp-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.opp-list { grid-column: 6 / span 7; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 32px; align-content: start; }
.opp-list h3 { font-size: 19px; }
.opp-list p { margin-top: 8px; font-size: 16px; }
.opp-list .wide { grid-column: 1 / -1; }
.opp-group--feature .opp-head { grid-column: 1 / span 12; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.opp-group--feature .opp-head > div { grid-column: 1 / span 5; }
.opp-group--feature .opp-head .opp-media { grid-column: 7 / span 6; margin-top: 0; grid-row: 1 / span 2; }
.opp-group--feature .opp-list { grid-column: 1 / span 12; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 48px; }
.notice { display: flex; gap: 16px; padding: 18px 22px; background: var(--mist); border-left: 3px solid var(--navy); font-size: 16px; color: var(--ink); }

/* Terms ----------------------------------------------------------------- */
.rates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--navy); }
.rate { padding: 28px 32px 32px 0; }
.rate + .rate { padding-left: 32px; border-left: 1px solid var(--line); }
.rate .rate-figure { font-family: var(--font-display); font-size: clamp(56px, 6vw, 84px); font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: var(--navy); font-variant-numeric: tabular-nums lining-nums; }
.rate h2 { font-size: 20px; margin-top: 18px; }
.rate p { margin-top: 8px; font-size: 16px; }
.example { background: var(--navy); color: var(--on-dark); padding: clamp(28px, 4vw, 48px); }
.example h2 { color: #fff; font-size: 22px; }
.example-tag { display: inline-block; font-size: 13px; font-weight: 600; color: var(--navy); background: #fff; padding: 3px 8px; margin-bottom: 18px; }
.example ol { list-style: none; padding: 0; margin-top: 20px; counter-reset: ex; }
.example li { display: flex; justify-content: space-between; gap: 24px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); font-variant-numeric: tabular-nums; }
.example li span:last-child { font-weight: 600; color: #fff; white-space: nowrap; }
.example li.total { border-bottom: 0; border-top: 1px solid rgba(255,255,255,.5); margin-top: -1px; }
.example li.total span { color: #fff; font-weight: 600; }
.example .small { margin-top: 16px; color: var(--on-dark-mute); }

/* Team ------------------------------------------------------------------ */
.people { border-top: 2px solid var(--navy); }
.person { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding: clamp(32px, 4vw, 48px) 0; border-bottom: 1px solid var(--line); }
.person-name { grid-column: 1 / span 4; }
.person-name h2 { font-size: clamp(24px, 2.4vw, 32px); }
.person-name .role { margin-top: 6px; font-weight: 600; color: var(--navy); }
.person-body { grid-column: 6 / span 7; }
.person-body p + p { margin-top: 12px; }
.person-body .contact-line { margin-top: 18px; font-size: 16px; }

/* FAQ ------------------------------------------------------------------- */
.faq-nav { position: sticky; top: 24px; }
.faq-nav h2 { font-size: 15px; color: var(--slate); margin-bottom: 10px; }
.faq-nav ul { list-style: none; padding: 0; border-left: 1px solid var(--line); }
.faq-nav a { display: block; padding: 6px 0 6px 16px; text-decoration: none; color: var(--ink); }
.faq-nav a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.faq-group + .faq-group { margin-top: clamp(48px, 6vw, 72px); }
.faq-group > h2 { margin-bottom: 18px; scroll-margin-top: 24px; }
.qa { border-top: 1px solid var(--ink); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 20px 0; font-weight: 600; font-size: 18px; color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-top: 7px; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat; color: var(--slate); }
.qa details[open] summary::after { background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat; }
.qa summary:hover { color: var(--navy); }
.qa .answer { padding: 0 40px 24px 0; max-width: 64ch; }
.qa .answer p + p { margin-top: 10px; }

/* Contact --------------------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.contact-side { grid-column: 1 / span 4; }
.contact-form { grid-column: 6 / span 7; }
.contact-direct { border-top: 2px solid var(--navy); margin-top: 12px; }
.contact-direct > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-direct dt { font-size: 14px; color: var(--slate); }
.contact-direct dd { font-variant-numeric: tabular-nums; margin: 2px 0 0; font-size: 19px; font-weight: 600; color: var(--ink); }
.contact-direct dd a { text-decoration: none; overflow-wrap: anywhere; }
.contact-direct dd a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-photo { margin-top: 40px; }
.contact-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

form { display: grid; gap: 24px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend, .field-label { display: block; padding: 0; margin-bottom: 8px; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.optional { font-weight: 400; color: var(--slate); }
.choice { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line-strong); border-radius: var(--radius); }
.choice label { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 10px 16px; cursor: pointer; font-size: 16px; line-height: 1.3; }
.choice label + label { border-left: 1px solid var(--line-strong); }
.choice input { appearance: none; margin: 0; flex: none; width: 18px; height: 18px; border: 1.5px solid #7d8794; border-radius: 50%; display: grid; place-items: center; }
.choice input:checked { border-color: var(--navy); }
.choice input:checked::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--navy); }
.choice label:has(input:checked) { background: var(--mist); font-weight: 600; color: var(--ink); }
.choice label:has(input:focus-visible) { outline: 2px solid var(--flag); outline-offset: -2px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 14px;
  font: 400 16px/1.4 var(--font-body); color: var(--ink);
  background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #8a94a1; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }
.field .hint { margin-top: 6px; font-size: 14px; color: var(--slate); }
.field .error { display: none; margin-top: 6px; font-size: 14.5px; font-weight: 500; color: #b3261e; }
.field.invalid input, .field.invalid textarea { border-color: #b3261e; box-shadow: 0 0 0 1px #b3261e; }
.field.invalid .error { display: block; }
.form-summary { display: none; padding: 14px 18px; border-left: 3px solid #b3261e; background: #fbeeed; color: var(--ink); font-size: 15.5px; }
.form-summary.show { display: block; }
.form-note { display: none; padding: 14px 18px; border-left: 3px solid var(--navy); background: var(--mist); font-size: 15.5px; color: var(--ink); }
.form-note.show { display: block; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.form-foot p { font-size: 14.5px; color: var(--slate); max-width: 30em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer ---------------------------------------------------------------- */
.site-footer { background: var(--navy-deep); color: var(--on-dark-mute); font-size: 15.5px; }
.footer-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding: 64px 0 48px; }
.footer-brand { grid-column: 1 / span 3; }
.footer-brand p { margin-top: 18px; max-width: 22em; }
.footer-cols { grid-column: 5 / span 8; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.45fr); gap: 32px 24px; }
.footer-h { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; }
.footer-cols li + li { margin-top: 9px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 22px 0 28px; border-top: 1px solid var(--line-dark); font-size: 14px; }
.footer-base ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* 404 ------------------------------------------------------------------- */
.lost { position: relative; min-height: 70vh; display: flex; align-items: flex-end; color: #fff; background: var(--navy-deep); }
.lost .hero-media::after { background: linear-gradient(0deg, rgba(8,18,36,.85), rgba(8,18,36,.25)); }
.lost .container { position: relative; padding-bottom: 72px; }
.lost h1 { color: #fff; max-width: 12em; }
.lost p { margin-top: 16px; max-width: 32em; color: var(--on-dark); }
.lost .actions { margin-top: 28px; }

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (max-width: 1100px) {
  .nav-link { padding-left: 9px; padding-right: 9px; font-size: 15px; }
  .nav-link::after { left: 9px; right: 9px; }
  .footer-brand { grid-column: 1 / span 12; margin-bottom: 40px; }
  .footer-cols { grid-column: 1 / span 12; }
}

@media (max-width: 960px) {
  /* Mobile navigation: full-height panel with grouped links */
  .header-inner { height: 68px; }
  .menu-toggle {
    display: flex; align-items: center; gap: 10px; margin-left: auto;
    min-height: 44px; padding: 0 0 0 12px; border: 0; background: none;
    font: 600 15.5px var(--font-body); color: var(--navy); cursor: pointer;
  }
  .menu-icon { position: relative; width: 20px; height: 12px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; transition: border-color .15s; }
  .menu-icon::before { content: ""; position: absolute; left: 0; right: 0; top: 3px; height: 2px; background: currentColor; transition: transform .15s; }
  .menu-toggle[aria-expanded="true"] .menu-icon { border-color: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-icon::before { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; height: 2px; background: currentColor; transform: rotate(-45deg); }

  .site-nav {
    display: none; position: fixed; left: 0; right: 0; top: 68px; bottom: 0;
    flex-direction: column; align-items: stretch; overflow-y: auto;
    background: #fff; padding: 8px var(--gutter) 32px; border-top: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-link, .has-sub .nav-link { flex: 1; padding: 18px 0; font-size: 20px; font-weight: 600; }
  .nav-link::after { display: none; }
  .nav-link[aria-current="page"], .nav-link[data-active] { color: var(--navy); box-shadow: inset 3px 0 0 var(--flag); padding-left: 14px; }
  .sub-toggle { width: 48px; height: 48px; margin: 0; }
  .sub { position: static; flex-basis: 100%; min-width: 0; display: none; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 12px; transition: none; }
  .has-sub.is-open .sub { display: block; }
  .sub a { padding: 10px 0 10px 16px; font-size: 16.5px; color: var(--text); }
  .sub a[aria-current="page"] { box-shadow: inset 2px 0 0 var(--navy); }
  .nav-foot { display: grid; gap: 6px; margin-top: 28px; font-size: 16px; }
  .nav-foot a { color: var(--navy); overflow-wrap: anywhere; }
  .nav-phone { font-size: 22px; font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
  body.nav-open { overflow: hidden; }

  .intro-statement, .intro-side { grid-column: 1 / -1; }
  .intro-side { margin-top: 32px; max-width: 36em; }
  .title-panel { grid-column: 1 / span 11; }
  .split-hero { grid-template-columns: minmax(0, 1fr); }
  .split-hero-media { min-height: 0; aspect-ratio: 16 / 9; order: -1; }
  .split-hero-text { padding: 40px var(--gutter) 48px; }
  .band-media, .band--reverse .band-media { grid-column: 1 / -1; grid-row: 1; min-height: 0; aspect-ratio: 16 / 9; }
  .band-text, .band--reverse .band-text { grid-column: 1 / -1; grid-row: 2; padding: 48px var(--gutter) 56px; }
  .cols-main, .cols-side, .cols-head, .cols-body { grid-column: 1 / -1; }
  .cols-side, .cols-body { margin-top: 40px; }
  .season { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .season::before { display: none; }
  .season > div { padding-top: 0; padding-left: 30px; }
  .season > div::before { top: 4px; }
  .opp-head, .opp-list { grid-column: 1 / -1; }
  .opp-list { margin-top: 32px; }
  .opp-head .opp-media { max-width: 560px; }
  .opp-group--feature .opp-head > div, .opp-group--feature .opp-head .opp-media { grid-column: 1 / -1; grid-row: auto; }
  .opp-group--feature .opp-head .opp-media { margin-top: 28px; max-width: none; }
  .opp-group--feature .opp-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rates { grid-template-columns: minmax(0, 1fr); }
  .rate, .rate + .rate { display: grid; grid-template-columns: 150px minmax(0, 1fr); column-gap: 24px; padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .rate .rate-figure { grid-row: span 2; font-size: 56px; }
  .rate h2 { margin-top: 2px; }
  .person-name, .person-body { grid-column: 1 / -1; }
  .person-body { margin-top: 16px; }
  .contact-side, .contact-form { grid-column: 1 / -1; }
  .contact-form { margin-top: 48px; }
  .contact-photo { display: none; }
  .faq-aside { display: none; }
  .next-inner > div:first-child, .next-inner .actions { grid-column: 1 / -1; }
  .next-inner .actions { justify-content: flex-start; margin-top: 28px; }
}

/* ==========================================================================
   Phone
   ========================================================================== */
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .hero-body { min-height: 0; padding-top: 200px; padding-bottom: 40px; }
  .hero-media::after { background: linear-gradient(0deg, rgba(8, 18, 36, .9) 0%, rgba(8, 18, 36, .6) 55%, rgba(8, 18, 36, .15) 100%); }
  .hero .actions { flex-direction: column; align-items: stretch; }
  .hero .actions .btn { width: 100%; }
  .page-banner { height: 220px; }
  .title-panel { grid-column: 1 / -1; margin-top: -48px; margin-left: calc(-1 * var(--gutter)); padding: 24px var(--gutter) 0; }
  .routes { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .route:nth-child(2) { margin-top: 0; }
  .route:nth-child(2) .route-media { aspect-ratio: 4 / 3; }
  .season { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .season > div::after { content: ""; position: absolute; left: 7px; top: 22px; bottom: -28px; width: 1px; background: var(--line-strong); }
  .season > div:last-child::after { display: none; }
  .opp-list, .opp-group--feature .opp-list { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .rate, .rate + .rate { grid-template-columns: 104px minmax(0, 1fr); }
  .rate .rate-figure { font-size: 44px; }
  .field-row, .choice { grid-template-columns: minmax(0, 1fr); }
  .choice label + label { border-left: 0; border-top: 1px solid var(--line-strong); }
  .form-foot .btn { width: 100%; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-cols > div:last-child { grid-column: 1 / -1; }
  .footer-top { padding-top: 48px; }
  .next-inner .actions .btn { width: 100%; }
  .qa .answer { padding-right: 0; }
  .statement { padding-left: 18px; }
}

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

/* Column helpers that collapse on small screens */
.head-col { grid-column: 1 / span 8; }
.faq-aside { grid-column: 1 / span 3; }
.faq-main { grid-column: 5 / span 8; }
@media (max-width: 960px) {
  .head-col, .faq-main { grid-column: 1 / -1; }
}
