/* =========================================================
   Wilson's Boatyard — "Hayling Harbour"
   Heritage maritime: deep harbour navy, warm brass,
   chart-paper warmth. Built to feel hand-made and calm,
   with large, high-contrast type for older readers.
   ========================================================= */

:root {
  /* ---- Warm chart-paper surfaces ---- */
  --paper:      #faf6ee;   /* warm off-white page            */
  --paper-2:    #f1ead9;   /* sand tint band                 */
  --paper-3:    #e3d9c4;   /* warm hairline / edge           */

  /* ---- Harbour ink ---- */
  --ink:        #0e2238;   /* deepest navy (footer, headings)*/
  --deep:       #15304d;   /* navy band surface              */
  --ink-soft:   #41506a;   /* slate body text (AA on paper)  */

  /* ---- Marine-blue accent (matches the Wilsons logo) ---- */
  --brass:      #1f6cb0;   /* brand marine blue              */
  --brass-dk:   #185793;   /* hover / links                  */
  --brass-lt:   #74b4e8;   /* light blue, for dark sections  */

  --sea:        #2f6f6b;   /* muted harbour teal (sparingly) */

  --maxw: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --font-display: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Mulish", "Segoe UI", system-ui, -apple-system, sans-serif;

  --shadow-soft: 0 16px 40px -26px rgba(14, 34, 56, 0.55);
  --shadow-lift: 0 30px 70px -34px rgba(14, 34, 56, 0.6);

  --radius: 4px;            /* crisp, restrained corners      */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* faint nautical chart-dot texture for dark sections */
  --chart-dots: radial-gradient(rgba(116, 180, 232, 0.12) 1px, transparent 1.4px);
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: clamp(1.08rem, 0.98rem + 0.35vw, 1.22rem); /* generous for older readers */
  line-height: 1.72;
  color: var(--ink-soft);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--brass-dk); text-decoration-thickness: 1px; text-underline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.005em;
  overflow-wrap: break-word;
}
p { overflow-wrap: break-word; }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

.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;
}

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

/* ---------- Shared bits ---------- */
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--brass);
  margin-bottom: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 30px; height: 2px;
  background: currentColor;
  display: inline-block;
}
.eyebrow--light { color: var(--brass-lt); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5); }

.coords {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brass-dk);
}

/* ---------- Buttons ---------- */
.btn {
  --btn-pad-y: 0.95rem;
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.04rem;
  letter-spacing: 0.01em;
  padding: var(--btn-pad-y) 1.7rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
              color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  line-height: 1.1;
}
.btn:hover { transform: translateY(-2px); }

/* Primary = brand marine blue, the inviting "do this" colour */
.btn--solid { background: var(--brass); color: #ffffff; box-shadow: var(--shadow-soft); }
.btn--solid:hover { background: var(--brass-dk); color: #fff; box-shadow: var(--shadow-lift); }

.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(14, 34, 56, 0.32); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(14, 34, 56, 0.05); }

.btn--big { --btn-pad-y: 1.1rem; font-size: 1.14rem; padding-inline: 2.1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid var(--paper-3);
  transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-header.is-stuck {
  background: rgba(250, 246, 238, 0.97);
  box-shadow: 0 10px 30px -22px rgba(14, 34, 56, 0.5);
}
.site-header__inner {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.7rem 0;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); flex: none; }
.brand__logo { height: clamp(54px, 6vw, 78px); width: auto; display: block; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.32rem; color: var(--ink); }

.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; gap: 1.8rem; padding: 0; }
.nav__list a {
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.02rem;
  position: relative; padding: 0.4rem 0;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--brass); transition: width 0.28s var(--ease);
}
.nav__list a:hover::after, .nav__list a:focus-visible::after { width: 100%; }

.nav__toggle {
  display: none; width: 48px; height: 48px; border: 1.5px solid rgba(14, 34, 56, 0.28);
  background: transparent; border-radius: 10px; cursor: pointer; position: relative;
}
.nav__toggle-bar, .nav__toggle-bar::before, .nav__toggle-bar::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 2px;
  background: var(--ink); transform: translate(-50%, -50%); transition: 0.25s var(--ease);
}
.nav__toggle-bar::before { transform: translate(-50%, -8px); }
.nav__toggle-bar::after  { transform: translate(-50%, 6px); }

.btn--phone {
  background: var(--ink); color: var(--paper); flex: none;
  border-radius: 999px; padding: 0.72rem 1.3rem; font-size: 1rem; font-weight: 700;
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.55rem;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
}
.btn--phone:hover { background: var(--deep); transform: translateY(-2px); }
.btn--phone__icon { color: var(--brass-lt); font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; color: #fff;
  display: flex; flex-direction: column;
  min-height: clamp(560px, 88vh, 880px);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 38%;
  filter: brightness(1.04) contrast(1.05) saturate(1.05);
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(98deg, rgba(8, 22, 36, 0.86) 0%, rgba(8, 22, 36, 0.6) 38%, rgba(8, 22, 36, 0.2) 68%, rgba(8, 22, 36, 0) 100%),
    linear-gradient(180deg, rgba(8, 22, 36, 0) 48%, rgba(8, 22, 36, 0.6) 100%);
}
.hero__inner {
  flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding-block: clamp(3rem, 9vh, 6rem);
  max-width: 820px;
}
.hero__title {
  color: #ffffff;
  font-size: clamp(2.6rem, 1.4rem + 4.8vw, 5.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.005em;
  max-width: 16ch;
  margin-bottom: 1.4rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.45);
}
.hero__lead {
  font-size: clamp(1.18rem, 1rem + 0.6vw, 1.5rem);
  max-width: 42ch; color: #f6f1e6; margin-bottom: 2.1rem; font-weight: 500;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__actions .btn--ghost { color: #fbf5e8; border-color: rgba(251, 245, 232, 0.6); }
.hero__actions .btn--ghost:hover { background: rgba(251, 245, 232, 0.14); border-color: #fbf5e8; }

.hero__strip {
  position: relative;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.95rem;
  align-items: center;
  background: var(--ink);
  background-image: var(--chart-dots);
  background-size: 22px 22px;
  color: #c7d6e8;
  padding: 1.05rem var(--gutter);
  font-size: 0.84rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700;
}
.hero__strip span:not(.dot) { color: #e7eef6; }
.hero__strip .dot { color: var(--brass-lt); }

/* ---------- Intro ---------- */
.intro { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.intro__inner { max-width: 780px; }
.intro__head {
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3.2rem);
  margin-bottom: 2.6rem;
}

.facts {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 2px solid var(--ink);
}
.facts li {
  display: flex; flex-direction: column; gap: 0.5rem;
  padding: 1.6rem 1.5rem 0;
  border-right: 1px solid var(--paper-3);
}
.facts li:last-child { border-right: 0; }
.facts__num {
  font-family: var(--font-display); font-size: clamp(2.2rem, 1.6rem + 1.4vw, 2.8rem);
  color: var(--brass); font-weight: 600; line-height: 1;
}
.facts__label { color: var(--ink-soft); font-size: 1rem; }

/* ---------- Section heads ---------- */
.section-head { max-width: 60ch; margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }
.section-head h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.2rem); margin-bottom: 1rem; }
.section-head__lead { font-size: 1.12rem; }

/* ---------- Services ---------- */
.services {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  background: var(--paper-2);
  border-block: 1px solid var(--paper-3);
}
.cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  background: var(--paper);
  border: 1px solid var(--paper-3);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(14, 34, 56, 0.04);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--brass); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: var(--brass-lt); }
.card:hover::before { transform: scaleX(1); }
.card__no {
  font-family: var(--font-display); font-weight: 600; font-style: italic;
  font-size: 1.1rem; letter-spacing: 0.02em; color: var(--brass);
}
.card h3 { font-size: 1.48rem; margin: 0.5rem 0 0.6rem; }
.card p { margin: 0; font-size: 1.04rem; }

/* ---------- Feature ---------- */
.feature { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.feature__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.feature__media { margin: 0; position: relative; }
.feature__media img {
  width: 100%; aspect-ratio: 4 / 3.05; object-fit: cover; border-radius: var(--radius);
  box-shadow: var(--shadow-lift); border: 1px solid var(--paper-3);
}
/* a small brass corner-mark, like a chart annotation */
.feature__media::after {
  content: ""; position: absolute; left: -10px; bottom: -10px;
  width: 64px; height: 64px;
  border-left: 3px solid var(--brass); border-bottom: 3px solid var(--brass);
  border-bottom-left-radius: var(--radius);
}
.feature__text h2 { font-size: clamp(1.9rem, 1.2rem + 2.3vw, 2.9rem); margin-bottom: 1.1rem; }
.feature__text p + p { margin-top: 1rem; }
.feature__text .coords { margin-top: 1.7rem; display: block; }

/* ---------- Cruising ---------- */
.cruising { padding: clamp(4.5rem, 9vw, 7.5rem) 0 0; }
.cruising__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.cruising__text h2 { font-size: clamp(1.9rem, 1.2rem + 2.3vw, 2.9rem); margin-bottom: 1.1rem; }
.places { list-style: none; padding: 0; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.places li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 0.3rem; border-bottom: 1px solid var(--paper-3);
}
.places__name { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); font-weight: 700; }
.places__note { color: var(--brass-dk); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700; }
.cruising__media { margin: clamp(3rem, 6vw, 5rem) 0 0; }
.cruising__media img { width: 100%; max-height: 540px; object-fit: cover; }

/* ---------- People ---------- */
.people {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  background: var(--paper-2);
  border-block: 1px solid var(--paper-3);
}
.roster { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--paper-3); border: 1px solid var(--paper-3); border-radius: var(--radius); overflow: hidden; }
.roster li { background: var(--paper); padding: 1.7rem 1.6rem; display: flex; flex-direction: column; gap: 0.3rem; }
.roster__name { font-family: var(--font-display); font-size: 1.4rem; color: var(--ink); font-weight: 700; }
.roster__role { color: var(--brass-dk); font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; }

/* ---------- Contact (the bold dark moment) ---------- */
.contact {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  background: var(--deep);
  background-image: var(--chart-dots);
  background-size: 24px 24px;
  color: #d7e0ea;
}
.contact .eyebrow { color: var(--brass-lt); }
.contact h2 { color: #ffffff; font-size: clamp(2rem, 1.3rem + 2.4vw, 3.2rem); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.contact__list { display: grid; gap: 1.4rem; margin: 1.9rem 0 2.3rem; }
.contact__list dt { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.18em; font-weight: 700; color: var(--brass-lt); margin-bottom: 0.25rem; }
.contact__list dd { margin: 0; font-size: 1.4rem; font-family: var(--font-display); color: #fff; line-height: 1.4; font-weight: 700; }
.contact__list dd a { color: #fff; text-decoration: none; border-bottom: 2px solid var(--brass); padding-bottom: 1px; }
.contact__list dd a:hover { color: var(--brass-lt); border-color: var(--brass-lt); }
.contact__map {
  border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-lift); min-height: 380px;
}
.contact__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: saturate(0.95) contrast(1.02); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b7c4d2; padding-top: clamp(3rem, 6vw, 5rem); }
.site-footer__inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.site-footer .brand__name { color: #ffffff; font-size: 1.55rem; display: block; margin-bottom: 0.8rem; }
.site-footer__brand p { max-width: 38ch; color: #94a3b3; }
.site-footer__nav { display: flex; flex-direction: column; gap: 0.7rem; }
.site-footer__nav a, .site-footer__contact a { color: #dbe3ec; text-decoration: none; font-weight: 700; }
.site-footer__nav a:hover, .site-footer__contact a:hover { color: var(--brass-lt); }
.site-footer__contact { display: flex; flex-direction: column; gap: 0.6rem; }
.site-footer__contact p { color: #94a3b3; margin-top: 0.3rem; font-weight: 400; }
.site-footer__base {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 1.4rem 0; font-size: 0.86rem; color: #7e8c9b;
}
.site-footer__coords { letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-lt); }

/* ---------- Services CTA (link to prices) ---------- */
.services__cta { margin-top: clamp(2.2rem, 4vw, 3.2rem); text-align: center; }

/* ---------- Footer nav column ---------- */
.site-footer__inner { grid-template-columns: 1.6fr 1fr 1.2fr; }

/* =========================================================
   Prices page
   ========================================================= */

/* Page hero — a compact navy band (no big photo) */
.page-hero {
  background: var(--deep);
  background-image: var(--chart-dots);
  background-size: 24px 24px;
  color: #d7e0ea;
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.6rem, 6vw, 4rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.page-hero__inner { max-width: 760px; }
.page-hero__title {
  color: #fff;
  font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem);
  margin-bottom: 1.1rem;
}
.page-hero__lead { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.32rem); color: #e7eef6; max-width: 54ch; margin-bottom: 2rem; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.page-hero__actions .btn--ghost { color: #fbf5e8; border-color: rgba(251, 245, 232, 0.6); }
.page-hero__actions .btn--ghost:hover { background: rgba(251, 245, 232, 0.14); border-color: #fbf5e8; }

/* Prices section */
.prices { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(4rem, 9vw, 7rem); }

.price-callout {
  background: var(--paper-2);
  border: 1px solid var(--paper-3);
  border-left: 4px solid var(--brass);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  font-size: 1.08rem;
}
.price-callout strong { color: var(--ink); }

/* Masonry-style packing so uneven cards sit tidily */
.price-grid { columns: 2; column-gap: 1.5rem; }

.price-group {
  break-inside: avoid;
  display: inline-block;   /* keeps cards whole across columns */
  width: 100%;
  margin: 0 0 1.5rem;
  background: var(--paper);
  border: 1px solid var(--paper-3);
  border-radius: var(--radius);
  padding: 1.6rem 1.6rem 1.2rem;
  box-shadow: 0 1px 2px rgba(14, 34, 56, 0.04);
}
.price-group__title {
  font-size: 1.42rem;
  margin-bottom: 0.15rem;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid var(--ink);
}
.price-group__meta {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--brass-dk);
  margin: 0.7rem 0 0.2rem;
}
.price-group__foot {
  margin-top: 0.9rem;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--ink-soft);
}

.price-list { list-style: none; padding: 0; margin: 0.6rem 0 0; }
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem 1.4rem;
  flex-wrap: wrap;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--paper-3);
}
.price-row:last-child { border-bottom: 0; }
.price-row__desc { flex: 1 1 11rem; color: var(--ink); font-weight: 600; font-size: 1.04rem; }
.price-row__val { flex: 0 0 auto; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 0.1rem; }
.price-row__amt {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: 1.24rem;
  line-height: 1.15;
  white-space: nowrap;
}
.price-row__amt--long { white-space: normal; font-size: 1.04rem; }
.price-row__amt--soft { color: var(--sea); font-weight: 700; font-size: 1.04rem; white-space: normal; }
.price-row__unit {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--brass-dk);
}

/* Payment terms */
.price-terms {
  margin-top: clamp(1rem, 3vw, 2rem);
  background: var(--paper-2);
  border: 1px solid var(--paper-3);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem);
}
.price-terms__title { font-size: 1.2rem; margin-bottom: 0.5rem; }
.price-terms p { max-width: 78ch; margin: 0; }

/* CTA */
.price-cta { margin-top: clamp(2.4rem, 5vw, 3.6rem); text-align: center; }
.price-cta p { font-size: 1.2rem; font-family: var(--font-display); color: var(--ink); font-weight: 700; margin-bottom: 1.1rem; }

@media (max-width: 780px) {
  .price-grid { columns: 1; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .feature__grid, .cruising__grid, .contact__grid { grid-template-columns: 1fr; }
  .feature__grid { gap: 2rem; }
  .feature .feature__media { order: -1; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .roster { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .site-header__inner { gap: 0.6rem; }
  .brand__logo { height: 44px; }
  .nav__toggle { display: block; order: 3; }
  .btn--phone { order: 2; margin-left: auto; }
  .nav { order: 4; margin-left: 0; }
  .nav__list {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; background: var(--paper);
    border-bottom: 1px solid var(--paper-3); padding: 0.25rem var(--gutter) 0.75rem;
    box-shadow: var(--shadow-soft);
    display: none;
  }
  .nav__list.is-open { display: flex; }
  .nav__list li { border-bottom: 1px solid var(--paper-3); }
  .nav__list li:last-child { border-bottom: 0; }
  .nav__list a { display: block; padding: 1rem 0; font-size: 1.18rem; }
  .nav__list a::after { display: none; }
  .nav.is-open .nav__toggle-bar { background: transparent; }
  .nav.is-open .nav__toggle-bar::before { transform: translate(-50%, 0) rotate(45deg); }
  .nav.is-open .nav__toggle-bar::after { transform: translate(-50%, 0) rotate(-45deg); }
}

@media (max-width: 620px) {
  .cards { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; border-top: 2px solid var(--ink); }
  .facts li {
    flex-direction: row; align-items: baseline; gap: 1rem;
    padding: 1.1rem 0.2rem; border-right: 0; border-bottom: 1px solid var(--paper-3);
  }
  .facts li:last-child { border-bottom: 0; }
  .facts__num { min-width: 4.5rem; flex: none; }
  .facts__label { flex: 1; min-width: 0; }
  .cruising__grid { gap: 1.5rem; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 1.8rem; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .btn--phone__icon { display: none; }
  .btn--phone { padding: 0.7rem 1rem; font-size: 0.95rem; }
}

@media (max-width: 460px) {
  .roster { grid-template-columns: 1fr; }
  .hero__strip { gap: 0.5rem; font-size: 0.74rem; }
}

@media (max-width: 360px) {
  .brand__logo { height: 40px; }
  .btn--phone { font-size: 0.85rem; padding: 0.65rem 0.8rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
