/* ============================================================================
   Estonian Meat House — theme custom layer
   Warm butcher-shop design adapted from the Zaisop layout: cream canvas,
   Playfair Display display serif + Manrope UI, brand red #c60c30 eyebrows &
   buttons, dark-green + amber feature cards, hand-illustrated meat ornaments,
   rounded photo cards. Foundation (reset, --space-*, --radius-*, utilities)
   comes from globals.css (linked first). Here: (1) re-point semantic tokens to
   the EMH light palette UNLAYERED (beats every @layer), (2) build all chrome in
   @layer custom.
   ============================================================================ */

/* ---- token overrides (unlayered → win over globals.css token layer) ------- */
:root {
  color-scheme: light;

  /* brand */
  --emh-red:        #c60c30;   /* EMH crimson — eyebrows, buttons, logo */
  --emh-red-dark:   #a40a28;
  --emh-red-ink:    #7c0a20;
  --emh-gold:       #e0a32e;   /* amber accent — highlight words, badges */
  --emh-gold-soft:  #f3c45a;
  --emh-green:      #054f48;   /* deep butcher green — feature cards, checks */
  --emh-green-2:    #0a6056;

  /* warm neutrals */
  --emh-cream:      #fff5e1;   /* page canvas */
  --emh-cream-2:    #faedd4;   /* alternating band */
  --emh-paper:      #fffaf0;   /* raised card */
  --emh-ink:        #1c1714;   /* headings / near-black warm */
  --emh-ink-soft:   #4a423d;
  --emh-body:       #6f6962;   /* muted body text */
  --emh-line:       rgba(28, 23, 20, 0.12);
  --emh-line-soft:  rgba(28, 23, 20, 0.07);
  --emh-white:      #ffffff;

  /* map millend-css semantic tokens onto the warm palette */
  --surface:        var(--emh-cream);
  --surface-raised: var(--emh-paper);
  --text:           var(--emh-ink);
  --text-soft:      var(--emh-body);
  --border:         var(--emh-line);
  --primary:        var(--emh-red);
  --on-primary:     #fff;

  /* type */
  --emh-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --emh-sans:  'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* chrome */
  --emh-header-h: 92px;
  --emh-radius:   16px;
  --emh-radius-s: 10px;
  --emh-maxw:     1240px;
  --emh-shadow:   0 24px 60px -28px rgba(28, 23, 20, 0.28);
  --emh-shadow-s: 0 12px 30px -18px rgba(28, 23, 20, 0.30);
}

/* base element resets live in @layer base so @layer custom rules win cleanly */
@layer base {
  html { -webkit-text-size-adjust: 100%; }
  body {
    margin: 0;
    background: var(--emh-cream);
    color: var(--emh-ink);
    font-family: var(--emh-sans);
    font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  h1, h2, h3, h4 { margin: 0; font-family: var(--emh-serif); font-weight: 700; line-height: 1.06; color: var(--emh-ink); letter-spacing: -0.01em; }
  p { margin: 0 0 1em; }
  a { color: inherit; text-decoration: none; }
  img, svg { display: block; max-width: 100%; height: auto; }
  ul { margin: 0; padding: 0; list-style: none; }
  button { font: inherit; cursor: pointer; }
  :focus-visible { outline: 2px solid var(--emh-red); outline-offset: 3px; }
  ::selection { background: var(--emh-red); color: #fff; }
}

@layer custom {

  /* ---- layout primitives -------------------------------------------------- */
  .wrapper { width: 100%; max-width: var(--emh-maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
  .site-shell { overflow-x: clip; }
  .section { padding-block: clamp(3.5rem, 7vw, 6.5rem); position: relative; }
  .section--alt { background: var(--emh-cream-2); }
  .section--tight { padding-block: clamp(2rem, 4vw, 3.5rem); }
  .site-main { display: block; }

  /* ---- shared bits -------------------------------------------------------- */
  .eyebrow {
    display: inline-flex; align-items: center; gap: .6em;
    font-family: var(--emh-sans); font-weight: 700; font-size: .82rem;
    letter-spacing: .22em; text-transform: uppercase; color: var(--emh-red);
    margin: 0 0 1rem;
  }
  .eyebrow::before, .eyebrow--line::after {
    content: ""; width: 26px; height: 2px; background: currentColor; opacity: .5;
  }
  .section-head { max-width: 46rem; margin: 0 auto clamp(2rem, 4vw, 3.25rem); text-align: center; }
  .section-head--left { margin-inline: 0; text-align: left; }
  .section-head__title { font-size: clamp(2rem, 1.3rem + 3.2vw, 3.4rem); }
  .section-head__title em { font-style: normal; color: var(--emh-gold); }
  .section-head__lead { margin: 1rem auto 0; max-width: 40rem; color: var(--emh-body); }
  .section-head--left .section-head__lead { margin-inline: 0; }

  /* giant faded watermark heading behind a section */
  .ghost-heading {
    position: absolute; inset-inline: 0; top: clamp(1rem, 3vw, 2.5rem);
    text-align: center; font-family: var(--emh-serif); font-weight: 700;
    font-size: clamp(3rem, 9vw, 7.5rem); line-height: 1; color: var(--emh-ink);
    opacity: .045; pointer-events: none; user-select: none; z-index: 0;
  }

  /* ---- buttons ------------------------------------------------------------ */
  .btn {
    --b: var(--emh-red);
    display: inline-flex; align-items: center; gap: .7em;
    font-family: var(--emh-sans); font-weight: 700; font-size: .95rem;
    padding: .92em 1.5em; border-radius: 12px; border: 2px solid var(--b);
    background: var(--b); color: #fff; transition: .25s ease;
    line-height: 1;
  }
  .btn:hover { background: var(--emh-red-dark); border-color: var(--emh-red-dark); transform: translateY(-2px); box-shadow: var(--emh-shadow-s); }
  .btn__arrow { display: inline-block; transition: transform .25s ease; }
  .btn:hover .btn__arrow { transform: translateX(4px); }
  .btn--ghost { background: transparent; color: var(--emh-ink); border-color: var(--emh-line); }
  .btn--ghost:hover { background: var(--emh-ink); color: var(--emh-cream); border-color: var(--emh-ink); }
  .btn--gold { --b: var(--emh-gold); color: var(--emh-ink); }
  .btn--gold:hover { background: var(--emh-gold-soft); border-color: var(--emh-gold-soft); }
  .btn--on-dark { background: var(--emh-gold); border-color: var(--emh-gold); color: var(--emh-ink); }
  .btn--on-dark:hover { background: #fff; border-color: #fff; }

  /* ---- header ------------------------------------------------------------- */
  .site-header {
    position: sticky; top: 0; z-index: 60; background: var(--emh-cream);
    border-bottom: 1px solid transparent; transition: box-shadow .3s, background .3s;
  }
  .site-header.is-stuck { box-shadow: 0 10px 30px -18px rgba(28,23,20,.4); background: color-mix(in srgb, var(--emh-cream) 92%, transparent); backdrop-filter: blur(8px); }
  .site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--emh-header-h); }
  .brand { display: inline-flex; align-items: center; flex: none; }
  .brand img { height: 48px; width: auto; }

  .main-nav { margin-left: auto; }
  .main-nav > ul { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
  .main-nav > ul > li { position: relative; }
  .main-nav a { font-family: var(--emh-sans); font-weight: 600; font-size: 1.02rem; color: var(--emh-ink); padding: .4em 0; display: inline-flex; align-items: center; gap: .35em; transition: color .2s; }
  .main-nav a:hover { color: var(--emh-red); }
  .main-nav__caret { font-size: .7em; opacity: .6; }
  .main-nav__sub {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
    min-width: 230px; background: var(--emh-paper); border: 1px solid var(--emh-line);
    border-radius: 14px; padding: .6rem; box-shadow: var(--emh-shadow);
    opacity: 0; visibility: hidden; transition: .22s ease; z-index: 5;
  }
  .main-nav > ul > li:hover .main-nav__sub { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(4px); }
  .main-nav__sub li a { display: block; padding: .55em .85em; border-radius: 9px; font-weight: 600; }
  .main-nav__sub li a:hover { background: var(--emh-cream-2); color: var(--emh-red); }
  .site-header__cta { flex: none; }

  /* burger + mobile drawer */
  .nav-toggle { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--emh-line); border-radius: 10px; }
  .nav-toggle span { width: 20px; height: 2px; background: var(--emh-ink); transition: .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-nav {
    position: fixed; inset: var(--emh-header-h) 0 0; background: var(--emh-cream);
    z-index: 55; padding: 1.5rem clamp(1.1rem,4vw,2rem) 2rem; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s ease; visibility: hidden;
  }
  .mobile-nav.is-open { transform: none; visibility: visible; }
  .mobile-nav > ul > li { border-bottom: 1px solid var(--emh-line-soft); }
  .mobile-nav a { display: block; padding: .9rem .2rem; font-family: var(--emh-serif); font-size: 1.4rem; font-weight: 600; }
  .mobile-nav__sub a { font-family: var(--emh-sans); font-size: 1rem; font-weight: 600; padding: .5rem .2rem .5rem 1rem; color: var(--emh-body); }
  .mobile-nav .btn { width: 100%; justify-content: center; margin-top: 1.5rem; }

  /* ---- HERO --------------------------------------------------------------- */
  .hero { position: relative; overflow: clip; background: var(--emh-cream); padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 8vw, 6rem); }
  .hero__inner { position: relative; z-index: 3; text-align: center; max-width: 60rem; margin-inline: auto; }
  .hero__title {
    font-size: clamp(2.6rem, 1.2rem + 6.4vw, 6rem); line-height: 1.02; letter-spacing: -0.02em;
    margin: 0 0 1.1rem;
  }
  .hero__title em { font-style: normal; color: var(--emh-gold); }
  .hero__sub { max-width: 36rem; margin: 0 auto 2rem; color: var(--emh-ink-soft); font-size: 1.12rem; }
  .hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
  /* decorative cut-out photos + sketches */
  .hero__deco { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
  .hero__deco img { position: absolute; opacity: .96; }
  .hero__cut--l { left: -2%; bottom: 0; width: clamp(180px, 22vw, 340px); }
  .hero__cut--r { right: -2%; bottom: 4%; width: clamp(160px, 20vw, 320px); }
  .hero__sketch { position: absolute; opacity: .14; mix-blend-mode: multiply; width: clamp(120px, 14vw, 230px); }
  .hero__sketch--1 { top: 2%; left: 30%; }
  .hero__sketch--2 { top: 6%; right: 8%; width: clamp(160px, 18vw, 300px); }
  @media (max-width: 820px) { .hero__deco { opacity: .5; } .hero__cut--l, .hero__cut--r { width: 130px; } }

  /* ---- FEATURE / SPECIAL CARDS (3-up like zaisop) ------------------------- */
  .feature-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 1.5rem; }
  .feature-card {
    position: relative; border-radius: var(--emh-radius); overflow: hidden; min-height: 250px;
    display: flex; flex-direction: column; justify-content: flex-end; padding: 1.7rem; color: #fff; isolation: isolate;
  }
  .feature-card__bg { position: absolute; inset: 0; z-index: -2; }
  .feature-card__bg img { width: 100%; height: 100%; object-fit: cover; }
  .feature-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.6)); }
  .feature-card--green { background: var(--emh-green); }
  .feature-card--green::after, .feature-card--red::after { background: linear-gradient(180deg, transparent, rgba(0,0,0,.25)); }
  .feature-card--red { background: var(--emh-red); }
  .feature-card__eyebrow { font-family: var(--emh-sans); font-weight: 700; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.85); margin-bottom: .3rem; }
  .feature-card__title { color: #fff; font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.3rem); margin-bottom: .9rem; }
  .feature-card .btn { align-self: flex-start; }
  .feature-card__badge {
    position: absolute; top: 1rem; right: 1rem; z-index: 1; width: 78px; height: 78px;
    display: grid; place-content: center; text-align: center; line-height: 1.05; font-weight: 800;
    font-size: .9rem; color: var(--emh-ink); background: var(--emh-gold);
    clip-path: polygon(50% 0,61% 12%,76% 6%,79% 23%,95% 27%,88% 42%,100% 53%,87% 63%,93% 80%,76% 80%,68% 95%,53% 86%,38% 97%,30% 81%,13% 82%,18% 65%,4% 54%,16% 42%,8% 26%,25% 23%,27% 6%,42% 13%);
  }

  /* wide offer banner */
  .offer { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1.5rem; background: var(--emh-green); color: #fff; border-radius: var(--emh-radius); padding: 1.6rem 2rem; margin-top: 1.5rem; }
  .offer__media { display: flex; align-items: center; gap: 1.5rem; }
  .offer__media img { width: clamp(110px, 14vw, 170px); height: auto; border-radius: var(--emh-radius-s); }
  .offer__eyebrow { font-weight: 700; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.8); }
  .offer__title { color: #fff; font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem); }

  /* ---- PRODUCT GRID ------------------------------------------------------- */
  .product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 1.4rem; }
  .product-card {
    display: flex; flex-direction: column; background: var(--emh-paper);
    border: 1px solid var(--emh-line); border-radius: var(--emh-radius); overflow: hidden;
    transition: .28s ease; position: relative;
  }
  .product-card:hover { transform: translateY(-6px); box-shadow: var(--emh-shadow); border-color: transparent; }
  .product-card__media { position: relative; aspect-ratio: 4/3; background: var(--emh-cream-2); overflow: hidden; }
  .product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
  .product-card:hover .product-card__media img { transform: scale(1.05); }
  .product-card__badge { position: absolute; top: .7rem; left: .7rem; background: var(--emh-green); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .35em .7em; border-radius: 999px; }
  .product-card__body { display: flex; flex-direction: column; gap: .35rem; padding: 1.1rem 1.2rem 1.3rem; flex: 1; }
  .product-card__cat { font-family: var(--emh-sans); font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--emh-red); }
  .product-card__title { font-size: 1.28rem; line-height: 1.12; }
  .product-card__foot { margin-top: auto; padding-top: .7rem; font-family: var(--emh-sans); font-weight: 700; font-size: .9rem; color: var(--emh-ink); display: inline-flex; align-items: center; gap: .5em; }
  .product-card:hover .product-card__foot { color: var(--emh-red); }
  .product-card:hover .product-card__foot .btn__arrow { transform: translateX(4px); }
  .product-card__foot .btn__arrow { transition: transform .25s; }

  /* ---- SPLIT (quality / category feature) --------------------------------- */
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
  .split--rev .split__media { order: -1; }
  .split__media img { width: 100%; border-radius: var(--emh-radius); box-shadow: var(--emh-shadow); object-fit: cover; }
  .split__title { font-size: clamp(2rem, 1.3rem + 3vw, 3.2rem); margin: .2rem 0 1rem; }
  .split__text { color: var(--emh-body); margin-bottom: 1.4rem; }
  .checklist { display: grid; gap: .8rem; margin: 0 0 1.8rem; }
  .checklist li { display: flex; align-items: flex-start; gap: .8rem; font-weight: 600; color: var(--emh-ink-soft); }
  .checklist li::before {
    content: "✓"; flex: none; width: 26px; height: 26px; border-radius: 50%;
    background: var(--emh-green); color: #fff; display: grid; place-content: center;
    font-size: .8rem; font-weight: 700; margin-top: 1px;
  }

  /* ---- TEAM --------------------------------------------------------------- */
  .team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; }
  .team-member { text-align: center; }
  .team-member__photo { aspect-ratio: 1; border-radius: var(--emh-radius); overflow: hidden; background: var(--emh-cream-2); margin-bottom: 1rem; border: 1px solid var(--emh-line); }
  .team-member__photo img { width: 100%; height: 100%; object-fit: cover; }
  .team-member__name { font-size: 1.35rem; }
  .team-member__role { font-family: var(--emh-sans); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--emh-red); margin-top: .25rem; }
  .team-member__contact { margin-top: .5rem; font-size: .92rem; color: var(--emh-body); }
  .team-member__contact a:hover { color: var(--emh-red); }

  /* ---- CATEGORY CARDS (home + catalog) ------------------------------------ */
  .category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
  .category-card { position: relative; border-radius: var(--emh-radius); overflow: hidden; min-height: 320px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; transition: .3s; }
  .category-card:hover { transform: translateY(-5px); box-shadow: var(--emh-shadow); }
  .category-card__img { position: absolute; inset: 0; z-index: -2; }
  .category-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
  .category-card:hover .category-card__img img { transform: scale(1.06); }
  .category-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(124,10,32,.85)); }
  .category-card__body { display: flex; justify-content: space-between; align-items: flex-end; width: 100%; padding: 1.5rem; gap: 1rem; }
  .category-card__count { font-family: var(--emh-sans); font-weight: 700; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--emh-gold-soft); }
  .category-card__title { color: #fff; font-size: 1.7rem; margin-top: .2rem; }
  .category-card__go { font-size: 1.4rem; flex: none; transition: transform .25s; }
  .category-card:hover .category-card__go { transform: translateX(5px); }

  /* ---- BAND / CTA --------------------------------------------------------- */
  .band { position: relative; overflow: clip; color: #fff; padding-block: clamp(3.5rem, 8vw, 6rem); isolation: isolate; }
  .band__bg { position: absolute; inset: 0; z-index: -2; }
  .band__bg img { width: 100%; height: 100%; object-fit: cover; }
  .band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(124,10,32,.92), rgba(28,23,20,.78)); }
  .band__inner { max-width: 44rem; }
  .band__title { color: #fff; font-size: clamp(1.9rem, 1.2rem + 3vw, 3rem); }
  .band__text { color: rgba(255,255,255,.88); margin-top: .8rem; }
  .band .btn { margin-top: 1.6rem; }

  .cta { background: var(--emh-green); color: #fff; text-align: center; padding-block: clamp(3rem, 6vw, 5rem); }
  .cta__title { color: #fff; font-size: clamp(1.8rem, 1.2rem + 2.6vw, 2.8rem); max-width: 28rem; margin: 0 auto 1.6rem; }

  /* ---- PAGE HERO (inner pages) -------------------------------------------- */
  .page-hero { position: relative; padding-block: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem); background: var(--emh-cream-2); overflow: clip; isolation: isolate; }
  .page-hero--img { color: #fff; padding-block: clamp(4rem, 9vw, 7rem); }
  .page-hero__bg { position: absolute; inset: 0; z-index: -2; }
  .page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
  .page-hero--img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(28,23,20,.45), rgba(124,10,32,.7)); }
  .page-hero__title { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 3.6rem); }
  .page-hero--img .page-hero__title { color: #fff; }
  .page-hero__lead { margin-top: .8rem; max-width: 42rem; color: var(--emh-body); }
  .page-hero--img .page-hero__lead { color: rgba(255,255,255,.9); }
  .breadcrumbs { font-family: var(--emh-sans); font-size: .9rem; color: var(--emh-body); margin-bottom: .9rem; display: flex; gap: .5em; flex-wrap: wrap; }
  .page-hero--img .breadcrumbs { color: rgba(255,255,255,.85); }
  .breadcrumbs a:hover { color: var(--emh-red); }
  .page-hero--img .breadcrumbs a:hover { color: var(--emh-gold-soft); }
  .breadcrumbs .sep { opacity: .5; }
  .breadcrumbs .cur { font-weight: 600; }

  /* ---- SINGLE PRODUCT ----------------------------------------------------- */
  .product { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
  .product__gallery { position: sticky; top: calc(var(--emh-header-h) + 1rem); }
  .product__main { border-radius: var(--emh-radius); overflow: hidden; background: var(--emh-cream-2); border: 1px solid var(--emh-line); aspect-ratio: 4/3; }
  .product__main img { width: 100%; height: 100%; object-fit: cover; }
  .product__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; margin-top: .7rem; }
  .product__thumbs img { aspect-ratio: 1; object-fit: cover; border-radius: var(--emh-radius-s); border: 1px solid var(--emh-line); cursor: pointer; transition: .2s; }
  .product__thumbs img:hover { border-color: var(--emh-red); }
  .product__cat { font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--emh-red); }
  .product__title { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); margin: .4rem 0 .3rem; }
  .product__tags { display: flex; gap: .6rem; flex-wrap: wrap; margin: 1.2rem 0; }
  .tag { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; font-size: .85rem; padding: .45em .9em; border-radius: 999px; background: var(--emh-cream-2); border: 1px solid var(--emh-line); }
  .tag--delivery { background: var(--emh-green); color: #fff; border-color: transparent; }
  .prose { color: var(--emh-ink-soft); }
  .prose h2, .prose h3 { margin: 1.6rem 0 .6rem; }
  .prose strong { color: var(--emh-ink); }
  .prose p { margin-bottom: 1em; }
  .product__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; padding-top: 1.6rem; border-top: 1px solid var(--emh-line); }

  /* ---- FOOTER ------------------------------------------------------------- */
  .site-footer { background: var(--emh-red-ink); color: rgba(255,255,255,.8); }
  .site-footer a { color: rgba(255,255,255,.8); }
  .site-footer a:hover { color: #fff; }
  .site-footer__main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; padding-block: clamp(3rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); }
  .site-footer__brand img { height: 52px; width: auto; margin-bottom: 1.1rem; filter: brightness(0) invert(1); }
  .site-footer__brand p { max-width: 26rem; }
  .site-footer h4 { color: #fff; font-family: var(--emh-sans); font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.1rem; }
  .site-footer__col ul { display: grid; gap: .6rem; }
  .site-footer__bar { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.3rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .88rem; }

  /* ---- 404 ---------------------------------------------------------------- */
  .error-404 { text-align: center; padding-block: clamp(4rem, 10vw, 8rem); }
  .error-404__code { font-family: var(--emh-serif); font-weight: 800; font-size: clamp(5rem, 18vw, 12rem); line-height: 1; color: var(--emh-red); }
  .error-404__code b { color: var(--emh-gold); }

  /* ---- reveal-on-scroll --------------------------------------------------- */
  [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1 !important; transform: none !important; } }

  /* ---- responsive --------------------------------------------------------- */
  @media (max-width: 1000px) {
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .product { grid-template-columns: 1fr; }
    .product__gallery { position: static; }
    .site-footer__main { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 860px) {
    .main-nav, .site-header__cta { display: none; }
    .nav-toggle { display: flex; margin-left: auto; }
    .split { grid-template-columns: 1fr; }
    .split--rev .split__media { order: 0; }
    .offer { grid-template-columns: 1fr; text-align: center; }
    .offer__media { justify-content: center; }
  }
  @media (max-width: 620px) {
    .feature-grid { grid-template-columns: 1fr; }
    .site-footer__main { grid-template-columns: 1fr; gap: 1.5rem; }
    .section-head__title, .hero__title { letter-spacing: -0.01em; }
  }
}
