/* Thymi landing page — "a recipe for eating well".
   Layout: a single recipe card read top to bottom: the plate (interactive hero + nutrition label),
   method (sticky phone + numbered steps), ingredients (measured list), portions (a menu),
   a privacy label, chef's notes, and a green "bon appétit" close.
   Light only, on purpose: Thymi itself is a light-only app. */

:root {
  /* colour */
  --paper: #F6F1E6;
  --paper-2: #EFE7D7;
  --card: #FFFDF8;
  --ink: #1E231F;
  --ink-soft: #5B6157;
  --ink-faint: #9A9C90;
  --rule: rgba(30, 35, 31, 0.14);
  --thyme: #2F4B33;
  --thyme-deep: #1D3122;
  --thyme-soft: #E1EADB;
  --mustard: #F2B93B;
  --highlight: rgba(242, 185, 59, 0.6);
  --mustard-deep: #E0A21F;
  --mustard-soft: #FBEBC4;
  --leaf: #4E8A57;

  /* type */
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --label: "Archivo Narrow", "Helvetica Neue", "Arial Narrow", Arial, sans-serif;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--thyme); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--thyme); }
.hl { background: linear-gradient(transparent 56%, var(--highlight) 56% 90%, transparent 90%); padding-inline: .06em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 12px; }

/* ── brand + buttons ───────────────────────────────── */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.mark { width: 38px; height: 38px; border-radius: 10px; background: var(--mustard); color: var(--thyme); display: grid; place-items: center; flex: none; }
.mark svg { width: 100%; height: 100%; }
.mark.sm { width: 30px; height: 30px; border-radius: 8px; }
.mark.big { width: 72px; height: 72px; border-radius: 19px; }
.wordmark { font-family: var(--serif); font-weight: 500; font-size: 26px; letter-spacing: -0.02em; line-height: 1; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-thyme { background: var(--thyme); color: #fff; }
.btn-thyme:hover { background: var(--thyme-deep); }
.btn-mustard { background: var(--mustard); color: var(--ink); }
.btn-mustard:hover { background: var(--mustard-deep); }
.store { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; text-decoration: none; border-radius: 14px; padding: 9px 18px 9px 14px; min-height: 54px; transition: transform .15s ease; }
.store:hover { transform: translateY(-1px); }
.store svg { width: 24px; height: 24px; }
.store span { display: grid; line-height: 1.05; }
.store small { font-size: 11px; opacity: .85; }
.store b { font-size: 19px; font-weight: 600; }
.store.light { background: var(--paper); color: var(--ink); }
.store.mustard { background: var(--mustard); color: var(--ink); }
.store.soon { cursor: default; }
.store.soon:hover { transform: none; }
.textlink { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--mustard); padding-bottom: 2px; }

/* ── nav ───────────────────────────────────────────── */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: rgba(246, 241, 230, 0.86); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--rule); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.links { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.links a { text-decoration: none; color: var(--ink-soft); }
.links a:hover { color: var(--ink); }

/* ── hero: the plate ───────────────────────────────── */
.hero { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 40px; align-items: center; padding-block: clamp(40px, 6vw, 80px) clamp(48px, 7vw, 96px); }
.hero-copy { display: grid; gap: 22px; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 6.4vw, 84px); line-height: 1; letter-spacing: -0.03em; }
.hero h1 em { font-style: italic; color: var(--thyme); display: block; }
.lede { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-soft); max-width: 31em; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.recipe-meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; margin: 8px 0 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.recipe-meta div { padding: 12px 20px 12px 0; margin-right: 20px; border-right: 1px solid var(--rule); }
.recipe-meta div:last-child { border-right: 0; margin-right: 0; }
.recipe-meta dt { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.recipe-meta dd { margin: 0; font-family: var(--serif); font-size: 24px; line-height: 1.2; }

.plate-demo { display: grid; grid-template-columns: 1fr auto; align-items: center; position: relative; }
.plate-wrap { display: grid; justify-items: center; gap: 10px; }
.plate { width: min(100%, 460px); height: auto; overflow: visible; }
.food { cursor: pointer; transform-box: fill-box; transform-origin: center; transition: opacity .35s ease, transform .35s cubic-bezier(.3, 1.4, .5, 1), filter .35s ease; outline: none; }
.food:hover { filter: drop-shadow(0 6px 10px rgba(30, 35, 31, .22)); }
.food .hit { fill: transparent; pointer-events: all; }
.food:focus-visible { filter: drop-shadow(0 0 6px rgba(47, 75, 51, .7)); }
.food.gone { opacity: .14; transform: scale(.86); filter: grayscale(1); }
.plate-hint { font-family: var(--serif); font-style: italic; color: var(--ink-soft); font-size: 17px; }
.plate-items { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.plate-items button { font: inherit; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--rule); background: var(--card); color: var(--ink); border-radius: 999px; padding: 6px 12px 6px 8px; cursor: pointer; transition: opacity .2s ease; }
.plate-items button i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); }
.plate-items button span { color: var(--ink-faint); font-weight: 500; }
.plate-items button[aria-pressed="false"] { opacity: .45; text-decoration: line-through; }

/* Hero visual: the app itself, with two handwritten-style sticky notes of real figures. */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 600px; }
.hero-visual::before { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, var(--mustard) 0 62%, transparent 62.4%), radial-gradient(circle, transparent 0 66%, var(--mustard-soft) 66.4% 100%); }
.hero-visual::after { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; border: 2px dashed rgba(30, 35, 31, .14); pointer-events: none; }
.hero-visual .phone { width: 290px; transform: rotate(2deg); }
.note { position: absolute; background: var(--card); border: 2px solid var(--ink); border-radius: 14px; padding: 12px 16px; display: grid; gap: 2px; box-shadow: 6px 7px 0 var(--ink); z-index: 2; }
.n1 { background: var(--mustard-soft); }
.note b { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1; letter-spacing: -0.02em; color: var(--thyme); }
.note span { font-size: 13.5px; color: var(--ink-soft); }
.n1 { left: 0; top: 120px; transform: rotate(-3deg); }
.n2 { right: -6px; bottom: 120px; transform: rotate(2deg); }
.n2 b { font-size: 22px; }

/* What Thymi tracks: a ruled strip naming the category in plain words. */
.tracks { background: var(--mustard); border-block: 2px solid var(--ink); }
.tracks-in { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding-block: 22px; }
.tracks h2 { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); white-space: nowrap; background: var(--card); border: 2px solid var(--ink); border-radius: 999px; padding: 6px 12px; }
.tracks ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.tracks li { display: inline-flex; align-items: center; gap: 8px; font-family: var(--serif); font-size: 22px; }
.tracks i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); }
.tracks li { color: var(--ink); }

/* Try it: the interactive plate. */
.try { display: grid; gap: 28px; padding-block: clamp(56px, 8vw, 104px); }
.try-head { display: grid; gap: 12px; max-width: 46em; }
.try-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5.6vw, 72px); line-height: 1; letter-spacing: -0.03em; }
.try-head h2 em { font-style: italic; color: var(--thyme); }
.try-head p:last-child { color: var(--ink-soft); }
.try .plate-demo { max-width: 940px; width: 100%; justify-self: center; background: var(--mustard); border-radius: 36px; padding: clamp(20px, 4vw, 44px); border: 2px solid var(--ink); box-shadow: 10px 12px 0 var(--ink); }
.try .plate-hint { color: var(--ink); }
.try .label { box-shadow: 8px 10px 0 var(--mustard-deep); }

/* Nutrition label: the format everyone recognises. Black rules, condensed bold type. */
.label { background: #fff; color: #000; font-family: var(--label); border: 2px solid #000; padding: 6px 10px 10px; width: 270px; box-shadow: 10px 12px 0 var(--paper-2); margin-left: -56px; z-index: 1; }
.plate-demo > .label { align-self: start; margin-top: 8px; }
.label-title { font-family: var(--label); font-weight: 700; font-size: 38px; line-height: 1; letter-spacing: -0.01em; margin: 0; }
.label-serving { font-size: 15px; border-bottom: 1px solid #000; padding: 2px 0 4px; }
.rule { background: #000; }
.rule.thick { height: 9px; margin: 2px 0; }
.rule.mid { height: 4px; margin: 2px 0; }
.label-small { font-size: 12px; font-weight: 700; padding-top: 2px; }
.label-cal { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.label-cal span { font-size: 28px; }
.label-cal b { font-size: 40px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.label-dv { text-align: right; font-size: 12px; font-weight: 700; border-bottom: 1px solid #000; padding-bottom: 2px; }
.label-row { display: flex; justify-content: space-between; gap: 8px; font-size: 15px; border-bottom: 1px solid #000; padding: 3px 0; font-variant-numeric: tabular-nums; }
.label-row em { font-style: normal; }
.label-row.indent { padding-left: 14px; }
.label-foot { font-size: 11.5px; line-height: 1.35; padding-top: 6px; }
.label.big { width: min(100%, 360px); margin-left: 0; box-shadow: 14px 16px 0 var(--thyme-soft); }
.label.big .label-title { font-size: 46px; }
.label.big .label-row { font-size: 17px; padding: 5px 0; }
.label.big .label-row > b { font-size: 20px; }

/* ── method ────────────────────────────────────────── */
.method { background: var(--card); border-block: 2px solid var(--ink); padding-block: clamp(56px, 8vw, 104px); }
.method-head { display: grid; gap: 8px; margin-bottom: clamp(24px, 4vw, 48px); }
.method h2, .ingredients h2, .notes h2, .facts h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 7vw, 96px); line-height: .95; letter-spacing: -0.035em; }
.method-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.method-phone { position: sticky; top: 96px; display: flex; justify-content: center; }
.phone { width: 300px; aspect-ratio: 390 / 844; background: var(--ink); border-radius: 48px; padding: 10px; box-shadow: 0 30px 60px rgba(30,35,31,.18); position: relative; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 90px; height: 26px; background: var(--ink); border-radius: 20px; z-index: 3; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 38px; overflow: hidden; background: #F4F2EC; }
.screen::before { content: "9:41"; position: absolute; top: 12px; left: 28px; font: 600 13px/1 var(--sans); color: var(--ink); z-index: 2; }
.screen img { position: absolute; inset: 34px 0 0 0; width: 100%; height: calc(100% - 34px); object-fit: cover; object-position: top; opacity: 0; transition: opacity .45s ease; }
.screen img.on { opacity: 1; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; }
.step { min-height: 72vh; display: grid; align-content: center; gap: 14px; padding-block: 24px 24px; padding-left: 28px; border-left: 6px solid var(--mustard-soft); opacity: .38; transition: opacity .35s ease, border-color .35s ease; }
.step.active { border-left-color: var(--mustard); }
.step:first-child { border-top: 0; }
.step.active { opacity: 1; }
.num { font-family: var(--serif); font-style: italic; font-size: 64px; line-height: 1; color: var(--mustard-deep); }
.step h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.05; letter-spacing: -0.02em; }
.step p { color: var(--ink-soft); max-width: 32em; }
.step q { font-family: var(--serif); font-style: italic; color: var(--ink); quotes: "“" "”"; }
.step-shot { display: none; }
.tag { display: inline-block; font-size: 13px; font-weight: 700; border-radius: 999px; padding: 1px 9px; white-space: nowrap; }
.tag.v { background: var(--thyme-soft); color: var(--leaf); }
.tag.e { background: #FBEFD2; color: #8A6512; }

/* ── ingredients ───────────────────────────────────── */
.ingredients { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; padding-block: clamp(64px, 9vw, 120px); align-items: start; }
.ing-head { display: grid; gap: 10px; position: sticky; top: 96px; }
.ing-head p:last-child { color: var(--ink-soft); }
.ing-list { list-style: none; margin: 0; padding: 0; }
.ing-list li { display: grid; grid-template-columns: 190px 1fr; gap: 24px; align-items: baseline; padding: 18px 0; border-bottom: 2px dashed var(--mustard); }
.ing-list li:first-child { border-top: 2px dashed var(--mustard); }
.ing-list b { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.6vw, 48px); line-height: 1; letter-spacing: -0.02em; color: var(--thyme); text-align: right; font-variant-numeric: tabular-nums; }
.ing-list span { font-size: 18px; }
.ing-list i { font-family: var(--serif); }

/* ── portions (menu) ───────────────────────────────── */
.portions { background: var(--mustard); border-block: 2px solid var(--ink); padding-block: clamp(56px, 8vw, 104px); background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.12) 0 2px, transparent 2px 28px), repeating-linear-gradient(90deg, rgba(255,255,255,.12) 0 2px, transparent 2px 28px); }
.menu { max-width: 720px; margin-inline: auto; background: var(--card); border: 2px solid var(--ink); box-shadow: 12px 14px 0 var(--ink); outline: 1px solid var(--rule); outline-offset: -10px; padding: clamp(32px, 6vw, 64px) clamp(24px, 6vw, 64px); display: grid; gap: 22px; justify-items: center; text-align: center; }
.menu-kicker { font-family: var(--serif); font-style: italic; color: var(--ink-faint); }
.menu h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5vw, 60px); line-height: 1; letter-spacing: -0.03em; }
.period { display: inline-flex; border: 1px solid var(--rule); border-radius: 999px; padding: 4px; }
.period button { font: inherit; font-weight: 600; font-size: 14px; border: 0; background: transparent; color: var(--ink-soft); padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.period button[aria-checked="true"] { background: var(--mustard); color: var(--ink); }
.dish { width: 100%; text-align: left; display: grid; gap: 6px; }
.dish-line { display: flex; align-items: baseline; gap: 10px; font-family: var(--serif); font-size: clamp(22px, 2.6vw, 28px); }
.dish-line b { font-weight: 500; }
.dish-line small { font-family: var(--sans); font-size: 12px; font-weight: 700; color: #fff; background: var(--thyme); border-radius: 999px; padding: 2px 8px; vertical-align: middle; letter-spacing: .04em; }
.dish-line .price { white-space: nowrap; }
.dish-line .price small { background: none; color: var(--ink-soft); font-weight: 500; font-size: 14px; padding: 0; letter-spacing: 0; }
.dots { flex: 1; border-bottom: 2px dotted var(--ink-faint); transform: translateY(-6px); min-width: 24px; }
.dish-desc { color: var(--ink-soft); font-size: 15.5px; max-width: 46em; }
.menu-foot { font-size: 13px; color: var(--ink-faint); }

/* ── facts (privacy label) ─────────────────────────── */
.facts { padding-top: clamp(64px, 9vw, 120px) !important; display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: center; padding-block: clamp(32px, 5vw, 64px) clamp(64px, 9vw, 120px); }
.facts h2 { font-size: clamp(40px, 5.6vw, 72px); }
.facts h2 em { font-style: italic; color: var(--thyme); }
.facts-copy { display: grid; gap: 16px; max-width: 34em; }
.facts-copy p:last-child { color: var(--ink-soft); }

/* ── chef's notes ──────────────────────────────────── */
.notes { padding-block: 0 clamp(64px, 9vw, 120px); display: grid; gap: 36px; }
.notes-head { display: grid; gap: 8px; }
.notes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.notes-grid article { padding: 22px 0 26px; border-top: 2px solid var(--ink); display: grid; gap: 8px; align-content: start; }
.notes-grid h3 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 24px; line-height: 1.15; }
.notes-grid p { color: var(--ink-soft); font-size: 15.5px; }

/* ── serve ─────────────────────────────────────────── */
.serve { background: var(--thyme); color: var(--paper); position: relative; overflow: hidden; }
.serve::before { content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%; background: var(--mustard); left: 50%; top: 100%; transform: translate(-50%, -38%); opacity: .95; }
.serve-in { position: relative; z-index: 1; }
.serve-in { display: grid; justify-items: center; text-align: center; gap: 18px; padding-block: clamp(64px, 10vw, 128px) clamp(120px, 16vw, 200px); }
.serve h2 { color: var(--mustard); font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(64px, 12vw, 168px); line-height: .9; letter-spacing: -0.04em; }
.serve p { color: rgba(246, 241, 230, .8); max-width: 30em; }

/* ── footer ────────────────────────────────────────── */
.footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 32px 48px; color: var(--ink-soft); font-size: 15px; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer nav a { text-decoration: none; }
.footer .social { display: flex; gap: 10px 10px; flex-wrap: wrap; align-items: center; width: 100%; }
.footer .social span { margin-right: 8px; font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--thyme); }
.footer .wordmark { font-size: 22px; color: var(--ink); }
.footer nav a:hover { color: var(--ink); text-decoration: underline; }
.credits { flex-basis: 100%; order: 3; font-size: 13px; color: var(--ink-faint); }
.credits a { color: inherit; }
.mail { user-select: all; }

/* ── responsive ────────────────────────────────────── */
/* ── Widgets ── */
.widgets { background: var(--mustard-soft); border-bottom: 2px solid var(--ink); padding-block: clamp(56px, 8vw, 104px); overflow: hidden; }
.widgets-head { display: grid; gap: 12px; max-width: 640px; margin-bottom: clamp(28px, 4vw, 52px); }
.widgets h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 7vw, 96px); line-height: .95; letter-spacing: -0.035em; }
.widgets h2 em { font-style: italic; color: var(--thyme); }
.widgets-head p:last-child { color: var(--ink-soft); font-size: 19px; }
.widgets-grid { display: grid; grid-template-columns: 1fr 1.05fr 1fr; gap: clamp(16px, 3vw, 40px); align-items: start; }
.wg { margin: 0; display: grid; gap: 14px; justify-items: center; text-align: center; }
.wg img { width: 100%; max-width: 360px; height: auto; display: block; }
.wg-large img { max-width: 380px; transform: rotate(-2deg); filter: drop-shadow(10px 12px 0 rgba(30, 35, 31, .14)); }
.wg-large { align-self: center; }
.wg figcaption { font-size: 15px; color: var(--ink-soft); max-width: 300px; line-height: 1.45; }
.wg figcaption b { display: block; font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--ink); margin-bottom: 2px; }

@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 560px; }
  .plate-demo { grid-template-columns: 1fr; justify-items: center; }
  .plate-demo > .label { margin: 18px 0 0; align-self: center; }
  .links { display: none; }
}
@media (max-width: 860px) {
  .method-grid { grid-template-columns: 1fr; gap: 0; }
  .method-phone { display: none; }
  .step { min-height: 0; opacity: 1; padding-block: 36px; }
  .step-shot { display: block; width: 240px; height: auto; border-radius: 28px; border: 8px solid var(--ink); margin-top: 8px; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }
  .ingredients { grid-template-columns: 1fr; gap: 24px; }
  .widgets-grid { grid-template-columns: 1fr; gap: 40px; justify-items: center; }
  .wg-large { order: -1; }
  .wg img { max-width: 320px; }
  .ing-head { position: static; }
  .facts { grid-template-columns: 1fr; gap: 32px; justify-items: start; }
  .notes-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero-visual { min-height: 520px; }
  .hero-visual::before, .hero-visual::after { width: 360px; height: 360px; }
  .try .plate-demo { box-shadow: 6px 8px 0 var(--ink); }
  .serve::before { width: 420px; height: 420px; }
  .hero-visual .phone { width: 240px; }
  .n1 { top: 40px; left: -4px; }
  .n2 { bottom: 40px; right: -4px; }
  .note b { font-size: 24px; }
  .n2 b { font-size: 18px; }
  .tracks li { font-size: 19px; }
  .recipe-meta { grid-template-columns: repeat(3, auto); }
  .recipe-meta div { padding-right: 12px; margin-right: 12px; }
  .recipe-meta dd { font-size: 19px; }
  .notes-grid { grid-template-columns: 1fr; }
  .ing-list li { grid-template-columns: 104px 1fr; gap: 14px; }
  .ing-list b { font-size: 30px; }
  .ing-list span { font-size: 16px; }
  .label { width: min(100%, 300px); box-shadow: 8px 10px 0 var(--paper-2); }
  .dish-line { flex-wrap: wrap; }
  .dots { display: none; }
  .dish-line .price { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .food, .screen img, .step, .btn, .store { transition: none; }
}

/* Social icon buttons (footer of every page): brand colour at rest, filled with it on hover/focus. */
.social .soc { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; background: var(--card); border: 2px solid var(--ink); color: var(--brand); text-decoration: none; transition: background .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease; }
.social .soc svg { width: 20px; height: 20px; fill: currentColor; display: block; }
.social .soc:hover, .social .soc:focus-visible { background: var(--brand); color: #fff; transform: translateY(-2px); box-shadow: 3px 4px 0 var(--ink); text-decoration: none; }
@media (max-width: 560px) {
  .footer .social span { width: 100%; margin: 0 0 2px; }
  .social { gap: 8px !important; }
  .social .soc { width: 40px; height: 40px; }
  .social .soc svg { width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) { .social .soc { transition: none; } .social .soc:hover { transform: none; } }
