/* =============================================================================
   Ropen Coffee and Fine Foods — public website design system
   Brand: purple #6B2D8B · gold #F5A800 · green #2E7A2E · dark green #1A5C2A
   Type:  Fraunces (display, variable) + Inter (text, variable), self-hosted
   ========================================================================== */

/* ── Fonts ─────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/winery/fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/winery/fonts/fraunces-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'InterVar';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/winery/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'InterVar';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/winery/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ── Tokens ────────────────────────────────────────────────────────────── */
:root {
  --purple:       #6B2D8B;
  --purple-700:   #57226f;
  --purple-900:   #3a1549;
  --purple-050:   #f6eefb;
  --gold:         #F5A800;
  --gold-600:     #d18f00;
  --gold-050:     #fff7e3;
  --green:        #2E7A2E;
  --green-900:    #1A5C2A;
  --green-050:    #eef7ee;

  --ink:          #1b1420;
  --ink-2:        #4a4152;
  --ink-3:        #6f6779;
  --line:         #e7e2ec;
  --line-2:       #f1eef5;
  --paper:        #ffffff;
  --paper-2:      #faf8fc;
  --paper-3:      #f4f0f8;
  --cream:        #fdfbf6;

  --danger:       #b3261e;
  --success:      #17692c;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-text:    'InterVar', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  --shadow-1: 0 1px 2px rgba(27,20,32,.05), 0 2px 8px rgba(27,20,32,.05);
  --shadow-2: 0 4px 12px rgba(27,20,32,.07), 0 12px 32px rgba(27,20,32,.07);
  --shadow-3: 0 12px 28px rgba(58,21,73,.13), 0 32px 64px rgba(58,21,73,.10);

  --wrap: 1180px;
  --nav-h: 76px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ── Reset / base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body.ropen {
  margin: 0;
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern' 1, 'liga' 1, 'cv11' 1;
  overflow-x: hidden;
}

.ropen img, .ropen picture { max-width: 100%; display: block; }
.ropen h1, .ropen h2, .ropen h3, .ropen h4 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.018em;
  color: var(--ink);
  margin: 0 0 .5em;
  text-wrap: balance;
}
.ropen h1 { font-size: clamp(2.4rem, 1.4rem + 4.2vw, 4.4rem); font-weight: 600; }
.ropen h2 { font-size: clamp(1.85rem, 1.2rem + 2.4vw, 2.9rem); }
.ropen h3 { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); }
.ropen h4 { font-size: 1.1rem; letter-spacing: -.01em; }
.ropen p  { margin: 0 0 1.1em; text-wrap: pretty; }
/* `:where()` contributes no specificity, so this default only ever styles bare
   prose links — every component class below (.btn, .cart-btn, .hero-card …)
   wins without needing to be written more specifically. */
:where(.ropen) a { color: var(--purple); text-decoration-thickness: 1px; text-underline-offset: 3px; }
:where(.ropen) a:hover { color: var(--purple-700); }
.ropen ul, .ropen ol { margin: 0 0 1.2em; padding-left: 1.15em; }
.ropen li { margin-bottom: .45em; }
.ropen strong { font-weight: 600; }
.ropen hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--purple); color: #fff; padding: .8rem 1.2rem;
  border-radius: 0 0 var(--r-sm) 0; font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

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

/* ── Layout primitives ─────────────────────────────────────────────────── */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, 780px); margin-inline: auto; }
.section { padding: clamp(3.5rem, 2rem + 6vw, 7rem) 0; }
.section-tight { padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) 0; }
.section-cream { background: var(--cream); }
.section-paper2 { background: var(--paper-2); }
.section-ink { background: var(--purple-900); color: #fff; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-ink p { color: rgba(255,255,255,.82); }

.grid { display: grid; gap: clamp(1.25rem, .8rem + 1.6vw, 2.25rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }

/* Four equal cards held on one row. Halves to 2×2, then stacks — it steps down
   by whole rows so a single card is never stranded on a row of its own. */
.grid-4-across {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, .7rem + .9vw, 1.5rem);
}
.grid-4-across .card { padding: clamp(1.25rem, 1rem + .7vw, 1.6rem); }
.grid-4-across .card h3 { font-size: 1.16rem; line-height: 1.25; }
.grid-4-across .card p { font-size: .93rem; }
@media (max-width: 1040px) { .grid-4-across { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px)  { .grid-4-across { grid-template-columns: 1fr; } }

.stack > * + * { margin-top: 1.1rem; }
.center { text-align: center; }
.measure { max-width: 62ch; }
.measure-center { max-width: 62ch; margin-inline: auto; }

/* ── Eyebrow / section headers ─────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-text);
  font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--purple);
  margin: 0 0 1rem;
}
.eyebrow::before {
  content: ''; width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--purple));
}
.eyebrow-light { color: var(--gold); }
.section-head { max-width: 66ch; margin-bottom: clamp(2rem, 1.2rem + 2vw, 3.25rem); }
.section-head.center { margin-inline: auto; }
.lede { font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); color: var(--ink-2); line-height: 1.6; }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-text); font-size: .95rem; font-weight: 600;
  letter-spacing: .005em; line-height: 1;
  padding: .95rem 1.6rem;
  border: 1px solid transparent; border-radius: var(--r-pill);
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }

.btn-primary { background: var(--purple); color: #fff; box-shadow: 0 6px 18px rgba(107,45,139,.28); }
.btn-primary:hover { background: var(--purple-700); color: #fff; box-shadow: 0 10px 26px rgba(107,45,139,.34); }

.btn-gold { background: var(--gold); color: #2a1c00; box-shadow: 0 6px 18px rgba(245,168,0,.32); }
.btn-gold:hover { background: var(--gold-600); color: #2a1c00; box-shadow: 0 10px 26px rgba(245,168,0,.4); }

.btn-outline { background: transparent; color: var(--purple); border-color: var(--line); }
.btn-outline:hover { background: var(--purple-050); border-color: var(--purple); color: var(--purple); }

.btn-ghost-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.34); backdrop-filter: blur(8px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.2); color: #fff; border-color: rgba(255,255,255,.6); }

.btn-sm { padding: .6rem 1.1rem; font-size: .85rem; }
.btn-lg { padding: 1.1rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; font-size: .95rem; text-decoration: none;
}
.link-arrow::after { content: '→'; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ── Navbar ────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.nav.is-scrolled { box-shadow: var(--shadow-1); background: rgba(255,255,255,.95); }
.nav-inner {
  display: flex; align-items: center; gap: 1.5rem;
  height: var(--nav-h);
  width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto;
}
.nav-brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex-shrink: 0; }
.nav-brand img { height: 42px; width: auto; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-brand-name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.06rem;
  color: var(--purple); letter-spacing: -.02em;
}
.nav-brand-tag { font-size: .63rem; letter-spacing: .17em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: .3rem; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
/* The prose default `.ropen li { margin-bottom: .45em }` also lands on these
   items. `align-items: center` centres each item's margin box, so that bottom
   margin pushed the visible links about 4px above the header's centre line. */
.nav-links li { margin-bottom: 0; }
.nav-links a {
  display: block; padding: .55rem .85rem; border-radius: var(--r-pill);
  font-size: .93rem; font-weight: 500; color: var(--ink-2); text-decoration: none;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.nav-links a:hover { background: var(--purple-050); color: var(--purple); }
.nav-links a[aria-current="page"] { color: var(--purple); font-weight: 600; background: var(--purple-050); }

.nav-actions { display: flex; align-items: center; gap: .6rem; }

.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1.05rem; border-radius: var(--r-pill);
  background: var(--purple); color: #fff; text-decoration: none;
  font-size: .88rem; font-weight: 600;
  transition: background-color .18s var(--ease), transform .18s var(--ease);
}
.cart-btn:hover { background: var(--purple-700); color: #fff; transform: translateY(-1px); }
.cart-btn svg { width: 17px; height: 17px; }
.cart-count {
  min-width: 20px; height: 20px; padding: 0 5px;
  display: none; align-items: center; justify-content: center;
  background: var(--gold); color: #2a1c00;
  border-radius: var(--r-pill); font-size: .72rem; font-weight: 700; line-height: 1;
}
.cart-count.is-visible { display: inline-flex; }
.cart-btn.is-bumped { animation: bump .38s var(--ease); }
@keyframes bump { 0%,100% { transform: scale(1); } 40% { transform: scale(1.12); } }

.nav-toggle {
  display: none; width: 42px; height: 42px; padding: 0;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line); border-radius: var(--r-sm);
  cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 20px; height: 20px; }

/* Raised from 940px when TerraNova became a seventh nav item — seven labels plus
   the brand and basket no longer fit on one row below about 1060px. */
@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .6rem 1.25rem 1.25rem;
    box-shadow: var(--shadow-2);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease);
    max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
  }
  .nav-links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: .85rem .6rem; border-radius: var(--r-sm); font-size: 1rem; }
  .nav-links li + li { border-top: 1px solid var(--line-2); }
}
@media (max-width: 560px) {
  .nav-brand-tag { display: none; }
  .cart-btn span.cart-label { display: none; }
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative; isolation: isolate;
  display: flex; align-items: center;
  min-height: clamp(540px, 78vh, 780px);
  padding: clamp(3rem, 2rem + 5vw, 6rem) 0;
  color: #fff; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(31,12,40,.30) 0%, rgba(31,12,40,.55) 45%, rgba(31,12,40,.86) 100%),
    radial-gradient(120% 80% at 15% 30%, rgba(107,45,139,.55), transparent 60%);
}
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero .lede { color: rgba(255,255,255,.9); font-size: clamp(1.08rem, 1rem + .5vw, 1.32rem); }
.hero-content { max-width: 720px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.hero-sub { min-height: clamp(320px, 46vh, 460px); }
.hero-sub .hero-content { max-width: 640px; }

/* Home hero: brand colour and pattern instead of a photograph, logo on the right */
.hero-brand {
  background-color: var(--purple-900);
  background-image:
    radial-gradient(85% 75% at 82% 12%, rgba(107,45,139,.85), transparent 62%),
    radial-gradient(70% 65% at 4% 96%, rgba(26,92,42,.42), transparent 68%),
    repeating-linear-gradient(135deg,
      rgba(245,168,0,.06) 0 2px, transparent 2px 14px);
}
.hero-brand::after { display: none; }

.hero-lead {
  display: grid; align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
}
.hero-brandmark { display: grid; place-items: center; }
.hero-brandmark img {
  display: block; width: clamp(140px, 14vw, 210px); height: auto;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,.35));
}

@media (max-width: 860px) {
  .hero-lead { grid-template-columns: 1fr; gap: 2rem; }
  .hero-brandmark { order: -1; justify-self: start; }
  .hero-brandmark img { width: 116px; }
}

/* Home hero: the three destination cards */
.hero-cards {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
}
.hero-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 230px; padding: 1.5rem;
  border-radius: var(--r-lg); text-decoration: none; color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.hero-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-3); color: #fff; }
.hero-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.hero-card:hover img { transform: scale(1.06); }
.hero-card::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(31,12,40,.15) 0%, rgba(31,12,40,.78) 100%);
}
.hero-card h3 { color: #fff; font-size: 1.4rem; margin-bottom: .25rem; }
.hero-card p { color: rgba(255,255,255,.84); font-size: .9rem; margin: 0 0 .7rem; line-height: 1.45; }
.hero-card .link-arrow { color: var(--gold); }

/* ── Page header (interior pages without a photo hero) ─────────────────── */
.page-head {
  padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) 0 clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: linear-gradient(180deg, var(--purple-050), var(--paper));
  border-bottom: 1px solid var(--line);
}

/* ── Breadcrumbs ───────────────────────────────────────────────────────── */
.crumbs { font-size: .82rem; color: var(--ink-3); padding: 1rem 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.crumbs li { margin: 0; display: flex; align-items: center; gap: .4rem; }
.crumbs li + li::before { content: '/'; color: var(--line); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--purple); text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--ink); font-weight: 500; }

/* ── Cards ─────────────────────────────────────────────────────────────── */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: transparent; }
.card h3 { margin-bottom: .5rem; }
.card p:last-child { margin-bottom: 0; }

.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: var(--r-md);
  background: var(--purple-050); color: var(--purple);
  margin-bottom: 1.15rem; font-size: 1.4rem;
}
.icon-badge-gold { background: var(--gold-050); color: var(--gold-600); }
.icon-badge-green { background: var(--green-050); color: var(--green); }

/* Inline SVG icons inherit colour and never depend on a system emoji font. */
.icon { display: block; flex-shrink: 0; }
.notice > .icon { margin-top: .15rem; }
.result-icon .icon, .phone-pulse .icon, .icon-badge .icon, .empty-state .icon-badge .icon { display: block; }

/* ── Split feature (image + text) ──────────────────────────────────────── */
.split {
  display: grid; gap: clamp(2rem, 1.2rem + 3vw, 4rem); align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
}
.split-media img { border-radius: var(--r-lg); box-shadow: var(--shadow-2); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-media.tall img { aspect-ratio: 3/4; }
.split-media.square img { aspect-ratio: 1/1; }
/* Oval portrait frame, echoing the oval of the Ropen mark. Shaped in CSS so the
   photograph itself stays a plain rectangle and can be reused elsewhere. */
.split-media.oval img {
  aspect-ratio: 9/14; border-radius: 50%; box-shadow: none;
  max-width: 360px; margin-inline: auto; display: block;
}
/* A photograph set below a column of body copy, sharing the frame treatment of the
   split-media photographs so the two read as one family. */
.text-figure { margin: 2rem 0 0; }
.text-figure img {
  width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--r-lg); box-shadow: var(--shadow-2); display: block;
}
.text-figure figcaption {
  margin-top: .85rem; font-size: .84rem; line-height: 1.5;
  color: var(--ink-3); font-style: italic;
}
/* Centred variant for a photograph closing out a full-width section. */
.text-figure.wide { max-width: 720px; margin-inline: auto; }
.text-figure.wide img { aspect-ratio: 3/2; }
.text-figure.wide figcaption { text-align: center; }
.split.reverse .split-media { order: 2; }
@media (max-width: 800px) { .split.reverse .split-media { order: 0; } }

/* Media column sized *by* the text beside it. The image is taken out of flow, so
   it contributes nothing to the row height — the row is set by the text alone and
   the image then fills exactly that, leaving no dead space beside short copy. */
.split.media-fill .split-media {
  position: relative; align-self: stretch; min-height: 280px;
}
.split.media-fill .split-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover;
}
/* Collapsed to one column there is no text alongside to take the height from. */
@media (max-width: 820px) {
  .split.media-fill .split-media { min-height: 0; }
  .split.media-fill .split-media img { position: static; height: auto; aspect-ratio: 4/3; }
}

/* Media column that runs the full height of the text beside it, rather than being
   cropped to a fixed ratio. Pair with a text column tall enough to justify it. */
.split.stretch-media { align-items: stretch; }
.split.stretch-media .split-media img { height: 100%; aspect-ratio: auto; object-fit: cover; }
/* Once the split has collapsed to one column there is no neighbour to match, so
   the image would run to its natural 3:4. Put it back on a ratio. */
@media (max-width: 820px) {
  .split.stretch-media .split-media img { height: auto; aspect-ratio: 4/3; }
}

/* ── Stats ─────────────────────────────────────────────────────────────── */
.stats { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.stat-value {
  font-family: var(--font-display); font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem);
  font-weight: 700; line-height: 1; color: var(--gold); letter-spacing: -.03em;
}
.stat-label { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin-top: .5rem; }
.section-ink .stat-label { color: rgba(255,255,255,.7); }

/* ── History timeline, with the bush held beside it as a locket ────────── */
.history-layout {
  display: grid; align-items: start;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2rem, 1.5rem + 3vw, 4.5rem);
}

.timeline { list-style: none; margin: 0; padding: 0 0 0 5.5rem; position: relative; }
.timeline li { position: relative; padding-bottom: clamp(1.75rem, 1.4rem + 1vw, 2.6rem); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li p { margin: 0; }
/* Gold marker per year. No connecting rule — the years carry the sequence. */
.timeline li::before {
  content: ''; position: absolute; left: calc(-1.25rem - 4.5px); top: .42rem;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--gold);
}
.tl-year {
  position: absolute; left: -5.5rem; top: 0; width: 3.6rem; text-align: right;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  color: var(--purple); letter-spacing: -.01em;
}

/* Held in place while the century scrolls past it. */
.locket { margin: 0; width: clamp(200px, 23vw, 290px); position: sticky; top: 6rem; }
.locket img {
  width: 100%; height: auto; aspect-ratio: 9/14; object-fit: cover;
  border-radius: 50%; display: block;
  box-shadow: 0 0 0 1px rgba(245,168,0,.55), 0 18px 40px rgba(31,12,40,.16);
}
.locket figcaption {
  margin-top: 1rem; font-size: .84rem; line-height: 1.5;
  color: var(--ink-3); text-align: center; font-style: italic;
}

@media (max-width: 860px) {
  .history-layout { grid-template-columns: 1fr; }
  .locket { position: static; order: -1; margin-inline: auto; width: min(60%, 240px); }
}
@media (max-width: 560px) {
  .timeline { padding-left: 1.75rem; }
  .tl-year {
    position: static; display: block; width: auto; text-align: left;
    margin-bottom: .3rem;
  }
}

/* Stats stacked one per row inside a split column, read as a list of facts and
   giving the column the height the photograph beside it stretches to match.
   Must stay after `.stats` above, whose auto-fit columns it overrides. */
.stats-inline { grid-template-columns: 1fr; gap: 0; }
.stats-inline > * { padding: 1.15rem 0; border-top: 1px solid var(--line); }
.stats-inline > *:first-child { padding-top: 0; border-top: 0; }
.stats-inline > *:last-child { padding-bottom: 0; }
.stats-inline .stat-value { font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.6rem); }
.stats-inline .stat-label { margin-top: .35rem; }

/* ── Process steps ─────────────────────────────────────────────────────── */
.steps { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); counter-reset: step; }
.step { position: relative; padding: 1.75rem 1.5rem 1.5rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-size: .95rem; font-weight: 700;
  color: var(--gold); letter-spacing: .06em;
  display: block; margin-bottom: .6rem;
}
.step h4 { margin-bottom: .4rem; }
.step p { font-size: .93rem; color: var(--ink-2); margin: 0; }

/* ── CTA band ──────────────────────────────────────────────────────────── */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) clamp(1.5rem, 1rem + 3vw, 4rem);
  color: #fff; text-align: center;
}
.cta-band img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta-band::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, rgba(58,21,73,.92), rgba(26,92,42,.85));
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.86); }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.75rem; }

/* ── Shop: toolbar & filters ───────────────────────────────────────────── */
.shop-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
  padding: 1.15rem 0; margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.filter-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .55rem 1.1rem; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--paper);
  font-size: .88rem; font-weight: 500; color: var(--ink-2);
  text-decoration: none; cursor: pointer;
  transition: all .18s var(--ease);
}
.chip:hover { border-color: var(--purple); color: var(--purple); background: var(--purple-050); }
.chip[aria-pressed="true"], .chip.is-active {
  background: var(--purple); border-color: var(--purple); color: #fff; font-weight: 600;
  box-shadow: 0 4px 12px rgba(107,45,139,.24);
}
.chip[aria-pressed="true"]:hover, .chip.is-active:hover { background: var(--purple-700); color: #fff; }
.chip-count {
  font-size: .74rem; padding: .1rem .42rem; border-radius: var(--r-pill);
  background: var(--paper-3); color: var(--ink-3); font-weight: 600;
}
.chip[aria-pressed="true"] .chip-count, .chip.is-active .chip-count { background: rgba(255,255,255,.22); color: #fff; }

.shop-tools { display: flex; align-items: center; gap: .7rem; margin-left: auto; flex-wrap: wrap; }
.search-field { position: relative; }
.search-field svg { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--ink-3); pointer-events: none; }

.field, .search-field input, select.field {
  font-family: var(--font-text); font-size: .92rem; color: var(--ink);
  padding: .68rem .95rem;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--paper); width: 100%;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field:focus, .search-field input:focus {
  outline: none; border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(107,45,139,.14);
}
/* Must follow the shared .field rule above, which resets padding wholesale. */
.search-field input[type="search"] { padding-left: 2.4rem; min-width: 220px; }

select.field { cursor: pointer; padding-right: 2.2rem; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f6779' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .7rem center; background-size: 15px;
}

/* ── Product card ──────────────────────────────────────────────────────── */
.product-grid { display: grid; gap: clamp(1rem, .7rem + 1vw, 1.75rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 245px), 1fr)); }

.product-card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: transparent; }
.product-media { position: relative; display: block; aspect-ratio: 1; background: var(--paper-3); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-tag {
  position: absolute; top: .8rem; left: .8rem;
  padding: .32rem .7rem; border-radius: var(--r-pill);
  font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  background: rgba(255,255,255,.94); color: var(--purple);
  backdrop-filter: blur(6px);
}
.product-tag.is-coffee { color: var(--green-900); }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 1.2rem 1.25rem 1.35rem; }
.product-title { font-family: var(--font-display); font-size: 1.06rem; font-weight: 600; line-height: 1.25; margin: 0 0 .35rem; letter-spacing: -.01em; }
.product-title a { color: var(--ink); text-decoration: none; }
.product-title a:hover { color: var(--purple); }
.product-desc { font-size: .855rem; color: var(--ink-3); line-height: 1.5; margin: 0 0 1rem;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-foot { display: flex; align-items: center; gap: .7rem; margin-top: auto; }
.product-price { font-family: var(--font-display); font-size: 1.18rem; font-weight: 700; color: var(--purple); letter-spacing: -.02em; }
.product-price small { display: block; font-family: var(--font-text); font-size: .72rem; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.product-foot .btn { margin-left: auto; }

/* ── Product detail ────────────────────────────────────────────────────── */
.product-detail { display: grid; gap: clamp(2rem, 1.2rem + 3vw, 4rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); align-items: start; }
.product-hero-img { border-radius: var(--r-lg); overflow: hidden; background: var(--paper-3); aspect-ratio: 1; box-shadow: var(--shadow-2); }
.product-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.price-block { display: flex; align-items: baseline; gap: .7rem; margin: 1.25rem 0 1.5rem; }
.price-block .amount { font-family: var(--font-display); font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.5rem); font-weight: 700; color: var(--purple); letter-spacing: -.03em; }
.price-block .unit { font-size: .9rem; color: var(--ink-3); }

.qty-row { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin: 1.5rem 0; }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-pill); overflow: hidden; background: var(--paper); }
.qty-stepper button {
  width: 42px; height: 46px; border: 0; background: transparent; cursor: pointer;
  font-size: 1.15rem; color: var(--ink-2); line-height: 1;
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.qty-stepper button:hover { background: var(--purple-050); color: var(--purple); }
.qty-stepper input {
  width: 52px; height: 46px; border: 0; text-align: center;
  font-family: var(--font-text); font-size: .98rem; font-weight: 600; color: var(--ink);
  background: transparent; -moz-appearance: textfield;
}
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-stepper input:focus { outline: none; }

.spec-list { list-style: none; padding: 0; margin: 1.75rem 0 0; border-top: 1px solid var(--line); }
.spec-list li { display: flex; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line-2); margin: 0; font-size: .92rem; }
.spec-list .k { color: var(--ink-3); min-width: 130px; }
.spec-list .v { font-weight: 500; }

/* ── Cart & checkout ───────────────────────────────────────────────────── */
.checkout-layout { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 900px) { .checkout-layout { grid-template-columns: 1fr; } }

.cart-line { display: grid; grid-template-columns: 88px 1fr auto; gap: 1.1rem; align-items: center; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.cart-line-img { width: 88px; height: 88px; border-radius: var(--r-md); overflow: hidden; background: var(--paper-3); }
.cart-line-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-name { font-family: var(--font-display); font-weight: 600; font-size: 1rem; margin: 0 0 .2rem; }
.cart-line-name a { color: var(--ink); text-decoration: none; }
.cart-line-name a:hover { color: var(--purple); }
.cart-line-meta { font-size: .84rem; color: var(--ink-3); margin: 0 0 .6rem; }
.cart-line-amount { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink); text-align: right; white-space: nowrap; }
.cart-line-remove {
  display: inline-flex; align-items: center; gap: .3rem;
  background: none; border: 0; padding: .2rem 0; cursor: pointer;
  font-family: var(--font-text); font-size: .8rem; color: var(--ink-3);
}
.cart-line-remove:hover { color: var(--danger); text-decoration: underline; }
@media (max-width: 560px) {
  .cart-line { grid-template-columns: 64px 1fr; grid-template-areas: 'img body' 'amt amt'; }
  .cart-line-img { width: 64px; height: 64px; grid-area: img; }
  .cart-line-amount { grid-area: amt; text-align: left; }
}

.summary {
  position: sticky; top: calc(var(--nav-h) + 1.25rem);
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.6rem;
}
.summary h3 { font-size: 1.15rem; margin-bottom: 1.1rem; }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; font-size: .93rem; color: var(--ink-2); }
.summary-total { border-top: 1px solid var(--line); margin-top: .6rem; padding-top: 1rem; font-size: 1.2rem; font-weight: 700; color: var(--ink); font-family: var(--font-display); }
.summary .btn { margin-top: 1.25rem; }
.summary-note { font-size: .78rem; color: var(--ink-3); margin: .9rem 0 0; line-height: 1.5; }
/* Outside a .summary card the note follows a button, which needs more air. */
.btn + .summary-note, form .summary-note { margin-top: 1.1rem; }

.form-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.form-row { display: flex; flex-direction: column; gap: .4rem; }
.form-row.full { grid-column: 1 / -1; }
.form-row label { font-size: .84rem; font-weight: 600; color: var(--ink-2); }
.form-row .hint { font-size: .78rem; color: var(--ink-3); }
textarea.field { min-height: 110px; resize: vertical; font-family: var(--font-text); line-height: 1.55; }
.field-error { border-color: var(--danger) !important; }
.error-text { font-size: .78rem; color: var(--danger); }

/* ── Empty / status states ─────────────────────────────────────────────── */
.empty-state { text-align: center; padding: clamp(3rem, 2rem + 4vw, 5rem) 1.5rem; }
.empty-state .icon-badge { margin-inline: auto; width: 66px; height: 66px; font-size: 1.7rem; }
.empty-state h3 { margin-bottom: .5rem; }
.empty-state p { color: var(--ink-3); max-width: 44ch; margin-inline: auto; }

.notice {
  display: flex; gap: .75rem; align-items: flex-start;
  padding: .95rem 1.15rem; border-radius: var(--r-md);
  font-size: .89rem; line-height: 1.55; margin-bottom: 1.25rem;
}
.notice-warn { background: var(--gold-050); border: 1px solid #f3dfae; color: #6b4a00; }
.notice-error { background: #fdeceb; border: 1px solid #f5c6c2; color: #8c1d16; }
.notice-ok { background: var(--green-050); border: 1px solid #bfe0c2; color: #14561f; }
.notice-info { background: var(--purple-050); border: 1px solid #e2cef0; color: #4c1f64; }

.status-panel { text-align: center; padding: clamp(2rem, 1.5rem + 3vw, 3.5rem) 1.5rem; }
.spinner {
  width: 46px; height: 46px; margin: 0 auto 1.5rem;
  border: 3px solid var(--purple-050); border-top-color: var(--purple);
  border-radius: 50%; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.phone-pulse {
  display: inline-flex; align-items: center; justify-content: center;
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--green-050); color: var(--green); font-size: 2rem;
  margin: 0 auto 1.5rem; position: relative;
}
.phone-pulse::after {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid var(--green); opacity: 0; animation: pulse 1.9s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: scale(.9); opacity: .8; } 100% { transform: scale(1.35); opacity: 0; } }

.result-icon {
  width: 76px; height: 76px; margin: 0 auto 1.5rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; font-size: 2.1rem;
}
.result-icon.ok { background: var(--green-050); color: var(--success); }
.result-icon.bad { background: #fdeceb; color: var(--danger); }

/* ── Order confirmation table ──────────────────────────────────────────── */
.order-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.order-table th {
  text-align: left; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 600; padding: .7rem .6rem; border-bottom: 1px solid var(--line);
}
.order-table td { padding: .85rem .6rem; border-bottom: 1px solid var(--line-2); }
.order-table .num { text-align: right; white-space: nowrap; }
.order-table tfoot td { font-weight: 700; font-family: var(--font-display); font-size: 1.05rem; border-bottom: 0; padding-top: 1.1rem; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem .8rem; border-radius: var(--r-pill);
  font-size: .76rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.badge-ok { background: var(--green-050); color: var(--success); }
.badge-pending { background: var(--gold-050); color: #8a6100; }
.badge-bad { background: #fdeceb; color: var(--danger); }

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.3rem 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 1.06rem; font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; color: var(--purple); font-weight: 400; line-height: 1; transition: transform .22s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.3rem; margin: 0; color: var(--ink-2); max-width: 68ch; }

/* ── Contact ───────────────────────────────────────────────────────────── */
.contact-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.15rem 0; border-bottom: 1px solid var(--line-2); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .icon-badge { width: 44px; height: 44px; margin: 0; font-size: 1.15rem; flex-shrink: 0; }
.contact-item h4 { margin: 0 0 .2rem; font-family: var(--font-text); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.contact-item p { margin: 0; font-size: 1rem; }
.contact-item a { color: var(--ink); text-decoration: none; }
.contact-item a:hover { color: var(--purple); text-decoration: underline; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer { background: var(--purple-900); color: rgba(255,255,255,.72); padding: clamp(3rem, 2rem + 3vw, 4.5rem) 0 2rem; font-size: .92rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1.6fr) repeat(auto-fit, minmax(140px, 1fr)); margin-bottom: 3rem; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 1.1rem; }
.footer-brand p { max-width: 34ch; font-size: .9rem; line-height: 1.6; }
.footer h4 { color: #fff; font-family: var(--font-text); font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; margin: 0 0 1.1rem; font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .6rem; }
.footer a { color: rgba(255,255,255,.72); text-decoration: none; transition: color .15s var(--ease); }
.footer a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.13);
  font-size: .82rem; color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.social { display: flex; gap: .6rem; }
.social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.09); color: rgba(255,255,255,.8);
  transition: background-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.social a:hover { background: var(--gold); color: var(--purple-900); transform: translateY(-2px); }
.social svg { width: 17px; height: 17px; }

.age-note { font-size: .78rem; color: rgba(255,255,255,.45); max-width: 60ch; margin-top: .75rem; }

/* ── Toast ─────────────────────────────────────────────────────────────── */
.toast-host { position: fixed; z-index: 300; right: 1.25rem; bottom: 1.25rem; display: flex; flex-direction: column; gap: .6rem; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: .65rem;
  background: var(--ink); color: #fff; padding: .85rem 1.2rem;
  border-radius: var(--r-md); box-shadow: var(--shadow-3);
  font-size: .89rem; font-weight: 500; max-width: 340px;
  animation: toast-in .3s var(--ease);
}
.toast.is-out { animation: toast-out .25s var(--ease) forwards; }
.toast-ok { background: var(--success); }
.toast-bad { background: var(--danger); }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px) scale(.97); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px) scale(.97); } }
@media (max-width: 560px) { .toast-host { left: 1rem; right: 1rem; } .toast { max-width: none; } }

/* ── Reveal on scroll ──────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ── Print ─────────────────────────────────────────────────────────────── */
@media print {
  .nav, .footer, .hero-actions, .cta-band, .btn, .toast-host { display: none !important; }
  body.ropen { font-size: 12pt; color: #000; }
  .section { padding: 1rem 0; }
}
