/*
  base.css: design tokens and shared building blocks for the whole page.
  Every section stylesheet builds on these; nothing here is specific to one section.

  Brand: the business has a small clip-art logo (blue house and spray wand) but no
  brand colors in use, and its blue would sit next to two other pressure-washing
  demos. So the palette comes from their own job photos instead:
    charcoal  = the streaked roof shingles in their mid-wash roof photo
    concrete  = the washed front walk in their before/after
    grime     = the unwashed half of that walk (muted text, "before" labels)
    red       = the red shutters on the house in their gutter photo; used as the
                one accent ("rapid response", call buttons, the gauge redline)
  Type: Oswald (condensed, sign-painted uppercase for headings, like lettering on
  a work truck or a gauge face) and Public Sans (plain, sturdy body text).
  Idea: a pressure gauge. The rating is read off a dial, the roof photo shows the
  wash line, and the before/after flips like a work ticket.
  Motion: most sections move on scroll (GSAP). Every section is fully readable
  without it: motion only starts once <html> has the "motion-ready" class.
*/

:root {
  /* Colors */
  --paper: #f3f0ea;         /* page background: washed concrete */
  --concrete: #e2ddd3;      /* alternate light sections */
  --line: #c7c0b3;          /* rules and borders on light */
  --grime: #5c5548;         /* secondary text on light (6.6:1 on paper) */
  --ink: #1d2023;           /* text on light, dark sections: shingle charcoal */
  --slate: #2a2e32;         /* raised panels on dark */
  --on-dark: #f3f0ea;       /* text on ink */
  --on-dark-muted: #b8b2a7; /* secondary text on ink (8.4:1) */
  --red: #c8312f;           /* the one accent: shutter red (4.6:1 on paper, 3:1 on ink) */
  --red-deep: #9e2220;      /* hover state of red buttons */

  /* Type */
  --display: "Oswald", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --fs-sm: 0.875rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1.04rem + 0.45vw, 1.3125rem);
  --fs-h3: clamp(1.375rem, 1.2rem + 0.8vw, 1.875rem);
  --fs-h2: clamp(2.5rem, 1.6rem + 4vw, 5.5rem);
  --fs-display: clamp(3rem, 1.4rem + 7.6vw, 9rem);

  /* Spacing scale (4 to 128) */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;

  --radius: 3px;          /* work-ticket corners; no shadow style: surfaces separate by color and rules */
  --container: 1240px;
  --gutter: var(--s4);
  --header-h: 64px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --focus: var(--ink);
}

@media (min-width: 640px) { :root { --gutter: var(--s5); } }
@media (min-width: 1024px) { :root { --gutter: var(--s6); --fs-body: 1.125rem; --header-h: 72px; } }

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
/* clip, not hidden: stops sideways scroll from anything sliding in, and keeps position: sticky working */
main { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
ul[class], ol[class] { list-style: none; padding: 0; }

/* Lenis smooth scrolling (rules from the Lenis package). */
html.lenis, html.lenis body { height: auto; scroll-behavior: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

[id] { scroll-margin-top: calc(var(--header-h) + var(--s4)); }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  text-wrap: balance;
}
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.1; }
p { text-wrap: pretty; }

a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Small uppercase label above headings, like the stencil on a work order */
.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-family: var(--display);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grime);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 3px;
  background: var(--red);
  flex: none;
}

/* Buttons: 48px tall for thumbs. Red is the call action everywhere. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  min-height: 48px;
  padding: var(--s3) var(--s5);
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--display);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-call { background: var(--red); color: #fff; }
.btn-call:hover { background: var(--red-deep); }
.btn-line { border-color: currentColor; }
.btn-line:hover { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }

/* Five-star row next to the real Google rating */
.stars { display: inline-flex; gap: 2px; color: var(--red); }
.stars svg { width: 16px; height: 16px; fill: currentColor; }

.skip-link {
  position: absolute;
  left: var(--s4);
  top: -100px;
  z-index: 300;
  padding: var(--s3) var(--s4);
  background: var(--ink);
  color: var(--on-dark);
}
.skip-link:focus { top: var(--s4); }

/* Dark sections switch the focus ring to the light color so it stays visible. */
.on-dark { --focus: var(--on-dark); color: var(--on-dark); }
.on-dark .eyebrow { color: var(--on-dark-muted); }

/* Keeps short phrases (hours) on one line */
.nowrap { white-space: nowrap; }

/* Text that only makes sense while the scroll animations run */
.motion-only { display: none; }
.motion-ready .motion-only { display: inline; }

/* HomeSampleNotice: the "sample website" strip above the header. */
.sample-notice {
  position: relative;
  z-index: 60;
  background: #000;
  font-size: var(--fs-sm);
  line-height: 1.4;
  text-align: center;
}
.sample-notice p { padding-block: var(--s2); }
.sample-notice a { font-weight: 700; }

/* HomeHeader: sticky charcoal bar with wordmark, section links and the call button. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid rgb(243 240 234 / 0.12);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--s4);
  min-height: var(--header-h);
}
.wordmark {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
  margin-right: auto;
  min-width: 0;
}
.wordmark__main {
  font-family: var(--display);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.wordmark__sub {
  margin-top: 3px;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.site-nav { display: none; }
.site-header__call { padding-inline: var(--s4); }
.call-long { display: none; }

@media (min-width: 560px) {
  .call-short { display: none; }
  .call-long { display: inline; }
}
@media (min-width: 1024px) {
  .wordmark__main { font-size: 1.625rem; }
  .site-nav { display: flex; gap: var(--s5); margin-right: var(--s4); }
  .site-nav a {
    font-size: var(--fs-sm);
    font-weight: 600;
    text-decoration: none;
    color: var(--on-dark-muted);
  }
  .site-nav a:hover { color: var(--on-dark); text-decoration: underline; }
}

/* HomeHero: charcoal shingle roof background, H1, rating gauge, call button. */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  padding-block: var(--s5) var(--s7);
}

/* The roof: a drawn shingle pattern (an SVG tile; data: images are allowed by the CSP). */
.hero__roof {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(ellipse at 70% 40%, rgb(255 255 255 / 0.06), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='36'%3E%3Cpath d='M0 17.5H72M0 35.5H72M18 0V18M54 0V18M0 18V36M36 18V36' stroke='%23f3f0ea' stroke-opacity='.07' fill='none'/%3E%3C/svg%3E");
  background-size: auto, 72px 36px;
}

/* Algae streaks, only drawn when the wash pass will play. --wash is how far
   (in %) the pass has travelled; everything left of it is clean. */
.hero__streaks, .hero__wand { display: none; }
.motion .hero__streaks {
  display: block;
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--wash, 0%));
  background:
    repeating-linear-gradient(90deg,
      rgb(0 0 0 / 0) 0 22px, rgb(8 6 2 / 0.75) 22px 34px, rgb(8 6 2 / 0.3) 34px 58px,
      rgb(8 6 2 / 0.8) 58px 64px, rgb(0 0 0 / 0) 64px 96px, rgb(8 6 2 / 0.5) 96px 118px,
      rgb(0 0 0 / 0) 118px 150px),
    rgb(70 58 34 / 0.5);
  -webkit-mask-image: linear-gradient(to bottom, #000 10%, rgb(0 0 0 / 0.5) 70%, rgb(0 0 0 / 0.15));
  mask-image: linear-gradient(to bottom, #000 10%, rgb(0 0 0 / 0.5) 70%, rgb(0 0 0 / 0.15));
}
.motion .hero__wand {
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--wash, 0%);
  width: 90px;
  margin-left: -88px;
  background: linear-gradient(90deg, transparent, rgb(243 240 234 / 0.1) 70%, rgb(243 240 234 / 0.7) 98%, transparent);
  opacity: var(--wand, 0);
}

/* Layout. Phone order: text, gauge, buttons, lead. */
.hero__grid {
  display: grid;
  grid-template-areas: "text" "gauge" "actions" "lead";
  gap: var(--s5);
}
.hero__text { grid-area: text; container-type: inline-size; }
.gauge { grid-area: gauge; }
.hero__actions { grid-area: actions; display: flex; flex-wrap: wrap; gap: var(--s3); }
.hero__lead { grid-area: lead; max-width: 46ch; font-size: var(--fs-lead); color: var(--on-dark-muted); }
.hero__lead q { color: var(--on-dark); }

.hero__eyebrow { margin-bottom: var(--s4); }
.hero__title {
  /* Sized to the text column (container units) so "Pressure washing" never overflows at 320px. */
  font-size: min(var(--fs-display), 10.8cqi);
  line-height: 0.95;
}
.hero__line { display: block; }
.hero__where {
  display: block;
  margin-top: var(--s3);
  font-size: 0.42em;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--on-dark-muted);
}
.hero__actions .btn-call { flex: 1 1 auto; }
.hero__second { color: var(--on-dark); }
.hero__second:hover { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }

/* Gauge */
.gauge {
  display: grid;
  grid-template-columns: minmax(130px, 42%) 1fr;
  align-items: center;
  gap: var(--s4);
  margin: 0;
  padding: var(--s3) var(--s4);
  border: 1px solid rgb(243 240 234 / 0.16);
  border-radius: var(--radius);
  background: rgb(29 32 35 / 0.7);
}
.gauge__dial { width: 100%; height: auto; overflow: visible; }
.gauge__track { fill: none; stroke: var(--on-dark-muted); stroke-opacity: 0.35; stroke-width: 2; }
.gauge__redline { fill: none; stroke: var(--red); stroke-width: 7; }
.gauge__fill {
  fill: none;
  stroke: var(--on-dark);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 0;
}
.tick { stroke: var(--on-dark-muted); stroke-width: 1; }
.tick--major { stroke: var(--on-dark); stroke-width: 2.5; }
.tick--red { stroke: var(--red); }
.gauge__labels text {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  fill: var(--on-dark-muted);
  text-anchor: middle;
}
.gauge__needle { fill: var(--red); }
.gauge__hub { fill: var(--on-dark); stroke: var(--ink); stroke-width: 3; }

.gauge__readout { display: flex; flex-direction: column; gap: var(--s1); }
.gauge__value {
  font-family: var(--display);
  font-size: clamp(3rem, 2.2rem + 3vw, 6.5rem);
  font-weight: 600;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.gauge__meta { display: flex; flex-direction: column; gap: var(--s1); font-size: var(--fs-sm); color: var(--on-dark-muted); }

@media (min-width: 960px) {
  .hero { padding-block: var(--s9) var(--s9); }
  .hero__grid {
    grid-template-columns: 1.3fr 1fr;
    grid-template-areas: "text gauge" "actions gauge" "lead gauge";
    grid-template-rows: auto auto 1fr;
    column-gap: var(--s8);
    row-gap: var(--s6);
    align-items: start;
  }
  .hero__actions .btn-call { flex: 0 0 auto; }
  .gauge {
    align-self: center;
    grid-template-columns: 1fr;
    justify-items: center;
    padding: var(--s7) var(--s6) var(--s6);
    text-align: center;
  }
  .gauge__readout { align-items: center; }
  .gauge__meta { align-items: center; font-size: var(--fs-body); }
  .gauge__meta .stars svg { width: 20px; height: 20px; }
}

/* Before the script splits the headline, keep it hidden (motion only). */
.motion .hero__title { visibility: hidden; }
.motion .hero.is-split .hero__title { visibility: visible; }
/* Until the scripts start, hide what the intro will reveal, so nothing flashes.
   head.js removes .motion after 4 s if the scripts never start. */
.motion:not(.motion-ready) .hero .gauge,
.motion:not(.motion-ready) .hero__eyebrow,
.motion:not(.motion-ready) .hero__actions,
.motion:not(.motion-ready) .hero__lead { opacity: 0; }

/* HomeMarquee: red band with the surfaces, drifting sideways. */
.marquee {
  overflow: hidden;
  background: var(--red);
  color: #fff;
  border-block: 1px solid var(--ink);
}
.marquee__track { display: flex; width: max-content; }
.marquee__row { display: flex; flex: none; }
.marquee__row span {
  display: flex;
  align-items: center;
  gap: var(--s5);
  padding: var(--s3) 0 var(--s3) var(--s5);
  font-family: var(--display);
  font-size: clamp(1.25rem, 1rem + 1.2vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
/* A small drop between words, like the spray nozzle mark */
.marquee__row span::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--ink);
}
/* Without motion the band is a static strip; the overflow is clipped. */

/* HomeRoof: framed mid-wash roof photo with the wash line drawn over it. */
.roof { padding-block: var(--s9); background: var(--paper); }
.roof__grid { display: grid; gap: var(--s7); align-items: center; }
.roof__title { margin-block: var(--s4) var(--s5); max-width: 12ch; }
.roof__body { max-width: 52ch; font-size: var(--fs-lead); color: var(--grime); }
.roof__quote {
  margin-top: var(--s6);
  padding-left: var(--s5);
  border-left: 3px solid var(--red);
  max-width: 44ch;
}
.roof__quote p { font-family: var(--display); font-size: var(--fs-h3); line-height: 1.2; text-transform: uppercase; }
.roof__quote footer { margin-top: var(--s2); font-size: var(--fs-sm); color: var(--grime); }

.roof__figure { margin: 0; max-width: 640px; justify-self: center; width: 100%; }
.roof__frame {
  position: relative;
  overflow: hidden;
  border: 6px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
}
.roof__frame img { width: 100%; }
.roof__overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.roof__line {
  fill: none;
  stroke: var(--red);
  stroke-width: 4;
  stroke-dasharray: 14 10;
  vector-effect: non-scaling-stroke;
}
.roof__label {
  position: absolute;
  left: 4%;
  padding: var(--s1) var(--s3);
  border-radius: var(--radius);
  font-family: var(--display);
  font-size: clamp(0.8125rem, 0.7rem + 0.5vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.roof__label--before { top: 26%; background: var(--ink); color: var(--on-dark); }
.roof__label--after { top: 52%; background: var(--red); color: #fff; }
.roof__caption { margin-top: var(--s3); font-size: var(--fs-sm); color: var(--grime); }

@media (min-width: 960px) {
  .roof__grid { grid-template-columns: 1fr 1.1fr; gap: var(--s8); }
  .roof__title { font-size: clamp(3rem, 2rem + 3vw, 5.5rem); }
}

/* HomeProof: the walkway before/after. Static: side by side. Motion: a card that flips. */
.proof { background: var(--ink); padding-block: var(--s9); }
.proof__grid { display: grid; gap: var(--s6); }
.proof__title { margin-block: var(--s4); }
.proof__body { max-width: 44ch; font-size: var(--fs-lead); color: var(--on-dark-muted); }
.proof__state { display: none; }

/* Static version: two photos next to each other */
.proof__card { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.proof__face { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); }
.proof__face img { width: 100%; height: 100%; object-fit: cover; }
.proof__tag {
  position: absolute;
  top: var(--s3);
  left: var(--s3);
  padding: var(--s1) var(--s3);
  border-radius: var(--radius);
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.proof__tag--before { background: var(--ink); color: var(--on-dark); }
.proof__tag--after { background: var(--red); color: #fff; }

/* Motion version: one card, before on the front face, after on the back. */
.motion-ready .proof { padding-block: var(--s6); min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; }
.motion-ready .proof__grid { width: 100%; gap: var(--s4); }
.motion-ready .proof__title { margin-block: var(--s2) var(--s3); font-size: clamp(2.25rem, 1.5rem + 4vw, 5.5rem); }
.motion-ready .proof__body { font-size: var(--fs-body); }
.motion-ready .proof__state { display: flex; gap: var(--s2); margin-top: var(--s4); }
.proof__pill {
  padding: var(--s1) var(--s3);
  border: 1px solid rgb(243 240 234 / 0.35);
  border-radius: var(--radius);
  font-family: var(--display);
  font-size: var(--fs-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.proof__pill--before.is-on { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }
.proof__pill--after.is-on { background: var(--red); border-color: var(--red); color: #fff; }

.motion-ready .proof__stage { perspective: 2400px; display: flex; justify-content: center; }
.motion-ready .proof__card {
  display: block;
  position: relative;
  height: clamp(260px, calc(100svh - var(--header-h) - 280px), 700px);
  aspect-ratio: 1537 / 2316;
  transform-style: preserve-3d;
}
.motion-ready .proof__face {
  position: absolute;
  inset: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border: 5px solid var(--on-dark);
}
.motion-ready .proof__face--after { transform: rotateY(180deg); border-color: var(--red); }

@media (min-width: 960px) {
  .proof__grid { grid-template-columns: 1fr 1fr; align-items: center; gap: var(--s8); }
  .motion-ready .proof__card { height: clamp(320px, calc(100svh - var(--header-h) - 200px), 680px); }
  .motion-ready .proof__title { font-size: clamp(3rem, 2rem + 3vw, 6rem); }
  .motion-ready .proof__body { font-size: var(--fs-lead); }
}

/* HomeServices: numbered work-order lines with framed job photos. */
.services { padding-block: var(--s9); background: var(--concrete); }
.services__head { margin-bottom: var(--s7); }
.services__head h2 { margin-top: var(--s4); }

.services__list { border-top: 2px solid var(--ink); }
.job {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s4) var(--s5);
  padding-block: var(--s6);
  border-bottom: 1px solid var(--line);
}
.job__no {
  font-family: var(--display);
  font-size: clamp(2.5rem, 1.8rem + 3vw, 5rem);
  font-weight: 600;
  line-height: 0.9;
  color: var(--red);
  font-variant-numeric: tabular-nums;
}
.job__text h3 { margin-bottom: var(--s3); }
.job__text p { max-width: 48ch; color: var(--grime); }
.job__text a { color: var(--ink); font-weight: 600; }
.job__photo { grid-column: 1 / -1; margin: 0; }
.job__frame { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--ink); }
.job__frame img { width: 100%; height: 100%; object-fit: cover; }
.job__photo figcaption { margin-top: var(--s2); font-size: var(--fs-sm); color: var(--grime); }

@media (min-width: 960px) {
  .job { grid-template-columns: 140px 1fr 420px; align-items: start; padding-block: var(--s7); }
  .job__photo { grid-column: auto; }
  .job__text { padding-top: var(--s2); }
  .job__text p { font-size: var(--fs-lead); }
}

/* HomeReviews: reviews as work tickets on a charcoal board. */
.reviews { padding-block: var(--s9); background: var(--ink); }
.reviews__head { margin-bottom: var(--s7); }
.reviews__head h2 { margin-top: var(--s4); }
.reviews__score { color: var(--red); font-variant-numeric: tabular-nums; }

.tickets { display: grid; gap: var(--s4); }
.ticket {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  padding: var(--s5);
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  border-top: 6px solid var(--red);
}
/* Punched hole, like a ticket on a hook */
.ticket::before {
  content: "";
  position: absolute;
  top: var(--s3);
  right: var(--s4);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ink);
}
.ticket__job {
  padding-right: var(--s6);
  font-family: var(--display);
  font-size: var(--fs-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grime);
}
.ticket blockquote p { font-size: 1.0625rem; line-height: 1.5; }
.ticket__who {
  margin-top: auto;
  padding-top: var(--s3);
  border-top: 1px dashed var(--line);
  font-weight: 700;
}

@media (min-width: 700px) {
  .tickets { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .tickets { grid-template-columns: repeat(6, 1fr); }
  .ticket { grid-column: span 2; }
  .ticket:nth-child(4) { grid-column: 2 / span 2; }
}

/* HomeHours: the week as a board, today marked in red. */
.hours { padding-block: var(--s9); background: var(--paper); overflow-x: clip; }
.hours__grid { display: grid; gap: var(--s7); align-items: start; }
.hours__text h2 { margin-block: var(--s4) var(--s5); max-width: 12ch; }
.hours__status {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-weight: 700;
}
.hours__status::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grime);
}
.hours__status.is-open::before { background: var(--red); }
.hours__note { margin-top: var(--s3); font-size: var(--fs-sm); color: var(--grime); }

.hours__table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours__table tr { border-bottom: 1px solid var(--line); }
.hours__table th, .hours__table td { padding: var(--s3) var(--s2); text-align: left; }
.hours__table th { font-family: var(--display); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.hours__table td { text-align: right; }
.hours__table tr.is-today { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.hours__table tr.is-today th::after {
  content: "Today";
  margin-left: var(--s3);
  padding: 2px var(--s2);
  border-radius: var(--radius);
  background: var(--red);
  color: #fff;
  font-size: 0.75rem;
}

@media (min-width: 960px) {
  .hours__grid { grid-template-columns: 1fr 1fr; gap: var(--s8); }
  .hours__table th, .hours__table td { padding: var(--s4) var(--s4); font-size: var(--fs-lead); }
}

/* HomeContact: red panel, the phone number set huge. White on red is 5.4:1. */
.contact {
  --focus: #fff;
  padding-block: var(--s9);
  background: var(--red);
  color: #fff;
  overflow-x: clip;
}
.contact .container { container-type: inline-size; }
.contact__title { font-size: var(--fs-h3); letter-spacing: 0.1em; }
.contact__phone {
  display: inline-block;
  margin-block: var(--s4) var(--s7);
  color: #fff;
  text-decoration: none;
}
.contact__digits {
  display: block;
  font-family: var(--display);
  /* 14 characters of condensed digits fill the column without overflowing */
  font-size: min(15cqi, 11rem);
  font-weight: 600;
  line-height: 0.95;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.contact__phone:hover .contact__digits { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 0.12em; }

.contact__facts {
  display: grid;
  gap: var(--s4);
  padding-top: var(--s5);
  border-top: 2px solid rgb(255 255 255 / 0.5);
}
.contact__facts dt {
  font-family: var(--display);
  font-size: var(--fs-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}
.contact__facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.contact__facts a { color: #fff; }

@media (min-width: 760px) {
  .contact__facts { grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
}
@media (min-width: 1200px) {
  .contact__facts { grid-template-columns: repeat(5, auto); justify-content: space-between; }
}

/* HomeFooter: giant wordmark, details, the sample notice. */
.site-footer { background: var(--ink); padding-block: var(--s8) var(--s7); }
.site-footer__inner { container-type: inline-size; }
.site-footer__name {
  font-family: var(--display);
  /* "RAPID RESPONSE" (14 characters, condensed) sized to the column width */
  font-size: 13.8cqi;
  font-weight: 700;
  line-height: 0.85;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--on-dark);
}
.site-footer__full { margin-top: var(--s5); font-weight: 600; }
.site-footer__notice { margin-top: var(--s4); max-width: 70ch; font-size: var(--fs-sm); color: var(--on-dark-muted); }
.site-footer a { color: var(--on-dark); }
