:root {
  --ink: #1b1230;
  --cream: #fff4e6;
  --paper: #fffaf3;
  --mango: #e06a00;
  --berry: #d01250;
  --cobalt: #2a3fd6;
  --leaf: #0c8a4b;
  --grape: #6b2de0;
  --lemon: #ffe14a;
  --line: rgba(27, 18, 48, 0.14);
  --shadow: 10px 10px 0 var(--ink);
  --sans: "Schibsted Grotesk", "Avenir Next", sans-serif;
  --display: "Newsreader", "Iowan Old Style", "Palatino", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 8% -10%, #ffe14a 0 140px, transparent 141px),
    radial-gradient(circle at 100% 8%, #ffd0e2 0 180px, transparent 181px),
    var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
}
img { max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
}
p { margin: 0 0 1rem; }
.wrap { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.sr, .hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--lemon);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 30;
}
.skip-link:focus { top: 12px; }

.rainbow {
  height: 14px;
  background: linear-gradient(90deg, var(--mango) 0 16%, var(--berry) 16% 32%, var(--cobalt) 32% 50%, var(--leaf) 50% 68%, var(--grape) 68% 84%, var(--lemon) 84% 100%);
}
#site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 243, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 78px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--berry);
  color: white;
  font-family: var(--display);
  font-weight: 600;
  transform: rotate(-8deg);
  box-shadow: 4px 4px 0 var(--ink);
}
.logo-word {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.8rem;
  letter-spacing: -0.02em;
}
.tagline {
  margin: 0;
  color: #5c516e;
  font-weight: 500;
  font-size: 0.92rem;
}
.finder { display: flex; gap: 8px; }
.captcha { margin: 8px 0 4px; }
.finder input, .desk-form input, .desk-form textarea {
  border: 3px solid var(--ink);
  background: white;
  border-radius: 999px;
  padding: 10px 16px;
  min-width: 0;
}
.desk-form textarea { border-radius: 18px; width: 100%; }
.finder button, .desk-form button, .button-link {
  border: 3px solid var(--ink);
  background: var(--lemon);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
}
.nav-toggle {
  display: none;
  border: 3px solid var(--ink);
  background: white;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
}
.menu ul {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0 0 14px;
  flex-wrap: wrap;
}
.nav-link {
  display: inline-flex;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
  border: 2px solid transparent;
}
.nav-link:hover, .nav-link.is-current {
  background: var(--ink);
  color: var(--lemon);
}

.hero {
  display: grid;
  gap: 18px;
  padding: 28px 0 10px;
}
.feature a, .rail a, .card a {
  display: block;
  text-decoration: none;
  color: inherit;
}
.feature {
  background: #1b1230;
  color: #fffaf3;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.feature-media, .card-media, .story-figure, .rail .avatar, .inline-figure {
  display: block;
  overflow: hidden;
  background: var(--tone, var(--berry));
}
.feature-media { aspect-ratio: 16 / 10; }
.feature-media .photo, .card-media .photo, .story-figure .photo, .rail .avatar, .inline-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feature-plate { display: block; padding: 22px 24px 28px; }
.kicker {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tone, var(--berry));
  margin-bottom: 8px;
}
.feature .kicker { color: var(--lemon); }
.feature-title, .card-title, .rail-title {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.12;
}
.feature-title { font-size: clamp(2.2rem, 5vw, 4.4rem); max-width: 16ch; }
.dek, .card-dek { display: block; margin-top: 10px; max-width: 62ch; }
.feature .dek { color: #f3e7d4; }
.meta-row, .ticket {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  font-size: 0.92rem;
  font-weight: 500;
}
.rail {
  background: white;
  border: 3px solid var(--ink);
  border-radius: 28px;
  padding: 16px 16px 8px;
  box-shadow: 8px 8px 0 var(--mango);
  display: flex;
  flex-direction: column;
}
.rail h2 { font-size: 1.4rem; margin-bottom: 4px; }
.rail ol {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.rail li {
  flex: 1;
  display: flex;
  border-top: 1px solid var(--line);
}
.rail li:first-child { border-top: 0; }
.rail a { display: grid; grid-template-columns: 74px 1fr; gap: 12px; align-items: center; padding: 8px 0; width: 100%; }
.rail .avatar { width: 74px; height: 74px; border-radius: 18px; }
.rail-title { font-size: 1.05rem; }

.band { padding: 10px 0 34px; }
.band-head { margin-bottom: 16px; }
.band-head h2 { font-size: clamp(2rem, 4vw, 3.4rem); max-width: 16ch; }
.band-hot {
  background: var(--mango);
  color: var(--ink);
  width: min(1180px, calc(100% - 32px));
  border-radius: 36px;
  padding: 28px 22px 32px;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
}
.lanes { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; }
.lane {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--tone);
  box-shadow: 4px 4px 0 var(--ink);
}
.lane a {
  display: inline-flex;
  color: var(--on, #fffaf3);
  text-decoration: none;
  font-weight: 600;
  padding: 12px 16px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.card {
  background: white;
  border: 3px solid var(--ink);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 7px 7px 0 var(--tone, var(--berry));
  min-width: 0;
}
.card-media { aspect-ratio: 4 / 5; }
.card-copy { display: block; padding: 14px 14px 16px; }
.card-title { font-size: 1.25rem; overflow-wrap: anywhere; }
.card-dek {
  color: #4d445c;
  font-size: 0.92rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.photo-empty {
  background:
    radial-gradient(circle at 30% 30%, var(--lemon) 0 16%, transparent 17%),
    radial-gradient(circle at 72% 68%, #fff 0 18%, transparent 19%),
    var(--tone, var(--berry));
}

.lane-hero {
  background: var(--tone);
  color: var(--on, #fffaf3);
  padding: 48px 0 36px;
}
.lane-hero .kicker, .lane-hero .dek, .lane-hero .count { color: inherit; }
.lane-hero h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); max-width: 12ch; }
.count { font-weight: 600; }

.page-head { padding: 36px 0 10px; }
.page-head h1, .story-top h1, .missing h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); max-width: 16ch; }
.story { padding-top: 24px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-weight: 600; font-size: 0.92rem; margin-bottom: 12px; }
.crumbs a { color: var(--cobalt); }
.story-figure {
  margin: 18px 0 22px;
  border-radius: 32px;
  border: 3px solid var(--ink);
  aspect-ratio: 16 / 10;
  box-shadow: 14px 14px 0 var(--berry);
}
.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  align-items: start;
}
.story-body h2, .story-body h3 { margin: 1.4rem 0 0.6rem; }
.story-body h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.story-body a { color: var(--cobalt); font-weight: 600; }
.prose-list { padding-left: 1.2rem; }
.prose-list li { margin: 0.35rem 0; }
blockquote {
  margin: 1rem 0;
  padding: 12px 16px;
  border-left: 8px solid var(--mango);
  background: white;
  font-weight: 500;
}
.inline-figure {
  margin: 16px 0;
  border-radius: 24px;
  border: 3px solid var(--ink);
  aspect-ratio: 4 / 3;
}
.glance {
  position: sticky;
  top: 108px;
  background: var(--lemon);
  border: 3px solid var(--ink);
  border-radius: 24px;
  padding: 16px;
  box-shadow: 6px 6px 0 var(--ink);
}
.glance h2 { font-size: 1.4rem; margin-bottom: 8px; }
.glance dl { margin: 0; }
.glance div { padding: 8px 0; border-top: 1px solid rgba(27, 18, 48, 0.18); }
.glance dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.glance dd { margin: 0; font-weight: 600; }
.ticket a { font-weight: 600; color: var(--cobalt); }

.recipe {
  margin-top: 28px;
  background: white;
  border: 3px solid var(--ink);
  border-radius: 32px;
  padding: 22px;
  box-shadow: 12px 12px 0 var(--cobalt);
}
.recipe-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.times { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 14px 0 0; }
.times li {
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 600;
}
.times span { color: var(--berry); }
.recipe-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 22px; margin-top: 18px; }
.ingredients, .steps { padding: 0; margin: 8px 0 0; }
.ingredients { list-style: none; }
.ingredients li {
  padding: 8px 0 8px 28px;
  border-bottom: 1px dashed var(--line);
  position: relative;
}
.ingredients li::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--mango);
  border: 2px solid var(--ink);
  position: absolute;
  left: 0;
  top: 12px;
}
.steps { list-style: none; }
.steps li { display: grid; grid-template-columns: 36px 1fr; gap: 10px; margin: 0 0 12px; }
.step-no {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--berry);
  color: white;
  font-weight: 600;
}
.recipe-notes { margin-top: 12px; background: #fff6cc; border-radius: 16px; padding: 12px; }

.related { margin-top: 28px; }
.cards-related { grid-template-columns: repeat(4, 1fr); }
.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 8px 0 48px;
  padding: 0;
  clear: both;
}
.page-link {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border-radius: 14px;
  border: 3px solid var(--ink);
  background: white;
  text-decoration: none;
  font-weight: 600;
}
.page-link.is-current { background: var(--ink); color: var(--lemon); }

.sheet { padding-bottom: 40px; }
.desk-form { display: grid; gap: 12px; max-width: 640px; margin-top: 10px; }
.desk-form label { display: grid; gap: 6px; font-weight: 600; }
.search-form { grid-template-columns: 1fr auto; align-items: end; }
.form-note, .form-errors {
  background: white;
  border: 3px solid var(--ink);
  border-radius: 16px;
  padding: 12px;
}
.legal-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.legal-links a { font-weight: 600; }
.missing { padding: 48px 0 70px; }
.button-link { display: inline-flex; margin-top: 8px; }

#site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 36px 0 18px;
  margin-top: 20px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 22px; }
.giant {
  font-family: var(--display);
  font-size: clamp(4rem, 10vw, 7rem);
  line-height: 0.92;
  margin: 0 0 8px;
  color: var(--lemon);
}
.foot-logo { font-family: var(--display); font-size: 1.6rem; font-weight: 600; text-decoration: none; }
.foot-note { color: #eadfcf; max-width: 36ch; }
.foot-grid h2 { font-size: 1.2rem; margin-bottom: 8px; color: var(--lemon); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin: 6px 0; }
.foot-link { text-decoration: none; font-weight: 500; }
.foot-link:hover { color: var(--lemon); }
.legal-line { border-top: 1px solid rgba(255, 250, 243, 0.16); margin-top: 22px; padding-top: 12px; color: #eadfcf; }

@media (max-width: 980px) {
  .cards, .cards-related { grid-template-columns: repeat(2, 1fr); }
  .story-layout, .recipe-grid, .foot-grid, .search-form { grid-template-columns: 1fr; }
  .glance { position: static; }
  .tagline { display: none; }
}
@media (max-width: 720px) {
  .cards, .cards-related { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .menu { display: none; }
  #site-header.is-open .menu { display: block; }
  .bar { flex-wrap: wrap; padding: 10px 0; }
  .finder { order: 3; width: 100%; }
  .finder input { flex: 1; }
  .feature-title { font-size: 2.3rem; }
  .story-figure { box-shadow: 8px 8px 0 var(--berry); }
}
@media (min-width: 981px) {
  .hero { grid-template-columns: 1.45fr 0.7fr; align-items: stretch; }
}
