@font-face {
  font-family: Barlow Condensed;
  src: url(barlow-condensed.woff2) format("woff2");
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: DM Sans;
  src: url(dm-sans.woff2) format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #1c1717;
  --paper: #fbecd8;
  --muted: #c8b9a9;
  --orange: #ff925e;
  --line: #473631;
  --headline: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.5;
  background: var(--ink);
  color: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, ul { margin: 0; }
a { color: inherit; }
button { font: inherit; }
button:not(:disabled) { cursor: pointer; }
:focus-visible { outline: 3px solid #eeb573; outline-offset: 5px; }
section[id] { scroll-margin-top: 1rem; }

.wrap {
  width: min(100% - 7rem, 82rem);
  margin-inline: auto;
}

.top, .footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5rem;
}

.top { border-bottom: 1px solid var(--line); }
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.mark {
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  font-family: system-ui, sans-serif;
  font-size: 1.12rem;
  line-height: 1;
}

nav { display: flex; gap: clamp(1rem, 3vw, 2.5rem); }
nav a {
  color: var(--muted);
  font-size: .94rem;
  font-weight: 700;
  text-decoration: none;
}
nav a:hover { color: var(--paper); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: center;
  padding-block: clamp(2.7rem, 6vw, 5.5rem);
}

.hero-copy { padding-block: .6rem; }
h1, h2 { font-family: var(--headline); font-weight: 800; }
h1 {
  font-size: clamp(3.65rem, 7.6vw, 7.2rem);
  line-height: .84;
  letter-spacing: -.017em;
  text-transform: uppercase;
}
h1 em { color: var(--orange); font-style: normal; }
.lede {
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  max-width: 23rem;
  margin: 1.65rem 0 1.55rem;
}

.button {
  min-height: 2.9rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .75rem;
  padding: .66rem 1.12rem;
  border: 1px solid transparent;
  border-radius: .36rem;
  font-size: .95rem;
  line-height: 1.2;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 150ms ease;
}
.primary { color: var(--ink); background: var(--orange); }
.primary:hover { background: #ffaf84; }
.dark { color: var(--paper); background: var(--ink); }
.dark:hover { background: #42312d; }
.dark:focus-visible { outline-color: var(--ink); }
.outline { color: var(--paper); background: transparent; border-color: #816a60; }
.outline:hover:not(:disabled) { background: #4a3732; }
.outline:disabled { opacity: .5; }

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 27rem;
  object-fit: cover;
  border-radius: .65rem;
  display: block;
  background: #49261d;
}

.lineup {
  background: #2c211f;
  border-block: 1px solid var(--line);
}
.lineup-inner {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  gap: 2rem;
  padding-block: clamp(2rem, 4.2vw, 3.75rem);
}

h2 { font-size: clamp(2.6rem, 5.5vw, 5rem); line-height: .95; }
.lineup-copy h2 { font-size: clamp(2.6rem, 4.8vw, 4.25rem); }
.lineup-copy p, .mic-heading p { color: var(--muted); margin-top: .65rem; }
.crew {
  list-style-type: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
}
.crew li {
  display: grid;
  justify-items: center;
  gap: .55rem;
  font-weight: 700;
}
.monogram {
  display: grid;
  width: min(100%, 4.8rem);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  border: 4px double #2c211f60;
  color: var(--ink);
  background: var(--seat);
  font: 800 2.5rem/1 var(--headline);
  transform: rotate(var(--angle));
}
.sven { --seat: #ff925e; --angle: -8deg; }
.waldo { --seat: #e6bb6e; --angle: 6deg; }
.jorgen { --seat: #c7ce92; --angle: -6deg; }
.hendrik { --seat: #e5ae9f; --angle: 8deg; }

.open-mic { padding-block: clamp(3rem, 7vw, 6rem); }
.mic-heading { margin-bottom: 1.75rem; }
.mic-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1rem;
}
.topic-card, .clock-card {
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 2.3rem);
  border-radius: .65rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.topic-card { color-scheme: light; color: var(--ink); background: #f4cc8e; }
.clock-card { background: #2c211f; border: 1px solid var(--line); }
.card-heading {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}
.card-heading h3 {
  font-size: .88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .11em;
}
.card-heading span { font-size: 1.45rem; line-height: 1; }
.topic {
  font: 800 clamp(2.3rem, 4.3vw, 4.1rem)/.98 var(--headline);
  max-width: 22ch;
  margin-block: 1.15rem 1.65rem;
}
.topic-card .button { margin-top: auto; }
.timer {
  margin-top: .65rem;
  font: 800 clamp(3.4rem, 6vw, 5.25rem)/1 var(--headline);
  font-variant-numeric: tabular-nums;
  color: var(--orange);
}
.timer-status { margin: .3rem 0 1rem; color: var(--muted); }
.timer-controls { display: flex; gap: .55rem; margin-top: auto; }
.timer-controls .button { min-width: 5.5rem; }
noscript p { margin-top: 1rem; }
.footer { border-top: 1px solid var(--line); }

@media (max-width: 1000px) {
  .wrap { width: min(100% - 4rem, 82rem); }
  .hero-image { min-height: 22rem; }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 2.5rem); }
  .top, .footer { min-height: 4.25rem; }
  .hero { grid-template-columns: 1fr; gap: 1.65rem; padding-block: 2.4rem; }
  .hero-copy { padding-block: 0; }
  h1 { font-size: clamp(3.55rem, 14.8vw, 6.1rem); }
  .hero-image { height: auto; min-height: 0; }
  .lineup-inner, .mic-grid { grid-template-columns: 1fr; }
  .lineup-inner { gap: 1.3rem; }
  .crew { max-width: 29rem; }
  .topic { min-height: 2.95em; }
}

@media (max-width: 380px) {
  .wrap { width: calc(100% - 2rem); }
  .wordmark { gap: .45rem; font-size: .9rem; }
  nav { gap: .7rem; }
  nav a { font-size: .88rem; }
  .crew { gap: .45rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
