/* ==========================================================================
   LINEUP SUPPLY: STYLESHEET
   Bone canvas, ink type, full-bleed black feature sections.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bone: #F2EDE4;
  --bone-2: #E8E1D5;
  --bone-3: #DCD3C4;
  --ink: #141414;
  --ink-2: #3A3733;
  --ink-3: #655F56;
  --black: #0B0B0B;
  --black-2: #171717;
  --well: #2A2A2A;

  --green: #2F7D4F;
  --blue: #2B5F9E;
  --amber: #925D1C; /* darkened from #B8792B to clear 4.5:1 against white chip text */
  --grey: #6B665E; /* darkened from #8A857D to clear 4.5:1 against white chip text */

  --line: rgba(20, 20, 20, 0.14);
  --line-dark: rgba(242, 237, 228, 0.16);

  --max: 1320px;
  --gut: clamp(1.25rem, 4vw, 3.5rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.7s;

  --font: "Archivo", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  --display: "Archivo", "Franklin Gothic Medium", "Arial Black", Impact, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  font-family: var(--font);
  background: var(--bone);
  color: var(--ink);
  line-height: 1.55;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--bone); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--bone); padding: 0.9rem 1.4rem; font-weight: 700;
}
.skip:focus { left: 0; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(4rem, 10vw, 9rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.on-dark { background: var(--black); color: var(--bone); }
.on-dark .eyebrow { color: rgba(242, 237, 228, 0.55); }
.on-dark .rule { background: var(--line-dark); }
.on-dark .lede { color: rgba(242, 237, 228, 0.72); }

/* ---------- Type ---------- */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 1.75rem; height: 1px;
  background: currentColor;
  opacity: 0.6;
  flex: none;
}

h1, h2, h3, h4 { font-family: var(--display); font-weight: 900; line-height: 0.94; letter-spacing: -0.03em; text-transform: uppercase; }
.h-xl { font-size: clamp(2.75rem, 9vw, 7.5rem); }
.h-lg { font-size: clamp(2.1rem, 6vw, 5rem); }
.h-md { font-size: clamp(1.6rem, 3.4vw, 2.9rem); }
.h-sm { font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: -0.02em; }

.lede {
  font-size: clamp(1.02rem, 1.5vw, 1.28rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 62ch;
  font-weight: 400;
}
.muted { color: var(--ink-3); }
.rule { height: 1px; background: var(--line); border: 0; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--bone);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.7rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  border-radius: 999px;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  min-height: 48px;
}
.btn::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: var(--ink-2);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(20,20,20,0.18); }
.btn:hover::after { transform: translateY(0); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost::after { background: var(--ink); }
.btn--ghost:hover { --btn-fg: var(--bone); }

.on-dark .btn { --btn-bg: var(--bone); --btn-fg: var(--ink); }
.on-dark .btn::after { background: #fff; }
.on-dark .btn--ghost { --btn-bg: transparent; --btn-fg: var(--bone); box-shadow: inset 0 0 0 1.5px rgba(242,237,228,0.5); }
.on-dark .btn--ghost::after { background: var(--bone); }
.on-dark .btn--ghost:hover { --btn-fg: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Text link with animated underline */
.tlink {
  position: relative;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-block: 0.35rem;
}
.tlink::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.tlink:hover::after { transform: scaleX(0); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(242, 237, 228, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  height: clamp(66px, 8vw, 84px);
}
.brand { display: flex; align-items: center; gap: 0.7rem; flex: none; }
.brand img {
  width: 42px; height: 42px; border-radius: 50%;
  object-fit: cover;
  mix-blend-mode: multiply;
}
.brand-name {
  font-family: var(--display);
  font-weight: 900; font-size: 1.02rem;
  letter-spacing: -0.01em; text-transform: uppercase; line-height: 1;
}
.brand-name span { display: block; font-size: 0.6rem; letter-spacing: 0.34em; font-weight: 600; color: var(--ink-3); margin-top: 2px; }

.nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.2vw, 2.1rem); }
.nav a {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  position: relative; padding-block: 0.4rem;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 0.6rem; }
.header-cta .btn { padding: 0.72rem 1.25rem; font-size: 0.72rem; min-height: 42px; }

.burger {
  display: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.burger span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: background 0.2s; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink);
  transition: transform 0.4s var(--ease);
}
.burger span::before { top: -5.5px; }
.burger span::after { top: 5.5px; }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { transform: translateY(5.5px) rotate(45deg); }
body.menu-open .burger span::after { transform: translateY(-5.5px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 99;
  background: var(--black); color: var(--bone);
  padding: clamp(6rem, 14vw, 8rem) var(--gut) 2.5rem;
  display: flex; flex-direction: column; justify-content: space-between;
  transform: translateY(-100%);
  transition: transform 0.6s var(--ease);
  overflow-y: auto;
  visibility: hidden;
}
body.menu-open .drawer { transform: translateY(0); visibility: visible; }
.drawer-nav { display: flex; flex-direction: column; gap: 0.35rem; }
.drawer-nav a {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2rem, 10vw, 3.4rem); line-height: 1.06; letter-spacing: -0.03em;
  padding-block: 0.32rem;
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.25s;
  display: flex; align-items: baseline; gap: 0.8rem;
}
.drawer-nav a small { font-family: var(--font); font-size: 0.62rem; letter-spacing: 0.2em; opacity: 0.45; font-weight: 700; }
body.menu-open .drawer-nav a { opacity: 1; transform: translateY(0); }
body.menu-open .drawer-nav a:nth-child(1) { transition-delay: 0.10s; }
body.menu-open .drawer-nav a:nth-child(2) { transition-delay: 0.16s; }
body.menu-open .drawer-nav a:nth-child(3) { transition-delay: 0.22s; }
body.menu-open .drawer-nav a:nth-child(4) { transition-delay: 0.28s; }
body.menu-open .drawer-nav a:nth-child(5) { transition-delay: 0.34s; }
body.menu-open .drawer-nav a:nth-child(6) { transition-delay: 0.40s; }
.drawer-nav a:hover { color: rgba(242, 237, 228, 0.6); }
.drawer-foot { display: flex; flex-direction: column; gap: 1rem; padding-top: 2rem; border-top: 1px solid var(--line-dark); }
.drawer-foot a { font-size: 0.95rem; font-weight: 600; }
.drawer-foot .btn-row { margin-top: 0.4rem; }
body.menu-open { overflow: hidden; }

/* The header sits above the drawer, so flip it to light-on-dark while open. */
body.menu-open .site-header {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
body.menu-open .brand-name { color: var(--bone); }
body.menu-open .brand-name span { color: rgba(242, 237, 228, 0.55); }
body.menu-open .brand img { mix-blend-mode: normal; filter: invert(1); }
body.menu-open .burger { box-shadow: inset 0 0 0 1.5px rgba(242, 237, 228, 0.45); }
body.menu-open .burger span::before,
body.menu-open .burger span::after { background: var(--bone); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(3.5rem, 9vw, 7rem) clamp(2.5rem, 5vw, 4rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: end; }
.hero h1 { margin-block: 1.4rem 0; }
.hero h1 .ln { display: block; overflow: hidden; }
.hero h1 .ln > span { display: block; transform: translateY(105%); transition: transform 1s var(--ease); }
.hero.is-in h1 .ln > span { transform: translateY(0); }
.hero h1 .ln:nth-child(2) > span { transition-delay: 0.09s; }
.hero h1 .ln:nth-child(3) > span { transition-delay: 0.18s; }
.hero-sub { display: grid; grid-template-columns: 1fr; gap: 1.6rem; align-items: end; margin-top: clamp(1.8rem, 3vw, 2.6rem); }
.hero-mark { position: absolute; right: calc(var(--gut) * -0.2); top: 8%; width: clamp(180px, 30vw, 420px); opacity: 0.055; pointer-events: none; }
.hero-mark svg { width: 100%; height: auto; }

@media (min-width: 900px) {
  .hero-sub { grid-template-columns: 1.15fr 1fr; gap: 3rem; }
}

/* Marquee */
.marquee {
  border-block: 1px solid var(--line);
  padding-block: 0.85rem;
  overflow: hidden;
  display: flex;
  user-select: none;
}
.on-dark .marquee { border-color: var(--line-dark); }
.marquee-track { display: flex; flex: none; gap: 2.4rem; padding-right: 2.4rem; animation: slide 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(0.92rem, 1.5vw, 1.15rem); letter-spacing: 0.01em;
  display: flex; align-items: center; gap: 2.4rem; white-space: nowrap;
}
.marquee span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.4; }
@keyframes slide { to { transform: translateX(-100%); } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }

/* Word-by-word reveal */
.words .w { display: inline-block; overflow: hidden; vertical-align: top; }
.words .w > i {
  display: inline-block; font-style: normal;
  transform: translateY(105%);
  transition: transform 0.85s var(--ease);
}
.words.is-in .w > i { transform: translateY(0); }

/* ---------- Section head ---------- */
.sec-head { display: grid; gap: 1.1rem; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.sec-head .lede { margin-top: 0.2rem; }
@media (min-width: 860px) {
  .sec-head--split { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 2.5rem; }
  .sec-head--split .lede { margin-top: 0; }
}

/* ---------- Board cards ---------- */
/* Boards read as wide rows: photo column on the left, details beside it.
   Two rows per line once there is room for both to stay legible. */
.board-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.75rem, 1.4vw, 1.1rem);
}
@media (min-width: 730px)  { .board-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1240px) { .board-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.board {
  display: grid;
  grid-template-columns: clamp(116px, 31%, 168px) minmax(0, 1fr);
  align-items: stretch;
  min-height: 232px;
  background: var(--bone);
  /* Cards keep a light surface even inside an .on-dark section, so pin the
     text colour rather than inheriting the section's bone foreground. */
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}
.board:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(20,20,20,0.13); border-color: rgba(20,20,20,0.28); }
/* Portrait well sized for whole surfboards. The image is never cropped;
   `contain` fits it entirely, and a blurred copy of the same photo fills the
   letterbox so any background colour blends instead of banding. */
.board-media {
  position: relative;
  height: 100%;
  min-height: 100%;
  background: var(--well);
  overflow: hidden;
}
/* The column is narrower than the photo, so the crop takes only the empty
   background at the sides, so the board itself stays complete nose to tail. */
.board-media img {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s var(--ease), filter 0.5s;
}
.board:hover .board-media img { transform: scale(1.04); }
.board.is-sold .board-media img { filter: grayscale(1) brightness(0.62); }

/* Status chips sit at the top of the detail column, not over the photo;
   consistent position makes availability scannable down a long list. */
.chips { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.15rem; }
.chip {
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.34rem 0.6rem; border-radius: 999px;
  background: var(--bone); color: var(--ink);
  display: inline-flex; align-items: center; gap: 0.34rem;
  line-height: 1;
}
.chip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex: none; }
.chip--stock { background: var(--green); color: #fff; }
.chip--hire { background: var(--blue); color: #fff; }
.chip--new { background: var(--amber); color: #fff; }
.chip--sold { background: var(--grey); color: #fff; }
.chip--repaired { background: var(--bone-3); color: var(--ink-2); }

.board-body {
  padding: clamp(0.7rem, 1.1vw, 1rem);
  display: flex; flex-direction: column; gap: 0.4rem;
  /* Centre the detail block against the tall photo instead of stranding the
     price at the bottom of a mostly empty column. */
  justify-content: center;
  min-width: 0;
}
.board-brand { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.board-name { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 0.95rem; line-height: 1.06; letter-spacing: -0.02em; }
/* Spec block. Fills the detail column with structured, scannable numbers
   instead of one run-on dimension string. */
.spec {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 0.7rem;
  margin-block: 0.1rem;
  padding-block: 0.55rem;
  border-block: 1px solid var(--line);
}
.spec > div { display: grid; gap: 1px; min-width: 0; }
.spec dt {
  font-size: 0.58rem; font-weight: 800; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--ink-3); white-space: nowrap;
}
.spec dd { font-size: 0.9rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.board-note { font-size: 0.76rem; color: var(--ink-3); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.board-foot { margin-top: 0.25rem; padding-top: 0.6rem; border-top: 1px solid var(--line); display: flex; align-items: flex-end; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; }
.board-price { font-family: var(--display); font-weight: 900; font-size: 1.28rem; letter-spacing: -0.03em; line-height: 1; }
.board-hire { font-size: 0.68rem; color: var(--ink-3); letter-spacing: 0.04em; margin-top: 0.28rem; }
.board-cta {
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.6rem 0.85rem; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--ink);
  transition: background 0.3s, color 0.3s; white-space: nowrap; flex: none;
  min-height: 38px; display: inline-flex; align-items: center;
}
.board-cta:hover { background: var(--ink); color: var(--bone); }
.board.is-sold .board-cta { box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink-3); pointer-events: none; }
.board.is-sold .board-price { color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 2px; }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: flex-end; justify-content: space-between; margin-bottom: 2rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.filter-group { display: flex; flex-direction: column; gap: 0.6rem; }
.filter-group > span { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.pills { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.pill {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.55rem 0.95rem; border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px var(--line);
  transition: box-shadow 0.25s, background 0.25s, color 0.25s;
  min-height: 38px;
}
.pill:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.pill[aria-pressed="true"] { background: var(--ink); color: var(--bone); box-shadow: inset 0 0 0 1.5px var(--ink); }
.sortbar { display: flex; align-items: center; gap: 0.6rem; }
.sortbar label { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.sortbar select {
  border: 0; box-shadow: inset 0 0 0 1.5px var(--line); border-radius: 999px;
  padding: 0.62rem 1rem; font-size: 0.76rem; font-weight: 700; background: transparent;
  min-height: 40px; cursor: pointer;
}
.count { font-size: 0.8rem; color: var(--ink-3); margin-bottom: 1.2rem; }
.count b { color: var(--ink); font-weight: 800; }
.empty { padding: 4rem 1rem; text-align: center; color: var(--ink-3); border: 1px dashed var(--line); border-radius: 4px; }

/* ---------- Services sequence ---------- */
.svc { display: grid; gap: 2rem; }
@media (min-width: 940px) { .svc { grid-template-columns: 300px 1fr; gap: 4rem; align-items: start; } }
.svc-nav { display: flex; flex-direction: row; gap: 0.5rem; flex-wrap: wrap; }
@media (min-width: 940px) {
  .svc-nav { flex-direction: column; position: sticky; top: 120px; gap: 0; }
}
.svc-nav button {
  display: flex; align-items: baseline; gap: 0.85rem;
  padding: 0.85rem 0; text-align: left; width: 100%;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1rem, 2vw, 1.35rem); letter-spacing: -0.02em; line-height: 1.1;
  color: rgba(242,237,228,0.42);
  transition: color 0.35s, padding-left 0.35s var(--ease);
}
.svc-nav button small { font-family: var(--font); font-size: 0.62rem; letter-spacing: 0.16em; font-weight: 700; opacity: 0.7; }
.svc-nav button:hover { color: rgba(242,237,228,0.75); }
.svc-nav button[aria-selected="true"] { color: var(--bone); padding-left: 0.7rem; }
@media (max-width: 939px) {
  .svc-nav button { width: auto; border-bottom: 0; padding: 0.55rem 0.9rem; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line-dark); font-size: 0.78rem; }
  .svc-nav button[aria-selected="true"] { padding-left: 0.9rem; background: var(--bone); color: var(--ink); }
}
.svc-panel { display: none; }
.svc-panel.is-active { display: grid; gap: 1.4rem; animation: fadeUp 0.65s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.svc-panel h3 { font-size: clamp(1.8rem, 5vw, 3.6rem); }
.svc-panel .lede { color: rgba(242,237,228,0.75); }
.svc-points { display: grid; gap: 0.8rem; margin-top: 0.4rem; }
/* Defaults to ink so the list works in a light section; the dark override
   below handles it inside .on-dark. */
.svc-points li { display: flex; gap: 0.85rem; align-items: flex-start; font-size: 0.95rem; color: var(--ink-2); }
.svc-points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-top: 0.55rem; flex: none; opacity: 0.6; }
.on-dark .svc-points li { color: rgba(242, 237, 228, 0.82); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
@media (min-width: 780px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.on-dark .stats { background: var(--line-dark); border-color: var(--line-dark); }
.stat { background: var(--bone); padding: clamp(1.6rem, 3.5vw, 2.6rem) clamp(1rem, 2vw, 1.6rem); display: grid; gap: 0.45rem; }
.on-dark .stat { background: var(--black); }
.stat-n { font-family: var(--display); font-weight: 900; font-size: clamp(2.4rem, 7vw, 4.6rem); line-height: 0.9; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.stat-l { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.on-dark .stat-l { color: rgba(242,237,228,0.5); }

/* ---------- Calculator ---------- */
.calc { display: grid; gap: 1.6rem; border: 1px solid var(--line); border-radius: 4px; padding: clamp(1.4rem, 3vw, 2.4rem); background: var(--bone-2); }
@media (min-width: 820px) { .calc { grid-template-columns: 1fr 1fr; gap: 2.6rem; align-items: center; } }
.calc-field { display: grid; gap: 0.6rem; }
.calc-field label { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.calc-field select {
  width: 100%; border: 0; box-shadow: inset 0 0 0 1.5px var(--line); border-radius: 4px;
  padding: 0.95rem 1rem; font-size: 0.95rem; font-weight: 600; background: var(--bone);
  min-height: 50px; cursor: pointer;
}
.calc-out { display: grid; gap: 0.9rem; }
.calc-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--line); }
.calc-row:last-child { border-bottom: 0; padding-bottom: 0; }
.calc-row dt { font-size: 0.78rem; color: var(--ink-2); }
.calc-row dd { font-family: var(--display); font-weight: 900; font-size: 1.5rem; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.calc-row--hero dd { font-size: 2.2rem; }
.calc-note { font-size: 0.76rem; color: var(--ink-3); line-height: 1.55; }

/* ---------- Repair price guide ---------- */
.pricelist { border-top: 1px solid var(--line); }
.on-dark .pricelist { border-color: var(--line-dark); }
.price-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  padding-block: clamp(0.9rem, 2vw, 1.35rem);
  border-bottom: 1px solid var(--line);
}
.on-dark .price-row { border-color: var(--line-dark); }
.price-job { min-width: 0; flex: 1 1 16rem; }
.price-job h3 {
  font-size: clamp(1rem, 1.9vw, 1.25rem); line-height: 1.15;
  margin-bottom: 0.3rem;
}
.price-job p { font-size: 0.88rem; color: var(--ink-3); line-height: 1.5; max-width: 52ch; }
.on-dark .price-job p { color: rgba(242, 237, 228, 0.6); }
.price-val {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(1.1rem, 2vw, 1.45rem); letter-spacing: -0.03em;
  white-space: nowrap; flex: none;
  font-variant-numeric: tabular-nums;
}
/* Shown until a real starting price is entered in data.js */
.price-val--ask {
  font-family: var(--font); font-weight: 700;
  font-size: 0.76rem; letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--ink-3);
}
.on-dark .price-val--ask { color: rgba(242, 237, 228, 0.55); }

.turnaround {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.76rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.55rem 1rem; border-radius: 999px;
  background: var(--ink); color: var(--bone);
}
.on-dark .turnaround { background: var(--bone); color: var(--ink); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--bone); padding: clamp(1.5rem, 3vw, 2.2rem); display: grid; gap: 0.7rem; align-content: start; }
.step-n { font-family: var(--display); font-weight: 900; font-size: 2.6rem; line-height: 1; letter-spacing: -0.04em; color: #8F8069; }
.step h3 { font-size: 1.12rem; }
.step p { font-size: 0.9rem; color: var(--ink-2); line-height: 1.6; }

/* ---------- Feature split ---------- */
.split { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--flip .split-media { order: 2; } }
/* Matches the 3:4 board photography, so feature images are not centre-cropped
   down to a middle band of the board. */
.split-media { position: relative; border-radius: 4px; overflow: hidden; background: var(--well); aspect-ratio: 3 / 4; max-height: 560px; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-body { display: grid; gap: 1.2rem; align-content: start; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.on-dark .faq { border-color: var(--line-dark); }
.faq-item { border-bottom: 1px solid var(--line); }
.on-dark .faq-item { border-color: var(--line-dark); }
.faq-q {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
  padding: clamp(1.1rem, 2.4vw, 1.7rem) 0; text-align: left;
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1rem, 2.2vw, 1.5rem); line-height: 1.15; letter-spacing: -0.02em;
  transition: opacity 0.25s;
}
.faq-q:hover { opacity: 0.62; }
.faq-ic { position: relative; width: 20px; height: 20px; flex: none; margin-top: 0.2rem; }
.faq-ic::before, .faq-ic::after {
  content: ""; position: absolute; top: 50%; left: 0; width: 20px; height: 1.8px; background: currentColor;
  transition: transform 0.45s var(--ease);
}
.faq-ic::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-ic::after { transform: rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-q[aria-expanded="true"] + .faq-a { grid-template-rows: 1fr; }
.faq-a p { padding-bottom: 1.5rem; max-width: 72ch; color: var(--ink-2); font-size: 0.98rem; line-height: 1.65; }
.on-dark .faq-a p { color: rgba(242,237,228,0.72); }

/* ---------- Contact cards ---------- */
.contact-grid { display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: 4px; overflow: hidden; }
@media (min-width: 760px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.ccard {
  background: var(--black);
  /* These cards are always dark, even inside a light section, so set the
     foreground explicitly rather than inheriting the page's ink colour. */
  color: var(--bone);
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
  display: grid; gap: 0.55rem; align-content: start;
  transition: background 0.35s;
  min-height: 100%;
}
.ccard:hover { background: var(--black-2); }
.ccard-ic { width: 28px; height: 28px; margin-bottom: 0.5rem; opacity: 0.85; }
.ccard-ic svg { width: 100%; height: 100%; stroke: var(--bone); fill: none; stroke-width: 1.6; }
.ccard-l { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(242,237,228,0.5); }
.ccard-v { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.05rem, 2.2vw, 1.4rem); letter-spacing: -0.02em; line-height: 1.15; word-break: break-word; }
.ccard-s { font-size: 0.82rem; color: rgba(242,237,228,0.55); margin-top: 0.15rem; }

/* ---------- Info list ---------- */
.info-list { display: grid; gap: 0; }
.info-list > div { display: flex; justify-content: space-between; gap: 1.5rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.on-dark .info-list > div { border-color: var(--line-dark); }
.info-list dt { color: var(--ink-3); }
.on-dark .info-list dt { color: rgba(242,237,228,0.55); }
.info-list dd { font-weight: 700; text-align: right; }

/* ---------- Areas ---------- */
.areas { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.area {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.5rem 0.9rem; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line);
}
.on-dark .area { box-shadow: inset 0 0 0 1.5px var(--line-dark); }

/* ---------- CTA band ---------- */
.cta-band { display: grid; gap: 1.8rem; text-align: center; justify-items: center; }
.cta-band .lede { margin-inline: auto; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--bone); padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.footer-top { display: grid; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line-dark); }
@media (min-width: 860px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; } }
.footer-brand { display: grid; gap: 1rem; align-content: start; max-width: 38ch; }
.footer-brand .brand-name { color: var(--bone); }
.footer-brand .brand-name span { color: rgba(242,237,228,0.5); }
.footer-brand p { font-size: 0.92rem; color: rgba(242,237,228,0.62); line-height: 1.6; }
.footer-col h4 { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.16em; color: rgba(242,237,228,0.5); margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: 0.65rem; }
.footer-col a { font-size: 0.92rem; color: rgba(242,237,228,0.82); transition: color 0.25s; }
.footer-col a:hover { color: var(--bone); }
.footer-bot { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding-top: 1.8rem; font-size: 0.78rem; color: rgba(242,237,228,0.45); }
.footer-bot a:hover { color: var(--bone); }

/* ---------- Mobile ---------- */
@media (max-width: 880px) {
  .nav, .header-cta .btn { display: none; }
  .burger { display: flex; }
}
/* Touch targets: 44px minimum wherever the input is a finger, keyed to
   pointer type as well as width, so touch laptops are covered too. */
@media (max-width: 880px), (pointer: coarse) {
  .board-cta { min-height: 44px; padding-inline: 1.05rem; }
  .pill { min-height: 44px; }
  .sortbar select { min-height: 44px; }
  .svc-nav button { min-height: 44px; }
  .drawer-foot a { min-height: 44px; display: flex; align-items: center; }
  .footer-col a { display: inline-flex; align-items: center; min-height: 40px; }
}

/* Narrow screens: the photo column is slim, so keep the status chips compact
   enough that they do not blanket the board. */
@media (max-width: 600px) {
  .chips { gap: 0.28rem; }
  .chip { font-size: 0.55rem; padding: 0.28rem 0.45rem; letter-spacing: 0.06em; }
  .chip::before { width: 4px; height: 4px; }
}

@media (max-width: 430px) {
  .board-foot { flex-direction: column; align-items: stretch; gap: 0.6rem; }
  .board-cta { justify-content: center; }
  .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem 0.7rem; }
}
