:root {
  --ink: #1c1916;
  --night: #10241c;
  --cream: #f3eee4;
  --foam: #fffdf8;
  --persimmon: #e24a1b;
  --yolk: #f0b429;
  --celadon: #1f7a68;
  --mist: #e5f3ee;
  --line: #d9d0c2;
  --display: "Bricolage Grotesque", "Avenir Next", sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin: 0 0 0.7rem;
}
p { margin: 0 0 0.95rem; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--yolk); color: var(--night); }

.sr, .skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip {
  top: -80px;
  left: 0;
}

.shell { width: min(var(--wrap), calc(100% - 48px)); margin: 0 auto; }

.mast { background: var(--night); color: #f6f1e7; }
.mast-row {
  display: grid;
  grid-template-columns: auto 1fr minmax(240px, 360px) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #f6f1e7;
}
.mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--persimmon);
  color: #fffdf8;
  font-family: var(--display);
  font-weight: 760;
  font-size: 1.4rem;
}
.word {
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 760;
  letter-spacing: -0.05em;
}
.mast-line {
  margin: 0;
  color: #d7c7a4;
  font-family: var(--display);
  font-size: 0.92rem;
  letter-spacing: -0.02em;
}
.finder { display: flex; gap: 0; }
.finder input {
  width: 100%;
  border: 0;
  background: #f6f1e7;
  color: var(--night);
  padding: 11px 12px;
}
.finder button, .nav-toggle {
  border: 0;
  background: var(--yolk);
  color: var(--night);
  padding: 11px 14px;
  font-family: var(--display);
  font-weight: 760;
  cursor: pointer;
}
.nav-toggle { display: none; }
.nav-ribbon { border-top: 1px solid rgba(246, 241, 231, 0.16); }
.nav-ribbon ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  width: min(var(--wrap), calc(100% - 48px));
  margin: 0 auto;
  padding: 12px 0 14px;
}
.nav-link {
  color: #f6f1e7;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 560;
  letter-spacing: -0.02em;
}
.nav-link.is-current { box-shadow: inset 0 -3px 0 var(--persimmon); }

.kicker {
  margin: 0 0 10px;
  color: var(--persimmon);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.lede { font-size: 1.18rem; max-width: 40rem; }
.section-note { max-width: 38rem; color: #3d3832; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
  background: var(--night);
  color: #f6f1e7;
}
.hero-copy { padding: 48px 6vw 44px; }
.hero h1 {
  color: var(--yolk);
  font-size: clamp(3rem, 5.6vw, 5.3rem);
  max-width: 11ch;
}
.hero .lede { color: #f6f1e7; }
.hero .kicker { color: var(--persimmon); }
.cta {
  display: inline-block;
  margin-top: 8px;
  background: var(--persimmon);
  color: #fffdf8;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 760;
  padding: 12px 16px;
}
.hero-photo {
  display: block;
  position: relative;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  text-decoration: none;
  color: #f6f1e7;
  background: #1b3a2e;
}
.hero-photo img, .hero-photo .photo-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-flag {
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: min(100%, 28rem);
  background: var(--yolk);
  color: var(--night);
  padding: 14px 16px 16px;
}
.hero-flag strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.hero-flag span {
  display: block;
  margin-bottom: 4px;
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.band, .archive, .also { padding: 36px 0 8px; }
.band-head h2, .banner h1, .story-head h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
}
.lane { padding: 32px 0 36px; }
.lane:nth-of-type(odd) { background: var(--mist); }
.lane:nth-of-type(even) { background: #fff6ea; }
.lane-more {
  display: inline-block;
  margin-top: 16px;
  color: var(--celadon);
  font-family: var(--display);
  font-weight: 760;
  text-decoration: none;
  border-bottom: 2px solid var(--celadon);
}

.shelf {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.shelf.count-8 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.shelf.count-9,
.shelf.count-6,
.shelf.count-12 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plate {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  background: var(--foam);
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--night);
  border-top: 7px solid var(--persimmon);
}
.shelf .plate:nth-child(3n + 2) { border-top-color: var(--celadon); }
.shelf .plate:nth-child(3n) { border-top-color: var(--yolk); }
.plate-photo { background: #efe6d6; }
.plate-photo img, .plate-photo .photo-fallback {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}
.plate-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 12px 16px;
  flex: 1;
}
.plate-kind {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--celadon);
}
.plate-name {
  font-family: var(--display);
  font-size: 1.18rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  min-height: 2.7em;
}
.photo-fallback {
  display: grid;
  place-items: center;
  background:
    linear-gradient(160deg, var(--night), #1f7a68 70%, var(--persimmon));
  color: var(--yolk);
  font-family: var(--display);
  font-size: 2.6rem;
}

.banner { padding: 36px 0 8px; }
.story-head { padding: 34px 0 8px; }
.story-head h1 { max-width: 18ch; }
.story-photo {
  width: min(var(--wrap), calc(100% - 48px));
  margin: 8px auto 0;
  background: #efe6d6;
  border-bottom: 8px solid var(--celadon);
}
.story-photo img, .story-photo .photo-fallback {
  width: 100%;
  aspect-ratio: 16 / 8;
  max-height: 560px;
  object-fit: cover;
}
.story-body { padding: 26px 0 12px; }
.prose { max-width: 740px; }
.prose h2 { font-size: 1.9rem; margin-top: 1.5rem; }
.prose h3 { font-size: 1.28rem; margin-top: 1.1rem; }
.prose ul, .prose ol { margin: 0 0 1rem 1.2rem; }
.prose li { margin: 0.28rem 0; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose a { color: var(--celadon); }
.prose .method {
  background: var(--mist);
  border-left: 8px solid var(--persimmon);
  padding: 8px 18px 14px;
  margin: 28px 0;
}
.prose img { margin: 14px 0; border-bottom: 6px solid var(--yolk); }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-bottom: 12px;
  font-family: var(--display);
  font-size: 0.88rem;
}
.crumbs a { text-decoration: none; font-weight: 560; }
.crumbs span { opacity: 0.45; }

.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 10px;
}
.page-link {
  text-decoration: none;
  border: 1px solid var(--night);
  padding: 7px 12px;
  background: var(--foam);
  font-family: var(--display);
  font-weight: 760;
}
.page-link.is-current { background: var(--night); color: var(--yolk); }

.colophon {
  margin-top: 42px;
  background: var(--night);
  color: #f6f1e7;
  padding: 36px 0 16px;
}
.colophon .brand, .colophon .word { color: #f6f1e7; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 22px;
}
.colophon h2 {
  font-size: 1rem;
  color: var(--yolk);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.foot-link { color: #f6f1e7; text-decoration: none; }
.colophon li { margin: 6px 0; }
.legal { margin-top: 22px; padding-bottom: 8px; color: #d7c7a4; font-size: 0.92rem; }
.finder.wide { max-width: 520px; margin-top: 12px; }

.contact-stage { padding: 36px 0 16px; }
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
}
.contact-intro h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.contact-points { margin: 8px 0 0 1.1rem; list-style: disc; }
.contact-points li { margin: 0.3rem 0; }
.contact-panel {
  background: var(--foam);
  border: 1px solid var(--night);
  border-top: 8px solid var(--persimmon);
  padding: 22px 22px 26px;
}
.note-form label {
  display: block;
  margin: 14px 0 6px;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.note-form input,
.note-form textarea {
  width: 100%;
  border: 1px solid var(--night);
  background: #fff;
  padding: 12px;
}
.note-form button {
  margin-top: 16px;
  border: 0;
  background: var(--persimmon);
  color: #fffdf8;
  font-family: var(--display);
  font-weight: 760;
  padding: 12px 16px;
  cursor: pointer;
}
.captcha { margin-top: 16px; }
.form-errors {
  margin: 0 0 8px 1.1rem;
  list-style: disc;
  color: var(--persimmon);
  font-family: var(--display);
}
.sent {
  margin: 0 0 12px;
  background: var(--mist);
  border-left: 8px solid var(--celadon);
  padding: 12px 14px;
}
.trap {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

@media (max-width: 980px) {
  .mast-row { grid-template-columns: auto 1fr auto; }
  .mast-line { display: none; }
  .hero, .foot-grid, .contact-grid { grid-template-columns: 1fr 1fr; }
  .shelf.count-8 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .shell { width: min(var(--wrap), calc(100% - 28px)); }
  .mast-row { grid-template-columns: 1fr auto; }
  .finder { grid-column: 1 / -1; }
  .nav-toggle { display: inline-block; width: 100%; }
  .nav-ribbon { display: none; }
  .nav-ribbon.is-open { display: block; }
  .nav-ribbon ul { flex-direction: column; gap: 12px; padding-bottom: 16px; }
  .hero, .foot-grid, .contact-grid, .shelf, .shelf.count-8, .shelf.count-9, .shelf.count-6, .shelf.count-12 {
    grid-template-columns: 1fr;
  }
  .hero-copy { padding: 32px 18px 24px; }
  .hero-photo { height: auto; aspect-ratio: 16 / 10; }
  .story-photo { aspect-ratio: 4 / 3; }
}
@media (min-width: 761px) and (max-width: 980px) {
  .shelf.count-9, .shelf.count-12 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
