/* =============================================================
   MCF Editorial — design system
   Modern editorial: white paper, ink typography, saffron accent,
   deep-lagoon dark sections. Fraunces (display) + Inter (body).
   ============================================================= */

:root {
  --paper: #ffffff;
  --mist: #f6f3ec;
  --sand: #efeae0;
  --line: #e4dfd3;
  --ink: #12181d;
  --ink-2: #44525b;
  --ink-3: #66757e;
  --saffron: #f3a72f;
  --saffron-deep: #c97e06;
  --lagoon: #0c333b;
  --lagoon-2: #10454f;
  --sea: #12705f;
  --sea-soft: #e5f0ea;
  --danger: #b3372d;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -22px rgba(18, 24, 29, 0.28);
  --shadow-soft: 0 10px 26px -18px rgba(18, 24, 29, 0.22);
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
}

/* ---------- Reset / base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--sea); text-decoration: none; }
a:hover { color: var(--saffron-deep); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; }

:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: 2px;
  border-radius: 4px;
}

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

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 999;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Layout ---------- */

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(56px, 9vw, 110px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--mist { background: var(--mist); }
.section--dark { background: var(--lagoon); color: #f2f5f4; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.section-title { font-size: clamp(1.75rem, 3.4vw, 2.6rem); margin: 0; }

.section--dark .section-title { color: #fff; }

/* ---------- Small components ---------- */

.kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sea);
  margin-bottom: 10px;
}
.section--dark .kicker { color: var(--saffron); }

.link-arrow {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  border-bottom: 2px solid var(--saffron);
  padding-bottom: 2px;
  white-space: nowrap;
}
.link-arrow:hover { color: var(--saffron-deep); }
.section--dark .link-arrow { color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  padding: 15px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary { background: var(--saffron); color: var(--ink); }
.btn--primary:hover { background: var(--ink); color: #fff; }

.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }

.section--dark .btn--ghost { border-color: rgba(255,255,255,0.7); color: #fff; }
.section--dark .btn--ghost:hover { background: #fff; color: var(--ink); }

.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sea);
  background: var(--sea-soft);
  padding: 5px 12px;
  border-radius: 999px;
}
.tag:hover { background: var(--saffron); color: var(--ink); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}
.chip--verified { background: var(--sea-soft); color: var(--sea); }
.chip--sponsored { background: #fdf1dc; color: #8a5a00; }
.chip--expired { background: #f9e3e0; color: var(--danger); }
.chip--open { background: var(--sea-soft); color: var(--sea); }

.card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--ink-3);
  flex-wrap: wrap;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.16rem;
  line-height: 1.05;
}
.brand:hover { color: var(--ink); }
.brand img { max-height: 52px; width: auto; }

.brand-mark {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--lagoon);
  color: var(--saffron);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  font-family: var(--font-body);
  font-weight: 800;
  flex: none;
}

.brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 3px;
}

.site-nav .nav-list {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-2);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a {
  color: var(--ink);
  border-bottom-color: var(--saffron);
}

.header-actions { display: flex; align-items: center; gap: 14px; }

.header-actions .btn { padding: 12px 22px; font-size: 0.9rem; }

.search-toggle,
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.search-toggle:hover, .nav-toggle:hover { border-color: var(--ink); }

.nav-toggle { display: none; }

/* Search drawer */
.search-drawer {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 18px 0;
}
.search-drawer.is-open { display: block; }

.search-form { display: flex; gap: 10px; }
.search-form input[type="search"] {
  flex: 1;
  font: inherit;
  padding: 13px 18px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--mist);
}
.search-form input[type="search"]:focus { border-color: var(--saffron); outline: none; }

/* Mobile nav */
@media (max-width: 920px) {
  .site-nav {
    position: fixed;
    inset: 78px 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 18px var(--gutter) 28px;
    display: none;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: block; }
  .site-nav .nav-list { flex-direction: column; gap: 4px; }
  .site-nav a { display: block; padding: 12px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
}

/* ---------- Ticker ---------- */

.ticker {
  background: var(--saffron);
  color: var(--ink);
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
  border-bottom: 1px solid rgba(18, 24, 29, 0.12);
}
.ticker-track {
  display: inline-block;
  animation: ticker 28s linear infinite;
}
.ticker span {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-right: 44px;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Hero ---------- */

.hero { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 6vw, 80px); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-title {
  font-size: clamp(2.5rem, 5.6vw, 4.4rem);
  font-weight: 600;
  margin: 0 0 20px;
}
.hero-title em {
  font-style: italic;
  color: var(--saffron-deep);
}

.hero-sub {
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  color: var(--ink-2);
  max-width: 34em;
  margin-bottom: 30px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats {
  display: flex;
  gap: clamp(24px, 4vw, 52px);
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 700;
}
.hero-stats span { font-size: 0.82rem; color: var(--ink-3); }

.hero-feature {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  background: var(--lagoon);
  display: block;
}
.hero-feature img { width: 100%; height: 100%; object-fit: cover; }

.hero-feature-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(20px, 3vw, 32px);
  background: linear-gradient(180deg, transparent, rgba(10, 22, 27, 0.86) 62%);
  color: #fff;
}
.hero-feature-overlay .tag { background: var(--saffron); color: var(--ink); }
.hero-feature-overlay h3 {
  color: #fff;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  margin: 12px 0 6px;
}
.hero-feature-overlay p { color: rgba(255,255,255,0.78); font-size: 0.9rem; margin: 0; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-feature { aspect-ratio: 16 / 10; }
}

/* ---------- Thumbs & cards ---------- */

.thumb {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--sand);
  position: relative;
}
.thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.card:hover .thumb img { transform: scale(1.045); }

.thumb-fallback {
  display: grid;
  place-items: center;
  width: 100%; height: 100%;
  min-height: 200px;
  background: linear-gradient(135deg, var(--lagoon), var(--lagoon-2));
  color: var(--saffron);
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
}

.card { position: relative; }
.card h3 { font-size: 1.22rem; margin: 14px 0 8px; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--saffron-deep); }
.card .excerpt { color: var(--ink-2); font-size: 0.93rem; margin: 6px 0 0; }

.card-link-cover::after {
  content: "";
  position: absolute;
  inset: 0;
}

/* Story grids */
.grid {
  display: grid;
  gap: clamp(22px, 3vw, 36px);
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* Featured story split */
.stories-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(28px, 4vw, 52px);
}
.story-lead .thumb { aspect-ratio: 16 / 10; }
.story-lead h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-top: 18px; }

.story-list { display: flex; flex-direction: column; }
.story-row {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  position: relative;
}
.story-row:first-child { padding-top: 0; }
.story-row .thumb { aspect-ratio: 1; }
.story-row h3 { font-size: 1.04rem; margin: 6px 0 0; }

@media (max-width: 880px) {
  .stories-split { grid-template-columns: 1fr; }
}

/* Chef cards */
.chef-card { text-align: left; }
.chef-card .thumb { aspect-ratio: 3 / 4; border-radius: var(--radius); }
.chef-card .chip { position: absolute; top: 12px; left: 12px; z-index: 2; background: #fff; }
.chef-card h3 { margin: 14px 0 2px; font-size: 1.15rem; }
.chef-role { font-size: 0.86rem; color: var(--ink-2); margin: 0; }
.chef-prop { font-size: 0.8rem; color: var(--ink-3); margin: 2px 0 0; }

/* Horizontal scroller (chefs on home) */
.scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 1fr);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--saffron) transparent;
}
.scroller > * { scroll-snap-align: start; }

/* Recipe cards */
.recipe-card .thumb { aspect-ratio: 1; border-radius: var(--radius); }
.recipe-facts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.fact {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--mist);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 999px;
}

/* Job rows */
.job-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  margin-bottom: 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  position: relative;
}
.job-row:hover {
  border-color: var(--saffron);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}
.job-row h3 { margin: 0 0 4px; font-size: 1.14rem; }
.job-facts { font-size: 0.86rem; color: var(--ink-2); display: flex; gap: 16px; flex-wrap: wrap; }
.job-facts span { display: inline-flex; align-items: center; gap: 6px; }
.job-cta { text-align: right; display: grid; gap: 8px; justify-items: end; }
.job-closing { font-size: 0.78rem; color: var(--ink-3); }
.job-closing.is-soon { color: var(--danger); font-weight: 600; }

@media (max-width: 640px) {
  .job-row { grid-template-columns: 1fr; }
  .job-cta { justify-items: start; text-align: left; }
}

/* Event cards */
.event-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px;
  position: relative;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.event-card:hover { border-color: var(--saffron); box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.event-date {
  width: 92px; height: 92px;
  border-radius: var(--radius-sm);
  background: var(--lagoon);
  color: #fff;
  display: grid;
  place-content: center;
  text-align: center;
  line-height: 1.05;
}
.event-date strong { font-family: var(--font-display); font-size: 1.9rem; display: block; color: var(--saffron); }
.event-date span { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.event-card h3 { font-size: 1.15rem; margin: 2px 0 6px; }
.event-facts { font-size: 0.85rem; color: var(--ink-2); }

/* Partner band */
.partner-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
}
.partner-tile {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  min-height: 110px;
  display: grid;
  place-items: center;
  padding: 18px;
  text-align: center;
  color: #fff;
  transition: background 0.15s ease, border-color 0.15s ease;
  position: relative;
}
.partner-tile:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--saffron); }
.partner-tile img { max-height: 56px; width: auto; object-fit: contain; filter: grayscale(1) brightness(4); }
.partner-tile:hover img { filter: none; }
.partner-tile span { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: #fff; }
.partner-tile small { display: block; color: rgba(255,255,255,0.6); font-size: 0.72rem; margin-top: 6px; letter-spacing: 0.1em; text-transform: uppercase; }

/* Partner archive (light) */
.partner-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: #fff;
  position: relative;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.partner-card:hover { border-color: var(--saffron); box-shadow: var(--shadow-soft); }
.partner-card .thumb { aspect-ratio: 16/9; background: var(--mist); margin-bottom: 18px; }
.partner-card .thumb img { object-fit: contain; padding: 18px; }

/* ---------- Join CTA panel ---------- */

.cta-panel {
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(1200px 400px at 85% -20%, rgba(243, 167, 47, 0.25), transparent 60%),
    linear-gradient(120deg, var(--lagoon), var(--lagoon-2));
  color: #fff;
  padding: clamp(40px, 6vw, 80px);
  text-align: center;
}
.cta-panel h2 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 3rem);
  max-width: 18em;
  margin-inline: auto;
}
.cta-panel p { color: rgba(255,255,255,0.78); max-width: 44em; margin: 0 auto 30px; }
.cta-panel .hero-ctas { justify-content: center; margin-bottom: 0; }

/* ---------- Newsletter ---------- */

.newsletter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.newsletter-form { display: flex; gap: 12px; flex-wrap: wrap; }
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 240px;
  font: inherit;
  padding: 15px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
}
.newsletter-form input[type="email"]:focus { border-color: var(--saffron); outline: none; }
.hp-field { position: absolute !important; left: -9999px; }

.form-note { font-size: 0.9rem; margin-top: 10px; }
.form-note--ok { color: var(--sea); font-weight: 600; }
.form-note--err { color: var(--danger); font-weight: 600; }

@media (max-width: 820px) {
  .newsletter { grid-template-columns: 1fr; }
}

/* ---------- Page & single templates ---------- */

.page-hero {
  padding-block: clamp(48px, 7vw, 90px) clamp(28px, 4vw, 48px);
}
.page-hero .hero-title { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.page-hero .hero-sub { margin-bottom: 0; }

.entry-hero-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: clamp(28px, 4vw, 48px);
}
.entry-hero-img img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.img-credit { font-size: 0.76rem; color: var(--ink-3); text-align: right; margin-top: 8px; }

.prose {
  max-width: 720px;
  margin-inline: auto;
  font-size: 1.06rem;
}
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.4em; }
.prose img { border-radius: var(--radius-sm); }
.prose blockquote {
  border-left: 4px solid var(--saffron);
  margin: 1.6em 0;
  padding: 0.4em 0 0.4em 1.2em;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--ink-2);
}
.prose a { border-bottom: 1px solid var(--saffron); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }

.entry-meta-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.byline { font-size: 0.9rem; color: var(--ink-2); }
.byline strong { color: var(--ink); }

.embed-wrap { position: relative; aspect-ratio: 16/9; margin: 1.6em 0; }
.embed-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: var(--radius-sm); }

/* Recipe single */
.recipe-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.recipe-side {
  position: sticky;
  top: 100px;
  background: var(--mist);
  border-radius: var(--radius);
  padding: 30px;
}
.recipe-side h2 { font-size: 1.3rem; }
.ingredients-list { list-style: none; padding: 0; margin: 0; }
.ingredients-list li {
  padding: 9px 0 9px 26px;
  border-bottom: 1px dashed var(--line);
  position: relative;
  font-size: 0.95rem;
}
.ingredients-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 17px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--saffron);
}
.ingredients-list li.is-heading {
  font-weight: 700;
  padding-left: 0;
  border-bottom: 2px solid var(--ink);
  margin-top: 14px;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}
.ingredients-list li.is-heading::before { display: none; }

@media (max-width: 880px) {
  .recipe-layout { grid-template-columns: 1fr; }
  .recipe-side { position: static; }
}

/* Chef single */
.profile-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.profile-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: sticky; top: 100px; }
.profile-photo img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.profile-facts { list-style: none; padding: 0; margin: 24px 0; border-top: 1px solid var(--line); }
.profile-facts li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.93rem;
}
.profile-facts .k { color: var(--ink-3); }
.profile-facts .v { font-weight: 600; text-align: right; }

@media (max-width: 880px) {
  .profile-layout { grid-template-columns: 1fr; }
  .profile-photo { position: static; max-width: 420px; }
}

/* Detail info box (jobs, events) */
.info-box {
  background: var(--mist);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 32px;
}
.info-box dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin: 0;
}
.info-box dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.info-box dd { margin: 0; font-weight: 600; }

/* Archive header */
.archive-hero {
  background: var(--mist);
  padding-block: clamp(44px, 6vw, 76px);
  border-bottom: 1px solid var(--line);
}
.archive-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin: 0 0 8px; }
.archive-hero p { color: var(--ink-2); max-width: 52em; margin: 0; }

/* Pagination */
.pagination { margin-top: 48px; }
.pagination .nav-links {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  min-width: 42px;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
}
.pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination a.page-numbers:hover { border-color: var(--saffron); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--lagoon);
  color: rgba(255, 255, 255, 0.78);
  padding: clamp(56px, 8vw, 90px) 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  margin-bottom: 48px;
}
.site-footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255, 255, 255, 0.78); }
.site-footer a:hover { color: var(--saffron); }

.footer-brand .brand-mark { margin-bottom: 16px; }
.footer-brand p { font-size: 0.92rem; max-width: 30em; }

.footer-note {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-note a { color: rgba(255, 255, 255, 0.7); }

@media (max-width: 920px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- 404 / empty ---------- */

.empty-state {
  text-align: center;
  padding: clamp(48px, 8vw, 100px) 0;
}
.empty-state h1, .empty-state h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.empty-state p { color: var(--ink-2); max-width: 38em; margin: 0 auto 26px; }

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  .btn:hover, .job-row:hover, .event-card:hover { transform: none; }
  .thumb img { transition: none; }
}

/* ---------- WP alignment classes ---------- */

.alignwide { margin-inline: calc(50% - min(50vw, 640px)); max-width: none; }
.alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; }
.aligncenter { margin-inline: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.8rem; color: var(--ink-3); text-align: center; margin-top: 8px; }

/* ---------- Print ---------- */

@media print {
  .site-header, .site-footer, .ticker, .cta-panel, .newsletter { display: none; }
  .recipe-side { position: static; }
}
