/* Compass Charters demo by Nuri Studio
   Direction: a well-made cruising guide to the Sounds. Warm paper, quiet serif,
   the water doing the talking. Palette + scale per docs/02 and docs/03. */

/* Self-hosted, SIL OFL 1.1 (licences in fonts/). Newsreader + Instrument Sans via Fontsource 5.3.0 */
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/newsreader-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/newsreader-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/newsreader-latin-400-italic.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/newsreader-latin-ext-400-italic.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/instrument-sans-latin-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/instrument-sans-latin-ext-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  /* palette */
  --bg: #F4F0E8;
  --surface: #FBF9F5;
  --text: #14232B;
  --muted: #58646B;
  --accent: #2D5B4E;
  --accent-ink: #ffffff;
  --accent-hover: #234A3F;
  --rule: rgb(20 35 43 / 0.12);
  --deep: #14232B;          /* dark band (text colour reused) */
  --on-deep: #F4F0E8;
  --on-deep-muted: #B9C2C6; /* 9.0:1 on --deep */

  /* type */
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --step--1: 0.8125rem;                                  /* labels */
  --step-0: clamp(1.0625rem, 1.0380rem + 0.1087vw, 1.125rem); /* 17 → 18 body */
  --step-1: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);
  --step-2: clamp(1.5rem, 1.3533rem + 0.6522vw, 1.875rem);
  --step-3: clamp(2rem, 1.6087rem + 1.7391vw, 3rem);
  --step-4: clamp(2.5rem, 1.7174rem + 3.4783vw, 4.5rem);

  /* space */
  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem; --s5: 1.5rem;
  --s6: 2rem; --s7: 3rem; --s8: 4rem; --s9: 6rem; --s10: 8rem;
  --section: clamp(4rem, 3rem + 5vw, 7.5rem);
  --gutter: clamp(1.25rem, 0.9rem + 1.6vw, 2rem);
  --container: 75rem;   /* 1200 */
  --measure: 42.5rem;   /* 680 */
  --radius: 2px;
  --bar-h: 4.25rem;     /* mobile action bar */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  font-synthesis: none;
  padding-block-end: var(--bar-h);
  overflow-x: clip;
}
@media (min-width: 60em) { body { padding-block-end: 0; } }
img { display: block; max-inline-size: 100%; block-size: auto; }
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
p { margin: 0 0 var(--s4); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; letter-spacing: -0.015em; margin: 0 0 var(--s4); text-wrap: balance; }
h1 { font-size: var(--step-4); line-height: 1.02; letter-spacing: -0.025em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
.lede { font-size: var(--step-1); line-height: 1.5; max-inline-size: var(--measure); text-wrap: pretty; }
.label {
  font-family: var(--font-body); font-size: var(--step--1); font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); margin: 0 0 var(--s3);
}
.num { font-variant-numeric: tabular-nums lining-nums; }
.skip { position: absolute; inset-inline-start: -999px; }
.skip:focus { inset-inline-start: var(--s4); inset-block-start: var(--s4); z-index: 99; background: var(--surface); padding: var(--s3) var(--s4); }
.visually-hidden { position: absolute !important; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { inline-size: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.prose { max-inline-size: var(--measure); }
.section { padding-block: var(--section); }
.section + .section { border-block-start: 1px solid var(--rule); }
.section--surface { background: var(--surface); }
.section--deep { background: var(--deep); color: var(--on-deep); border: 0 !important; }
.section--deep .label { color: var(--on-deep-muted); }
.section--deep a:not(.btn) { color: var(--on-deep); }

/* ---------- demo ribbon ---------- */
.demo-ribbon {
  background: var(--deep); color: var(--on-deep-muted);
  font-size: 0.8125rem; text-align: center; padding: 0.4rem var(--gutter); line-height: 1.4;
}
.demo-ribbon a { color: var(--on-deep); }

/* ---------- header ---------- */
.site-header {
  position: sticky; inset-block-start: 0; z-index: 20;
  background: rgb(244 240 232 / 0.94);
  backdrop-filter: saturate(1.2) blur(8px);
  border-block-end: 1px solid var(--rule);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-block-size: 3.75rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--text); text-decoration: none; }
.brand-mark { inline-size: 1.75rem; block-size: 1.75rem; flex: none; color: var(--accent); }
.brand-name { font-family: var(--font-display); font-size: 1.3rem; line-height: 1; letter-spacing: -0.01em; }
.brand-name small { display: block; font-family: var(--font-body); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-block-start: 0.2rem; }

.nav-toggle { display: none; }
.nav-btn {
  display: inline-flex; align-items: center; gap: 0.5rem; cursor: pointer;
  font-size: 0.9375rem; font-weight: 600; padding: 0.55rem 0.9rem;
  border: 1px solid var(--rule); border-radius: 999px; background: var(--surface); color: var(--text);
}
.nav-btn svg { inline-size: 1rem; block-size: 1rem; }
.nav-toggle:focus-visible + .nav-btn { outline: 3px solid var(--accent); outline-offset: 3px; }
.site-nav { display: none; }
.nav-toggle:checked ~ .site-nav {
  display: block; position: absolute; inset-inline: 0; inset-block-start: 100%;
  background: var(--bg); border-block-end: 1px solid var(--rule); padding: var(--s3) var(--gutter) var(--s5);
}
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 0.8rem 0; font-size: 1.125rem; color: var(--text); text-decoration: none; border-block-end: 1px solid var(--rule); }
.site-nav a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.site-nav .nav-call { display: none; }

@media (min-width: 60em) {
  .nav-btn { display: none; }
  .site-nav, .nav-toggle:checked ~ .site-nav { display: flex; position: static; padding: 0; border: 0; background: none; align-items: center; gap: var(--s6); }
  .site-nav ul { display: flex; gap: var(--s6); }
  .site-nav a { border: 0; padding: 0.25rem 0; font-size: 0.9875rem; }
  .site-nav a:hover { color: var(--accent); }
  .site-nav .nav-call { display: inline-flex; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-block-size: 3rem; padding: 0.75rem 1.4rem; border-radius: 999px;
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color .15s ease, color .15s ease;
}
.btn svg { inline-size: 1.1rem; block-size: 1.1rem; flex: none; }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { border-color: currentColor; color: var(--text); background: transparent; }
.btn--ghost:hover { background: var(--surface); }
.btn--light { background: var(--bg); color: var(--text); }
.btn--light:hover { background: #fff; }
.btn--ghost-light { border-color: rgb(244 240 232 / .6); color: var(--on-deep); }
.btn--ghost-light:hover { background: rgb(244 240 232 / .1); }
.btn--sm { min-block-size: 2.5rem; padding: 0.5rem 1rem; font-size: 0.9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* ---------- mobile action bar ---------- */
.action-bar {
  position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 30;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2);
  padding: var(--s2) var(--gutter) calc(var(--s2) + env(safe-area-inset-bottom));
  background: rgb(244 240 232 / 0.97); border-block-start: 1px solid var(--rule);
}
.action-bar .btn { min-block-size: 3.1rem; inline-size: 100%; padding-inline: 0.5rem; }
@media (min-width: 60em) { .action-bar { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; background: var(--deep); isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { inline-size: 100%; block-size: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgb(10 20 26 / .78) 0%, rgb(10 20 26 / .35) 45%, rgb(10 20 26 / .05) 75%);
}
.hero .wrap { min-block-size: max(30rem, calc(100svh - 6rem - var(--bar-h))); display: flex; flex-direction: column; justify-content: flex-end; padding-block: var(--s9) var(--s6); }
@media (min-width: 60em) { .hero .wrap { min-block-size: min(86svh, 52rem); padding-block-end: var(--s7); } }
.hero .label { color: rgb(255 255 255 / .86); }
.hero h1 { max-inline-size: 13ch; color: #fff; }
.hero .lede { color: rgb(255 255 255 / .9); max-inline-size: 34rem; }
.hero-season { display: inline-flex; align-items: center; gap: 0.5rem; margin-block-start: var(--s5); font-size: 0.9375rem; color: rgb(255 255 255 / .88); }
.hero-season::before { content: ""; inline-size: .5rem; block-size: .5rem; border-radius: 50%; background: #9CD3B8; }
.hero .btn--ghost { color: #fff; border-color: rgb(255 255 255 / .7); }
.hero .btn--ghost:hover { background: rgb(255 255 255 / .12); }

.hero-tiles { display: none; }
@media (min-width: 60em) {
  .hero .wrap { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: var(--s7); }
  .hero-copy { flex: 1 1 auto; }
  .hero-tiles { display: grid; grid-template-columns: repeat(3, 8.5rem); gap: var(--s3); flex: none; }
  .hero-tiles a { color: #fff; text-decoration: none; font-size: 0.875rem; }
  .hero-tiles img { aspect-ratio: 4 / 5; object-fit: cover; inline-size: 100%; border-radius: var(--radius); margin-block-end: 0.4rem; outline: 1px solid rgb(255 255 255 / .25); }
  .hero-tiles span { display: block; color: rgb(255 255 255 / .75); font-size: 0.8125rem; }
}

/* ---------- intro ---------- */
.intro-grid { display: grid; gap: var(--s6); }
.intro-quote {
  font-family: var(--font-display); font-style: italic; font-size: var(--step-2); line-height: 1.3; margin: 0;
  max-inline-size: 30ch; text-wrap: pretty;
}
.intro-quote footer { font-family: var(--font-body); font-size: 0.875rem; color: var(--muted); margin-block-start: var(--s4); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s5) var(--s4); margin: var(--s6) 0 0; padding: var(--s5) 0 0; border-block-start: 1px solid var(--rule); }
.facts dt { font-size: var(--step--1); font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0.2rem 0 0; font-family: var(--font-display); font-size: var(--step-1); line-height: 1.25; }
@media (min-width: 60em) {
  .intro-grid { grid-template-columns: 1.1fr 1fr; gap: var(--s9); align-items: start; }
  .facts { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- boat types ---------- */
.types { display: grid; gap: var(--s7); margin-block-start: var(--s7); }
.type { display: grid; gap: var(--s4); }
.type img { inline-size: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.type h3 { margin-block-end: var(--s2); }
.type p { color: var(--text); }
.type .price { font-family: var(--font-display); font-size: var(--step-1); margin-block-end: var(--s3); }
.type .price small { font-family: var(--font-body); font-size: 0.875rem; color: var(--muted); }
.more { font-weight: 600; text-decoration: none; display: inline-flex; gap: .35rem; align-items: center; }
.more::after { content: "→"; transition: transform .15s ease; }
.more:hover::after { transform: translateX(3px); }
@media (min-width: 48em) { .types { grid-template-columns: repeat(3, 1fr); gap: var(--s6); } }
.skippered-note { margin-block-start: var(--s7); padding: var(--s5); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); display: grid; gap: var(--s2); }
@media (min-width: 48em) { .skippered-note { grid-template-columns: 1fr auto; align-items: center; gap: var(--s5); } }
.skippered-note p { margin: 0; }

/* ---------- full-bleed strip ---------- */
.strip { position: relative; margin: 0; }
.strip img { inline-size: 100%; block-size: clamp(16rem, 55vw, 36rem); object-fit: cover; }
.strip figcaption { position: absolute; inset-inline-start: var(--gutter); inset-block-end: var(--s4); color: #fff; font-size: 0.8125rem; letter-spacing: .06em; text-shadow: 0 1px 8px rgb(0 0 0 / .6); }

/* ---------- themes ---------- */
.themes { list-style: none; padding: 0; margin: var(--s6) 0 0; display: grid; gap: 0; counter-reset: t; }
.themes li { padding-block: var(--s5); border-block-start: 1px solid var(--rule); display: grid; gap: var(--s2); }
.themes h3 { font-size: var(--step-1); margin: 0; }
.themes p { margin: 0; color: var(--muted); }
@media (min-width: 48em) { .themes { grid-template-columns: repeat(2, 1fr); column-gap: var(--s7); } }
@media (min-width: 60em) { .themes { grid-template-columns: repeat(4, 1fr); column-gap: var(--s6); } }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: var(--s6) 0 0; display: grid; gap: var(--s5); counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.5rem 1fr; gap: var(--s4); align-items: start; }
.steps li::before {
  content: counter(step); font-family: var(--font-display); font-size: 1.25rem;
  inline-size: 2.5rem; block-size: 2.5rem; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--accent); color: var(--accent);
}
.steps h3 { font-size: var(--step-1); margin-block-end: var(--s1); }
.steps p { margin: 0; color: var(--muted); }
@media (min-width: 60em) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s6); } .steps li { grid-template-columns: 1fr; } }

/* ---------- seasons table ---------- */
.seasons { inline-size: 100%; border-collapse: collapse; margin-block-start: var(--s5); font-size: 0.9875rem; }
.seasons th, .seasons td { text-align: start; padding: 0.8rem 0.5rem 0.8rem 0; border-block-end: 1px solid var(--rule); vertical-align: top; }
.seasons th { font-weight: 600; white-space: nowrap; }
.seasons td:last-child { color: var(--muted); white-space: nowrap; }

/* ---------- where ---------- */
.where-grid { display: grid; gap: var(--s6); }
.where-grid img { inline-size: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 60em) { .where-grid { grid-template-columns: 1fr 1fr; gap: var(--s9); align-items: center; } }
.places { list-style: none; padding: 0; margin: var(--s5) 0 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.places li { font-size: 0.875rem; padding: 0.35rem 0.75rem; border: 1px solid var(--rule); border-radius: 999px; background: var(--surface); }

/* ---------- testimonials ---------- */
.quotes { display: grid; gap: var(--s7); margin-block-start: var(--s6); }
.quotes blockquote { margin: 0; }
.quotes blockquote p { font-family: var(--font-display); font-style: italic; font-size: var(--step-1); line-height: 1.4; }
.quotes blockquote:first-child p { font-size: var(--step-2); line-height: 1.3; }
.quotes footer { font-size: 0.875rem; color: var(--on-deep-muted); }
.quotes footer { letter-spacing: .02em; }
@media (min-width: 60em) { .quotes { grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s7); align-items: start; } }

/* ---------- offers ---------- */
.offers { display: grid; gap: var(--s4); margin-block-start: var(--s6); }
.offer { padding: var(--s5); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); }
.offer .big { font-family: var(--font-display); font-size: var(--step-3); line-height: 1; margin-block-end: var(--s2); color: var(--accent); }
.offer h3 { font-size: var(--step-1); margin-block-end: var(--s2); }
.offer p { margin: 0; color: var(--muted); font-size: 0.9875rem; }
@media (min-width: 48em) { .offers { grid-template-columns: repeat(3, 1fr); } }

/* ---------- CTA band ---------- */
.cta-band h2 { max-inline-size: 18ch; }
.cta-band .lede { color: var(--on-deep-muted); }
.cta-phones { display: grid; gap: var(--s2); margin-block-start: var(--s6); font-size: 0.9875rem; color: var(--on-deep-muted); }
.cta-phones a { font-weight: 600; }

/* ---------- fleet page ---------- */
.page-head { padding-block: var(--s8) var(--s6); }
.page-head .lede { color: var(--muted); }
.jump { display: flex; gap: var(--s2); flex-wrap: wrap; margin-block-start: var(--s5); }
.jump a { font-size: 0.9375rem; font-weight: 600; text-decoration: none; padding: 0.5rem 0.95rem; border: 1px solid var(--rule); border-radius: 999px; background: var(--surface); color: var(--text); }
.jump a:hover { border-color: var(--accent); color: var(--accent); }
.fleet-group { scroll-margin-block-start: 5rem; }
.group-head { display: grid; gap: var(--s2); margin-block-end: var(--s6); }
.group-head p { color: var(--muted); max-inline-size: var(--measure); margin: 0; }
.boats { display: grid; gap: var(--s6); }
@media (min-width: 40em) { .boats { grid-template-columns: repeat(2, 1fr); gap: var(--s6) var(--s5); } }
@media (min-width: 64em) { .boats { grid-template-columns: repeat(3, 1fr); } }
.boat { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; scroll-margin-block-start: 5rem; }
.boat img { inline-size: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: #DCD6CB; }
.boat-body { padding: var(--s5); display: flex; flex-direction: column; gap: var(--s3); flex: 1; }
.boat h3 { margin: 0; font-size: var(--step-2); }
.boat .label { margin: 0; }
.boat-note { color: var(--muted); font-size: 0.9375rem; margin: 0; }
.boat-rates { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin: auto 0 0; padding-block-start: var(--s4); border-block-start: 1px solid var(--rule); }
.boat-rates dt { font-size: 0.75rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.boat-rates dd { margin: 0.15rem 0 0; font-family: var(--font-display); font-size: 1.375rem; line-height: 1.2; }
.boat-rates dd small { font-family: var(--font-body); font-size: 0.8125rem; color: var(--muted); }
.boat-people { grid-column: 1 / -1; }
.boat-people dd { font-family: var(--font-body); font-size: 1rem; }
.boat-enquire { margin-block-start: var(--s2); }

.voila { display: grid; gap: 0; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.voila img { inline-size: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.voila .boat-body { padding: var(--s6); }
@media (min-width: 60em) { .voila { grid-template-columns: 1fr 1fr; } .voila img { block-size: 100%; aspect-ratio: auto; } }

.table-scroll { overflow-x: auto; }
.rates-table { inline-size: 100%; border-collapse: collapse; font-size: 0.9375rem; margin-block-start: var(--s4); }
.rates-table th, .rates-table td { padding: 0.7rem 0.75rem 0.7rem 0; border-block-end: 1px solid var(--rule); text-align: start; }
.rates-table thead th { font-size: 0.75rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.rates-table td.num { white-space: nowrap; }

.two-col { display: grid; gap: var(--s7); }
@media (min-width: 60em) { .two-col { grid-template-columns: 1fr 1fr; gap: var(--s9); } }
.plain-list { margin: var(--s4) 0 0; padding: 0; list-style: none; }
.plain-list li { padding-block: 0.65rem; border-block-end: 1px solid var(--rule); display: flex; justify-content: space-between; gap: var(--s4); }
.plain-list li span:last-child { text-align: end; color: var(--muted); white-space: nowrap; }
.small { font-size: 0.875rem; color: var(--muted); }

/* ---------- contact page ---------- */
.contact-grid { display: grid; gap: var(--s8); }
@media (min-width: 60em) { .contact-grid { grid-template-columns: 1fr 1.15fr; gap: var(--s9); } }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding-block: var(--s4); border-block-end: 1px solid var(--rule); }
.contact-list .label { margin-block-end: var(--s1); }
.contact-list a.big { font-family: var(--font-display); font-size: var(--step-2); text-decoration: none; color: var(--text); }
.contact-list a.big:hover { color: var(--accent); }
address { font-style: normal; }
.form { display: grid; gap: var(--s4); background: var(--surface); border: 1px solid var(--rule); padding: var(--s6) var(--s5); border-radius: var(--radius); }
.field { display: grid; gap: var(--s1); }
.field label, .field legend { font-weight: 600; font-size: 0.9375rem; }
.field .hint { font-size: 0.8125rem; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text); background: #fff;
  border: 1px solid #A9B0B3; border-radius: var(--radius); padding: 0.7rem 0.8rem; inline-size: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.field [aria-invalid="true"] { border-color: #A3302A; }
.field .error { color: #A3302A; font-size: 0.8125rem; min-block-size: 1em; }
.row-2 { display: grid; gap: var(--s4); }
@media (min-width: 30em) { .row-2 { grid-template-columns: 1fr 1fr; } }
.form-success { display: none; padding: var(--s5); border: 1px solid var(--accent); background: #E6EEEA; border-radius: var(--radius); }
.form.is-sent .form-fields { display: none; }
.form.is-sent .form-success { display: block; }

/* ---------- footer ---------- */
.site-footer { background: var(--deep); color: var(--on-deep-muted); padding-block: var(--s8) var(--s6); font-size: 0.9375rem; }
.site-footer a { color: var(--on-deep); }
.footer-grid { display: grid; gap: var(--s6); }
@media (min-width: 48em) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h2 { font-size: var(--step-1); color: var(--on-deep); margin-block-end: var(--s3); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.footer-base { margin-block-start: var(--s7); padding-block-start: var(--s5); border-block-start: 1px solid rgb(244 240 232 / .15); display: flex; flex-wrap: wrap; gap: var(--s3) var(--s6); justify-content: space-between; font-size: 0.8125rem; }

/* grid children may shrink below content width */
.two-col > *, .intro-grid > *, .where-grid > *, .contact-grid > *, .footer-grid > * { min-inline-size: 0; }
@media (max-width: 29.99em) { .seasons td:last-child { white-space: normal; } .seasons th, .seasons td { padding-inline-end: 0.4rem; } }
@media (max-width: 29.99em) { .plain-list li span:last-child { white-space: normal; } }

/* header call button: beat the generic .site-nav a padding/colour rules */
.site-nav a.nav-call { padding: 0.55rem 1.15rem; color: var(--accent-ink); border: 0; white-space: nowrap; }
.site-nav a.nav-call:hover { color: var(--accent-ink); background: var(--accent-hover); }

/* enquiry form: space the button and helper line, and stop the card stretching to the column height */
.form { align-self: start; }
.form-fields { display: grid; gap: var(--s4); }
.form-fields h2 { margin-block-end: 0; }
.form-fields .btn { justify-self: start; margin-block-start: var(--s3); padding-inline: 1.6rem; }
.form-fields .btn + .small { margin-block-start: calc(-1 * var(--s1)); }
.field .error:empty { min-block-size: 0; }

/* ---------- mobile polish pass ---------- */
/* action-bar space lives in the footer, so the page ends on the dark footer, not a light strip */
body { padding-block-end: 0; }
.site-footer { border-block-start: 1px solid rgb(244 240 232 / .12); padding-block-end: calc(var(--s6) + var(--bar-h) + env(safe-area-inset-bottom)); }
@media (min-width: 60em) { .site-footer { padding-block-end: var(--s6); } }
/* CTA band: "Free phone in NZ: 0800..." on one line, and less dead space before the footer */
.cta-phones { display: block; }
.cta-band { padding-block-end: var(--s8); }
/* seasons table: stack dates under the season name on small screens so nothing wraps mid-phrase */
@media (max-width: 29.99em) {
  .seasons tr { display: grid; grid-template-columns: 1fr auto; column-gap: var(--s4); padding-block: 0.7rem; border-block-end: 1px solid var(--rule); }
  .seasons th, .seasons td { border: 0; padding: 0; }
  .seasons td:nth-child(2) { grid-column: 1; }
  .seasons td:last-child { grid-column: 2; grid-row: 1 / span 2; align-self: center; white-space: nowrap; text-align: end; }
  .quotes blockquote:not(:first-child) p { font-size: 1.125rem; }
}
