:root {
  --ink: #142033;
  --cream: #fff4e6;
  --paper: #fffaf3;
  --coral: #ff4d3a;
  --gold: #ffc43d;
  --teal: #0c8f78;
  --plum: #6a2c91;
  --navy: #1d3f73;
  --line: rgba(20, 32, 51, 0.14);
  --shadow: 0 18px 40px rgba(20, 32, 51, 0.12);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 8% -10%, #ffe08a 0%, transparent 60%),
    radial-gradient(700px 380px at 100% 0%, #ffb4a8 0%, transparent 55%),
    linear-gradient(180deg, #fff8ef 0%, #f3efe6 100%);
  font-family: "Bricolage Grotesque", "Avenir Next", sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
h1, h2, h3, h4 { font-family: "Young Serif", Georgia, serif; line-height: 1.15; font-weight: 400; }
a { color: inherit; }
.sr, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.frame { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}
.skip:focus {
  position: fixed;
  left: 12px;
  bottom: 12px;
  top: auto;
  width: auto;
  height: auto;
  margin: 0;
  padding: 8px 12px;
  overflow: visible;
  clip: auto;
  background: var(--gold);
  color: var(--ink);
  z-index: 8;
}

.mast { position: sticky; top: 0; z-index: 4; }
.band {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: var(--ink);
  color: #fff8ef;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: 1.45rem;
}
.sigil {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 30% 35%, var(--gold) 0 5px, transparent 6px),
    radial-gradient(circle at 70% 35%, var(--teal) 0 5px, transparent 6px),
    linear-gradient(var(--coral), var(--coral)) 0 16px / 100% 10px no-repeat,
    #24344c;
}
.seek { margin-left: auto; display: flex; background: #fff8ef; border-radius: 999px; overflow: hidden; }
.seek input { border: 0; background: transparent; padding: 10px 14px; width: min(280px, 42vw); color: var(--ink); }
.seek button { border: 0; background: var(--coral); color: white; padding: 0 16px; cursor: pointer; font-weight: 700; }
.gate-btn {
  display: none;
  border: 2px solid #fff8ef;
  background: transparent;
  color: #fff8ef;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}
.rail { background: #fff8ef; border-bottom: 3px solid var(--ink); }
.rail ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 10px 18px 12px; }
.chip {
  display: inline-block;
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  font-weight: 700;
  font-size: 0.92rem;
}
.chip.is-current { background: var(--ink); color: #fff8ef; }
.tone-coral { --wash: #ffd7cf; --accent: var(--coral); }
.tone-gold { --wash: #ffe7a3; --accent: #e0a000; }
.tone-teal { --wash: #c8f3ea; --accent: var(--teal); }
.tone-plum { --wash: #f0d6ff; --accent: var(--plum); }
.tone-navy { --wash: #d7e4ff; --accent: var(--navy); }

.spotlight {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--wash, #ffe7a3);
  border: 3px solid var(--ink);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.spotlight-copy { padding: 32px 28px; }
.spotlight-copy h1 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); margin: 8px 0 12px; }
.dek { font-size: 1.05rem; }
.eyebrow { margin: 0; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; font-weight: 700; color: var(--accent, var(--ink)); }
.spotlight-card {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  height: 100%;
  min-height: 0;
  background: #1b2430;
}
.spotlight-photo { position: relative; min-height: 0; overflow: hidden; display: block; }
.spotlight-photo img, .card-photo img, .still img { width: 100%; height: 100%; object-fit: cover; }
.spotlight-photo img { position: absolute; inset: 0; min-height: 0; }
.spotlight-note {
  padding: 12px 16px 14px;
  background: #1b2430;
  color: #fff8ef;
}
.spotlight-note h2 {
  margin: 2px 0 6px;
  font-size: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.spotlight-note p {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.spotlight-note a { color: #fff8ef; text-decoration-thickness: 2px; }
.spotlight-note .eyebrow { color: var(--gold); }

.stalls { display: grid; gap: 22px; margin: 28px auto; }
.stall {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.stall-copy h2 { margin: 6px 0 8px; font-size: 1.8rem; }
.pill, .go .pill {
  display: inline-block;
  background: var(--accent, var(--coral));
  color: white;
  text-decoration: none;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 999px;
}
.lane { margin: 10px auto 48px; }
.lane-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 4px; }
.parade {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.plate {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-decoration: none;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 6px 6px 0 var(--accent, var(--coral));
}
.plate:hover { transform: translate(-2px, -2px); }
.card-photo { aspect-ratio: 4 / 3; background: var(--wash, #ffe7a3); overflow: hidden; }
.card-copy { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.card-title { font-family: "Young Serif", Georgia, serif; font-size: 1.25rem; }
.blank {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 140px;
  background: var(--wash, #ffe7a3);
  font-family: "Young Serif", Georgia, serif;
  font-size: 2.4rem;
}

.hero { background: var(--wash, #d7e4ff); border-bottom: 3px solid var(--ink); }
.hero-copy { padding: 42px 0 36px; }
.hero-copy h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 8px 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; font-size: 0.92rem; }
.crumb { color: var(--navy); }
.story-head { background: var(--wash, #ffe7a3); border-bottom: 3px solid var(--ink); }
.story-head .frame { padding: 28px 0 22px; }
.story-head h1 { font-size: clamp(2rem, 4vw, 3.4rem); margin: 0; max-width: 18ch; }
.story-body { display: grid; grid-template-columns: minmax(0, 760px); justify-content: center; gap: 18px; padding: 22px 0 10px; }
.still { margin: 0; border: 3px solid var(--ink); border-radius: 24px; overflow: hidden; background: var(--wash); }
.still img { width: 100%; max-height: 640px; object-fit: cover; }
.still figcaption { padding: 8px 12px 12px; font-size: 0.92rem; }
.sheet, .prose { background: var(--paper); }
.prose { padding: 8px 4px 24px; }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose img { border-radius: 16px; border: 3px solid var(--ink); margin: 12px 0; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin: 0.25em 0; }
.prose a { color: var(--navy); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.tags .crumb { border: 2px solid var(--ink); border-radius: 999px; padding: 4px 10px; text-decoration: none; background: #fff; }
.pager { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.page-link {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  padding: 8px 12px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  text-decoration: none;
  background: white;
  font-weight: 700;
}
.page-link.is-current { background: var(--ink); color: #fff8ef; }

.dock { background: var(--ink); color: #fff8ef; margin-top: 20px; }
.dock-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 22px; padding: 36px 0 20px; }
.dock h2 { font-size: 1.15rem; margin: 0 0 8px; color: var(--gold); }
.dock ul { list-style: none; margin: 0; padding: 0; }
.dock li { margin: 6px 0; }
.dock-link { color: #fff8ef; text-decoration: none; }
.dock-link:hover { text-decoration: underline; }
.dock .brand { color: #fff8ef; }
.legal { border-top: 1px solid rgba(255, 248, 239, 0.2); padding: 12px 0 22px; font-size: 0.92rem; }
.contact-board { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 22px; padding: 28px 0 56px; align-items: start; }
.contact-copy h2 { margin: 6px 0 8px; font-size: 2rem; }
.contact-card {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 8px 8px 0 var(--coral);
}
.note-form { display: grid; gap: 12px; }
.note-form label { display: grid; gap: 6px; font-weight: 700; }
.note-form input, .note-form textarea {
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 12px 14px;
  background: white;
  color: var(--ink);
}
.note-form button {
  justify-self: start;
  background: var(--coral);
  color: white;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
}
.captcha { margin-top: 4px; }
.form-errors { color: #9d1c1c; }
.notice { background: #c8f3ea; padding: 10px 12px; border-radius: 12px; }
.index-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-bottom: 36px; }
.index-card { border: 3px solid var(--ink); border-radius: 18px; padding: 14px; background: white; }

@media (max-width: 980px) {
  .spotlight, .dock-grid, .contact-board { grid-template-columns: 1fr; }
  .spotlight-card { min-height: 240px; }
  .parade, .index-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .gate-btn { display: inline-flex; }
  .rail { display: none; }
  .rail.is-open { display: block; }
  .seek { display: none; }
  .parade, .index-grid { grid-template-columns: 1fr; }
  .spotlight-copy { padding: 22px 18px; }
}
