/* =========================================================================
   PERPETUA: Concierge Car Repair
   Design system. Direction: "Concours Ledger".

   One idea, carried everywhere: the two knockout slots in the P monogram
   become the site's rule: a doubled hairline at a 1:2 pitch. It divides
   sections, underlines eyebrows, marks hover, and tabs the numerals.
   Hairline rules replace cards and shadows throughout.

   Type:  Instrument Serif : display + wordmark (the brand's own face,
                              per the media kit lockups)
          Instrument Sans  : everything structural; quiet neo-grotesque
          Bodoni Moda      : the "P" only, shipped as an outlined path
                              (no font download)
   ====================================================================== */

/* -------------------------------------------------------------- 1. FONTS */

/* Metric-matched fallbacks. size-adjust / overrides computed from the real
   font tables against Arial and Times New Roman, so a swap does not shift
   layout (CLS ≈ 0) if the woff2 lands late. */
@font-face {
  font-family: "Instrument Sans Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Liberation Sans");
  size-adjust: 107.22%;
  ascent-override: 90.47%;
  descent-override: 23.32%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Instrument Serif Fallback";
  src: local("Times New Roman"), local("Times"), local("Liberation Serif");
  size-adjust: 85.39%;
  ascent-override: 115.94%;
  descent-override: 36.30%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin.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: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin-ext.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 Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-latin.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: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-latin-ext.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 Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-italic-latin.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: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-italic-latin-ext.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;
}

/* ------------------------------------------------------------- 2. TOKENS */

:root {
  /* Colour: 60 sand / 30 ink / 10 biolume. Red is a hairline, nothing more. */
  --abyss: #06181f;
  --ink: #0d3b3b;
  --ink-deep: #0a2124;
  --paper: #fbf7ee;
  --sand: #efe1c4;
  --card: #fffdf8;
  --biolume: #7be0b0;
  --biolume-press: #63d19f;
  --red: #c13b2e; /* PLACEHOLDER: swap for the shirt red (see README) */

  --text: #14201e;
  --text-2: #3b4a44;
  --text-3: #4a5a4e;
  --muted: #556458;

  --line: #dcc9a0;
  --line-soft: #e4d6b4;
  --line-firm: #c9ba95;
  /* Interactive boundaries (inputs, ghost buttons, the burger) need 3:1
     against their ground per WCAG 1.4.11. --line-firm is a decorative
     hairline at 1.8:1 and must not be used for them.
     --line-control: 3.85:1 on paper, 3.19:1 on sand, 4.05:1 on card. */
  --line-control: #8a7c55;
  --line-ink: rgba(13, 59, 59, 0.22);

  --on-dark: #c4cec5;
  --on-dark-2: #9fb0a6;
  --line-dark: rgba(196, 206, 197, 0.2);
  --line-dark-firm: rgba(196, 206, 197, 0.34);

  /* Type */
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;   /* locked: H1 to H3 + wordmark (design spec, DFW-D3) */
  --sans: "Instrument Sans", "Instrument Sans Fallback", -apple-system,
    system-ui, sans-serif;

  /* Fluid scale: 1.25-ish, anchored 16→19 body */
  --t-display: clamp(2.35rem, 1.3rem + 4.7vw, 5.3rem);   /* -15%: Baskerville sets wide */
  --t-display-sm: clamp(2rem, 1.36rem + 2.9vw, 3.6rem);
  --t-h2: clamp(1.7rem, 1.15rem + 2.45vw, 3.2rem);
  --t-h3: clamp(1.15rem, 1.03rem + 0.48vw, 1.4rem);
  --t-h4: clamp(1.0625rem, 1.03rem + 0.16vw, 1.1875rem);
  --t-lede: clamp(1.125rem, 1.03rem + 0.42vw, 1.375rem);
  --t-body: clamp(1rem, 0.975rem + 0.11vw, 1.0625rem);
  --t-body-lg: clamp(1.0625rem, 1.01rem + 0.24vw, 1.1875rem);
  --t-small: 0.875rem;
  --t-micro: 0.6875rem;

  /* Tracking curve: tightens as size grows, which didone-adjacent
     display faces need and the prototypes did not do. */
  --tr-display: -0.028em;
  --tr-h2: -0.022em;
  --tr-h3: -0.012em;
  --tr-body: 0.002em;
  --tr-label: 0.15em;
  --tr-wordmark: 0.19em;

  /* Space: 4px base, but the vertical rhythm is the one that matters */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 44px;
  --s-8: 64px;
  --s-9: 88px;
  --s-10: 120px;
  --pad-x: clamp(20px, 5vw, 60px);
  --sect-y: clamp(64px, 8.2vw, 124px);
  --sect-y-tight: clamp(48px, 5.5vw, 84px);

  /* Widths: deliberately several, by role */
  --shell-max: 1320px;
  --w-full: min(var(--shell-max), 100%);
  --w-wide: min(1240px, 100%);
  --w-text: min(880px, 100%);
  --w-read: min(680px, 100%);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 0.42s;
  --header-h: 74px;
}

/* --------------------------------------------------------- 3. BASE/RESET */

*,
*::before,
*::after {
  box-sizing: border-box;
}
/* An author `display` beats the UA sheet, so [hidden] needs to be explicit -
   otherwise a hidden element keeps its box. */
[hidden] {
  display: none !important;
}
html {
  color-scheme: only light;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 24px);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.62;
  letter-spacing: var(--tr-body);
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
ul,
ol,
dl {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 1px;
}
.on-dark :focus-visible,
.sect--dark :focus-visible {
  outline-color: var(--biolume);
}
::selection {
  background: var(--biolume);
  color: var(--abyss);
}
summary::-webkit-details-marker {
  display: none;
}
summary {
  list-style: none;
  cursor: pointer;
}

.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;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 300;
  background: var(--ink);
  color: var(--sand);
  padding: 12px 18px;
  font-size: var(--t-small);
  font-weight: 600;
}
.skip:focus {
  left: 16px;
}

/* ---------------------------------------------------------- 4. TYPOGRAPHY */

.display,
.h2,
.h3,
.serif {
  font-family: var(--serif);
  font-weight: 400;
  font-feature-settings: "liga" 1, "kern" 1;
}

.display {
  font-size: var(--t-display);
  line-height: 0.94;
  letter-spacing: var(--tr-display);
  text-wrap: balance;
  /* optical: the serif sits a touch left of the sans stack above it */
  margin-left: -0.02em;
}
.display--sm {
  font-size: var(--t-display-sm);
  line-height: 0.98;
}
.h2 {
  font-size: var(--t-h2);
  line-height: 1.01;
  letter-spacing: var(--tr-h2);
  text-wrap: balance;
  margin-left: -0.015em;
}
.h3 {
  font-size: var(--t-h3);
  line-height: 1.16;
  letter-spacing: var(--tr-h3);
  text-wrap: balance;
}
/* Sans subheads: used where a serif would be too soft at small size -
   a deliberate two-register hierarchy, not an accident. */
.h4 {
  font-family: var(--sans);
  font-size: var(--t-h4);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.005em;
}

.lede {
  font-size: var(--t-lede);
  line-height: 1.48;
  color: var(--text-2);
  max-width: 52ch;
  text-wrap: pretty;
}
.body {
  font-size: var(--t-body-lg);
  line-height: 1.64;
  color: var(--text-2);
  max-width: 68ch;
  text-wrap: pretty;
}
.body--tight {
  font-size: var(--t-body);
  line-height: 1.6;
}
.small {
  font-size: var(--t-small);
  line-height: 1.55;
  color: var(--text-3);
}
.fine {
  font-size: var(--t-small);
  line-height: 1.5;
  color: var(--muted);
  max-width: 60ch;
}

.label {
  font-family: var(--sans);
  font-size: var(--t-micro);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tr-label);
  line-height: 1.2;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* Figures: always lining + tabular so prices and phone numbers align */
.num,
.tel,
.price {
  font-variant-numeric: lining-nums tabular-nums;
}

/* The eyebrow carries the slot motif */
.eyebrow {
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--sans);
  font-size: var(--t-micro);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tr-label);
  color: var(--muted);
  line-height: 1.35;
}
.eyebrow::before {
  content: "";
  width: 26px;
  margin-top: 0.5em;
  flex: none;
  /* the slot: two 1px rules at 1:2 pitch: the logo's knockout, scaled */
  height: 4px;
  background: linear-gradient(
    to bottom,
    currentColor 0 1px,
    transparent 1px 3px,
    currentColor 3px 4px
  );
  opacity: 0.75;
}
.on-dark .eyebrow,
.sect--dark .eyebrow {
  color: var(--biolume);
}

/* ------------------------------------------------------------- 5. LAYOUT */

.shell {
  width: var(--w-full);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.shell--wide {
  width: var(--w-wide);
}
.shell--text {
  width: var(--w-text);
}
.shell--read {
  width: var(--w-read);
}

.sect {
  padding-block: var(--sect-y);
  position: relative;
}
.sect--tight {
  padding-block: var(--sect-y-tight);
}
.sect--sand {
  background: var(--sand);
}
.sect--dark {
  background: var(--ink);
  color: var(--on-dark);
}
.sect--abyss {
  background: var(--abyss);
  color: var(--on-dark);
}
.sect--dark .h2,
.sect--abyss .h2,
.sect--dark .display,
.sect--abyss .display,
.sect--dark .h3,
.sect--abyss .h3,
.sect--dark .h4,
.sect--abyss .h4 {
  color: var(--paper);
}
.sect--dark .body,
.sect--abyss .body,
.sect--dark .lede,
.sect--abyss .lede,
.sect--dark .small,
.sect--abyss .small {
  color: var(--on-dark);
}
.sect--dark .label,
.sect--abyss .label,
.sect--dark .fine,
.sect--abyss .fine {
  color: var(--on-dark-2);
}
.sect--rule-top {
  border-top: 1px solid var(--line);
}

/* Section head: eyebrow / heading / lede, with a rule that runs the width */
.head {
  display: grid;
  gap: var(--s-5);
  margin-bottom: var(--s-8);
}
.head__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-5);
  flex-wrap: wrap;
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--line);
}
.sect--dark .head__top,
.sect--abyss .head__top {
  border-bottom-color: var(--line-dark);
}
.head__body {
  display: grid;
  gap: var(--s-4);
  max-width: 62ch;
}
.head--split {
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 900px) {
  .head--split .head__body {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: var(--s-8);
    max-width: none;
    align-items: start;
  }
}

/* ------------------------------------------------------------ 6. HAIRLINE */

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
}
.rule--slot {
  height: 4px;
  background: linear-gradient(
    to bottom,
    var(--line-firm) 0 1px,
    transparent 1px 3px,
    var(--line-firm) 3px 4px
  );
}
.sect--dark .rule,
.sect--abyss .rule {
  background: var(--line-dark);
}

/* ------------------------------------------------------------ 7. BUTTONS */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  min-height: 50px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  cursor: pointer;
  text-align: center;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), transform 0.18s var(--ease);
  font-variant-numeric: lining-nums tabular-nums;
}
.btn:hover {
  --btn-bg: #0a2f2f;
  --btn-bd: #0a2f2f;
}
.btn:active {
  transform: translateY(1px);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--line-control);
}
.btn--ghost:hover {
  --btn-bg: rgba(13, 59, 59, 0.05);
  --btn-bd: var(--ink);
}
.btn--biolume {
  --btn-bg: var(--biolume);
  --btn-fg: var(--abyss);
  --btn-bd: var(--biolume);
}
.btn--biolume:hover {
  --btn-bg: var(--biolume-press);
  --btn-bd: var(--biolume-press);
}
.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  --btn-bd: var(--line-dark-firm);
}
.btn--outline-light:hover {
  --btn-bg: rgba(251, 247, 238, 0.08);
  --btn-bd: var(--paper);
}
.btn--lg {
  padding: 18px 32px;
  min-height: 58px;
  font-size: 1rem;
}
.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  align-items: center;
}

/* Text link: the underline is the slot motif, and it draws on hover */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
  padding-bottom: 4px;
  background-image: linear-gradient(
    to bottom,
    currentColor 0 1px,
    transparent 1px 3px,
    currentColor 3px 4px
  );
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 4px;
  transition: background-size var(--dur) var(--ease);
}
.tlink:hover,
.tlink:focus-visible {
  background-size: 100% 4px;
}
.sect--dark .tlink,
.sect--abyss .tlink {
  color: var(--biolume);
}

/* ------------------------------------------------------------- 8. HEADER */

.hdr {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(251, 247, 238, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: border-color var(--dur) var(--ease),
    background var(--dur) var(--ease);
}
.hdr.is-stuck {
  border-bottom-color: var(--line-ink);
  background: rgba(251, 247, 238, 0.94);
}
.hdr__in {
  width: var(--w-full);
  margin-inline: auto;
  padding: 13px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  min-height: var(--header-h);
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex: none;
  color: var(--ink);
}
.mark__p {
  height: 34px;
  width: auto;
  flex: none;
}
.mark__word {
  font-family: var(--serif);
  font-size: 1.4375rem;
  letter-spacing: var(--tr-wordmark);
  line-height: 1;
  padding-right: 0.19em; /* reclaim the trailing letterspace */
  white-space: nowrap;
}
.mark__word--sm {
  font-size: 1.25rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.9vw, 30px);
}
.nav a {
  font-size: var(--t-micro);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tr-label);
  color: var(--text-2);
  white-space: nowrap;
  padding-bottom: 3px;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size var(--dur) var(--ease), color 0.2s var(--ease);
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  background-size: 100% 1px;
}

.hdr__right {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 26px);
}
.hdr__tel {
  display: grid;
  gap: 2px;
  text-align: right;
}
.hdr__tel .label {
  font-size: 0.625rem;
  letter-spacing: 0.16em;
}
.hdr__tel strong {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}

.burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: transparent;
  border: 1px solid var(--line-control);
  border-radius: 2px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 20px;
  height: 4px;
  background: linear-gradient(
    to bottom,
    var(--ink) 0 1px,
    transparent 1px 3px,
    var(--ink) 3px 4px
  );
}

/* Drawer */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(6, 24, 31, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease);
}
.scrim.is-open {
  opacity: 1;
  pointer-events: auto;
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  width: min(400px, 88vw);
  background: var(--paper);
  border-left: 1px solid var(--line-firm);
  transform: translateX(101%);
  transition: transform 0.46s var(--ease);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.drawer.is-open {
  transform: none;
}
.drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--s-5);
  border-bottom: 1px solid var(--line);
}
.drawer__close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-control);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: var(--ink);
}
.drawer__nav {
  display: grid;
  padding: var(--s-3) var(--s-5) var(--s-5);
}
.drawer__nav a {
  font-family: var(--serif);
  font-size: 1.625rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
}
.drawer__foot {
  margin-top: auto;
  display: grid;
  gap: var(--s-3);
  padding: var(--s-5);
  border-top: 1px solid var(--line);
  background: var(--sand);
}

/* Sticky mobile action bar */
.actionbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  gap: 1px;
  background: var(--line-firm);
  border-top: 1px solid var(--line-firm);
  padding-bottom: env(safe-area-inset-bottom);
}
.actionbar .btn {
  flex: 1;
  border-radius: 0;
  border: 0;
  min-height: 56px;
  font-size: 0.875rem;
  padding-inline: 10px;
  white-space: nowrap;
}

/* --------------------------------------------------------------- 9. HERO */

.hero {
  position: relative;
  padding-block: clamp(44px, 5.5vw, 84px) clamp(48px, 6vw, 96px);
  overflow: hidden;
}
.hero::after {
  /* the single red keyline the brief calls for: one hairline, nothing more */
  content: "";
  position: absolute;
  left: var(--pad-x);
  bottom: 0;
  width: 92px;
  height: 2px;
  background: var(--red);
}
.hero__grid {
  display: grid;
  gap: clamp(32px, 4.5vw, 64px);
  align-items: end;
}
@media (min-width: 980px) {
  .hero__grid {
    /* asymmetric 7/5: not a 50/50 split, not a centred stack */
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}
.hero__copy {
  display: grid;
  gap: var(--s-5);
  align-content: start;
}
.hero .display {
  max-width: 15ch;
}
.hero__lede {
  max-width: 48ch;
}
.hero__points {
  display: grid;
  gap: 10px;
  margin-top: 2px;
}
.hero__points li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  font-size: var(--t-body);
  color: var(--text-2);
  align-items: start;
}
.hero__points li::before {
  content: "";
  margin-top: 0.62em;
  height: 4px;
  background: linear-gradient(
    to bottom,
    var(--ink) 0 1px,
    transparent 1px 3px,
    var(--ink) 3px 4px
  );
}
.hero__note {
  font-size: var(--t-small);
  color: var(--muted);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
  max-width: 54ch;
}

/* ------------------------------------------------- 10. FIGURE / IMG SLOT */

.figure {
  margin: 0;
  position: relative;
}
.figure__frame {
  position: relative;
  background: linear-gradient(160deg, #f3ecdd, #e9dcc0 65%, #e2d3b3);
  border: 1px solid var(--line-firm);
  aspect-ratio: var(--ar, 4 / 5);
  overflow: hidden;
}
.figure__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Placeholder state: reads as a photo spec sheet, not a broken image */
.figure__slot {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  padding: var(--s-6);
  text-align: center;
  color: var(--muted);
}
.figure__slot::before,
.figure__slot::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid var(--line-firm);
}
.figure__slot::before {
  top: 12px;
  left: 12px;
  border-right: 0;
  border-bottom: 0;
}
.figure__slot::after {
  bottom: 12px;
  right: 12px;
  border-left: 0;
  border-top: 0;
}
.figure__slot .label {
  color: var(--ink);
}
.figure__slot p {
  font-size: var(--t-small);
  max-width: 30ch;
  line-height: 1.5;
}
.figure__cap {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  padding-top: 10px;
  margin-top: 10px;
  border-top: 1px solid var(--line);
  font-size: var(--t-micro);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tr-label);
  color: var(--muted);
}
/* A wide band that breaks up a long page. Full shell width, no frame -
   it carries a photograph, so it does not need a box. */
.figure--band .figure__frame {
  border: 0;
}
.figure--band .figure__cap {
  border-top: 0;
  padding-top: 0;
  margin-top: 12px;
}

/* Hero treatment: no frame at all. The photograph carries the block on its
   own: a border around a hero shrinks it and adds chrome the rest of the
   page has already earned the right not to need. */
.figure--bare .figure__frame {
  border: 0;
  background: linear-gradient(160deg, #f1e9d8, #e7d9bc 65%, #dfcfae);
}
.figure--bare .figure__slot::before,
.figure--bare .figure__slot::after {
  display: none;
}
.figure--bare .figure__cap {
  border-top: 0;
  padding-top: 0;
  margin-top: 14px;
}

.figure--biolume .figure__frame::after {
  /* the ocean signal, at 10%: a single soft wash, no gradient headline */
  content: "";
  position: absolute;
  inset: auto -20% -35% -20%;
  height: 60%;
  background: radial-gradient(
    60% 100% at 50% 100%,
    rgba(123, 224, 176, 0.45),
    transparent 70%
  );
  pointer-events: none;
}


/* ------------------------------------------------------- 10b. EDGE BLEED */

/* A photograph that stops short of the edge reads as placed ON the page.
   Running it off the edge reads as part of it: and it implies the image
   continues past the frame, which is the whole trick.

   `--bleed-r` is the exact distance from the shell's inner right edge to the
   viewport edge: half the leftover gutter, plus the shell's own padding. */
@media (min-width: 980px) {
  .figure--bleed {
    --bleed-r: calc((100vw - min(var(--shell-max), 100vw)) / 2 + var(--pad-x));
    margin-right: calc(-1 * var(--bleed-r));
  }
  /* A band is a full-width break, so it goes off both edges. */
  .figure--band {
    width: 100vw;
    margin-inline: calc(50% - 50vw);
  }
  .figure--band .figure__cap {
    padding-inline: var(--pad-x);
  }
}

/* Stacked layouts: both of them go edge to edge, which is the mobile norm
   and stronger than an inset photo. */
@media (max-width: 979px) {
  .figure--bleed,
  .figure--band {
    width: 100vw;
    margin-inline: calc(50% - 50vw);
  }
  .figure--bleed .figure__cap,
  .figure--band .figure__cap {
    padding-inline: var(--pad-x);
  }
}

/* ---------------------------------------------------------- 11. TRUST BAR */

.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.trust__in {
  width: var(--w-full);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 19px 0 19px 0;
  font-size: var(--t-micro);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-2);
  border-left: 1px solid var(--line-soft);
  padding-left: clamp(14px, 1.8vw, 26px);
}
.trust__item:first-child {
  border-left: 0;
  padding-left: 0;
}
.trust__item svg {
  flex: none;
  width: 17px;
  height: 17px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 1.4;
}
@media (max-width: 760px) {
  .trust__item {
    border-left: 0;
    padding-left: 0;
    padding-block: 13px;
    border-top: 1px solid var(--line-soft);
  }
  .trust__item:first-child {
    border-top: 0;
  }
}

/* ------------------------------------------------------------ 12. MARQUEE */

.marquee {
  background: var(--ink);
  color: var(--sand);
  border-block: 1px solid var(--ink);
  overflow: hidden;
  padding-block: clamp(16px, 2vw, 26px);
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 7%,
    #000 93%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 7%,
    #000 93%,
    transparent
  );
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  animation: marquee 46s linear infinite;
}
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track {
  animation-play-state: paused;
}
.marquee__item {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.3vw, 2.125rem);
  letter-spacing: -0.005em;
  padding-inline: clamp(18px, 2.2vw, 30px);
}
.marquee__sep {
  color: var(--biolume);
  font-size: 0.6875rem;
  align-self: center;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ------------------------------------------- 13. SERVICE INDEX (numbered) */

.index {
  border-top: 1px solid var(--line);
}
.index__row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 34px;
  gap: clamp(16px, 2.4vw, 34px);
  align-items: baseline;
  padding: clamp(22px, 2.6vw, 34px) 0;
  border-bottom: 1px solid var(--line);
  transition: background var(--dur) var(--ease),
    padding-inline var(--dur) var(--ease);
}
.index__row:hover {
  background: rgba(13, 59, 59, 0.035);
  padding-inline: clamp(8px, 1.4vw, 18px);
}
.index__no {
  font-family: var(--serif);
  font-size: 1.125rem;
  color: var(--muted);
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: 0.02em;
  position: relative;
  padding-top: 0.35em;
}
.index__no::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 4px;
  background: linear-gradient(
    to bottom,
    var(--line-firm) 0 1px,
    transparent 1px 3px,
    var(--line-firm) 3px 4px
  );
}
.index__body {
  display: grid;
  gap: 8px;
}
@media (min-width: 900px) {
  .index__body {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(20px, 3vw, 48px);
    align-items: baseline;
  }
}
.index__name {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2.125rem);
  line-height: 1.06;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.index__blurb {
  font-size: var(--t-body);
  color: var(--text-2);
  line-height: 1.55;
  max-width: 52ch;
}
.index__ar {
  justify-self: end;
  align-self: center;
  width: 26px;
  height: 10px;
  color: var(--ink);
  transition: transform var(--dur) var(--ease);
}
.index__row:hover .index__ar {
  transform: translateX(9px);
}

/* ---------------------------------------------------------- 14. STEP LIST */

.steps {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
@media (min-width: 760px) {
  .steps--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1060px) {
  .steps--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}
.step {
  background: var(--paper);
  padding: clamp(24px, 2.8vw, 38px) clamp(20px, 2.2vw, 32px);
  display: grid;
  gap: 12px;
  align-content: start;
}
.sect--sand .steps {
  background: var(--line-firm);
  border-color: var(--line-firm);
}
.sect--sand .step {
  background: var(--sand);
}
.sect--dark .steps,
.sect--abyss .steps {
  background: var(--line-dark);
  border-color: var(--line-dark);
}
.sect--dark .step {
  background: var(--ink);
}
.sect--abyss .step {
  background: var(--abyss);
}
.step__no {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--muted);
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: 0.06em;
  padding-bottom: 12px;
  position: relative;
}
.step__no::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 4px;
  background: linear-gradient(
    to bottom,
    var(--line-firm) 0 1px,
    transparent 1px 3px,
    var(--line-firm) 3px 4px
  );
}
.sect--dark .step__no::after,
.sect--abyss .step__no::after {
  background: linear-gradient(
    to bottom,
    var(--biolume) 0 1px,
    transparent 1px 3px,
    var(--biolume) 3px 4px
  );
}
.sect--dark .step__no,
.sect--abyss .step__no {
  color: var(--on-dark-2);
}
.step p {
  font-size: var(--t-body);
  color: var(--text-2);
  line-height: 1.58;
}
.sect--dark .step p,
.sect--abyss .step p {
  color: var(--on-dark);
}

/* ----------------------------------------------------- 15. PANEL / COLUMNS */

.cols {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
@media (min-width: 720px) {
  .cols--2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .cols--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1000px) {
  .cols--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.col {
  background: var(--paper);
  padding: clamp(24px, 2.8vw, 36px) clamp(20px, 2.2vw, 30px);
  display: grid;
  gap: 11px;
  align-content: start;
}
.sect--sand .cols {
  background: var(--line-firm);
  border-color: var(--line-firm);
}
.sect--sand .col {
  background: var(--sand);
}
.sect--dark .cols,
.sect--abyss .cols {
  background: var(--line-dark);
  border-color: var(--line-dark);
}
.sect--dark .col {
  background: var(--ink);
}
.sect--abyss .col {
  background: var(--abyss);
}
.col p {
  font-size: var(--t-body);
  color: var(--text-2);
  line-height: 1.58;
}
.sect--dark .col p,
.sect--abyss .col p {
  color: var(--on-dark);
}

/* ------------------------------------------------------ 16. FEATURE SPLIT */

.split {
  display: grid;
  gap: clamp(32px, 4.5vw, 72px);
  align-items: start;
}
@media (min-width: 960px) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .split--5-7 {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
  .split--7-5 {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
  .split--sticky > :first-child {
    position: sticky;
    top: calc(var(--header-h) + 40px);
  }
}
.stack {
  display: grid;
  gap: var(--s-5);
  align-content: start;
}
.stack--sm {
  gap: var(--s-4);
}

/* Ledger list: hairline rows, used for "included", "what we check" etc. */
.ledger {
  border-top: 1px solid var(--line);
}
.ledger li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: clamp(16px, 1.8vw, 22px) 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 640px) {
  .ledger li {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(18px, 2.6vw, 44px);
    align-items: baseline;
  }
}
.ledger__t {
  font-family: var(--sans);
  font-weight: 600;
  font-size: var(--t-h4);
  color: var(--ink);
  letter-spacing: -0.005em;
}
.ledger__d {
  font-size: var(--t-body);
  color: var(--text-2);
  line-height: 1.58;
}
.sect--dark .ledger,
.sect--abyss .ledger,
.sect--dark .ledger li,
.sect--abyss .ledger li {
  border-color: var(--line-dark);
}
.sect--dark .ledger__t,
.sect--abyss .ledger__t {
  color: var(--paper);
}
.sect--dark .ledger__d,
.sect--abyss .ledger__d {
  color: var(--on-dark);
}

/* Tick list */
.ticks {
  display: grid;
  gap: 12px;
}
.ticks li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  font-size: var(--t-body);
  color: var(--text-2);
  align-items: start;
  line-height: 1.55;
}
.ticks svg {
  margin-top: 0.3em;
  width: 15px;
  height: 15px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 1.8;
}
.sect--dark .ticks li,
.sect--abyss .ticks li {
  color: var(--on-dark);
}
.sect--dark .ticks svg,
.sect--abyss .ticks svg {
  stroke: var(--biolume);
}

/* -------------------------------------------------------- 17. RATE / NUMS */

.rates {
  display: grid;
  gap: 1px;
  background: var(--line-dark);
  border-block: 1px solid var(--line-dark);
}
@media (min-width: 820px) {
  .rates--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .rates--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
.rate {
  background: var(--ink);
  padding: clamp(26px, 3vw, 40px) clamp(20px, 2.4vw, 32px);
  display: grid;
  gap: 12px;
  align-content: start;
}
.rate__fig {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.rate__n {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.6vw, 3.75rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--biolume);
  font-variant-numeric: lining-nums tabular-nums;
}
.rate__u {
  font-size: var(--t-micro);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tr-label);
  color: var(--on-dark-2);
}
.rate h3 {
  font-family: var(--sans);
  font-size: var(--t-h4);
  font-weight: 600;
  color: var(--paper);
}
.rate p {
  font-size: var(--t-body);
  color: var(--on-dark);
  line-height: 1.58;
}

/* The money explainer: two numbered clauses, ledger-ruled */
.money {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-firm);
}
.money li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: clamp(16px, 2vw, 28px);
  padding: clamp(22px, 2.6vw, 32px) 0;
  border-bottom: 1px solid var(--line-firm);
  align-items: start;
}
.money__n {
  font-family: var(--serif);
  font-size: 1.75rem;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: lining-nums tabular-nums;
}
.money p {
  font-size: var(--t-body-lg);
  color: var(--text-2);
  line-height: 1.58;
  max-width: 62ch;
}
.money strong {
  color: var(--ink);
  font-weight: 600;
}

/* --------------------------------------------------------- 18. TIER CARDS */

.tiers {
  display: grid;
  gap: 1px;
  background: var(--line-firm);
  border: 1px solid var(--line-firm);
}
@media (min-width: 900px) {
  .tiers {
    grid-template-columns: repeat(3, 1fr);
  }
}
.tier {
  background: var(--card);
  padding: clamp(26px, 2.8vw, 38px) clamp(22px, 2.4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  position: relative;
}
.tier--lead {
  background: var(--ink);
  color: var(--on-dark);
}
.tier--lead .tier__name,
.tier--lead .tier__fig .price {
  color: var(--paper);
}
.tier--lead .tier__kicker,
.tier--lead .tier__unit {
  color: var(--biolume);
}
.tier--lead .tier__desc,
.tier--lead .ticks li {
  color: var(--on-dark);
}
.tier--lead .ticks svg {
  stroke: var(--biolume);
}
.tier--lead .tier__list {
  border-color: var(--line-dark);
}
.tier__flag {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--biolume);
  color: var(--abyss);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 6px 12px;
}
.tier__kicker {
  font-size: var(--t-micro);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tr-label);
  color: var(--muted);
}
.tier__name {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.tier__desc {
  font-size: var(--t-body);
  color: var(--text-2);
  line-height: 1.55;
}
.tier__fig {
  display: flex;
  align-items: baseline;
  gap: 9px;
  flex-wrap: wrap;
  padding-block: var(--s-3);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tier--lead .tier__fig {
  border-color: var(--line-dark);
}
.tier__fig .price {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 3.4vw, 3rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.tier__unit {
  font-size: var(--t-micro);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--muted);
  line-height: 1.4;
}
.tier__list {
  display: grid;
  gap: 11px;
  padding-top: var(--s-2);
}
.tier .btn {
  /* pins the CTA to the card foot so all three line up, whatever the
     feature list length */
  margin-top: auto;
  padding-top: 15px;
}

/* ------------------------------------------------------- 19. COMPARE COLS */

.compare {
  display: grid;
  gap: 1px;
  background: var(--line-firm);
  border: 1px solid var(--line-firm);
}
@media (min-width: 840px) {
  .compare {
    grid-template-columns: repeat(2, 1fr);
  }
}
.compare__side {
  background: var(--card);
  padding: clamp(24px, 2.8vw, 36px) clamp(20px, 2.4vw, 32px);
}
.compare__side--ours {
  background: var(--ink);
  color: var(--on-dark);
}
.compare__h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-4);
  padding-bottom: var(--s-4);
  margin-bottom: var(--s-4);
  border-bottom: 1px solid var(--line);
  font-size: var(--t-micro);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tr-label);
  color: var(--muted);
}
.compare__side--ours .compare__h {
  border-color: var(--line-dark);
  color: var(--biolume);
}
.compare__list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 13px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: var(--t-body);
  line-height: 1.5;
  color: var(--text-2);
  align-items: start;
}
.compare__list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.compare__side--ours .compare__list li {
  border-color: var(--line-dark);
  color: var(--on-dark);
}
.compare__list svg {
  margin-top: 0.25em;
  width: 15px;
  height: 15px;
  fill: none;
  stroke-width: 1.7;
  stroke: var(--line-firm);
}
.compare__side--ours .compare__list svg {
  stroke: var(--biolume);
}

/* --------------------------------------------------------- 20. AREA CHIPS */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.chip {
  font-size: var(--t-small);
  font-weight: 500;
  color: var(--text-2);
  border: 1px solid var(--line-firm);
  border-radius: 2px;
  padding: 8px 15px;
  background: var(--card);
}
.sect--sand .chip {
  background: rgba(255, 253, 248, 0.6);
}
.sect--dark .chip,
.sect--abyss .chip {
  background: transparent;
  border-color: var(--line-dark-firm);
  color: var(--on-dark);
}

.area__map {
  width: 100%;
  height: auto;
}
.area__hours {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: var(--t-micro);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tr-label);
  color: var(--ink);
  border: 1px solid var(--line-firm);
  border-radius: 2px;
  padding: 11px 16px;
}
.area__hours .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--biolume);
  box-shadow: 0 0 0 3px rgba(123, 224, 176, 0.28);
  flex: none;
}

/* --------------------------------------------------------------- 21. FAQ */

.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: grid;
  grid-template-columns: 1fr 26px;
  gap: var(--s-4);
  align-items: center;
  padding: clamp(18px, 2.1vw, 26px) 0;
  font-family: var(--serif);
  font-size: clamp(1.1875rem, 1.8vw, 1.5rem);
  line-height: 1.22;
  letter-spacing: -0.012em;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}
.faq summary:hover {
  color: #0a2f2f;
}
.faq__sign {
  position: relative;
  width: 14px;
  height: 14px;
  justify-self: end;
}
.faq__sign::before,
.faq__sign::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.faq__sign::before {
  left: 0;
  top: 6px;
  width: 14px;
  height: 1px;
}
.faq__sign::after {
  left: 6px;
  top: 0;
  width: 1px;
  height: 14px;
}
.faq details[open] .faq__sign::after {
  transform: scaleY(0);
  opacity: 0;
}
.faq__a {
  padding-bottom: clamp(20px, 2.2vw, 28px);
  font-size: var(--t-body-lg);
  line-height: 1.64;
  color: var(--text-2);
  max-width: 68ch;
}
.faq details[open] .faq__a {
  animation: faq-in 0.36s var(--ease);
}
@keyframes faq-in {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
}

/* -------------------------------------------------------------- 22. FORM */

.formwrap {
  display: grid;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}
@media (min-width: 960px) {
  .formwrap {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  }
}
.form {
  background: var(--card);
  border: 1px solid var(--line-firm);
  padding: clamp(24px, 3vw, 40px);
  display: grid;
  gap: var(--s-4);
}
.sect--dark .form,
.sect--abyss .form {
  background: var(--paper);
}
.field {
  display: grid;
  gap: 7px;
}
.field > label {
  font-size: var(--t-micro);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tr-label);
  color: var(--text-3);
}
.req {
  color: var(--red);
  margin-left: 2px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line-control);
  border-radius: 6px; /* the one place radius earns its keep */
  padding: 13px 14px;
  font-size: 1rem;
  color: var(--text);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230D3B3B' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.field input:hover,
.field select:hover {
  border-color: var(--ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(13, 59, 59, 0.12);
}
.field input:user-invalid,
.field select:user-invalid {
  border-color: var(--red);
}
.field input::placeholder {
  color: #9aa79d;
}
.form__pair {
  display: grid;
  gap: var(--s-4);
}
@media (min-width: 560px) {
  .form__pair {
    grid-template-columns: 1fr 1fr;
  }
}
.form__foot {
  font-size: var(--t-small);
  color: var(--muted);
  text-align: center;
}
.form__tel {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: var(--s-4);
  margin-bottom: var(--s-2);
  border-bottom: 1px solid var(--line);
}
.form__tel a {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variant-numeric: lining-nums tabular-nums;
}
.form__tel a:hover {
  color: #0a2f2f;
}

/* Honeypot */
.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* Confirmation */
.confirm {
  display: none;
  background: var(--card);
  border: 1px solid var(--ink);
  padding: clamp(26px, 3vw, 42px);
  gap: var(--s-4);
  align-content: start;
}
.confirm.is-on {
  display: grid;
  animation: faq-in 0.42s var(--ease);
}
.confirm__ref {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--t-micro);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tr-label);
  color: var(--ink);
  border: 1px solid var(--line-firm);
  padding: 10px 14px;
  justify-self: start;
  font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------- 23. CTA BAND */

.cta {
  background: var(--abyss);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: auto -10% -60% 30%;
  height: 90%;
  background: radial-gradient(
    50% 100% at 50% 100%,
    rgba(123, 224, 176, 0.17),
    transparent 72%
  );
  pointer-events: none;
}
.cta__in {
  position: relative;
  display: grid;
  gap: clamp(28px, 3.6vw, 52px);
  align-items: end;
}
@media (min-width: 900px) {
  .cta__in {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  }
}

/* ------------------------------------------------------------ 24. FOOTER */

.ftr {
  background: var(--abyss);
  color: var(--on-dark);
  border-top: 1px solid var(--line-dark);
  padding-block: clamp(48px, 5.5vw, 76px) clamp(28px, 3vw, 40px);
}
.ftr__grid {
  display: grid;
  gap: clamp(30px, 4vw, 60px);
}
@media (min-width: 820px) {
  .ftr__grid {
    /* three real columns: not the reflexive four + newsletter */
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  }
}
.ftr .mark {
  color: var(--sand);
}
.ftr__blurb {
  font-size: var(--t-body);
  color: var(--on-dark-2);
  max-width: 40ch;
  line-height: 1.6;
  margin-top: var(--s-4);
}
.ftr__tel {
  display: inline-block;
  margin-top: var(--s-4);
  font-family: var(--serif);
  font-size: 1.75rem;
  letter-spacing: -0.01em;
  color: var(--biolume);
  font-variant-numeric: lining-nums tabular-nums;
}
.ftr__h {
  font-size: var(--t-micro);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tr-label);
  color: var(--on-dark-2);
  padding-bottom: var(--s-3);
  margin-bottom: var(--s-4);
  border-bottom: 1px solid var(--line-dark);
}
.ftr__list {
  display: grid;
  gap: 11px;
}
.ftr__list a {
  font-size: var(--t-body);
  color: var(--on-dark);
  transition: color 0.2s var(--ease);
}
.ftr__list a:hover {
  color: var(--biolume);
}
.ftr__hours {
  display: grid;
  gap: 7px;
  font-size: var(--t-body);
  color: var(--on-dark);
}
.ftr__hours .tick {
  color: var(--biolume);
}
.ftr__base {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4) var(--s-6);
  justify-content: space-between;
  margin-top: clamp(34px, 4vw, 56px);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line-dark);
  font-size: var(--t-small);
  color: var(--on-dark-2);
}

/* -------------------------------------------------------- 25. BREADCRUMB */

.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block: 16px;
  font-size: var(--t-micro);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tr-label);
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.crumbs a:hover {
  color: var(--ink);
}
.crumbs [aria-current] {
  color: var(--ink);
}

/* ------------------------------------------------------------ 26. MOTION */

/* One orchestrated entrance, gated on fonts; one reveal on scroll. */
.rise {
  opacity: 0;
  transform: translateY(16px);
}
.fonts-ready .rise,
.no-js .rise {
  opacity: 1;
  transform: none;
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.fonts-ready .d1 {
  transition-delay: 0.04s;
}
.fonts-ready .d2 {
  transition-delay: 0.12s;
}
.fonts-ready .d3 {
  transition-delay: 0.2s;
}
.fonts-ready .d4 {
  transition-delay: 0.28s;
}
.fonts-ready .d5 {
  transition-delay: 0.36s;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* Trailing cursor ring: fine pointers only, subtle, never replaces
   the real pointer. */
.ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  border: 1px solid rgba(13, 59, 59, 0.42);
  border-radius: 50%;
  pointer-events: none;
  z-index: 200;
  opacity: 0;
  transition: opacity 0.3s var(--ease), width 0.28s var(--ease),
    height 0.28s var(--ease), margin 0.28s var(--ease),
    border-color 0.28s var(--ease), background 0.28s var(--ease);
  will-change: transform;
}
.ring.is-on {
  opacity: 1;
}
.ring.is-near {
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border-color: rgba(123, 224, 176, 0.85);
  background: rgba(123, 224, 176, 0.09);
}
.ring.on-dark {
  border-color: rgba(239, 225, 196, 0.5);
}

/* ------------------------------------------------------- 27. RESPONSIVE */

@media (max-width: 1080px) {
  .hdr .nav,
  .hdr__tel,
  .hdr .btn {
    display: none;
  }
  .burger {
    display: inline-flex;
  }
  .actionbar {
    display: flex;
  }
  body {
    padding-bottom: calc(56px + env(safe-area-inset-bottom));
  }
}
@media (max-width: 620px) {
  .index__row {
    grid-template-columns: 44px minmax(0, 1fr);
  }
  .index__ar {
    display: none;
  }
  .mark__word {
    font-size: 1.25rem;
  }
  .mark__p {
    height: 30px;
  }
}

/* --------------------------------------------- 28. REDUCED MOTION / PRINT */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .rise,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .ring {
    display: none;
  }
}

@media print {
  .hdr,
  .actionbar,
  .drawer,
  .scrim,
  .ring,
  .marquee {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
    padding: 0;
  }
  .sect--dark,
  .sect--abyss,
  .cta,
  .ftr {
    background: #fff !important;
    color: #000 !important;
  }
}


/* ======================================================================
   NOCTURNE: dark mode (design spec "Dark mode, Nocturne (LOCKED)", DFW-D3).
   Ground #06181F, panels #0A2124 / #0A2E2E, text #EFE1C4 / #C4CEC5 /
   #B9C4BB, muted #9FB0A6, accent #7BE0B0, hairlines rgba(239,225,196,.16-.22).
   ====================================================================== */
/* Nocturne is opt-in: light is the default; the header toggle adds class html.nocturne. Not data-theme: preview hosts set that from the OS (owner, 2026-12-01). */
html.nocturne {
    color-scheme: dark;
    --paper: #06181f;
    --sand: #0a2e2e;
    --card: #0a2124;
    --ink: #efe1c4;            
    --text: #efe1c4;
    --text-2: #c4cec5;
    --text-3: #b9c4bb;
    --muted: #9fb0a6;
    --line: rgba(239, 225, 196, 0.16);
    --line-soft: rgba(239, 225, 196, 0.12);
    --line-firm: rgba(239, 225, 196, 0.22);
    --line-control: rgba(239, 225, 196, 0.45);
    --line-ink: rgba(239, 225, 196, 0.22);
  }
html.nocturne .skip,
html.nocturne .sect--dark,
html.nocturne .rate,
html.nocturne .tier--lead,
html.nocturne .compare__side--ours,
html.nocturne .marquee,
html.nocturne .sect--dark .step,
html.nocturne .sect--dark .col { background: #0a2124; }
html.nocturne .marquee { border-block-color: #0a2124; }
html.nocturne .skip,
html.nocturne .marquee,
html.nocturne .ftr .mark,
html.nocturne .sect--dark .h2,
html.nocturne .sect--abyss .h2,
html.nocturne .sect--dark .display,
html.nocturne .sect--abyss .display,
html.nocturne .sect--dark .h3,
html.nocturne .sect--abyss .h3,
html.nocturne .sect--dark .h4,
html.nocturne .sect--abyss .h4,
html.nocturne .sect--dark .ledger__t,
html.nocturne .sect--abyss .ledger__t,
html.nocturne .rate h3,
html.nocturne .tier--lead .tier__name,
html.nocturne .tier--lead .tier__fig .price { color: #efe1c4; }
html.nocturne .btn { --btn-bg: #7be0b0; --btn-fg: #06181f; --btn-bd: #7be0b0; }
html.nocturne .btn:hover { --btn-bg: #63d19f; --btn-bd: #63d19f; }
html.nocturne .btn--ghost { --btn-bg: transparent; --btn-fg: #efe1c4; --btn-bd: rgba(239, 225, 196, 0.45); }
html.nocturne .btn--ghost:hover { --btn-bd: #efe1c4; }
html.nocturne .btn--outline-light { --btn-bg: transparent; --btn-fg: #efe1c4; --btn-bd: rgba(239, 225, 196, 0.45); }
html.nocturne .btn--outline-light:hover { --btn-bd: #efe1c4; }
html.nocturne .tier--lead .btn--biolume { --btn-fg: #06181f; }
html.nocturne .hdr { background: rgba(6, 24, 31, 0.86); }
html.nocturne .hdr.is-stuck { background: rgba(6, 24, 31, 0.94); }
html.nocturne .sect--sand .chip { background: rgba(10, 33, 36, 0.6); }

.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border: 1px solid var(--line-control); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; flex: none; }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .moon { display: none; }
html.nocturne .theme-toggle .sun { display: none; }
html.nocturne .theme-toggle .moon { display: block; }

/* ------------------------------------------------ GALLERY (scroll + light zoom) */
.gal__track {
  display: flex; gap: clamp(14px, 2vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 var(--pad-x) 18px; scroll-padding-inline: var(--pad-x); list-style: none; margin: 0;
  scrollbar-width: thin; scrollbar-color: var(--line-firm) transparent;
}
.gal__item { flex: 0 0 clamp(260px, 34vw, 460px); scroll-snap-align: start; margin: 0; }
.gal__btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; aspect-ratio: 4 / 3; }
.gal__btn img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.9s var(--ease); }
.gal__btn:hover img, .gal__btn:focus-visible img { transform: scale(1.045); }
.gal__cap { margin-top: 10px; font-size: var(--t-small); color: var(--text-3); }
.gal__hint { color: var(--muted); }
.gal__dlg { border: 0; padding: 0; background: transparent; max-width: min(94vw, 1500px); max-height: 92vh; }
.gal__dlg::backdrop { background: rgba(6, 24, 31, 0.86); }
.gal__dlg img { display: block; max-width: 100%; max-height: 88vh; object-fit: contain; }
.gal__close { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: rgba(6, 24, 31, 0.7); color: #efe1c4; font-size: 22px; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .gal__btn img { transition: none; } }

/* ------------------------------------------------ SHOWCASE (home photo band)
   Photos only. No text on the image: it gets lost on busy photos, and anything important must not
   live only inside a rotating carousel (NN/g). Name, dots and pause sit below, on paper. */
.show { position: relative; }
.show__stage { position: relative; height: clamp(280px, min(78vh, 60vw), 820px); overflow: hidden; background: var(--abyss); }
.show__slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden;
  transition: opacity 1.1s var(--ease), visibility 0s linear 1.1s; }
.show__slide.is-on { opacity: 1; visibility: visible; transition: opacity 1.1s var(--ease), visibility 0s; }
.show__slide img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.show__fill { object-fit: cover; filter: blur(28px) saturate(0.9) brightness(0.62); transform: scale(1.15); }
.show__img { object-fit: contain; }
.show__slide.is-on .show__img { animation: show-zoom 8s linear forwards; }
.show.is-paused .show__slide.is-on .show__img { animation-play-state: paused; }
@keyframes show-zoom { from { transform: scale(1.0); } to { transform: scale(1.03); } }
.show__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.show__label { font-size: var(--t-small); color: var(--text-3); letter-spacing: 0.01em; }
.show__ctrl { display: flex; align-items: center; gap: 14px; }
.show__dots { display: flex; gap: 4px; }
.show__dot { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.show__dot::before { content: ""; position: absolute; left: 2px; right: 2px; top: 11px; height: 2px; background: var(--line-firm); }
.show__dot[aria-current="true"]::before { background: var(--ink); }
.show__pause { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-firm); background: transparent;
  color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.show__pause svg { width: 12px; height: 12px; fill: currentColor; }
.show__pause .i-play { display: none; }
.show.is-paused .show__pause .i-play { display: block; }
.show.is-paused .show__pause .i-pause { display: none; }
@media (max-width: 640px) { .show__stage { height: 75vw; } .show__dots { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .show__slide, .show__slide.is-on { transition: none; }
  .show__slide.is-on .show__img { animation: none; }
}
.hero--below .hero__grid { align-items: end; }
.hero--below .display { max-width: 13ch; }
.hero--below .hero__side { padding-bottom: 6px; }

/* -------- Layout repair (2026-12-01, after a full-page review of all six pages) --------
   1. Paragraphs that follow each other get space between them (they ran together).
   2. Text-page heroes (About, Contact, Cost guide) get the same stacked spacing as the main heroes.
   3. Two plain paper sections in a row: no second top padding. The section header's own hairline
      is the divider, so there is no double line and no doubled gap.
   4. The red keyline sits on the hero's bottom edge only where a band or the trust strip meets it;
      where plain paper follows, it floated on its own, misaligned with the text column.
   5. CTA body text was dark grey on the dark band. */
:is(.body, .lede) + :is(.body, .lede) { margin-top: 0.85em; }
:is(.hero__copy, .stack, .head__body) > :is(.body, .lede) + :is(.body, .lede) { margin-top: 0; }
:where(.shell--text) > :is(.h2, .h3) + :is(.body, .lede) { margin-top: 16px; }
.head + :is(.body, .lede) + :is(.body, .lede) { margin-top: 0.85em; }
.hero > .shell--text { display: grid; gap: var(--s-5); align-content: start; }
.hero > .shell--text > * { margin-top: 0 !important; }
.hero > .shell--text > .h3 { margin-top: var(--s-4) !important; }
.sect:not(.sect--sand):not(.sect--dark):not(.sect--abyss):not(.cta) + .sect:not(.sect--sand):not(.sect--dark):not(.sect--abyss):not(.cta):not(.sect--tight) { padding-top: 0; }
.hero:has(+ .sect:not(.sect--sand):not(.sect--dark):not(.sect--abyss))::after { display: none; }
.cta .lede { color: var(--on-dark); }
.hero:has(+ .sect:not(.sect--sand):not(.sect--dark):not(.sect--abyss)) + .sect { padding-top: 0; }
:is(p, .ledger__d, .faq__a) .tlink { display: inline; font-size: inherit; padding-bottom: 1px; }
.rates--light { background: var(--line-firm); border-block-color: var(--line-firm); }
.rates--light .rate { background: var(--card); }
.rates--light .rate__n { color: var(--ink); }
.rates--light .rate__u { color: var(--muted); }
.rates--light .rate h3 { color: var(--text); }
.rates--light .rate p { color: var(--text-2); }
.prow { display: grid; gap: clamp(14px, 2vw, 24px); }
@media (min-width: 600px) { .prow { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .prow { grid-template-columns: repeat(4, 1fr); } }
.prow li { margin: 0; }
.prow img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.prow__cap { margin-top: 10px; font-size: var(--t-small); color: var(--text-3); }
