/* =========================================================
   ПОЖИЛАЯ КУРКУМА — кулинарный бортжурнал
   Стиль: тёплая бумага, специи, бортовая типографика
   ========================================================= */

:root {
  color-scheme: light;
  --paper: #f4ecdd;
  --paper-deep: #eadcc6;
  --white: #fffaf0;
  --ink: #2a1b10;
  --ink-soft: #4f3825;
  --muted: #7a624b;
  --turmeric: #d88a1c;
  --turmeric-deep: #a95f0e;
  --saffron: #f0b64a;
  --paprika: #b23a2a;
  --olive: #687653;
  --line: rgba(42, 27, 16, 0.16);
  --line-strong: rgba(42, 27, 16, 0.38);
  --shadow: 0 24px 70px rgba(56, 35, 18, 0.16);
  --radius: 22px;
  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1100px 760px at 88% -8%, rgba(240, 182, 74, 0.32), transparent 62%),
    radial-gradient(900px 700px at -12% 18%, rgba(178, 58, 42, 0.08), transparent 58%),
    var(--paper);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.16;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
}

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

img,
svg {
  max-width: 100%;
}

a {
  color: var(--turmeric-deep);
}

button,
input {
  font: inherit;
}

.container {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--turmeric-deep);
}

.eyebrow--light {
  color: var(--saffron);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(244, 236, 221, 0.82);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(244, 236, 221, 0.95);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 34px rgba(56, 35, 18, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
  padding-block: 13px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--turmeric);
  box-shadow: 3px 3px 0 var(--ink);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.02;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.03em;
}

.brand-text small {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background: var(--turmeric);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav .nav-cta {
  padding: 9px 15px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 3px 3px 0 var(--turmeric);
}

.nav .nav-cta::after {
  display: none;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

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

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: 42px;
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
  padding-block: 68px 46px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: clamp(4.3rem, 9vw, 8.6rem);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.065em;
}

.hero-copy h1 em {
  display: block;
  color: var(--turmeric-deep);
  font-style: normal;
}

.hero-copy .lead {
  max-width: 55ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.35vw, 1.24rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block: 32px 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 20px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translate(-1px, -1px);
}

.button--primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 4px 4px 0 var(--turmeric);
}

.button--primary:hover {
  box-shadow: 6px 6px 0 var(--turmeric);
}

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

.button--ghost:hover {
  background: var(--white);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero-stat span {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-height: 580px;
}

.portrait-card {
  position: relative;
  width: min(100%, 420px);
  margin-left: auto;
  padding: 14px 14px 0;
  border: 2px solid var(--ink);
  border-radius: 230px 230px 24px 24px;
  background: var(--white);
  box-shadow: 12px 12px 0 rgba(42, 27, 16, 0.12);
  transform: rotate(1.8deg);
}

.portrait-card img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 210px 210px 12px 12px;
  background: var(--paper-deep);
}

.portrait-caption {
  padding: 11px 7px 13px;
  border-top: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
}

.stamp {
  position: absolute;
  top: 26px;
  right: -28px;
  display: grid;
  place-items: center;
  width: 94px;
  height: 94px;
  padding: 8px;
  border: 2px solid var(--paprika);
  border-radius: 50%;
  background: rgba(244, 236, 221, 0.88);
  color: var(--paprika);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(12deg);
}

.boarding-pass {
  position: absolute;
  left: -6px;
  bottom: 8px;
  z-index: 3;
  width: 300px;
  padding: 15px 17px 13px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 8px 8px 0 var(--saffron);
  transform: rotate(-2.2deg);
}

.bp-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 9px;
  border-bottom: 1px dashed var(--line-strong);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bp-head span {
  color: var(--turmeric-deep);
}

.bp-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 6px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bp-row span {
  color: var(--muted);
}

.bp-row strong {
  font-size: 9px;
  text-align: right;
}

.barcode {
  height: 22px;
  margin-top: 11px;
  background: repeating-linear-gradient(
    90deg,
    var(--ink) 0 2px,
    transparent 2px 4px,
    var(--ink) 4px 5px,
    transparent 5px 9px,
    var(--ink) 9px 12px,
    transparent 12px 15px
  );
}

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  padding-block: 10px;
  border-block: 2px solid var(--ink);
  background: var(--saffron);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee span {
  padding-right: 34px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Sections ---------- */

.section {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
  padding-block: 88px;
}

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

.section-head h2 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.7vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.section-head p {
  max-width: 48ch;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Stories ---------- */

.story-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.story-card {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 0 var(--saffron);
}

.story-card--feature {
  grid-column: span 8;
  grid-row: span 2;
}

.story-art {
  display: grid;
  place-items: center;
  min-height: 168px;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  background: var(--paper-deep);
}

.story-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-card--feature .story-art {
  min-height: 318px;
}

.story-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 11px;
  padding: 21px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.meta span:first-child {
  color: var(--turmeric-deep);
  font-weight: 700;
}

.story-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.1vw, 1.92rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.story-card--feature .story-body h3 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.story-body h3 a {
  color: var(--ink);
  text-decoration: none;
}

.story-body h3 a:hover {
  color: var(--turmeric-deep);
}

.story-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.read-more {
  margin-top: auto;
  padding-top: 6px;
  color: var(--turmeric-deep);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.read-more:hover {
  text-decoration: underline;
}

/* ---------- Menu ---------- */

.menu-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 22px;
  align-items: stretch;
}

.menu-board {
  position: relative;
  overflow: hidden;
  padding: 38px;
  border: 2px solid var(--ink);
  border-radius: 28px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 10px 10px 0 var(--turmeric);
}

.menu-board::after {
  content: "МЕНЮ";
  position: absolute;
  right: -18px;
  bottom: -42px;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 170px;
  font-weight: 700;
  line-height: 1;
  opacity: 0.055;
  pointer-events: none;
}

.menu-board h2 {
  margin: 8px 0 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.menu-list {
  display: grid;
  gap: 17px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.menu-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 16px;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(244, 236, 221, 0.22);
}

.menu-item strong {
  font-family: var(--font-display);
  font-size: 1.24rem;
  line-height: 1.2;
}

.menu-item .price {
  color: var(--saffron);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.menu-item p {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(244, 236, 221, 0.62);
  font-size: 13px;
  line-height: 1.5;
}

.menu-aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.menu-note {
  padding: 28px;
  border: 2px solid var(--ink);
  border-radius: 24px;
  background: var(--saffron);
  box-shadow: 7px 7px 0 var(--ink);
  transform: rotate(1.1deg);
}

.menu-note h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.menu-note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.menu-photo {
  position: relative;
  flex: 1;
  min-height: 220px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 24px;
  background: var(--paper-deep);
}

.menu-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-photo figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  padding: 9px 11px;
  border: 1px solid var(--ink);
  border-radius: 9px;
  background: rgba(255, 250, 240, 0.9);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* ---------- Recipe ---------- */

.recipe-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 32px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.recipe-art {
  display: grid;
  place-items: center;
  padding: 26px;
  border-right: 2px solid var(--ink);
  background:
    radial-gradient(circle at 30% 20%, rgba(240, 182, 74, 0.28), transparent 58%),
    var(--paper-deep);
}

.recipe-art img {
  display: block;
  width: 100%;
  max-width: 520px;
}

.recipe-copy {
  padding: 44px;
}

.recipe-copy h2 {
  margin: 8px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.3rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.recipe-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.recipe-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 22px 0;
  padding-block: 14px;
  border-block: 1px solid var(--line);
}

.recipe-meta div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.recipe-meta strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1;
}

.recipe-meta span {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.ingredients {
  margin-block: 22px;
  padding: 20px;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  background: var(--paper);
}

.ingredients h3,
.recipe-copy h3 {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.checklist {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  line-height: 1.45;
  cursor: pointer;
}

.checklist input {
  flex: 0 0 auto;
  margin-top: 4px;
  accent-color: var(--turmeric-deep);
}

.steps {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 1.25em;
  font-size: 14px;
  line-height: 1.55;
}

.steps li::marker {
  color: var(--turmeric-deep);
  font-family: var(--font-mono);
  font-weight: 700;
}

/* ---------- Gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 16px;
}

.gallery-card {
  position: relative;
  min-height: 280px;
  margin: 0;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 20px;
  background: var(--white);
}

.gallery-card:first-child {
  grid-row: span 2;
  min-height: 100%;
}

.gallery-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  padding: 9px 11px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.92);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.45;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: start;
}

.about-copy h2 {
  margin: 8px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.about-copy p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}

.about-copy blockquote {
  margin: 28px 0 0;
  padding: 22px 26px;
  border-left: 4px solid var(--turmeric);
  background: var(--white);
  font-family: var(--font-display);
  font-size: 1.36rem;
  line-height: 1.32;
  letter-spacing: -0.02em;
}

.about-copy blockquote footer {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.fact {
  padding: 20px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--white);
}

.fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.15rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.fact span {
  display: block;
  margin-top: 5px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Subscribe ---------- */

.subscribe {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto 88px;
}

.subscribe-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  overflow: hidden;
  padding: 46px;
  border: 2px solid var(--ink);
  border-radius: 32px;
  background: var(--paprika);
  color: var(--white);
  box-shadow: 10px 10px 0 var(--ink);
}

.subscribe-inner::after {
  content: "12288";
  position: absolute;
  right: 18px;
  bottom: -34px;
  font-family: var(--font-display);
  font-size: 150px;
  font-weight: 700;
  line-height: 1;
  opacity: 0.08;
  pointer-events: none;
}

.subscribe h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.subscribe p {
  position: relative;
  z-index: 1;
  max-width: 48ch;
  margin: 0;
  color: rgba(255, 250, 240, 0.78);
  font-size: 14px;
}

.subscribe-form {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 6px;
  padding: 7px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
}

.subscribe-form input {
  width: 230px;
  min-width: 0;
  padding: 10px 14px;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
}

.subscribe-form button {
  padding: 11px 17px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

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

.site-footer {
  padding: 46px 0 28px;
  border-top: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.footer-tagline {
  margin: 8px 0 0;
  color: rgba(244, 236, 221, 0.58);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-content: start;
  justify-content: flex-end;
}

.footer-links a {
  color: rgba(244, 236, 221, 0.72);
  font-size: 13px;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--saffron);
}

.footer-note {
  width: min(1240px, calc(100% - 48px));
  margin: 26px auto 0;
  color: rgba(244, 236, 221, 0.46);
  font-size: 11px;
  line-height: 1.65;
}

.footer-note strong {
  color: rgba(244, 236, 221, 0.72);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  width: min(1240px, calc(100% - 48px));
  margin: 24px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(244, 236, 221, 0.14);
  color: rgba(244, 236, 221, 0.4);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Article ---------- */

.article {
  width: min(900px, calc(100% - 48px));
  margin-inline: auto;
  padding-block: 52px 96px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--turmeric-deep);
}

.article-header h1 {
  margin: 18px 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 6.2vw, 5rem);
  line-height: 0.93;
  letter-spacing: -0.06em;
}

.article-header .dek {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.55;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-block: 24px 30px;
  padding-block: 14px;
  border-block: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-meta span:first-child {
  color: var(--turmeric-deep);
  font-weight: 700;
}

.article-hero {
  margin: 0 0 34px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 24px;
  background: var(--white);
}

.article-hero img {
  display: block;
  width: 100%;
}

.article-hero figcaption {
  padding: 11px 15px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.45;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.prose {
  font-size: 1.13rem;
  line-height: 1.82;
}

.prose p {
  margin: 0 0 1.35em;
}

.prose > p:first-of-type::first-letter {
  float: left;
  padding: 7px 10px 0 0;
  color: var(--turmeric-deep);
  font-family: var(--font-display);
  font-size: 5.1rem;
  line-height: 0.78;
}

.prose--plain > p:first-of-type::first-letter {
  float: none;
  padding: 0;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.prose h2 {
  margin: 2.1em 0 0.6em;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.prose blockquote {
  margin: 30px 0;
  padding: 22px 26px;
  border-left: 4px solid var(--turmeric);
  background: var(--white);
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.prose blockquote p {
  margin: 0;
}

.prose ul,
.prose ol {
  margin: 0 0 1.35em;
  padding-left: 1.3em;
}

.prose li {
  margin-bottom: 0.45em;
}

.recipe-box {
  margin: 34px 0;
  padding: 28px;
  border: 2px solid var(--ink);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 7px 7px 0 var(--saffron);
}

.recipe-box h2 {
  margin-top: 0;
}

.recipe-box h3 {
  margin: 20px 0 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--turmeric-deep);
}

.recipe-box ul,
.recipe-box ol {
  margin-bottom: 0;
}

.article-end {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.tag {
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.tag:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.related {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 2px solid var(--ink);
}

.related h2 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.related-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 17px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 5px 5px 0 var(--saffron);
}

.related-card span {
  color: var(--turmeric-deep);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.related-card strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

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

.error-page {
  display: grid;
  place-items: center;
  min-height: 62vh;
  padding: 72px 24px;
  text-align: center;
}

.error-page h1 {
  margin: 0;
  color: var(--turmeric-deep);
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 12rem);
  line-height: 0.8;
  letter-spacing: -0.08em;
}

.error-page p {
  max-width: 42ch;
  margin: 20px auto 26px;
  color: var(--muted);
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  max-width: min(360px, calc(100vw - 40px));
  padding: 14px 18px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--saffron);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  font-size: 14px;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 48px;
  }

  .hero-visual {
    min-height: 0;
    max-width: 560px;
    margin-inline: auto;
  }

  .portrait-card {
    margin-inline: auto;
  }

  .boarding-pass {
    left: 0;
    bottom: -18px;
  }

  .story-card--feature {
    grid-column: span 12;
    grid-row: auto;
  }

  .story-card {
    grid-column: span 6;
  }

  .menu-wrap,
  .recipe-card,
  .about-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .recipe-art {
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-card:first-child {
    grid-row: auto;
    grid-column: span 2;
    min-height: 320px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .subscribe-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 17px;
  }

  .header-inner {
    padding-block: 10px;
  }

  .brand-text strong {
    font-size: 17px;
  }

  .brand-text small {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 24px;
    left: 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 2px solid var(--ink);
    border-radius: 16px;
    background: var(--white);
    box-shadow: 8px 8px 0 var(--saffron);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 11px 12px;
    border-radius: 9px;
    font-size: 15px;
  }

  .nav a::after {
    display: none;
  }

  .nav .nav-cta {
    margin-top: 6px;
    text-align: center;
  }

  .hero {
    padding-top: 38px;
  }

  .hero-copy h1 {
    font-size: clamp(3.8rem, 18vw, 6.2rem);
  }

  .hero-stats {
    gap: 18px;
  }

  .hero-stat strong {
    font-size: 1.45rem;
  }

  .portrait-card {
    transform: none;
  }

  .stamp {
    right: -8px;
    width: 78px;
    height: 78px;
    font-size: 7px;
  }

  .boarding-pass {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    max-width: 330px;
    margin: 16px auto 0;
    transform: none;
  }

  .section {
    padding-block: 60px;
  }

  .story-card {
    grid-column: span 12;
  }

  .story-card--feature .story-art {
    min-height: 230px;
  }

  .menu-board {
    padding: 26px;
  }

  .recipe-copy {
    padding: 26px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-card:first-child {
    grid-column: auto;
    min-height: 300px;
  }

  .facts {
    grid-template-columns: 1fr 1fr;
  }

  .subscribe-inner {
    padding: 28px;
    box-shadow: 7px 7px 0 var(--ink);
  }

  .subscribe-form {
    flex-direction: column;
    border-radius: 18px;
  }

  .subscribe-form input {
    width: 100%;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .article {
    padding-top: 36px;
  }

  .prose {
    font-size: 1.04rem;
  }

  .prose > p:first-of-type::first-letter {
    font-size: 4.2rem;
  }
}

@media (max-width: 480px) {
  .container,
  .header-inner,
  .hero,
  .section,
  .subscribe,
  .article,
  .footer-inner,
  .footer-note,
  .footer-bottom {
    width: calc(100% - 32px);
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .menu-board h2 {
    font-size: 2rem;
  }

  .fact strong {
    font-size: 1.8rem;
  }

  .article-header h1 {
    font-size: clamp(2.35rem, 11vw, 3.4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
