/* HOLLIN — one stylesheet. Colour and display-type axes come from the page
   temperature: css/temps.css (generated by tools/build.mjs from
   js/hollin-data.js) gives each temperature a class, and on the home page
   js/temp.js writes the same variables every frame. See DESIGN.md. */

@font-face {
  font-family: 'Anybody';
  src: url('../fonts/anybody-latin-standard-normal.woff2') format('woff2');
  font-weight: 100 900; font-stretch: 50% 150%; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('../fonts/hanken-grotesk-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --nav-h: 64px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --display: 'Anybody', 'Hanken Grotesk', system-ui, sans-serif;
  --text: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --line: color-mix(in srgb, var(--ink) 16%, transparent);
  --line-strong: color-mix(in srgb, var(--ink) 42%, transparent);
  --photo-ink: #F3F6F8;
  --photo-dim: #C9D2D9;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--ground); color: var(--ink); }
body {
  margin: 0; min-height: 100vh; overflow-x: clip;
  font-family: var(--text); font-size: 1.0625rem; line-height: 1.6; font-weight: 400;
  background: transparent; color: var(--ink);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; text-decoration-color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--ground); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: var(--gutter); top: .75rem; z-index: 100; padding: .75rem 1rem;
  background: var(--ink); color: var(--ground); text-decoration: none; transform: translateY(-160%);
}
.skip:focus { transform: none; }

/* ---------- type ---------- */
.display {
  font-family: var(--display);
  font-weight: var(--wght, 520);
  font-stretch: calc(var(--wdth, 100) * 1%);
  line-height: .86; letter-spacing: -.012em; text-transform: uppercase;
}
.label {
  font-family: var(--text); font-size: .75rem; font-weight: 600; line-height: 1.4;
  letter-spacing: .16em; text-transform: uppercase; color: var(--dim);
}
.lede { font-size: clamp(1.125rem, 1.45vw, 1.375rem); line-height: 1.5; max-width: 32em; }
.num { font-family: var(--display); font-variant-numeric: tabular-nums; }
.measure { max-width: 36em; }
.dim { color: var(--dim); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem);
  padding: 0 var(--gutter);
  background: color-mix(in srgb, var(--ground) 97%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav__mark {
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--display); font-size: 1.5rem; line-height: 1; text-transform: uppercase; letter-spacing: .01em;
  /* follows the heat, but never thinner or narrower than it can be read at nav size */
  font-weight: max(560, var(--wght, 520)); font-stretch: max(78%, calc(var(--wdth, 100) * 1%));
  text-decoration: none; view-transition-name: mark;
}
.nav > nav { margin-left: auto; }
.nav__links { display: flex; gap: clamp(1rem, 2.4vw, 2.25rem); margin: 0; padding: 0; list-style: none; }
.nav__links a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; color: var(--dim);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; }
.nav__temp {
  display: inline-flex; align-items: baseline; gap: .2em; justify-content: flex-end; min-width: 4.6em; white-space: nowrap;
  font-family: var(--display); font-variant-numeric: tabular-nums; font-size: 1rem; font-weight: 600; font-stretch: 100%;
  color: var(--accent); view-transition-name: temp;
}
.nav__menu {
  display: none; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; cursor: pointer; color: var(--ink);
}
.nav__menu svg { width: 22px; height: 22px; }
.menu {
  position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 1rem) var(--gutter) 2rem; background: var(--ground);
}
.menu[hidden] { display: none; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu a {
  display: block; padding: .4rem 0; text-decoration: none;
  font-family: var(--display); font-size: clamp(2.4rem, 12vw, 4rem); line-height: 1.05; text-transform: uppercase;
  font-weight: var(--wght, 520); font-stretch: calc(var(--wdth, 100) * 1%);
}
.menu a[aria-current="page"] { color: var(--accent); }
.menu__close { position: absolute; top: 10px; right: calc(var(--gutter) - 10px); width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
.menu__close svg { width: 22px; height: 22px; margin: auto; }
@media (max-width: 880px) {
  .nav > nav { display: none; }
  .nav__temp { margin-left: auto; }
  .nav__menu { display: inline-flex; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: 0 1.4rem; border: 1px solid var(--line-strong); border-radius: 2px;
  background: transparent; color: var(--ink); text-decoration: none; cursor: pointer;
  font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  transition: border-color .2s, background-color .2s, color .2s;
}
.btn:hover { border-color: var(--accent); }
.btn--solid { background: var(--accent); border-color: var(--accent); color: var(--ground); }
.btn--solid:hover { background: var(--ink); border-color: var(--ink); }
.btn svg { width: 16px; height: 16px; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- the field (home) ---------- */
.field {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; background: var(--ground);
}
.field canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.field__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
/* Posters stand in when the field can't run: reduced motion, no WebGL2, or a lost context. */
.field--static canvas { display: none; }
.field--static .field__poster[data-for="hot"]  { opacity: var(--p-hot, 1); }
.field--static .field__poster[data-for="mid"]  { opacity: var(--p-mid, 0); }
.field--static .field__poster[data-for="cold"] { opacity: var(--p-cold, 0); }
html[data-state="hot"]  .field--static { --p-hot: 1; --p-mid: 0; --p-cold: 0; }
html[data-state="mid"]  .field--static { --p-hot: 0; --p-mid: 1; --p-cold: 0; }
html[data-state="cold"] .field--static { --p-hot: 0; --p-mid: 0; --p-cold: 1; }

/* the readout (home hero): scrolls away with the hero; the nav carries it after */
.readout { display: grid; gap: .15rem; }
.readout__label { color: var(--dim); }
.readout__value {
  display: flex; align-items: baseline; gap: .12em;
  font-family: var(--display); font-variant-numeric: tabular-nums; font-weight: 300; font-stretch: 100%;
  font-size: clamp(3rem, 5.6vw, 5.6rem); line-height: .9; color: var(--accent);
}
.readout__value small { font-size: .34em; font-weight: 600; }
.readout__bar { width: 10rem; height: 2px; margin-top: .6rem; background: var(--line); position: relative; overflow: hidden; }
.readout__bar i { position: absolute; inset: 0 auto 0 0; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--heat-k, 1)); }
.nav__room { font-family: var(--text); font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-right: .7rem; }
@media (max-width: 520px) { .nav__room { display: none; } }

/* ---------- home: hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter);
  align-content: end; row-gap: clamp(1.5rem, 5vh, 3.5rem);
  padding: calc(var(--nav-h) + 2rem) var(--gutter) clamp(2.5rem, 7vh, 4.5rem);
}
.hero__intro { grid-column: 7 / -1; grid-row: 1; }
.hero__intro .lede { margin-bottom: 1.25rem; }
.hero__cue { grid-column: 1 / span 5; grid-row: 1; align-self: end; display: grid; gap: 1.75rem; }
.hero__scroll { display: flex; align-items: center; gap: .9rem; margin: 0; }
.hero__scroll i { display: block; width: 1px; height: 3.25rem; background: var(--line-strong); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ''; position: absolute; inset: 0; background: var(--accent); animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); transform-origin: top; } 56% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hero__word {
  grid-column: 1 / -1; grid-row: 2;
  font-size: clamp(4.2rem, 16.6vw, 19rem); line-height: .78; margin-left: -.04em;
  color: var(--ink); white-space: nowrap;
}
@media (max-width: 880px) {
  .hero { padding-bottom: 2.5rem; align-content: end; }
  .hero__intro, .hero__cue { grid-column: 1 / -1; }
  .hero__intro { grid-row: 2; }
  .hero__word { grid-row: 1; font-size: 15.6vw; }
  .hero__cue { grid-row: 3; }
}

/* ---------- home: the ritual ---------- */
.stage {
  position: relative; min-height: 165vh; overflow-x: clip;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter);
  padding: 0 var(--gutter);
}
.stage__text {
  grid-column: 1 / span 7; grid-row: 1; align-self: start;
  position: sticky; top: calc(var(--nav-h) + 9vh); padding: 6vh 0 10vh;
  isolation: isolate;
}
/* a clearing in the steam / frost behind the copy, so text never sits on the brightest part of the field */
.stage__text::before {
  content: ''; position: absolute; z-index: -1; inset: -6% -8% -6% -8%;
  /* closest-side: the ellipse is fully transparent before it reaches the box edge, so the clearing never shows a seam */
  background: radial-gradient(closest-side, color-mix(in srgb, var(--ground) 82%, transparent) 0%, color-mix(in srgb, var(--ground) 66%, transparent) 60%, transparent 100%);
  pointer-events: none;
}
.stage__title { font-size: clamp(4rem, 11.2vw, 11.5rem); margin: .5rem 0 1.6rem -.04em; white-space: nowrap; }
.stage__text p:not(.label) { max-width: 28em; }
.stage__facts { display: flex; flex-wrap: wrap; gap: .4rem 1.75rem; margin: 1.5rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--line); list-style: none; }
.stage__facts li { color: var(--dim); font-size: .9375rem; }
.stage__facts b { color: var(--ink); font-weight: 600; }
.stage__photo { grid-column: 8 / -1; grid-row: 1; margin: 0; align-self: center; position: sticky; top: 24vh; }
.stage__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.stage__photo figcaption { margin-top: .6rem; }
.stage--rinse .stage__text { grid-column: 6 / -1; }
.stage--rinse .stage__photo { grid-column: 1 / span 4; top: 34vh; }
.stage--rinse .stage__photo img { aspect-ratio: 1 / 1; }
.stage--plunge .stage__photo { grid-column: 9 / -1; top: 30vh; }
.stage--plunge .stage__photo img { aspect-ratio: 3 / 4; }
@media (max-width: 880px) {
  .stage { min-height: 0; padding-top: 14vh; padding-bottom: 24vh; }
  .stage__text, .stage--rinse .stage__text { grid-column: 1 / -1; grid-row: 1; position: relative; top: auto; padding: 0; }
  .stage__photo, .stage--rinse .stage__photo, .stage--plunge .stage__photo { grid-column: 1 / -1; grid-row: 2; position: static; top: auto; margin-top: 2rem; }
  .stage--rinse .stage__photo, .stage--plunge .stage__photo { width: 78%; }
  .stage--plunge .stage__photo { justify-self: end; }
  .stage__title { font-size: 21vw; }
}

/* ---------- home: rest + the shape of a session ---------- */
.rest { padding: clamp(6rem, 14vw, 12rem) var(--gutter) clamp(4rem, 8vw, 7rem); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.rest__head { grid-column: 1 / span 5; grid-row: 1; }
.rest__title { font-size: clamp(3.4rem, 8vw, 8rem); margin: .5rem 0 0 -.03em; }
.rest__text { grid-column: 7 / -1; grid-row: 1; align-self: end; }
.trace { grid-column: 1 / -1; grid-row: 2; margin: clamp(3rem, 7vw, 6rem) 0 0; }
.trace svg { width: 100%; height: auto; overflow: visible; }
.trace .grid line { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.trace .axis text { fill: var(--dim); font: 600 12px var(--text); letter-spacing: .1em; }
/* no non-scaling-stroke here: it would break pathLength=1, which the draw-on relies on */
.trace .path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 1 1; stroke-dashoffset: 0; stroke-linejoin: round; }
.trace .zone { fill: color-mix(in srgb, var(--accent) 12%, transparent); }
.trace figcaption { margin-top: 1.25rem; max-width: 44em; color: var(--dim); font-size: .9375rem; }
@media (max-width: 880px) {
  .rest__head, .rest__text { grid-column: 1 / -1; }
  .rest__text { grid-row: 2; margin-top: 1.5rem; }
  .trace { grid-row: 3; }
  .trace .axis text { font-size: 30px; }
  .trace .path { stroke-width: 5; }
}

/* ---------- photo band with copy (always dark) ---------- */
.band { position: relative; min-height: 88svh; display: grid; align-items: end; color: var(--photo-ink); isolation: isolate; }
.band picture, .band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(5, 8, 12, .9) 0%, rgba(5, 8, 12, .86) 42%, rgba(5, 8, 12, .2) 78%, rgba(5, 8, 12, .1) 100%); }
.band__inner { padding: 0 var(--gutter) clamp(3rem, 8vw, 6rem); max-width: 60rem; }
.band .label { color: var(--photo-dim); }
.band__title { font-size: clamp(2.6rem, 6.4vw, 6.4rem); margin: .6rem 0 1.25rem -.03em; font-stretch: 100%; font-weight: 640; }
.band p { color: var(--photo-ink); max-width: 34em; }
.band .btn { color: var(--photo-ink); border-color: rgba(243, 246, 248, .6); }
.band .btn:hover { border-color: var(--photo-ink); }
.band .btn--solid { background: var(--photo-ink); color: #0A1016; border-color: var(--photo-ink); }
.band .btn--solid:hover { background: transparent; color: var(--photo-ink); }
.band a:focus-visible { outline-color: var(--photo-ink); }

/* ---------- inner pages ---------- */
.page-hero { position: relative; min-height: 76svh; display: grid; align-items: end; color: var(--photo-ink); isolation: isolate; }
.page-hero picture, .page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(5, 8, 12, .9) 0%, rgba(5, 8, 12, .84) 40%, rgba(5, 8, 12, .25) 75%, rgba(5, 8, 12, .5) 100%); }
.page-hero__inner { padding: calc(var(--nav-h) + 2rem) var(--gutter) clamp(2.5rem, 6vw, 4.5rem); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); width: 100%; }
.page-hero .label { color: var(--photo-dim); grid-column: 1 / -1; }
.page-hero h1 { grid-column: 1 / -1; font-size: clamp(3.4rem, 10vw, 10rem); margin: .6rem 0 1.5rem -.035em; color: var(--photo-ink); }
.page-hero .lede { grid-column: 1 / span 7; color: var(--photo-ink); margin: 0; }
.page-hero a:focus-visible { outline-color: var(--photo-ink); }
@media (max-width: 880px) { .page-hero .lede { grid-column: 1 / -1; } .page-hero { min-height: 82svh; } }

.section { padding: clamp(4.5rem, 10vw, 9rem) var(--gutter); background: var(--ground); color: var(--ink); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2.5rem; }
.col-a { grid-column: 1 / span 5; grid-row: 1; }
.col-b { grid-column: 7 / -1; grid-row: 1; }
.col-wide { grid-column: 1 / span 8; grid-row: 1; }
.col-side { grid-column: 10 / -1; grid-row: 1; }
.col-full { grid-column: 1 / -1; grid-row: 2; }
@media (max-width: 880px) {
  .col-a, .col-b, .col-wide, .col-side { grid-column: 1 / -1; grid-row: auto; }
  .col-full { grid-row: auto; }
}
.h2 { font-size: clamp(2.8rem, 7vw, 7rem); margin: .5rem 0 1.5rem -.03em; }
.h3 { font-family: var(--display); font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1.1; font-weight: 600; font-stretch: 100%; margin: 0 0 .75rem; }
.figure { margin: 0; }
.figure img { width: 100%; object-fit: cover; }
.figure figcaption { margin-top: .6rem; }
.figure--tall img { aspect-ratio: 3 / 4; }
.figure--wide img { aspect-ratio: 3 / 2; }
.figure--sq img { aspect-ratio: 1 / 1; }

/* the rounds: one room per section, each painted at its own temperature */
.room { padding: clamp(5rem, 11vw, 10rem) var(--gutter); background: var(--ground); color: var(--ink); }
.room__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2.5rem; align-items: start; }
.room__head { grid-column: 1 / -1; grid-row: 1; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem 2rem; border-bottom: 1px solid var(--line); padding-bottom: 1.25rem; }
.room__name { font-size: clamp(3.4rem, 10.6vw, 11rem); margin-left: -.04em; }
.room__temp { font-family: var(--display); font-variant-numeric: tabular-nums; font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 300; font-stretch: 100%; color: var(--accent); white-space: nowrap; }
.room__temp small { font-size: .45em; font-weight: 600; }
.room__body { grid-column: 1 / span 6; grid-row: 2; }
.room__specs { grid-column: 8 / -1; grid-row: 2; margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .9rem 1.5rem; align-content: start; padding-top: .35rem; }
.room__specs dt { color: var(--dim); font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding-top: .3rem; }
.room__specs dd { margin: 0; font-size: 1.0625rem; }
.room__photo { grid-column: 3 / -1; grid-row: 3; margin: 1.5rem 0 0; }
.room__photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.room--flip .room__body { grid-column: 7 / -1; }
.room--flip .room__specs { grid-column: 1 / span 4; }
.room--flip .room__photo { grid-column: 1 / span 10; }
@media (max-width: 880px) {
  .room__body, .room--flip .room__body, .room__specs, .room--flip .room__specs, .room__photo, .room--flip .room__photo { grid-column: 1 / -1; grid-row: auto; }
  .room__name { font-size: 17vw; }
  .room__photo img { aspect-ratio: 4 / 3; }
}

/* tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
caption { text-align: left; caption-side: top; padding-bottom: 1rem; color: var(--dim); font-size: .9375rem; }
th, td { text-align: left; vertical-align: top; padding: 1.05rem 1rem 1.05rem 0; border-bottom: 1px solid var(--line); }
thead th { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); padding-top: 0; }
tbody th { font-weight: 600; }
td.money, th.money { text-align: right; padding-right: 0; white-space: nowrap; }
td.money { font-family: var(--display); font-size: 1.375rem; font-weight: 500; font-stretch: 100%; }
th .dim, td .dim { display: block; font-size: .9375rem; font-weight: 400; margin-top: .2rem; }
@media (max-width: 640px) {
  .prices thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .prices tr { display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .prices th, .prices td { border: 0; padding: 0; }
  .prices tbody th { grid-column: 1; grid-row: 1; }
  .prices td.money { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
  .prices td.when { grid-column: 1; grid-row: 2; color: var(--dim); }
  .prices td.len { grid-column: 1; grid-row: 3; color: var(--dim); }
}

.timeline td.temp { font-family: var(--display); font-stretch: 100%; font-weight: 500; white-space: nowrap; }
.timeline tr.is-hot td.temp { color: var(--accent); }

.note {
  border-left: 2px solid var(--accent); padding: .2rem 0 .2rem 1rem; color: var(--dim); font-size: .9375rem; max-width: 40em;
}
.note strong { color: var(--ink); font-weight: 600; }

.list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.list li { padding: .95rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(7rem, 30%) 1fr; gap: .25rem 1.5rem; }
.list li b { font-weight: 600; }
@media (max-width: 640px) { .list li { grid-template-columns: 1fr; } }

.address { font-style: normal; font-size: clamp(1.5rem, 2.6vw, 2.25rem); line-height: 1.25; font-family: var(--display); font-stretch: 92%; font-weight: 400; }
.hours { margin: 0 0 1.5rem; display: grid; grid-template-columns: auto 1fr; gap: .6rem 2rem; }
.hours dt { color: var(--dim); }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }

/* ---------- feedback ---------- */
.nav__fb {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: 0 .9rem;
  background: transparent; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 2px; cursor: pointer;
  font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.nav__fb:hover { border-color: var(--accent); }
.nav__fb svg { width: 15px; height: 15px; }
@media (max-width: 880px) {
  .nav__fb { width: 44px; padding: 0; justify-content: center; border-color: transparent; }
  .nav__fb svg { width: 20px; height: 20px; }
  .nav__fb-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

dialog.fb {
  width: min(36rem, calc(100vw - 1.5rem)); max-height: calc(100dvh - 1.5rem); padding: 0;
  background: var(--ground2); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 2px;
}
dialog.fb::backdrop { background: rgba(3, 5, 8, .72); }
.fb__head { display: flex; align-items: start; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.25rem 0 1.5rem; }
.fb__head h2 { font-family: var(--display); font-size: 1.75rem; line-height: 1.05; font-weight: 600; font-stretch: 100%; text-transform: uppercase; padding-top: .35rem; }
.fb__close { flex: none; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: var(--ink); }
.fb__close svg { width: 20px; height: 20px; }
.fb__body { padding: .75rem 1.5rem 1.5rem; }
.fb__intro { color: var(--dim); font-size: .9375rem; }

.form { display: grid; gap: 1.35rem; }
.form[hidden] { display: none; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form legend, .form label.lbl { display: block; padding: 0; margin-bottom: .55rem; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.form .opt { color: var(--dim); font-weight: 500; letter-spacing: .08em; text-transform: none; }
.form .hint { display: block; margin: -.25rem 0 .55rem; color: var(--dim); font-size: .875rem; }
.form input[type="text"], .form textarea {
  width: 100%; min-height: 48px; padding: .75rem .9rem; border-radius: 2px;
  font: inherit; font-size: 1rem; line-height: 1.45; color: var(--ink);
  background: var(--ground); border: 1px solid var(--line-strong);
}
.form textarea { resize: vertical; min-height: 6.5rem; }
.form textarea.short { min-height: 4.25rem; }
.form input:hover, .form textarea:hover { border-color: var(--ink); }
.form [aria-invalid="true"] { border-color: var(--err); box-shadow: inset 0 0 0 1px var(--err); }
.rating { display: flex; flex-wrap: wrap; gap: .45rem; }
.rating input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.rating label {
  display: grid; place-items: center; width: 48px; height: 48px; cursor: pointer;
  border: 1px solid var(--line-strong); border-radius: 2px; background: var(--ground);
  font-family: var(--display); font-size: 1.25rem; font-weight: 600; font-stretch: 100%;
}
.rating label:hover { border-color: var(--ink); }
.rating input:checked + label { background: var(--accent); border-color: var(--accent); color: var(--ground); }
.rating input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 3px; }
.rating.is-invalid label { border-color: var(--err); }
.rating__scale { display: flex; justify-content: space-between; max-width: 18.5rem; margin-top: .45rem; color: var(--dim); font-size: .8125rem; }
.err { display: block; margin-top: .5rem; color: var(--err); font-size: .9375rem; font-weight: 600; }
.err:empty { display: none; }
.form__summary { color: var(--err); font-weight: 600; }
.form__summary:empty { display: none; }
.form__foot { display: grid; gap: .9rem; }
.form__foot p { margin: 0; color: var(--dim); font-size: .875rem; }

.saved { border: 1px solid var(--line-strong); padding: 1.25rem; display: grid; gap: 1rem; }
.saved[hidden] { display: none; }
.saved__status { font-weight: 600; margin: 0; }
.saved__status::before { content: ''; display: inline-block; width: .55rem; height: .55rem; margin-right: .55rem; background: var(--accent); vertical-align: .08em; }
.entry { margin: 0; padding: 1rem 0 0; border-top: 1px solid var(--line); }
.entry__meta { color: var(--dim); font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; margin-bottom: .5rem; }
.entry__rating { font-family: var(--display); font-stretch: 100%; color: var(--accent); }
.entry dl { margin: .5rem 0 0; display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; font-size: .9375rem; }
.entry dt { color: var(--dim); }
.entry dd { margin: 0; }
.entry blockquote { margin: 0; font-size: 1.0625rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.btn--quiet { border-color: var(--line); color: var(--dim); }

.notes { display: grid; gap: 0; border-top: 1px solid var(--line); }
.notes article { padding: 1.5rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 7rem 1fr; gap: .5rem 1.5rem; }
.notes .entry__rating { font-size: 1.75rem; line-height: 1; }
.notes p { margin: 0; max-width: 40em; }
@media (max-width: 640px) { .notes article { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { padding: clamp(4rem, 8vw, 6rem) var(--gutter) 6.5rem; border-top: 1px solid var(--line); background: var(--ground); color: var(--ink); }
.footer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2.5rem; }
.footer__mark { grid-column: 1 / span 4; grid-row: 1; font-size: clamp(3rem, 6vw, 5.5rem); line-height: .85; text-decoration: none; }
.footer__col { grid-row: 1; font-size: .9375rem; }
.footer address { font-style: normal; margin-bottom: 1em; }
.footer__col:nth-of-type(1) { grid-column: 6 / span 3; }
.footer__col:nth-of-type(2) { grid-column: 9 / span 2; }
.footer__col:nth-of-type(3) { grid-column: 11 / span 2; }
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; }
.footer__col li a:hover { text-decoration: underline; }
.footer__col .label { margin-bottom: .6rem; }
.footer__legal { grid-column: 1 / -1; grid-row: 2; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--dim); font-size: .8125rem; }
.footer__legal p { margin: 0; max-width: 52em; }
@media (max-width: 880px) {
  .footer__mark, .footer__col:nth-of-type(n) { grid-column: 1 / -1; grid-row: auto; }
  .footer__col:nth-of-type(2), .footer__col:nth-of-type(3) { grid-column: span 6; }
  .footer__legal { grid-row: auto; }
}

/* ---------- reveals (JS only; content is visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }

/* ---------- page transitions (progressive enhancement) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 260ms var(--ease) both vt-out; }
::view-transition-new(root) { animation: 380ms var(--ease) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__scroll i::after { animation: none; transform: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
