:root {
  --ink: #241433;
  --plum: #5b2dff;
  --magenta: #ff4d8d;
  --aqua: #14d6c4;
  --sun: #ffe14a;
  --paper: #fff7f1;
  --card: #fffdfb;
  --line: #241433;
  --muted: #5c4d68;
  --display: "Fraunces", Georgia, serif;
  --sans: "Outfit", "Avenir Next", sans-serif;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 0 0, rgba(255, 77, 141, 0.45), transparent 26rem),
    radial-gradient(circle at 100% 8%, rgba(20, 214, 196, 0.4), transparent 24rem),
    radial-gradient(circle at 80% 100%, rgba(255, 225, 74, 0.55), transparent 22rem),
    var(--paper);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 0 0 0.7rem;
}
p { margin: 0 0 0.9rem; }
a { color: inherit; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip:focus {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  top: auto;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.45rem 0.75rem;
  overflow: visible;
  clip: auto;
  clip-path: none;
  background: var(--sun);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 999px;
  z-index: 6;
}
.wrap { width: min(var(--wrap), calc(100% - 2rem)); margin: 0 auto; }

.mast { position: sticky; top: 0; z-index: 4; }
.mast-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.4rem;
  background: var(--plum);
  color: white;
  border-bottom: 4px solid var(--ink);
}
.mark { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; color: white; }
.mark-seal {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 0.55rem;
  background:
    radial-gradient(circle at 30% 30%, var(--aqua), transparent 45%),
    radial-gradient(circle at 70% 30%, var(--magenta), transparent 42%),
    var(--sun);
  border: 2px solid var(--ink);
}
.mark-word { font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.04em; }
.finder { margin-left: auto; display: flex; background: white; color: var(--ink); border: 3px solid var(--ink); border-radius: 999px; overflow: hidden; }
.finder input { border: 0; background: transparent; padding: 0.45rem 0.9rem; width: 13rem; outline: none; }
.finder button { border: 0; background: var(--sun); padding: 0.45rem 0.9rem; font-weight: 750; cursor: pointer; }
.menu-toggle {
  display: none;
  border: 3px solid white;
  background: transparent;
  color: white;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-weight: 750;
  cursor: pointer;
}
.mast-nav { background: var(--sun); border-bottom: 4px solid var(--ink); }
.mast-nav ul { display: flex; flex-wrap: wrap; gap: 0.35rem 0.4rem; list-style: none; margin: 0; padding: 0.55rem 0; }
.nav-link {
  display: inline-block;
  text-decoration: none;
  font-weight: 750;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 2px solid transparent;
}
.nav-link.is-current, .nav-link:hover { background: var(--ink); color: var(--sun); }

.splash { padding: 2.4rem 0 0.4rem; }
.splash-grid { display: grid; gap: 1.2rem; }
.eyebrow {
  display: inline-block;
  margin: 0 0 0.6rem;
  background: var(--magenta);
  color: white;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding: 0.25rem 0.6rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
}
.splash h1 { font-size: clamp(2.7rem, 6vw, 5.2rem); max-width: 14ch; }
.lede { font-size: 1.18rem; max-width: 42rem; color: var(--muted); }
.splash-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0.4rem 0 0; padding: 0; }
.splash-pills a {
  text-decoration: none;
  background: white;
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-weight: 750;
  box-shadow: 3px 3px 0 var(--ink);
}

.stack { padding: 1.2rem 0 3rem; }
.stack-head h1, .stack-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.stack-head p { color: var(--muted); max-width: 40rem; }
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.lead-grid > li:first-child { grid-column: span 2; grid-row: span 2; }
.more-8 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.more-9 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.story-grid > li { min-width: 0; }
.story-grid a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 1.4rem;
  overflow: hidden;
  box-shadow: 6px 6px 0 var(--ink);
}
.story-grid a:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--magenta); }
.shot { display: block; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--aqua), var(--sun) 55%, var(--magenta)); overflow: hidden; }
.shot img, .photo-fallback { width: 100%; height: 100%; object-fit: cover; }
.photo-fallback {
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 3rem;
  color: var(--ink);
}
.lead-grid > li:first-child .shot { aspect-ratio: 16 / 11; min-height: 100%; }
.card-copy { display: flex; flex-direction: column; gap: 0.35rem; padding: 0.9rem 1rem 1.1rem; }
.card-kicker { font-size: 0.78rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; color: var(--plum); }
.card-name { font-family: var(--display); font-size: 1.28rem; line-height: 1.15; letter-spacing: -0.03em; }

.piece-top { padding: 2rem 0 0.4rem; }
.piece-top h1 { font-size: clamp(2.3rem, 5vw, 4.3rem); max-width: 18ch; }
.dek { font-size: 1.15rem; max-width: 42rem; color: var(--muted); }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; margin-bottom: 0.8rem; font-weight: 580; }
.crumbs a { text-decoration: none; }
.crumb { background: var(--sun); border: 2px solid var(--ink); border-radius: 999px; padding: 0.1rem 0.55rem; }
.frame-wrap { margin: 0.6rem auto 1.2rem; }
.frame {
  margin: 0;
  background: white;
  border: 3px solid var(--ink);
  border-radius: 1.6rem;
  padding: 0.7rem;
  box-shadow: 10px 10px 0 var(--aqua);
  transform: rotate(-0.6deg);
}
.hero-shot { border-radius: 1.1rem; aspect-ratio: 16 / 8; }
.reading { max-width: 760px; }
.prose { font-size: 1.08rem; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.6rem; }
.prose h2 { font-size: 1.8rem; }
.prose ul, .prose ol { margin: 0 0 1rem; padding-left: 1.2rem; }
.prose li { margin: 0.25rem 0; }
.prose a { color: #3a18c9; text-underline-offset: 0.15em; }
.prose img { border-radius: 1rem; border: 3px solid var(--ink); margin: 1rem 0; }
.prose blockquote {
  margin: 1rem 0;
  padding: 0.2rem 0 0.2rem 1rem;
  border-left: 6px solid var(--magenta);
}
.notice {
  margin-top: 1.4rem;
  background: #fff3bf;
  border: 3px solid var(--ink);
  border-radius: 1rem;
  padding: 0.8rem 1rem;
}
.also { padding: 0 0 3rem; }
.also h2 { font-size: clamp(2rem, 4vw, 3rem); }

.pager { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.4rem; }
.page-link {
  text-decoration: none;
  min-width: 2.4rem;
  text-align: center;
  padding: 0.35rem 0.7rem;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: white;
  font-weight: 750;
}
.page-link.is-current { background: var(--ink); color: var(--sun); }

.base { background: var(--ink); color: #fff7ea; padding: 2rem 0 1rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 1.2rem; }
.base .mark { color: white; }
.base h2 { font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sun); }
.base ul { list-style: none; margin: 0; padding: 0; }
.base li { margin: 0.28rem 0; }
.foot-link { text-decoration: none; }
.foot-link:hover { color: var(--aqua); }
.legal { margin-top: 1.2rem; padding-top: 0.8rem; border-top: 1px solid rgba(255, 247, 234, 0.2); color: #d9cfe4; font-size: 0.92rem; }
.missing, .note { padding: 2.2rem 0 3rem; }
.empty { background: white; border: 3px solid var(--ink); border-radius: 1rem; padding: 1rem; }
.contact { padding: 2.2rem 0 3rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 1.4rem; align-items: start; }
.contact-copy h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); max-width: 12ch; }
.contact-card {
  background: white;
  border: 3px solid var(--ink);
  border-radius: 1.5rem;
  padding: 1.2rem 1.2rem 1.3rem;
  box-shadow: 8px 8px 0 var(--magenta);
}
.note-form { display: flex; flex-direction: column; gap: 0.35rem; }
.note-form label { font-weight: 750; margin-top: 0.45rem; }
.note-form input, .note-form textarea {
  width: 100%;
  border: 3px solid var(--ink);
  border-radius: 0.9rem;
  background: #fffdf8;
  padding: 0.65rem 0.8rem;
  outline: none;
}
.note-form input:focus, .note-form textarea:focus { box-shadow: 4px 4px 0 var(--sun); }
.note-form button {
  margin-top: 0.8rem;
  align-self: flex-start;
  border: 3px solid var(--ink);
  background: var(--sun);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
}
.captcha { margin-top: 0.7rem; }
.form-errors {
  margin: 0 0 0.8rem;
  padding: 0.7rem 0.9rem 0.7rem 1.3rem;
  background: #ffe1ea;
  border: 3px solid var(--ink);
  border-radius: 1rem;
}
.contact-card .pill {
  display: inline-block;
  margin-top: 0.4rem;
  text-decoration: none;
  background: var(--sun);
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-weight: 750;
}

@media (max-width: 980px) {
  .story-grid, .more-8 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .more-9 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lead-grid > li:first-child { grid-column: auto; grid-row: auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .menu-toggle { display: inline-flex; }
  .finder { display: none; }
  .mast-nav { display: none; }
  .mast-nav.is-open { display: block; }
  .story-grid, .more-8, .more-9 { grid-template-columns: 1fr; }
  .foot-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-shot { aspect-ratio: 16 / 10; }
  .frame { transform: none; }
}
