:root {
  color-scheme: light;
  --violet: #5b3df5;
  --yellow: #f0e500;
  --coral: #ff5a2c;
  --ink: #16130f;
  --paper: #f6f3ec;
  --cream: #fffaf0;
  --lilac: #e7defb;
  --green: #087f5b;
  --white: #ffffff;
  --muted: rgba(22, 19, 15, 0.66);
  --line: rgba(22, 19, 15, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--yellow);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

img,
svg {
  display: block;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.wp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 72px;
  padding: 14px 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 243, 236, 0.92);
  backdrop-filter: blur(14px);
}

.wp-brand,
.wp-nav,
.hero-actions,
.meta-row,
.recipe-meta,
.footer-links,
.admin-actions {
  display: flex;
  align-items: center;
}

.wp-brand {
  gap: 11px;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}

.brand-mark rect {
  fill: var(--violet);
}

.brand-mark .bar {
  fill: none;
  stroke-linecap: round;
  stroke-width: 14;
}

.brand-mark .paper {
  stroke: var(--paper);
}

.brand-mark .yellow {
  stroke: var(--yellow);
}

.brand-copy strong {
  display: block;
  font-family: "Bricolage Grotesque", "Space Grotesk", sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.brand-copy span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wp-nav {
  gap: 24px;
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.wp-nav a,
.wp-button,
.ad-card,
.footer-links a,
.recipe-card {
  transition: opacity 160ms ease, transform 160ms ease;
}

.wp-nav a:hover,
.wp-button:hover,
.footer-links a:hover {
  opacity: 0.72;
}

.wp-header .wp-button {
  justify-self: end;
}

.wp-button {
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.wp-button.secondary {
  background: transparent;
  color: var(--ink);
}

.wp-button.violet {
  border-color: var(--violet);
  background: var(--violet);
  color: var(--paper);
}

.wp-hero {
  min-height: calc(100vh - 72px);
  padding: clamp(58px, 7vw, 96px) 28px 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.7fr);
  align-items: end;
  gap: clamp(28px, 6vw, 88px);
  background:
    linear-gradient(90deg, rgba(22, 19, 15, 0.07) 0 1px, transparent 1px 100%),
    var(--yellow);
  background-size: 158px 100%;
}

.eyebrow {
  margin-bottom: 16px;
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wp-hero h1 {
  max-width: 980px;
  margin-bottom: 24px;
  font-family: "Bricolage Grotesque", "Space Grotesk", sans-serif;
  font-size: clamp(64px, 10.5vw, 172px);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 640px;
  margin-bottom: 30px;
  font-size: clamp(20px, 2.1vw, 31px);
  line-height: 1.12;
}

.hero-actions {
  gap: 14px;
  flex-wrap: wrap;
}

.hero-panel {
  min-height: 520px;
  padding: 18px;
  border: 1px solid rgba(22, 19, 15, 0.18);
  border-radius: 8px;
  background: var(--cream);
  display: grid;
  align-content: space-between;
  gap: 28px;
}

.pasta-card {
  min-height: 360px;
  padding: 22px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 90, 44, 0.92) 0 11%, transparent 12%),
    radial-gradient(circle at 69% 62%, rgba(91, 61, 245, 0.9) 0 13%, transparent 14%),
    linear-gradient(135deg, rgba(240, 229, 0, 0.95), rgba(255, 250, 240, 0.95));
  display: grid;
  align-content: end;
}

.pasta-card span {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--paper);
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.pasta-card h2 {
  max-width: 360px;
  margin: 14px 0 0;
  font-family: "Bricolage Grotesque", "Space Grotesk", sans-serif;
  font-size: clamp(40px, 5vw, 78px);
  line-height: 0.86;
}

.panel-note {
  margin: 0;
  color: var(--muted);
}

.section {
  padding: clamp(64px, 8vw, 108px) 28px;
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.5fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

.section h2,
.recipe-article h1,
.admin-main h1 {
  margin-bottom: 0;
  font-family: "Bricolage Grotesque", "Space Grotesk", sans-serif;
  font-size: clamp(42px, 7vw, 96px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: 0;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.ad-card {
  width: 100%;
  border: 1px dashed rgba(22, 19, 15, 0.36);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--ink);
  overflow: hidden;
}

.ad-card:hover {
  transform: translateY(-1px);
}

.ad-inner {
  min-height: 150px;
  padding: 18px;
  display: grid;
  align-content: center;
  gap: 8px;
}

.ad-card.leaderboard .ad-inner {
  min-height: 122px;
  grid-template-columns: 0.28fr 1fr auto;
  align-items: center;
}

.ad-label {
  width: max-content;
  max-width: 100%;
  padding: 4px 7px;
  background: var(--violet);
  color: var(--paper);
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.ad-card h3 {
  margin: 0;
  font-size: 20px;
}

.ad-card p {
  margin: 0;
  color: var(--muted);
}

.ad-cta {
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.blog-structure {
  background: var(--ink);
  color: var(--paper);
}

.structure-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(246, 243, 236, 0.18);
}

.structure-grid article {
  min-height: 230px;
  padding: 24px;
  background: var(--ink);
}

.structure-grid span {
  color: var(--yellow);
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.structure-grid h3 {
  margin: 30px 0 12px;
  font-size: 25px;
}

.structure-grid p {
  margin: 0;
  color: rgba(246, 243, 236, 0.72);
}

.recipe-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 28px;
  align-items: start;
}

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.recipe-card {
  min-height: 330px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.recipe-card:hover {
  transform: translateY(-2px);
}

.recipe-thumb {
  min-height: 180px;
  background:
    radial-gradient(circle at 24% 34%, rgba(255, 90, 44, 0.88) 0 10%, transparent 11%),
    radial-gradient(circle at 73% 58%, rgba(240, 229, 0, 0.95) 0 13%, transparent 14%),
    var(--lilac);
}

.recipe-card-body {
  padding: 18px;
}

.recipe-card h3 {
  margin-bottom: 10px;
  font-size: 26px;
  line-height: 1;
}

.recipe-card p {
  color: var(--muted);
}

.meta-row,
.recipe-meta {
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.recipe-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 18px;
}

.newsletter-box {
  padding: 22px;
  border-radius: 8px;
  background: var(--yellow);
}

.newsletter-box h3 {
  margin-bottom: 10px;
  font-size: 28px;
  line-height: 0.95;
}

.newsletter-form,
.lead-form {
  display: grid;
  gap: 10px;
}

.newsletter-form input,
.lead-form input,
.admin-field input,
.admin-field textarea,
.admin-field select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  padding: 10px 12px;
  background: var(--white);
  color: var(--ink);
}

.newsletter-form button,
.lead-form button {
  width: 100%;
}

.seo-system {
  background: var(--cream);
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.seo-grid article {
  min-height: 240px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.seo-grid h3 {
  margin-bottom: 12px;
  font-size: 27px;
}

.seo-grid p {
  color: var(--muted);
}

.recipe-page {
  background: var(--cream);
}

.recipe-shell {
  width: min(1160px, calc(100% - 56px));
  margin: 0 auto;
  padding: clamp(56px, 7vw, 92px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
  gap: 34px;
}

.recipe-article {
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.recipe-article h1 {
  margin-bottom: 22px;
}

.recipe-summary {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 21px;
}

.recipe-hero-image {
  min-height: 330px;
  margin: 26px 0;
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 26%, rgba(255, 90, 44, 0.9) 0 9%, transparent 10%),
    radial-gradient(circle at 70% 58%, rgba(91, 61, 245, 0.85) 0 12%, transparent 13%),
    linear-gradient(135deg, var(--yellow), var(--paper));
}

.recipe-hero-img {
  width: 100%;
  max-height: 680px;
  margin: 26px 0;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.recipe-section {
  padding-top: 28px;
}

.recipe-section h2 {
  margin-bottom: 14px;
  font-size: 34px;
}

.recipe-section li {
  margin-bottom: 10px;
}

.lead-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: end center;
  padding: 20px;
  background: rgba(22, 19, 15, 0.34);
}

.lead-backdrop.is-open {
  display: grid;
}

.lead-popup {
  width: min(520px, 100%);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 20px 80px rgba(22, 19, 15, 0.24);
}

.lead-popup h2 {
  margin-bottom: 12px;
  font-family: "Bricolage Grotesque", "Space Grotesk", sans-serif;
  font-size: 42px;
  line-height: 0.9;
}

.lead-popup p {
  color: var(--muted);
}

.close-lead {
  float: right;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  cursor: pointer;
}

.wp-footer {
  padding: 36px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
}

.footer-links {
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
}

.admin-body {
  background: var(--paper);
}

.admin-main {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  padding: 46px 0 80px;
}

.admin-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
  margin-bottom: 30px;
}

.admin-actions {
  gap: 10px;
  flex-wrap: wrap;
}

.admin-grid {
  display: grid;
  gap: 16px;
}

.banner-editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.admin-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-field.full {
  grid-column: 1 / -1;
}

.admin-field span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
}

.admin-preview {
  min-width: 0;
}

.admin-output {
  width: 100%;
  min-height: 260px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  overflow: auto;
  font-size: 12px;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 940px) {
  .wp-header {
    grid-template-columns: 1fr auto;
  }

  .wp-nav {
    display: none;
  }

  .wp-hero,
  .section-head,
  .recipe-layout,
  .recipe-shell,
  .banner-editor,
  .admin-top {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 420px;
  }

  .structure-grid,
  .seo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recipe-sidebar {
    position: static;
  }
}

@media (max-width: 660px) {
  .wp-header,
  .wp-hero,
  .section,
  .wp-footer {
    padding-inline: 18px;
  }

  .wp-header {
    min-height: 66px;
  }

  .brand-copy span {
    display: none;
  }

  .wp-header .wp-button {
    min-height: 38px;
    padding-inline: 12px;
    font-size: 10px;
  }

  .wp-hero {
    min-height: auto;
    padding-top: 48px;
  }

  .wp-hero h1 {
    font-size: clamp(58px, 19vw, 94px);
  }

  .hero-panel {
    min-height: 360px;
  }

  .structure-grid,
  .recipe-grid,
  .seo-grid,
  .admin-fields {
    grid-template-columns: 1fr;
  }

  .ad-card.leaderboard .ad-inner {
    grid-template-columns: 1fr;
  }

  .recipe-shell,
  .admin-main {
    width: min(100% - 32px, 1160px);
  }

  .wp-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 12px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.editorial-header {
  background: rgba(255, 250, 240, 0.94);
}

.editorial-hero {
  width: min(1220px, calc(100% - 56px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 108px) 0 clamp(44px, 6vw, 78px);
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.62fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
}

.hero-copy h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-family: "Bricolage Grotesque", "Space Grotesk", sans-serif;
  font-size: clamp(58px, 9vw, 128px);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: 0;
}

.hero-photo {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.hero-photo img,
.feature-card img,
.recipe-card img,
.about-layout img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo img {
  aspect-ratio: 4 / 5;
  border-radius: 6px;
}

.hero-photo figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.ad-band {
  padding-block: 22px;
}

.compact-head h2 {
  font-size: clamp(38px, 5.6vw, 74px);
}

.seasonal-section {
  background: var(--cream);
}

.seasonal-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.feature-card {
  min-height: 310px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  display: grid;
  grid-template-rows: minmax(160px, 1fr) auto auto;
  gap: 12px;
}

.feature-card.large-card {
  min-height: 470px;
}

.feature-card img,
.pattern-thumb {
  min-height: 180px;
  border-radius: 6px;
}

.feature-card.large-card img {
  min-height: 320px;
}

.feature-card span,
.guide-note span {
  width: max-content;
  max-width: 100%;
  padding: 5px 8px;
  background: var(--yellow);
  color: var(--ink);
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-card h3 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 0.98;
}

.pattern-thumb {
  background: linear-gradient(135deg, var(--lilac), var(--paper));
}

.pattern-thumb.herb {
  background:
    radial-gradient(circle at 26% 32%, rgba(8, 127, 91, 0.88) 0 10%, transparent 11%),
    radial-gradient(circle at 72% 62%, rgba(240, 229, 0, 0.92) 0 14%, transparent 15%),
    var(--paper);
}

.pattern-thumb.pesto {
  background:
    radial-gradient(circle at 35% 35%, rgba(8, 127, 91, 0.9) 0 22%, transparent 23%),
    radial-gradient(circle at 70% 60%, rgba(255, 90, 44, 0.78) 0 10%, transparent 11%),
    var(--cream);
}

.pattern-thumb.zucchini {
  background:
    radial-gradient(circle at 30% 70%, rgba(240, 229, 0, 0.95) 0 18%, transparent 19%),
    radial-gradient(circle at 72% 28%, rgba(91, 61, 245, 0.8) 0 11%, transparent 12%),
    var(--white);
}

.text-cta {
  display: inline-flex;
  margin-top: 24px;
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.index-section {
  padding-block: 36px;
  background: var(--ink);
  color: var(--paper);
}

.three-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(246, 243, 236, 0.18);
}

.three-link-grid a {
  min-height: 150px;
  padding: 24px;
  background: var(--ink);
  display: grid;
  align-content: space-between;
}

.three-link-grid span {
  color: var(--yellow);
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.three-link-grid strong {
  font-size: clamp(24px, 3vw, 42px);
  line-height: 0.95;
}

.newsletter-strip {
  background: var(--yellow);
}

.newsletter-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.7fr);
  gap: 28px;
  align-items: center;
}

.newsletter-layout h2 {
  font-size: clamp(34px, 4.8vw, 72px);
}

.wide-form {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: start;
}

.wide-form .form-status {
  grid-column: 1 / -1;
}

.guide-section {
  background: var(--paper);
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 22px;
}

.guide-note {
  min-height: 320px;
  padding: 24px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  align-content: space-between;
}

.guide-note p {
  margin: 0;
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.04;
}

.guide-card {
  min-height: 420px;
  padding: clamp(26px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  display: grid;
  align-content: center;
  justify-items: start;
}

.guide-card h2,
.school-layout h2,
.about-layout h2 {
  margin-bottom: 18px;
  font-family: "Bricolage Grotesque", "Space Grotesk", sans-serif;
  font-size: clamp(42px, 6vw, 88px);
  line-height: 0.9;
}

.editorial-recipe-layout {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
}

.collection-card {
  padding: 24px;
  border-radius: 8px;
  background: var(--lilac);
}

.collection-card h3 {
  font-size: 34px;
  line-height: 0.95;
}

.pasta-school {
  background: var(--cream);
}

.school-layout,
.about-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.58fr) minmax(0, 0.9fr);
  gap: clamp(26px, 6vw, 76px);
  align-items: center;
}

.school-image {
  min-height: 520px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(22, 19, 15, 0.12) 0 1px, transparent 1px 100%),
    radial-gradient(circle at 34% 28%, rgba(240, 229, 0, 0.95) 0 17%, transparent 18%),
    radial-gradient(circle at 72% 68%, rgba(255, 90, 44, 0.9) 0 13%, transparent 14%),
    var(--violet);
  background-size: 86px 100%, auto, auto, auto;
}

.about-section {
  background: var(--white);
}

.about-layout figure {
  margin: 0;
  min-height: 560px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
}

.about-layout article p {
  max-width: 680px;
  color: var(--muted);
  font-size: 20px;
}

.editorial-footer {
  align-items: start;
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
  gap: 42px;
  background: var(--ink);
  color: var(--paper);
}

.editorial-footer p {
  color: rgba(246, 243, 236, 0.72);
}

.footer-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 18px;
}

.footer-form input {
  min-height: 44px;
  border: 1px solid rgba(246, 243, 236, 0.26);
  border-radius: 6px;
  padding: 10px 12px;
  background: rgba(246, 243, 236, 0.08);
  color: var(--paper);
}

.footer-form .form-status {
  grid-column: 1 / -1;
  color: rgba(246, 243, 236, 0.72);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer-columns h3 {
  color: var(--yellow);
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.footer-columns a {
  display: block;
  margin-top: 10px;
  color: rgba(246, 243, 236, 0.72);
}

.class-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  max-width: min(430px, calc(100% - 36px));
  padding: 12px 12px 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--yellow);
  box-shadow: 0 16px 50px rgba(22, 19, 15, 0.18);
  display: none;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
}

.class-banner.is-visible {
  display: grid;
}

.class-banner span,
.class-banner a {
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.class-banner a {
  text-decoration: underline;
}

.class-banner button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

@media (max-width: 1020px) {
  .editorial-hero,
  .newsletter-layout,
  .guide-layout,
  .school-layout,
  .about-layout,
  .editorial-footer {
    grid-template-columns: 1fr;
  }

  .seasonal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card.large-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .editorial-hero {
    width: min(100% - 32px, 1220px);
  }

  .hero-copy h1 {
    font-size: clamp(50px, 16vw, 76px);
  }

  .seasonal-grid,
  .three-link-grid,
  .wide-form,
  .footer-form,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .school-image,
  .about-layout figure {
    min-height: 360px;
  }

  .class-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }
}
