/* Cover, do not crossfade. Motion lives in the @supports block.
   The still layout above it is the page browsers actually keep. */

:root {
  --ink: #1c1915;
  --paper: #f4f0e8;
  --brass: #c4a574;
  --spruce: #2f4a3c;
  --mist: #d5dbe0;
  --serif: "Fraunces Variable", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Outfit Variable", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: auto; }

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

a { color: inherit; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--paper);
  color: var(--ink);
  padding: 0.5rem 0.8rem;
  z-index: 30;
}

.skip:focus { top: 1rem; }

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.stones-pin { position: relative; }

.plate {
  position: relative;
  min-height: 100dvh;
  margin: 0;
  background: var(--ink);
}

.plate img {
  display: block;
  width: 100%;
  height: 100dvh;
  object-fit: cover;
}

.plate figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  margin: 0;
  padding:
    5.5rem
    max(1.4rem, env(safe-area-inset-right))
    max(1.6rem, env(safe-area-inset-bottom))
    max(1.4rem, env(safe-area-inset-left));
  width: min(40rem, 100%);
  background: linear-gradient(to top, rgba(28, 25, 21, 0.72), rgba(28, 25, 21, 0));
}

.plate time,
.shows {
  display: block;
  text-shadow: 0 1px 2px rgba(28, 25, 21, 0.55);
}

.plate time {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 520;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.ride {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-underline-offset: 0.2em;
}

.shows {
  margin: 0.45rem 0 0;
  max-width: 28rem;
  color: var(--paper);
  font-size: 0.95rem;
}

.mark {
  position: static;
  z-index: 5;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(28, 25, 21, 0.6);
}

.has-hero .film-bar {
  position: fixed;
  z-index: 20;
  padding-bottom: 2.2rem;
  background: linear-gradient(to bottom, rgba(28, 25, 21, 0.5), rgba(28, 25, 21, 0));
}

.film-bar {
  position: absolute;
  z-index: 8;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem 1.2rem;
  padding:
    max(0.85rem, env(safe-area-inset-top))
    max(1rem, env(safe-area-inset-right))
    0
    max(1.4rem, env(safe-area-inset-left));
}

.film-bar.on-paper {
  background: var(--paper);
  padding-bottom: 0.45rem;
}

.film-bar.on-paper .mark {
  color: var(--ink);
  text-shadow: none;
}

.film-bar.on-paper .site-nav.film { color: var(--ink); }

.film-bar.on-paper .bars,
.film-bar.on-paper .bars::before,
.film-bar.on-paper .bars::after { box-shadow: none; }

.site-nav { position: relative; color: var(--ink); }
.site-nav.film { color: var(--paper); }
.site-nav.film .bars,
.site-nav.film .bars::before,
.site-nav.film .bars::after { box-shadow: 0 1px 2px rgba(28, 25, 21, 0.7); }

.menu summary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  list-style: none;
  cursor: pointer;
}

.menu summary::-webkit-details-marker { display: none; }
.menu summary:focus-visible { outline: 1px solid currentColor; outline-offset: 2px; }

.bars,
.bars::before,
.bars::after {
  display: block;
  width: 1.05rem;
  height: 1px;
  background: currentColor;
  content: "";
}

.bars { position: relative; }
.bars::before,
.bars::after { position: absolute; left: 0; }
.bars::before { top: -5px; }
.bars::after { top: 5px; }

.menu[open] .bars { background: transparent; }
.menu[open] .bars::before { top: 0; transform: rotate(40deg); }
.menu[open] .bars::after { top: 0; transform: rotate(-40deg); }

@media (prefers-reduced-motion: no-preference) {
  .bars,
  .bars::before,
  .bars::after { transition: transform 160ms ease, top 160ms ease, background-color 160ms ease; }
}

.menu ul {
  position: absolute;
  top: calc(100% + 0.15rem);
  right: 0;
  z-index: 2;
  min-width: 12.5rem;
  margin: 0;
  padding: 0.45rem 0;
  list-style: none;
  background: rgba(28, 25, 21, 0.94);
  border: 1px solid rgba(244, 240, 232, 0.16);
  box-shadow: 0 18px 40px rgba(28, 25, 21, 0.28);
}

.site-nav a {
  display: block;
  padding: 0.62rem 1.25rem;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 520;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--brass); }

.paper-page {
  background: var(--paper);
  color: var(--ink);
  min-height: 100dvh;
}

.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem 1.4rem;
  padding:
    max(0.7rem, env(safe-area-inset-top))
    max(1rem, env(safe-area-inset-right))
    0
    max(1.4rem, env(safe-area-inset-left));
}

.brand {
  color: inherit;
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.sheet { padding: 2.4rem 1.4rem 1rem; }
.sheet p { margin: 0 0 1.1rem; max-width: 38rem; font-size: 1.12rem; }
.sheet-foot { padding: 1.5rem 1.4rem 3rem; }

.link-list, .contact-list {
  margin: 0.4rem 0 1.4rem;
  padding: 0;
  list-style: none;
}

.link-list a, .contact-list a { color: var(--spruce); }

.frame { margin: 2.4rem 0 0; }
.frame img { display: block; width: 100%; height: auto; }
.frame figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
  margin-top: 0.55rem;
  color: var(--spruce);
  font-size: 0.92rem;
}
.frame time {
  font-family: var(--serif);
  color: var(--ink);
}

.hero-pin {
  position: relative;
  height: 100dvh;
  background: var(--ink);
  overflow: hidden;
}

.hero-pin img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, center);
}

@media (max-width: 800px) {
  .hero-pin img { object-position: var(--focus-narrow, var(--focus, center)); }
}

.hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding:
    5.5rem
    max(1.4rem, env(safe-area-inset-right))
    max(2.2rem, env(safe-area-inset-bottom))
    max(1.4rem, env(safe-area-inset-left));
  background: linear-gradient(to top, rgba(28, 25, 21, 0.72), rgba(28, 25, 21, 0));
}

.hero-copy .eyebrow { color: var(--brass); }

.hero-title {
  margin: 0;
  max-width: 16ch;
  color: var(--paper);
  font-family: var(--serif);
  font-weight: 520;
  font-size: clamp(2rem, 10.5vw, 6.4rem);
  letter-spacing: -0.045em;
  line-height: 0.9;
  text-shadow: 0 1px 2px rgba(28, 25, 21, 0.45);
}

.hero-lead {
  margin: 1rem 0 0;
  max-width: 34rem;
  color: var(--paper);
  font-size: 1.05rem;
  text-shadow: 0 1px 2px rgba(28, 25, 21, 0.55);
}

.has-hero .sheet { position: relative; z-index: 2; background: var(--paper); }
.has-hero .sheet-foot { position: relative; z-index: 2; background: var(--paper); }

.sheet-film {
  background: var(--ink);
  padding: 0;
}

.has-hero .sheet.sheet-film { background: var(--ink); }

.bleed { max-width: none; }

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

.day {
  position: relative;
  height: 100dvh;
  background: var(--ink);
  overflow: hidden;
}

.day img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.clips {
  position: relative;
  z-index: 8;
  display: flex;
  align-items: center;
  min-height: 100dvh;
  background: var(--paper);
  color: var(--ink);
  padding: 2.6rem 1.4rem 3rem;
}

.clips ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 16rem));
  justify-content: center;
  gap: 1.4rem 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.clip {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: var(--ink);
}

.clips time {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.clips a {
  color: var(--ink);
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  text-underline-offset: 0.2em;
}

@media (max-width: 800px) {
  .clips ul { grid-template-columns: minmax(0, 18rem); }
}

.day-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding:
    5rem
    max(1.4rem, env(safe-area-inset-right))
    max(1.8rem, env(safe-area-inset-bottom))
    max(1.4rem, env(safe-area-inset-left));
  background: linear-gradient(to top, rgba(28, 25, 21, 0.72), rgba(28, 25, 21, 0));
}

.day time {
  display: block;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 520;
  letter-spacing: -0.03em;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(28, 25, 21, 0.55);
}

.day-name {
  display: inline-block;
  margin-top: 0.45rem;
  color: var(--paper);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-underline-offset: 0.22em;
  text-shadow: 0 1px 2px rgba(28, 25, 21, 0.55);
}

.day-copy p {
  margin: 0.4rem 0 0;
  max-width: 28rem;
  color: var(--paper);
  font-size: 0.98rem;
  text-shadow: 0 1px 2px rgba(28, 25, 21, 0.55);
}

.day-note {
  display: inline-block;
  margin-top: 0.55rem;
  color: var(--brass);
  font-size: 0.92rem;
}

.ticks { display: none; }

.close {
  background: var(--paper);
  color: var(--ink);
  padding: 5.5rem 1.4rem 4rem;
}

.close-inner {
  max-width: 38rem;
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--spruce);
}

.display {
  margin: 0 0 0.8rem;
  font-family: var(--serif);
  font-weight: 520;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--ink);
}

.close p { margin: 0 0 1.4rem; font-size: 1.12rem; }

.shop {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
}

.shop:hover { background: var(--spruce); }

.ground { margin-top: 3.4rem; }

.subhead {
  margin: 0 0 0.8rem;
  font-family: var(--serif);
  font-weight: 520;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}

.colophon {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
  margin: 3rem 0 0;
  font-size: 0.85rem;
}

.colophon a { color: var(--spruce); }

.credit {
  margin: 1.1rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.credit a { color: var(--spruce); }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .stones {
      height: calc(var(--days) * 100dvh);
      view-timeline-name: --stones;
      view-timeline-axis: block;
    }

    .stones-pin {
      position: sticky;
      top: 0;
      height: 100dvh;
      overflow: hidden;
    }

    .plate {
      position: absolute;
      inset: 0;
      min-height: 0;
    }

    .plate img { height: 100%; }

    .plate.rises {
      transform: translateY(100%);
      animation-name: rise;
      animation-duration: auto;
      animation-timing-function: linear;
      animation-fill-mode: both;
      animation-timeline: --stones;
    }

    .plate.rises figcaption {
      opacity: 0;
      animation-name: settle;
      animation-duration: auto;
      animation-timing-function: linear;
      animation-fill-mode: both;
      animation-timeline: --stones;
    }

    .ticks {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      position: absolute;
      z-index: 5;
      right: 1.2rem;
      top: 50%;
      translate: 0 -50%;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .tick {
      width: 1.35rem;
      height: 2px;
      background: rgba(244, 240, 232, 0.45);
      transform-origin: 100% 50%;
      animation-name: tick-on;
      animation-duration: auto;
      animation-timing-function: linear;
      animation-fill-mode: none;
      animation-timeline: --stones;
    }

    .tick.is-last { animation-fill-mode: forwards; }

    .display {
      animation-name: ink;
      animation-duration: auto;
      animation-timing-function: linear;
      animation-fill-mode: both;
      animation-timeline: view();
      animation-range: entry 10% cover 35%;
    }

    .has-hero .stage > .hero,
    .day {
      position: sticky;
      top: 0;
    }

    .has-hero .stage > .hero { z-index: 1; }
  }
}

@keyframes rise {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@keyframes settle {
  0%, 68% { opacity: 0; transform: translateY(0.8rem); }
  100% { opacity: 1; transform: none; }
}

@keyframes tick-on {
  from, to {
    background: var(--brass);
    transform: scaleX(1.65);
  }
}

@keyframes ink {
  from { color: var(--spruce); transform: translateY(1rem); }
  to { color: var(--ink); transform: none; }
}

@media (max-width: 640px) {
  .plate figcaption { padding-right: max(2.6rem, env(safe-area-inset-right)); }
  .ticks { right: max(0.7rem, env(safe-area-inset-right)); }
  .hero-copy, .day-copy { padding-right: max(1.2rem, env(safe-area-inset-right)); }
}
/* fraunces-vietnamese-wght-normal */
@font-face {
  font-family: 'Fraunces Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/_astro/fraunces-vietnamese-wght-normal.CnvboYUG.woff2) format('woff2-variations');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* fraunces-latin-ext-wght-normal */
@font-face {
  font-family: 'Fraunces Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/_astro/fraunces-latin-ext-wght-normal.Ca2vKHc0.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* fraunces-latin-wght-normal */
@font-face {
  font-family: 'Fraunces Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/_astro/fraunces-latin-wght-normal.ukD16Tqj.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}/* outfit-latin-ext-wght-normal */
@font-face {
  font-family: 'Outfit Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/_astro/outfit-latin-ext-wght-normal.DdQaqQDo.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* outfit-latin-wght-normal */
@font-face {
  font-family: 'Outfit Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/_astro/outfit-latin-wght-normal.Bc-8i84L.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}