:root {
  color-scheme: dark;
  --ink: #151217;
  --panel: #211c21;
  --cream: #fff4e4;
  --muted: #d8c5bc;
  --orange: #ff784a;
  --line: #493b43;
  --display: Impact, Haettenschweiler, 'Arial Narrow', 'Arial Black', sans-serif;
  --body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; font: 1rem/1.6 var(--body); color: var(--cream); background: var(--ink); }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--cream); outline-offset: 4px; }
.event-info a:focus-visible { outline-color: var(--ink); }
p, h1, h2, h3 { margin: 0; }
.wrap { width: min(100% - 2.5rem, 71rem); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 5; top: .75rem; left: .75rem; padding: .6rem .9rem; background: var(--cream); color: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.topbar { border-bottom: 1px solid var(--line); }
.topbar-inner, .topbar nav { display: flex; align-items: center; }
.topbar-inner { justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.topbar a { text-decoration: none; }
.site-name { display: flex; align-items: center; gap: .55rem; font-size: .95rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.site-name span { width: .7rem; height: .7rem; background: var(--orange); }
.topbar nav { gap: clamp(.75rem, 3vw, 2rem); }
.topbar nav a { font-size: .95rem; font-weight: 650; }
.topbar nav a:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: .22em; }

.hero {
  overflow: clip;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 88% 55%, #42251f 0%, transparent 58%), var(--ink);
}
.hero-inner { display: grid; align-items: center; gap: clamp(2rem, 5vw, 4.75rem); padding-block: clamp(2rem, 6vw, 5.5rem); }
.wordmark { width: min(100%, 38rem); aspect-ratio: 1.38; overflow: hidden; }
.wordmark img { width: 100%; height: 100%; object-fit: cover; object-position: center; mix-blend-mode: lighten; }
.intro { max-width: 32rem; margin-top: clamp(.6rem, 2vw, 1.25rem); color: var(--muted); font-size: clamp(1.075rem, 2vw, 1.32rem); }
.event-info {
  position: relative;
  container-type: inline-size;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  color: var(--ink);
  background: var(--orange);
  border: 1px solid #ffa484;
  border-radius: .35rem;
  box-shadow: .75rem .75rem 0 #100d11, .75rem .75rem 0 1px #9e4d36;
}
.event-info::before {
  position: absolute;
  z-index: -1;
  content: '';
  inset: 0;
  opacity: .24;
  background: repeating-linear-gradient(135deg, transparent 0 12px, #2b1a1b 12px 13px, transparent 13px 23px);
  mask-image: linear-gradient(135deg, transparent 50%, black);
}
.event-month { display: flex; justify-content: space-between; gap: .5rem; font-size: .95rem; font-weight: 850; text-transform: uppercase; letter-spacing: .12em; }
.event-days {
  margin-block: .12em .15em;
  font: clamp(4.4rem, 11vw, 8.8rem)/.95 var(--display);
  font-size: min(clamp(4.4rem, 13vw, 8.8rem), 32cqi);
  letter-spacing: -.045em;
  white-space: nowrap;
}
.event-time { padding-top: .78rem; border-top: 1px solid #743724; font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 800; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 2.85rem; padding: .55rem 1rem; border: 1px solid transparent; border-radius: .25rem; text-decoration: none; font-weight: 750; line-height: 1.3; }
.button-dark { margin-top: 1.15rem; background: var(--ink); color: var(--cream); }
.button-dark:hover { background: #34252d; }
.button-outline { border-color: #a16b5c; color: var(--cream); }
.button-outline:hover { background: #352831; }
.button-outline span { color: var(--muted); font-size: .85rem; }

.schedule { padding-block: clamp(2.75rem, 7vw, 5.75rem); scroll-margin-top: 1rem; }
.section-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.2rem; margin-bottom: 1.65rem; }
.section-heading h2 { font: clamp(2.3rem, 5vw, 4rem)/1.05 var(--display); text-transform: uppercase; letter-spacing: .015em; }
.section-heading p { margin-top: .55rem; color: var(--muted); }
.nights { display: grid; gap: .8rem; padding: 0; margin: 0; list-style: none; }
.night {
  display: grid;
  grid-template-columns: 3.45rem minmax(0, 1fr);
  align-items: center;
  gap: .25rem .9rem;
  min-height: 6.6rem;
  padding: .95rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: .3rem;
}
.night-date { display: grid; align-content: center; justify-items: center; min-height: 3.8rem; padding-right: .65rem; border-right: 1px solid var(--line); color: var(--orange); text-transform: uppercase; }
.night-date span:not(.visually-hidden) { font-size: .88rem; line-height: 1.15; font-weight: 800; letter-spacing: .09em; }
.night-date strong { font: 2.35rem/1 var(--display); }
.night-details h3 { font-size: 1.05rem; line-height: 1.25; font-weight: 800; }
.night-details p { margin-top: .24rem; font-size: .95rem; line-height: 1.4; color: var(--muted); }
.directions { grid-column: 2; justify-self: start; color: var(--orange); font-size: .95rem; font-weight: 720; text-underline-offset: .2em; }
.directions:hover { color: var(--cream); }
.pending { border-style: dashed; background: #21191c; }
.pending .night-details h3 { color: #ffe2cf; }

.site-footer { border-top: 1px solid var(--line); padding-block: 1.65rem; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; gap: .35rem 1.2rem; justify-content: space-between; }
.site-footer a { color: var(--cream); font-weight: 700; text-underline-offset: .22em; }

@media (min-width: 40rem) {
  .wrap { width: min(100% - 4rem, 71rem); }
  .night { grid-template-columns: 3.8rem minmax(0, 1fr) auto; }
  .directions { grid-column: auto; padding-left: .4rem; }
}
@media (min-width: 53rem) {
  .hero-inner { grid-template-columns: 1.18fr .82fr; }
  .nights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .night { padding-inline: 1.05rem; }
}
@media (max-width: 22rem) {
  .wrap { width: calc(100% - 1.6rem); }
  .site-name { font-size: .85rem; }
  .topbar nav a { font-size: .86rem; }
  .event-days { font-size: clamp(3.6rem, 22vw, 4.8rem); font-size: min(clamp(3.6rem, 22vw, 4.8rem), 32cqi); }
}
