/* Kiln & Cinder Ceramics — main.css
   palette: terracotta #b4552d · cream slip #efe6d8 · celadon #9db8a4 · char #33251c */

@font-face {
  font-family: 'Crimson Pro';
  src: url('../fonts/crimson-pro-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Crimson Pro';
  src: url('../fonts/crimson-pro-latin-wght-italic.woff2') format('woff2-variations');
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Karla';
  src: url('../fonts/karla-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #efe6d8;
  --cream-2: #e7dbc7;
  --cream-3: #dccdb2;
  --char: #33251c;
  --char-2: #4a382b;
  --ink-soft: rgba(51, 37, 28, .64);
  --terra: #b4552d;
  --terra-deep: #8a3d1b;
  --cel: #9db8a4;
  --cel-deep: #5f7a68;
  --cel-ink: #41564a;
  --hair: rgba(51, 37, 28, .16);
  --hair-strong: rgba(51, 37, 28, .32);
  --eo: cubic-bezier(.22, .9, .28, 1);       /* settle, like slip levelling */
  --es: cubic-bezier(.3, 1.42, .42, 1);      /* clay give: slight overshoot */
  --ei: cubic-bezier(.62, .05, .25, 1);      /* in-out, wheel spin-up */
  --serif: 'Crimson Pro', 'Iowan Old Style', Georgia, serif;
  --sans: 'Karla', 'Avenir Next', 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--cream);
  color: var(--char);
  font-family: var(--serif);
  font-weight: 420;
  font-size: 17.5px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* clay-dust grain over everything, computed (feTurbulence), not a PNG */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.24 0 0 0 0 0.16 0 0 0 0 0.10 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)'/%3E%3C/svg%3E");
}

::selection { background: var(--terra); color: var(--cream); }

a { color: var(--terra-deep); text-decoration-color: rgba(180, 85, 45, .45); text-underline-offset: .16em; }
a:hover { color: var(--terra); }

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

.skip {
  position: absolute;
  left: 1rem; top: -3rem;
  z-index: 200;
  font-family: var(--sans);
  font-size: .8rem;
  background: var(--char);
  color: var(--cream);
  padding: .5rem .9rem;
  text-decoration: none;
  transition: top .25s var(--eo);
}
.skip:focus-visible { top: 1rem; color: var(--cream); }

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

.site-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.4rem clamp(1.2rem, 4vw, 3rem) 1.1rem;
  border-bottom: 1px solid var(--hair);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--char);
  font-family: var(--sans);
  font-weight: 740;
  font-size: .82rem;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.brand svg { width: 17px; height: 17px; flex: none; transform: translateY(2px); }
.site-head nav { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.site-head nav a {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 640;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--char-2);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color .2s var(--eo), border-color .2s var(--eo);
}
.site-head nav a:hover { color: var(--terra-deep); border-color: var(--terra); }

/* ---------- hero / the wheel ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(330px, 5fr) 7fr;
  grid-template-areas: "copy stage" "rail rail";
  gap: 0 clamp(1.5rem, 3.5vw, 4rem);
  align-items: center;
  max-width: 1340px;
  margin: 0 auto;
  padding: clamp(1.5rem, 3.5vh, 3.5rem) clamp(1.2rem, 4vw, 3rem) 2.5rem;
  min-height: calc(100svh - 64px);
}
.hero-copy { grid-area: copy; padding-bottom: 1rem; }
.eyebrow {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--terra-deep);
  margin-bottom: 1.1rem;
}
h1 {
  font-size: clamp(3.4rem, 6.4vw, 6rem);
  font-weight: 480;
  line-height: .96;
  letter-spacing: -.018em;
  text-wrap: balance;
  margin-bottom: 1.3rem;
}
h1 .amp { font-style: italic; font-weight: 340; color: var(--terra); }
.hero-sub {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  font-style: italic;
  font-weight: 400;
  color: var(--char-2);
  line-height: 1.4;
  text-wrap: pretty;
  margin-bottom: 1.2rem;
  max-width: 30ch;
}
.hero-graf {
  max-width: 44ch;
  text-wrap: pretty;
  color: var(--char);
  margin-bottom: 2rem;
}

/* kiln-shelf tag readout */
.ticket {
  position: relative;
  display: inline-block;
  background: var(--cream-2);
  border: 1px solid var(--hair-strong);
  padding: .85rem 1.1rem .8rem 2rem;
  font-family: var(--sans);
  transform: rotate(-1.1deg);
  box-shadow: 2px 3px 0 rgba(51, 37, 28, .08);
}
.ticket::before {
  /* punched hole */
  content: "";
  position: absolute;
  left: .7rem; top: 50%;
  width: 9px; height: 9px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--hair-strong);
  box-shadow: inset 1px 1px 1px rgba(51, 37, 28, .18);
}
.ticket-stamp {
  display: block;
  font-size: .62rem;
  font-weight: 760;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--terra-deep);
  margin-bottom: .35rem;
}
.ticket dl {
  display: flex;
  gap: 1.15rem;
  flex-wrap: wrap;
}
.ticket dl > div { display: flex; flex-direction: column; }
.ticket dt {
  font-size: .6rem;
  font-weight: 680;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.ticket dd {
  font-size: .95rem;
  font-weight: 660;
  font-variant-numeric: tabular-nums;
  color: var(--char);
  white-space: nowrap;
}
.ticket-note {
  margin-top: .4rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--terra-deep);
}

/* the stage */
.wheel-stage {
  grid-area: stage;
  position: relative;
  height: min(74vh, 720px);
  min-height: 420px;
}
.wheel-stage::before {
  /* bench shadow band behind the wheel */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(58% 46% at 52% 58%, rgba(222, 205, 178, .55), rgba(222, 205, 178, 0) 70%),
    linear-gradient(to bottom, rgba(51, 37, 28, 0) 0 76%, rgba(51, 37, 28, .05) 78%, rgba(51, 37, 28, 0) 98%);
  pointer-events: none;
  transition: filter .9s var(--eo);
}
.wheel-stage.fired::before {
  /* out of the kiln: the bench light warms */
  filter: sepia(.3) saturate(1.2) hue-rotate(-6deg) brightness(1.03);
}
#wheel-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  touch-action: none;
}
#wheel-canvas.spinning { cursor: grabbing; }
#profile-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
#profile-overlay .rib {
  fill: none;
  stroke: var(--cel-deep);
  stroke-width: 1;
  stroke-dasharray: 3 5;
  opacity: .55;
}
#profile-overlay .handle {
  pointer-events: auto;
  cursor: grab;
  fill: var(--cel);
  stroke: var(--char);
  stroke-width: 1.25;
  paint-order: stroke;
  transition: fill .2s var(--eo);
}
#profile-overlay .handle-halo {
  fill: none;
  stroke: var(--cream);
  stroke-width: 5;
  opacity: .85;
}
#profile-overlay .handle:hover,
#profile-overlay .handle.dragging { fill: var(--terra); }
#profile-overlay .handle.dragging { cursor: grabbing; }
#profile-overlay .handle:focus-visible {
  outline: none;
  stroke: var(--terra);
  stroke-width: 3;
}
.hint {
  position: absolute;
  top: 22%;
  right: 0;
  max-width: 170px;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 640;
  line-height: 1.4;
  color: var(--cel-ink);
  text-align: right;
  transition: opacity .6s var(--eo);
}
.hint em { font-family: var(--serif); font-style: italic; font-size: .92rem; color: var(--char-2); }
.hint svg { display: block; margin: .35rem 0 0 auto; }
.hint.gone { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .hint svg path { stroke-dasharray: 60; animation: hintdraw 2.8s var(--ei) infinite; }
  @keyframes hintdraw {
    0% { stroke-dashoffset: 60; opacity: 0; }
    35% { opacity: 1; }
    70% { stroke-dashoffset: 0; opacity: 1; }
    100% { stroke-dashoffset: 0; opacity: 0; }
  }
}
.ctx-note, .no3d-note {
  position: absolute;
  left: 50%; bottom: 8%;
  transform: translateX(-50%);
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 640;
  color: var(--char-2);
  background: var(--cream-2);
  border: 1px solid var(--hair-strong);
  padding: .5rem .9rem;
  white-space: nowrap;
}
.fallback-pot { display: none; }
.no3d #wheel-canvas, .no3d #profile-overlay, .no3d .hint { display: none; }
.no3d .fallback-pot {
  display: block;
  position: absolute;
  inset: 8% 15%;
  width: 70%;
  height: 84%;
}

/* the workbench rail */
.rail {
  grid-area: rail;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
  margin-top: .5rem;
  border: 1px solid var(--hair-strong);
  background: linear-gradient(to bottom, rgba(231, 219, 199, .5), rgba(222, 205, 178, .35));
  box-shadow: 0 2px 0 rgba(51, 37, 28, .07);
}
.rail-group {
  display: flex;
  align-items: flex-end;
  gap: .35rem;
  padding: .8rem 1.3rem .7rem;
  border-right: 1px solid var(--hair);
  position: relative;
}
.rail-group:last-child { border-right: 0; }
.rail-label {
  position: absolute;
  top: .5rem; left: 1.3rem;
  font-family: var(--sans);
  font-size: .58rem;
  font-weight: 740;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.chip, .preset {
  appearance: none;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  padding: 1.15rem .5rem .3rem;
  cursor: pointer;
  font-family: var(--sans);
  font-size: .66rem;
  font-weight: 680;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--char-2);
}
.chip svg { width: 34px; height: 42px; border-radius: 2px; box-shadow: 1px 2px 0 rgba(51,37,28,.16); transition: transform .25s var(--es), box-shadow .25s var(--eo); }
.chip:hover svg { transform: translateY(-3px); box-shadow: 1px 5px 4px rgba(51,37,28,.2); }
.chip[aria-pressed="true"] svg { outline: 2px solid var(--terra); outline-offset: 2px; }
.chip[aria-pressed="true"], .preset[aria-pressed="true"] { color: var(--terra-deep); }
.preset svg { width: 30px; height: 36px; color: var(--char-2); opacity: .68; transition: opacity .2s var(--eo), transform .25s var(--es); }
.preset:hover svg { opacity: 1; transform: translateY(-2px); }
.preset[aria-pressed="true"] svg { color: var(--terra); opacity: 1; }

/* fired toggle: a kiln switch */
.fired-wrap { display: flex; align-items: center; padding-top: 1.35rem; }
#fired-toggle {
  appearance: none;
  border: 1px solid var(--hair-strong);
  background: var(--cream);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .42rem .7rem;
  cursor: pointer;
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 720;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--char-2);
  border-radius: 999px;
  transition: background .3s var(--eo), border-color .3s var(--eo);
}
#fired-toggle .track {
  width: 34px; height: 18px;
  border-radius: 999px;
  background: var(--cream-3);
  border: 1px solid var(--hair-strong);
  position: relative;
  flex: none;
  transition: background .35s var(--eo);
}
#fired-toggle .track::after {
  content: "";
  position: absolute;
  top: 1.5px; left: 2px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--char-2);
  transition: transform .35s var(--es), background .35s var(--eo);
}
#fired-toggle .t-fired { color: var(--ink-soft); }
#fired-toggle[aria-pressed="true"] { border-color: var(--terra); background: #f4e4d2; }
#fired-toggle[aria-pressed="true"] .track { background: var(--terra); }
#fired-toggle[aria-pressed="true"] .track::after { transform: translateX(16px); background: var(--cream); }
#fired-toggle[aria-pressed="true"] .t-fired { color: var(--terra-deep); }
#fired-toggle[aria-pressed="true"] .t-green { color: var(--ink-soft); }

.rail-end {
  margin-left: auto;
  display: flex;
  align-items: center;
  padding: .8rem 1.1rem;
}
#rewedge {
  appearance: none;
  border: 1px solid var(--hair-strong);
  background: transparent;
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 720;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--char-2);
  padding: .5rem .85rem;
  cursor: pointer;
  transition: background .2s var(--eo), color .2s var(--eo), border-color .2s var(--eo);
}
#rewedge:hover { background: var(--char); color: var(--cream); border-color: var(--char); }

/* ---------- sections ---------- */

section { position: relative; }
.wrap {
  max-width: 1150px;
  margin: 0 auto;
  padding: clamp(4.5rem, 9vh, 7.5rem) clamp(1.2rem, 4vw, 3rem);
}
.sect-head { margin-bottom: 2.8rem; max-width: 780px; }
.sect-head .eyebrow { margin-bottom: .8rem; }
h2 {
  font-size: clamp(2.1rem, 3.4vw, 3.1rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.012em;
  text-wrap: balance;
  position: relative;
}
h2::before {
  content: "";
  position: absolute;
  left: -3.2rem; top: .72em;
  width: 2.1rem; height: 2px;
  background: var(--terra);
}
.sect-intro {
  margin-top: 1.1rem;
  max-width: 58ch;
  text-wrap: pretty;
  color: var(--char-2);
  font-size: 1.05rem;
}

/* hands */
.hands-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.2rem clamp(2.5rem, 5vw, 5.5rem);
}
.hand { position: relative; border-top: 2px solid var(--char); padding-top: 1.4rem; }
.hand.ezra { margin-top: 4.2rem; }
.hand h3 {
  font-size: 1.75rem;
  font-weight: 560;
  letter-spacing: -.01em;
  margin-bottom: .2rem;
}
.hand .role {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 720;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cel-ink);
  display: block;
  margin-bottom: 1rem;
}
.hand p { max-width: 46ch; text-wrap: pretty; }
.hand .mark {
  position: absolute;
  top: 1.2rem; right: 0;
  width: 62px; height: 62px;
  opacity: .92;
}
.hands-coda {
  margin-top: 3rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--hair);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--char-2);
  max-width: 56ch;
}

/* glazes */
#glazes .wrap { max-width: 1150px; }
.glaze-row {
  display: grid;
  grid-template-columns: 108px minmax(0, 58ch) auto;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  padding: 2.1rem 0;
  border-top: 1px solid var(--hair);
}
.glaze-row:last-of-type { border-bottom: 1px solid var(--hair); }
.glaze-row .swatch { width: 84px; height: 102px; border-radius: 3px; box-shadow: 2px 3px 0 rgba(51,37,28,.14); transform: rotate(-1.4deg); }
.glaze-row:nth-child(odd) .swatch { transform: rotate(1.1deg); }
.glaze-row h3 { font-size: 1.6rem; font-weight: 560; margin-bottom: .3rem; }
.glaze-row h3 .cone {
  font-family: var(--sans);
  font-size: .64rem;
  font-weight: 720;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  vertical-align: .5em;
  margin-left: .6rem;
}
.glaze-row p { max-width: 58ch; text-wrap: pretty; color: var(--char-2); font-size: 1.02rem; }
.glaze-row .breaks {
  display: block;
  margin-top: .5rem;
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 680;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cel-ink);
}
.try-btn {
  appearance: none;
  border: 1px solid var(--terra);
  background: transparent;
  color: var(--terra-deep);
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 720;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .6rem 1rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s var(--eo), color .2s var(--eo);
}
.try-btn:hover { background: var(--terra); color: var(--cream); }
.try-btn .arr { display: inline-block; transition: transform .3s var(--es); }
.try-btn:hover .arr { transform: translateX(4px); }

/* firings */
#firings {
  background: linear-gradient(to bottom, var(--cream), var(--cream-2) 30%, var(--cream-2) 70%, var(--cream));
}
.fire-chart { margin: 2.5rem 0 3rem; }
.fire-chart svg { width: 100%; height: auto; display: block; }
.fire-chart .axis { stroke: var(--hair-strong); stroke-width: 1; }
.fire-chart .grid { stroke: var(--hair); stroke-width: 1; stroke-dasharray: 2 6; }
.fire-chart text { font-family: var(--sans); font-size: 11px; font-weight: 640; fill: var(--ink-soft); letter-spacing: .04em; }
.fire-chart .lab { fill: var(--char-2); font-weight: 700; }
.fire-chart #fire-path {
  fill: none;
  stroke: var(--terra);
  stroke-width: 2.5;
  stroke-linecap: round;
}
.fire-chart .cool { fill: none; stroke: var(--cel-deep); stroke-width: 1.5; stroke-dasharray: 3 6; transition: opacity .7s var(--eo); }
.fire-chart .cool.off { opacity: 0; }
.fire-chart .dot { fill: var(--char); }
.fire-chart .anno { transition: opacity .7s var(--eo); }
.fire-chart .anno.off { opacity: 0; }
.fire-cols {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.fire-table { width: 100%; border-collapse: collapse; font-family: var(--sans); }
.fire-table caption {
  text-align: left;
  font-size: .68rem;
  font-weight: 740;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--terra-deep);
  padding-bottom: .7rem;
}
.fire-table td, .fire-table th {
  padding: .62rem .8rem .62rem 0;
  border-top: 1px solid var(--hair);
  text-align: left;
  vertical-align: baseline;
}
.fire-table tr:last-child td { border-bottom: 1px solid var(--hair); }
.fire-table th {
  font-size: .62rem;
  font-weight: 740;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.fire-table .t { font-size: .82rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--char); }
.fire-table .deg { font-size: .82rem; font-weight: 640; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--terra-deep); }
.fire-table .act { font-family: var(--serif); font-size: 1rem; color: var(--char-2); }
.fire-log {
  border-left: 2px solid var(--terra);
  padding: .4rem 0 .4rem 1.6rem;
  margin-top: 2.1rem;
}
.fire-log blockquote {
  font-style: italic;
  font-size: 1.22rem;
  line-height: 1.5;
  color: var(--char);
  text-wrap: pretty;
}
.fire-log cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: .68rem;
  font-weight: 720;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* visit */
#visit .wrap { max-width: 900px; }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 1rem; }
.visit-block h3 {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 740;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--terra-deep);
  margin-bottom: .8rem;
}
.visit-block p { max-width: 40ch; text-wrap: pretty; color: var(--char-2); }
.visit-block .addr { font-style: normal; }
.email-line {
  margin-top: 3.2rem;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 500;
}
.email-line a { color: var(--terra-deep); }
.next-firing {
  display: inline-block;
  margin-top: 1.2rem;
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 720;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cel-ink);
  border: 1px solid var(--cel-deep);
  padding: .5rem .9rem;
  font-variant-numeric: tabular-nums;
}

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

footer {
  background: var(--char);
  color: var(--cream);
  margin-top: 3rem;
}
footer .wrap { padding-top: 3.6rem; padding-bottom: 3rem; }
.foot-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid rgba(239, 230, 216, .2);
}
.foot-top .line { font-size: 1.3rem; font-style: italic; max-width: 34ch; text-wrap: pretty; color: #e5d9c6; }
.foot-top .provenance {
  font-family: var(--sans);
  font-size: .76rem;
  font-weight: 560;
  color: rgba(239, 230, 216, .72);
  max-width: 34ch;
  line-height: 1.6;
}
.foot-credit {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.6rem;
  font-family: var(--sans);
  font-size: .76rem;
  font-weight: 600;
  color: rgba(239, 230, 216, .78);
}
.foot-credit a { color: var(--cel); text-decoration-color: rgba(157, 184, 164, .5); }
.foot-credit a:hover { color: #c9dccd; }
footer :focus-visible { outline-color: var(--cel); }

/* ---------- reveals ---------- */

@media (prefers-reduced-motion: no-preference) {
  .rv {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .75s var(--eo), transform .75s var(--eo);
    transition-delay: calc(var(--i, 0) * 95ms);
  }
  .rv.in { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  h2::before { display: none; }
}
@media (max-width: 940px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "stage" "rail";
    min-height: 0;
    padding-top: 2.2rem;
  }
  .wheel-stage { height: min(50vh, 460px); min-height: 340px; margin: 0 -0.5rem; }
  .hero-copy { padding-bottom: 1.6rem; }
  .rail { margin-top: 1.2rem; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: thin; }
  .rail-group { flex: none; }
  .rail-end { margin-left: 0; }
  .hands-grid { grid-template-columns: 1fr; gap: 2.6rem; }
  .hand.ezra { margin-top: 0; }
  .glaze-row { grid-template-columns: 84px 1fr; }
  .glaze-row .try-btn { grid-column: 2; justify-self: start; }
  .fire-cols { grid-template-columns: 1fr; }
  .visit-grid { grid-template-columns: 1fr; gap: 2.2rem; }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .site-head { padding-top: 1.1rem; }
  .site-head nav { gap: 1rem; }
  .site-head nav a { font-size: .7rem; }
  .ticket dl { gap: .9rem; }
  .hint { display: none; }
  .hand .mark { position: static; margin-bottom: 1rem; display: block; }
}
