/* Blu Collar coming soon page.
   Brand: brand/BRAND.md. Collar Blue leads; Koy is the ground; inside the day, Blu means drive time; Black
   Mouth is the ink; Tag Red is for alerts. One family, Archivo, from Expanded Extra Bold down to text.
   Derived values follow brand/identity.html. */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/fonts/archivo-2026-12.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light dark;
  --blue: #2B5C8A;
  --blue-deep: #21486D;
  --koy: #FAF6EF;
  --blu: #B8763E;
  --blu-text: #8A5527;
  --mouth: #221B17;
  --tag: #C2413A;
  --sam: #2F6B57;

  --ground: var(--koy);
  --ink: var(--mouth);
  --ink-soft: #685B51;
  --line: #E8DFD4;
  --on-blue-soft: rgba(250, 246, 239, 0.8);
  --on-blue-line: rgba(250, 246, 239, 0.22);

  --gutter: clamp(1rem, 5vw, 4rem);
  --max: 75rem;
  --ribbon-h: 5.75rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #15110E;
    --ink: #F2ECE4;
    --ink-soft: #B6AA9F;
    --line: #382E28;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overscroll-behavior-x: none; overflow-x: clip;
  /* Whatever gets scrolled into view (a focused field, mostly) stops above the road pinned to the bottom. */
  scroll-padding-bottom: calc(var(--ribbon-h) + env(safe-area-inset-bottom, 0px) + 1rem);
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: 'Archivo', system-ui, -apple-system, sans-serif;
  font-size: 1.125rem;
  line-height: 1.55;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
@media (max-width: 40rem) { body { font-size: 1.0625rem; } }
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, dl, dd, ol, fieldset { margin: 0; }
ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
a { color: inherit; }
b { font-weight: 650; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.visually-hidden, .hp {
  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 { position: absolute; left: 1rem; top: -4rem; z-index: 20; background: var(--koy); color: var(--mouth); padding: 0.6rem 1rem; border-radius: 999px; font-weight: 650; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--blu); outline-offset: 3px; }

.ground-blue { background: var(--blue); color: var(--koy); }
.ground-blue :focus-visible { outline-color: var(--koy); }
.ground-koy { background: var(--ground); color: var(--ink); }

/* ---------- type ---------- */

.display, .headline, .clock {
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -0.02em;
}
.display {
  font-size: clamp(2.5rem, 6.4vw, 6rem);
  line-height: 0.98;
  text-wrap: balance;
}
@media (min-width: 48rem) { .display span { display: block; } }
.headline {
  font-size: clamp(1.875rem, 1.1rem + 2.6vw, 3.25rem);
  line-height: 1.04;
  max-width: 18ch;
  text-wrap: balance;
}
.lede { font-size: clamp(1.1875rem, 1rem + 0.4vw, 1.3125rem); line-height: 1.45; max-width: 46ch; }
.ground-blue .lede { color: var(--on-blue-soft); }

/* ---------- buttons ---------- */

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.25rem; padding: 0 1.5rem;
  border: 0; border-radius: 999px;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 120ms ease-out, background-color 160ms ease-out;
  -webkit-tap-highlight-color: transparent;
}
/* Feedback on press, not on release. */
.button:active { transform: scale(0.97); transition-duration: 50ms; }
.button-blue { background: var(--blue); color: var(--koy); }
@media (hover: hover) { .button-blue:hover { background: var(--blue-deep); } .button-koy:hover { background: #fff; } }
.button-koy { background: var(--koy); color: var(--mouth); }
.button[aria-disabled='true'] { opacity: 0.65; cursor: progress; }

/* ---------- header ---------- */

.top { padding-top: env(safe-area-inset-top, 0px); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 5rem; }
.home { display: block; border-radius: 0.5rem; }
.home img { height: 2.25rem; width: auto; }
.top-link { font-weight: 650; text-decoration-thickness: 1.5px; text-underline-offset: 0.25em; white-space: nowrap; }
@media (max-width: 22rem) { .home img { height: 1.75rem; } .top-link { font-size: 0.9375rem; } }

/* ---------- hero ---------- */

.hero { padding: clamp(2rem, 7vh, 6rem) 0 clamp(3.5rem, 9vh, 6rem); }
.hero-foot { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; margin-top: clamp(1.75rem, 5vh, 3rem); align-items: end; }
@media (min-width: 60rem) { .hero-foot { grid-template-columns: minmax(0, 1fr) minmax(0, 28rem); column-gap: 4rem; } }
.status { font-weight: 600; font-size: 1rem; line-height: 1.45; margin-bottom: 1rem; max-width: 40ch; }

/* ---------- invite forms ---------- */

.quick-field {
  display: flex; gap: 0.375rem; padding: 0.375rem;
  background: var(--koy); border-radius: 999px;
}
.quick-field:focus-within { box-shadow: 0 0 0 3px var(--blue), 0 0 0 6px var(--koy); }
.quick-field input {
  flex: 1; min-width: 0; border: 0; background: transparent; color: var(--mouth);
  font: inherit; font-size: 1.0625rem; padding: 0 0.875rem; border-radius: 999px;
}
.quick-field input::placeholder { color: #776A60; }
.quick-field input:focus-visible { outline: 2px solid transparent; } /* the pill's ring shows focus; this one shows in forced colors */
.quick-field .button:focus-visible { outline-color: var(--mouth); outline-offset: 2px; }
.quick-field .button { min-height: 2.875rem; padding: 0 1.25rem; }
@media (max-width: 23.5rem) {
  .quick-field { flex-direction: column; border-radius: 1.5rem; }
  .quick-field input { min-height: 3rem; }
}
.form-note { margin-top: 0.75rem; font-size: 0.9375rem; color: var(--on-blue-soft); }
.form-note:empty { display: none; }
/* Errors on blue: Koy text beside a Tag Red mark, never red text on blue. */
.form-note.is-error { color: var(--koy); font-weight: 600; }
.form-note.is-error::before {
  content: ''; display: inline-block; width: 0.625rem; height: 0.625rem; margin-right: 0.5rem; vertical-align: 0.05em;
  border-radius: 50%; background: var(--tag); box-shadow: 0 0 0 0.1875rem var(--koy);
}
.turnstile-slot:empty { display: none; }
.turnstile-slot { margin-top: 0.75rem; }

.invite-details { display: grid; gap: 1.125rem; }
.done-line { font-size: 1.1875rem; font-weight: 650; line-height: 1.4; outline: none; }
.done-line b { font-weight: 700; overflow-wrap: anywhere; }
.details-intro { color: var(--on-blue-soft); font-size: 1rem; margin-top: -0.5rem; }
.field-row { display: grid; gap: 1.125rem; }
@media (min-width: 36rem) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label, .field legend { display: block; font-size: 0.9375rem; font-weight: 650; margin-bottom: 0.4rem; }
.field input, .field select {
  width: 100%; min-height: 3.125rem; padding: 0 1rem;
  border: 0; border-radius: 0.875rem;
  background: var(--koy); color: var(--mouth); font: inherit; font-size: 1.0625rem;
}
.field input::placeholder { color: #776A60; }
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choices legend { width: 100%; float: left; }
.choices label { position: relative; display: block; cursor: pointer; }
.choices input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.choices span {
  display: block; padding: 0.6rem 1rem; border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px rgba(250, 246, 239, 0.55);
  font-size: 0.9375rem; font-weight: 600;
  transition: background-color 160ms ease, color 160ms ease, transform 120ms ease-out;
}
.choices label:active span { transform: scale(0.97); }
.choices input:checked + span { background: var(--koy); color: var(--mouth); box-shadow: none; }
.choices input:focus-visible + span { outline: 3px solid var(--koy); outline-offset: 3px; }
.invite-details .button { justify-self: start; }
.invite-done { outline: none; }
.invite-done p:first-child { font-size: 1.1875rem; font-weight: 650; }
.invite-done p + p { margin-top: 0.4rem; color: var(--on-blue-soft); font-size: 1rem; }

/* ---------- the day ---------- */

.day { padding: clamp(2.5rem, 6vh, 4.5rem) 0 clamp(2.5rem, 6vh, 4rem); border-top: 1px solid var(--on-blue-line); }
.day-lede { margin-top: 1rem; }
.fine { margin-top: 0.75rem; font-size: 0.9375rem; color: var(--on-blue-soft); max-width: 60ch; }

/* Without JavaScript the day reads as a list of moments, in order. */
.stage { margin-top: 2.5rem; }
.moments { display: grid; gap: 3rem; }
.moment-text h3 { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); font-weight: 700; font-stretch: 112%; line-height: 1.15; letter-spacing: -0.01em; }
.moment-text h3 time { display: block; font-size: 0.65em; font-stretch: 100%; font-weight: 600; letter-spacing: 0; color: var(--on-blue-soft); margin-bottom: 0.25rem; font-variant-numeric: tabular-nums; }
.moment-note { margin-top: 0.5rem; color: var(--on-blue-soft); max-width: 44ch; }
.sides { display: grid; gap: 1rem; margin-top: 1.25rem; align-items: start; }
@media (min-width: 40rem) { .sides { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.side figcaption { font-size: 0.9375rem; font-weight: 600; color: var(--on-blue-soft); margin-bottom: 0.5rem; }
.clock, .readout, .ribbon { display: none; }

/* With JavaScript: a clock, one moment at a time, and the day as a road along the bottom. */
.day.is-live .stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: 'clock' 'readout' 'panels';
  margin-top: clamp(1.5rem, 4vh, 2.5rem);
}
.day.is-live .clock {
  display: flex; align-items: flex-start; grid-area: clock;
  font-size: clamp(4.5rem, 12.5vw, 11rem);
  line-height: 0.84;
  font-variant-numeric: tabular-nums;
  min-width: 3.45em;
}
.clock-ampm { font-size: 0.2em; letter-spacing: 0; font-stretch: 112%; margin: 0.2em 0 0 0.3em; }
.day.is-live .readout { display: block; grid-area: readout; margin-top: 1rem; }
.readout-title { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); font-weight: 700; font-stretch: 112%; line-height: 1.15; letter-spacing: -0.01em; }
.readout-note { margin-top: 0.4rem; color: var(--on-blue-soft); max-width: 46ch; }
.dots { display: flex; margin: 0.5rem 0 0 -0.75rem; }
.dot {
  position: relative; width: 2rem; height: 2rem; padding: 0; border: 0; background: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.dot::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: 0.5rem; height: 0.5rem; margin: -0.25rem 0 0 -0.25rem;
  border-radius: 999px; background: rgba(250, 246, 239, 0.6);
  transition: width 200ms ease, margin 200ms ease, background-color 200ms ease;
}
.dot[aria-selected='true']::before { width: 1.25rem; margin-left: -0.625rem; background: var(--koy); }
.dot:focus-visible { outline: 2px solid var(--koy); outline-offset: -2px; border-radius: 999px; }
.day.is-live .moments { grid-area: panels; display: grid; margin-top: 1.5rem; }
.day.is-live .moment { grid-area: 1 / 1; }
.day.is-live .moment:focus-visible { outline: 3px solid var(--koy); outline-offset: 0.5rem; border-radius: 1.25rem; }
.day.is-live .moment-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.day.is-live .moment .sides { margin-top: 0; }
/* Every moment sits in the same cell, so the stage is always as tall as the tallest and never jumps. */
.day.is-live .moment:not(.is-active) { visibility: hidden; opacity: 0; transition: opacity 200ms ease-out, transform 200ms ease-out, visibility 0s linear 200ms; }
.day.is-live .moment.is-active { visibility: visible; opacity: 1; transform: none; transition: opacity 200ms ease-out, transform 200ms ease-out, visibility 0s; }
.day.is-live[data-dir='fwd'] .moment:not(.is-active) { transform: translateX(-0.75rem); }
.day.is-live[data-dir='back'] .moment:not(.is-active) { transform: translateX(0.75rem); }

@media (min-width: 60rem) {
  .day.is-live .stage {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: 'clock readout' 'panels panels';
    column-gap: clamp(2rem, 4vw, 3.5rem);
    align-items: end;
  }
  .day.is-live .readout { margin-top: 0; padding-bottom: 0.25rem; }
  .day.is-live .moments { margin-top: 2rem; }
}

/* The road: pinned to the bottom of the screen through the hero and the day, then left behind. */
.blue-world .ribbon {
  display: block;
  position: sticky; bottom: 0; z-index: 5;
  height: calc(var(--ribbon-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--blue-deep);
  box-shadow: 0 -1px 0 var(--on-blue-line), 0 -1rem 2rem -1.5rem rgba(10, 26, 42, 0.6);
  overflow: hidden;
  touch-action: pan-y; cursor: grab;
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
.ribbon[hidden] { display: none; }
.ribbon.is-dragging { cursor: grabbing; }
.ribbon::before, .ribbon::after {
  /* The road fades out at both ends rather than stopping at a hard edge. */
  content: ''; position: absolute; top: 0; bottom: 0; width: min(14vw, 9rem); z-index: 2; pointer-events: none;
}
.ribbon::before { left: 0; background: linear-gradient(90deg, var(--blue-deep) 10%, rgba(33, 72, 109, 0)); }
.ribbon::after { right: 0; background: linear-gradient(270deg, var(--blue-deep) 10%, rgba(33, 72, 109, 0)); }
.ribbon-track { position: absolute; top: 0; left: 0; height: var(--ribbon-h); transition: opacity 140ms ease; }
.ribbon-track.is-jumping { opacity: 0; transition-duration: 90ms; }
.tick { position: absolute; top: 0.5rem; font-size: 0.75rem; font-weight: 600; line-height: 1; color: var(--on-blue-soft); transform: translateX(-50%); white-space: nowrap; font-variant-numeric: tabular-nums; transition: opacity 120ms ease; }
.tick.is-under { opacity: 0; }
.pin { position: absolute; top: 1.6rem; width: 0.375rem; height: 0.375rem; margin-left: -0.1875rem; border-radius: 50%; background: rgba(250, 246, 239, 0.5); transition: transform 160ms ease, background-color 160ms ease; }
.pin.is-active { background: var(--koy); transform: scale(1.5); }
.visit, .road {
  position: absolute; top: 2.25rem; height: 2.875rem;
  border-radius: 0.625rem; overflow: hidden; white-space: nowrap;
}
.visit { background: var(--koy); color: var(--mouth); padding: 0.35rem 0.6rem; transition: box-shadow 160ms ease; }
.visit.is-now { box-shadow: 0 0 0 2px var(--blue-deep), 0 0 0 4px rgba(250, 246, 239, 0.55); }
.visit b { display: block; font-size: 0.9375rem; font-stretch: 112%; font-weight: 700; line-height: 1.15; }
.visit span { display: block; font-size: 0.75rem; color: #5B4F46; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; }
.visit.lunch { background: transparent; color: var(--koy); box-shadow: inset 0 0 0 1.5px rgba(250, 246, 239, 0.45); }
.visit.lunch b { font-stretch: 100%; font-weight: 600; font-size: 0.8125rem; padding-top: 0.55rem; }
/* Drive time: Blu, between the visits it connects. */
.road { background: var(--blu); }
.road-label { position: absolute; top: 3.15rem; z-index: 1; transform: translateX(-50%); font-size: 0.75rem; font-weight: 650; color: var(--mouth); white-space: nowrap; font-variant-numeric: tabular-nums; pointer-events: none; }
.needle { position: absolute; z-index: 3; top: 0; bottom: env(safe-area-inset-bottom, 0px); left: 50%; width: 0; pointer-events: none; }
.needle::after {
  content: ''; position: absolute; top: 1.4rem; bottom: 0.45rem; left: -1px; width: 2px; border-radius: 1px;
  background: var(--mouth); box-shadow: 0 0 0 1.5px var(--koy);
}
.needle-chip {
  position: absolute; top: 0.25rem; left: 0; transform: translateX(-50%);
  min-width: 3.25rem; padding: 0.2rem 0.5rem; border-radius: 999px; text-align: center;
  background: var(--koy); color: var(--mouth);
  font-size: 0.8125rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 0.25rem var(--blue-deep);
  transition: transform 120ms ease-out;
}
.ribbon.is-pressed .needle-chip { transform: translateX(-50%) scale(1.08); }

/* ---------- cards inside the day ---------- */

.card {
  background: var(--koy); color: var(--mouth);
  border-radius: 1.25rem; padding: 0.875rem 1rem 1rem;
  font-size: 0.9375rem; line-height: 1.4;
  box-shadow: 0 1.5rem 3rem -1.75rem rgba(10, 26, 42, 0.65);
}
.card.client { background: #fff; }
.card > * + * { margin-top: 0.5rem; }
.card-head { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 650; color: #5B4F46; }
.card-head img { width: 1.25rem; height: 1.25rem; border-radius: 0.3rem; flex: none; }
.card-head .when { margin-left: auto; font-weight: 400; white-space: nowrap; }
.card-title { font-size: 1.0625rem; font-weight: 700; line-height: 1.25; }
.muted { color: #5B4F46; }
.sam-mark {
  display: inline-grid; place-items: center; flex: none;
  width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--sam); color: #fff; font-size: 0.6875rem; font-weight: 800; font-stretch: 112%; letter-spacing: -0.02em;
}
.contact { display: inline-grid; place-items: center; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: #8E8E93; color: #fff; font-size: 0.6875rem; font-weight: 700; flex: none; }
.bubble { background: #ECE8E2; border-radius: 1rem 1rem 1rem 0.3rem; padding: 0.5rem 0.75rem; max-width: 92%; width: fit-content; }
.bubble.me { margin-left: auto; background: var(--sam); color: #fff; border-radius: 1rem 1rem 0.3rem 1rem; }
.bubble.sms { background: #E9E9EB; }
.chat .bubble { font-size: 0.875rem; }
.photo-chip { display: flex; align-items: center; gap: 0.5rem; }
.drive { display: flex; align-items: center; gap: 0.5rem; }
/* Drive time chips: Blu with Black Mouth text, as on the road. */
.drive-chip { padding: 0.15rem 0.5rem; border-radius: 0.4rem; background: var(--blu); color: var(--mouth); font-size: 0.8125rem; font-weight: 650; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mock-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; padding-top: 0.125rem; }
.mock-button { display: inline-block; padding: 0.45rem 0.9rem; border-radius: 999px; background: var(--blue); color: var(--koy); font-weight: 650; font-size: 0.875rem; }
.mock-button.sam { background: var(--sam); color: #fff; }
.mock-button.quiet { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 1.5px rgba(43, 92, 138, 0.45); }
.mock-button.quiet.sam { color: var(--sam); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--sam) 50%, transparent); background: transparent; }
.mock-button.is-done { background: rgba(43, 92, 138, 0.12); color: var(--blue); }
.mock-button.is-done::before { content: ''; display: inline-block; width: 0.55rem; height: 0.3rem; border: solid currentColor; border-width: 0 0 2px 2px; transform: rotate(-45deg) translateY(-0.15rem); margin-right: 0.45rem; }
.swipe { position: relative; display: flex; align-items: center; justify-content: center; height: 2.5rem; border-radius: 999px; background: rgba(43, 92, 138, 0.12); color: var(--blue); font-weight: 650; font-size: 0.875rem; }
.swipe-knob { position: absolute; left: 0.25rem; top: 0.25rem; width: 2rem; height: 2rem; border-radius: 50%; background: var(--blue); }
.swipe-knob::after { content: ''; position: absolute; left: 0.7rem; top: 0.72rem; width: 0.45rem; height: 0.45rem; border: solid var(--koy); border-width: 2px 2px 0 0; transform: rotate(45deg); }
.facts > div { display: grid; grid-template-columns: 5.25rem minmax(0, 1fr); gap: 0.5rem; padding: 0.35rem 0; border-top: 1px solid #E8DFD4; }
.facts > div:first-child { border-top: 0; padding-top: 0; }
.facts dt { font-size: 0.8125rem; color: #5B4F46; padding-top: 0.1rem; }
.facts .code { font-weight: 700; letter-spacing: 0.12em; font-variant-numeric: tabular-nums; }
.alert { color: #A8332D; background: rgba(194, 65, 58, 0.08); box-shadow: inset 3px 0 0 var(--tag); padding: 0.5rem 0.75rem; border-radius: 0.5rem; font-weight: 650; }
.stamps { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.stamps span { padding: 0.15rem 0.55rem; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--blu); color: var(--blu-text); font-size: 0.8125rem; font-weight: 650; }
.paid { font-weight: 700; font-variant-numeric: tabular-nums; }
.after { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: 0.75rem; align-items: center; }
/* Stand-in for the after photo: these dogs are examples, so there is no real picture to show. */
.after-photo {
  position: relative; display: block; width: 3.5rem; height: 3.5rem; border-radius: 0.75rem;
  background: radial-gradient(circle at 50% 62%, #E2C49E 0 34%, transparent 35%), linear-gradient(160deg, #F1E3CF, #D9BA92);
}
.after-photo.wide { width: 100%; height: 4.5rem; border-radius: 0.75rem; background: radial-gradient(ellipse 22% 60% at 50% 70%, #E2C49E 0 70%, transparent 72%), linear-gradient(160deg, #F1E3CF, #D9BA92); }
.after-photo::after {
  content: ''; position: absolute; right: 0.35rem; bottom: 0.35rem; width: 0.75rem; height: 0.55rem; border-radius: 0.15rem;
  background: rgba(34, 27, 23, 0.55);
  box-shadow: inset 0 0 0 0.12rem rgba(255, 255, 255, 0.7);
}
.tally { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; }
.tally dt { font-size: 0.75rem; color: #5B4F46; }
.tally dd { font-size: 1.375rem; font-weight: 800; font-stretch: 112%; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

/* ---------- booking page ---------- */

.booking { padding: clamp(5rem, 12vh, 8rem) 0; }
.booking-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 60rem) { .booking-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); column-gap: 5rem; } }
.booking-copy > p { margin-top: 1.25rem; max-width: 44ch; color: var(--ink-soft); }
.booking-copy > p b { color: var(--ink); overflow-wrap: anywhere; }
.try-name { margin-top: 2rem; max-width: 26rem; }
.try-name label { display: block; font-weight: 650; margin-bottom: 0.45rem; font-size: 1rem; }
.try-name input {
  width: 100%; min-height: 3.125rem; padding: 0 1rem; border-radius: 0.875rem;
  border: 1.5px solid var(--line); background: var(--field-bg, #fff);
  color: var(--ink); font: inherit; font-size: 1.0625rem;
}
@media (prefers-color-scheme: dark) { .try-name input { --field-bg: #1F1814; } }
.try-name input:focus-visible { outline: 3px solid var(--blu); outline-offset: 2px; border-color: transparent; }
.try-name input::placeholder { color: var(--ink-soft); opacity: 0.8; }
.try-note { margin-top: 0.5rem; font-size: 0.875rem; color: var(--ink-soft); }

.screen {
  position: relative; justify-self: center; width: min(100%, 21rem);
  border-radius: 2.25rem; overflow: hidden;
  background: #fff; color: var(--mouth);
  box-shadow: 0 0 0 1px var(--line), 0 2rem 4rem -2.5rem rgba(34, 27, 23, 0.45);
}
.sam-page { font-size: 0.875rem; line-height: 1.35; padding: 0 1.1rem 4.5rem; }
.sam-top { margin: 0 -1.1rem 0.25rem; padding: 2.25rem 1.1rem 1.25rem; background: var(--sam); color: #fff; }
.sam-mark.big { width: 2.75rem; height: 2.75rem; font-size: 1.1rem; background: #fff; color: var(--sam); }
.sam-name { margin-top: 0.75rem; font-size: 1.25rem; font-weight: 800; font-stretch: 112%; letter-spacing: -0.015em; line-height: 1.15; overflow-wrap: anywhere; }
.sam-sub { margin-top: 0.2rem; opacity: 0.88; }
.sam-step { margin-top: 1rem; }
.step-q { font-weight: 700; margin-bottom: 0.45rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chips span { padding: 0.35rem 0.75rem; border-radius: 999px; box-shadow: inset 0 0 0 1.5px #E5DED4; font-weight: 600; }
.chips .is-on { background: var(--sam); color: #fff; box-shadow: none; }
.choice {
  display: flex; justify-content: space-between; gap: 0.5rem; align-items: baseline;
  padding: 0.6rem 0.8rem; border-radius: 0.875rem; box-shadow: inset 0 0 0 1.5px #E5DED4;
}
.choice + .choice { margin-top: 0.4rem; }
.choice span { color: #6E625A; font-size: 0.8125rem; }
.choice.is-on { box-shadow: inset 0 0 0 2px var(--sam); background: color-mix(in srgb, var(--sam) 7%, #fff); }
.times { display: flex; gap: 0.4rem; }
.times span { flex: 1; text-align: center; padding: 0.5rem 0; border-radius: 999px; box-shadow: inset 0 0 0 1.5px #E5DED4; font-weight: 650; font-variant-numeric: tabular-nums; }
.times .is-on { background: var(--sam); color: #fff; box-shadow: none; }
.hint { margin-top: 0.45rem; font-size: 0.75rem; color: #6E625A; }
.sam-cta { margin-top: 1.1rem; background: var(--sam); color: #fff; text-align: center; font-weight: 700; padding: 0.8rem; border-radius: 999px; }
.booked-with { margin-top: 0.6rem; text-align: center; font-size: 0.6875rem; color: #85796F; }
/* Safari's address bar, floating at the bottom as on an iPhone. */
.phone-url {
  position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.9rem;
  padding: 0.55rem; border-radius: 999px; text-align: center; font-size: 0.75rem; font-weight: 600; color: #3A302A;
  background: rgba(246, 242, 236, 0.85); -webkit-backdrop-filter: blur(12px) saturate(160%); backdrop-filter: blur(12px) saturate(160%);
  box-shadow: 0 0.25rem 1rem rgba(34, 27, 23, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
@media (prefers-reduced-transparency: reduce) { .phone-url { background: #F6F2EC; -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* ---------- details ---------- */

.details { padding: 0 0 clamp(5rem, 12vh, 8rem); }
.runin { margin-top: 2rem; max-width: 62ch; display: grid; gap: 1.5rem; }
.runin p { color: var(--ink-soft); }
.runin b { color: var(--ink); font-weight: 700; }

/* ---------- story ---------- */

.story { padding: 0 0 clamp(5rem, 12vh, 8rem); }
.story-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 60rem) { .story-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 4.5rem; } }
.story-photo img { width: 100%; border-radius: 1.5rem; aspect-ratio: 4 / 3; object-fit: cover; background: #E9E2D8; }
.story-photo figcaption { margin-top: 0.75rem; font-size: 0.9375rem; color: var(--ink-soft); }
.story-copy p { margin-top: 1.25rem; max-width: 40ch; }
.story-copy p:first-of-type { margin-top: 1.5rem; }

/* ---------- invite band ---------- */

.invite { padding: clamp(5rem, 12vh, 8rem) 0; }
.invite-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: start; }
@media (min-width: 60rem) {
  /* The heading runs across the band; the lede and the form sit side by side under it. */
  .invite-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 5rem; row-gap: 1.5rem; }
  .invite-copy { display: contents; }
  .invite-copy .headline { grid-column: 1 / -1; }
  .invite-copy .lede { margin-top: 0; }
}
.invite-copy .lede { margin-top: 1.25rem; }

/* ---------- footer ---------- */

.footer { padding: 2.5rem 0 calc(2.5rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--on-blue-line); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 2rem; color: var(--on-blue-soft); }
.footer-lockup { height: 1.75rem; width: auto; }
.footer-line { font-weight: 650; color: var(--koy); }
.footer-small { flex-basis: 100%; font-size: 0.875rem; }

/* ---------- comfort settings ---------- */

@media (prefers-reduced-motion: reduce) {
  .day.is-live[data-dir] .moment:not(.is-active) { transform: none; }
  .day.is-live .moment { transition-duration: 150ms !important; }
  .button, .choices span { transition: none; }
}
@media (prefers-contrast: more) {
  :root { --on-blue-soft: var(--koy); --ink-soft: var(--ink); }
  .card, .screen { box-shadow: 0 0 0 2px var(--mouth); }
  .visit, .road { box-shadow: inset 0 0 0 2px var(--mouth); }
  .road { background-image: repeating-linear-gradient(45deg, rgba(34, 27, 23, 0.25) 0 2px, transparent 2px 7px); }
  .choices span { box-shadow: inset 0 0 0 2px var(--koy); }
}

/* ---- privacy and not found pages ---- */
.doc { padding: clamp(3rem, 8vw, 6rem) 0 clamp(4rem, 10vw, 7rem); }
.doc-body { max-width: 40rem; }
.doc-body .lede { margin-top: 1.25rem; color: var(--ink-soft); }
.doc-body h2 { margin-top: 2.5rem; font-size: 1.375rem; font-weight: 700; font-stretch: 112%; letter-spacing: -0.01em; line-height: 1.2; }
.doc-body h2 + p { margin-top: 0.5rem; }
.doc-body p { max-width: 62ch; }
.doc-body a { text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; }
.doc-date { margin-top: 3rem; font-size: 0.9375rem; color: var(--ink-soft); }

/* ---- Windows contrast themes: backgrounds and shadows are replaced, so give the controls real edges ---- */
@media (forced-colors: active) {
  .dot::before { forced-color-adjust: none; background: CanvasText; }
  .dot[aria-selected='true']::before { background: Highlight; }
  .choices span, .quick-field, .field input, .try-name input, .button { border: 1px solid CanvasText; }
  .choices input:checked + span { forced-color-adjust: none; background: Highlight; color: HighlightText; }
  .road, .visit, .card, .needle-chip { border: 1px solid CanvasText; }
  .needle::after { forced-color-adjust: none; background: CanvasText; box-shadow: none; }
}
