/* =====================================================================
   Pail & Pine : cleaning services template
   1. Tokens (palette, type scale, motion)   2. Base   3. Header
   4. Hero   5. Included   6. Before/after   7. Pricing picker
   8. Steps   9. Crew   10. Reviews   11. Area + hours   12. FAQ
   13. Book   14. Footer + call bar   15. Reduced motion
   ===================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Palette: wet-tile mint paper, apron teal, rubber-glove yellow */
  --paper: #F3F6F4;
  --paper-2: #E6EEEA;
  --white: #FFFFFF;
  --grout: #D3E0DA;
  --ink: #10302E;
  --teal: #1F5F5B;
  --teal-soft: #CFE6DD;
  --glove: #F2C94C;
  --glove-deep: #D9A92A;
  --muted: #4B6662;
  --on-ink: #EAF2EE;
  --on-ink-muted: #A9C4BC;

  /* Type */
  --font-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.45rem, 1.2rem + 1vw, 1.8rem);
  --step-3: clamp(2rem, 1.4rem + 2.6vw, 3.4rem);
  --step-4: clamp(2.6rem, 1rem + 5.4vw, 5.6rem);

  /* Space + shape */
  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 1240px;
  --tile: 56px;
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 8px;

  /* Motion */
  --dur-micro: 180ms;
  --dur-short: 320ms;
  --dur-enter: 750ms;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-inout: cubic-bezier(.65, 0, .35, 1);
}

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-latin.woff2") format("woff2");
  font-weight: 500 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--font-body);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-optical-sizing: auto; margin: 0; }
h2 { font-size: var(--step-3); font-weight: 750; line-height: 1; letter-spacing: -.03em; }
h3 { font-size: var(--step-1); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
p { margin: 0; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--glove); padding: .7rem 1rem; border-radius: var(--r-sm); font-weight: 600; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

/* Tile wall: the grout-line grid used as a section background */
.tiles {
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grout) 1px, transparent 1px),
    linear-gradient(90deg, var(--grout) 1px, transparent 1px);
  background-size: var(--tile) var(--tile);
  background-position: -1px -1px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .8rem 1.5rem;
  background: var(--glove); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 999px;
  font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  box-shadow: 0 4px 0 var(--ink);
  transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 5px 0 var(--ink); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn--ghost { background: transparent; box-shadow: none; }
.btn--ghost:hover { background: var(--white); box-shadow: none; }
.btn--ghost:active { box-shadow: none; transform: translateY(1px); }
.btn--small { min-height: 44px; padding: .55rem 1.1rem; font-size: .95rem; box-shadow: 0 3px 0 var(--ink); }
.btn--block { width: 100%; }

.sample-tag {
  display: inline-block; margin-left: .35rem; padding: .1rem .55rem;
  border: 1px dashed currentColor; border-radius: 999px;
  font-size: .78rem; font-weight: 600; white-space: nowrap; vertical-align: .1em;
}

/* Template label */
.tpl-label p { margin: 0; }
.tpl-label {
  margin: 0; padding: .45rem var(--gutter);
  background: var(--ink); color: var(--on-ink);
  font-size: .8rem; text-align: center;
}
.tpl-label a { color: var(--glove); }

/* ---------- 3. Header ---------- */
.top {
  position: sticky; top: 0; z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-short);
}
.top.is-scrolled { border-bottom-color: var(--grout); }
.top__in { display: flex; align-items: center; gap: 1.25rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; min-height: 44px; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__pail { fill: var(--glove); stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.brand__band { stroke: var(--ink); stroke-width: 2; }
.brand__handle { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; }
.brand__pine { fill: var(--teal); }
.brand__name { font: 750 1.12rem/1.05 var(--font-display); letter-spacing: -.02em; max-width: 11ch; }
.top__nav { display: none; gap: 1.6rem; }
.top__nav a { text-decoration: none; font-size: .95rem; font-weight: 500; padding: .6rem 0; background: linear-gradient(var(--glove), var(--glove)) 0 85% / 0 3px no-repeat; transition: background-size var(--dur-short) var(--ease-out); }
.top__nav a:hover { background-size: 100% 3px; }
.top__call { display: none; align-items: center; gap: .45rem; text-decoration: none; font-weight: 600; font-size: .95rem; min-height: 44px; }
.top__call svg { width: 17px; height: 17px; fill: var(--teal); }
@media (min-width: 640px) { .top__call { display: inline-flex; } .brand__name { max-width: none; } }
@media (min-width: 1040px) { .top__nav { display: flex; } }

/* ---------- 4. Hero ---------- */
.hero {
  position: relative;
  padding: clamp(1.75rem, 3vw, 2.75rem) 0 clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}
.hero::before { /* faint tile wall behind the copy only */
  content: ""; position: absolute; inset: 0 auto 0 0; width: 46%;
  background-image:
    linear-gradient(var(--grout) 1px, transparent 1px),
    linear-gradient(90deg, var(--grout) 1px, transparent 1px);
  background-size: var(--tile) var(--tile);
  -webkit-mask-image: linear-gradient(90deg, #000 30%, transparent);
  mask-image: linear-gradient(90deg, #000 30%, transparent);
  opacity: .7; pointer-events: none;
}
.hero__grid { position: relative; display: grid; gap: 2rem; }
.hero__kicker { font-weight: 600; color: var(--teal); margin-bottom: 1rem; }
.hero__title { font-size: var(--step-4); font-weight: 800; line-height: .9; letter-spacing: -.045em; }
.hero__title .line { display: block; white-space: nowrap; overflow: hidden; padding: 0 .04em .07em 0; margin-bottom: -.05em; }
.hero__title .line > span { display: inline-block; }
.hero__lede { max-width: 34rem; margin-top: 1.4rem; font-size: var(--step-1); line-height: 1.5; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1rem; margin-top: 1.9rem; }
.hero__facts { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; gap: 1rem; max-width: 36rem; }
.hero__facts li { padding-left: 1rem; border-left: 3px solid var(--glove); font-size: .95rem; color: var(--muted); }
.hero__facts b { display: block; color: var(--ink); font-weight: 600; }

.hero__media { position: relative; margin: 0; }
.hero__frame {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 4px;
  aspect-ratio: 16 / 10.5;
  background: var(--paper-2);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.hero__tag {
  position: absolute; left: -.4rem; bottom: -1.3rem;
  padding: .6rem 1rem; background: var(--glove); color: var(--ink);
  border: 2px solid var(--ink); border-radius: var(--r-sm);
  font-size: .92rem; font-weight: 500; transform: rotate(-3deg);
  box-shadow: 0 4px 0 var(--ink);
}
.hero__tag b { font-family: var(--font-display); font-weight: 800; }

/* The squeegee pass (hero moment): film wiped off left to right, once */
.hero__film {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 40% 40%, rgba(255,255,255,.55) 0 1.5px, transparent 2.5px) 7px 11px / 29px 31px,
    radial-gradient(circle at 60% 30%, rgba(255,255,255,.4) 0 2.5px, transparent 4px) 13px 3px / 67px 59px,
    radial-gradient(ellipse 30% 22% at 22% 30%, rgba(255,255,255,.75), transparent 70%),
    radial-gradient(ellipse 26% 30% at 70% 68%, rgba(255,255,255,.7), transparent 70%),
    radial-gradient(ellipse 34% 18% at 55% 12%, rgba(255,255,255,.6), transparent 70%),
    repeating-linear-gradient(100deg, rgba(255,255,255,0) 0 38px, rgba(255,255,255,.22) 38px 52px, rgba(255,255,255,0) 52px 97px),
    linear-gradient(115deg, rgba(228,238,234,.8), rgba(208,226,219,.72));
  clip-path: inset(0 0 0 100%);
}
.hero__sweep { position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.hero__blade {
  position: absolute; left: 0; top: 6%; bottom: 6%; width: 12px;
  background: var(--glove); border-left: 4px solid var(--ink); border-radius: 3px;
  box-shadow: 10px 0 24px rgba(255,255,255,.75);
}
.hero__glint { position: absolute; width: 34px; height: 34px; right: 14%; top: 18%; fill: #fff; opacity: 0; pointer-events: none; filter: drop-shadow(0 0 6px rgba(255,255,255,.9)); }

@media (prefers-reduced-motion: no-preference) {
  .hero__film { animation: film-wipe 1.25s var(--ease-inout) .45s both; }
  .hero__sweep { animation: blade-pass 1.25s var(--ease-inout) .45s both; }
  .hero__glint { animation: glint .8s var(--ease-out) 1.55s both; }
  .hero__title .line > span { animation: line-rise 1s var(--ease-out) both; }
  .hero__title .line:nth-child(1) > span { animation-delay: .08s; }
  .hero__title .line:nth-child(2) > span { animation-delay: .16s; }
  .hero__title .line:nth-child(3) > span { animation-delay: .24s; }
  .hero__kicker, .hero__lede, .hero__actions, .hero__facts, .hero__tag { animation: fade-up .8s var(--ease-out) both; }
  .hero__kicker { animation-delay: .05s; }
  .hero__lede { animation-delay: .38s; }
  .hero__actions { animation-delay: .46s; }
  .hero__facts { animation-delay: .54s; }
  .hero__tag { animation: tag-drop .7s var(--ease-out) 1.45s both; }
}
@keyframes film-wipe { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 0 100%); } }
@keyframes blade-pass {
  0% { transform: translateX(-14px); opacity: 1; }
  88% { opacity: 1; }
  100% { transform: translateX(100%); opacity: 0; }
}
@keyframes glint {
  0% { transform: scale(0) rotate(-45deg); opacity: 0; }
  45% { transform: scale(1.15) rotate(0); opacity: 1; }
  100% { transform: scale(0) rotate(30deg); opacity: 0; }
}
@keyframes line-rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes tag-drop { from { opacity: 0; transform: translateY(-10px) rotate(-9deg); } to { opacity: 1; transform: rotate(-3deg); } }

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 11fr 13fr; align-items: center; gap: clamp(2rem, 4vw, 4rem); }
  .hero__media { margin-right: calc(-1 * max(var(--gutter), (100vw - var(--max)) / 2)); }
  .hero__frame { border-radius: var(--r-lg) 0 0 4px; aspect-ratio: 4 / 3.5; }
  .hero__tag { left: -1.5rem; bottom: 2rem; }
}

/* ---------- 5. What's included ---------- */
.included { padding: clamp(4rem, 8vw, 7rem) 0; border-top: 1px solid var(--grout); }
.included__head { display: grid; gap: 1rem; margin-bottom: 2.25rem; }
.included__head p { max-width: 36rem; color: var(--muted); }
@media (min-width: 960px) { .included__head { grid-template-columns: 1fr 1fr; align-items: end; } }

.rooms { background: var(--white); border: 2px solid var(--ink); border-radius: var(--r-lg); overflow: hidden; }
.rooms__tabs { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 2px solid var(--ink); background: var(--paper-2); }
.rooms__tabs button {
  flex: 1 1 auto; min-height: 56px; padding: .8rem 1.1rem;
  border: 0; border-right: 1px solid var(--grout); background: transparent; color: var(--ink);
  font: 600 1rem/1.2 var(--font-body); cursor: pointer;
  transition: background var(--dur-micro);
}
.rooms__tabs button:hover { background: var(--white); }
.rooms__tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.rooms__tabs button:focus-visible { outline-offset: -5px; outline-color: var(--glove); }
.rooms__panel { padding: .5rem clamp(.75rem, 2vw, 1.5rem) 1.25rem; }
.rooms__panel:focus-visible { outline-offset: -4px; }

.grid-table { width: 100%; border-collapse: collapse; }
.grid-table thead th { padding: 1rem .4rem .7rem; font-size: .85rem; font-weight: 600; color: var(--muted); text-align: center; }
.grid-table thead th:first-child { text-align: left; }
.grid-table tbody th { padding: .85rem .5rem .85rem 0; font-weight: 500; text-align: left; line-height: 1.35; border-top: 1px solid var(--grout); }
.grid-table td { width: 15%; min-width: 3.4rem; padding: .5rem .25rem; text-align: center; border-top: 1px solid var(--grout); font-size: 0; }
.grid-table td::before {
  content: ""; display: inline-block; width: 38px; height: 38px; border-radius: 6px;
  vertical-align: middle;
}
.grid-table td.y::before {
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat;
}
.grid-table td.n::before { background: linear-gradient(var(--grout), var(--grout)) center / 14px 2px no-repeat; border: 1px solid var(--grout); }
.grid-table td.a::before { content: "Add-on"; width: auto; height: auto; padding: .5rem .45rem; background: var(--glove); color: var(--ink); font: 700 .72rem/1 var(--font-body); }
@media (prefers-reduced-motion: no-preference) {
  .js .grid-table td.y::before { animation: tile-in .5s var(--ease-out) both; animation-delay: calc(var(--r, 0) * 45ms); }
}
@keyframes tile-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@media (min-width: 640px) { .grid-table td { width: 13%; } .grid-table thead th { font-size: .95rem; } }

/* ---------- 6. Before / after ---------- */
.results {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background-color: var(--ink); color: var(--on-ink);
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: var(--tile) var(--tile);
}
.results__grid { display: grid; gap: 2.25rem; }
.ba-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.ba-tabs[hidden] { display: none; }
.ba-tabs button { min-height: 44px; padding: .5rem 1rem; border: 2px solid var(--on-ink-muted); border-radius: 999px; background: transparent; color: var(--on-ink); font: 600 .95rem/1 var(--font-body); cursor: pointer; }
.ba-tabs button[aria-pressed="true"] { background: var(--glove); border-color: var(--glove); color: var(--ink); }
.ba-tabs button:focus-visible { outline-color: var(--glove); }
.results__copy > p { margin-top: 1rem; color: var(--on-ink-muted); max-width: 30rem; }
.results__list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .7rem; }
.results__list li { display: flex; gap: .7rem; align-items: baseline; }
.results__list li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 2px; background: var(--glove); transform: translateY(-1px); }
.results__copy .results__note { font-size: .85rem; margin-top: 1.6rem; }
@media (min-width: 960px) { .results__grid { grid-template-columns: 4fr 8fr; align-items: center; gap: 3.5rem; } }

.ba {
  --pos: 50%;
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 9; border-radius: var(--r-lg);
  background: #2a403d;
  touch-action: pan-y;
  user-select: none; -webkit-user-select: none;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__chip {
  position: absolute; top: .8rem; padding: .3rem .7rem; border-radius: 999px;
  font-size: .8rem; font-weight: 600; pointer-events: none;
}
.ba__chip--after { left: .8rem; background: var(--glove); color: var(--ink); }
.ba__chip--before { right: .8rem; background: rgba(16,48,46,.85); color: var(--on-ink); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; pointer-events: none;
}
.ba__handle::before { /* the squeegee blade */
  content: ""; position: absolute; top: 0; bottom: 0; left: -5px; width: 10px;
  background: var(--glove); border-left: 3px solid var(--ink);
  box-shadow: 0 0 18px rgba(255,255,255,.55);
}
.ba__grip {
  position: absolute; top: 50%; left: 0; width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border-radius: 50%; background: var(--ink); border: 3px solid var(--glove);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5' fill='none' stroke='%23F2C94C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 24px; background-position: center; background-repeat: no-repeat;
}
.ba__range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none;
}
.ba:focus-within { outline: 3px solid var(--glove); outline-offset: 4px; }

/* ---------- 7. Pricing picker ---------- */
.pricing { padding: clamp(4rem, 8vw, 7rem) 0; }
.pricing__head { max-width: 46rem; margin-bottom: 2.5rem; }
.pricing__head p { margin-top: 1rem; color: var(--muted); }
.pricing__head .sample-tag { color: var(--teal); }

.picker { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 1000px) { .picker { grid-template-columns: 7fr 5fr; gap: 3rem; } }
.picker__controls { display: grid; gap: 1.25rem; }

.opt { margin: 0; padding: 1.4rem clamp(1rem, 2.5vw, 1.6rem) 1.5rem; border: 2px solid var(--ink); border-radius: var(--r-lg); background: var(--white); min-width: 0; }
.opt legend { float: left; width: 100%; margin-bottom: 1rem; padding: 0; display: flex; align-items: center; gap: .65rem; font: 700 var(--step-1)/1.2 var(--font-display); letter-spacing: -.01em; }
.opt legend + * { clear: both; }
.opt__n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 6px; background: var(--glove); font-size: .95rem; }
.opt__hint { margin-top: .8rem; font-size: .9rem; color: var(--muted); }

/* Inputs stay real and focusable; the span is the visible "key" */
.seg input, .cards input, .toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
@media (min-width: 640px) { .seg { grid-template-columns: repeat(4, 1fr); } }
.seg label { position: relative; display: block; }
.seg span {
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  min-height: 60px; padding: .55rem .5rem; border: 2px solid var(--ink); border-radius: var(--r-md);
  background: var(--paper); font-weight: 600; font-size: .95rem; line-height: 1.2; cursor: pointer;
  box-shadow: 0 4px 0 var(--grout);
  transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out), background var(--dur-micro);
}
.seg small { display: block; margin-top: .2rem; font-size: .78rem; font-weight: 600; color: var(--teal); }
.seg label:hover span { background: var(--white); }
.seg input:checked + span { background: var(--ink); color: var(--paper); transform: translateY(3px); box-shadow: 0 1px 0 var(--grout); }
.seg input:checked + span small { color: var(--glove); }
.seg input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 3px; }
.seg input:disabled + span { opacity: .45; cursor: not-allowed; box-shadow: none; }
.seg label:active input:not(:disabled) + span { transform: translateY(4px); box-shadow: 0 0 0 var(--grout); }

.cards { display: grid; gap: .75rem; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { position: relative; display: block; cursor: pointer; }
.card__body {
  display: flex; flex-direction: column; gap: .3rem; height: 100%;
  padding: 1rem 1rem 1.1rem; border: 2px solid var(--grout); border-radius: var(--r-md); background: var(--paper);
  transition: border-color var(--dur-micro), transform var(--dur-micro) var(--ease-out);
  background-image: linear-gradient(var(--glove), var(--glove)); background-size: 100% 0; background-repeat: no-repeat;
}
.card b { font: 700 1.1rem/1.2 var(--font-display); }
.card__hrs { font-size: .85rem; font-weight: 600; color: var(--teal); }
.card__note { font-size: .9rem; line-height: 1.45; color: var(--muted); }
.card:hover .card__body { border-color: var(--teal); }
.card input:checked + .card__body { border-color: var(--ink); background-color: var(--white); background-size: 100% 8px; transform: translateY(-2px); }
.card input:focus-visible + .card__body { outline: 3px solid var(--teal); outline-offset: 3px; }

.toggles { display: grid; gap: .55rem; }
@media (min-width: 640px) { .toggles { grid-template-columns: 1fr 1fr; } }
.toggle { position: relative; display: flex; align-items: center; gap: .75rem; min-height: 54px; padding: .5rem .9rem; border: 2px solid var(--grout); border-radius: var(--r-md); background: var(--paper); cursor: pointer; transition: border-color var(--dur-micro), background var(--dur-micro); }
.toggle:hover { border-color: var(--teal); }
.toggle__sw { position: relative; flex: none; width: 42px; height: 26px; border-radius: 999px; background: var(--grout); transition: background var(--dur-short); }
.toggle__sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(16,48,46,.35); transition: transform var(--dur-short) var(--ease-out); }
.toggle__t { flex: 1; font-weight: 500; line-height: 1.25; }
.toggle__p { font-weight: 600; color: var(--teal); font-variant-numeric: tabular-nums; }
.toggle input:checked ~ .toggle__sw { background: var(--teal); }
.toggle input:checked ~ .toggle__sw::after { transform: translateX(16px); }
.toggle:has(input:checked) { border-color: var(--ink); background: var(--white); }
.toggle input:focus-visible ~ .toggle__sw { outline: 3px solid var(--teal); outline-offset: 3px; }

/* Phone mini total: sticks to the bottom of the screen inside the picker */
.picker__mini {
  position: sticky; bottom: .75rem; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .5rem .5rem .5rem 1.2rem; border-radius: 999px;
  background: var(--ink); color: var(--on-ink); box-shadow: 0 10px 30px rgba(16,48,46,.35);
}
.picker__mini-total b { font: 800 1.5rem/1 var(--font-display); color: var(--glove); }
.picker__mini-total span { font-size: .9rem; }
.picker__mini a { display: grid; place-items: center; min-height: 44px; padding: 0 1.1rem; border-radius: 999px; background: var(--glove); color: var(--ink); font-weight: 600; text-decoration: none; }
@media (min-width: 1000px) { .picker__mini { display: none; } }

/* The ticket (sticky on desktop, plain CSS sticky) */
.ticket { position: relative; }
@media (min-width: 1000px) { .ticket { position: sticky; top: 96px; } }
.ticket__paper {
  position: relative; padding: 1.8rem clamp(1.2rem, 3vw, 2rem) 2.4rem;
  background: var(--white); border: 2px solid var(--ink); border-bottom: 0;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.ticket__paper::after { /* torn, scalloped receipt edge */
  content: ""; position: absolute; left: -2px; right: -2px; bottom: -12px; height: 14px;
  background: radial-gradient(circle at 10px -2px, transparent 9px, var(--ink) 9.5px, var(--ink) 11px, var(--white) 11.5px) -2px 0 / 22px 14px repeat-x;
}
.ticket__title { font-size: var(--step-2); font-weight: 750; letter-spacing: -.02em; }
.ticket__lines { margin: 1.1rem 0 0; padding: 0 0 1rem; border-bottom: 2px dashed var(--grout); display: grid; gap: .55rem; }
.ticket__lines div { display: flex; justify-content: space-between; gap: 1rem; font-size: .95rem; }
.ticket__lines dt { color: var(--muted); }
.ticket__lines dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ticket__total { display: flex; align-items: flex-start; gap: .1rem; margin-top: 1.1rem; font-family: var(--font-display); }
.ticket__cur { font-size: 2.2rem; font-weight: 700; line-height: 1.2; }
.odo { display: inline-flex; height: 1em; overflow: hidden; font-variant-numeric: tabular-nums; font-size: clamp(4.2rem, 3rem + 4vw, 5.6rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.odo__d { display: block; width: 1ch; height: 1em; overflow: hidden; text-align: center; }
.odo__col { display: block; transition: transform 700ms var(--ease-out); }
.odo__col span { display: block; height: 1em; }
.ticket__per { align-self: flex-end; margin: 0 0 .7rem .5rem; font-family: var(--font-body); font-size: .95rem; color: var(--muted); }
.ticket__save { min-height: 1.6em; margin: .4rem 0 1.3rem; font-weight: 600; color: var(--teal); }
.ticket__fine { margin-top: 1rem; font-size: .85rem; color: var(--muted); }

/* ---------- 8. Steps ---------- */
.steps { padding: clamp(4rem, 8vw, 6.5rem) 0; background: var(--teal-soft); }
.steps h2 { max-width: 22ch; }
.steps__list { list-style: none; padding: 0; margin: 2.75rem 0 0; display: grid; gap: 2rem; counter-reset: s; position: relative; }
.steps__list li { position: relative; padding-left: 4.25rem; }
.steps__n { position: absolute; left: 0; top: -.2rem; display: grid; place-items: center; width: 52px; height: 52px; border: 2px solid var(--ink); border-radius: 10px; background: var(--glove); font: 800 1.5rem/1 var(--font-display); box-shadow: 0 4px 0 var(--ink); }
.steps__list p { margin-top: .45rem; color: #2E4C48; max-width: 30ch; }
@media (min-width: 860px) {
  .steps__list { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .steps__list::before { content: ""; position: absolute; left: 26px; right: 10%; top: 25px; height: 2px; background: repeating-linear-gradient(90deg, var(--ink) 0 10px, transparent 10px 18px); }
  .steps__list li { padding: 4.75rem 0 0; }
  .steps__n { top: 0; }
}

/* ---------- 9. Crew ---------- */
.crew { padding: clamp(4rem, 8vw, 7rem) 0; }
.crew__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 860px) { .crew__grid { grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 6vw, 6rem); } }
.crew__photo { position: relative; z-index: 0; margin: 0; width: calc(100% - 20px); max-width: 400px; }
.crew__photo img { width: 100%; border-radius: 200px 200px var(--r-md) var(--r-md); border: 2px solid var(--ink); }
.crew__photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 200px 200px var(--r-md) var(--r-md); background: var(--glove); z-index: -1; }
.crew__photo figcaption { position: absolute; right: .8rem; bottom: .8rem; padding: .25rem .65rem; border-radius: 999px; background: rgba(16,48,46,.85); color: var(--on-ink); font-size: .78rem; font-weight: 600; }
.crew__copy > p { margin-top: 1.2rem; color: var(--muted); max-width: 38rem; font-size: 1.1rem; }
.checks { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: .85rem; }
.checks li { position: relative; padding-left: 2.2rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .1rem; width: 24px; height: 24px; border-radius: 5px; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23fff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* ---------- 10. Reviews ---------- */
.reviews { padding: clamp(4rem, 8vw, 7rem) 0; border-top: 1px solid var(--grout); border-bottom: 1px solid var(--grout); }
.reviews__grid { display: grid; gap: 1.25rem; }
.reviews__num { display: flex; align-items: baseline; gap: .6rem; font-family: var(--font-display); }
.reviews__num b { font-size: clamp(6rem, 4rem + 9vw, 10.5rem); font-weight: 800; line-height: .85; letter-spacing: -.05em; font-variant-numeric: tabular-nums; display: inline-block; min-width: 1.7ch; }
.reviews__of { font-size: 1.2rem; font-weight: 600; color: var(--muted); }
.reviews__label { margin-top: .9rem; font-size: .9rem; color: var(--muted); max-width: 22rem; }
.quote { margin: 0; padding: 1.5rem 1.5rem 1.3rem; background: var(--white); border: 2px solid var(--ink); border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 4px; }
.quote blockquote { margin: 0; font: 600 var(--step-1)/1.35 var(--font-display); letter-spacing: -.01em; }
.quote figcaption { margin-top: 1rem; font-size: .9rem; color: var(--muted); }
.quote--b { background: var(--glove); }
.quote--b figcaption { color: var(--ink); }
.quote--c { background: var(--ink); color: var(--on-ink); }
.quote--c figcaption { color: var(--on-ink-muted); }
@media (min-width: 900px) {
  .reviews__grid { grid-template-columns: repeat(12, 1fr); grid-template-rows: auto auto; gap: 1.5rem; }
  .reviews__score { grid-column: 1 / 5; grid-row: 1 / 3; align-self: center; }
  .quote--a { grid-column: 5 / 10; grid-row: 1; }
  .quote--b { grid-column: 8 / 13; grid-row: 2; margin-top: -1.5rem; }
  .quote--c { grid-column: 5 / 8; grid-row: 2; align-self: start; }
}

/* ---------- 11. Area + hours ---------- */
.where { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.where__grid { display: grid; gap: 3rem; }
@media (min-width: 860px) { .where__grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.where h2 { font-size: var(--step-2); }
.where__grid > div > p { margin-top: .9rem; color: var(--muted); max-width: 32rem; }
.areas { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.areas li { padding: .5rem .9rem; border: 2px solid var(--grout); border-radius: var(--r-sm); background: var(--white); font-weight: 500; }
.areas li:first-child { border-color: var(--ink); background: var(--glove); }
.hours { width: 100%; margin-top: 1.2rem; border-collapse: collapse; }
.hours th, .hours td { padding: .9rem .6rem; border-top: 1px solid var(--grout); text-align: left; font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today { background: var(--teal-soft); }
.hours tr.is-today th::after { content: "Today"; margin-left: .6rem; padding: .1rem .5rem; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: .75rem; font-weight: 600; }
.where__small { font-size: .9rem; margin-top: 1rem; }

/* ---------- 12. FAQ ---------- */
.faq { padding: clamp(4rem, 8vw, 6.5rem) 0; background: var(--paper-2); }
.faq__grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .faq__grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.faq h2 { font-size: var(--step-3); }
.faq__list details { border-top: 2px solid var(--ink); }
.faq__list details:last-child { border-bottom: 2px solid var(--ink); }
.faq__list summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 1.2rem 3rem 1.2rem 0; min-height: 56px;
  font: 650 var(--step-1)/1.3 var(--font-display);
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; position: absolute; right: .3rem; top: 50%; width: 30px; height: 30px; margin-top: -15px;
  border-radius: 6px; background: var(--glove) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='%2310302E' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: transform var(--dur-short) var(--ease-out);
}
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { padding: 0 3rem 1.4rem 0; color: var(--muted); max-width: 40rem; }

/* ---------- 13. Book ---------- */
.book { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--ink); color: var(--on-ink); }
.book__grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .book__grid { grid-template-columns: 5fr 6fr; gap: 5rem; } }
.book__copy p { margin-top: 1rem; color: var(--on-ink-muted); max-width: 30rem; }
.book__phone { display: inline-block; margin-top: 1.4rem; font: 800 clamp(2.2rem, 1.6rem + 2.6vw, 3.4rem)/1 var(--font-display); letter-spacing: -.03em; color: var(--glove); text-decoration: none; padding: .2rem 0; }
.book__phone:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.book__mail { display: block; margin-top: .6rem; color: var(--on-ink); font-weight: 500; padding: .4rem 0; width: fit-content; }
.form { padding: clamp(1.4rem, 3vw, 2.2rem); background: var(--paper); color: var(--ink); border-radius: var(--r-lg); display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: .4rem; }
.form label { font-weight: 600; font-size: .95rem; }
.form input, .form textarea {
  width: 100%; min-height: 50px; padding: .75rem .9rem;
  border: 2px solid #9DB3AD; border-radius: var(--r-sm); background: var(--white); color: var(--ink);
  font: 400 1rem/1.4 var(--font-body);
}
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { border-color: var(--ink); outline: 3px solid var(--glove); outline-offset: 1px; }
.form [aria-invalid="true"] { border-color: #A3341F; }
.form__error { color: #A3341F; font-weight: 600; }
.form__fine { font-size: .85rem; color: var(--muted); text-align: center; }

/* ---------- 14. Footer + call bar ---------- */
.foot { padding: 3rem 0 6.5rem; background: var(--ink); color: var(--on-ink-muted); border-top: 1px solid rgba(255,255,255,.12); font-size: .95rem; }
.foot__in { display: grid; gap: 1rem; }
.foot__brand { font: 750 1.4rem/1.1 var(--font-display); color: var(--on-ink); }
.foot a { color: var(--on-ink); display: inline-block; padding: .35rem 0; }
.foot__credit a { color: var(--glove); }
@media (min-width: 860px) { .foot__in { grid-template-columns: 1fr 1.4fr auto; align-items: end; } .foot { padding-bottom: 3rem; } }

.callbar {
  position: fixed; left: .75rem; right: .75rem; bottom: .75rem; z-index: 50;
  display: grid; grid-template-columns: 1fr 1.6fr; gap: .5rem; padding: .45rem;
  background: var(--ink); border-radius: 999px; box-shadow: 0 10px 30px rgba(16,48,46,.35);
  transform: translateY(140%); transition: transform var(--dur-short) var(--ease-out);
}
.callbar.is-on { transform: none; }
.callbar a { display: grid; place-items: center; min-height: 48px; border-radius: 999px; color: var(--on-ink); font-weight: 600; text-decoration: none; }
.callbar .callbar__main { background: var(--glove); color: var(--ink); }
@media (min-width: 860px) { .callbar { display: none; } }

/* ---------- 15. Reduced motion: final states, no movement ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; animation: none !important; }
  .hero__film, .hero__sweep, .hero__glint { display: none; }
}
