:root {
  --paper: #f4f1ea;
  --ink: #161411;
  --muted: #6b6560;
  --rule: rgba(22, 20, 17, 0.16);
  --red: #c1121f;
  --header: 3.25rem;
  --gutter: 1.15rem;
  --measure: 1080px;
  --page: min(var(--measure), calc(100% - 2 * var(--gutter)));
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --photo-radius: 14px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 0.75rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.55;
}

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

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--red);
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--paper);
  padding: 0.5rem 0.75rem;
  z-index: 80;
}

.skip:focus {
  top: 0.75rem;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 max(var(--gutter), calc((100% - var(--measure)) / 2));
  background: rgba(244, 241, 234, 0.94);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(8px);
}

.logo {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo span {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-desk {
  display: none;
  gap: 0.95rem;
}

.nav-desk a {
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-toggle,
.nav-close {
  font: inherit;
  background: none;
  border: 0;
  padding: 0;
  min-height: 44px;
  min-width: 44px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

.nav-screen {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  padding: 1rem 1.25rem 2rem;
}

.nav-screen[hidden] {
  display: none;
}

.nav-screen .nav-close {
  align-self: flex-end;
}

.nav-screen ul {
  list-style: none;
  margin: auto 0;
  padding: 0;
}

.nav-screen a {
  display: flex;
  align-items: center;
  min-height: 52px;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 7vw, 2.4rem);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}

body.nav-open {
  overflow: hidden;
}

.cover {
  width: var(--page);
  margin: 0 auto;
  padding: 2.25rem 0 2rem;
  color: var(--ink);
}

.kicker {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.cover h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.2rem, 12vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.cover-meta,
.cover-count {
  margin: 0.7rem 0 0;
  max-width: 36rem;
}

.cover-count {
  font-family: var(--mono);
  font-size: 0.84rem;
  color: var(--red);
}

.cover-fig {
  margin: 1.75rem 0 0;
}

.cover-fig img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  display: block;
  border-radius: var(--photo-radius);
  overflow: hidden;
}

.cover-fig figcaption {
  margin-top: 0.55rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.block {
  width: var(--page);
  margin: 0 auto;
  padding: 2.75rem 0 2.15rem;
  border-top: 1px solid var(--rule);
}

.block-head {
  margin-bottom: 1.5rem;
}

.num {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.block-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 4vw, 2.55rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 22ch;
}

.block-head p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.days {
  list-style: none;
  margin: 0;
  padding: 0;
}

.days > li {
  display: grid;
  gap: 0.7rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--rule);
}

.days > li:first-child {
  padding-top: 0.15rem;
}

.day-label {
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
}

.day-label span {
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1;
}

.day-label time {
  font-style: italic;
  font-family: var(--serif);
}

.days ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.days li li {
  display: grid;
  grid-template-columns: 7.4rem 1fr;
  gap: 0.8rem;
  padding: 0.35rem 0;
  border: 0;
}

.days li li time {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--red);
}

.ttable {
  padding: 1.4rem 0 0.4rem;
  border-top: 1px solid var(--rule);
}

.ttable:first-of-type {
  border-top: 0;
}

.ttable h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
}

.ttable header p {
  margin: 0.25rem 0 1rem;
  color: var(--muted);
}

.trow {
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  gap: 0.45rem 0.55rem;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.88rem;
}

.trow .code {
  font-weight: 500;
}

.trow .rule {
  height: 1px;
  background: var(--ink);
  opacity: 0.35;
  min-width: 2rem;
}

.trow .meta {
  grid-column: 1 / -1;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.twait {
  margin: 0.65rem 0;
  padding-left: 0.1rem;
  font-size: 0.88rem;
  font-style: italic;
  color: var(--muted);
}

.shot {
  margin: 0 0 2rem;
}

.shot img {
  width: 100%;
  max-height: 62vh;
  object-fit: cover;
  border-radius: var(--photo-radius);
  overflow: hidden;
}

.shot-lead img {
  max-height: 70vh;
}

.shot figcaption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.shot figcaption > a {
  display: inline-block;
  margin-top: 0.45rem;
  color: var(--red);
}

.shot em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink);
  font-size: 1.15rem;
}

.stay-title {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.35;
}

.stay-facts {
  margin: 0.45rem 0 0;
  display: grid;
}

.stay-facts > div {
  display: grid;
  gap: 0.12rem;
  padding: 0.42rem 0;
  border-top: 1px solid var(--rule);
}

.stay-facts dt {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.stay-facts dd {
  margin: 0;
  color: var(--ink);
}

.stay-links {
  margin: 0.2rem 0 0;
  padding-top: 0.45rem;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 1.15rem;
}

.stay-links a {
  margin: 0;
  color: var(--red);
}

.stay-code {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--muted);
}

.frame {
  border: 1px solid var(--ink);
  border-radius: var(--photo-radius);
  overflow: hidden;
}

.frame iframe {
  width: 100%;
  height: min(58vh, 480px);
  min-height: 280px;
  border: 0;
  display: block;
}

.under {
  margin: 0.7rem 0 0;
  font-size: 0.9rem;
}

.colophon {
  font-size: 0.9rem;
}

.under a {
  color: var(--red);
}

.links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.links li {
  border-top: 1px solid var(--rule);
}

.links a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 52px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.15rem;
}

.links .brand {
  width: 1.4rem;
  height: 1.4rem;
  flex: none;
}

.links a:hover {
  color: var(--red);
}

.cast {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 0.9rem;
}

.cast li {
  display: grid;
  justify-items: center;
  text-align: center;
  min-width: 0;
}

.cast img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--photo-radius);
  overflow: hidden;
}

.cast span {
  display: block;
  width: 100%;
  margin-top: 0.95rem;
  padding: 0 0.15rem;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.colophon {
  width: var(--page);
  margin: 0 auto;
  padding: 1.6rem 0 2.5rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  animation: rise 0.45s ease forwards;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 760px) {
  :root {
    --gutter: 2rem;
  }

  .nav-desk {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .days > li {
    grid-template-columns: 13.5rem 1fr;
    gap: 1.5rem;
  }

  .shots {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.25rem;
  }

  .shots .shot {
    margin: 0;
  }

  .shots img {
    height: 280px;
    max-height: none;
  }

  .shot-split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.5rem;
    align-items: start;
  }

  .shot-split img {
    max-height: 420px;
  }

  .shot-split figcaption {
    margin-top: 0;
  }

  .shot-lead .stay-facts {
    grid-template-columns: 1fr 1fr;
    column-gap: 1.75rem;
  }

  .shot-lead .stay-facts > div,
  .shot-split .stay-facts > div {
    grid-template-columns: 6.6rem 1fr;
    gap: 0.45rem 0.8rem;
    align-items: baseline;
  }

  .trow {
    grid-template-columns: auto auto 1fr auto auto minmax(11rem, max-content);
  }

  .trow .meta {
    grid-column: auto;
    justify-self: end;
    text-align: right;
    max-width: 18rem;
  }

  .cast {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 1.15rem 0.65rem;
  }

  .cast span {
    font-size: 0.66rem;
    letter-spacing: 0.055em;
    margin-top: 0.85rem;
  }

  .shots {
    align-items: start;
  }

  .nav-desk a {
    font-size: 0.78rem;
  }
}

@media (max-width: 759px) {
  .trow {
    grid-template-columns: auto 1fr auto auto;
  }

  .trow .rule {
    display: none;
  }
}

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

  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

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