:root {
  color-scheme: light;
  --paper: #f6f4ed;
  --ink: #202e29;
  --forest: #142d28;
  --muted: #505c53;
  --gold: #ffd691;
  --serif: Georgia, "Times New Roman", serif;
  font-family: system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

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

body {
  margin: 0;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

button:not(:disabled), a {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid #a35421;
  outline-offset: 4px;
}

.frame {
  width: min(100% - 3rem, 75rem);
  margin-inline: auto;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding-block: 1.15rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: .96rem;
  font-weight: 750;
  letter-spacing: -.02em;
}

.wordmark a {
  color: inherit;
  text-decoration: none;
}

.peak-mark {
  display: grid;
  width: 2.125rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--forest);
}

.peak-mark::before {
  content: "";
  width: 1.3rem;
  height: .85rem;
  background: var(--paper);
  clip-path: polygon(0 100%, 35% 14%, 56% 62%, 71% 35%, 100% 100%, 83% 100%, 71% 67%, 56% 92%, 35% 46%, 13% 100%);
}

.masthead-date {
  color: var(--muted);
  font-size: .875rem;
  text-align: right;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.16fr);
  grid-template-areas: "copy image";
  min-height: 26rem;
  overflow: hidden;
  background: var(--forest);
  border-radius: 1rem;
  color: #fff9ee;
}

.hero-photo {
  grid-area: image;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 68% 50%;
}

.hero-copy {
  grid-area: copy;
  align-self: center;
  padding: clamp(2rem, 4vw, 3.25rem) clamp(2.2rem, 5vw, 4.25rem);
}

.eyebrow {
  margin: 0;
  font-size: .875rem;
  font-weight: 750;
  letter-spacing: .15em;
  text-transform: uppercase;
}

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

.hero h1 {
  margin: .6rem 0 1.15rem;
  font: 400 clamp(3.9rem, 7.2vw, 7.25rem)/.87 var(--serif);
  letter-spacing: -.073em;
}

.hero h1 em {
  color: var(--gold);
  font-weight: 400;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 38ch;
  margin: 0;
  color: #e2ebe3;
  line-height: 1.6;
}

.jump-button,
.video-link {
  min-height: 2.85rem;
  padding: .65rem 1.05rem;
  border-radius: .45rem;
  font-size: .9375rem;
  font-weight: 700;
  text-decoration: none;
}

.jump-button {
  margin-top: 1.5rem;
  border: 1px solid transparent;
  background: var(--gold);
  color: var(--forest);
}

.jump-button:hover {
  background: #ffe5b8;
}

.jump-button:focus-visible {
  outline-color: var(--gold);
}

.calendar {
  padding-block: clamp(2rem, 5vw, 3.8rem);
}

.calendar-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem 1rem;
  margin-bottom: 1.15rem;
}

.calendar-header h2 {
  margin: 0;
  font: 400 clamp(2rem, 4vw, 3rem)/1 var(--serif);
  letter-spacing: -.055em;
  scroll-margin-top: 1rem;
}

.calendar-status {
  margin: 0;
  color: var(--muted);
  font-size: .9375rem;
}

.doors {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(.5rem, 1vw, .8rem);
}

.door {
  --door-paper: #e6eee7;
  --ridge: #cbdcd1;
  --near-ridge: #b9d0c3;
  --door-ink: #233c34;
  --ridge-line: polygon(0 81%, 13% 65%, 24% 77%, 46% 42%, 70% 73%, 84% 55%, 100% 73%, 100% 100%, 0 100%);
  --near-line: polygon(0 90%, 19% 75%, 34% 88%, 61% 63%, 79% 83%, 100% 70%, 100% 100%, 0 100%);
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  aspect-ratio: 1.34;
  min-height: 5rem;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(.8rem, 1.75vw, 1.35rem);
  border: 1px solid #243c341c;
  border-radius: .65rem;
  background: var(--door-paper);
  color: var(--door-ink);
  transition: transform .18s ease, box-shadow .18s ease;
}

.door:disabled {
  opacity: 1;
}

.door:nth-child(4n + 2) {
  --door-paper: #ebece3;
  --ridge: #dcded0;
  --near-ridge: #ced3bd;
}

.door:nth-child(4n + 3) {
  --door-paper: #e5edf0;
  --ridge: #ccdce1;
  --near-ridge: #bdcfd8;
}

.door:nth-child(4n) {
  --door-paper: #f3eadc;
  --ridge: #e9dbc4;
  --near-ridge: #ddc8a8;
  --door-ink: #534326;
}

.door:nth-child(3n + 2) {
  --ridge-line: polygon(0 62%, 18% 77%, 32% 57%, 45% 69%, 65% 35%, 87% 73%, 100% 55%, 100% 100%, 0 100%);
  --near-line: polygon(0 79%, 16% 69%, 39% 88%, 64% 70%, 76% 79%, 91% 59%, 100% 70%, 100% 100%, 0 100%);
}

.door:nth-child(3n) {
  --ridge-line: polygon(0 82%, 10% 70%, 18% 75%, 38% 35%, 53% 60%, 67% 50%, 84% 78%, 100% 63%, 100% 100%, 0 100%);
  --near-line: polygon(0 94%, 20% 77%, 36% 88%, 56% 67%, 79% 84%, 100% 69%, 100% 100%, 0 100%);
}

.door:last-child {
  --door-paper: #853f2b;
  --ridge: #a55137;
  --near-ridge: #753321;
  --door-ink: #fff0d6;
}

.door::after {
  position: absolute;
  inset: .35rem;
  border: 1px dashed currentColor;
  border-radius: .35rem;
  opacity: .22;
  pointer-events: none;
  content: "";
}

.door-landscape,
.door-landscape::before,
.door-landscape::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.door-landscape {
  z-index: -1;
}

.door-landscape::before,
.door-landscape::after {
  content: "";
}

.door-landscape::before {
  background: var(--ridge);
  clip-path: var(--ridge-line);
}

.door-landscape::after {
  background: var(--near-ridge);
  clip-path: var(--near-line);
}

.door-number {
  font: 400 clamp(1.9rem, 4.6vw, 4rem)/.88 var(--serif);
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -.07em;
}

.door-icon {
  position: relative;
  flex: 0 0 auto;
  width: 1.65rem;
  height: 1.65rem;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.door:disabled .door-icon {
  opacity: .6;
}

.door:disabled .door-icon::before,
.door:disabled .door-icon::after {
  position: absolute;
  left: 50%;
  translate: -50%;
  border: 1px solid currentColor;
  content: "";
}

.door:disabled .door-icon::before {
  top: .35rem;
  width: .4rem;
  height: .4rem;
  border-bottom: 0;
  border-radius: 1rem 1rem 0 0;
}

.door:disabled .door-icon::after {
  top: .68rem;
  width: .65rem;
  height: .5rem;
  border-radius: .11rem;
}

.door:not(:disabled) .door-icon {
  display: grid;
  place-items: center;
  background: var(--door-ink);
  color: var(--door-paper);
  border-color: transparent;
}

.door:not(:disabled) .door-icon::before,
.play-mark {
  width: 0;
  height: 0;
  border-block: .3rem solid transparent;
  border-left: .45rem solid currentColor;
}

.door:not(:disabled) .door-icon::before {
  translate: .06rem;
  content: "";
}

.door[aria-current="date"] {
  --door-paper: #f8d49c;
  --ridge: #edc183;
  --near-ridge: #dfac69;
  --door-ink: #583820;
  border-color: #855223;
  box-shadow: inset 0 0 0 1px #855223;
}

.door:not(:disabled):hover {
  z-index: 1;
  transform: translateY(-.2rem);
  box-shadow: 0 .45rem 1rem #192f2821;
}

dialog {
  width: min(calc(100% - 2rem), 35rem);
  max-height: calc(100% - 2rem);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: .9rem;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1rem 4rem #142d2855;
}

dialog::backdrop {
  background: #0a201dda;
}

.story-photo {
  position: relative;
  background: var(--forest);
}

.story-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 38vh;
  max-height: 38dvh;
  object-fit: cover;
}

.close-button {
  position: absolute;
  top: .7rem;
  right: .7rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid #ffffff52;
  border-radius: 50%;
  background: var(--forest);
  color: white;
}

.close-button:focus-visible {
  outline-color: var(--gold);
}

.close-button::before,
.close-button::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: .95rem;
  height: 2px;
  translate: -50% -50%;
  rotate: 45deg;
  background: currentColor;
  content: "";
}

.close-button::after {
  rotate: -45deg;
}

.story-copy {
  padding: clamp(1.25rem, 4vw, 2rem);
}

.story-copy .eyebrow {
  color: #8b492b;
}

.story-copy h2 {
  margin: .55rem 0 .75rem;
  font: 400 clamp(1.9rem, 5vw, 3rem)/1.02 var(--serif);
  letter-spacing: -.055em;
}

#door-story {
  margin: 0 0 1.3rem;
  line-height: 1.65;
}

.video-link {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  background: var(--forest);
  color: #fff9ee;
}

.video-link:hover,
.close-button:hover {
  background: #2d5146;
}

body:has(dialog[open]) {
  overflow: hidden;
}

@media (max-width: 55rem) {
  .hero {
    min-height: 0;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 8.6vw, 5.6rem);
  }

  .doors {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 38rem) {
  .frame {
    width: calc(100% - 1.5rem);
  }

  .masthead {
    padding-block: .75rem;
  }

  .wordmark {
    gap: .42rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "image" "copy";
    border-radius: .7rem;
  }

  .hero-photo {
    height: clamp(10rem, 47vw, 16rem);
    object-position: 50% 10%;
  }

  .hero-copy {
    padding: 1.35rem 1.15rem 1.5rem;
  }

  .hero h1 {
    font-size: clamp(3.35rem, 12.5vw, 5rem);
  }

  .jump-button {
    margin-top: 1rem;
  }

  .doors {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .door {
    border-radius: .5rem;
  }

  .door::after {
    inset: .25rem;
  }

  .door-icon {
    width: 1.4rem;
    height: 1.4rem;
  }

  .door:disabled .door-icon::before {
    top: .23rem;
  }

  .door:disabled .door-icon::after {
    top: .56rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .door {
    transition: none;
  }

  .door:not(:disabled):hover {
    transform: none;
  }
}
