/* Corvelle: porcelain tile, Barbicide blue, chrome, and a felt letterboard. */

:root {
  --tile: #f3f6f5;          /* porcelain wall tile */
  --paper: #ffffff;
  --ink: #16252a;           /* blue-slate text */
  --ink-soft: #4a5a5f;
  --chrome: #c3cdcf;        /* rules, borders */
  --chrome-dark: #8f9c9f;
  --blue: #13708a;          /* Barbicide jar: actions and links */
  --blue-deep: #0d5568;
  --blue-wash: #e3f1f4;
  --felt: #232b2a;          /* letterboard */
  --felt-groove: #1a2120;
  --felt-letter: #f2f4f1;
  --felt-dim: #a8b3b1;
  --felt-live: #6fd0e4;
  --error: #a8241c;
  --ok: #1d6b3a;

  --display: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue Condensed", sans-serif;
  --text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.9rem, 1.4rem + 2vw, 2.75rem);
  --step-3: clamp(2.5rem, 1.7rem + 3.6vw, 4.25rem);

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 72rem;
  --radius: 6px;
  --header-h: 4rem;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }

body {
  margin: 0;
  background: var(--tile);
  color: var(--ink);
  font-family: var(--text);
  font-size: var(--step-0);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { margin: 0 0 0.5em; line-height: 1.05; }
h1, h2 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.005em;
}
h1 { font-size: var(--step-3); line-height: 0.95; }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); font-weight: 600; line-height: 1.25; }
p, ul, ol, dl, address { margin: 0 0 1em; }
address { font-style: normal; }
a { color: var(--blue); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-deep); text-decoration-thickness: 2px; }
img { max-width: 100%; display: block; }

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

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 38rem; }
.prose { max-width: 42rem; }
.muted { color: var(--ink-soft); }
.lede { font-size: var(--step-1); line-height: 1.5; max-width: 34em; }
.section-intro { max-width: 34em; color: var(--ink-soft); font-size: var(--step-1); margin-bottom: 2rem; }
.plain { list-style: none; padding: 0; }
.plain li + li { margin-top: 0.6em; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 0.6rem 1rem; border-radius: var(--radius);
}
.skip:focus { top: 1rem; }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 3rem; padding: 0.7rem 1.4rem;
  font: 600 1rem/1.2 var(--text);
  color: var(--paper); background: var(--blue);
  border: 2px solid var(--blue); border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: var(--paper); text-decoration: none; }
.btn:disabled { opacity: 0.55; cursor: progress; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-small { min-height: 2.5rem; padding: 0.45rem 0.9rem; font-size: 0.95rem; }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.link { font-weight: 600; }
.link-button { background: none; border: 0; padding: 0.25rem; color: var(--blue); font: inherit; text-decoration: underline; cursor: pointer; }

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

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--tile) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--chrome);
}
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand {
  font: 900 2rem/1 var(--display); letter-spacing: 0.01em;
  color: var(--ink); text-decoration: none; margin-right: auto;
}
.brand:hover { color: var(--ink); }
.site-nav ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 0.4rem 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
.lang-switch { color: var(--ink-soft) !important; }
.nav-toggle { display: none; }
.header-book .short { display: none; }

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0 0.8rem;
    font: 600 0.95rem var(--text); background: none; color: var(--ink);
    border: 2px solid var(--ink); border-radius: var(--radius); cursor: pointer;
  }
  .js .site-nav { display: none; }
  .js .site-nav.is-open {
    display: block; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--tile); border-bottom: 1px solid var(--chrome);
    padding: 0.5rem var(--gutter) 1rem;
  }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 0; }
  .site-nav li { width: 100%; }
  .site-nav a { display: block; padding: 0.8rem 0; font-size: 1.1rem; border-bottom: 1px solid var(--chrome); }
  .site-nav li:last-child a { border-bottom: 0; }
  html:not(.js) .site-nav { width: 100%; order: 10; }
  html:not(.js) .header-inner { flex-wrap: wrap; }
  html:not(.js) .nav-toggle { display: none; }
.header-book .short { display: none; }
  .header-book { padding: 0.45rem 0.75rem; }
  .header-book .long { display: none; }
  .header-book .short { display: inline; }
}

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

.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-tight { padding-top: 0; }
.page-head { padding-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.section + .section:not(.tile-band):not(.section-tight) { border-top: 1px solid var(--chrome); }

/* Hex floor tile, as in the shop. */
.tile-band {
  background-color: #eaf0ef;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='48.5' viewBox='0 0 28 48.5'%3E%3Cpath d='M14 0 28 8.08v16.17L14 32.33 0 24.25V8.08zM14 32.33 28 40.42M14 32.33 0 40.42M14 32.33V48.5' fill='none' stroke='%23d5dedd' stroke-width='1.2'/%3E%3C/svg%3E");
  border-top: 1px solid var(--chrome);
  border-bottom: 1px solid var(--chrome);
}

/* Hero --------------------------------------------------------------- */

.hero { padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem); overflow: hidden; }
.hero-inner {
  display: grid; gap: clamp(2.5rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
}
.hero-copy { container-type: inline-size; min-width: 0; }
.hero h1 { margin-bottom: 1.25rem; }
.wordmark {
  display: block;
  font-size: clamp(4.5rem, 3rem + 13vw, 13.5rem);
  font-size: min(31cqi, 13.5rem); /* sized to its column so it never runs under the sign */
  font-weight: 900; line-height: 0.78; letter-spacing: -0.01em;
  margin-left: -0.04em;
}
.h1-sub {
  display: block; margin-top: 0.9rem;
  font: 600 var(--step-1)/1.2 var(--text); letter-spacing: 0;
  color: var(--ink-soft);
}
.hero .lede { margin-bottom: 1.75rem; }

/* Letterboard sign -- the one loud thing on the site. */
.board {
  --groove: 2.05rem;
  padding: 0.75rem;
  border-radius: 4px;
  background: linear-gradient(145deg, #e9eeef, #a9b4b6 45%, #e2e7e8 60%, #8f9c9f);
  box-shadow: 0 1px 0 #fff inset, 0 22px 40px -18px rgba(22, 37, 42, 0.55);
  transform: rotate(-0.8deg);
}
.board-felt {
  padding: calc(var(--groove) * 0.5) clamp(1rem, 4vw, 1.75rem) calc(var(--groove) * 0.5);
  background:
    repeating-linear-gradient(to bottom, transparent 0 calc(var(--groove) - 3px), var(--felt-groove) calc(var(--groove) - 3px) var(--groove)),
    var(--felt);
  color: var(--felt-letter);
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 1.3rem;
  line-height: var(--groove);
  border-radius: 2px;
}
.board dl, .board ul { margin: 0; padding: 0; list-style: none; }
.board-row { display: flex; justify-content: space-between; gap: 1rem; }
.board-row dt { color: var(--felt-dim); }
.board-row dd { margin: 0; text-align: right; }
.board-row-next dd { color: var(--felt-live); }
.board-heading {
  font: inherit; letter-spacing: inherit; color: var(--felt-dim);
  margin: var(--groove) 0 0; line-height: var(--groove);
}
.board-prices a {
  display: flex; align-items: baseline; gap: 0.5rem;
  color: inherit; text-decoration: none;
}
.board-prices a:hover .board-name { color: var(--felt-live); }
.board-dots { flex: 1; border-bottom: 2px dotted rgba(242, 244, 241, 0.25); transform: translateY(-0.4rem); min-width: 1rem; }
.board-price { font-variant-numeric: tabular-nums; }
.board-prices a:focus-visible { outline-color: var(--felt-live); }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .board { transform: none; }
}
@media (max-width: 420px) {
  .board-felt { font-size: 1.1rem; letter-spacing: 0.06em; }
  .board { --groove: 1.8rem; padding: 0.5rem; }
}

/* Steps: a real sequence, so it gets numbers. */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: step; }
.steps li { counter-increment: step; border-top: 3px solid var(--ink); padding-top: 1rem; }
.steps li::before {
  content: counter(step);
  display: block; font: 900 3.5rem/1 var(--display); color: var(--blue); margin-bottom: 0.75rem;
}
.steps p { color: var(--ink-soft); margin: 0; }

/* Barbers */
.barbers { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.barber { border-top: 3px solid var(--ink); padding-top: 1rem; }
.barber-name { font: 800 2.4rem/1 var(--display); margin-bottom: 0.25rem; }
.barber-days { color: var(--ink-soft); font-size: var(--step--1); font-weight: 600; margin-bottom: 0.75rem; }

@media (max-width: 760px) {
  .steps, .barbers { grid-template-columns: 1fr; gap: 1.75rem; }
}

/* Visit / hours */
.visit { display: grid; grid-template-columns: 1fr minmax(0, 24rem); gap: 2.5rem; align-items: start; }
.visit-address { font: 600 var(--step-1)/1.35 var(--text); margin-bottom: 1rem; }
.hours { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--chrome); border-radius: var(--radius); }
.hours th, .hours td { text-align: left; padding: 0.65rem 1rem; border-bottom: 1px solid var(--chrome); font-variant-numeric: tabular-nums; }
.hours th { font-weight: 600; }
.hours td { text-align: right; }
.hours tr:last-child > * { border-bottom: 0; }
.hours tr.is-today { background: var(--blue-wash); }
.hours tr.is-today th { color: var(--blue-deep); }
@media (max-width: 760px) { .visit { grid-template-columns: 1fr; } }

/* About */
.values { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.values li { border-left: 3px solid var(--blue); padding-left: 1rem; }
.values p { color: var(--ink-soft); margin: 0; }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 4rem; }
.contact-block h2 { font-size: 2rem; }
.contact-block h3 { margin-top: 1.5rem; }
.big-link { font: 600 var(--step-1)/1.3 var(--text); margin-bottom: 0.4rem; overflow-wrap: anywhere; }
.policy li { padding-left: 1rem; border-left: 3px solid var(--chrome); }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

/* Booking ------------------------------------------------------------ */

.booking-head { padding-bottom: 1rem; }
.booking-wrap { max-width: 52rem; }
.booking { display: grid; gap: 2.25rem; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step legend {
  font: 800 1.75rem/1 var(--display); padding: 0; margin-bottom: 0.9rem;
}

.sr-only, .choice input, .chip input, .day input, .time input {
  position: absolute; top: 0; left: 0; width: 1px; height: 1px; margin: 0; opacity: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
/* Anchor the visually hidden radios inside their labels so focus never scrolls the page elsewhere. */
.chip, .day, .time { position: relative; display: block; }

.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.choice { position: relative; cursor: pointer; }
.choice-body {
  display: grid; grid-template-columns: 1fr auto; gap: 0.15rem 1rem;
  padding: 0.9rem 1rem; height: 100%;
  background: var(--paper); border: 2px solid var(--chrome); border-radius: var(--radius);
}
.choice-title { font-weight: 600; }
.choice-meta { color: var(--ink-soft); font-size: var(--step--1); text-align: right; }
.choice-desc { grid-column: 1; color: var(--ink-soft); font-size: var(--step--1); line-height: 1.4; }
.choice-price { grid-column: 2; grid-row: 2; align-self: end; font: 800 1.5rem/1 var(--display); text-align: right; }
.choice:hover .choice-body { border-color: var(--chrome-dark); }
.choice input:checked + .choice-body { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); background: var(--blue-wash); }
.choice input:focus-visible + .choice-body { outline: 3px solid var(--blue); outline-offset: 2px; }
@media (max-width: 600px) { .choices { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.4rem 1.1rem;
  background: var(--paper); border: 2px solid var(--chrome); border-radius: 999px; font-weight: 500;
}
.chip:hover span { border-color: var(--chrome-dark); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

.days {
  display: flex; gap: 0.5rem; overflow-x: auto; scroll-snap-type: x proximity;
  padding: 0.25rem 0.25rem 0.75rem; margin: 0 -0.25rem;
  scrollbar-width: thin;
}
.day { flex: 0 0 auto; scroll-snap-align: start; cursor: pointer; }
.day span {
  display: grid; justify-items: center; gap: 0.1rem;
  width: 4.25rem; padding: 0.55rem 0.25rem 0.6rem;
  background: var(--paper); border: 2px solid var(--chrome); border-radius: var(--radius);
  font-size: var(--step--1); line-height: 1.2;
}
.day b { font: 800 1.75rem/1 var(--display); }
.day small { color: var(--ink-soft); font-size: 0.75rem; }
.day:hover span { border-color: var(--chrome-dark); }
.day input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.day input:checked + span small { color: var(--chrome); }
.day input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.day input:disabled + span { opacity: 0.45; cursor: not-allowed; background: transparent; border-style: dashed; }

.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(4.6rem, 1fr)); gap: 0.5rem; min-height: 3rem; }
.times > p { grid-column: 1 / -1; margin: 0; }
.time { cursor: pointer; }
.time span {
  display: flex; align-items: center; justify-content: center; min-height: 2.9rem;
  background: var(--paper); border: 2px solid var(--chrome); border-radius: var(--radius);
  font-weight: 600; font-variant-numeric: tabular-nums;
}
.time:hover span { border-color: var(--blue); }
.time input:checked + span { background: var(--blue); border-color: var(--blue); color: var(--paper); }
.time input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.times.is-loading { opacity: 0.6; }

.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; }
.field { display: grid; gap: 0.35rem; align-content: start; margin: 0; padding: 0; border: 0; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 600; }
.hint { margin: 0; color: var(--ink-soft); font-size: var(--step--1); }
input:not([type="radio"]):not([type="checkbox"]), textarea, select {
  width: 100%; min-height: 3rem; padding: 0.6rem 0.8rem;
  font: inherit; font-size: max(16px, 1rem); color: var(--ink);
  background: var(--paper); border: 2px solid var(--chrome); border-radius: var(--radius);
}
input:hover, textarea:hover, select:hover { border-color: var(--chrome-dark); }
input:focus, textarea:focus, select:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px var(--blue-wash); }
input[aria-invalid="true"] { border-color: var(--error); }
textarea { resize: vertical; min-height: 4.5rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }

.submit-bar {
  position: sticky; bottom: 0; z-index: 5;
  display: grid; gap: 0.6rem;
  margin: 0 calc(var(--gutter) * -1);
  padding: 0.9rem var(--gutter) calc(0.9rem + env(safe-area-inset-bottom));
  background: var(--paper); border-top: 1px solid var(--chrome);
  box-shadow: 0 -10px 24px -18px rgba(22, 37, 42, 0.45);
}
.summary { margin: 0; font-weight: 600; }
.summary small { display: block; font-weight: 400; color: var(--ink-soft); }
@media (min-width: 761px) {
  .submit-bar { margin: 0; border: 1px solid var(--chrome); border-radius: var(--radius); grid-template-columns: 1fr auto; align-items: center; padding: 1rem 1.25rem; }
  .submit-bar .form-error { grid-column: 1 / -1; grid-row: 2; }
  .btn-block { width: auto; }
}

.form-error { margin: 0; color: var(--error); font-weight: 600; }
.form-ok { margin: 0; color: var(--ok); font-weight: 600; }

.success {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--paper); border: 1px solid var(--chrome); border-top: 6px solid var(--blue); border-radius: var(--radius);
}
.success:focus { outline: none; }
.success h2 { font-size: var(--step-3); }
.success-what { font: 600 var(--step-1)/1.4 var(--text); }

/* Manage */
.booking-card {
  background: var(--paper); border: 1px solid var(--chrome); border-radius: var(--radius);
  padding: 1.25rem 1.5rem; margin-bottom: 1.5rem;
}
.booking-card dl { display: grid; grid-template-columns: auto 1fr; gap: 0.4rem 1.25rem; margin: 0; }
.booking-card dt { color: var(--ink-soft); }
.booking-card dd { margin: 0; font-weight: 600; }
.status { display: inline-block; padding: 0.15rem 0.6rem; border-radius: 999px; font-size: var(--step--1); font-weight: 600; }
.status-confirmed { background: var(--blue-wash); color: var(--blue-deep); }
.status-cancelled { background: #f6e3e1; color: var(--error); }

/* Admin -------------------------------------------------------------- */

.admin { padding-top: 2rem; }
.admin-login { display: grid; gap: 1rem; }
.sheet-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-bottom: 1.25rem; }
.sheet-title { font-size: 2.25rem; margin: 0 auto 0 0; }
.sheet-nav { display: flex; gap: 0.4rem; align-items: center; }
.sheet-nav input { width: auto; min-height: 2.5rem; padding: 0.3rem 0.6rem; }
.check { display: inline-flex; gap: 0.4rem; align-items: center; font-weight: 500; }
.check input { width: 1.1rem; height: 1.1rem; accent-color: var(--blue); }
.columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.col { background: var(--paper); border: 1px solid var(--chrome); border-radius: var(--radius); min-width: 0; }
.col h2 { font-size: 1.6rem; margin: 0; padding: 0.75rem 1rem; border-bottom: 1px solid var(--chrome); display: flex; justify-content: space-between; align-items: baseline; }
.col h2 small { font: 500 var(--step--1) var(--text); color: var(--ink-soft); }
.col ol { list-style: none; margin: 0; padding: 0; }
.col li { padding: 0.75rem 1rem; border-bottom: 1px solid var(--chrome); display: grid; grid-template-columns: 5rem 1fr auto; gap: 0.15rem 0.75rem; }
.col li:last-child { border-bottom: 0; }
.col .when { white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; grid-row: span 3; line-height: 1.3; }
.col .when small { display: block; color: var(--ink-soft); font-weight: 400; }
.col .who { font-weight: 600; }
.col .what, .col .note { color: var(--ink-soft); font-size: var(--step--1); grid-column: 2; }
.col .note { font-style: italic; }
.col li > button { grid-column: 3; grid-row: 1; align-self: start; }
.col .is-block { background: repeating-linear-gradient(-45deg, transparent 0 8px, #eef2f2 8px 16px); }
.col .is-cancelled { opacity: 0.55; }
.col .is-cancelled .who { text-decoration: line-through; }
.col .empty { color: var(--ink-soft); display: block; }
.add-panel { background: var(--paper); border: 1px solid var(--chrome); border-radius: var(--radius); padding: 0 1.25rem; }
.add-panel summary { cursor: pointer; font: 800 1.6rem/1 var(--display); padding: 1rem 0; }
.add-panel form { padding-bottom: 1.25rem; }
.admin .notice { padding: 1rem; background: var(--paper); border: 1px dashed var(--chrome-dark); border-radius: var(--radius); }

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

.site-footer { background: var(--ink); color: #d8e0e1; padding: 3rem 0 2rem; margin-top: 0; font-size: 0.95rem; }
.site-footer a { color: #fff; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 2rem; }
.footer-brand { font: 900 2.5rem/1 var(--display); color: #fff; margin-bottom: 0.75rem; }
.footer-hours { margin: 0; display: grid; gap: 0.2rem; }
.footer-hours div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.12); padding-bottom: 0.2rem; }
.footer-hours dt { font-weight: 600; }
.footer-hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.footer-legal { margin-top: 2.5rem; color: #a9b6b8; font-size: var(--step--1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; }
.footer-legal p { margin: 0; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* The one orchestrated moment: letters settle onto the board on load. */
@media (prefers-reduced-motion: no-preference) {
  .board-felt > * { animation: settle 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .board-felt > :nth-child(2) { animation-delay: 0.08s; }
  .board-felt > :nth-child(3) { animation-delay: 0.16s; }
  .board-row-next dd.is-live { animation: settle 0.4s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  @keyframes settle { from { opacity: 0; transform: translateY(-0.35rem); } }
}

@media print {
  .site-header, .site-footer, .submit-bar { display: none; }
}
