/* ==========================================================================
   Golden Gate Optical — stylesheet
   Palette derived from the practice's own logo (periwinkle) and the
   storefront photography (warm brass). Nothing invented.
   ========================================================================== */

:root {
  --ink:        #171b2e;
  --slate:      #4a5068;
  --mute:       #767c92;
  --brand:      #4c63a8;
  --brand-dark: #35477e;
  --brand-tint: #eaedf6;
  --brass:      #b8893f;
  --paper:      #f2f3f7;
  --white:      #ffffff;
  --line:       #d9dce6;

  --display: "Fraunces", Georgia, serif;
  --body:    "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1120px;
  --gutter: clamp(20px, 4vw, 32px);

  /* One spacing scale, used everywhere. No ad-hoc margins. */
  --s-1: 6px;
  --s-2: 12px;
  --s-3: 20px;
  --s-4: 32px;
  --s-5: 48px;
  --s-6: 64px;
  --section: clamp(44px, 5.2vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-variation-settings: "SOFT" 40, "opsz" 40; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; letter-spacing: 0; }

p { margin: 0 0 1.15em; }
a { color: var(--brand-dark); }

img { max-width: 100%; height: auto; display: block; }

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Eyebrow now carries a hairline lead-in, so it reads as a label
   attached to the section rather than floating text above it. */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 var(--s-3);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--brass);
  flex: none;
}

.skip {
  position: absolute; left: -9999px;
  background: var(--ink); color: #fff; padding: 12px 18px; z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

/* --- Header ------------------------------------------------------------- */

.topbar {
  background: var(--ink);
  color: #c3c8dc;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}
.topbar .wrap {
  display: flex; justify-content: space-between; gap: 16px;
  padding-top: 9px; padding-bottom: 9px; flex-wrap: wrap;
}
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--brass); }

.masthead { border-bottom: 1px solid var(--line); background: var(--white); }
.masthead .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap;
}

.brandmark { text-decoration: none; display: block; line-height: 1; }
.brandmark-name {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variation-settings: "opsz" 40, "SOFT" 20;
}
.brandmark-name em {
  font-style: italic;
  font-weight: 400;
  color: var(--brand);
}
.brandmark-sub {
  display: block;
  font-family: var(--body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass);
  margin-top: 7px;
}

.nav { display: flex; gap: 26px; flex-wrap: wrap; }
.nav a {
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.01em;
  color: var(--slate); text-decoration: none; padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--brass); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--brand); }

/* --- Buttons ------------------------------------------------------------ */

.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 2px;
  transition: background 0.18s ease;
}
.btn:hover { background: var(--brand-dark); }

.btn-quiet {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-quiet:hover { background: var(--brand-tint); border-color: var(--brand); }

/* --- Banner slider ------------------------------------------------------ */

.banner {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
  height: clamp(280px, 36vw, 400px);
}
/* A single, static banner has no controls and needs less room. */
.banner-static { height: clamp(200px, 24vw, 280px); }

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.75s ease, visibility 0.75s;
  background:
    radial-gradient(120% 140% at 82% 46%, #29325a 0%, transparent 58%),
    linear-gradient(112deg, #12162a 0%, #1d2440 62%, #262f52 100%);
}
.slide.is-active { opacity: 1; visibility: visible; }

/* Without JS, show the first slide rather than nothing. */
.no-js .slide:first-child,
.slide:first-child:only-child { opacity: 1; visibility: visible; }

/* ---- Motifs.
   Each is drawn in CSS from the subject's own vocabulary: lens rings,
   an acuity grid, refraction rays, a hairline weave. They sit on the
   right, behind nothing, so the type at left is never fighting them. */

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
}

/* Concentric lens rings — the examination, the eye itself */
.m-rings::before {
  background: repeating-radial-gradient(
    circle at 80% 50%,
    transparent 0 34px,
    rgba(184, 137, 63, 0.16) 34px 35px,
    transparent 35px 36px,
    rgba(255, 255, 255, 0.05) 36px 37px
  );
  -webkit-mask-image: linear-gradient(90deg, transparent 34%, #000 72%);
  mask-image: linear-gradient(90deg, transparent 34%, #000 72%);
}

/* Measured grid — the dispensary, the frame wall */
.m-grid::before {
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 46px),
    radial-gradient(circle at 78% 50%, rgba(184,137,63,0.20) 0 3px, transparent 3px);
  background-size: 46px 46px, 46px 46px, 46px 46px;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 78%);
  mask-image: linear-gradient(90deg, transparent 30%, #000 78%);
}

/* Refraction rays — light bending through a lens */
.m-rays::before {
  background: repeating-conic-gradient(
    from 0deg at 84% 50%,
    rgba(255, 255, 255, 0.055) 0deg 2.2deg,
    transparent 2.2deg 9deg
  );
  -webkit-mask-image: radial-gradient(circle at 84% 50%, #000 4%, rgba(0,0,0,0.55) 42%, transparent 74%);
  mask-image: radial-gradient(circle at 84% 50%, #000 4%, rgba(0,0,0,0.55) 42%, transparent 74%);
}

/* Hairline weave — the quiet one, for text-heavy pages */
.m-weave::before {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 14px),
    repeating-linear-gradient(45deg, rgba(184,137,63,0.07) 0 1px, transparent 1px 14px);
  -webkit-mask-image: linear-gradient(90deg, transparent 26%, #000 80%);
  mask-image: linear-gradient(90deg, transparent 26%, #000 80%);
}

/* Acuity steps — decreasing bars, the Snellen idea abstracted */
.m-steps::before {
  background:
    linear-gradient(90deg, rgba(184,137,63,0.22) 0 120px, transparent 120px) 74% 22% / 100% 10px no-repeat,
    linear-gradient(90deg, rgba(255,255,255,0.14) 0 84px, transparent 84px) 74% 38% / 100% 8px no-repeat,
    linear-gradient(90deg, rgba(255,255,255,0.12) 0 56px, transparent 56px) 74% 53% / 100% 6px no-repeat,
    linear-gradient(90deg, rgba(255,255,255,0.10) 0 34px, transparent 34px) 74% 67% / 100% 5px no-repeat,
    linear-gradient(90deg, rgba(255,255,255,0.08) 0 20px, transparent 20px) 74% 80% / 100% 4px no-repeat;
  opacity: 0.85;
}

/* A soft brass wash so the right side never reads as empty navy */
.slide-body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 90% at 86% 50%, rgba(184, 137, 63, 0.10), transparent 62%);
  pointer-events: none;
}

.slide-body {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}
.slide-inner { position: relative; z-index: 2; max-width: 44ch; }

.slide .eyebrow { color: var(--brass); }
.slide .eyebrow::before { background: var(--brass); }

.slide h2 {
  color: #fff;
  font-size: clamp(1.55rem, 3.1vw, 2.5rem);
  letter-spacing: -0.025em;
  margin-bottom: var(--s-2);
  max-width: 20ch;
}
.slide p {
  color: #ccd1e0;
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
  margin-bottom: var(--s-3);
}
.slide .slide-link {
  display: inline-block;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid var(--brass);
  padding-bottom: 5px;
}
.slide .slide-link:hover { color: var(--brass); }

/* Controls */
.banner-prev,
.banner-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.18s ease;
}
.banner-prev:hover, .banner-next:hover { background: rgba(255, 255, 255, 0.22); }
.banner-prev { left: 16px; }
.banner-next { right: 16px; }

.banner-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.banner-dot {
  width: 28px;
  height: 3px;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.2s ease;
}
.banner-dot:hover { background: rgba(255, 255, 255, 0.6); }
.banner-dot.is-active { background: var(--brass); }

@media (prefers-reduced-motion: reduce) {
  .slide { transition: none; }
}

@media (max-width: 860px) {
  .banner { height: clamp(260px, 46vw, 340px); }
  .banner-static { height: clamp(180px, 30vw, 240px); }
  .slide-inner { max-width: none; }
  /* Pull the motif behind the type and drop it back, since there's
     no longer a right-hand column for it to live in. */
  .slide::before { opacity: 0.3; -webkit-mask-image: none; mask-image: none; }
  .slide-body::before { background: radial-gradient(80% 60% at 70% 20%, rgba(184,137,63,0.10), transparent 65%); }
}

@media (max-width: 620px) {
  .banner { height: auto; min-height: 300px; }
  .banner-static { height: auto; min-height: 190px; }
  .slide { position: absolute; }
  .slide.is-active { position: relative; }
  .slide-body { padding: var(--s-5) 0 var(--s-6); }
  .banner-static .slide-body { padding: var(--s-4) 0; }
  .banner-prev, .banner-next { width: 38px; height: 38px; }
  .banner-prev { left: 8px; }
  .banner-next { right: 8px; }
  .banner-dots { bottom: 14px; }
  .banner-dot { width: 22px; }
}

/* --- Hero + the acuity chart (signature element) ------------------------- */

.hero {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: clamp(40px, 5.5vw, 80px) 0 clamp(36px, 4.5vw, 68px);
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(1.95rem, 4.4vw, 3.2rem);
  max-width: 16ch;
  letter-spacing: -0.028em;
  margin-bottom: var(--s-3);
  font-variation-settings: "SOFT" 30, "opsz" 100;
}
.hero p.lede {
  font-size: clamp(1.03rem, 1.4vw, 1.18rem);
  line-height: 1.6;
  max-width: 46ch;
  color: var(--slate);
  margin-bottom: var(--s-4);
}
.hero .actions { display: flex; gap: var(--s-2); flex-wrap: wrap; }

/* Three facts, set small. A new patient comparing practices reads
   these before they read any prose. */
.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  gap: var(--s-3) var(--s-5);
  margin: var(--s-4) 0 0;
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
  list-style: none;
}
.hero-facts li { margin: 0; }
.hero-facts .n {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hero-facts .k {
  display: block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 4px;
}

/* A Snellen chart, using the real Sloan optotypes. It resolves from
   soft-focus to sharp on load — the one moment of motion on the site. */
.chart {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 2px solid var(--brass);
  padding: var(--s-4) var(--s-4) var(--s-3);
  text-align: center;
  box-shadow: 0 24px 48px -34px rgba(23,27,46,0.30);
}
.chart-row {
  display: flex; align-items: baseline; justify-content: center; gap: 18px;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ink);
  line-height: 1.5;
  padding: 3px 0;
}
.chart-row .ratio {
  font-family: var(--body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--mute);
  width: 3.6em; text-align: right; flex: none;
}
.chart-row .glyphs { flex: 1; text-align: left; }
.r1 .glyphs { font-size: 2.5rem; }
.r2 .glyphs { font-size: 1.75rem; }
.r3 .glyphs { font-size: 1.2rem; }
.r4 .glyphs { font-size: 0.85rem; }
.r5 .glyphs { font-size: 0.62rem; }

.chart-caption {
  margin: var(--s-3) 0 0; padding-top: var(--s-2); border-top: 1px solid var(--line);
  font-size: 0.8rem; color: var(--mute); letter-spacing: 0.01em; line-height: 1.55;
  text-align: left;
}

.focusing .chart-row { filter: blur(5px); opacity: 0; }
.chart-row { animation: sharpen 1s cubic-bezier(0.22, 1, 0.36, 1) both; }
.r1 { animation-delay: 0.10s; }
.r2 { animation-delay: 0.22s; }
.r3 { animation-delay: 0.34s; }
.r4 { animation-delay: 0.46s; }
.r5 { animation-delay: 0.58s; }

@keyframes sharpen {
  from { filter: blur(5px); opacity: 0; }
  to   { filter: blur(0);   opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chart-row { animation: none; filter: none; opacity: 1; }
}

/* --- Sections ----------------------------------------------------------- */

.section { padding: var(--section) 0; }
.section-tint { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-ink { background: var(--ink); }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-ink p { color: #b9bfd4; }

/* Headings need less air beneath them than the browser default gives. */
.section h2 { margin-bottom: var(--s-3); }
.section h2 + p, .section h2 + ul { margin-top: 0; }

.spaced { margin-top: var(--s-6); }
.spaced-sm { margin-top: var(--s-4); }

.measure { max-width: 64ch; }
.measure-tight { max-width: 56ch; }

.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 64px); align-items: center;
}

.rule {
  width: 44px; height: 2px; background: var(--brass);
  border: 0; margin: 0 0 var(--s-3);
}

/* --- Cards / lists ------------------------------------------------------ */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 2px solid var(--brand);
  padding: var(--s-4) var(--s-3) var(--s-3);
}
.card h3 { margin-bottom: var(--s-1); }
.card p:last-child { margin-bottom: 0; }

.ticks { list-style: none; margin: var(--s-2) 0 0; padding: 0; columns: 2; column-gap: var(--s-5); }
.ticks li {
  padding: 11px 0 11px 26px; position: relative;
  break-inside: avoid; border-bottom: 1px solid var(--line);
}
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 1.15em;
  width: 10px; height: 2px; background: var(--brass);
}

.plain { list-style: none; margin: 0; padding: 0; }
.plain li { padding: 10px 0; border-bottom: 1px solid var(--line); }

.brands {
  font-family: var(--display);
  font-size: 1.05rem;
  line-height: 2.1;
  color: var(--ink);
  max-width: 74ch;
}
.brands span::after { content: " · "; color: var(--brass); }
.brands span:last-child::after { content: ""; }

/* --- Staff -------------------------------------------------------------- */

.staff { display: grid; gap: var(--s-6); }
.staff-member { display: grid; grid-template-columns: 280px 1fr; gap: var(--s-5); align-items: start; }
.staff-member img { border: 1px solid var(--line); width: 100%; }
.credential {
  font-family: var(--body); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass);
  margin: 0 0 var(--s-1);
}

/* --- FAQ ---------------------------------------------------------------- */

.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); padding: 30px 0; }
.faq-item h3 { color: var(--ink); margin-bottom: 0.5em; }
.faq-item p:last-child { margin-bottom: 0; }

/* --- Pull quote --------------------------------------------------------- */

.pullquote {
  margin: 0 0 2rem;
  padding: 0 0 0 28px;
  border-left: 3px solid var(--brass);
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.4;
  color: var(--ink);
}
.pullquote cite {
  display: block; margin-top: 14px;
  font-family: var(--body); font-style: normal;
  font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute);
}

/* --- Hours / contact ---------------------------------------------------- */

.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hours th { font-weight: 600; color: var(--ink); }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours .closed { color: var(--mute); }

.contact-line { font-size: 1.05rem; margin: 0 0 0.4em; }
.contact-line strong { color: var(--ink); }

/* The map's height attribute is a fallback; CSS drives it. */
.split iframe { width: 100%; height: clamp(280px, 52vw, 460px); display: block; }

/* --- CTA band ----------------------------------------------------------- */

.band { background: var(--ink); color: #fff; padding: clamp(40px, 4.5vw, 64px) 0; }
.band .wrap { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); flex-wrap: wrap; }
.band h2 { color: #fff; margin: 0; }
.band p { color: #b9bfd4; margin: var(--s-1) 0 0; }
.band .btn { background: var(--brass); }
.band .btn:hover { background: #9d7434; }

/* --- Footer ------------------------------------------------------------- */

.footer { background: var(--paper); border-top: 1px solid var(--line); padding: var(--s-6) 0 var(--s-4); font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--s-5); }
.footer h4 {
  font-family: var(--body); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
  margin: 0 0 var(--s-3);
}
.footer a { color: var(--slate); text-decoration: none; }
.footer a:hover { color: var(--brand-dark); text-decoration: underline; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 7px; }
.footer p { margin-bottom: var(--s-2); }
.colophon {
  margin-top: var(--s-5); padding-top: var(--s-3); border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: var(--s-2); flex-wrap: wrap;
  font-size: 0.8rem; color: var(--mute);
}

/* --- Responsive --------------------------------------------------------- */

/* Tablet: the three-up card grid is the first thing to break. */
@media (max-width: 1000px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .cards .card:last-child { grid-column: 1 / -1; }
  .staff-member { grid-template-columns: 240px 1fr; gap: var(--s-4); }
}

/* Hero and side-by-side sections stack. Below this width, two columns
   of body text are too narrow to read comfortably. */
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { max-width: 18ch; }
  .hero p.lede { max-width: none; }
  .chart { max-width: 420px; }

  .split { grid-template-columns: 1fr; }
  /* Images follow their text rather than leading it, except in the
     hero-adjacent intro where the photo carries the section. */
  .split > img { order: 2; }

  .cards { grid-template-columns: 1fr; }
  .cards .card:last-child { grid-column: auto; }

  .staff-member { grid-template-columns: 1fr; gap: var(--s-3); }
  .staff-member img { max-width: 300px; }

  .ticks { columns: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .band .wrap { flex-direction: column; align-items: flex-start; }
}

/* Phone. */
@media (max-width: 620px) {
  body { font-size: 1rem; }

  .topbar .wrap { flex-direction: column; gap: 4px; text-align: center; }
  .topbar { font-size: 0.74rem; }

  .masthead .wrap { flex-direction: column; gap: var(--s-3); padding-top: var(--s-3); padding-bottom: var(--s-3); }
  .brandmark { text-align: center; }

  /* Nav scrolls sideways instead of wrapping into a ragged block. */
  .nav {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    gap: var(--s-3);
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; font-size: 0.85rem; }

  /* Facts read as a 2x2 block, not a cramped single row. */
  .hero-facts { grid-template-columns: 1fr 1fr; gap: var(--s-3) var(--s-4); }

  /* Buttons go full width so they're thumb-sized. */
  .hero .actions { flex-direction: column; align-items: stretch; }
  .btn { text-align: center; padding: 15px 22px; }

  .chart { padding: var(--s-3) var(--s-3) var(--s-2); max-width: none; }
  .chart-row { gap: 12px; }
  .chart-row .ratio { width: 3.2em; font-size: 0.58rem; }
  .r1 .glyphs { font-size: 1.8rem; }
  .r2 .glyphs { font-size: 1.35rem; }
  .r3 .glyphs { font-size: 1rem; }

  .hours th, .hours td { font-size: 0.94rem; }
  .brands { font-size: 0.98rem; line-height: 1.95; }
  .pullquote { padding-left: var(--s-3); }

  .footer-grid { grid-template-columns: 1fr; gap: var(--s-4); }
  .colophon { flex-direction: column; gap: 6px; }

  .band .btn { width: 100%; }
}

/* Small phones: stop the display face from breaking words apart. */
@media (max-width: 380px) {
  h1 { font-size: 1.75rem; hyphens: none; }
  .hero-facts { grid-template-columns: 1fr; gap: var(--s-2); }
  .hero-facts li { display: flex; align-items: baseline; gap: var(--s-2); }
  .hero-facts .n { font-size: 1.15rem; }
  .hero-facts .k { margin-top: 0; }
}
