:root {
  --ink: #1a0b3a;
  --ink-soft: #4a3d66;
  --paper: #fffdf8;
  --coral: #ff4d6d;
  --gold: #ffe14a;
  --lime: #2ee6a6;
  --cobalt: #3d5afe;
  --plum: #7a3cff;
  --tangerine: #ff8a3d;
  --line: rgba(26, 11, 58, 0.12);
  --display: "Young Serif", Georgia, serif;
  --sans: "Manrope", "Avenir Next", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #12081f;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
button, input { font: inherit; }
h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.12;
  font-weight: 400;
  margin: 0;
}
p { margin: 0; }
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: fixed;
  left: 12px;
  top: 0;
  transform: translateY(-140%);
  background: var(--gold);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 5;
}
.skip:focus {
  top: 108px;
  transform: none;
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.mast {
  background: #1a0b3a;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 30;
}
.mast::after {
  content: "";
  display: block;
  height: 7px;
  background: linear-gradient(90deg, var(--coral), var(--gold), var(--lime), var(--cobalt), var(--plum));
}
.mast-row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 78px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  flex: 0 0 auto;
}
.brand-badge {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #12081f;
  display: grid;
  place-items: center;
}
.brand-badge svg { width: 32px; height: 32px; }
.brand-name {
  font-family: var(--display);
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}
.finder {
  margin-left: auto;
  display: flex;
  background: #fff;
  border-radius: 999px;
  overflow: hidden;
  min-width: min(320px, 42vw);
}
.finder input {
  border: 0;
  background: transparent;
  padding: 12px 16px;
  width: 100%;
  color: var(--ink);
  outline: none;
}
.finder button {
  border: 0;
  background: var(--coral);
  color: #fff;
  font-weight: 800;
  padding: 0 16px;
  cursor: pointer;
}
.finder-wide { margin: 18px 0 0; min-width: 0; width: min(520px, 100%); }
.nav-toggle {
  display: none;
  border: 0;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
}
.nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 auto;
  padding: 0 0 14px;
}
.nav-link {
  display: inline-flex;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 700;
  font-size: 0.92rem;
}
.nav-link.is-current { background: var(--gold); color: var(--ink); }

main {
  background:
    radial-gradient(880px 420px at 0% 0%, rgba(255, 77, 109, 0.95), transparent 58%),
    radial-gradient(760px 420px at 100% 8%, rgba(255, 225, 74, 0.92), transparent 54%),
    radial-gradient(680px 460px at 78% 78%, rgba(46, 230, 166, 0.72), transparent 52%),
    radial-gradient(620px 420px at 8% 92%, rgba(61, 90, 254, 0.62), transparent 50%),
    #241447;
  padding: 28px 0 72px;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: stretch;
}
.hero-copy, .sheet, .story-photo {
  background: var(--paper);
  border-radius: 28px;
  box-shadow: 10px 10px 0 rgba(255, 225, 74, 0.85);
}
.hero-copy { padding: 36px 34px 32px; }
.kicker {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
}
.hero-copy h1, .story-top h1 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
.lede { margin-top: 14px; color: var(--ink-soft); font-size: 1.08rem; }
.cta, .lane-more {
  display: inline-flex;
  margin-top: 22px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
  padding: 12px 18px;
}
.hero-frame {
  display: block;
  position: relative;
  min-height: 360px;
  border-radius: 28px;
  overflow: hidden;
  background: var(--gold);
  box-shadow: 14px 14px 0 var(--coral);
  text-decoration: none;
}
.hero-label {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  padding: 12px 14px;
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.2;
}
.hero-frame img, .story-photo img, .tile-media img, .fill {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-frame .fill, .story-photo .fill { min-height: 360px; }

.band { margin-top: 42px; }
.band-head {
  display: inline-block;
  max-width: 720px;
  background: var(--paper);
  border-radius: 22px;
  padding: 16px 20px 18px;
  margin-bottom: 16px;
  box-shadow: 8px 8px 0 rgba(46, 230, 166, 0.8);
}
.band-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.band-note { margin-top: 8px; color: var(--ink-soft); }

.mosaic { display: grid; gap: 16px; }
.mosaic.n-12, .mosaic.n-8, .mosaic.n-fill { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mosaic.n-9 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.tile {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--paper);
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 18px 40px rgba(18, 8, 31, 0.18);
}
.tile:hover { transform: translateY(-4px); }
.tile-media { aspect-ratio: 4 / 3; display: block; overflow: hidden; }
.tile-copy { display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 16px; }
.tile-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c4184a;
}
.tile-title { font-family: var(--display); font-size: 1.18rem; line-height: 1.2; }
.tile:nth-child(6n + 1) { box-shadow: inset 0 6px 0 var(--coral), 0 18px 40px rgba(18, 8, 31, 0.18); }
.tile:nth-child(6n + 2) { box-shadow: inset 0 6px 0 var(--gold), 0 18px 40px rgba(18, 8, 31, 0.18); }
.tile:nth-child(6n + 3) { box-shadow: inset 0 6px 0 var(--lime), 0 18px 40px rgba(18, 8, 31, 0.18); }
.tile:nth-child(6n + 4) { box-shadow: inset 0 6px 0 var(--cobalt), 0 18px 40px rgba(18, 8, 31, 0.18); }
.tile:nth-child(6n + 5) { box-shadow: inset 0 6px 0 var(--plum), 0 18px 40px rgba(18, 8, 31, 0.18); }
.tile:nth-child(6n + 6) { box-shadow: inset 0 6px 0 var(--tangerine), 0 18px 40px rgba(18, 8, 31, 0.18); }

.fill { min-height: 100%; }
.tone-coral { background: radial-gradient(circle at 30% 20%, #ffd0da, var(--coral) 42%, #9d1238); }
.tone-gold { background: radial-gradient(circle at 30% 20%, #fff6c2, var(--gold) 40%, #c47b00); }
.tone-lime { background: radial-gradient(circle at 30% 20%, #e7fff6, var(--lime) 42%, #0b8f68); }
.tone-cobalt { background: radial-gradient(circle at 30% 20%, #d9e0ff, var(--cobalt) 46%, #17248f); }
.tone-plum { background: radial-gradient(circle at 30% 20%, #eadfff, var(--plum) 46%, #3d128f); }
.tone-tangerine { background: radial-gradient(circle at 30% 20%, #ffe3cf, var(--tangerine) 46%, #c24100); }

.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.page-link {
  display: inline-flex;
  min-width: 44px;
  justify-content: center;
  text-decoration: none;
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
}
.page-link.is-current { background: var(--ink); color: #fff; }

.story-top { margin-bottom: 18px; }
.story-top .hero-copy { box-shadow: 10px 10px 0 rgba(255, 77, 109, 0.85); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; font-size: 0.92rem; }
.crumb { color: var(--cobalt); font-weight: 700; }
.story-photo { margin: 0; overflow: hidden; }
.story-photo img, .story-photo .fill { aspect-ratio: 16 / 9; min-height: 0; }
.sheet { margin-top: 18px; padding: 8px 8px 28px; }
.prose { width: min(760px, 100%); margin: 0 auto; padding: 22px 18px 0; }
.prose h2 { font-size: 1.8rem; margin: 1.4em 0 0.4em; }
.prose h3 { font-size: 1.35rem; margin: 1.2em 0 0.35em; }
.prose h4 { font-size: 1.1rem; margin: 1em 0 0.3em; }
.prose p, .prose li { color: #2a2144; }
.prose p { margin: 0.75em 0; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose a { color: #1730c9; font-weight: 700; }
.prose img { border-radius: 18px; margin: 12px 0; }
.prose blockquote {
  margin: 1em 0;
  padding: 12px 16px;
  border-left: 6px solid var(--coral);
  background: #fff4f6;
}
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.prose th, .prose td { border-bottom: 1px solid var(--line); text-align: left; padding: 8px 6px; vertical-align: top; }
.prose .method {
  margin-top: 28px;
  background: #fff7ea;
  border: 3px solid var(--ink);
  border-radius: 22px;
  padding: 18px 18px 8px;
}
.prose .method h2 { margin-top: 0.4em; }

.base {
  background: #12081f;
  color: #f7f1ff;
  padding: 36px 0 18px;
}
.foot {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 22px;
}
.foot h2 { font-size: 1.15rem; margin-bottom: 8px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 6px 0; }
.foot-link { color: #fff; text-decoration: none; font-weight: 700; }
.foot-link:hover { color: var(--gold); }
.foot-brand p { margin-top: 10px; color: #d9d0ea; max-width: 28ch; }
.legal { margin-top: 22px; color: #b7adc8; font-size: 0.92rem; }

.note-form { display: grid; gap: 8px; margin-top: 8px; }
.note-form label { font-weight: 800; font-size: 0.86rem; }
.note-form input,
.note-form textarea {
  width: 100%;
  border: 3px solid var(--ink);
  border-radius: 16px;
  padding: 12px 14px;
  background: #fff;
  color: var(--ink);
}
.note-form button {
  justify-self: start;
  margin-top: 8px;
  border: 0;
  background: var(--coral);
  color: #fff;
  font-weight: 800;
  border-radius: 999px;
  padding: 12px 20px;
  cursor: pointer;
}
.form-errors {
  margin: 0 0 12px;
  padding-left: 1.1em;
  color: #9d1238;
}
.sent {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #e7fff6;
}
.captcha { margin-top: 6px; }
.trap {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-frame, .hero-frame .fill { min-height: 240px; }
  .mosaic.n-12, .mosaic.n-8, .mosaic.n-fill { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; background: #12081f; }
  .nav.is-open { display: block; }
  .mast-row { flex-wrap: wrap; padding: 10px 0 12px; }
  .brand { margin-right: auto; }
  .finder { order: 3; flex: 1 1 100%; min-width: 0; margin-left: 0; }
  .brand-name { font-size: 1.35rem; }
}
@media (max-width: 640px) {
  .shell { width: min(1180px, calc(100% - 20px)); }
  .hero-copy { padding: 22px 18px; }
  .mosaic.n-8, .mosaic.n-12, .mosaic.n-fill { grid-template-columns: 1fr 1fr; }
  .mosaic.n-9 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile-title { font-size: 0.98rem; }
  .foot { grid-template-columns: 1fr; }
  .mast-row { min-height: 68px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
  .tile:hover { transform: none; }
}
