/* recipe pack — the shared design for every Cisa recipe site.
   Layout, spacing and type scale are fixed here; COLOUR AND TYPEFACE ARE NOT.
   Each site overrides the semantic tokens below from its own site.yaml, which
   base.html emits as an inline :root block after this file. Nothing in the
   rules further down may hardcode a brand colour — if it does, that site's
   brand silently stops applying, which is exactly the bug this layer exists
   to prevent.

   The geometry came from the live pastaa.fi stylesheet
   (pastaa.shared.843359c56.css): the same design at a fraction of the bytes,
   163 KB of Webflow output for a site that uses a few dozen rules. */

:root {
  /* ---- semantic tokens: every site sets these ---------------------------
     canvas      the page ground
     canvas-alt  alternating section band, a shade off canvas
     surface     cards and panels lifted off the ground
     ink         headings, and the fill of solid buttons
     on-ink      text ON ink — not decorative, it has to stay legible there
     body        running text
     accent      the brand colour: links, focus rings, active states
     accent-soft a tint of accent, for hero grounds and badges
     highlight   the wine/offer accent, used sparingly and never as a badge */
  --canvas: #fff;
  --canvas-alt: #fafafa;
  --surface: #fff;
  --ink: #040404;
  --on-ink: #fff;
  --body: #5f5f5f;
  --accent: #156950;
  --accent-soft: #ffe9c7;
  --highlight: #ce106e;

  /* Promo panel runs its own dark palette — it sits on a photograph, so it
     cannot inherit the page ground and stay readable. Sites may override. */
  --promo-bg: #241a12;
  --promo-fade: #1a120bd9;
  --promo-fade-deep: #14100be6;
  --promo-ink: #fff;
  --promo-name: #d8cec3;
  --promo-vol: #bdb2a5;

  /* ---- neutrals: shared, not per-site --------------------------------- */
  --neutral-300: gainsboro;
  --neutral-400: #bfbfbf;
  --neutral-500: #8e8e8e;
  /* Muted TEXT. The pack's greys came from the live Webflow stylesheet, where
     #8e8e8e is used for small print — 3.1:1 on the panel background, well under
     the 4.5:1 WCAG AA needs. This is the lightest neutral that clears it on
     both #fff and #fafafa, so the design barely moves. --neutral-500 stays for
     borders and rules, where contrast rules do not apply. */
  --muted: #737373;
  --neutral-700: #333;
  --shadow: #0000000f;
  --shadow-strong: #04040426;

  /* Icon shapes. Held as variables so the rules can MASK them and paint with
     a token — see .search-button. */
  --icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E");

  /* ---- type: families come from site.yaml, the scale does not ---------- */
  --font-display: system-ui, sans-serif;
  --font-body: system-ui, sans-serif;

  /* Aliases. The rules below were written against the Webflow token names and
     there is no gain in renaming 60 declarations to say the same thing. */
  --neutral-100: var(--canvas);
  --neutral-200: var(--canvas-alt);
  --neutral-600: var(--body);
  --neutral-800: var(--ink);
  /* --primary-1 removed 2026-08-08. It aliased --accent-soft and was
     painted both as a solid rule on white (1.3:1, invisible) and as
     eyebrow text on the dark promo band (11-13:1, correct). Use
     --accent for marks on light grounds, --accent-soft for text on
     dark ones. */
  --secondary-2: var(--accent);
  --wine-accent: var(--highlight);
}

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

/* Reserve the scrollbar gutter. No longer load-bearing now the gate is in the
   flow rather than an overlay that hid overflow, but it still stops any future
   modal from reflowing the page sideways. */
html { scrollbar-gutter: stable; }

body {
  margin: 0;
  color: var(--neutral-600);
  background: var(--neutral-100);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.667;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--neutral-800); margin: 0 0 16px; font-weight: 500; text-wrap: balance; }
h1 { font-size: 42px; line-height: 1.26; margin-bottom: 24px; }
h2 { font-size: 32px; line-height: 1.4; }
h3 { font-size: 26px; line-height: 30px; }
.heading-size-h4 { font-size: 22px; font-weight: 500; line-height: 1.27273; }
.no-margin { margin-bottom: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
:focus-visible { outline: 2px solid var(--wine-accent); outline-offset: 2px; }

/* ---------------------------------------------------------------- layout */
.container-default { max-width: 1270px; margin: 0 auto; padding: 0 24px; }
.container-default.narrow { max-width: 820px; }
.section { padding: 120px 0; }
.narrow-section { padding: 140px 0; }
.narrow-section.recipes { padding-bottom: 120px; }
.bg-neutral-100 { background: var(--neutral-100); }
.bg-neutral-200 { background: var(--neutral-200); }
.divider { width: 100%; height: 1px; background: var(--neutral-300); }
.divider.footer { margin-top: 48px; }
.title-container.hc-flex {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: 16px; margin-bottom: 48px;
}
.lead { font-size: 20px; max-width: 65ch; }

.breadcrumbs { font-size: 15px; color: var(--muted); margin-bottom: 24px; }
.breadcrumbs a { color: var(--neutral-600); text-decoration: none; }
.breadcrumbs a:hover { color: var(--neutral-800); }

/* ---------------------------------------------------------------- header */
.header {
  width: 100%; max-width: 1222px; margin: 0 auto; padding: 40px 0;
  background: var(--surface); box-shadow: 0 6px 28px var(--shadow); position: relative; z-index: 5;
}
.header-container { max-width: 1222px; margin: 0 auto; padding: 0 32px; }
.header-wrapper { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.header-logo { width: 150px; transition: opacity .35s; }
.header-logo:hover { opacity: .6; }

.header-search { position: relative; margin: 0; }
.search-input {
  min-width: 350px; min-height: 56px; padding: 20px 20px 20px 52px;
  background: var(--neutral-200); border: 1px solid transparent;
  color: var(--neutral-800); font: inherit; font-size: 17px; line-height: 1.2;
  text-transform: lowercase; transition: background-color .2s;
}
.search-input:hover, .search-input:focus { background: color-mix(in srgb, var(--ink) 6%, var(--surface)); }
.search-input::placeholder { color: var(--neutral-700); font-size: 18px; }
.search-button {
  position: absolute; inset: 18px auto 18px 20px;
  width: 22px; max-width: 22px; min-height: 22px; padding: 0; border: 0; cursor: pointer;
  /* Masked, not a coloured background-image: a data URI cannot read a CSS
     variable, so an inlined stroke colour would keep pastaa's near-black on
     every other brand. The mask carries the shape, --ink carries the colour. */
  background: var(--ink);
  -webkit-mask: var(--icon-search) no-repeat 50% / contain;
  mask: var(--icon-search) no-repeat 50% / contain;
}
.search-input.search-page { min-height: 64px; padding: 23px 60px 23px 18px; border-color: var(--neutral-300); }
.search-button.search-page { width: 32px; max-width: 32px; min-height: 32px; left: auto; right: 20px; }
.hero-search { position: relative; max-width: 560px; margin-top: 32px; }
.hero-search .search-input { width: 100%; min-width: 0; }

/* ---------------------------------------------------------------- buttons */
.button-secondary {
  display: inline-block; padding: 24px 42px;
  border: 1px solid var(--ink); background: transparent; color: var(--neutral-800);
  font-size: 18px; line-height: 1; text-align: center; text-transform: lowercase;
  text-decoration: none; transition: color .3s, background-color .3s, border-color .2s;
}
.button-secondary:hover { background: var(--neutral-800); color: var(--neutral-100); border-color: transparent; }
.button-secondary.small { padding: 20px 24px; font-size: 16px; line-height: 18px; }
.button-secondary.category {
  padding: 20px 24px; margin: 0; border: 0; background: var(--neutral-100);
  color: var(--neutral-700); font-size: 16px; line-height: 18px;
  box-shadow: 0 4px 18px var(--shadow);
}
.button-secondary.category:hover, .button-secondary.category.is-current { background: var(--neutral-800); color: var(--neutral-100); }
.category-nav { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 56px; }

/* ---------------------------------------------------------------- recipe */
.recipe-hero { min-height: 60vh; background: var(--neutral-300) 50% / cover no-repeat; }
.recipe-details-wrapper.split { display: flex; align-items: flex-start; margin-top: -200px; }
.main-recipe-card {
  width: 100%; max-width: 72%; padding: 92px 72px;
  background: var(--neutral-100); box-shadow: 0 4px 18px var(--shadow);
}
.recipe-lead { font-size: 20px; }
.about-the-recipe-card {
  flex: none; width: 100%; max-width: 30%; margin-left: 40px; padding: 48px 56px;
  background: var(--neutral-100); box-shadow: 0 4px 18px var(--shadow);
  position: sticky; top: 32px; align-self: flex-start;
}
.about-the-recipe-item { display: flex; align-items: center; text-transform: lowercase; }
.about-the-recipe-item.recipe-page { margin-bottom: 24px; }
.about-the-recipe-text { color: var(--neutral-800); font-weight: 500; }
.about-recipe-content { display: flex; gap: 18px; flex-wrap: wrap; }

.tabs-menu { display: flex; margin-bottom: 28px; }
.tab-link {
  width: 100%; padding: 12px; border: 0; cursor: pointer;
  background: var(--neutral-100); box-shadow: 0 4px 18px var(--shadow);
  color: var(--neutral-800); font: inherit; font-size: 18px; text-align: center;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.tab-link:hover { background: var(--neutral-800); color: var(--neutral-100); }
.tab-link.is-current { background: var(--neutral-800); color: var(--neutral-100); box-shadow: none; }
.tab-link.center-tab { margin: 0 32px; text-transform: lowercase; }
.recipe-tab[hidden] { display: none; }

.rich-text h2, .rich-text h3 { margin-top: 48px; }
.rich-text li { margin-bottom: 12px; }
.rich-text ol, .rich-text ul { margin-bottom: 26px; padding-left: 22px; }
.rich-text a { color: var(--secondary-2); }

/* ------------------------------------------------------------ wine card */
.wine-block { margin-top: 56px; }
.wine-availability { margin: 0; font-size: 15px; color: var(--muted); }
.wine-availability strong { color: var(--neutral-800); }
.wine-card-wrapper {
  display: flex; gap: 20px; margin-top: 20px; padding: 20px 25px;
  background: var(--surface); box-shadow: 0 4px 18px var(--shadow);
}
.left-side-card { display: flex; gap: 15px; max-width: 680px; }
.image-2 { max-height: 140px; width: auto; object-fit: contain; }
.title-card-wrapper { display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.wine-title { color: var(--neutral-800); font-size: 26px; line-height: 120%; }
.wine-type-country { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.wine-type { padding: 0 6px; background: var(--wine-accent); }
.wine-text { color: var(--on-ink); font-size: 12px; line-height: 24px; letter-spacing: -.25px; }
.wine-text.dark { color: var(--muted); }
.wine-text.black { color: var(--ink); line-height: 18px; }
.wine-note { font-size: 15px; font-style: italic; color: var(--neutral-600); }
.right-side-card { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; gap: 10px; width: 50%; }
.wine-price-size { display: flex; flex-direction: column; align-items: flex-end; }
.wine-price { color: var(--ink); font-size: 44px; line-height: 100%; }
.wine-size { color: var(--muted); line-height: 100%; }
.wine-unavailable { max-width: 22ch; text-align: right; font-size: 14px; color: var(--muted); }
/* The badge is shown only for a verified rating (enforced in v_wine_card).
   Live pastaa.fi hides this element outright, so a LÖYTÖ never reached a reader. */
.wine-badge-wrapper { display: flex; align-items: center; gap: 8px; }
.wine-badge { max-width: 32px; }
.wine-badge-text { font-size: 13px; font-weight: 600; color: var(--secondary-2); text-transform: uppercase; letter-spacing: .4px; }

/* ------------------------------------------------------------ card grid */
.latest-recipes-grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 26px; row-gap: 60px; }
.recipe-card-wrapper {
  display: block; height: 100%; color: var(--neutral-600); text-decoration: none;
  background: var(--surface); box-shadow: 0 4px 18px var(--shadow); transition: transform .3s;
}
.recipe-card-wrapper:hover { transform: scale(.94); }
.image-wrapper.card { display: flex; justify-content: center; align-items: center; }
.card-image { width: 100%; max-height: 260px; object-fit: cover; }

/* A wine card carries a bottle, not a dish, and the two cannot share a crop
   rule. `width:100% + object-fit:cover` fills a landscape card from a portrait
   cut-out by cropping everything but the middle of the glass — which is why
   searching "el abuelo" returned three black slabs.
   PIN THE HEIGHT, NEVER THE WIDTH: the markettiviini cut-outs are not a
   uniform 300x600, they range 136x585 to 295x459, so a width-pinned box
   renders a narrow bottle nearly 400px tall.
   Inert on the other eleven sites: nothing emits .is-wine unless the search
   index carries wine entries. */
.recipe-card-wrapper.is-wine .image-wrapper.card { padding: 18px 0; }
.recipe-card-wrapper.is-wine .card-image {
  width: auto; max-width: 70%; height: 260px; object-fit: contain;
}
.recipe-card-details { padding: 24px 30px; }
.recipe-card-details h3 { font-size: 22px; line-height: 1.3; }
.recipe-card-details p { font-size: 16px; }
.small-accent-line { width: 16%; min-height: 2px; margin-bottom: 16px; background: var(--accent); }
.mg-bottom-56px { margin-bottom: 24px; }
.empty, .search-status { color: var(--muted); }

/* ---------------------------------------------------------------- footer */
.footer { border-top: 1px solid var(--neutral-300); background: var(--surface); }
.footer .container-default { padding-top: 80px; padding-bottom: 40px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 60px; justify-content: space-between; }
.footer-newsletter { max-width: 46ch; }
.footer-cats ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; margin: 0; padding: 0; list-style: none; }
.footer-cats a { color: var(--neutral-600); text-decoration: none; }
.footer-cats a:hover { color: var(--neutral-800); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 15px; }
.footer-bottom p { margin: 8px 0; }


/* ------------------------------------------------------------ responsive */
@media (max-width: 991px) {
  .latest-recipes-grid { grid-template-columns: 1fr 1fr; }
  .recipe-details-wrapper.split { flex-direction: column; margin-top: -120px; }
  .main-recipe-card, .about-the-recipe-card { max-width: 100%; }
  .about-the-recipe-card { margin: 24px 0 0; position: static; }
  .main-recipe-card { padding: 56px 40px; }
  .search-input { min-width: 220px; }
}
@media (max-width: 767px) {
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .section, .narrow-section { padding: 72px 0; }
  .latest-recipes-grid { grid-template-columns: 1fr; }
  .header { padding: 20px 0; }
  .header-container { padding: 0 20px; }
  .header-wrapper { flex-wrap: wrap; }
  .header-search { width: 100%; }
  .main-recipe-card { padding: 32px 20px; }
  .wine-card-wrapper { flex-direction: column; padding: 15px; }
  .left-side-card { flex-direction: column; }
  .right-side-card { width: 100%; align-items: flex-start; }
  .wine-price-size { flex-direction: row; align-items: flex-end; gap: 15px; }
  .wine-unavailable { text-align: left; }
  .tab-link.center-tab { margin: 0 8px; }
  .tab-link { font-size: 15px; }
  .recipe-hero { min-height: 40vh; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .recipe-card-wrapper:hover { transform: none; }
}

/* ======================================================================
   Added after first review: consent + age gate, promo strip, hero
   scroller, newsletter, search typeahead, larger mobile bottle.
   ====================================================================== */

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--neutral-800); color: var(--on-ink); padding: 12px 18px;
}
.skip-link:focus { left: 0; }

/* ---------------------------------------------- age gate + consent */
/* In the flow, server-rendered, first thing in <main>. On a first visit this IS
   the first paint, so nothing moves. The <html> class is set by a blocking
   script in <head> before paint, so a returning reader never sees a flash. No
   overlay and no overflow:hidden — the old version's scrollbar removal was
   itself a layout shift, on every single first visit. */
.agegate { display: none; }
/* Compact by design. This is a gate, not a landing page: it asks one question
   and the reader answers it in about two seconds. Sized so the whole panel
   plus the header fits in roughly a third of a laptop viewport, leaving the
   site visible underneath. */
.agegate-inner { padding: 30px 24px 34px; max-width: 820px; margin: 0 auto; }
.agegate-kicker {
  margin: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--wine-accent);
}
/* 26px keeps the question on ONE line at this max-width in all four of the
   estate's display faces. At 38px it wrapped in Poppins and DM Serif Display,
   which alone cost 45px of height. */
.agegate h1, .agegate-title {
  font-size: 26px; line-height: 1.25; margin: 0 0 8px;
  font-family: var(--font-display); color: var(--ink); font-weight: 500;
  text-wrap: balance;
}
.agegate-lead { font-size: 16px; color: var(--neutral-600); max-width: 64ch; margin: 0 0 18px; }
.agegate-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.agegate-row button {
  padding: 12px 20px; border: 1px solid var(--neutral-800); cursor: pointer;
  background: var(--surface); color: var(--neutral-800); font: inherit; font-size: 15px;
  transition: background-color .2s, color .2s;
}
.agegate-row button:hover { background: var(--neutral-800); color: var(--on-ink); }
.agegate-yes { background: var(--neutral-800); color: var(--on-ink); }
.agegate-yes:hover { background: var(--wine-accent); border-color: var(--wine-accent); }
.agegate-no { border-style: dashed; color: var(--muted); }
.agegate-cats {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px;
  border: 0; border-top: 1px solid var(--neutral-300); margin: 0 0 12px; padding: 14px 0 0;
}
.agegate-cats legend {
  padding: 0; font-size: 12px; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--muted);
}
.agegate-cats label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--neutral-700); }
.agegate-cats input { accent-color: var(--wine-accent); width: 18px; height: 18px; }
.agegate-note { margin: 0; font-size: 13px; line-height: 1.45; color: var(--muted); max-width: 72ch; }

/* Which state the page is in — decided before paint by the head script. */
.consent-unknown #agegate { display: block; }
/* NOT .consent-unknown: a reader who has not answered yet still sees the page,
   with the banner over it. Google arrives as a first-time visitor on every
   crawl and can never click, so hiding the content for that state meant every
   page indexed as 108 words of age-verification copy instead of the recipe.
   Valvira accepts the age confirmation inside the cookie banner — and a banner
   is something you put ON a page, not instead of one.
   consent-denied stays: someone who has said they are under 18 should not see
   alcohol content. */
.consent-denied  .site-content,
.consent-denied  .header,
.consent-denied  .footer { display: none; }
.consent-denied #agegate-denied { display: block; }

@media (max-width: 767px) {
  .agegate-inner { padding: 24px 20px 28px; }
  .agegate h1, .agegate-title { font-size: 22px; }
  .agegate-lead { font-size: 15px; }
  .agegate-row { flex-direction: column; }
  .agegate-row button { width: 100%; }
}

/* ------------------------------------------------------- promo banner */
/* Front page only. The scene is a background plate; the bottle and every
   number sit on top as real elements, so nothing is baked in. */
.promo { position: relative; overflow: hidden; background: var(--promo-bg); isolation: isolate; }
.promo-scene { position: absolute; inset: 0; z-index: -2; }
.promo-scene img { width: 100%; height: 100%; object-fit: cover; object-position: 22% 50%; }
/* Scrim only over the copy side, so the food keeps its contrast. */
.promo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, color-mix(in srgb, var(--promo-bg) 0%, transparent) 38%, var(--promo-fade) 60%, var(--promo-fade-deep) 100%);
}
.promo-inner {
  display: grid; grid-template-columns: 1fr auto minmax(0, 46ch);
  align-items: center; gap: 40px;
  padding-top: 44px; padding-bottom: 44px; min-height: 380px;
}
.promo-bottle { grid-column: 2; }
.promo-bottle img {
  display: block; height: 300px; width: auto;
  filter: drop-shadow(0 24px 34px #0000008c);
}
.promo-copy { grid-column: 3; color: var(--promo-ink); }
.promo-eyebrow {
  display: flex; align-items: center; gap: 8px;
  margin: 0 0 10px; font-size: 12px; font-weight: 600;
  letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent-soft);
}
.promo-headline {
  margin: 0 0 12px; font-size: 32px; line-height: 1.15; color: var(--promo-ink);
  text-wrap: balance;
}
.promo-name { margin: 0 0 20px; font-size: 15px; color: var(--promo-name); }
.promo-foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.promo-price { margin: 0; font-size: 38px; line-height: 1; color: var(--promo-ink); white-space: nowrap; }
.promo-vol { display: block; margin-top: 8px; font-size: 13px; color: var(--promo-vol); letter-spacing: .2px; }

/* ------------------------------------------------------ hero scroller */
.hero-scroll { background: var(--neutral-200); padding: 40px 0 80px; }
.hero-scroll-inner { display: block; }
.hero-panel { padding: 48px 0; }
.hero-panel h2 { font-size: 38px; }
.hero-panel p { max-width: 60ch; }
.hero-panel-img { width: 100%; margin: 24px 0; }
.hero-stage { display: none; }
.button-primary {
  display: inline-block; margin-top: 24px; padding: 20px 34px;
  background: var(--neutral-800); color: var(--on-ink); font-size: 17px;
  text-decoration: none; transition: background-color .25s;
}
.button-primary:hover { background: var(--wine-accent); }

/* Phones and tablets: the image pins to the top and cross-fades while the
   text panels scroll underneath. Applied in CSS, not by a JS-added class —
   restructuring after first paint is what CLS measures. */
@media (max-width: 991px) {
  .hero-scroll .hero-scroll-inner { display: flex; flex-direction: column; }
  .hero-scroll .hero-panel-img { display: none; }
  .hero-scroll .hero-stage {
    display: block; order: -1;              /* stage is last in source order */
    position: sticky; top: 12px; z-index: 1;
    height: 38vh; margin-bottom: 28px;
  }
  .hero-scroll .hero-shot {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0; transition: opacity .45s ease;
  }
  .hero-scroll .hero-shot.is-current { opacity: 1; }
  .hero-scroll .hero-panels { display: flex; flex-direction: column; }
  .hero-scroll .hero-panel {
    min-height: 52vh; display: flex; flex-direction: column; justify-content: center;
    padding: 0;
  }
}

/* Desktop: sticky cross-fading image column beside the text. CSS-only for the
   same reason. */
@media (min-width: 992px) {
  .hero-scroll .hero-scroll-inner {
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
  }
  .hero-scroll .hero-panel { min-height: 78vh; display: flex;
    flex-direction: column; justify-content: center; padding: 0; }
  .hero-scroll .hero-panel-img { display: none; }
  .hero-scroll .hero-stage {
    display: block; position: sticky; top: 12vh; height: 76vh;
  }
  .hero-scroll .hero-shot {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0; transition: opacity .5s ease;
  }
  .hero-scroll .hero-shot.is-current { opacity: 1; }
}

/* --------------------------------------------------- search typeahead */
.header-search, .hero-search { position: relative; }
.typeahead {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 40;
  margin: 0; padding: 6px 0; list-style: none;
  background: var(--surface); border: 1px solid var(--neutral-300);
  box-shadow: 0 10px 32px var(--shadow-strong); max-height: 60vh; overflow-y: auto;
}
.typeahead[hidden] { display: none; }
.typeahead-item a, .typeahead-more a {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 14px; color: var(--neutral-700); text-decoration: none; font-size: 15px;
}
.typeahead-item img { width: 56px; height: 40px; object-fit: cover; flex: none; }
/* Same reason as the card: a 56x40 cover crop of a bottle is a sliver of glass. */
.typeahead-item.is-wine img { object-fit: contain; }
.typeahead-item.is-active a, .typeahead-item a:hover,
.typeahead-more.is-active a, .typeahead-more a:hover {
  background: var(--neutral-200); color: var(--neutral-800);
}
.typeahead-more a { font-size: 14px; color: var(--wine-accent); border-top: 1px solid var(--neutral-300); }

/* -------------------------------------------------------- newsletter */
.newsletter-form { margin-top: 16px; }
.newsletter-row { display: flex; gap: 0; max-width: 420px; }
.newsletter-row input {
  flex: 1; min-width: 0; padding: 14px 16px;
  border: 1px solid var(--neutral-300); border-right: 0;
  font: inherit; font-size: 16px; background: var(--surface); color: var(--neutral-800);
}
.newsletter-row button {
  padding: 14px 26px; border: 0; background: var(--neutral-800); color: var(--on-ink);
  font: inherit; font-size: 16px; text-transform: lowercase; cursor: pointer;
  transition: background-color .2s;
}
.newsletter-row button:hover { background: var(--wine-accent); }
.newsletter-consent {
  display: flex; gap: 10px; margin-top: 12px; max-width: 46ch;
  font-size: 13px; line-height: 1.5; color: var(--muted);
}
.newsletter-consent input { margin-top: 3px; accent-color: var(--wine-accent); }
/* Charlie swaps the form for its own thank-you box on success. */
.charlie-message, [data-charlie-message] { margin-top: 12px; font-size: 14px; color: var(--secondary-2); }

/* ------------------------------------------------------- responsive */
@media (max-width: 991px) {
  .promo-inner { grid-template-columns: auto minmax(0, 1fr); gap: 28px; min-height: 0; }
  .promo-bottle { grid-column: 1; }
  .promo-copy { grid-column: 2; }
  .promo-bottle img { height: 230px; }
  .promo-headline { font-size: 26px; }
  .promo::after { background: linear-gradient(90deg, var(--promo-fade) 0%, var(--promo-fade-deep) 55%); }
  .hero-panel h2 { font-size: 30px; }
}

/* Phone. This opener was MISSING: the rules below sat at top level with an
   orphan closing brace after them, so the phone promo layout — scene as a
   150px banner strip, gradient off — applied at every viewport width. The
   promo has therefore never rendered as designed on desktop, on any site.
   Caught during the kanareseptit build; the same defect is in packs/pastaa. */
@media (max-width: 767px) {
  /* Phone: the scene becomes a banner image above the copy rather than a
     background it has to fight for contrast against. */
  .promo { display: flex; flex-direction: column; }
  .promo-scene { position: static; }
  .promo-scene img { height: 150px; }
  .promo::after { display: none; }
  .promo-inner { grid-template-columns: auto 1fr; gap: 20px; padding: 24px; background: var(--promo-bg); }
  .promo-bottle img { height: 180px; }
  .promo-headline { font-size: 22px; }
  .promo-price { font-size: 30px; }
  .promo-foot { gap: 14px; }
  .newsletter-row { max-width: 100%; }
  .typeahead { max-height: 50vh; }

  /* The bottle shot was reading smaller than the original on a phone.
     Live pastaa.fi lets it grow to 200px there; match that and let it
     scale down rather than crop. */
  .image-2 { max-height: 200px; object-fit: scale-down; }
}

/* Home: the h1 rides at the top of the hero-banner section, not in a hero
   block of its own — the reader meets the categories immediately. */
.hero-title { font-size: 30px; margin: 0; padding: 40px 0 8px; }
.browse .hero-search { margin-bottom: 40px; }
.browse .category-nav { margin-bottom: 0; }
@media (max-width: 767px) { .hero-title { font-size: 24px; padding: 28px 0 4px; } }

/* --------------------------------------------------- official Alko button */
/* Alko supplies this artwork to importers. It is used as delivered: no
   recolouring, no cropping, no substitute wording. Only the hit area and
   spacing around it are ours. */
.alko-button {
  display: inline-block; line-height: 0; text-decoration: none;
  transition: opacity .2s, transform .2s;
}
.alko-button:hover { opacity: .85; transform: translateY(-1px); }
.alko-button img { display: block; width: 200px; height: auto; }
/* On the dark banner the button's own white plate is what separates it. */
.promo-alko img { box-shadow: 0 6px 18px #0000005c; }
@media (max-width: 767px) {
  .alko-button img { width: 180px; }
}

/* ------------------------------------------------ "is it in my Alko?" */
.storecheck { margin-top: 32px; padding: 24px; background: var(--neutral-200); }
.storecheck-title { margin: 0 0 16px; font-size: 20px; }
.storecheck-controls { display: flex; flex-wrap: wrap; gap: 12px; }
.storecheck-open, .storecheck-geo {
  padding: 14px 22px; border: 1px solid var(--neutral-800); cursor: pointer;
  background: var(--surface); color: var(--neutral-800); font: inherit; font-size: 15px;
  text-transform: lowercase; transition: background-color .2s, color .2s;
}
.storecheck-open:hover, .storecheck-geo:hover { background: var(--neutral-800); color: var(--on-ink); }
.storecheck-geo { border-style: dashed; }

.storecheck-picker { margin-top: 16px; }
.storecheck-picker input {
  width: 100%; max-width: 420px; padding: 12px 14px;
  border: 1px solid var(--neutral-300); font: inherit; font-size: 16px;
}
.storecheck-list {
  list-style: none; margin: 8px 0 0; padding: 0; max-width: 420px;
  max-height: 300px; overflow-y: auto; background: var(--surface);
  border: 1px solid var(--neutral-300);
}
.storecheck-item {
  display: flex; flex-direction: column; gap: 2px; width: 100%;
  padding: 10px 14px; border: 0; border-bottom: 1px solid var(--neutral-200);
  background: none; font: inherit; text-align: left; cursor: pointer;
}
.storecheck-item:hover { background: var(--neutral-200); }
/* A quiet mark on shops that have it — the reader can often stop reading here. */
.storecheck-item.in-stock { border-left: 3px solid var(--secondary-2); }
.sc-name { color: var(--neutral-800); font-size: 15px; }
.sc-city { color: var(--muted); font-size: 13px; }

.storecheck-result { margin: 16px 0 0; font-size: 16px; min-height: 1.4em; }
.storecheck-result.yes { color: var(--secondary-2); font-weight: 500; }
.storecheck-result.no  { color: var(--neutral-700); }

.storecheck-subs { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--neutral-300); }
.storecheck-subs-lead { margin: 0 0 14px; font-size: 15px; color: var(--neutral-700); max-width: 56ch; }
.storecheck-subs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sub {
  display: grid; grid-template-columns: 60px 1fr auto; align-items: center;
  gap: 16px; padding: 14px 16px; background: var(--surface);
  border: 1px solid var(--neutral-300); transition: border-color .2s;
}
.sub:hover { border-color: var(--neutral-800); }
.sub-bottle { width: 60px; height: auto; max-height: 128px; object-fit: contain; }
.sub-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sub-name { color: var(--neutral-800); font-size: 16px; line-height: 1.3; }
.sub-meta { color: var(--muted); font-size: 13px; }
.sub-badge {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 2px;
  font-size: 12px; font-weight: 600; letter-spacing: .3px;
  text-transform: uppercase; color: var(--secondary-2);
}
.sub-buy { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.sub-price { color: var(--neutral-800); font-size: 20px; white-space: nowrap; }

@media (max-width: 767px) {
  .storecheck { padding: 18px; }
  .storecheck-controls { flex-direction: column; }
  .storecheck-open, .storecheck-geo { width: 100%; }
  .storecheck-picker input, .storecheck-list { max-width: 100%; }
  .sub { grid-template-columns: 52px 1fr; gap: 12px; }
  .sub-bottle { width: 52px; }
  .sub-buy { grid-column: 1 / -1; flex-direction: row; align-items: center;
             justify-content: space-between; }
}
.storecheck.order-only p { margin: 0; font-size: 15px; color: var(--neutral-600); max-width: 60ch; }

/* No cross-fade wanted: fall back to the plain stack, each panel with its own
   image. Stated in CSS so it costs no layout shift either. */
@media (prefers-reduced-motion: reduce) {
  .hero-scroll .hero-scroll-inner { display: block; }
  .hero-scroll .hero-panel { min-height: 0; padding: 48px 0; display: block; }
  .hero-scroll .hero-panel-img { display: block; }
  .hero-scroll .hero-stage { display: none; }
}
.storecheck-subs-lead { margin: 0 0 12px; font-size: 15px; color: var(--neutral-700); max-width: 56ch; }
