.home {
  --chalk: #f8f5eb;
  --ochre: #98601c;
  --pitch: #20231d;
  --gutter: max(var(--edge), calc((100vw - 1650px) / 2 + var(--edge)));
  background: var(--chalk);
}
.home .site-head {
  color: var(--ink);
  background: rgb(248 245 235 / 0.95);
  border-bottom: 1px solid #272a201e;
  backdrop-filter: blur(14px);
}
.home .site-head::after {
  content: "";
  height: 2px;
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  transform: scaleX(var(--read-progress, 0));
  transform-origin: left;
  background: #bc8545;
}
.home .wordmark {
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
}
.home .head-nav a {
  font-size: 0.9rem;
}
.home .head-nav a:hover {
  color: var(--ochre);
}
.home .head-cta {
  border: 1px solid currentColor;
  color: var(--ink);
  font-size: 0.82rem;
  padding: 9px 18px;
}
.home .head-cta:hover {
  background: var(--ink);
  color: var(--chalk);
}
.home .head-cta span {
  display: none;
}
.home [hidden] {
  display: none !important;
}
.opening {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: #f8f5eb;
}
.sunlight {
  position: absolute;
  z-index: -1;
  inset: -22% -8%;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 68% 50%, #ecc89190, transparent 45%),
    radial-gradient(ellipse at 79% 15%, #fae9c7, transparent 26%);
  transform: translate3d(0, calc(var(--cover-travel, 0) * 100px), 0);
}
.opening-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.03fr 1fr;
  gap: clamp(18px, 3.5vw, 68px);
  align-items: center;
  padding-block: clamp(45px, 6.2vw, 102px) clamp(72px, 7.3vw, 115px);
}
.opening-copy {
  position: relative;
  z-index: 2;
}
.place-line,
.small-label {
  font: 500 0.78rem/1.5 var(--sans);
  letter-spacing: 0.115em;
  text-transform: uppercase;
}
.place-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #625337;
}
.place-line span {
  width: 26px;
  height: 1px;
  background: #a2864b;
}
.opening h1 {
  margin: clamp(27px, 3.2vw, 52px) 0 25px;
  font-size: clamp(65px, 7.65vw, 134px);
  line-height: 0.88;
  letter-spacing: -0.062em;
  text-wrap: initial;
}
.opening h1 span,
.opening h1 em {
  display: block;
}
.opening h1 em {
  color: var(--ochre);
  white-space: nowrap;
}
.opening-intro {
  max-width: 38ch;
  font-size: clamp(1rem, 1.15vw, 1.2rem);
  line-height: 1.66;
  color: #514f42;
}
.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 23px;
  border-radius: 100px;
  font-size: 0.9rem;
  text-decoration: none;
  transition:
    transform 0.25s,
    background-color 0.25s,
    box-shadow 0.25s;
}
.action.solid {
  background: var(--pitch);
  color: #faf5e8;
}
.action:hover {
  transform: translateY(-2px);
  background: #494530;
  box-shadow: 0 4px 15px #523f251e;
}
.opening .action {
  margin-top: 27px;
}
.photo-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1.18;
  margin-block: 15px;
  isolation: isolate;
}
.photo-window,
.photo-outline {
  position: absolute;
  inset: 0;
  border-radius: 46% 6px 22% 6px;
}
.photo-window {
  overflow: hidden;
  background: #d0b584;
  transform: translate3d(0, calc(var(--cover-travel, 0) * 32px), 0);
}
.photo-outline {
  border: 1px solid #a98749;
  transform: translate(12px, -11px) rotate(calc(var(--cover-travel, 0) * 3deg));
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 81% 50%;
  opacity: 0;
  transform: scale(calc(1.045 + var(--cover-travel, 0) * 0.12)) translateX(2.2%);
  transition:
    opacity 1s ease,
    transform 1.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.hero-photo.current {
  opacity: 1;
  transform: scale(calc(1.035 + var(--cover-travel, 0) * 0.12));
}
.hero-photo:nth-child(3) {
  object-position: 89% center;
}
.inset-print {
  position: absolute;
  width: 31%;
  aspect-ratio: 0.92;
  left: -5%;
  bottom: -4%;
  border: clamp(4px, 0.48vw, 8px) solid #fff9ed;
  background: #ece2ce;
  box-shadow: 0 10px 28px #2b221e30;
  transform: translate3d(0, calc(var(--cover-travel, 0) * -50px), 0)
    rotate(calc(-7deg + var(--cover-travel, 0) * 7deg));
}
.inset-print img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 74% center;
}
.photo-controls {
  position: absolute;
  right: 5%;
  bottom: -30px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.photo-select {
  display: flex;
  align-items: center;
}
.photo-select button,
.photo-play {
  background: none;
  border: 0;
  color: var(--ink);
  padding: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  min-height: 34px;
}
.photo-select button {
  width: 28px;
}
.photo-select button::before {
  content: "";
  width: 16px;
  height: 3px;
  background: #c8bda5;
  border-radius: 9px;
  transition:
    background 0.3s,
    transform 0.3s;
}
.photo-select button[aria-pressed="true"]::before {
  background: #805921;
  transform: scaleX(1.35);
}
.photo-play {
  width: 34px;
}
.photo-play i {
  width: 9px;
  height: 12px;
  border-inline: 2px solid currentColor;
}
.photo-play[data-paused="true"] i {
  width: 0;
  height: 0;
  border: 0;
  border-left: 8px solid currentColor;
  border-block: 5px solid transparent;
}
.calendar {
  position: relative;
  overflow: clip;
  isolation: isolate;
  background: var(--pitch);
  color: var(--chalk);
  padding-block: clamp(46px, 5vw, 80px) clamp(60px, 7vw, 110px);
}
.calendar-light {
  position: absolute;
  z-index: -1;
  inset: -22%;
  background: radial-gradient(ellipse at 75% 70%, #74614285, transparent 43%);
  transform: translate3d(calc(var(--pass-travel, 0) * 7%), 0, 0);
}
.calendar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 17px;
  margin-bottom: clamp(20px, 2.7vw, 40px);
  border-bottom: 1px solid #beb19363;
}
.calendar-top .small-label {
  color: #f3d198;
}
.calendar-top > span {
  font: italic 500 1.3rem/1 var(--serif);
  color: #f1e2c7;
}
.event-pass {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.05fr) minmax(145px, 0.5fr);
  align-items: stretch;
  color: var(--ink);
  background: #f4eedf;
  border-radius: 8px;
}
.pass-photo {
  display: block;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 8px 0 0 8px;
  min-height: 310px;
}
.pass-photo img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: 77% center;
  transform: scale(1.12) translateX(calc(var(--pass-travel, 0) * -3%));
}
.pass-main {
  padding: clamp(25px, 3.5vw, 60px);
  align-self: center;
}
.pass-main .small-label,
.gather .small-label {
  color: #75542c;
}
.pass-main h2 {
  font-size: clamp(50px, 5.2vw, 92px);
  line-height: 0.9;
  margin: 18px 0;
  letter-spacing: -0.055em;
}
.pass-main h2 a {
  text-decoration: none;
}
.pass-main h2 em {
  color: var(--ochre);
}
.pass-main > p:not(.small-label),
.inclusions p {
  line-height: 1.55;
  color: #504d41;
  font-size: 1rem;
}
.inclusions {
  margin-top: 18px;
}
.inclusions summary {
  justify-content: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.inclusions summary i {
  width: 8px;
  height: 8px;
  border-right: 1px solid;
  border-bottom: 1px solid;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.25s;
}
.inclusions[open] summary i {
  transform: translateY(2px) rotate(225deg);
}
.inclusions p {
  margin-top: 9px;
}
.pass-stub {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 26px 15px;
  border-left: 1px dashed #aa9c7f;
}
.pass-stub::before,
.pass-stub::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 11px;
  background: var(--pitch);
  transform: translateX(-50%);
  top: -1px;
  border-radius: 0 0 24px 24px;
}
.pass-stub::after {
  top: auto;
  bottom: -1px;
  border-radius: 24px 24px 0 0;
}
.pass-stub time {
  display: grid;
  text-align: center;
}
.pass-stub time span {
  font: 500 0.76rem/1.4 var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #785b35;
}
.pass-stub time b {
  font: 500 clamp(64px, 6.5vw, 100px)/0.91 var(--serif);
  letter-spacing: -0.06em;
}
.pass-stub > p {
  font-size: 0.88rem;
  margin-top: 9px;
}
.stub-action {
  margin-top: 22px;
  display: grid;
  justify-items: center;
  gap: 7px;
}
.stub-action p {
  font: 500 1.2rem/1.1 var(--serif);
}
.stub-action small {
  font: 500 0.72rem var(--sans);
  color: #686453;
}
.stub-action .action {
  padding: 9px 16px;
  min-height: 42px;
  font-size: 0.84rem;
}
.details-link {
  font-size: 0.8rem;
  text-underline-offset: 3px;
}
.gather {
  padding-block: clamp(70px, 7.5vw, 115px);
  background: var(--chalk);
}
.gather-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 28px;
}
.gather h2 {
  font-size: clamp(58px, 6.8vw, 115px);
  margin-top: 12px;
}
.gather h2 em {
  color: var(--ochre);
}
.gallery-controls {
  display: flex;
  gap: 6px;
}
.gallery-controls button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #a7987d;
  display: grid;
  place-content: center;
  background: transparent;
  color: var(--ink);
  font: 400 32px/1 var(--serif);
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.gallery-controls button:disabled {
  opacity: 0.32;
  cursor: default;
}
.gallery-controls button:not(:disabled):hover {
  background: #33382d;
  color: var(--chalk);
}
.story-rail {
  display: flex;
  gap: clamp(16px, 2.4vw, 38px);
  padding: 4px var(--gutter) 22px;
  scroll-padding-inline: var(--gutter);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #c8b89a transparent;
}
.story-rail article {
  min-width: 0;
  flex: 0 0 clamp(320px, 39vw, 650px);
  scroll-snap-align: start;
}
.story-rail figure {
  border-radius: 5px;
  overflow: hidden;
  aspect-ratio: 1.7;
  background: #2a241d;
}
.story-rail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  transition: transform 0.8s ease;
}
.story-rail article:hover img {
  transform: scale(1.045);
}
.story-rail h3 {
  font-size: clamp(35px, 3.5vw, 60px);
  margin: 17px 0 10px;
}
.story-rail p {
  color: #504e41;
  max-width: 46ch;
  line-height: 1.55;
}
@media (prefers-reduced-motion: no-preference) {
  .photo-window {
    translate: var(--look-x, 0px) var(--look-y, 0px);
    transition: translate 0.22s ease-out;
  }
  .inset-print {
    translate: calc(var(--look-x, 0px) * -1.6) calc(var(--look-y, 0px) * -1.6);
    transition: translate 0.28s ease-out;
  }
  .opening h1 span,
  .opening h1 em {
    animation: type-appear 0.85s cubic-bezier(0.19, 1, 0.22, 1) both;
  }
  .opening h1 em {
    animation-delay: 0.14s;
  }
  .photo-window {
    animation: open-window 1.25s cubic-bezier(0.18, 0.73, 0.2, 1) both;
  }
  .inset-print img {
    animation: ink-in 1s 0.25s ease both;
  }
  .sunlight::before {
    content: "";
    position: absolute;
    inset: 0;
    background: conic-gradient(
      from 180deg at 92% 19%,
      transparent 3deg,
      #fff9e990 21deg,
      transparent 42deg,
      #bda67524 56deg,
      transparent 72deg
    );
    animation: light-drift 10s ease-in-out infinite alternate;
  }
  .event-pass.entered,
  .gather-head.entered {
    animation: rise-in 0.72s cubic-bezier(0.2, 0.75, 0.2, 1) both;
  }
  @keyframes type-appear {
    from {
      clip-path: inset(0 0 110% -8%);
      transform: translateY(20px);
    }
    to {
      clip-path: inset(-25% -10% -30% -8%);
      transform: none;
    }
  }
  @keyframes open-window {
    from {
      clip-path: inset(0 0 100% 0 round 46% 6px 22% 6px);
    }
    to {
      clip-path: inset(0 round 46% 6px 22% 6px);
    }
  }
  @keyframes light-drift {
    from {
      transform: translateX(-3%) rotate(-3deg);
    }
    to {
      transform: translateX(3%) rotate(4deg);
    }
  }
  @keyframes ink-in {
    from {
      opacity: 0.25;
    }
    to {
      opacity: 1;
    }
  }
  @keyframes rise-in {
    from {
      opacity: 0.45;
      translate: 0 22px;
    }
    to {
      opacity: 1;
      translate: 0 0;
    }
  }
}
@media (max-width: 900px) {
  .opening h1 {
    font-size: clamp(50px, 7.8vw, 74px);
  }
  .event-pass {
    grid-template-columns: 0.65fr 1fr minmax(140px, 0.5fr);
  }
  .pass-main {
    padding: 24px;
  }
  .pass-main h2 {
    font-size: 54px;
  }
  .photo-stage {
    aspect-ratio: 0.92;
  }
}
@media (max-width: 660px) {
  .home .site-head .wordmark {
    font-size: clamp(1.25rem, 5.65vw, 1.55rem);
  }
  .home .head-cta {
    font-size: 0.78rem;
    padding: 7px 10px;
  }
  .home .head-nav {
    background: var(--chalk);
    border-color: #c7b89b;
  }
  .home .nav-toggle {
    color: var(--ink);
  }
  .opening-grid {
    grid-template-columns: 1fr;
    gap: 27px;
    padding-block: clamp(35px, 9vw, 60px) 59px;
  }
  .place-line {
    font-size: 0.72rem;
    gap: 8px;
  }
  .opening h1 {
    font-size: clamp(56px, 13.7vw, 85px);
    margin: 22px 0 16px;
  }
  .opening-intro {
    font-size: 1rem;
  }
  .opening .action {
    margin-top: 18px;
  }
  .photo-stage {
    width: 88%;
    margin: 6px 5px 12px auto;
    aspect-ratio: 1.45;
  }
  .photo-outline {
    transform: translate(7px, -7px);
  }
  .inset-print {
    width: 27%;
    left: -10%;
  }
  .photo-controls {
    right: 2%;
    bottom: -32px;
  }
  .calendar {
    padding-block: 40px 52px;
  }
  .calendar-top {
    gap: 10px;
  }
  .event-pass {
    grid-template-columns: 1fr;
  }
  .pass-photo {
    min-height: 0;
    aspect-ratio: 2.22;
    border-radius: 8px 8px 0 0;
  }
  .pass-main {
    padding: 24px;
  }
  .pass-main h2 {
    font-size: clamp(48px, 12vw, 72px);
    margin: 12px 0;
  }
  .pass-main h2 br {
    display: none;
  }
  .pass-main h2 em::before {
    content: " ";
  }
  .pass-stub {
    display: grid;
    grid-template-columns: 1fr auto;
    justify-content: space-between;
    justify-items: start;
    text-align: left;
    column-gap: 10px;
    border-left: 0;
    border-top: 1px dashed #aa9c7f;
    padding: 16px 21px;
  }
  .pass-stub time {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    gap: 4px;
    align-items: baseline;
  }
  .pass-stub time b {
    font-size: 30px;
  }
  .pass-stub time span {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
  }
  .pass-stub > p {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
  }
  .pass-stub::before,
  .pass-stub::after {
    width: 8px;
    height: 16px;
    top: 0;
    left: -1px;
    bottom: auto;
    transform: translateY(-50%);
    border-radius: 0 20px 20px 0;
  }
  .pass-stub::after {
    left: auto;
    right: -1px;
    border-radius: 20px 0 0 20px;
  }
  .stub-action {
    grid-column: 2;
    grid-row: 1/3;
    justify-items: end;
    margin-top: 0;
  }
  .stub-action .details-link {
    font-size: 0.75rem;
  }
  .gather {
    padding-block: 58px;
  }
  .gather h2 {
    font-size: clamp(44px, 10vw, 65px);
  }
  .gallery-controls {
    gap: 4px;
  }
  .gallery-controls button {
    width: 36px;
    height: 36px;
  }
  .story-rail article {
    flex-basis: 79vw;
  }
}
@media (max-width: 370px) {
  .pass-stub {
    padding-inline: 13px;
  }
  .pass-stub time {
    column-gap: 3px;
  }
  .stub-action .action {
    padding-inline: 12px;
  }
  .home .bar .head-cta {
    font-size: 0.73rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sunlight,
  .photo-window,
  .calendar-light,
  .pass-photo img,
  .hero-photo,
  .hero-photo.current,
  .story-rail article:hover img {
    transform: none;
  }
  .inset-print {
    transform: rotate(-6deg);
  }
}
.opening.paused .sunlight::before {
  animation-play-state: paused;
}
