@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/newsreader-400.woff2") format("woff2");
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/newsreader-400i.woff2") format("woff2");
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/newsreader-500.woff2") format("woff2");
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/newsreader-600.woff2") format("woff2");
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/sora-400.woff2") format("woff2");
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/sora-500.woff2") format("woff2");
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/sora-600.woff2") format("woff2");
}

:root {
  --paper: #f4f1ec;
  --ink: #1a1a1a;
  --quiet: #3f3c38;
  --rule: #8a8f72;
  --serif: "Newsreader", "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  --sans: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  --he: "Segoe UI", "Arial Hebrew", "David", sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.6;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; text-decoration-color: var(--rule); }
a:hover { text-decoration-color: var(--ink); }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.03em; line-height: 1.08; }
h1 { font-size: clamp(2.7rem, 6.4vw, 5rem); margin: 0; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0; }
h3 { font-size: 1.55rem; margin: 0 0 0.4rem; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: #d9dcc8; color: var(--ink); }

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 80;
  background: var(--paper);
  color: var(--ink);
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--ink);
  text-decoration: none;
}
.skip:focus { top: 0.75rem; }

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

.he { font-family: var(--he); font-style: normal; }

.eyebrow, .spec-k, .job-index, .step-no, .kicker {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow { margin: 0 0 0.9rem; }
.lede {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-style: italic;
  line-height: 1.45;
  max-width: 40rem;
}
.quiet { color: var(--quiet); }
.dateline {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--quiet);
  margin-top: 0.8rem;
}

.mast {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.mast-bar {
  width: min(76rem, calc(100% - 2.5rem));
  margin-inline: auto;
  min-height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.wordmark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.studio-state {
  margin: 0;
  margin-left: auto;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.state-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  border: 1px solid var(--rule);
  flex: none;
}
.studio-state.is-open .state-dot {
  background: var(--ink);
  border-color: var(--ink);
}
.index-toggle {
  display: none;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--ink);
  min-height: 2.6rem;
  padding: 0 0.85rem;
  cursor: pointer;
}
.index ol {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  width: min(76rem, calc(100% - 2.5rem));
  margin: 0 auto;
  border-top: 1px solid var(--rule);
}
.index a {
  display: flex;
  gap: 0.55rem;
  align-items: baseline;
  min-height: 3rem;
  padding: 0.75rem 0.85rem;
  border-right: 1px solid var(--rule);
  text-decoration: none;
  font-size: 1.05rem;
}
.index li:last-child a { border-right: 0; }
.index .ix {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--quiet);
}
.index em {
  display: none;
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--quiet);
}
.index a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--rule); }

.wrap { width: min(76rem, calc(100% - 2.5rem)); margin-inline: auto; }
.measure { width: min(40rem, 100%); }
.pad { padding: 4.5rem 0; }
.pad-tight { padding: 2.5rem 0 4rem; }

.hero { padding: 3.2rem 0 0; }
.hero-copy { width: min(76rem, calc(100% - 2.5rem)); margin: 0 auto 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1rem;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.btn-fill { background: var(--ink); color: var(--paper); }
.btn-fill:hover { background: transparent; color: var(--ink); }
.btn:hover { background: var(--ink); color: var(--paper); }

.crop {
  margin: 0;
  aspect-ratio: 5 / 2;
  max-height: 78vh;
  overflow: hidden;
  background: var(--paper);
}
.crop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% 42%;
}
.crop figcaption, .plate figcaption, .bleed figcaption, .job-photo figcaption {
  font-family: var(--sans);
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--quiet);
  letter-spacing: 0.01em;
}
.crop figcaption {
  width: min(76rem, calc(100% - 2.5rem));
  margin: 0.7rem auto 0;
}

.spec {
  width: min(76rem, calc(100% - 2.5rem));
  margin: 2.2rem auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.spec-item { padding: 1.2rem 1.1rem 1.15rem; border-left: 1px solid var(--rule); }
.spec-item:first-child { border-left: 0; }
.spec-k { display: block; color: var(--quiet); margin-bottom: 0.45rem; }
.spec-num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.6vw, 2.45rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.spec-label { display: block; margin-top: 0.55rem; color: var(--quiet); font-size: 0.98rem; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(16rem, 0.8fr);
  gap: 3rem;
  align-items: end;
}
.stack { display: flex; flex-direction: column; gap: 0.9rem; }

.menu { display: flex; flex-direction: column; margin-top: 0.4rem; }
.menu-row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "name price" "note price";
  column-gap: 1.2rem;
  row-gap: 0.15rem;
  padding: 0.95rem 0.2rem;
  border-top: 1px solid var(--rule);
  text-decoration: none;
}
.menu-row:last-child { border-bottom: 1px solid var(--rule); }
.menu-row:hover { background: rgba(138, 143, 114, 0.08); }
.menu-name { grid-area: name; font-size: clamp(1.35rem, 2vw, 1.7rem); letter-spacing: -0.03em; }
.menu-note { grid-area: note; color: var(--quiet); font-size: 0.98rem; }
.menu-price {
  grid-area: price;
  align-self: center;
  font-variant-numeric: tabular-nums;
  font-family: var(--sans);
  font-size: 0.95rem;
}

.plate { margin: 0; }
.plate img { width: 100%; height: auto; }

.band {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.band article {
  padding: 1.6rem 1.3rem 1.7rem;
  border-left: 1px solid var(--rule);
}
.band article:first-child { border-left: 0; }
.band .step-no { display: block; margin-bottom: 0.7rem; color: var(--quiet); }
.band p { color: var(--quiet); font-size: 1.05rem; }

.rail-head {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 1rem;
}
.rail-head p { max-width: 22rem; color: var(--quiet); }
.rail-track {
  width: min(76rem, calc(100% - 2.5rem));
  margin-inline: auto;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(15rem, 22vw);
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
[id] { scroll-margin-top: 7.5rem; }
[hidden] { display: none !important; }
.rail-card {
  scroll-snap-align: start;
  min-height: 16rem;
  padding: 1.15rem 1.15rem 1.25rem;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}
.rail-card strong {
  display: block;
  font-size: clamp(1.6rem, 2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-top: 0.4rem;
}
.rail-card p { color: var(--quiet); font-size: 1rem; }

.places { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; list-style: none; padding-top: 0.4rem; }
.places li {
  font-family: var(--sans);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border-top: 1px solid var(--rule);
  padding-top: 0.35rem;
}

.jobs { list-style: none; }
.job a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 26rem);
  gap: clamp(1.2rem, 3vw, 3rem);
  align-items: center;
  padding: 1.6rem 0;
  border-top: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
}
.job:last-child a { border-bottom: 1px solid var(--rule); }
.job h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.job-meta, .job-dek { color: var(--quiet); }
.job-meta { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 0.35rem 0; }
.job-dek { margin-top: 0.45rem; max-width: 34rem; }
.job-photo { margin: 0; overflow: hidden; }
.job-photo img { width: 100%; height: auto; }

.essay-open { width: min(46rem, calc(100% - 2.5rem)); margin: 3rem auto 0; }
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem 1.5rem;
  margin: 1.6rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}
.facts dt { font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--quiet); }
.facts dd { margin: 0.2rem 0 0; }
.prose {
  width: min(40rem, calc(100% - 2.5rem));
  margin: 2rem auto;
}
.prose p + p { margin-top: 1rem; }
.prose h2 { margin: 2rem 0 0.7rem; font-size: 1.8rem; }
.prose ul, .prose ol { margin: 0.8rem 0 0 1.1rem; }
.prose li + li { margin-top: 0.35rem; }
.bleed {
  margin: 2.2rem 0;
}
.bleed img { width: 100%; height: auto; }
.bleed figcaption {
  width: min(40rem, calc(100% - 2.5rem));
  margin: 0.65rem auto 0;
}
.bleed-portrait {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.bleed-portrait img {
  width: auto;
  max-width: min(36rem, 100%);
  max-height: 88vh;
}
.next-job {
  width: min(40rem, calc(100% - 2.5rem));
  margin: 0 auto 4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}

.stage {
  display: grid;
  grid-template-columns: minmax(12rem, 18rem) minmax(0, 1fr);
  gap: 1.5rem 2rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--rule);
  scroll-margin-top: 7.5rem;
}
.stage:last-of-type { border-bottom: 1px solid var(--rule); }
.fee {
  font-size: 2rem;
  margin: 0.35rem 0 0;
  font-variant-numeric: tabular-nums;
}
.fee-note { color: var(--quiet); font-family: var(--sans); font-size: 0.82rem; margin-top: 0.3rem; }

.room + .room { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.room-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 22rem);
  gap: 1.5rem 2rem;
  align-items: start;
}
.note + .note { margin-top: 3.5rem; }

.book-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: start;
}
.fields { display: flex; flex-direction: column; gap: 0.95rem; }
.field { display: flex; flex-direction: column; gap: 0.3rem; }
.field span, .legend {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  padding: 0.55rem 0;
}
.field textarea { min-height: 7rem; resize: vertical; }
.field.is-bad input, .field.is-bad select, .field.is-bad textarea { border-bottom: 2px solid var(--ink); }
.err { min-height: 1.1rem; font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0; text-transform: none; }
.check { display: flex; gap: 0.6rem; align-items: flex-start; }
.check input { margin-top: 0.35rem; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.ticket {
  border-top: 1px solid var(--rule);
  padding-top: 1rem;
}
.ticket pre {
  white-space: pre-wrap;
  font-family: var(--sans);
  font-size: 0.85rem;
  line-height: 1.45;
  background: transparent;
  border-left: 1px solid var(--rule);
  padding-left: 0.8rem;
  margin: 0.8rem 0;
}
.ticket-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.price-table { width: 100%; border-collapse: collapse; margin-top: 0.6rem; font-size: 1rem; }
.price-table th, .price-table td {
  text-align: left;
  padding: 0.65rem 0.4rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.price-table th { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; }
code { font-family: var(--sans); font-size: 0.86em; }

.colophon { border-top: 1px solid var(--rule); padding: 2.5rem 0 1.4rem; }
.colo-grid {
  width: min(76rem, calc(100% - 2.5rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 0.8fr;
  gap: 2rem;
}
.colo-mark { font-style: italic; font-size: 1.6rem; margin-bottom: 0.4rem; }
.colophon h2 { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; margin-bottom: 0.6rem; }
.colophon p, .colophon address { font-style: normal; color: var(--quiet); font-size: 0.98rem; }
.colophon p + p, .colophon address + p { margin-top: 0.7rem; }
.colophon ul { list-style: none; }
.colophon li + li { margin-top: 0.3rem; }
.fine { font-size: 0.88rem !important; }
.colo-end {
  width: min(76rem, calc(100% - 2.5rem));
  margin: 1.6rem auto 0;
  padding-top: 0.8rem;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--quiet);
}

.cookie {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  width: min(40rem, calc(100% - 2rem));
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--rule);
  padding: 1rem 1rem 0.9rem;
}
.cookie p { font-size: 0.98rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.8rem; }
.cookie .btn { min-height: 2.5rem; }
.cookie-static {
  width: min(76rem, calc(100% - 2.5rem));
  margin: 0 auto 1rem;
  color: var(--quiet);
  font-size: 0.95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.8s var(--ease) forwards;
}
.d1 { animation-delay: 0.08s; }
.d2 { animation-delay: 0.16s; }
.d3 { animation-delay: 0.24s; }
.later {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.later.is-in { opacity: 1; transform: none; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  .split, .book-grid, .room-grid, .stage, .job a, .colo-grid { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; }
  .band article { border-left: 0; border-top: 1px solid var(--rule); }
  .band article:first-child { border-top: 0; }
  .spec { grid-template-columns: 1fr 1fr; }
  .spec-item:nth-child(3) { border-left: 0; }
  .facts { grid-template-columns: 1fr; }
  .rail-head { flex-direction: column; align-items: start; }
  .job-photo { order: 2; }
}

@media (max-width: 860px) {
  .index-toggle { display: inline-flex; }
  .studio-state { font-size: 0.68rem; }
  .index { display: none; }
  body.nav-open .index { display: block; }
  .index ol { width: 100%; grid-template-columns: 1fr; }
  .index a {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
    font-size: 1.55rem;
    padding: 0.85rem 1.15rem;
    flex-direction: row;
  }
  .index em { display: block; margin-top: 0.15rem; }
  .index .ix-name { display: block; }
}

@media (max-width: 680px) {
  .spec { grid-template-columns: 1fr; }
  .spec-item { border-left: 0; border-top: 1px solid var(--rule); }
  .spec-item:first-child { border-top: 0; }
  .crop { aspect-ratio: 4 / 3; }
  .colo-end { flex-direction: column; }
  .menu-name { font-size: 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal, .later { opacity: 1; transform: none; }
}

@media print {
  .mast, .cookie, .index-toggle, .skip { display: none !important; }
  body { background: white; }
  a { text-decoration: underline; }
}
