:root {
  --ink: #14232b;
  --navy: #073b4c;
  --deep: #041e28;
  --foam: #fff8ee;
  --butter: #ffe8a3;
  --mango: #ffb703;
  --coral: #ff6b35;
  --blush: #ff8fab;
  --lagoon: #2ec4b6;
  --sea: #118ab2;
  --line: rgba(7, 59, 76, 0.16);
  --sans: "Syne", "Avenir Next", sans-serif;
  --serif: "Literata", "Iowan Old Style", Georgia, serif;
  --shadow: 0 18px 0 rgba(4, 30, 40, 0.18);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.65;
  background-color: #ff7a3c;
  background-image:
    radial-gradient(circle at 8% 12%, #ffe14a 0 14%, transparent 15%),
    radial-gradient(circle at 96% 4%, #2ec4b6 0 18%, transparent 19%),
    radial-gradient(circle at 88% 92%, #118ab2 0 22%, transparent 23%),
    linear-gradient(155deg, #ff6b35 0%, #ffb703 36%, #2ec4b6 70%, #118ab2 100%);
  background-attachment: fixed;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
button, input, textarea { font: inherit; }
h1, h2, h3, h4 {
  font-family: var(--sans);
  line-height: 1.02;
  letter-spacing: -0.04em;
  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: 12px;
  z-index: 40;
  background: var(--mango);
  color: var(--deep);
  padding: 8px 12px;
  border-radius: 999px;
  font-family: var(--sans);
  text-decoration: none;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}
.skip:focus {
  clip: auto;
  clip-path: none;
  width: auto;
  height: auto;
  overflow: visible;
}
.frame {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.mast {
  position: sticky;
  top: 0;
  z-index: 8;
  background: var(--deep);
  color: var(--foam);
  box-shadow: 0 10px 0 #ff6b35;
}
.mast-row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 78px;
}
.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--foam);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 1.35rem;
  letter-spacing: -0.05em;
}
.mark-tile {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: linear-gradient(135deg, #ffe14a 50%, #2ec4b6 50%);
  box-shadow: 4px 4px 0 #ff6b35;
}
.seek {
  margin-left: auto;
  display: flex;
  background: #fff8ee;
  border-radius: 999px;
  overflow: hidden;
  flex: 0 1 240px;
  min-width: 168px;
}
.seek input {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 12px 16px;
  min-width: 0;
  width: 100%;
}
.seek input:focus { outline: 2px solid var(--sea); outline-offset: -2px; }
.seek button {
  border: 0;
  background: var(--mango);
  color: var(--deep);
  font-family: var(--sans);
  font-weight: 800;
  padding: 0 16px;
  cursor: pointer;
}
.menu-btn {
  display: none;
  border: 2px solid var(--foam);
  background: transparent;
  color: var(--foam);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--sans);
  font-weight: 800;
  cursor: pointer;
}
.chip-row { background: #ff6b35; }
.chip-row ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 12px 0 14px;
}
.nav-link {
  display: inline-block;
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: -0.03em;
  padding: 8px 14px;
  border-radius: 999px;
  background: #ffe14a;
  color: #14232b;
  white-space: nowrap;
}
.chip-row li:nth-child(2) .nav-link { background: #073b4c; color: #fff8ee; }
.chip-row li:nth-child(3) .nav-link { background: #2ec4b6; color: #042028; }
.chip-row li:nth-child(4) .nav-link { background: #fff8ee; color: #073b4c; }
.chip-row li:nth-child(5) .nav-link { background: #118ab2; color: #fff8ee; }
.chip-row li:nth-child(6) .nav-link { background: #ff8fab; color: #3b1020; }
.chip-row li:nth-child(7) .nav-link { background: #ffe14a; color: #14232b; }
.chip-row li:nth-child(8) .nav-link { background: #073b4c; color: #fff8ee; }
.nav-link.is-current { outline: 3px solid #041e28; }

.hero-slab { background: #118ab2; color: #fff8ee; padding: 48px 0 56px; }
.mix-slab { background: #073b4c; color: #fff8ee; padding: 48px 0 56px; }
.lane-slab { background: #ffb703; color: #14232b; padding: 48px 0 64px; }
.story-slab { background: #ffe8a3; color: #14232b; padding: 36px 0 64px; }
.contact-slab { background: #ff6b35; color: #fff8ee; padding: 42px 0 64px; }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}
.eyebrow {
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 12px;
}
.hero h1, .sheet h1, .story h1, .contact h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.8rem);
}
.hero h1 a, .lane h2 a { text-decoration: none; }
.hero h1 a:hover, .lane h2 a:hover { text-decoration: underline; text-underline-offset: 6px; }
.lede { margin-top: 16px; font-size: 1.18rem; max-width: 40rem; }
.go { margin-top: 22px; }
.hero .go a, .pill {
  display: inline-block;
  background: #ffe14a;
  color: #14232b;
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 800;
  padding: 14px 18px;
  border-radius: 999px;
  box-shadow: 6px 6px 0 #041e28;
}
.hero-photo a {
  display: block;
  background: #ffe14a;
  padding: 12px;
  border-radius: 32px;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}
.hero-photo img, .hero-photo .photo-fallback {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 22px;
  background: #073b4c;
}
.photo-fallback {
  display: grid;
  place-items: center;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 3rem;
  color: #ffe14a;
}

.slab-head { margin-bottom: 22px; max-width: 40rem; }
.slab-head h2, .lane h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.slab-head p, .lane header p { margin-top: 8px; }

.deck {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
}
.deck > li { display: flex; min-width: 0; }
.deck > li > a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  min-height: 100%;
  text-decoration: none;
  padding: 12px;
  border-radius: 22px;
  background: #ffe14a;
  color: #14232b;
}
.deck > li:nth-child(4n+2) > a { background: #2ec4b6; color: #042028; }
.deck > li:nth-child(4n+3) > a { background: #ff6b35; color: #1b1208; }
.deck > li:nth-child(4n+4) > a { background: #fff8ee; color: #073b4c; }
.deck > li > a:hover { transform: translateY(-4px); }
.card-photo {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(4, 30, 40, 0.12);
}
.card-photo img, .card-photo .photo-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-kicker {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.card-title {
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.12rem;
  line-height: 1.15;
  flex: 1;
}

.lanes { display: grid; gap: 36px; }
.lane header { margin-bottom: 16px; max-width: 38rem; }
.lane .deck > li > a { box-shadow: 0 8px 0 rgba(4, 30, 40, 0.12); }

.sheet { padding-bottom: 8px; }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
  font-family: var(--sans);
  font-size: 0.92rem;
}
.crumbs a { color: inherit; }
.story { max-width: 860px; }
.story-top { margin-bottom: 22px; }
.story-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.story-tags a {
  text-decoration: none;
  background: #073b4c;
  color: #fff8ee;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 6px 10px;
  border-radius: 999px;
}
.story-photo {
  margin: 0 0 24px;
  background: #073b4c;
  padding: 10px;
  border-radius: 28px;
}
.story-photo img { width: 100%; border-radius: 18px; max-height: 720px; object-fit: cover; }
.story-photo figcaption { color: #fff8ee; padding: 8px 6px 2px; font-size: 0.92rem; }
.prose { font-size: 1.12rem; }
.prose > * + * { margin-top: 1rem; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.6rem; }
.prose h2 { font-size: 2rem; }
.prose h3 { font-size: 1.45rem; }
.prose a { color: #0b4f6c; text-underline-offset: 3px; }
.prose img { border-radius: 18px; margin: 8px auto; }
.prose figure { margin: 1.2rem 0; }
.prose figcaption { font-size: 0.92rem; color: #3d4d55; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose blockquote {
  margin: 1.2rem 0;
  padding: 12px 16px;
  border-left: 8px solid #ff6b35;
  background: rgba(255, 255, 255, 0.45);
}
.prose table { width: 100%; border-collapse: collapse; background: rgba(255, 255, 255, 0.55); }
.prose th, .prose td { border: 1px solid #e2c98a; padding: 8px 10px; text-align: left; vertical-align: top; }
.prose pre, .prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.prose pre { overflow-x: auto; padding: 12px; background: #073b4c; color: #fff8ee; border-radius: 12px; }

.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.page-link {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 14px;
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 800;
  background: #ffe14a;
  color: #14232b;
}
.page-link.is-current { background: #fff8ee; outline: 3px solid #2ec4b6; }

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}
.letter {
  background: #fff8ee;
  color: #14232b;
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.letter form, .letter label { display: grid; gap: 8px; }
.letter form { gap: 14px; }
.letter label { font-family: var(--sans); font-weight: 800; font-size: 0.92rem; }
.letter-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.letter input, .letter textarea {
  width: 100%;
  border: 2px solid #073b4c;
  border-radius: 14px;
  padding: 12px;
  background: #fff;
  color: #14232b;
}
.letter input:focus, .letter textarea:focus {
  outline: 3px solid #2ec4b6;
  border-color: #118ab2;
}
.letter button {
  border: 0;
  background: #ffe14a;
  color: #14232b;
  font-family: var(--sans);
  font-weight: 800;
  border-radius: 999px;
  padding: 14px 18px;
  cursor: pointer;
  justify-self: start;
  box-shadow: 6px 6px 0 #041e28;
}
.captcha { min-height: 78px; }
.contact-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
}
.contact-points li {
  font-family: var(--sans);
  font-weight: 800;
  border-radius: 999px;
  padding: 8px 12px;
  background: #ffe14a;
  color: #14232b;
}
.contact-points li:nth-child(2) { background: #073b4c; color: #fff8ee; }
.contact-points li:nth-child(3) { background: #fff8ee; color: #073b4c; }
.company { position: absolute; left: -9999px; }
.note, .errors { background: #ffe14a; color: #14232b; border-radius: 14px; padding: 12px 14px; }
.errors { margin: 0 0 12px; }
.empty { font-size: 1.15rem; }

.base {
  background: #041e28;
  color: #fff8ee;
  padding: 42px 0 18px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 22px;
}
.foot-brand p { margin-top: 12px; max-width: 24rem; color: #d7efe9; }
.base h2 {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.base ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-link { color: #ffe14a; text-decoration: none; }
.foot-link:hover { text-decoration: underline; }
.legal { margin-top: 28px; padding-top: 14px; border-top: 1px solid rgba(255, 248, 238, 0.16); color: #d7efe9; }

@media (max-width: 980px) {
  .hero, .contact, .foot-grid { grid-template-columns: 1fr; }
  .deck { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seek { min-width: 0; flex: 1; }
}
@media (max-width: 720px) {
  .menu-btn { display: inline-flex; }
  .chip-row { display: none; }
  .chip-row.is-open { display: block; }
  .mast-row { min-height: 68px; gap: 8px; }
  .mark strong { font-size: 1rem; }
  .seek { display: none; }
  .deck, .letter-row { grid-template-columns: 1fr; }
  .hero-photo a { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .deck > li > a:hover { transform: none; }
}
