/* Salt & Saffron: editorial kitchen. Cream paper, espresso ink, saffron thread. */
:root {
  --paper: #FFFFFF;
  --paper-2: #EEF4FC;
  --card: #FFFFFF;
  --ink: #131C2B;
  --ink-2: #3D4A5C;
  --ink-3: #697587;
  --line: rgba(19, 28, 43, 0.08);
  --line-2: rgba(19, 28, 43, 0.14);
  --saffron: #2563B8;
  --saffron-2: #1D4E94;
  --saffron-soft: #DCE7F6;
  --sage: #6F7D62;
  --espresso: #0E1B2E;
  --r-xl: 2.25rem;
  --r-lg: 1.75rem;
  --r-md: 1.25rem;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow: 0 1px 1px rgba(19, 28, 43, 0.03), 0 12px 32px -12px rgba(19, 28, 43, 0.12), 0 40px 80px -40px rgba(19, 28, 43, 0.18);
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; overflow-x: clip; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--sans); letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; border-radius: 6px; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 12px; left: 12px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 99px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.muted { color: var(--ink-3); }

.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.025; 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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 760px; }

/* Type */
.display { font-family: var(--serif); font-weight: 340; font-variation-settings: 'opsz' 144; font-size: clamp(3rem, 7.4vw, 6.6rem); line-height: 0.95; letter-spacing: -0.035em; margin: 0 0 28px; text-wrap: balance; }
.display em, .h2 em { font-style: italic; font-weight: 300; color: var(--saffron-2); }
.display-md { font-size: clamp(2.6rem, 5.6vw, 5rem); }
.h1 { font-family: var(--serif); font-weight: 360; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
.h2 { font-family: var(--serif); font-weight: 360; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.04; letter-spacing: -0.028em; margin: 0; text-wrap: balance; }
.h3 { font-family: var(--serif); font-weight: 420; font-size: 1.65rem; letter-spacing: -0.02em; margin: 0; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 34em; margin: 0 0 34px; text-wrap: pretty; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  padding: 6px 13px; border-radius: 99px; background: rgba(37, 99, 184, 0.1); color: var(--saffron-2);
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
}
.eyebrow .ic { width: 14px; height: 14px; }
.eyebrow-light { background: rgba(255, 255, 255, 0.08); color: #A9C6F0; }

/* Buttons */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap;
  padding: 14px 16px 14px 24px; border-radius: 99px; border: 0; background: var(--bg); color: var(--fg);
  font-weight: 500; font-size: 15px; letter-spacing: -0.005em;
  transition: transform 0.5s var(--ease), background 0.4s var(--ease), box-shadow 0.5s var(--ease), color 0.3s var(--ease);
}
.btn:not(:has(.btn-ic)) { padding: 14px 22px; }
.btn:hover { box-shadow: 0 10px 26px -12px rgba(19, 28, 43, 0.45); }
.btn:active { transform: scale(0.98); }
.btn[disabled] { opacity: 0.4; pointer-events: none; }
.btn-ic { display: grid; place-items: center; width: 30px; height: 30px; margin: -6px -6px -6px 2px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); transition: transform 0.6s var(--ease); }
.btn-ic .ic { width: 15px; height: 15px; }
.btn:hover .btn-ic { transform: translate(2px, -1px) scale(1.06); }
.btn-ink { --bg: var(--ink); --fg: var(--paper); }
.btn-saffron { --bg: var(--saffron); --fg: #fff; }
.btn-saffron:hover { --bg: var(--saffron-2); }
.btn-saffron .btn-ic { background: rgba(255, 255, 255, 0.2); }
.btn-ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { --bg: var(--card); box-shadow: inset 0 0 0 1px var(--line-2), 0 10px 24px -14px rgba(19, 28, 43, 0.3); }
.btn-ghost .ic { width: 18px; height: 18px; }
.btn-glass { --bg: rgba(255, 255, 255, 0.08); --fg: #F2F5FA; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.btn-glass:hover { --bg: rgba(255, 255, 255, 0.14); }
.btn-sm { padding: 9px 10px 9px 18px; font-size: 14px; }
.btn-sm:not(:has(.btn-ic)) { padding: 9px 16px; }
.btn-sm .btn-ic { width: 26px; height: 26px; }
.btn-round { width: 50px; height: 50px; padding: 0 !important; }
.btn-round.btn-sm, .btn-glass.btn-round { width: 44px; height: 44px; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink-2); border-bottom: 1px solid var(--line-2); padding-bottom: 4px; transition: color .3s var(--ease), gap .5s var(--ease); }
.link-arrow:hover { color: var(--saffron-2); gap: 12px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--ink-3); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; margin-top: 16px; }

/* Chips */
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 99px;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2);
  font-size: 14px; font-weight: 500; transition: background .4s var(--ease), color .3s var(--ease), transform .5s var(--ease);
}
.chip em { font-style: normal; font-size: 12px; color: var(--ink-3); }
a.chip:hover { background: #fff; color: var(--ink); transform: translateY(-1px); }
.chip.is-on { background: var(--ink); color: var(--paper); box-shadow: none; }
.chip.is-on em { color: rgba(242, 245, 250, 0.6); }
.chip-glass { position: absolute; top: 14px; left: 14px; background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 12px; padding: 6px 12px; }

/* Double bezel */
.bezel { padding: 6px; border-radius: var(--r-lg); background: rgba(37, 99, 184, 0.045); box-shadow: inset 0 0 0 1px var(--line); }
.bezel-core { border-radius: calc(var(--r-lg) - 6px); overflow: hidden; background: var(--card); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), var(--shadow); position: relative; }
.bezel-lg { padding: 8px; border-radius: var(--r-xl); }
.bezel-lg > .bezel-core { border-radius: calc(var(--r-xl) - 8px); }
.bezel-pill, .bezel-pill > .bezel-core { border-radius: 99px; }
.img-fallback { width: 100%; height: 100%; min-height: 200px; display: grid; place-items: center; background: radial-gradient(120% 90% at 20% 10%, #DCE7F6, #B9CDEB 50%, #8EAEDD); color: rgba(19, 28, 43, 0.35); font: 300 5rem var(--serif); }

/* Nav */
.nav-wrap { position: fixed; top: 0; left: 0; right: 0; z-index: 40; display: flex; justify-content: center; padding: 18px var(--gutter) 0; pointer-events: none; }
.nav {
  pointer-events: auto; display: flex; align-items: center; gap: 8px; padding: 7px 7px 7px 14px; border-radius: 99px;
  background: rgba(255, 255, 255, 0.78); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(19, 28, 43, 0.07), 0 10px 30px -16px rgba(19, 28, 43, 0.25);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.nav.is-scrolled { box-shadow: inset 0 0 0 1px rgba(19, 28, 43, 0.08), 0 16px 40px -18px rgba(19, 28, 43, 0.35); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 480; font-size: 19px; letter-spacing: -0.02em; margin-right: 14px; white-space: nowrap; }
.brand .mark { width: 30px; height: 30px; }
.brand-lg { font-size: 26px; }
.brand-lg .mark { width: 40px; height: 40px; }
.nav-links { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav-links a { display: block; padding: 8px 14px; border-radius: 99px; font-size: 14.5px; color: var(--ink-2); transition: background .4s var(--ease), color .3s var(--ease); }
.nav-links a:hover, .nav-links a.is-active { background: rgba(19, 28, 43, 0.06); color: var(--ink); }
.nav-cta { margin-left: 6px; }
.burger { display: none; position: relative; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ink); }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--paper); border-radius: 2px; transition: transform .6s var(--ease), top .6s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21.5px; transform: rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 35; display: flex; flex-direction: column; justify-content: center; padding: 120px var(--gutter) 60px;
  background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  opacity: 0; transition: opacity .5s var(--ease);
}
.menu[hidden] { display: flex; visibility: hidden; pointer-events: none; }
.menu-open .menu { opacity: 1; visibility: visible; pointer-events: auto; }
.menu ul { list-style: none; margin: 0 0 40px; padding: 0; }
.menu li { overflow: hidden; }
.menu li a { display: block; font: 340 clamp(2.6rem, 11vw, 4rem)/1.12 var(--serif); letter-spacing: -0.03em; transform: translateY(110%); transition: transform .8s var(--ease-out) calc(var(--i) * 60ms + 80ms); }
.menu-open .menu li a { transform: none; }
.menu-search { position: relative; max-width: 420px; }
.menu-search input { width: 100%; padding: 16px 20px 16px 50px; border-radius: 99px; border: 0; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); }
.menu-search .ic { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }

/* Sections */
.section { padding: clamp(80px, 11vw, 150px) 0 0; }
.section-tight { padding-top: 40px; }
.section-head { margin-bottom: 48px; max-width: 760px; }
.section-head.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* Hero */
.hero { padding: clamp(130px, 17vw, 190px) 0 20px; position: relative; overflow-x: clip; }
.hero::before { content: ''; position: absolute; inset: -10% -10% auto auto; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, rgba(37, 99, 184, 0.13), transparent 70%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 80px); align-items: center; position: relative; }
.hero-search { max-width: 560px; margin-bottom: 22px; }
.search-core { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 20px; }
.search-core > .ic { color: var(--ink-3); }
.search-core input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 4px; font-size: 16px; outline: none; }
.search-core input::placeholder { color: var(--ink-3); }
.hero-quick { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-stack { position: relative; height: clamp(460px, 46vw, 640px); }
.stack-card { position: absolute; display: block; width: 62%; transition: transform 1s var(--ease-out); }
.stack-card .bezel-core { aspect-ratio: 4 / 5; }
.stack-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.stack-card:hover img { transform: scale(1.04); }
.stack-0 { right: 0; top: 0; transform: rotate(3deg); z-index: 3; }
.stack-1 { left: 0; top: 20%; width: 52%; transform: rotate(-5deg); z-index: 2; }
.stack-2 { right: 14%; bottom: -4%; width: 44%; transform: rotate(-1.5deg); z-index: 4; }
.stack-card:hover { transform: rotate(0deg) translateY(-6px); z-index: 5; }
.stack-tag { position: absolute; left: 18px; bottom: 18px; right: 18px; display: flex; justify-content: space-between; gap: 10px; padding: 9px 14px; border-radius: 99px; background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 13px; font-weight: 500; }
.stack-tag em { font-style: normal; color: var(--ink-3); white-space: nowrap; }
.stack-1 .stack-tag, .stack-2 .stack-tag { display: none; }

/* Feature */
.feature { display: block; }
.feature-core { display: grid; grid-template-columns: 1.3fr 1fr; min-height: 520px; }
.feature-media { position: relative; overflow: hidden; }
.feature-media img, .feature-media .img-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.feature:hover .feature-media img { transform: scale(1.035); }
.feature-copy { padding: clamp(28px, 4vw, 64px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px; }
.feature-copy p { color: var(--ink-2); margin: 0; font-size: 1.08rem; }

/* Meta */
.meta-row { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--ink-3); }
.meta-row span { display: inline-flex; align-items: center; gap: 6px; }
.meta-row .ic { width: 15px; height: 15px; }
.meta-lg { font-size: 15px; color: var(--ink-2); }

/* Cards */
.card-link { display: block; }
.card-media { aspect-ratio: 4 / 3.4; }
.card-media img, .card-media .img-fallback { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.card:hover .card-media img { transform: scale(1.045); }
.card-body { padding: 18px 8px 0; }
.card-body h3 { font: 420 1.42rem/1.15 var(--serif); letter-spacing: -0.02em; margin: 8px 0 0; text-wrap: balance; transition: color .3s var(--ease); }
.card:hover h3 { color: var(--saffron-2); }
.card-body p { color: var(--ink-2); margin: 10px 0 0; font-size: 15.5px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 32px; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 56px 32px; }
.bento .card { grid-column: span 4; }
.bento .card-xl { grid-column: span 8; grid-row: span 2; }
.bento .card-xl .card-media { aspect-ratio: auto; height: clamp(360px, 44vw, 640px); }
.bento .card-xl h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.bento .card-lg { grid-column: span 8; }
.bento .card-lg .card-media { aspect-ratio: 16 / 8; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.rail .card { scroll-snap-align: start; }

/* Collections */
.collections { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(220px, 21vw, 300px); gap: 20px; }
.collection { display: block; height: 100%; }
.collection:nth-child(1), .collection:nth-child(6) { grid-column: span 2; }
.collection > .bezel { height: 100%; }
.collection-core { height: 100%; }
.collection img, .collection .img-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.collection-core::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(14, 27, 46, 0.72)); }
.collection:hover img { transform: scale(1.05); }
.collection-label { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; color: #FBF8F2; display: flex; flex-direction: column; gap: 2px; }
.collection-label strong { font: 400 1.5rem/1.1 var(--serif); letter-spacing: -0.02em; }
.collection-label span { font-size: 13px; opacity: 0.8; }

/* Manifesto */
.manifesto { margin-top: clamp(80px, 11vw, 150px); background: var(--espresso); color: #E8EEF7; padding: clamp(80px, 11vw, 150px) 0; position: relative; overflow: hidden; }
.manifesto::before { content: ''; position: absolute; left: -10%; bottom: -40%; width: 70vw; height: 70vw; background: radial-gradient(closest-side, rgba(37, 99, 184, 0.18), transparent 70%); }
.manifesto-grid { position: relative; }
.manifesto blockquote { margin: 0 0 80px; font: 300 clamp(2rem, 4.4vw, 3.9rem)/1.1 var(--serif); letter-spacing: -0.03em; max-width: 20em; text-wrap: balance; }
.manifesto blockquote em { color: #8DB4EC; }
.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 40px; }
.promise span { font: 400 13px var(--sans); letter-spacing: 0.18em; color: #8DB4EC; }
.promise h3 { font: 400 1.6rem var(--serif); margin: 14px 0 10px; letter-spacing: -0.02em; }
.promise p { margin: 0; color: rgba(232, 238, 247, 0.66); }

/* Subscribe band */
.sub-band { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding: clamp(32px, 5vw, 72px); background: linear-gradient(135deg, #FFFFFF, #EEF4FC); }
.sub-band p { color: var(--ink-2); margin: 18px 0 0; max-width: 30em; }
.sub-band small, .footer-sub small { display: block; color: var(--ink-3); font-size: 13px; margin-top: 12px; padding-left: 20px; }
.pill-field { display: flex; gap: 6px; padding: 6px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2), 0 10px 30px -18px rgba(19, 28, 43, 0.3); }
.pill-field input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 16px; outline: none; font-size: 15px; }
.pill-field-lg input { font-size: 16px; padding: 14px 18px; }

/* Page head (recipes index) */
.page-head { padding: clamp(130px, 16vw, 180px) 0 20px; }
.page-head.center { text-align: center; min-height: 70dvh; display: grid; place-items: center; }
.page-head.center .lead { margin-left: auto; margin-right: auto; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; }
.filters .grow { flex: 1 1 320px; }
.filters .search-core { padding: 4px 6px 4px 20px; }
.select select { appearance: none; -webkit-appearance: none; padding: 14px 40px 14px 20px; border-radius: 99px; border: 0; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23697587' stroke-width='1.4'%3E%3Cpath d='m2 4 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 18px center; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 15px; cursor: pointer; }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.empty { text-align: center; padding: 80px 0; }
.empty a { color: var(--saffron-2); text-decoration: underline; }

/* Recipe page */
.preview-bar { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 45; background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: 99px; font-size: 14px; box-shadow: var(--shadow); }
.recipe-head { padding-top: clamp(130px, 15vw, 170px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.crumbs { display: flex; gap: 10px; font-size: 14px; color: var(--ink-3); margin-bottom: 22px; }
.crumbs a:hover { color: var(--saffron-2); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.facts { display: grid; grid-template-columns: repeat(2, auto); gap: 0; margin: 0; padding: 8px; border-radius: var(--r-lg); background: rgba(37, 99, 184, 0.045); box-shadow: inset 0 0 0 1px var(--line); min-width: 300px; }
.facts div { padding: 16px 22px; border-radius: calc(var(--r-lg) - 8px); }
.facts div:nth-child(odd) { background: var(--card); box-shadow: inset 0 1px 0 #fff; }
.facts dt { display: flex; align-items: center; gap: 7px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-3); }
.facts dt .ic { width: 14px; height: 14px; }
.facts dd { margin: 4px 0 0; font: 420 1.35rem var(--serif); letter-spacing: -0.02em; }
.recipe-hero { margin: 56px 0 0; }
.recipe-hero .bezel-core { aspect-ratio: 16 / 8.2; }
.recipe-hero img, .recipe-hero .img-fallback { width: 100%; height: 100%; object-fit: cover; }
.story { max-width: 760px; margin-top: 72px; font-size: 1.15rem; line-height: 1.75; color: var(--ink-2); }
.story p:first-child::first-letter { float: left; font: 400 4.6rem/0.82 var(--serif); margin: 8px 12px 0 0; color: var(--saffron-2); }
.recipe-body { display: grid; grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); margin-top: 88px; align-items: start; }
.ingredients { position: sticky; top: 100px; }
.ing-core { padding: 30px 28px 28px; max-height: calc(100dvh - 130px); overflow-y: auto; overscroll-behavior: contain; }
.ing-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.stepper { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 99px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.stepper button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: #fff; display: grid; place-items: center; box-shadow: 0 1px 2px rgba(19, 28, 43, 0.12); transition: transform .4s var(--ease); }
.stepper button:active { transform: scale(0.92); }
.stepper .ic { width: 15px; height: 15px; }
.stepper output { min-width: 92px; text-align: center; font-size: 14px; color: var(--ink-2); }
.stepper output b { font-weight: 600; color: var(--ink); }
.ing-group h4 { font: 500 12px var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--saffron-2); margin: 22px 0 6px; }
.ing-group ul { list-style: none; margin: 0; padding: 0; }
.ing-group li { border-bottom: 1px solid var(--line); }
.ing-group li:last-child { border-bottom: 0; }
.ing-group label { display: flex; gap: 14px; padding: 12px 0; cursor: pointer; align-items: flex-start; }
.ing-group input { position: absolute; opacity: 0; pointer-events: none; }
.tick { flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; box-shadow: inset 0 0 0 1.25px var(--line-2); display: grid; place-items: center; color: transparent; transition: background .4s var(--ease), color .3s var(--ease), box-shadow .4s var(--ease); }
.tick .ic { width: 14px; height: 14px; }
.ing-group input:checked + .tick { background: var(--sage); color: #fff; box-shadow: none; }
.ing-group input:focus-visible + .tick { outline: 2px solid var(--saffron); outline-offset: 2px; }
.ing-text { transition: color .3s var(--ease), opacity .3s var(--ease); }
.ing-group input:checked ~ .ing-text { color: var(--ink-3); text-decoration: line-through; text-decoration-color: rgba(19, 28, 43, 0.3); }
.qty { font-weight: 600; }
.qty.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { color: var(--saffron-2); } }
.method > .h3 { margin-bottom: 18px; }
.steps { list-style: none; margin: 0; padding: 0; }
.step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); cursor: pointer; transition: opacity .5s var(--ease); }
.step-n { font: 300 2.2rem/1 var(--serif); color: var(--saffron); letter-spacing: -0.03em; transition: color .4s var(--ease); }
.step p { margin: 0; font-size: 1.1rem; line-height: 1.7; }
.step.is-done { opacity: 0.42; }
.step.is-done .step-n { color: var(--sage); }
.tips { margin-top: 36px; padding: 30px; border-radius: var(--r-lg); background: rgba(111, 125, 98, 0.1); box-shadow: inset 0 0 0 1px rgba(111, 125, 98, 0.18); }
.tips .eyebrow { background: rgba(111, 125, 98, 0.16); color: #4F5C44; margin-bottom: 12px; }
.tips p { margin: 8px 0 0; color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }

/* Cook mode */
.cook { position: fixed; inset: 0; z-index: 60; background: var(--espresso); color: #F2F5FA; display: grid; grid-template-rows: auto auto 1fr auto; padding: max(18px, env(safe-area-inset-top)) var(--gutter) max(22px, env(safe-area-inset-bottom)); opacity: 0; transition: opacity .5s var(--ease); }
.cook[hidden] { display: none; }
.cook.is-open { opacity: 1; }
.cook-top { display: flex; align-items: center; gap: 10px; }
.cook-title { flex: 1; font: 400 1.1rem var(--serif); opacity: 0.7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cook-progress { height: 2px; background: rgba(255, 255, 255, 0.1); border-radius: 2px; margin: 18px 0 0; overflow: hidden; }
.cook-progress span { display: block; height: 100%; width: 0; background: var(--saffron); transition: width .7s var(--ease); }
.cook-stage { display: grid; align-items: center; max-width: 1100px; width: 100%; margin: 0 auto; overflow-y: auto; }
.cook-step p { font: 300 clamp(1.8rem, 4.4vw, 3.6rem)/1.22 var(--serif); letter-spacing: -0.02em; margin: 0; text-wrap: pretty; animation: stepIn .7s var(--ease-out); }
@keyframes stepIn { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } }
.cook-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cook-timer { display: flex; align-items: center; gap: 8px; }
.cook-timer button { font-variant-numeric: tabular-nums; }
.cook-timer .is-running { --bg: var(--saffron); --fg: #fff; }
.cook-ing { position: absolute; right: var(--gutter); top: 80px; width: min(420px, calc(100% - 2 * var(--gutter))); max-height: 70dvh; overflow: auto; padding: 22px 24px; border-radius: var(--r-lg); background: #1B2A42; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 60px -20px rgba(0, 0, 0, 0.6); }
.cook-ing .ing-group li { border-color: rgba(255, 255, 255, 0.08); }
.cook-ing .tick { box-shadow: inset 0 0 0 1.25px rgba(255, 255, 255, 0.25); }
.cook-ing .ing-group h4 { color: #8DB4EC; }

/* Subscribe page */
.sub-hero { padding: clamp(130px, 16vw, 180px) 0 0; position: relative; overflow-x: clip; }
.sub-hero::before { content: ''; position: absolute; right: -10%; top: 0; width: 55vw; height: 55vw; background: radial-gradient(closest-side, rgba(37, 99, 184, 0.14), transparent 70%); pointer-events: none; }
.sub-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(40px, 6vw, 96px); align-items: start; position: relative; }
.perks { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 4px; }
.perks li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 22px 0; border-top: 1px solid var(--line); }
.perks span { font: 300 1.7rem var(--serif); color: var(--saffron); }
.perks h3 { margin: 0 0 4px; font: 450 1.3rem var(--serif); letter-spacing: -0.015em; }
.perks p { margin: 0; color: var(--ink-2); }
.sub-card-col { position: sticky; top: 110px; }
.sub-card { padding: clamp(28px, 4vw, 44px); }
.sub-form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field span, .interests legend { font-size: 13px; font-weight: 500; color: var(--ink-2); letter-spacing: 0.01em; }
.field input { padding: 15px 18px; border-radius: 16px; border: 0; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); outline: none; font-size: 16px; transition: box-shadow .4s var(--ease), background .4s var(--ease); }
.field input:focus { background: #fff; box-shadow: inset 0 0 0 1.5px var(--saffron), 0 0 0 5px rgba(37, 99, 184, 0.12); }
.interests { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.interests legend { margin-bottom: 10px; }
.interests legend small { color: var(--ink-3); font-weight: 400; margin-left: 6px; }
.toggle input { position: absolute; opacity: 0; }
.toggle span { display: inline-block; padding: 9px 15px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; cursor: pointer; transition: background .4s var(--ease), color .3s var(--ease), box-shadow .4s var(--ease); }
.toggle input:checked + span { background: var(--ink); color: var(--paper); box-shadow: none; }
.toggle input:focus-visible + span { outline: 2px solid var(--saffron); outline-offset: 2px; }
.fine { color: var(--ink-3); font-size: 13px; line-height: 1.5; }
.form-error { margin: 0; padding: 12px 16px; border-radius: 14px; background: #FBE6DF; color: #8A2E12; font-size: 14px; }
.sub-done { text-align: center; padding: 20px 0; display: grid; justify-items: center; gap: 18px; }
.sub-done p { color: var(--ink-2); margin: 0; max-width: 26em; }
.done-ic { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--sage); color: #fff; animation: pop .8s var(--ease-out); }
.done-ic .ic { width: 32px; height: 32px; }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } }
.letter-preview { margin: 18px 12px 0; padding: 16px 20px; border-radius: 18px; background: #F1F6FD; box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; color: var(--ink-2); display: grid; gap: 6px; transform: rotate(-0.8deg); }
.lp-line b { display: inline-block; width: 64px; font-weight: 500; color: var(--ink-3); }
.faq { max-width: 860px; }
.faq .h2 { margin-bottom: 28px; }
.faq details { border-top: 1px solid var(--line-2); }
.faq details:last-child { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; font: 420 1.35rem var(--serif); letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); transition: transform .6s var(--ease), background .4s var(--ease); }
.faq details[open] summary span { transform: rotate(45deg); background: var(--ink); color: var(--paper); }
.faq details p { margin: -6px 0 26px; color: var(--ink-2); max-width: 40em; }

/* Footer */
.footer { margin-top: clamp(100px, 12vw, 160px); padding: 80px 0 36px; border-top: 1px solid var(--line); background: var(--paper-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.5fr; gap: 48px; }
.footer-brand p { color: var(--ink-2); max-width: 26em; margin: 20px 0 0; }
.footer h4 { font: 500 12px var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin: 8px 0 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--ink-2); transition: color .3s var(--ease); }
.footer ul a:hover { color: var(--saffron-2); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(40px); filter: blur(6px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out), filter 1s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; filter: none; }
.js .stack-card { opacity: 0; translate: 0 50px; transition: opacity 1.2s var(--ease-out), translate 1.4s var(--ease-out), transform 1s var(--ease-out); }
.js .is-loaded .stack-card { opacity: 1; translate: 0 0; }
.js .is-loaded .stack-1 { transition-delay: .15s; }
.js .is-loaded .stack-2 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .stack-card { opacity: 1; transform: none; translate: none; filter: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento .card, .bento .card-lg { grid-column: span 6; }
  .bento .card-xl { grid-column: span 12; grid-row: auto; }
  .bento .card-lg .card-media { aspect-ratio: 4 / 3.4; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .recipe-head { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(5, auto); justify-content: start; min-width: 0; }
  .facts div:nth-child(odd) { background: none; box-shadow: none; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .nav { width: 100%; justify-content: space-between; }
  .hero-grid, .sub-grid, .feature-core, .sub-band, .recipe-body { grid-template-columns: 1fr; }
  .hero-stack { height: 420px; max-width: 520px; width: 100%; margin: 20px auto 0; }
  .feature-media { aspect-ratio: 4 / 3; }
  .collections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collections { grid-auto-rows: clamp(160px, 44vw, 260px); gap: 14px; }
  .promises { grid-template-columns: 1fr; gap: 28px; }
  .ingredients, .sub-card-col { position: static; }
  .ing-core { max-height: none; }
  .recipe-body { margin-top: 56px; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
}
@media (max-width: 768px) {
  body { font-size: 16px; }
  .grid, .bento { grid-template-columns: 1fr; gap: 44px; }
  .bento .card, .bento .card-lg, .bento .card-xl { grid-column: auto; }
  .bento .card-xl .card-media { height: auto; aspect-ratio: 4 / 3.6; }
  .stack-0 { width: 70%; transform: none; }
  .stack-1 { width: 55%; transform: none; top: 24%; }
  .stack-2 { display: none; }
  .stack-card:hover { transform: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .recipe-hero .bezel-core { aspect-ratio: 4 / 3.4; }
  .facts div { padding: 12px 14px; }
  .facts dd { font-size: 1.12rem; white-space: nowrap; }
  .facts dt { letter-spacing: 0.1em; }
  .story { margin-top: 48px; }
  .step { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; }
  .step-n { font-size: 1.7rem; }
  .actions .btn-ghost:not(.btn-round) { flex: 1; }
  .cook-nav .btn { padding-left: 16px; }
  .filters .select { flex: 1 1 30%; }
  .filters .select select { width: 100%; padding-left: 16px; padding-right: 32px; background-position: right 12px center; }
  .sub-band small, .footer-sub small { padding-left: 4px; }
  .pill-field-lg { flex-direction: column; border-radius: 26px; }
  .pill-field-lg .btn { width: 100%; }
  .section-head { margin-bottom: 32px; }
}

/* Print: just the recipe */
@media print {
  .nav-wrap, .menu, .grain, .footer, .actions, .section, .cook, .stepper, .link-btn, .crumbs, .preview-bar, .tags { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .js .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
  .recipe-head { padding-top: 0; }
  .recipe-hero .bezel-core { aspect-ratio: 16 / 6; box-shadow: none; }
  .bezel, .bezel-core { box-shadow: none !important; background: none !important; padding: 0 !important; }
  .recipe-body { grid-template-columns: 1fr 1.5fr; margin-top: 24px; }
  .ingredients { position: static; }
  .ing-core { max-height: none; padding: 0; }
  .step { padding: 10px 0; }
}

/* Larger floating nav (desktop) */
@media (min-width: 1000px) {
  .nav-wrap { padding-top: 22px; }
  .nav { gap: 12px; padding: 9px 9px 9px 18px; }
  .nav .brand { font-size: 23px; gap: 12px; margin-right: 20px; }
  .nav .brand .mark { width: 38px; height: 38px; }
  .nav-links { gap: 4px; }
  .nav-links a { padding: 10px 18px; font-size: 16.5px; }
  .nav-cta.btn-sm { padding: 12px 12px 12px 24px; font-size: 16px; }
  .nav-cta .btn-ic { width: 32px; height: 32px; }
}

/* White theme: inputs and small controls get a faint warm fill so they read on white cards */
.field input, .stepper, .menu-search input { background: #F1F6FD; }
.field input:focus { background: #fff; }

/* S&S badge logo */
.brand .mark { border-radius: 50%; }
.brand-badge { margin: 0 0 4px; }
.badge-logo { width: 112px; height: 112px; display: block; transition: transform 1.2s var(--ease-out); }
.brand-badge:hover .badge-logo { transform: rotate(-8deg); }
@media (min-width: 1000px) { .nav .brand .mark { width: 42px; height: 42px; } }

/* Standout logo: the badge breaks slightly out of the nav pill */
.nav .brand .mark {
  width: 56px; height: 56px; margin: -12px 2px -12px -8px;
  box-shadow: 0 0 0 3px #fff, 0 10px 24px -8px rgba(19, 28, 43, 0.45);
  transition: transform .8s var(--ease-out);
}
.nav .brand:hover .mark { transform: rotate(-8deg) scale(1.04); }
@media (min-width: 1000px) {
  .nav .brand .mark { width: 70px; height: 70px; margin: -16px 4px -16px -12px; }
  .nav .brand { font-size: 25px; }
}
