/* Halyard Garage Door Co. — Direction A, "The Neighborhood Shop"
   Warm sand canvas, colour-block bands, pill buttons. Orange is reserved for things you can press,
   the logo's bottom slat, and the noon cutoff on the same-day timeline.
   Motion rule: animate transform and opacity only, 0.6s to 1.2s. */

:root {
  /* Color */
  --sand: #F4EFE6;          /* page canvas */
  --paper: #FBF9F5;         /* light band, cards */
  --concrete: #E7E3DA;      /* alternate band */
  --ink: #15211D;           /* text, dark bands */
  --ink-soft: #3A4540;      /* body text */
  --muted: #5C6863;         /* secondary text */
  --orange: #E45E30;        /* actions only (ink on orange = 4.69:1) */
  --orange-wash: rgba(228, 94, 48, 0.1);
  --line: rgba(21, 33, 29, 0.12);
  --line-strong: rgba(21, 33, 29, 0.24);
  --field-line: #7D8682;    /* form boundaries, 3:1 or better on paper and sand */
  --on-ink: #F4EFE6;
  --on-ink-soft: rgba(244, 239, 230, 0.74);
  --on-ink-line: rgba(244, 239, 230, 0.16);
  --error: #B4361A;

  /* Type */
  --font-display: "Cabinet Grotesk", "Cabinet Fallback", sans-serif;
  --font-body: "General Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Type roles. Text: 13 / 15 / 17 / 19px. Display: card < sub-head < service < section < hero. */
  --text-xs: 0.8125rem;   /* tags, hours, small labels */
  --text-sm: 0.9375rem;   /* nav, form hints, notes, meta */
  --text-base: 1.0625rem; /* body */
  --text-lg: 1.1875rem;   /* ledes, status lines, longer reading */
  --display-card: clamp(1.375rem, 1.1rem + 0.9vw, 1.75rem);
  --display-sub: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem);
  --display-service: clamp(1.75rem, 1rem + 2.4vw, 2.75rem);
  --display-section: clamp(2.25rem, 1.3rem + 3.6vw, 4.25rem);
  --display-hero: clamp(3.25rem, 6.4vw, 6rem);

  /* Spacing scale: use only these values */
  --space-1: 0.25rem;  /* 4 */
  --space-2: 0.5rem;   /* 8 */
  --space-3: 1rem;     /* 16 */
  --space-4: 1.5rem;   /* 24 */
  --space-5: 2.5rem;   /* 40 */
  --space-6: 4rem;     /* 64 */
  --space-7: 6rem;     /* 96 */
  --space-8: 10rem;    /* 160 */

  --gutter: clamp(var(--space-3), 4vw, var(--space-5));
  --header-clear: 5rem; /* the sticky header pill plus its margin */
  --max: 82.5rem;
  --section-y: var(--space-7);

  /* Shape */
  --r-sm: 0.875rem;
  --r-md: 1.5rem;
  --r-lg: 2rem;
  --bezel: 0.375rem;
  --r-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --dur: 0.6s;

  color-scheme: light;
}

@media (min-width: 1181px) {
  :root {
    --section-y: var(--space-8);
  }
}

/* Arial Bold scaled to Cabinet Grotesk 800's width, used until the web font arrives */
@font-face {
  font-family: "Cabinet Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold");
  font-weight: 700 900;
  size-adjust: 92.4%;
  ascent-override: 98%;
  descent-override: 26%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--header-clear);
  -webkit-tap-highlight-color: rgba(21, 33, 29, 0.12);
  caret-color: var(--ink);
  scrollbar-color: var(--line-strong) var(--sand);
}

/* No double-tap zoom delay on anything you can press */
a,
button,
input,
select,
textarea,
label {
  touch-action: manipulation;
}

/* Mouse and trackpad: no rubber-band bounce past the page ends (touch keeps pull-to-refresh) */
@media (pointer: fine) {
  html {
    overscroll-behavior: none;
  }
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

strong {
  font-weight: 600;
}

/* Light text on dark surfaces: grayscale smoothing, a little more air and tracking */
.section--ink,
.footer,
.sample-banner,
.btn--dark,
.choice input:checked + span,
.symptom[aria-expanded="true"] {
  -webkit-font-smoothing: antialiased;
}

.section--ink p,
.footer p:not(.footer__tagline),
.footer li {
  line-height: 1.65;
  letter-spacing: 0.01em;
}

::selection {
  background: var(--ink);
  color: var(--on-ink);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.section--ink :focus-visible,
.footer :focus-visible {
  outline-color: var(--on-ink);
}

main:focus,
[tabindex="-1"]:focus {
  outline: none;
}

[hidden] {
  display: none !important;
}

[id] {
  scroll-margin-top: calc(6rem - var(--header-clear));
}

/* Sections already carry their own top padding; skip most of it when jumping to one */
.section[id] {
  scroll-margin-top: calc(var(--space-7) + var(--space-3) - var(--section-y) - var(--header-clear));
}

.section--tight + .section[id] {
  scroll-margin-top: calc(var(--space-7) + var(--space-3) - var(--space-6) - var(--header-clear));
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  top: var(--space-2);
  left: var(--space-2);
  z-index: 60;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--on-ink);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus-visible {
  transform: none;
  outline-color: var(--orange);
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}


/* Inline phone links get a taller tap area without changing the line */
.dayline__step a,
.book__alt a,
.area__other a,
.safety__aside a,
.field-note a,
.form-reassure a,
.prose p a {
  display: inline-block;
  padding-block: 0.625rem;
  margin-block: -0.625rem;
}

/* ---------- Sample banner ---------- */

.sample-banner {
  background: var(--ink);
  color: var(--on-ink-soft);
  font-size: var(--text-xs);
  line-height: 1.4;
  text-align: center;
  padding: var(--space-2) var(--gutter);
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}

/* ---------- [NEEDED] labels for facts the client still has to supply ---------- */

.needed {
  justify-self: start;
  display: inline-block;
  padding: var(--space-1) var(--space-2);
  border: 1px dashed var(--field-line);
  border-radius: var(--space-2);
  color: var(--ink-soft);
  font-size: var(--text-sm);
  font-weight: 500;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  min-height: 3.25rem;
  padding: var(--space-1) var(--space-1) var(--space-1) var(--space-4);
  border: 0;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

/* Hover: a light wash over the whole pill (lighter on orange keeps ink text at full contrast) */
.btn {
  position: relative;
  isolation: isolate;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--paper);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease);
}

.btn:hover::after {
  opacity: 0.16;
}

.btn--ghost::after {
  background: var(--ink);
}

.btn--ghost:hover::after {
  opacity: 0.06;
}

.btn:not(:has(.btn__icon)) {
  padding-right: var(--space-4);
}

.btn:active {
  transform: scale(0.98);
}

.btn__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  transition: transform var(--dur) var(--ease);
}

.btn:hover .btn__icon {
  transform: translate(2px, -1px) scale(1.05);
}

.btn--primary {
  background: var(--orange);
  color: var(--ink);
}

.btn--primary .btn__icon {
  background: rgba(21, 33, 29, 0.12);
}

.btn--dark {
  background: var(--ink);
  color: var(--on-ink);
}

.btn--dark .btn__icon {
  background: rgba(244, 239, 230, 0.12);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--field-line);
}

.btn--sm {
  min-height: 2.75rem;
  font-size: var(--text-sm);
}

.btn--wide {
  width: 100%;
  justify-content: space-between;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 2.75rem;
  margin-top: var(--space-4);
  padding-block: var(--space-2);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.text-link .icon {
  transition: transform var(--dur) var(--ease);
}

.text-link:hover .icon {
  transform: translateX(4px);
}

.round-btn {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--field-line);
  cursor: pointer;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.round-btn:hover {
  transform: scale(1.05);
}

.round-btn:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

/* ---------- Live status line (time-aware, Tampa time) ---------- */

.status {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  color: var(--ink);
  font-weight: 500;
  font-size: var(--text-lg);
  line-height: 1.5;
}

.status .icon {
  margin-top: 0.3rem;
}

.status span {
  text-wrap: balance;
}

.status--on-ink {
  color: var(--on-ink);
}

/* ---------- Sections ---------- */

.section {
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: var(--space-6);
}

/* The short safety callout belongs between bands; the next section doesn't add a full gap on top */
.section--tight + .section {
  padding-top: var(--space-6);
}

.section--paper {
  background: var(--paper);
}

.section--concrete {
  background: var(--concrete);
}

.section--ink {
  background: var(--ink);
  color: var(--on-ink-soft);
}

.section--ink h2,
.section--ink h3 {
  color: var(--on-ink);
}

.section-head {
  max-width: 44rem;
  margin-bottom: var(--space-6);
}

.section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: end;
  gap: var(--space-5);
  max-width: none;
}

.section-title {
  font-size: var(--display-section);
  line-height: 1.02;
}

.section-lede {
  margin-top: var(--space-4);
  max-width: 34rem;
  color: var(--muted);
  font-size: var(--text-lg);
  text-wrap: balance;
}

/* Multi-sentence titles: one sentence per line, each balanced, never broken mid-sentence by a stray word */
.section-title .sentence {
  display: block;
  text-wrap: balance;
}

.section-head--split .section-lede {
  margin-top: 0;
  justify-self: end;
}

/* ---------- Double-bezel shell ---------- */

.shell {
  padding: var(--bezel);
  border-radius: var(--r-lg);
  background: rgba(21, 33, 29, 0.05);
  box-shadow: inset 0 0 0 1px var(--line);
}

.shell > img,
.shell > div {
  border-radius: calc(var(--r-lg) - var(--bezel));
  overflow: hidden;
}

.shell--on-ink {
  background: rgba(244, 239, 230, 0.06);
  box-shadow: inset 0 0 0 1px var(--on-ink-line);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: var(--space-3) var(--gutter);
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
  pointer-events: none;
}

.header-pill {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  max-width: var(--max);
  margin-inline: auto;
  padding: var(--space-2) var(--space-2) var(--space-2) var(--space-4);
  border-radius: var(--r-pill);
  pointer-events: auto;
  transition: transform var(--dur) var(--ease);
}

.header-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: rgba(251, 249, 245, 0.88);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: inset 0 0 0 1px var(--line), 0 1.5rem 3rem -2rem rgba(21, 33, 29, 0.35);
  opacity: 0;
  transform: scaleY(1.08);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

/* Shrinks once you scroll: the bar tightens and the logo steps down; the menu text is never scaled */
.is-scrolled .header-pill {
  transform: translateY(-4px);
}

.is-scrolled .header-pill::before {
  opacity: 1;
  transform: none;
}

.brand {
  display: flex;
  color: var(--ink);
  border-radius: var(--space-2);
  align-items: center;
  min-height: 2.75rem;
}

.brand:hover .brand__logo {
  opacity: 0.8;
}

.brand__logo {
  display: block;
  width: auto;
  height: 1.75rem;
  transform-origin: 0 50%;
  transition: transform var(--dur) var(--ease);
}

.is-scrolled .brand__logo {
  transform: scale(0.88);
}

.brand__accent {
  fill: var(--orange);
}

.nav {
  margin-inline: auto;
}

.nav__list {
  display: flex;
  gap: var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__list a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: var(--space-2) 0;
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
}

.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--space-1);
  height: 1.5px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur) var(--ease);
}

.nav__list a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 2.75rem;
  padding-block: var(--space-2);
  color: var(--ink);
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
  white-space: nowrap;
}

.header-phone:hover span {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.menu-toggle {
  position: relative;
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
}

.menu-toggle__bar {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.125rem;
  height: 1.5px;
  margin-left: -0.5625rem;
  background: var(--on-ink);
  transition: transform var(--dur) var(--ease);
}

.menu-toggle__bar:nth-of-type(2) { transform: translateY(-3px); }
.menu-toggle__bar:nth-of-type(3) { transform: translateY(3px); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-of-type(2) { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-of-type(3) { transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 35;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-5);
  padding: var(--space-7) var(--gutter) var(--space-6);
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
  background: rgba(244, 239, 230, 0.95);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}

.mobile-menu.is-open {
  opacity: 1;
}

.mobile-menu__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-menu__list li,
.mobile-menu__actions {
  opacity: 0;
  transform: translateY(var(--space-5));
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.mobile-menu.is-open .mobile-menu__list li,
.mobile-menu.is-open .mobile-menu__actions {
  opacity: 1;
  transform: none;
}

.mobile-menu.is-open .mobile-menu__list li:nth-child(2) { transition-delay: 0.05s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(3) { transition-delay: 0.1s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(4) { transition-delay: 0.15s; }
.mobile-menu.is-open .mobile-menu__actions { transition-delay: 0.2s; }

.mobile-menu__list a {
  display: block;
  padding: var(--space-2) 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-decoration: none;
}

.mobile-menu__actions {
  display: grid;
  gap: var(--space-2);
}

.mobile-menu__actions .btn {
  justify-content: space-between;
}

.mobile-menu__meta {
  margin-top: var(--space-2);
  color: var(--muted);
}

/* ---------- Hero ---------- */

.hero {
  padding: var(--space-5) 0 var(--section-y);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: var(--space-6);
}

.hero__title {
  font-size: var(--display-hero);
  line-height: 0.92;
  letter-spacing: -0.035em;
}

/* "Fixed today." sits on an orange slat, the same bar as the bottom of the logo */
.hero__accent {
  position: relative;
  display: inline-block;
}

.hero__accent::after {
  content: "";
  position: absolute;
  left: 0.02em;
  right: 0.12em;
  bottom: -0.2em;
  height: 0.09em;
  border-radius: 2px;
  background: var(--orange);
  transform-origin: 0 50%;
}

.motion .hero__accent::after {
  transform: scaleX(0);
  transition: transform 0.9s var(--ease);
}

.motion .hero__accent.is-drawn::after {
  transform: none;
}

.hero__lede {
  margin-top: var(--space-5);
  max-width: 30rem;
  color: var(--ink-soft);
  font-size: var(--text-lg);
}

.hero .status {
  margin-top: var(--space-4);
  max-width: 30rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.shell--hero {
  border-radius: calc(var(--r-lg) + var(--space-2));
  padding: var(--space-2);
}

.hero__frame {
  position: relative;
  aspect-ratio: 6 / 5;
  border-radius: var(--r-lg) !important;
  overflow: hidden;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 34% 50%;
}

/* Signature: a garage door covers the photo, then rolls up as one unit. Only drawn when motion runs. */
.slats,
.hero__shade {
  display: none;
}

/* The garage is dim until the door is up; the light comes in as it lifts */
.motion .hero__shade {
  position: absolute;
  inset: 0;
  display: block;
  background: var(--ink);
  opacity: 0.5;
  pointer-events: none;
}

.motion .slats {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: repeat(8, 1fr);
}

.slats span {
  display: block;
  background:
    linear-gradient(to bottom, rgba(244, 239, 230, 0.08) 0, rgba(244, 239, 230, 0.08) 1px, transparent 1px),
    linear-gradient(to top, rgba(0, 0, 0, 0.3) 0, rgba(0, 0, 0, 0.3) 2px, transparent 2px),
    var(--ink);
}

.slats span:last-child {
  background: var(--orange);
}

/* Hidden until the entrance runs */
.motion .hero__title,
.motion [data-hero-fade] {
  opacity: 0;
}

/* ---------- Symptom picker ---------- */

.symptoms__options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.symptom {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  min-height: 8.5rem;
  padding: var(--space-6) var(--space-4) var(--space-4);
  border: 0;
  border-radius: var(--r-md);
  background: var(--sand);
  box-shadow: inset 0 0 0 1px var(--field-line);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: transform var(--dur) var(--ease);
}

.symptom::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: var(--ink);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}

.symptom > * {
  position: relative;
  z-index: 1;
}

.symptom:hover {
  transform: translateY(-3px);
}

.symptom__label {
  font-family: var(--font-display);
  font-size: var(--display-card);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.symptom__icon {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  transition: transform var(--dur) var(--ease);
}

.symptom[aria-expanded="true"] {
  color: var(--on-ink);
}

.symptom[aria-expanded="true"]::before {
  opacity: 1;
}

.symptom[aria-expanded="true"] .symptom__icon {
  transform: rotate(45deg);
}

.symptom:focus-visible {
  outline-offset: 4px;
}

/* All panels share one cell, so the area never jumps in height */
.symptoms__stage {
  display: grid;
  margin-top: var(--space-3);
}

.panel {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-5);
  border-radius: var(--r-md);
  background: var(--sand);
  box-shadow: inset 0 0 0 1px var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(var(--space-3));
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
  align-content: center;
}

.panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s;
}

.panel--empty {
  background: transparent;
}

.panel__label {
  margin-bottom: var(--space-2);
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 600;
}

.panel__headline {
  margin-bottom: var(--space-3);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--display-sub);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 22ch;
  text-wrap: balance;
}

.panel__cause > p:last-child {
  max-width: 32rem; /* about 65 characters */
}

.panel--empty .panel__headline {
  margin-bottom: 0;
}

.panel__side {
  display: grid;
  gap: var(--space-4);
  justify-items: start;
}

/* The spring warning sits in the answer as text with an icon, not as a box inside a box */
.safety-note {
  display: flex;
  gap: var(--space-3);
  color: var(--ink);
  font-size: var(--text-sm);
}

.safety-note .icon {
  margin-top: 0.15rem;
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(var(--space-3)); }
  to { opacity: 1; transform: none; }
}

@keyframes field-in {
  from { opacity: 0; transform: translateY(calc(var(--space-2) * -1)); }
  to { opacity: 1; transform: none; }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Fields and messages that appear because of something you chose arrive, rather than pop */
.field--details:not([hidden]),
[data-town-note]:not([hidden]),
.field-error:not([hidden]) {
  animation: field-in var(--dur) var(--ease);
}

/* ---------- Same-day promise: the working day, 7am to 7pm ---------- */

.sameday__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--space-6);
  margin-bottom: var(--space-7);
}

.sameday .status {
  margin-top: var(--space-4);
}

.sameday__intro .btn {
  margin-top: var(--space-5);
}

.sameday__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 50% 55%;
}

.dayline {
  --noon: calc(5 / 12 * 100%);
}

.dayline__scale {
  position: relative;
  padding-top: var(--space-5);
}

.dayline__noon {
  position: absolute;
  top: 0;
  left: var(--noon);
  transform: translateX(-50%);
  color: var(--orange);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.25rem;
  white-space: nowrap;
}

.dayline__noon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(1.25rem + var(--space-1));
  width: 2px;
  height: calc(var(--space-5) - 1.25rem - var(--space-1));
  margin-left: -1px;
  background: var(--orange);
}

.dayline__track {
  position: relative;
  height: 2px;
  background: var(--on-ink-line);
}

.dayline__fill {
  position: absolute;
  left: 0;
  top: -1px;
  width: var(--noon);
  height: 4px;
  border-radius: 2px;
  background: var(--orange);
  transform-origin: 0 50%;
}

/* Where Tampa is in the working day right now */
.dayline__now {
  position: absolute;
  top: 50%;
  left: var(--now, 0%);
  width: 0.875rem;
  height: 0.875rem;
  margin: -0.4375rem 0 0 -0.4375rem;
  border-radius: 50%;
  background: var(--on-ink);
  box-shadow: 0 0 0 4px rgba(244, 239, 230, 0.2);
}

.dayline__now-label {
  position: absolute;
  top: calc(100% + 2.4rem);
  left: 50%;
  transform: translateX(-50%);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--r-pill);
  background: var(--on-ink);
  color: var(--ink);
  font-size: var(--text-xs);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  min-width: 7.5ch;
  text-align: center;
}

.dayline__now-label::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 1px;
  height: 2rem;
  background: var(--on-ink-soft);
}

.dayline__now.is-start .dayline__now-label { left: -0.4375rem; transform: none; }
.dayline__now.is-start .dayline__now-label::before { left: 0.875rem; }
.dayline__now.is-end .dayline__now-label { left: auto; right: -0.4375rem; transform: none; }
.dayline__now.is-end .dayline__now-label::before { left: auto; right: 0.875rem; }

.dayline__hours {
  position: relative;
  height: 1.5rem;
  margin: var(--space-2) 0 0;
  padding: 0;
  list-style: none;
}

.dayline__hours li {
  position: absolute;
  left: calc(var(--h) / 12 * 100%);
  transform: translateX(-50%);
  color: var(--on-ink-soft);
  font-size: var(--text-sm);
  white-space: nowrap;
  font-weight: 500;
}

.dayline__hours li:first-child { transform: none; }
.dayline__hours li:last-child { transform: translateX(-100%); }

.dayline__hours .dayline__hour--noon {
  color: var(--on-ink);
  font-weight: 600;
}

.dayline__steps {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3.5fr) minmax(0, 3.5fr);
  margin: var(--space-6) 0 0;
  padding: 0;
  list-style: none;
}

.dayline__step {
  padding-right: var(--space-5);
}

.dayline__tag {
  color: var(--on-ink-soft);
  font-size: var(--text-sm);
  font-weight: 600;
}

.dayline__title {
  margin: var(--space-2) 0;
  font-size: var(--display-card);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.dayline__step p {
  max-width: 22rem;
}

.dayline__step a {
  color: var(--on-ink);
  font-weight: 600;
}

/* ---------- Services: one photo stays put while the list scrolls past ---------- */

.svc {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: start;
  gap: var(--space-6);
}

.svc-stage {
  position: sticky;
  top: max(var(--space-7), calc(50vh - 16rem));
  padding: var(--bezel);
  border-radius: calc(var(--r-lg) + var(--bezel));
  background: rgba(21, 33, 29, 0.05);
  box-shadow: inset 0 0 0 1px var(--line);
}

.svc-stage__frame {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--concrete);
}

.svc-stage__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.8s var(--ease), transform 1.2s var(--ease);
}

.svc-stage__img.is-active {
  opacity: 1;
  transform: none;
}

.svc-stage__inset {
  position: absolute;
  left: var(--space-4);
  bottom: var(--space-4);
  width: 40%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-md);
  box-shadow: 0 0 0 var(--bezel) rgba(244, 239, 230, 0.92);
  opacity: 0;
  transform: translateY(var(--space-3));
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.svc-stage__inset.is-active {
  opacity: 1;
  transform: none;
}

.svc-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.svc-item {
  padding-block: var(--space-6);
  border-top: 1px solid var(--line);
}

.svc-item:first-child {
  padding-top: var(--space-4);
  border-top: 0;
}

/* Room after the last service so the photo frame stays in view while it's current */
.svc-item:last-child {
  padding-bottom: var(--space-7);
}

.svc-item__title {
  margin-bottom: var(--space-3);
  font-size: var(--display-service);
  line-height: 1.05;
}

/* Desktop: the service beside the photo gets a small ink slat above its title, like the logo's bars */
@media (min-width: 961px) {
  .svc-item__title::before {
    content: "";
    display: block;
    width: var(--space-5);
    height: 0.375rem;
    margin-bottom: var(--space-3);
    border-radius: 2px;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform var(--dur) var(--ease);
  }

  .svc-item.is-active .svc-item__title::before {
    transform: none;
  }
}

.svc-item__text p {
  max-width: 30rem;
  font-size: var(--text-lg);
}

/* Inline photos are for phones; desktop uses the sticky frame */
.svc-item__media {
  display: none;
}

.svc-item__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.svc-item__media--pair {
  position: relative;
  padding-bottom: var(--space-5);
}

.svc-item__inset {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44%;
  border-radius: var(--r-md);
  background: rgba(244, 239, 230, 0.9);
}

.svc-item__inset > img {
  border-radius: calc(var(--r-md) - var(--bezel));
  aspect-ratio: 4 / 3;
}

.svc-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
}

.svc-cta__text {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--display-sub);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.svc-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* ---------- Door styles ---------- */

.styles .section-head {
  margin-bottom: var(--space-5);
}

.styles__buttons {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-2);
}

.styles__track {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-left: max(var(--gutter), env(safe-area-inset-left), calc((100% - var(--max)) / 2));
  padding-right: max(var(--gutter), env(safe-area-inset-right), calc((100% - var(--max)) / 2));
  scroll-padding-left: max(var(--gutter), env(safe-area-inset-left), calc((100% - var(--max)) / 2));
  scroll-padding-right: max(var(--gutter), env(safe-area-inset-right), calc((100% - var(--max)) / 2));
  padding-bottom: var(--space-4);
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

.styles__track:focus-visible {
  outline-offset: -3px;
}

.style-card {
  flex: 0 0 min(78vw, 24rem);
  margin: 0;
  scroll-snap-align: start;
}

.style-card__media {
  overflow: hidden;
  border-radius: var(--r-lg);
  aspect-ratio: 4 / 5;
  background: var(--sand);
}

.style-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.style-card__media .style-card__img--steel {
  object-position: 14% 50%;
}

.style-card__media .style-card__img--carriage {
  object-position: 22% 50%;
}

.style-card:hover .style-card__media img {
  transform: scale(1.05);
}

.style-card figcaption {
  display: grid;
  gap: var(--space-1);
  padding: var(--space-3) var(--space-2) 0;
  transition: transform var(--dur) var(--ease);
}

.style-card:hover figcaption {
  transform: translateX(6px);
}

.style-card__name {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--display-card);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.style-card__note {
  color: var(--muted);
}

/* ---------- Spring safety: short and calm ---------- */

.safety {
  display: grid;
  grid-template-columns: auto minmax(0, 0.9fr) minmax(0, 1.2fr);
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-5);
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
}

.safety__icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-ink);
}

.safety__icon .icon {
  width: 1.625rem;
  height: 1.625rem;
}

.safety__title {
  font-size: var(--display-sub);
  line-height: 1.05;
}

.safety__text p {
  max-width: 34rem;
  font-size: var(--text-lg);
}

.safety__text .safety__aside {
  margin-top: var(--space-2);
  color: var(--muted);
  font-size: var(--text-base);
}

.safety__aside a {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Reviews: editorial rows, each led by a line from the review ---------- */

.quotes {
  border-top: 1px solid var(--line);
}

.quote {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--space-6);
  margin: 0;
  padding-block: var(--space-5);
  border-bottom: 1px solid var(--line);
}

.quote__pull {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1rem + 2.6vw, 2.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
  text-indent: -0.42em;
}

.quote__pull::before { content: "\201C"; color: var(--muted); }
.quote__pull::after { content: "\201D"; color: var(--muted); }

.quote__body {
  display: grid;
  gap: var(--space-3);
  padding-top: var(--space-2);
}

.quote__tag {
  justify-self: start;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--space-2);
  box-shadow: inset 0 0 0 1px var(--field-line);
  color: var(--ink-soft);
  font-size: var(--text-xs);
  font-weight: 600;
}

.quote__text {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--text-lg);
  line-height: 1.55;
}

.quote__text p::before { content: "\201C"; }
.quote__text p::after { content: "\201D"; }

.quote__who {
  color: var(--muted);
}

.quote__who strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Service area ---------- */

.area__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--space-6);
}

.area__copy .section-lede {
  margin-top: var(--space-4);
}

.area__map {
  justify-self: end;
  width: min(100%, 26.25rem); /* 34rem tall map, 400:520 */
}

.towns {
  display: block;
  text-wrap: balance;
  margin: var(--space-4) 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.towns li {
  display: inline;
}

.towns li:not(:last-child)::after {
  content: ",";
}

.area__other {
  margin-top: var(--space-5);
  font-size: var(--text-lg);
  text-wrap: balance;
}

.area__other a {
  color: var(--ink);
  font-weight: 600;
}

.area__map svg {
  display: block;
  width: 100%;
  max-height: 34rem;
  height: auto;
  border-radius: var(--r-lg);
  font-family: var(--font-body);
}

.map__land { fill: var(--sand); }
.map__zone-wrap { opacity: 0.08; }
.map__zone { fill: var(--ink); stroke: var(--ink); }
.map__water { fill: #D9E1DC; }
.map__water-label { fill: var(--muted); letter-spacing: 0.12em; }
.map__towns circle { fill: var(--ink); stroke: var(--sand); stroke-width: 2; }
.map__towns text {
  fill: var(--ink);
  font-size: 13px;
  font-weight: 500;
  paint-order: stroke;
  stroke: var(--sand);
  stroke-width: 4;
  stroke-linejoin: round;
}
.map__town--main circle { r: 7px; }
.map__town--main text { font-size: 15px; font-weight: 600; }
.map__note { fill: var(--muted); font-size: 10px; }

/* ---------- Booking form ---------- */

.book__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  align-items: start;
  gap: var(--space-6);
}

.book__intro {
  position: sticky;
  top: var(--space-7);
}

.book__intro .status {
  margin-top: var(--space-4);
}

.book__alt {
  margin-top: var(--space-5);
  font-weight: 500;
}

.book__alt a {
  color: var(--ink);
  font-weight: 600;
}

.book__card {
  border-radius: calc(var(--r-lg) + var(--space-2));
}

.book__core {
  padding: var(--space-5);
  border-radius: var(--r-lg);
  background: var(--paper);
}

.form {
  display: grid;
  gap: var(--space-5);
}

.field-group {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.field-label {
  display: block;
  margin-bottom: var(--space-3);
  padding: 0;
  color: var(--ink);
  font-weight: 600;
}

.field-optional {
  color: var(--muted);
  font-weight: 400;
}

.field-hint,
.field-note {
  margin-top: var(--space-2);
  max-width: 29rem; /* about 65 characters */
  color: var(--muted);
  font-size: var(--text-sm);
}

.field-note a {
  color: var(--ink);
  font-weight: 600;
}

.field--details {
  margin-top: var(--space-4);
}

.choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
}

.choices--row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice {
  position: relative;
  display: block;
  cursor: pointer;
}

.choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.choice span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 3.25rem;
  height: 100%;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--r-sm);
  background: var(--sand);
  box-shadow: inset 0 0 0 1px var(--field-line);
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1.3;
}

.choice small {
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: 400;
}

.choice:hover span {
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.choice input:checked + span {
  background: var(--ink);
  color: var(--on-ink);
  box-shadow: none;
}

.choice input:checked + span small {
  color: var(--on-ink-soft);
}

.choice input:focus-visible + span {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.input {
  display: block;
  width: 100%;
  min-height: 3.25rem;
  padding: var(--space-2) var(--space-3);
  border: 0;
  border-radius: var(--r-sm);
  background: var(--sand);
  box-shadow: inset 0 0 0 1px var(--field-line);
  color: var(--ink);
  font: inherit;
}

.input:hover {
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.input:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

.input--area {
  min-height: 6rem;
  resize: vertical;
  line-height: 1.5;
}

.input--select {
  appearance: none;
  padding-right: var(--space-6);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315211D' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-3) center;
  background-size: 1.25rem;
  cursor: pointer;
}

/* Errors: the field and its label say so; chips aren't all painted red */
.input[aria-invalid="true"] {
  box-shadow: inset 0 0 0 2px var(--error);
}

.field-group.has-error > .field-label {
  color: var(--error);
}

.field-error {
  margin-top: var(--space-2);
  color: var(--error);
  font-size: var(--text-sm);
  font-weight: 500;
}

.form-note {
  color: var(--muted);
  font-size: var(--text-sm);
}

.form > .form-note {
  margin-top: calc(var(--space-4) * -1);
  text-align: center;
}

/* What happens after you press send, and what your details are used for */
.form-reassure {
  margin-top: calc(var(--space-4) * -1);
  color: var(--ink-soft);
  font-size: var(--text-sm);
  max-width: 29rem; /* about 65 characters */
}

.thanks {
  display: grid;
  justify-items: start;
  gap: var(--space-3);
  padding: var(--space-4) 0;
}

.thanks:focus {
  outline: none;
}

.thanks__icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-ink);
}

.thanks__icon .icon {
  width: 1.75rem;
  height: 1.75rem;
  stroke-width: 2;
}

.thanks__title {
  font-size: var(--display-sub);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.thanks p {
  font-size: var(--text-lg);
  overflow-wrap: anywhere;
}

.thanks .btn {
  margin-top: var(--space-3);
}

/* ---------- Footer ---------- */

.footer {
  padding: var(--space-7) 0 var(--space-5);
  background: var(--ink);
  color: var(--on-ink-soft);
}

.footer a {
  color: var(--on-ink);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--on-ink-line);
}

.footer__tagline {
  margin-bottom: var(--space-3);
  max-width: 22rem;
  color: var(--on-ink);
  font-family: var(--font-display);
  font-size: var(--display-card);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.footer__heading {
  margin-bottom: 0;
  color: var(--on-ink);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0;
}

.footer__soft {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
}

.footer__links {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Comfortable tap height for every footer link (text + 2 x 10px); first rows line up across columns */
.footer__links a {
  display: inline-block;
  padding-block: 0.625rem;
}

.footer__heading + p {
  margin-top: 0.625rem;
}

.footer__wordmark {
  display: block;
  width: clamp(12rem, 30vw, 24rem);
  height: auto;
  margin-top: var(--space-6);
  color: var(--on-ink);
}

.footer__sample {
  padding-top: var(--space-4);
  font-size: var(--text-sm);
}

/* ---------- Phone action bar ---------- */

.action-bar {
  display: none;
}

/* ---------- Scroll reveal: hidden only when motion runs ---------- */

.motion [data-reveal] {
  opacity: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .header-actions { margin-left: auto; }
  /* Five tiles as 3 + 2, both rows full width */
  .symptoms__options { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .symptoms__options li { grid-column: span 2; }
  .symptoms__options li:nth-child(n + 4) { grid-column: span 3; }
}

@media (min-width: 961px) and (max-width: 1180px) {
  .hero__actions { flex-direction: column; align-items: stretch; gap: var(--space-2); }
  .hero__actions .btn { justify-content: space-between; }
}

/* Tablets: services as a two-column list instead of one long photo stack */
@media (min-width: 721px) and (max-width: 960px) {
  .svc-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--space-5);
  }
  .svc-list .svc-item:nth-child(-n + 2) { padding-top: 0; border-top: 0; }
  .svc-list .svc-item:last-child { padding-bottom: var(--space-5); }
  .svc-item__media img { aspect-ratio: 2 / 1; }
}

@media (max-width: 960px) {
  .hero__grid,
  .sameday__top,
  .area__grid,
  .book__grid,
  .safety,
  .section-head--split {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__grid { gap: var(--space-5); }
  .hero__frame { aspect-ratio: 4 / 3; }
  .section-head--split { gap: var(--space-4); }
  .section-head--split .section-lede { justify-self: start; }
  .styles__buttons { justify-content: flex-start; }
  .sameday__top { margin-bottom: var(--space-6); }
  .book__intro { position: static; }
  .safety { gap: var(--space-3); }
  .quote { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); padding-block: var(--space-5); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }

  .svc { grid-template-columns: minmax(0, 1fr); }
  .svc-stage { display: none; }
  .svc-item { padding-block: var(--space-5); }
  .svc-item:first-child { padding-top: 0; }
  .svc-item:last-child { padding-bottom: var(--space-2); }
  .svc-item__media { display: block; margin-bottom: var(--space-4); }
  .area__map { justify-self: start; }
}

@media (max-width: 720px) {
  /* Headline, then the photo (so the door reveal plays in view), then status and actions above the call bar */
  .hero { padding-top: var(--space-4); }
  .hero__grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hero__copy { display: contents; }
  .hero__title { order: 1; font-size: clamp(3rem, 15vw, 4.5rem); }
  .hero__media { order: 2; margin-top: var(--space-4); }
  .hero .status { order: 3; margin-top: var(--space-4); }
  .hero__actions { order: 4; margin-top: var(--space-3); flex-direction: column; align-items: stretch; gap: var(--space-2); }
  .hero__actions .btn { justify-content: space-between; }
  .hero__lede { order: 5; margin-top: var(--space-5); }
  .shell--hero { padding: var(--bezel); border-radius: var(--r-lg); }
  .hero__frame { aspect-ratio: 16 / 10; border-radius: calc(var(--r-lg) - var(--bezel)) !important; }
  .hero__img { object-position: 30% 40%; }

  .header-phone,
  .header-actions .btn { display: none; }
  .site-header { padding-block: var(--space-2); }
  .brand__logo { height: 1.5rem; }

  /* Fewer, quicker slats on phones */
  .motion .slats { grid-template-rows: repeat(5, 1fr); }
  .slats span:nth-child(n + 5):not(:last-child) { display: none; }

  /* The answer opens inside the tapped option's row */
  .symptoms__options { grid-template-columns: minmax(0, 1fr); gap: var(--space-2); }
  /* Drop the tablet's 3 + 2 spans, or they add empty columns and widen the last two options */
  .symptoms__options li,
  .symptoms__options li:nth-child(n + 4) { grid-column: auto; }
  .symptoms__options .symptoms__stage { margin-top: var(--space-2); }
  .symptom {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    height: auto;
    min-height: 4rem;
    padding: var(--space-3) var(--space-6) var(--space-3) var(--space-3);
  }
  .symptom:hover { transform: none; }
  .symptom__icon { top: 50%; margin-top: -1.125rem; }
  .symptom__label { font-size: 1.25rem; }
  .panel { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); padding: var(--space-4); }
  .panel:not(.is-active) { display: none; }
  .panel.is-active { animation: panel-in var(--dur) var(--ease); }
  .panel--empty { padding: var(--space-3) var(--space-4); }

  .dayline__hours li:not(:first-child):not(:last-child):not(.dayline__hour--noon) { display: none; }
  .dayline__steps { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); margin-top: var(--space-6); }

  .svc-item__media img { aspect-ratio: 2 / 1; }
  .svc-item__inset { width: 40%; }
  .svc-item__title { font-size: var(--display-service); }
  .svc-cta { flex-direction: column; align-items: stretch; }
  .svc-cta__actions { flex-direction: column; }
  .svc-cta__actions .btn { justify-content: space-between; }

  .style-card { flex-basis: 78vw; }

  .safety { padding: var(--space-4); }

  .book__core { padding: var(--space-4); }
  .choices { grid-template-columns: minmax(0, 1fr); }
  .choices--row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .choices--row .choice span { align-items: center; text-align: center; }
  /* Day choices carry a date, so on phones they stack one per row with the date beside the day */
  .choices--days { grid-template-columns: minmax(0, 1fr); }
  .choices--days .choice span { flex-direction: row; justify-content: space-between; align-items: center; text-align: left; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .form { gap: var(--space-4); }
  .form > .form-note,
  .form > .form-reassure { margin-top: calc(var(--space-3) * -1); }

  .map__towns text { font-size: 16px; }
  .map__town--main text { font-size: 18px; }
  .map__water-label { font-size: 12px; }
  .map__note { font-size: 14px; }

  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5) var(--space-4); }
  .footer__brand { grid-column: 1 / -1; }
  .footer { padding-top: var(--space-6); }
  /* Short landscape screens and 200% zoom: a wider photo so status and buttons reach the first screen */
  @media (max-height: 500px) {
    .hero__frame { aspect-ratio: 21 / 9; }
  }

  html { scroll-padding-bottom: 5.5rem; }

  /* Keep the last bit of the footer clear of the fixed Call/Book bar */
  .footer { padding-bottom: calc(var(--space-5) + 5.5rem); }

  .action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3) calc(var(--space-2) + env(safe-area-inset-bottom));
    padding-inline: max(var(--space-3), env(safe-area-inset-left)) max(var(--space-3), env(safe-area-inset-right));
    background: rgba(244, 239, 230, 0.92);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: inset 0 1px 0 var(--line);
    transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
  }

  /* While the booking form is on screen, the bar steps aside so one Book button is in view */
  .action-bar.is-tucked {
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
  }

  .action-bar .btn {
    justify-content: center;
    gap: var(--space-2);
    padding-inline: var(--space-3);
  }
}

/* Reduced motion: nothing slides, scales or travels, but fades and colour changes stay so every
   state change (an opened answer, a new photo, a chosen option, a new field) is still visible */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-property: opacity, color, background-color, box-shadow, visibility !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }

  .panel.is-active,
  .field--details:not([hidden]),
  [data-town-note]:not([hidden]),
  .field-error:not([hidden]) {
    animation-name: fade-in;
  }

  .panel,
  .svc-stage__img,
  .svc-stage__inset,
  .mobile-menu__list li,
  .mobile-menu__actions {
    transform: none !important;
  }

  .style-card:hover .style-card__media img,
  .style-card:hover figcaption,
  .symptom:hover,
  .round-btn:hover,
  .btn:active,
  .btn:hover .btn__icon,
  .text-link:hover .icon {
    transform: none;
  }
}

/* =====================================================================
   Inner pages: services, troubleshooting, about, contact, privacy, 404.
   Same tokens, shells, pills and motion as the homepage; only new layouts live here.
   ===================================================================== */

/* ---------- Where you are, in every menu ---------- */

.nav__list a[aria-current="page"]::after {
  transform: none;
}

.mobile-menu {
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-menu__list a[aria-current="page"],
.footer__links a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.16em;
}

.footer__links a[aria-current="page"] {
  text-decoration-thickness: 1px;
}

.mobile-menu.is-open .mobile-menu__list li:nth-child(5) { transition-delay: 0.2s; }
.mobile-menu.is-open .mobile-menu__actions { transition-delay: 0.25s; }

/* Small outlined label, the same as "Sample review" */
.tag {
  display: inline-block;
  margin-right: var(--space-2);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--space-2);
  box-shadow: inset 0 0 0 1px var(--field-line);
  color: var(--ink-soft);
  font-size: var(--text-xs);
  font-weight: 600;
  line-height: 1.4;
  vertical-align: 0.15em;
}

/* Outline buttons on the dark band */
.section--ink .btn--ghost {
  color: var(--on-ink);
  box-shadow: inset 0 0 0 1px rgba(244, 239, 230, 0.5);
}

.section--ink .btn--ghost::after {
  background: var(--paper);
}

/* ---------- Page hero (headline pages without a hero photo) ---------- */

.page-hero {
  padding: var(--space-5) 0 var(--space-7);
}

.page-hero--short {
  padding-bottom: var(--space-6);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: end;
  gap: var(--space-6);
}

.page-hero__grid--solo {
  grid-template-columns: minmax(0, 1fr);
}

.page-hero .hero__title,
.lost .hero__title {
  font-size: clamp(2.75rem, 5.4vw, 5.25rem);
  line-height: 0.95;
}

.page-hero__lede {
  margin-top: var(--space-5);
  max-width: 34rem;
  color: var(--ink-soft);
  font-size: var(--text-lg);
}

.page-hero .status {
  margin-top: var(--space-4);
  max-width: 34rem;
}

.page-hero .hero__actions {
  margin-top: var(--space-5);
}

/* Jump list beside the services headline */
.jump__core {
  padding: var(--space-3) var(--space-4) var(--space-2);
  background: var(--paper);
}

.jump__label {
  padding-block: var(--space-2);
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 600;
}

.jump__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.jump__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 3rem;
  padding-block: var(--space-2);
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.jump__list .icon {
  transition: transform var(--dur) var(--ease);
}

.jump__list a:hover .icon {
  transform: translateY(3px);
}

/* ---------- Services page: one band per service ---------- */

.service {
  padding-block: var(--space-7);
}

.service[id] {
  scroll-margin-top: calc(var(--space-7) + var(--space-3) - var(--space-7) - var(--header-clear));
}

.service__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--space-6);
}

.service__grid--flip {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
}

.service__grid--flip .service__media {
  order: 2;
}

.service__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service__media--pair {
  position: relative;
  padding-bottom: var(--space-6);
}

.service__inset {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42%;
  background: rgba(244, 239, 230, 0.92);
  border-radius: var(--r-md);
}

.service__inset > img {
  border-radius: calc(var(--r-md) - var(--bezel));
}

.service__title {
  font-size: clamp(2.25rem, 1.2rem + 3vw, 3.75rem);
  line-height: 1.02;
}

.service__lede {
  margin-top: var(--space-4);
  max-width: 32rem;
  font-size: var(--text-lg);
}

.service__label {
  margin: var(--space-5) 0 var(--space-2);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0;
}

.checklist {
  max-width: 32rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding-block: var(--space-3);
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.checklist li:last-child {
  border-bottom: 1px solid var(--line);
}

.checklist .icon {
  margin-top: 0.2rem;
}

.service .safety-note {
  max-width: 32rem;
  margin-top: var(--space-4);
}

.service__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

/* New doors: the four styles in one row under the service */
.service__styles {
  grid-column: 1 / -1;
}

@media (min-width: 961px) {
  .service__grid > .service__media,
  .service__grid > .service__body { grid-row: 1; }
  .service__grid--flip > .service__media { grid-column: 2; }
  .service__grid--flip > .service__body { grid-column: 1; }
  /* The smart-opener inset overlaps the main photo's corner, inside the content edge */
  .service__media--pair > .shell:first-child { margin-right: var(--space-6); }
}

.mini-styles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.mini-style__media {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-md);
  background: var(--concrete);
}

.mini-style__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.mini-style:hover .mini-style__media img {
  transform: scale(1.05);
}

.mini-style__name {
  display: block;
  padding: var(--space-3) var(--space-2) 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--display-card);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

/* Closing band: a headline and its actions on one line */
.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-5);
}

.cta-band__text {
  max-width: 44rem;
}

.section--ink .section-lede {
  color: var(--on-ink-soft);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* ---------- Troubleshooting: the long symptom picker ---------- */

.rules__core {
  padding: var(--space-5);
  background: var(--ink);
  color: var(--on-ink-soft);
  -webkit-font-smoothing: antialiased;
}

.rules__title {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--on-ink);
  font-family: var(--font-display);
  font-size: var(--display-card);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.rules__title .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.rules__list {
  display: grid;
  gap: var(--space-3);
  margin: var(--space-4) 0 0;
  padding: 0;
  list-style: none;
}

.rules__list li {
  padding-top: var(--space-3);
  border-top: 1px solid var(--on-ink-line);
  line-height: 1.6;
}

.rules__list strong {
  display: block;
  color: var(--on-ink);
}

.symptoms--long {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 8fr);
  align-items: start;
  gap: var(--space-5);
}

.symptoms--long .symptoms__options {
  position: sticky;
  top: var(--space-7);
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-2);
}

.symptoms--long .symptoms__options li,
.symptoms--long .symptoms__options li:nth-child(n + 4) {
  grid-column: auto;
}

.symptoms--long .symptom {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  height: auto;
  min-height: 4.5rem;
  padding: var(--space-3) var(--space-6) var(--space-3) var(--space-4);
}

.symptoms--long .symptom:hover {
  transform: translateX(4px);
}

.symptoms--long .symptom__icon {
  top: 50%;
  margin-top: -1.125rem;
}

.symptoms--long .symptom__label {
  font-size: clamp(1.25rem, 1rem + 0.6vw, 1.5rem);
}

.symptoms--long .symptoms__stage {
  margin-top: 0;
}

.panel--long {
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  align-items: start;
  gap: var(--space-5);
}

.panel--long .panel__headline {
  max-width: 24ch;
}

/* Before anything is picked: the prompt, then a photo filling the space the answers will use */
.panel__photo {
  display: none;
}

@media (min-width: 721px) {
  .symptoms--long .panel--empty {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto minmax(14rem, 1fr);
    align-content: stretch;
    align-items: end;
    gap: var(--space-4) var(--space-5);
    padding: 0;
    box-shadow: none;
  }

  .symptoms--long .panel--empty .panel__photo {
    display: block;
    position: relative;
    grid-column: 1 / -1;
    align-self: stretch;
  }

  .symptoms--long .panel__photo img {
    position: absolute;
    inset: var(--bezel);
    width: calc(100% - var(--bezel) * 2);
    height: calc(100% - var(--bezel) * 2);
    object-fit: cover;
    object-position: 34% 45%;
  }
}

.checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

.checks__col {
  padding: var(--space-4);
  border-radius: var(--r-md);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
}

.checks__col--stop {
  background: var(--ink);
  color: var(--on-ink-soft);
  box-shadow: none;
  -webkit-font-smoothing: antialiased;
}

.checks__title {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
  color: var(--ink);
  font-weight: 600;
}

.checks__col--stop .checks__title {
  color: var(--on-ink);
}

.checks ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checks li {
  padding-block: var(--space-3);
  border-top: 1px solid var(--line);
  font-size: var(--text-sm);
  line-height: 1.55;
}

.checks__col--stop li {
  border-top-color: var(--on-ink-line);
}

.checks li:last-child {
  padding-bottom: 0;
}

.panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.symptoms--long + .svc-cta {
  margin-top: var(--space-6);
}

/* Homepage: the picker hands over to the full guide */
.symptoms + .text-link {
  margin-top: var(--space-4);
}

.svc-cta .text-link {
  margin-top: var(--space-2);
}

/* ---------- About ---------- */

.hero__grid--even {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.hero__img--about {
  object-position: 62% 50%;
}

.principles {
  border-top: 1px solid var(--line);
}

.principle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  align-items: start;
  gap: var(--space-6);
  padding-block: var(--space-6);
  border-bottom: 1px solid var(--line);
}

.principle__title {
  font-size: var(--display-section);
  line-height: 1;
}

.principle__text {
  max-width: 34rem;
  color: var(--ink-soft);
  font-size: var(--text-lg);
}

.principle__quote {
  display: grid;
  justify-items: start;
  gap: var(--space-2);
  margin: var(--space-5) 0 0;
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}

.principle__quote blockquote {
  margin: 0;
  color: var(--ink);
  font-size: var(--text-lg);
  font-weight: 500;
  line-height: 1.5;
}

.principle__quote blockquote p::before { content: "\201C"; }
.principle__quote blockquote p::after { content: "\201D"; }

.visit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--space-6);
}

.visit__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 40% 50%;
}

.visit__steps {
  margin: var(--space-5) 0 0;
  padding: 0;
  list-style: none;
}

.visit__step {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: var(--space-3);
  padding-block: var(--space-4);
  border-top: 1px solid var(--on-ink-line);
}

.visit__step .dayline__tag {
  padding-top: 0.35rem;
}

.visit__step .dayline__title {
  margin-top: 0;
}

.visit__step a {
  display: inline-block;
  padding-block: 0.625rem;
  margin-block: -0.625rem;
  color: var(--on-ink);
  font-weight: 600;
}

.about-area {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  align-items: start;
  gap: var(--space-6);
}

.about-area .section-lede {
  margin-top: 0;
}

/* ---------- Contact: ways to reach us ---------- */

.section--flush {
  padding-top: 0;
  padding-bottom: var(--space-6);
}

.section--flush + .section {
  padding-top: var(--space-6);
}

.section--flush + .section[id] {
  scroll-margin-top: calc(var(--space-7) + var(--space-3) - var(--space-6) - var(--header-clear));
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--space-4);
}

.contact-grid__main {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: var(--space-4);
}

.contact-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.card {
  display: flex;
  border-radius: calc(var(--r-lg) + var(--bezel));
}

.card > .card__core {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  border-radius: var(--r-lg);
  background: var(--paper);
}

.card--ink > .card__core {
  background: var(--ink);
  color: var(--on-ink-soft);
  -webkit-font-smoothing: antialiased;
}

.card__label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 600;
}

.card--ink .card__label {
  color: var(--on-ink-soft);
}

.card__big {
  display: inline-block;
  padding-block: var(--space-2);
  color: var(--on-ink);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1.2rem + 4vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.card__big:hover {
  text-decoration: underline;
  text-decoration-thickness: 0.05em;
}

.card__mid {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--display-card);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-decoration: none;
  overflow-wrap: anywhere;
}

a.card__mid {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-block: var(--space-2);
}

a.card__mid:hover {
  text-decoration: underline;
}

.card__foot {
  margin-top: auto;
  padding-top: var(--space-3);
  font-size: var(--text-sm);
}

.card--ink .card__foot {
  font-size: var(--text-base);
}

.card__towns {
  color: var(--ink);
  font-size: var(--text-lg);
  font-weight: 500;
  text-wrap: balance;
}

.card__map {
  margin-top: auto;
}

.card__map svg {
  display: block;
  width: 100%;
  max-height: 30rem;
  height: auto;
  border-radius: var(--r-md);
  font-family: var(--font-body);
}

/* ---------- Privacy policy ---------- */

.legal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr);
  align-items: start;
  gap: var(--space-6);
}

.legal__toc {
  position: sticky;
  top: var(--space-7);
}

.legal__toc ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal__toc a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}

.legal__toc a:hover {
  text-decoration: underline;
}

.prose {
  max-width: 40rem;
  font-size: var(--text-lg);
}

.prose__part + .prose__part {
  margin-top: var(--space-6);
}

.prose h2 {
  margin-bottom: var(--space-3);
  font-size: var(--display-sub);
  line-height: 1.08;
}

.prose p + p,
.prose p + ul,
.prose ul + p {
  margin-top: var(--space-3);
}

.prose ul {
  margin: var(--space-3) 0 0;
  padding-left: 1.25rem;
}

.prose li + li {
  margin-top: var(--space-2);
}

.prose li::marker {
  color: var(--muted);
}

.prose a {
  color: var(--ink);
  font-weight: 600;
}

.prose .needed {
  display: table;
}

.form-reassure a {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- 404: a door stuck halfway, hanging crooked ---------- */

.lost {
  padding: var(--space-5) 0 var(--space-7);
}

.lost__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--space-6);
}

.lost__frame {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: var(--r-lg) !important;
  background: var(--concrete);
}

.lost__code {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8%;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(5rem, 13vw, 11rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  text-align: center;
}

.lost__panels {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: repeat(6, 1fr);
  transform: translateY(-56%) rotate(-3deg);
  transform-origin: 100% 0;
}

.lost__panels span {
  display: block;
  background:
    linear-gradient(to bottom, rgba(244, 239, 230, 0.08) 0, rgba(244, 239, 230, 0.08) 1px, transparent 1px),
    linear-gradient(to top, rgba(0, 0, 0, 0.3) 0, rgba(0, 0, 0, 0.3) 2px, transparent 2px),
    var(--ink);
}

.lost__panels span:last-child {
  background: var(--orange);
}

/* With motion, the door starts closed and the script lifts it */
.motion .lost__panels {
  transform: none;
}

.lost .page-hero__lede {
  max-width: 28rem;
}

.lost .hero__actions {
  margin-top: var(--space-5);
}

.lost__more {
  margin-top: var(--space-5);
}

.lost__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

.lost__links .text-link {
  margin-top: 0;
}

/* ---------- Inner pages: tablets and phones ---------- */

@media (max-width: 1180px) {
  .symptoms--long { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
}

/* Tablets and small laptops: the prompt gets the full width when it sits beside the list */
@media (min-width: 961px) and (max-width: 1180px) {
  .symptoms--long .panel--empty { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto minmax(14rem, 1fr); align-items: start; }
}

@media (max-width: 960px) {
  .page-hero__grid,
  .service__grid,
  .service__grid--flip,
  .symptoms--long,
  .principle,
  .visit,
  .about-area,
  .contact-grid,
  .legal,
  .lost__grid,
  .hero__grid--even {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-hero__grid { gap: var(--space-5); }
  .page-hero__aside { max-width: 34rem; }
  .service__grid--flip .service__media { order: 0; }
  .service__grid { gap: var(--space-5); }
  .symptoms--long .symptoms__options { position: static; }
  .principle { gap: var(--space-4); }
  .visit__media img { aspect-ratio: 3 / 2; }
  .legal__toc { position: static; }
  .lost__door { order: -1; }
}

@media (max-width: 720px) {
  .page-hero { padding-top: var(--space-4); padding-bottom: var(--space-6); }
  .page-hero .hero__title,
  .lost .hero__title { font-size: clamp(2.5rem, 12vw, 3.5rem); line-height: 0.98; }
  .hero__title--about { font-size: clamp(2.5rem, 12.5vw, 3.75rem); }
  .page-hero .hero__actions,
  .lost .hero__actions,
  .cta-band__actions,
  .service__actions,
  .panel__actions { flex-direction: column; align-items: stretch; gap: var(--space-2); }
  .page-hero .hero__actions .btn,
  .lost .hero__actions .btn,
  .cta-band__actions .btn,
  .service__actions .btn,
  .panel__actions .btn { justify-content: space-between; }
  .cta-band { flex-direction: column; align-items: stretch; }
  .rules__core { padding: var(--space-4); }

  .service { padding-block: var(--space-6); }
  .service[id] { scroll-margin-top: calc(var(--space-7) + var(--space-3) - var(--space-6) - var(--header-clear)); }
  .service__media img { aspect-ratio: 3 / 2; }
  .mini-styles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
  .mini-style__name { font-size: 1.25rem; }

  .symptoms--long .symptom { min-height: 4rem; padding: var(--space-3) var(--space-6) var(--space-3) var(--space-3); }
  .symptoms--long .symptom:hover { transform: none; }
  .symptoms--long .symptom__label { font-size: 1.25rem; }
  .checks { grid-template-columns: minmax(0, 1fr); }
  .panel--long { gap: var(--space-4); }

  .principle { padding-block: var(--space-5); }
  .visit__step { grid-template-columns: minmax(0, 1fr); gap: var(--space-1); }

  .contact-pair { grid-template-columns: minmax(0, 1fr); }
  .card > .card__core { padding: var(--space-4); }
  .card__big { font-size: clamp(2.25rem, 11vw, 3rem); }

  .prose { font-size: var(--text-base); }

  .lost { padding-top: var(--space-4); }
  .lost__links { gap: 0 var(--space-4); }
}

@media (prefers-reduced-motion: reduce) {
  .jump__list a:hover .icon,
  .mini-style:hover .mini-style__media img,
  .symptoms--long .symptom:hover {
    transform: none;
  }
}
