  :root{
    --bg: #ffffff;           /* pure white */
    --bg-2: #fafafa;
    --ink: #141312;          /* near-black */
    --ink-soft: #4a4642;
    --ink-mute: #8a857f;
    --line: #ececec;
    --dark: #0d0d0c;
    --dark-2: #161614;
    --white: #ffffff;
    --tracking-xl: 0.32em;
    --tracking-lg: 0.22em;
    --tracking-md: 0.14em;
    --font: 'Inter', system-ui, sans-serif;

    /* spacing rhythm */
    --pad-x: clamp(1.25rem, 5vw, 4.5rem);
    --section-y: clamp(4.5rem, 11vw, 9.375rem);
    --gap-tight: clamp(1.75rem, 4vw, 3rem);
  }

  *{ box-sizing: border-box; margin: 0; padding: 0; }
  html{
    font-size: 100%;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
  body{
    font-family: var(--font);
    font-size: 1rem;
    color: var(--ink);
    background: var(--bg);
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    line-height: 1.5;
  }
  img{ display:block; max-width:100%; }
  a{ color: inherit; text-decoration: none; }
  p{ font-weight: 300; }
  button{ font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
  h1, h2, h3{ letter-spacing: 0 !important; }
  :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible{
    outline: 2px solid currentColor !important;
    outline-offset: 3px;
  }

  /* ---------- Placeholders ---------- */
  .ph{
    position: relative;
    background:
      linear-gradient(135deg, rgba(0,0,0,.02) 0%, rgba(0,0,0,.06) 100%),
      repeating-linear-gradient(45deg, #ededed 0 0.875rem, #e4e4e4 0.875rem 1.75rem);
    color: #4a4642;
    overflow: hidden;
    isolation: isolate;
  }
  .ph::before{
    content: "";
    position: absolute; inset: 0.75rem;
    border: 0.0625rem dashed rgba(0,0,0,.22);
    pointer-events: none;
  }
  .ph .ph-tag{
    position: absolute;
    top: 0.875rem; left: 1.125rem;
    font-size: 0.625rem;
    letter-spacing: var(--tracking-lg);
    text-transform: uppercase;
    color: rgba(0,0,0,.5);
    font-weight: 500;
  }
  .ph .ph-label{
    position: absolute;
    inset: 0;
    display: flex; align-items: center; justify-content: center;
    flex-direction: column;
    gap: 0.375rem;
    text-align: center; padding: 1.5rem;
    color: rgba(0,0,0,.5);
    font-size: 0.8125rem;
    letter-spacing: .04em;
  }
  .ph .ph-label svg{ opacity: .35; }
  .ph.dark{
    background:
      linear-gradient(135deg, rgba(255,255,255,.03) 0%, rgba(255,255,255,.06) 100%),
      repeating-linear-gradient(45deg, #1f1d1b 0 0.875rem, #181715 0.875rem 1.75rem);
    color: rgba(255,255,255,.7);
  }
  .ph.dark::before{ border-color: rgba(255,255,255,.18); }
  .ph.dark .ph-tag{ color: rgba(255,255,255,.55); }
  .ph.dark .ph-label{ color: rgba(255,255,255,.55); }

  /* ---------- Logo mark ---------- */
  .logo-mark{
    display: inline-flex; align-items: center; justify-content: center;
    width: 4.25rem; height: 4.25rem;
  }
  .logo-mark svg, .logo-mark img{ width: 100%; height: 100%; object-fit: contain; }

  /* ==========================================================
     UNIVERSAL SITE NAV  (Dom Pérignon 3-col style)
     — logo centered, MENÚ left, page link right
     — transparent + white on hero, frosted glass on scroll
     ========================================================== */
  .site-nav{
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 200;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: clamp(1.25rem,2.4vw,1.875rem) var(--pad-x);
    font-size: 0.6875rem; letter-spacing: var(--tracking-lg); text-transform: uppercase;
    font-weight: 500;
    font-family: var(--font);
    transition: background .45s ease, backdrop-filter .45s ease,
                -webkit-backdrop-filter .45s ease, padding .35s ease,
                border-color .45s ease;
    border-bottom: 0.0625rem solid transparent;
  }
  /* Hero / transparent state (home page before scroll) */
  .site-nav.hero-mode{
    background: transparent;
    color: #fff;
  }
  /* logo swap handled via .logo-light / .logo-dark classes */
  .site-nav.hero-mode .menu-btn{ color: #fff; }
  .site-nav.hero-mode .nav-bars span{ background: #fff; }
  .site-nav.hero-mode .nav-right a{ color: #fff; }
  .site-nav.hero-mode .nav-right a::after{ background: rgba(255,255,255,.5); }

  /* Frosted state — on scroll (hero pages) or always (inner pages) */
  .site-nav.frosted{
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(1.125rem);
    -webkit-backdrop-filter: blur(1.125rem);
    border-bottom-color: rgba(0,0,0,.08);
    padding-top: clamp(0.75rem,1.4vw,1.125rem);
    padding-bottom: clamp(0.75rem,1.4vw,1.125rem);
    color: var(--ink);
  }
  /* logo swap handled via .logo-light / .logo-dark classes */
  .site-nav.frosted .menu-btn{ color: var(--ink); }
  .site-nav.frosted .nav-bars span{ background: var(--ink); }
  .site-nav.frosted .nav-right a{ color: var(--ink); }
  .site-nav.frosted .nav-right a::after{ background: var(--ink); }

  /* Nav columns */
  .nav-left{ display: flex; align-items: center; }
  .nav-center{ display: flex; justify-content: center; align-items: center; }
  .nav-logo img{ height: 3.8125rem; width: auto; display: block; transition: opacity .35s ease; }
  /* logo swap: blanco en hero, negro en frosted */
  .site-nav.hero-mode  .logo-light{ opacity: 1; }
  .site-nav.hero-mode  .logo-dark { display: none; }
  .site-nav.frosted    .logo-light{ display: none; }
  .site-nav.frosted    .logo-dark { opacity: 1; }
  .nav-right{ display: flex; align-items: center; justify-content: flex-end; gap: clamp(1.125rem,2.5vw,2.25rem); }
  /* Botón carrito: solo icono + conteo, alineados, sin subrayado */
  .nav-cart-btn{ display: inline-flex; align-items: center; gap: 0.35rem; }
  .nav-cart-btn svg{ display: block; }
  .nav-cart-btn::after{ display: none !important; }

  /* Nav links underline animation */
  .nav-right a, .nav-left a{
    position: relative; padding-bottom: 0.1875rem;
  }
  .nav-right a::after, .nav-left a::after{
    content: ""; position: absolute; left: 0; right: 0; bottom: 0;
    height: 0.0625rem;
    transform: scaleX(0); transform-origin: left;
    transition: transform .4s ease;
  }
  .nav-right a:hover::after, .nav-left a:hover::after{ transform: scaleX(1); }

  /* Menu button */
  .menu-btn{
    display: inline-flex; align-items: center; gap: 0.625rem;
    transition: color .35s ease;
  }
  .nav-bars{
    display: inline-flex; flex-direction: column; gap: 0.25rem;
  }
  .nav-bars span{
    display: block; width: 1.125rem; height: 0.0625rem;
    transition: background .35s ease;
  }

  /* ---------- Header ---------- */
  .hero{
    position: relative;
    height: 100vh; height: 100svh !important; min-height: 40rem;
    color: #fff;
    overflow: hidden;
  }
  .hero .ph{ position: absolute; inset: 0; }
  .hero .vignette{
    position: absolute; inset: 0;
    background:
      linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.15) 30%, rgba(0,0,0,.2) 65%, rgba(0,0,0,.65) 100%);
    z-index: 1;
  }
  .hero-foot{
    position: absolute; bottom: 0; left: 0; right: 0;
    z-index: 3;
    padding: clamp(1.375rem, 2.6vw, 2rem) var(--pad-x);
    padding-bottom: max(clamp(1.375rem, 2.6vw, 2rem), env(safe-area-inset-bottom, 0px));
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.75rem; letter-spacing: var(--tracking-lg); text-transform: uppercase;
    color: #fff;
    font-weight: 500;
    font-family: var(--font);
  }
  .hero-foot a{
    position: relative; padding-bottom: 0.25rem;
  }
  .hero-foot a::after{
    content: ""; position: absolute; left: 0; right: 0; bottom: 0;
    height: 0.0625rem; background: rgba(255,255,255,.5);
    transform: scaleX(0); transform-origin: left;
    transition: transform .4s ease;
  }
  .hero-foot a:hover::after{ transform: scaleX(1); }

  /* ---------- Layout helpers ---------- */
  .section{ padding: var(--section-y) var(--pad-x); }
  .section.manifesto{
    padding-top: calc(var(--section-y) + clamp(0.875rem, 2.2vw, 1.875rem));
    padding-bottom: clamp(1.75rem, 2.5vw, 2.25rem);
  }
  .section-narrow{ max-width: 45rem; margin: 0 auto; text-align: center; }
  .eyebrow{
    font-size: 0.6875rem; letter-spacing: var(--tracking-xl); text-transform: uppercase;
    color: var(--ink); font-weight: 300;
    opacity: .8;
  }
  h1, h2, h3{ font-weight: 600; text-transform: uppercase; }
  h2{ font-size: clamp(1.375rem, 2.2vw, 1.875rem); line-height: 1.3; margin-top: 1.125rem; }
  .lede{
    margin-top: 1.625rem;
    color: var(--ink-soft);
    font-weight: 300;
    font-size: 0.90625rem;
    line-height: 1.75;
    letter-spacing: .01em;
    max-width: 37.5rem; margin-left: auto; margin-right: auto;
    text-wrap: pretty;
  }
  .link-cta{
    display: inline-block;
    font-size: 0.75rem; letter-spacing: var(--tracking-lg); text-transform: uppercase;
    padding-bottom: 0.25rem;
    border-bottom: 0.0625rem solid currentColor;
    font-weight: 500;
    transition: opacity .25s ease;
  }
  .link-cta:hover{ opacity: .65; }
  .btn{
    display: inline-block;
    font-size: 0.75rem; letter-spacing: var(--tracking-lg); text-transform: uppercase;
    padding: 0.875rem 1.625rem;
    border: 0.0625rem solid var(--ink);
    font-weight: 500;
    transition: background .25s ease, color .25s ease;
  }
  .btn:hover{ background: var(--ink); color: #fff; }
  .btn.on-dark{ border-color: #fff; color: #fff; }
  .btn.on-dark:hover{ background: #fff; color: var(--ink); }

  /* ---------- Triptych (image / black panel / image) ---------- */
  .triptych{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    max-width: 80rem; margin: 0 auto;
    padding: 0 var(--pad-x);
  }
  .triptych > *{ aspect-ratio: 3 / 4.4; }
  .triptych .panel{
    background: var(--dark);
    color: #fff;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 3rem 2.25rem; text-align: center;
    gap: 1.625rem;
  }
  .triptych .panel h3{
    font-size: 1.125rem; line-height: 1.4; letter-spacing: var(--tracking-md);
    max-width: 16.25rem;
  }
  .triptych .panel p{
    font-size: 0.84375rem; line-height: 1.7; color: rgba(255,255,255,.78);
    font-weight: 300;
    max-width: 16.25rem;
  }
  .triptych .panel .link-cta{ color: #fff; margin-top: 0.375rem; }
  .triptych + .bleed{ margin-top: clamp(3rem, 6vw, 4.5rem); }
  .bleed + .bleed{ margin-top: clamp(3rem, 6vw, 4.5rem); }

  /* ---------- Full bleed section with center text ---------- */
  .bleed{
    position: relative;
    min-height: clamp(23.75rem, 56vh, 35rem);
    display: grid; place-items: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
    padding: clamp(4.375rem, 9vw, 6.875rem) var(--pad-x);
  }
  .bleed .ph{ position: absolute; inset: 0; z-index: 0; }
  .bleed .scrim{
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.5));
    z-index: 1;
  }
  .bleed .inner{ position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 1.25rem; max-width: 47.5rem; }
  .bleed .logo-mark{ width: 3.5rem; height: 3.5rem; opacity: .9; }
  .bleed p.body{ max-width: 30rem; color: rgba(255,255,255,.8); font-size: 0.875rem; line-height: 1.7; font-weight: 300; }
  .bleed .eyebrow{ color: rgba(255,255,255,.85); }
  .bleed h2{ color: #fff; }
  .bleed .link-cta{ color: #fff; }
  .bleed.enoteca-framed{
    width: min(100% - (var(--pad-x) * 2), 105rem);
    margin-left: auto;
    margin-right: auto;
    min-height: auto;
    aspect-ratio: 1920 / 1000;
    background: #000;
  }
  .bleed.enoteca-framed .ph-media{
    object-fit: cover;
  }
  .bleed.enoteca-framed .ph,
  .bleed.enoteca-framed.in .ph{
    transform: none;
  }

  /* ---------- Wines grid ---------- */
  .wines{
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.25rem, 2.5vw, 2rem);
    max-width: 80rem; margin: clamp(3rem, 6vw, 4.5rem) auto 0;
    padding: 0 var(--pad-x);
  }
  .wine{ text-align: center; }
  .wine .ph{ aspect-ratio: 3 / 4; }
  .wine .name{
    margin-top: 1.625rem;
    font-size: 1.0625rem;
    letter-spacing: .04em;
    font-weight: 400;
  }
  .center-cta{ margin-top: clamp(2.5rem, 5vw, 3.5rem); text-align: center; }

  /* ---------- Split section (text + image) ---------- */
  .split{
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
    max-width: 80rem; margin: 0 auto;
    padding: var(--section-y) var(--pad-x);
  }
  .split .text{ padding: 0; max-width: 23.75rem; }
  .split .text .eyebrow{ display: block; margin-bottom: 1rem; }
  .split .text h2{ font-size: 1.375rem; line-height: 1.3; margin: 0 0 1.625rem; }
  .split .text p{ color: var(--ink-soft); font-size: 0.875rem; line-height: 1.75; margin-bottom: 2.125rem; font-weight: 300; }
  .split .image .ph{ aspect-ratio: 16 / 10; }

  /* ---------- Family bleed ---------- */
  .family{
    min-height: clamp(32.5rem, 80vh, 45rem);
    color: #000;
    place-items: start center;
    padding-top: clamp(2.625rem, 9vh, 5.5rem);
  }
  .family .ph-media{ object-position: center 62%; }
  .family .inner{
    align-self: start;
    gap: 0.5625rem;
    max-width: 35rem;
  }
  .family .eyebrow,
  .family h2,
  .family p.body,
  .family .link-cta{
    color: #000;
  }
  .family .eyebrow{
    font-size: 0.5625rem;
    letter-spacing: .16em;
  }
  .family h2{
    font-size: clamp(1.125rem, 1.55vw, 1.375rem);
    line-height: 1.2;
    margin-top: 0;
  }
  .family p.body{
    max-width: 32.5rem;
    font-size: 0.71875rem;
    line-height: 1.35;
  }
  .family .link-cta{
    font-size: 0.625rem;
    letter-spacing: .12em;
  }

  /* ---------- Brand logos row ---------- */
  .universe{ padding: var(--section-y) var(--pad-x) clamp(3rem, 6vw, 4.5rem); }
  .brands{
    display: flex; justify-content: center; gap: clamp(1rem, 2vw, 1.75rem);
    margin-top: clamp(2.5rem, 5vw, 4rem); flex-wrap: wrap;
  }
  .brand-card{
    width: clamp(13.75rem, 30vw, 16.25rem); height: 8.75rem;
    border: 0.0625rem solid #e2e2e2;
    display: grid; place-items: center;
    transition: border-color .25s ease, transform .25s ease;
    background: var(--bg);
  }
  .brand-card:hover{ border-color: var(--ink); transform: translateY(-0.125rem); }
  .brand-card .ph{
    width: 78%; height: 64%;
    background: transparent;
  }
  .brand-card .ph::before{ display: none; }
  .brand-card .mark{
    text-align: center;
    font-size: 0.6875rem; letter-spacing: var(--tracking-md); text-transform: uppercase;
    color: var(--ink); font-weight: 500;
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  }
  .brand-card .mark .glyph{
    font-size: 1.5rem; letter-spacing: .04em; font-weight: 500;
  }
  .brand-card .mark .sub{ font-size: 0.5625rem; letter-spacing: var(--tracking-lg); opacity: .65; }

  /* ---------- Cosmetics gallery ---------- */
  .cosmetics{
    padding: 0 var(--pad-x) var(--section-y);
    max-width: 80rem; margin: 0 auto;
  }
  .cosmetics-grid{
    margin-top: clamp(2.5rem, 5vw, 4rem);
    display: grid; grid-template-columns: 1.6fr 1fr;
    gap: clamp(0.75rem, 1.6vw, 1.25rem);
    align-items: stretch;
    grid-auto-rows: clamp(20rem, 38vw, 32.5rem);
  }
  .cosmetics-grid .ph{ aspect-ratio: auto; height: 100%; }

  /* ---------- Final dark CTA ---------- */
  .final{
    background: var(--dark);
    color: #fff;
    padding: var(--section-y) var(--pad-x) clamp(3rem, 6vw, 4.5rem);
  }
  .final .cta-block{
    text-align: center; max-width: 47.5rem; margin: 0 auto;
  }
  .final h2{
    font-size: clamp(1.625rem, 3.4vw, 2.75rem);
    letter-spacing: var(--tracking-md);
    line-height: 1.25;
    font-weight: 600;
  }
  .final .actions{
    margin-top: clamp(2rem, 4vw, 3rem);
    display: flex; gap: 0.875rem; justify-content: center; flex-wrap: wrap;
  }

  /* ---------- Footer ---------- */
  .footer{
    background: var(--dark);
    color: rgba(255,255,255,.7);
    padding: clamp(3.5rem, 7vw, 5rem) 0 2.5rem;
    border-top: 0.0625rem solid rgba(255,255,255,.08);
    margin-top: clamp(3rem, 6vw, 4.5rem);
  }
  .footer-top{
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 2.5rem; flex-wrap: wrap;
    padding-bottom: clamp(2rem, 4vw, 3rem);
    border-bottom: 0.0625rem solid rgba(255,255,255,.08);
  }
  .news .label{
    font-size: 0.625rem; letter-spacing: var(--tracking-lg); text-transform: uppercase;
    color: rgba(255,255,255,.6); margin-bottom: 0.625rem;
  }
  .news a{
    font-size: 0.8125rem; letter-spacing: var(--tracking-md); text-transform: uppercase;
    border-bottom: 0.0625rem solid rgba(255,255,255,.4); padding-bottom: 0.25rem; color: #fff;
  }
  .footer-nav{
    display: flex; gap: 1.75rem; flex-wrap: wrap;
    font-size: 0.6875rem; letter-spacing: var(--tracking-lg); text-transform: uppercase;
  }
  .footer-nav a{ color: rgba(255,255,255,.85); }
  .footer-nav a:hover{ color: #fff; }
  .legal{
    margin-top: clamp(1.5rem, 3vw, 2.25rem);
    display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
    font-size: 0.625rem; letter-spacing: var(--tracking-md); text-transform: uppercase;
    color: rgba(255,255,255,.45);
    flex-wrap: wrap;
  }
  .legal .links{ display: flex; gap: 0.875rem 1.125rem; flex-wrap: wrap; }
  .legal .logo-mark{ width: 2.375rem; height: 2.375rem; opacity: .8; }

  /* ---------- Slide-in menu ---------- */
  .drawer{
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 300;
    background: rgba(0,0,0,.3) !important;
    opacity: 0; pointer-events: none;
    transition: opacity .35s ease;
  }
  .drawer.open{ opacity: 1; pointer-events: auto; }
  .drawer-panel{
    position: absolute; top: 0; left: 0; bottom: 0;
    width: min(26.25rem, 88vw);
    /* Glass oscuro: cristal verde botella translúcido con desenfoque del fondo */
    background: linear-gradient(160deg, rgba(20,26,21,.60) 0%, rgba(11,13,11,.70) 55%, rgba(6,7,6,.80) 100%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    backdrop-filter: blur(20px) saturate(1.3);
    color: #fff;
    transform: translateX(-100%);
    transition: transform .45s cubic-bezier(.4,.0,.2,1);
    padding: clamp(1.75rem, 4vw, 2.75rem);
    display: flex; flex-direction: column;
    border-right: 0.0625rem solid rgba(255,255,255,.1);
    box-shadow: 0.625rem 0 3.75rem rgba(0,0,0,.5);
  }
  /* Logo de la marca en la cabecera del menú */
  .drawer-panel::before{
    content: "";
    position: absolute;
    top: clamp(1.25rem, 2.4vw, 1.875rem);
    left: clamp(1.75rem, 4vw, 2.75rem);
    width: 3.25rem; height: 2.25rem;
    background: url(../images/logo-chozas.png) left center / contain no-repeat;
    filter: brightness(0) invert(1);
    opacity: .85;
    pointer-events: none;
    z-index: 1;
  }
  .drawer.open .drawer-panel{ transform: translateX(0); }
  .drawer-close{
    position: absolute;
    top: clamp(1.25rem, 2.4vw, 1.875rem);
    right: clamp(1.25rem, 2.4vw, 1.875rem);
    z-index: 1;
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
    transition: color .25s ease, opacity .25s ease;
  }
  .drawer-close:hover{ color: #e9d9b6; }
  .drawer-close:focus-visible{ outline: 0.0625rem solid #fff; outline-offset: 0.25rem; }
  .drawer-list{
    list-style: none; margin-top: clamp(3.75rem, 8vw, 5.5rem);
    display: flex; flex-direction: column; gap: 0.25rem;
  }
  .drawer-list a{
    display: block;
    padding: 0.875rem 0;
    font-size: 1rem; letter-spacing: var(--tracking-md); text-transform: uppercase;
    font-weight: 500;
    border-bottom: none !important; /* anula la línea del build en la home */
    transition: padding .25s ease, color .25s ease;
  }
  .drawer-list a:hover{ padding-left: 0.625rem; color: #e9d9b6; }

  /* ---------- Responsive ---------- */
  @media (max-width: 60rem){
    .split{ grid-template-columns: 1fr; }
    .split .text{ max-width: none; }
    .split .text p{ max-width: 32.5rem; }
  }

  @media (max-width: 45rem){
    h2{ font-size: 1.3125rem; letter-spacing: .12em; }
    .eyebrow{ font-size: 0.625rem; letter-spacing: .26em; }
    .lede{ font-size: 0.875rem; margin-top: 1.375rem; }
    .hero{ min-height: 35rem; }
    .hero-center .logo-mark{ width: 13.125rem; height: 4.375rem; }
    .hero-center .brand{ font-size: 0.6875rem; letter-spacing: .28em; }
    .nav, .hero-foot{ font-size: 0.65625rem; letter-spacing: .18em; }
    .menu-btn{ gap: 0.5rem; }
    .menu-btn .bars span{ width: 1rem; }
    /* Stack triptych: image — black panel — image with comfortable heights */
    .triptych{ grid-template-columns: 1fr; }
    .triptych > *{ aspect-ratio: 4 / 5; }
    .triptych .panel{ aspect-ratio: auto; padding: 3.5rem 1.75rem; gap: 1.375rem; }
    /* Wines: keep horizontal scroll so user sees all 3 elegantly on phone */
    .wines{
      grid-template-columns: 88% 88% 88%;
      gap: 1rem;
      overflow-x: auto;
      overscroll-behavior-x: contain;
      -webkit-overflow-scrolling: touch;
      touch-action: pan-x;
      scroll-snap-type: x mandatory;
      scroll-padding-left: var(--pad-x);
      scroll-padding-right: var(--pad-x);
      padding-left: var(--pad-x);
      padding-right: var(--pad-x);
      scrollbar-width: none;
    }
    .wines::-webkit-scrollbar{ display: none; }
    .wine{ scroll-snap-align: center; }
    /* Cosmetics: stack with full width tiles */
    .cosmetics-grid{ grid-template-columns: 1fr; gap: 0.875rem; }
    .cosmetics-grid .ph{ aspect-ratio: 4 / 3; }
    /* Brand cards full width */
    .brands{ flex-direction: column; align-items: stretch; }
    .brand-card{ width: 100%; height: 7.5rem; }
    /* Final CTA actions full width */
    .final .actions{ flex-direction: column; align-items: stretch; gap: 0.625rem; }
    .final .actions .btn{ width: 100%; text-align: center; }
    /* Footer stack */
    .footer-top{ flex-direction: column; gap: 1.75rem; }
    .footer-nav{ gap: 0.875rem 1.25rem; }
    .legal{ flex-direction: column; align-items: flex-start; gap: 1.125rem; }
    /* Drawer */
    .drawer-list a{ font-size: 1rem; }
    .btn{ padding: 0.8125rem 1.375rem; }
    /* Family: open framing on mobile so all 4 people stay visible */
    .family{ min-height: clamp(26.25rem, 62vh, 32.5rem); }
    .family .ph{ transform: translate3d(0, var(--py, 0), 0) scale(1.03); }
    .family.in .ph{ transform: translate3d(0, var(--py, 0), 0) scale(1); }
    .family .ph-media{ object-position: center 68%; }
  }

  @media (max-width: 26.25rem){
    .hero-foot{
      flex-direction: row;
      font-size: 0.625rem;
    }
  }

  /* ============================================================
     CINEMATIC SCROLL TRANSITIONS  (Dom Pérignon-style reveals)
     ============================================================ */

  /* Smooth scroll-snap-ish feel without forcing snap.
     Disable native smooth-scroll because Lenis takes over. */
  html.lenis,
  html.lenis body{
    height: auto;
  }
  .lenis.lenis-smooth{
    scroll-behavior: auto !important;
  }
  .lenis.lenis-smooth [data-lenis-prevent]{
    overscroll-behavior: contain;
  }
  .lenis.lenis-stopped{ overflow: hidden; }

  /* Base reveal — every block that opts in starts hidden and
     animates up + fades in when it enters view. Driven by
     scroll-driven animations where available, IntersectionObserver
     fallback below for Safari / older Firefox. */
  .reveal{
    opacity: 0;
    transform: translateY(2.25rem);
    transition: opacity 1.1s cubic-bezier(.2,.65,.2,1),
                transform 1.1s cubic-bezier(.2,.65,.2,1);
    will-change: opacity, transform;
  }
  .reveal.in{
    opacity: 1;
    transform: none;
  }
  /* staggered children */
  .reveal-stagger > *{
    opacity: 0;
    transform: translateY(1.75rem);
    transition: opacity .9s cubic-bezier(.2,.65,.2,1),
                transform .9s cubic-bezier(.2,.65,.2,1);
  }
  .reveal-stagger.in > *{
    opacity: 1;
    transform: none;
  }
  .reveal-stagger.in > *:nth-child(1){ transition-delay: .05s; }
  .reveal-stagger.in > *:nth-child(2){ transition-delay: .18s; }
  .reveal-stagger.in > *:nth-child(3){ transition-delay: .32s; }
  .reveal-stagger.in > *:nth-child(4){ transition-delay: .46s; }
  .reveal-stagger.in > *:nth-child(5){ transition-delay: .60s; }
  .reveal-stagger.in > *:nth-child(6){ transition-delay: .74s; }

  /* Full-bleed cinematic sections: image scales slowly while in view
     (Ken Burns) — gives a "living" feeling between sections.
     `--py` is updated by JS for a subtle parallax against scroll. */
  .bleed .ph{
    transform: translate3d(0, var(--py, 0), 0) scale(var(--chozas-bleed-scale-start, 1.14));
    transition: transform 1.6s cubic-bezier(.2,.65,.2,1);
    will-change: transform;
  }
  .bleed.in .ph{
    transform: translate3d(0, var(--py, 0), 0) scale(var(--chozas-bleed-scale-end, 1.02));
  }

  /* The bleed content rises and the dark scrim fades in lightly */
  .bleed .inner{
    opacity: 0;
    transform: translateY(1.75rem);
    transition: opacity 1.2s cubic-bezier(.2,.65,.2,1) .15s,
                transform 1.2s cubic-bezier(.2,.65,.2,1) .15s;
  }
  .bleed.in .inner{
    opacity: 1;
    transform: none;
  }

  /* Hero gets a slow ambient zoom-out on load */
  .hero .ph{
    animation: heroZoom var(--chozas-hero-zoom-duration, 14s) ease-out forwards;
    transform-origin: center 55%;
  }
  @keyframes heroZoom{
    from{ transform: scale(var(--chozas-hero-scale-start, 1.14)); }
    to  { transform: scale(1); }
  }
  .hero .hero-center{
    opacity: 0;
    transform: translateY(1.25rem);
    animation: heroIn 1.6s cubic-bezier(.2,.65,.2,1) .35s forwards;
  }
  .hero .hero-foot, .hero .nav{
    opacity: 0;
    animation: fadeOnly 1.4s ease-out .9s forwards;
  }
  @keyframes heroIn{
    to{ opacity: 1; transform: none; }
  }
  @keyframes fadeOnly{
    to{ opacity: 1; }
  }

  /* Triptych panels rise individually */
  .triptych{ perspective: 62.5rem; }
  .triptych > *{
    opacity: 0;
    transform: translateY(2.5rem);
    transition: opacity 1.1s cubic-bezier(.2,.65,.2,1),
                transform 1.1s cubic-bezier(.2,.65,.2,1);
  }
  .triptych.in > *{ opacity: 1; transform: none; }
  .triptych.in > *:nth-child(1){ transition-delay: 0s; }
  .triptych.in > *:nth-child(2){ transition-delay: .12s; }
  .triptych.in > *:nth-child(3){ transition-delay: .24s; }

  /* Wine cards stagger */
  .wines > *{
    opacity: 0;
    transform: translateY(2.5rem);
    transition: opacity 1.1s cubic-bezier(.2,.65,.2,1),
                transform 1.1s cubic-bezier(.2,.65,.2,1);
  }
  .wines.in > *{ opacity: 1; transform: none; }
  .wines.in > *:nth-child(1){ transition-delay: .05s; }
  .wines.in > *:nth-child(2){ transition-delay: .20s; }
  .wines.in > *:nth-child(3){ transition-delay: .35s; }

  /* Cosmetics grid stagger */
  .cosmetics-grid > *{
    opacity: 0;
    transform: translateY(2.5rem) scale(.985);
    transition: opacity 1.1s cubic-bezier(.2,.65,.2,1),
                transform 1.1s cubic-bezier(.2,.65,.2,1);
  }
  .cosmetics-grid.in > *{ opacity: 1; transform: none; }
  .cosmetics-grid.in > *:nth-child(2){ transition-delay: .18s; }

  /* Brand cards subtle rise */
  .brands > *{
    opacity: 0;
    transform: translateY(1.5rem);
    transition: opacity .9s cubic-bezier(.2,.65,.2,1),
                transform .9s cubic-bezier(.2,.65,.2,1);
  }
  .brands.in > *{ opacity: 1; transform: none; }
  .brands.in > *:nth-child(2){ transition-delay: .15s; }

  /* Split section: image slides up a touch, text fades from the side */
  .split .text{
    opacity: 0;
    transform: translateX(-1.5rem);
    transition: opacity 1.1s cubic-bezier(.2,.65,.2,1),
                transform 1.1s cubic-bezier(.2,.65,.2,1);
  }
  .split .image{
    opacity: 0;
    transform: translateY(2.5rem);
    transition: opacity 1.1s cubic-bezier(.2,.65,.2,1) .12s,
                transform 1.1s cubic-bezier(.2,.65,.2,1) .12s;
  }
  .split.in .text,
  .split.in .image{ opacity: 1; transform: none; }

  .effects-reveal-off .reveal,
  .effects-reveal-off .reveal-stagger > *,
  .effects-reveal-off .bleed .inner,
  .effects-reveal-off .triptych > *,
  .effects-reveal-off .wines > *,
  .effects-reveal-off .cosmetics-grid > *,
  .effects-reveal-off .brands > *,
  .effects-reveal-off .split .text,
  .effects-reveal-off .split .image{
    opacity: 1;
    transform: none;
    transition: none;
  }
  .effects-parallax-off .bleed .ph{
    --py: 0;
  }
  .effects-bleed-zoom-off .bleed .ph,
  .effects-bleed-zoom-off .bleed.in .ph{
    transform: translate3d(0, var(--py, 0), 0) scale(1);
  }
  .effects-hero-zoom-off .hero .ph{
    animation: none;
    transform: none;
  }

  /* Respect reduced-motion */
  @media (prefers-reduced-motion: reduce){
    html{ scroll-behavior: auto; }
    .reveal, .reveal-stagger > *,
    .bleed .ph, .bleed .inner,
    .triptych > *, .wines > *, .cosmetics-grid > *, .brands > *,
    .split .text, .split .image,
    .hero .ph, .hero .hero-foot, .site-nav{
      animation: none !important;
      transition: none !important;
      opacity: 1 !important;
      transform: none !important;
    }
  }
