@font-face {
  font-family: Inter;
  src: url("./assets/inter-latin.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 900;
}

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

@font-face {
  font-family: "Instrument Serif";
  src: url("./assets/InstrumentSerif-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  color-scheme: light;
  --page: #f9f4ec;
  --ink: #301b16;
  --muted: #63473d;
  --line: #d3bdb0;
  --accent: #823a2e;
  --button-ink: #fffaf2;
  --display: "Instrument Serif", Georgia, serif;
  --display-weight: 400;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
}

.jefs, .geek {
  color-scheme: dark;
  --page: #191310;
  --ink: #fff0da;
  --muted: #dbc2ac;
  --line: #6b5041;
  --accent: #ff9952;
  --button-ink: #24150a;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --display-weight: 800;
}

.geek {
  --page: #161522;
  --ink: #f7f3ff;
  --muted: #d4cce6;
  --line: #6a5e87;
  --accent: #d4ff99;
  --button-ink: #151d0e;
}

.gaga {
  --page: #f6f3e8;
  --ink: #253728;
  --muted: #4e5b49;
  --line: #bdc6b6;
  --accent: #304b32;
}

.choko {
  --page: #fcf0ee;
  --ink: #392022;
  --muted: #6b4449;
  --line: #d9b6b8;
  --accent: #893852;
}

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.frame {
  width: min(100% - 48px, 1250px);
  margin-inline: auto;
}

.top, .foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px 20px;
  flex-wrap: wrap;
}

.top { min-height: 68px; border-bottom: 1px solid var(--line); }
.top strong { font-size: clamp(1rem, 2vw, 1.32rem); letter-spacing: -.045em; }
.place, .foot { color: var(--muted); font-size: .78rem; }

.hero {
  display: grid;
  grid-template-columns: 1.17fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  padding-block: clamp(36px, 6vw, 82px);
}

.hero h1, .overview h1 {
  margin: 0;
  font: var(--display-weight) clamp(3.3rem, 6.9vw, 7rem)/.89 var(--display);
  letter-spacing: -.035em;
  text-wrap: balance;
}

.jefs h1, .geek h1 { text-transform: uppercase; letter-spacing: -.017em; }
.intro { max-width: 41ch; margin: 1rem 0 1.5rem; color: var(--muted); line-height: 1.55; }

.choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.choice {
  min-width: 0;
  border-top: 1px solid var(--line);
  padding-block: 12px 0;
}

.choice h2, .overview h2 {
  margin: 0 0 .3rem;
  font-size: 1rem;
  letter-spacing: -.035em;
}

.choice p {
  min-height: 2.5em;
  margin: 0 0 .85rem;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.5;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: .56rem .8rem;
  border: 1px solid transparent;
  border-radius: .4rem;
  background: var(--accent);
  color: var(--button-ink);
  font: 700 .79rem/1.35 Inter, system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.button:hover { text-decoration: underline; }
.button.secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.links { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: .8rem; text-underline-offset: .25em; }

.photo { position: relative; margin: 0; align-self: stretch; min-height: 440px; min-width: 0; }
.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: .5rem;
}

.jefs .photo img { object-position: 64% center; }
.geek .photo img { object-position: 61% center; }
.choko .photo img { object-position: 58% center; }
.photo figcaption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  border-radius: .25rem;
  padding: .36rem .53rem;
  background: #211915;
  color: #fffaf2;
  font-size: .7rem;
}

.event { display: grid; gap: .55rem; max-width: 440px; }
.event label { font-size: .82rem; font-weight: 700; }
.event textarea {
  resize: vertical;
  width: 100%;
  min-height: 112px;
  border: 1px solid var(--line);
  border-radius: .4rem;
  padding: .7rem;
  background: var(--page);
  color: var(--ink);
  font: .85rem/1.5 Inter, system-ui, sans-serif;
}

.foot {
  min-height: 62px;
  padding-block: 12px;
  border-top: 1px solid var(--line);
}

.overview { max-width: 820px; padding-block: 50px; }
.overview h1 { margin-bottom: 1.1rem; }
.overview ol { list-style: none; margin: 2rem 0 0; padding: 0; }
.overview li { padding: 14px 0; border-top: 1px solid var(--line); }
.overview li p { margin: .2rem 0 0; color: var(--muted); font-size: .92rem; line-height: 1.55; }

@media (max-width: 880px) {
  .hero { gap: 28px; }
  .choices { grid-template-columns: 1fr; gap: 8px; }
  .choice p { min-height: 0; margin-bottom: .45rem; }
}

@media (max-width: 680px) {
  .frame { width: calc(100% - 32px); }
  .top { min-height: 58px; }
  .hero { grid-template-columns: 1fr; padding-block: 28px; gap: 24px; }
  .hero h1, .overview h1 { font-size: clamp(2.65rem, 10.7vw, 4.4rem); max-width: 15ch; }
  .intro { margin: .75rem 0 1rem; font-size: .9rem; }
  .photo { min-height: 0; aspect-ratio: 1.45; }
  .foot { line-height: 1.45; }
}
