:root {
    --ink: #0d0a08;
    --ink-soft: #2c241e;
    --oxblood: #6b1c28;
    --wine: #8a2434;
    --brass: #c4a46a;
    --brass-deep: #9a7840;
    --parchment: #f1e8d8;
    --cream: #f7f1e6;
    --paper: #fbf6ee;
    --stone: #7d7468;
    --line: rgba(196, 164, 106, .26);
    --shadow: 0 30px 70px rgba(13, 10, 8, .16);
    --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
    --sans: "Epilogue", "Avenir Next", sans-serif;
    --caps: "Cinzel", "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6.4rem; }
::selection { background: var(--brass); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font-family: var(--sans);
    font-size: 16.5px;
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -.018em;
    margin: 0 0 .45em;
    font-feature-settings: "kern" 1, "liga" 1;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }

.sr-only, .skip-link { position: absolute; left: -999px; top: 0; }
.skip-link:focus { left: 12px; top: 12px; background: var(--paper); padding: .6rem 1rem; z-index: 80; }

.container { width: min(1380px, calc(100% - 2.8rem)); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 2.4rem)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.8rem; }
.section-links { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; margin: 0; }

.eyebrow {
    font-family: var(--caps);
    font-size: .68rem;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--brass-deep);
    margin-bottom: 1rem;
}
.eyebrow.gold { color: var(--brass); }
.hero .eyebrow::after,
.page-hero .eyebrow::after {
    content: ""; display: block; width: 38px; height: 1px;
    background: var(--brass); margin-top: .75rem;
}
.lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 36rem; font-weight: 300; }
.hero .lede,
.page-hero .lede { color: rgba(247, 241, 230, .84); font-size: 1.18rem; }
.micro { font-size: .85rem; color: var(--stone); }

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 50px; padding: 0 1.55rem;
    border: 1px solid transparent; border-radius: 0;
    font-family: var(--caps); font-weight: 400; font-size: .66rem;
    letter-spacing: .2em; text-transform: uppercase;
    text-decoration: none; cursor: pointer;
    transition: background .35s ease, color .35s ease, border-color .35s ease, transform .35s ease, box-shadow .35s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
    background: linear-gradient(180deg, #d2b47c, var(--brass) 55%, #b8924e);
    color: var(--ink);
    box-shadow: 0 10px 24px rgba(154, 120, 64, .18);
}
.btn-gold:hover { background: linear-gradient(180deg, #dec08a, #d4b57a 55%, #c4a46a); }
.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(247,241,230,.42); }
.btn-ghost:hover { border-color: var(--brass); color: var(--brass); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--cream); }
.btn-sm { min-height: 38px; padding: 0 1rem; font-size: .6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 0; }
.text-link {
    font-family: var(--caps); font-size: .68rem; letter-spacing: .22em;
    text-transform: uppercase; color: var(--oxblood); text-decoration: none;
    border-bottom: 1px solid var(--brass); padding-bottom: .15rem;
}

.site-header {
    position: sticky; top: 0; z-index: 40;
    background: rgba(13,10,8,.94);
    color: var(--cream);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(196,164,106,.14);
    transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.header-top {
    display: flex; justify-content: space-between; gap: 1rem;
    padding: .4rem 1.8rem;
    font-family: var(--caps); font-size: .58rem; letter-spacing: .16em;
    text-transform: uppercase;
    background: #080605; border-bottom: 1px solid rgba(196,164,106,.12);
}
.header-top a { color: var(--brass); text-decoration: none; }
.header-bar {
    display: grid; grid-template-columns: auto 1fr auto;
    align-items: center; gap: 1.6rem; padding: .7rem 1.8rem;
    transition: padding .35s ease;
}
.brand { display: flex; align-items: center; gap: 1.15rem; text-decoration: none; color: inherit; }
.brand-crest {
    height: 126px; width: auto; object-fit: contain;
    filter: drop-shadow(0 8px 22px rgba(0,0,0,.45));
    transition: height .35s ease;
}
.brand-logo { height: 52px; width: auto; max-width: 168px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand .brand-text {
    padding-left: 1.15rem;
    border-left: 1px solid rgba(196,164,106,.38);
}
.brand-text strong { font-family: var(--serif); font-size: 2.05rem; font-weight: 500; letter-spacing: .01em; transition: font-size .35s ease; }
.brand-text small { font-family: var(--caps); font-size: .6rem; letter-spacing: .28em; color: var(--brass); margin-top: .34rem; }
.nav-desktop { display: flex; justify-content: center; gap: 1.45rem; flex-wrap: wrap; }
.nav-desktop a {
    font-family: var(--caps);
    color: var(--parchment); text-decoration: none; font-size: .64rem;
    letter-spacing: .14em; text-transform: uppercase;
    border-bottom: 1px solid transparent; padding-bottom: .28rem;
    transition: color .25s ease, border-color .25s ease;
}
.nav-desktop a.is-active, .nav-desktop a:hover { color: var(--brass); border-color: var(--brass); }
.header-actions { display: flex; align-items: center; gap: .7rem; }
.header-cta { display: inline-flex; }
.icon-link { color: var(--cream); position: relative; display: grid; place-items: center; width: 40px; height: 40px; transition: color .25s ease; }
.icon-link:hover { color: var(--brass); }
.icon-link.is-in::after {
    content: ""; position: absolute; top: 6px; right: 6px;
    width: 7px; height: 7px; border-radius: 50%; background: var(--brass);
}
.cart-count {
    position: absolute; top: 2px; right: 2px; min-width: 16px; height: 16px;
    background: var(--brass); color: var(--ink); border-radius: 99px;
    font-size: .62rem; font-weight: 600; display: grid; place-items: center;
}
.cart-count.is-zero { display: none; }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; }
.nav-toggle span { display: block; height: 1px; background: var(--cream); margin: 7px 8px; }
.nav-mobile { display: none; flex-direction: column; padding: .2rem 1.6rem 1.6rem; }
.nav-mobile a {
    font-family: var(--caps); letter-spacing: .16em; text-transform: uppercase; font-size: .72rem;
    color: var(--cream); text-decoration: none; padding: .75rem 0;
    border-top: 1px solid rgba(196,164,106,.14);
}
.nav-mobile-label {
    margin: 1rem 0 .2rem;
    font-family: var(--caps); font-size: .56rem; letter-spacing: .2em;
    text-transform: uppercase; color: var(--brass);
}
.nav-mobile-cta {
    display: grid; gap: .65rem;
    margin-top: 1.2rem; padding-top: 1rem;
    border-top: 1px solid rgba(196,164,106,.22);
}
.nav-mobile-cta .btn { width: 100%; }
body.nav-open { overflow: hidden; }

body.over-hero .site-header {
    position: fixed; inset: 0 0 auto;
    background: linear-gradient(180deg, rgba(13,10,8,.55), transparent);
    backdrop-filter: none;
}
body.over-hero .site-header:not(.is-solid) .header-top { display: none; }
.site-header.is-solid .header-bar { padding: .42rem 1.8rem; }
.site-header.is-solid .brand-crest { height: 88px; }
.site-header.is-solid .brand-text strong { font-size: 1.72rem; }
body.over-hero .site-header.is-solid {
    background: rgba(13,10,8,.94);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 40px rgba(0,0,0,.18);
}
body.over-hero .site-header.is-solid .header-top {
    background: #080605;
    border-color: rgba(196,164,106,.12);
}

.hero {
    position: relative; min-height: 100vh;
    display: grid; align-items: center; color: var(--cream);
    padding: 9.6rem 1.6rem 5rem;
}
.hero-media, .hero-wash, .hero-grain { position: absolute; inset: 0; }
.hero-media { background: #120e0c; overflow: hidden; }
.hero-media img {
    width: 100%; height: 100%; object-fit: cover; object-position: center 38%;
    transform: scale(1.06);
    animation: heroDrift 22s ease-out forwards;
}
.hero-wash {
    background:
        linear-gradient(90deg, rgba(13,10,8,.58) 0%, rgba(13,10,8,.18) 52%, rgba(13,10,8,.35) 100%),
        linear-gradient(180deg, rgba(13,10,8,.22) 0%, rgba(13,10,8,.18) 40%, rgba(13,10,8,.78) 100%);
}
.hero-grain {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.8' /%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
    mix-blend-mode: overlay; opacity: .22; pointer-events: none;
}
.hero-copy { position: relative; z-index: 2; width: min(820px, 100%); animation: rise 1.15s ease both; }
.hero::after {
    content: ""; position: absolute; right: 5%; top: 54%;
    width: min(440px, 38vw); height: min(540px, 62vh);
    transform: translateY(-50%);
    background: url("/uploads/marca/escudo-oro.png") center / contain no-repeat;
    opacity: .2; pointer-events: none; z-index: 1;
    filter: drop-shadow(0 24px 48px rgba(0,0,0,.35));
}
.hero h1 { font-size: clamp(4rem, 11vw, 7.6rem); margin-bottom: .15em; }
.hero .year {
    display: block;
    font-family: var(--caps); font-size: clamp(.82rem, 1.6vw, 1.05rem);
    letter-spacing: .46em; color: var(--brass); margin-top: .55rem;
}
.path-strip {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}
.path-strip-inner {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: .35rem 2rem; padding: 1rem 0;
    font-family: var(--caps); font-size: .62rem;
    letter-spacing: .18em; text-transform: uppercase;
}
.path-strip a { text-decoration: none; color: var(--brass-deep); }
.path-strip a:hover { color: var(--ink); }

.hero-rail {
    position: relative;
    background: var(--ink);
    border-top: 1px solid rgba(196,164,106,.18);
    color: var(--cream);
    overflow: hidden;
}
.hero-rail::before {
    content: ""; position: absolute; right: 3%; top: 50%;
    width: min(340px, 38vw); height: 210px;
    transform: translateY(-50%);
    background: url("/uploads/marca/escudo-oro.png") center / contain no-repeat;
    opacity: .22; pointer-events: none;
}
.hero-stats {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 0; margin: 0; padding: 1.6rem 0;
}
.hero-stats div {
    margin: 0; padding: 0 1.4rem;
    border-left: 1px solid rgba(196,164,106,.16);
}
.hero-stats div:first-child { border-left: 0; padding-left: 0; }
.hero-stats dt { font-family: var(--serif); font-size: 2.05rem; color: var(--brass); line-height: 1; }
.hero-stats dd {
    margin: .35rem 0 0; font-size: .68rem; letter-spacing: .16em;
    text-transform: uppercase; color: rgba(247,241,230,.62);
}
.path-strip {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}
.path-strip-inner {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: .35rem 2rem; padding: 1rem 0;
    font-family: var(--caps); font-size: .62rem;
    letter-spacing: .18em; text-transform: uppercase;
}
.path-strip a { text-decoration: none; color: var(--brass-deep); }
.path-strip a:hover { color: var(--ink); }
.contact-actions {
    display: flex; flex-wrap: wrap; gap: .6rem;
    margin: 0 0 1.4rem;
}
.guide-search {
    max-width: 28rem; margin: 0 0 1.8rem;
    font-family: var(--caps); font-size: .62rem; letter-spacing: .14em;
    text-transform: uppercase; color: var(--brass-deep);
}
.knowledge-search-wrap { padding: 1.4rem 0 0; }
.about-facts { margin: 1.4rem 0 0; }
.article-turn {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem;
    padding: 0 0 2.4rem; border-bottom: 1px solid var(--line);
}
.article-turn a { text-decoration: none; min-width: 0; }
.article-turn a:last-child { text-align: right; }
.article-turn span {
    display: block; font-family: var(--caps); font-size: .56rem;
    letter-spacing: .16em; text-transform: uppercase; color: var(--brass-deep); margin-bottom: .35rem;
}
.article-turn strong { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
.read-progress {
    position: fixed; top: 0; left: 0; right: 0; z-index: 75; height: 2px;
    background: var(--brass); transform: scaleX(0); transform-origin: 0 50%;
    pointer-events: none;
}
.topic-rail a.is-on { color: var(--brass); }
.is-filtered-out { display: none !important; }

.manifesto, .catalog-preview, .awards, .journal, .shop, .tasting-notes, .seo-copy, .story, .contact, .cart-page, .checkout, .account, .tasting-intro, .tasting-form-wrap, .thanks, .lost-paths { padding: 6.8rem 0; }
.manifesto { background: var(--paper); }
.catalog-preview { background: #f3ece0; }
.mark-crest {
    display: block; width: 34px; height: 42px; margin: 0 0 1.05rem;
    background: url("/uploads/marca/escudo-oro.png") center / contain no-repeat;
    opacity: .55;
}
.mark-crest--light { filter: brightness(1.15); opacity: .7; }
.quote-band {
    position: relative; overflow: hidden;
    background: #100c0a; color: var(--cream);
    text-align: center; padding: 5.8rem 1.6rem;
}
.quote-band::before {
    content: ""; position: absolute; left: 50%; top: 50%;
    width: min(420px, 70vw); height: min(420px, 70vw);
    transform: translate(-50%, -50%);
    background: url("/uploads/marca/escudo-oro.png") center / contain no-repeat;
    opacity: .1; pointer-events: none;
}
.quote-band blockquote {
    position: relative; z-index: 1;
    border: 0; margin: 0 auto; padding: 0;
    max-width: 18ch; font-size: clamp(1.85rem, 3.8vw, 2.85rem);
}
.quote-band cite { color: var(--brass); letter-spacing: .2em; }
.promise-band {
    background: #100c0a; color: var(--cream);
    border-block: 1px solid rgba(196,164,106,.16);
    padding: 2.6rem 0;
}
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.promise-grid .wine-gama { color: var(--brass); margin-bottom: .35rem; }
.promise-grid p:last-child { margin: 0; color: rgba(247,241,230,.78); max-width: 28ch; }

.wine-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.8rem 1.4rem; }
.shop .wine-grid { grid-template-columns: repeat(3, 1fr); }
.wine-card {
    background: transparent;
    border: 0;
    padding: 0;
    display: flex; flex-direction: column; gap: .85rem;
}
.wine-visual {
    display: grid; place-items: end center;
    min-height: 440px;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(13,10,8,.08), transparent 52%),
        linear-gradient(180deg, #e4d8c6, #f7f1e6 58%, #efe4d2);
    position: relative; text-decoration: none; overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(196,164,106,.2);
    transition: box-shadow .4s ease;
}
.wine-visual img {
    max-height: 400px; width: auto; object-fit: contain; padding: 2.2rem .4rem .6rem;
    filter: drop-shadow(0 18px 22px rgba(13,10,8,.2));
    transition: transform .8s ease, filter .8s ease;
}
.wine-card:hover .wine-visual { box-shadow: inset 0 0 0 1px rgba(196,164,106,.62); }
.wine-card:hover .wine-visual img { transform: translateY(-12px); filter: drop-shadow(0 26px 28px rgba(13,10,8,.28)); }
.wine-card .add-form {
    opacity: 1; transform: none;
}
.wine-meta-chip {
    position: absolute; top: .85rem; left: .85rem;
    font-family: var(--caps); font-size: .58rem; letter-spacing: .14em; text-transform: uppercase;
    color: var(--ink); border: 1px solid rgba(13,10,8,.18); padding: .28rem .5rem;
    background: rgba(251,246,238,.72);
}
.wine-body h3 { font-size: 1.35rem; margin-bottom: .15em; }
.wine-body h3 a { text-decoration: none; transition: color .25s ease; }
.wine-body h3 a:hover { color: var(--brass-deep); }
.wine-origin {
    font-family: var(--caps); font-size: .54rem; letter-spacing: .16em;
    text-transform: uppercase; color: var(--brass-deep); margin: 0 0 .35rem;
}
.wine-gama { font-family: var(--caps); font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); margin: 0 0 .2rem; }
.wine-price { font-family: var(--serif); font-size: 1.45rem; color: var(--ink); margin: 0; }
.wine-price--lg { font-size: 2.3rem; }
.add-form { display: flex; gap: .5rem; align-items: center; }
.add-form--lg { margin-top: 1.2rem; }
.add-form .btn { flex: 1; min-height: 42px; }
label { display: grid; gap: .35rem; }
.qty-field input, select, input, textarea {
    width: 100%; border: 1px solid #d5c9b6; background: #fff;
    padding: .75rem .85rem; font: inherit; color: inherit; border-radius: 0;
    transition: border-color .2s ease;
}
input:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--brass);
}
.qty-field input { width: 64px; }

.wine-bottle {
    --wine: #6b1c28;
    width: 62px; height: 210px; position: relative; margin-bottom: 8px;
    background: linear-gradient(90deg, #1a1614, #2c2622 40%, #171412);
    border-radius: 8px 8px 6px 6px / 18px 18px 8px 8px;
    box-shadow: 8px 12px 24px rgba(16,12,10,.18);
}
.wine-bottle::before {
    content: ""; position: absolute; left: 50%; top: -38px; transform: translateX(-50%);
    width: 18px; height: 46px; background: #1a1614;
    border-radius: 7px 7px 0 0;
}
.wine-bottle::after {
    content: ""; position: absolute; left: 10px; right: 10px; top: 34px; bottom: 18px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--wine) 88%, #000), var(--wine));
    border-radius: 3px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.wine-bottle--xl { width: 110px; height: 360px; margin: 2rem auto 0; }
.wine-bottle--xl::before { width: 28px; height: 72px; top: -62px; }
.wine-bottle--sm { width: 28px; height: 78px; margin: 0; }
.wine-bottle--sm::before { width: 9px; height: 18px; top: -16px; }
.wine-bottle[data-type="blanco"] { --wine: #e8d48a; }
.wine-bottle[data-type="rosado"] { --wine: #d48a96; }

.visit-band { background: var(--ink); color: var(--cream); padding: 0; }
.visit-grid { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 620px; }
.visit-photo { margin: 0; overflow: hidden; min-height: 460px; background: #1a1410; }
.visit-photo img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 10s ease;
}
.visit-band:hover .visit-photo img { transform: scale(1.06); }
.visit-copy { padding: 5.4rem 4.4rem; display: grid; align-content: center; max-width: 640px; }
.visit-copy h2 { color: var(--cream); }

.photo-frame { margin: 0; overflow: hidden; background: #ece4d6; position: relative; }
.photo-frame img {
    width: 100%; height: 100%; min-height: 420px; object-fit: cover;
    transition: transform 8s ease;
}
.photo-frame:hover img { transform: scale(1.04); }
.photo-frame::before {
    content: ""; position: absolute; inset: 14px; z-index: 2;
    border: 1px solid rgba(247,241,230,.38); pointer-events: none;
}
.photo-frame--offset { box-shadow: var(--shadow); }
.photo-frame figcaption {
    position: absolute; left: 1rem; bottom: 1rem;
    font-family: var(--caps); font-size: .58rem; letter-spacing: .18em;
    text-transform: uppercase; color: var(--cream);
    background: rgba(13,10,8,.55); padding: .4rem .65rem;
}
.manifesto-split { align-items: center; }
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.4rem; align-items: start; }
.story-photos { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.story-photos .photo-frame:last-child { margin-top: 2.4rem; }
.story-photos .photo-frame img { min-height: 300px; }
.photo-strip { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1rem; margin-top: 3.2rem; }
.photo-strip img { width: 100%; height: 340px; object-fit: cover; min-height: 340px; }
.era { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: 1rem; }
.era li { display: grid; grid-template-columns: 4.6rem 1fr; gap: 1rem; align-items: baseline; }
.era span {
    font-family: var(--caps); font-size: .62rem; letter-spacing: .16em;
    text-transform: uppercase; color: var(--brass-deep);
}

.awards {
    background: #14110e; color: var(--cream); position: relative; overflow: hidden;
    border-block: 1px solid rgba(196,164,106,.18);
}
.awards::before {
    content: ""; position: absolute; left: 50%; top: 50%;
    width: min(620px, 78vw); height: min(620px, 78vw);
    transform: translate(-50%, -46%);
    background: url("/uploads/marca/escudo-trans.png") center / contain no-repeat;
    opacity: .12; pointer-events: none;
}
.awards .container { position: relative; z-index: 1; }
.awards h2 { color: var(--cream); }
.awards-lede { max-width: 42ch; color: rgba(247,241,230,.68); margin: -.4rem 0 0; }
.award-photos {
    display: flex; flex-wrap: wrap; gap: 1.8rem 2.2rem; list-style: none;
    padding: 2rem 0 0; margin: 2.4rem 0 0; align-items: center; justify-content: space-between;
    border-top: 1px solid rgba(196,164,106,.16);
}
.award-photos li { flex: 0 1 120px; }
.award-photos img {
    width: 100%; height: 120px; object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(0,0,0,.28));
    transition: transform .45s ease, filter .45s ease;
}
.award-photos li:hover img { transform: translateY(-6px); filter: drop-shadow(0 16px 22px rgba(0,0,0,.4)); }

.journal { background: var(--paper); }
.journal-grid { display: grid; grid-template-columns: 1.35fr .82fr .82fr; gap: 2rem; align-items: start; }
.journal-card--lead {
    display: grid; gap: 1.2rem;
}
.journal-card--lead .journal-cover img { height: 340px; }
.journal-card { background: transparent; border: 0; padding: 0; }
.journal-card h3 a, .journal-card h2 a { text-decoration: none; }
.journal-card p:last-child {
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    overflow: hidden; color: var(--ink-soft);
}
.journal-list { display: grid; gap: 0; }
.journal-card--wide {
    display: grid; grid-template-columns: .95fr 1.15fr; gap: 2.2rem 2.6rem;
    align-items: center; padding: 2.2rem 0; border-bottom: 1px solid var(--line);
}
.journal-card--wide .journal-cover { grid-row: 1 / 6; margin: 0; }
.journal-cover { display: block; margin: 0 0 1.1rem; overflow: hidden; }
.journal-card--wide .journal-cover { margin: 0 0 1.2rem; }
.journal-cover img {
    width: 100%; height: 220px; object-fit: cover;
    transition: transform .9s ease;
}
.journal-card--lead .journal-cover { box-shadow: inset 0 0 0 1px rgba(196,164,106,.2); }
.journal-card:hover .journal-cover img { transform: scale(1.04); }

.site-footer { background: #080605; color: #d5c9b6; padding-top: 0; }
.footer-cta {
    position: relative; overflow: hidden;
    background:
        linear-gradient(120deg, rgba(13,10,8,.82), rgba(13,10,8,.64)),
        url("/uploads/fotos/fondo-hero.png") center / cover no-repeat;
    color: var(--cream); text-align: center; padding: 6.2rem 1.2rem 6.4rem;
}
.footer-cta::before {
    content: ""; position: absolute; inset: 0;
    background: url("/uploads/marca/escudo-oro.png") center 36% / min(460px, 56vw) no-repeat;
    opacity: .22; pointer-events: none;
}
.footer-cta > * { position: relative; z-index: 1; }
.footer-cta-crest {
    height: 196px; width: auto; margin: 0 auto 1.45rem;
    object-fit: contain; filter: drop-shadow(0 14px 32px rgba(0,0,0,.45));
}
.footer-cta h2 { max-width: 16ch; margin-inline: auto; }
.footer-main { position: relative; overflow: hidden; }
.footer-main::before {
    content: ""; position: absolute; right: -2%; bottom: -16%;
    width: min(560px, 68vw); height: min(560px, 68vw);
    background: url("/uploads/marca/escudo-trans.png") center / contain no-repeat;
    opacity: .14; pointer-events: none;
}
.footer-crest {
    height: 172px; width: auto; margin-bottom: 1rem;
    object-fit: contain; filter: drop-shadow(0 10px 24px rgba(0,0,0,.35));
}
.footer-brand .brand-text { margin-bottom: 1rem; }
.footer-brand .brand-text strong { color: var(--cream); display: block; }
.footer-logo { height: 76px; width: auto; margin-bottom: 1.1rem; object-fit: contain; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .9fr 1fr .85fr; gap: 2.6rem; padding: 4.4rem 0; position: relative; z-index: 1; }
.footer-grid h3 { font-size: 1.2rem; color: var(--brass); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li + li { margin-top: .45rem; }
.footer-grid a { color: #d5c9b6; text-decoration: none; }
.footer-grid a:hover { color: var(--brass); }
.footer-legal {
    display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
    border-top: 1px solid rgba(196,164,106,.14); padding: 1.2rem 0 2rem; font-size: .8rem;
}
.footer-legal nav { display: flex; flex-wrap: wrap; gap: .8rem 1.1rem; }
.footer-legal a { color: #b6aa9b; text-decoration: none; }
.footer-do {
    font-family: var(--caps); font-size: .58rem; letter-spacing: .16em;
    text-transform: uppercase; color: var(--brass); margin-top: 1rem;
}

.page-hero { padding: 5.5rem 0 2.5rem; background: #14110e; color: var(--cream); }
.page-hero--short { padding-top: 4.4rem; }
.page-hero h1 { max-width: 16ch; font-size: clamp(2.8rem, 6.5vw, 5.4rem); }
.page-hero--photo {
    position: relative; overflow: hidden; min-height: 58vh;
    display: grid; align-items: end; padding: 9.4rem 0 3.4rem;
    background: #120e0c;
}
.page-hero--photo.page-hero--short { min-height: 42vh; padding: 6.4rem 0 2.6rem; }
.page-hero-img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    transform: scale(1.05);
    animation: heroDrift 20s ease-out forwards;
}
.page-hero--photo::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(13,10,8,.28) 0%, rgba(13,10,8,.72) 100%);
}
.page-hero--photo::after {
    content: ""; position: absolute; right: 5%; top: 56%; z-index: 1;
    width: min(380px, 40vw); height: min(470px, 58vw);
    transform: translateY(-50%);
    background: url("/uploads/marca/escudo-oro.png") center / contain no-repeat;
    opacity: .22; pointer-events: none;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,.35));
}
.page-hero--photo .container { position: relative; z-index: 2; }

.shop-layout { display: grid; grid-template-columns: 230px 1fr; gap: 3rem; }
.shop-filters { position: sticky; top: 8.4rem; padding-right: 1.4rem; border-right: 1px solid var(--line); }
.shop-filters .eyebrow { margin-bottom: 1.4rem; }
.shop-filters .btn { width: 100%; margin-top: .6rem; }
.shop-filters > form > label {
    font-family: var(--caps); font-size: .62rem; letter-spacing: .14em;
    text-transform: uppercase; color: var(--brass-deep);
}
.shop-filters fieldset { border: 0; padding: 0; margin: 1.6rem 0; }
.shop-filters legend, .shop-filters label { display: block; font-size: .86rem; margin-bottom: .5rem; }
.shop-filters legend { font-family: var(--caps); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-deep); margin-bottom: .8rem; }
.check { display: flex; align-items: center; gap: .45rem; }
.check input { width: auto; }
.result-count {
    font-family: var(--caps); font-size: .62rem; letter-spacing: .16em;
    text-transform: uppercase; color: var(--brass-deep); margin-bottom: 1.6rem;
}
.seo-copy { background: var(--paper); }
.seo-copy h2, .seo-copy h3 { margin-top: 1.4rem; }
.seo-copy .photo-frame img { min-height: 460px; }

.product-hero { padding: 2.4rem 0 2.8rem; background: var(--cream); }
.product-layout { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 3.2rem; align-items: start; }
.product-info { padding-top: .15rem; }
.product-info h1 { font-size: clamp(2.3rem, 4.2vw, 3.5rem); max-width: 14ch; margin-bottom: .25em; }
.product-info .lede { font-size: 1.08rem; max-width: 40rem; }
.product-lede { margin-top: 1.15rem; }
.do-seal {
    display: inline-block; margin: .05rem 0 .7rem;
    font-family: var(--caps); font-size: .58rem; letter-spacing: .2em;
    text-transform: uppercase; color: var(--brass-deep);
    border: 1px solid rgba(196,164,106,.55); padding: .32rem .7rem;
}
.product-stage {
    position: relative;
    width: 100%;
    min-height: 520px; display: grid; place-items: center;
    background:
        radial-gradient(ellipse at 50% 88%, rgba(13,10,8,.07), transparent 52%),
        linear-gradient(180deg, #e7dccb, #f8f3ea 58%, #efe6d6);
    padding: 2.2rem 1.2rem 1.8rem;
    box-shadow: inset 0 0 0 1px rgba(196,164,106,.28);
    border: 0;
    cursor: zoom-in;
    color: inherit;
    font: inherit;
}
.product-stage[disabled] { cursor: default; }
.product-stage[data-type="blanco"] {
    background:
        radial-gradient(ellipse at 50% 88%, rgba(154,120,64,.08), transparent 52%),
        linear-gradient(180deg, #ece6d4, #fbf7ee 60%, #f3ead8);
}
.product-stage[data-type="rosado"] {
    background:
        radial-gradient(ellipse at 50% 88%, rgba(138,36,52,.08), transparent 52%),
        linear-gradient(180deg, #ead8d2, #fbf6ee 60%, #f3e4dc);
}
.product-stage::before {
    content: ""; position: absolute; inset: 0;
    background: url("/uploads/marca/escudo-oro.png") center 42% / min(240px, 48%) no-repeat;
    opacity: .08; pointer-events: none;
}
.product-stage img {
    position: relative; z-index: 1; max-height: 480px; width: auto; object-fit: contain;
    filter: drop-shadow(0 28px 34px rgba(13,10,8,.2));
    transition: transform .7s ease;
}
.product-stage:hover:not([disabled]) img { transform: translateY(-8px); }
.product-zoom-hint {
    position: absolute; right: 1rem; bottom: 1rem; z-index: 2;
    font-family: var(--caps); font-size: .56rem; letter-spacing: .16em;
    text-transform: uppercase; color: var(--brass-deep);
    background: rgba(251,246,238,.86); padding: .35rem .6rem;
    border: 1px solid rgba(196,164,106,.4);
}
.wine-price--lg small {
    font-size: .42em; letter-spacing: .08em; color: var(--stone);
    font-family: var(--caps); text-transform: uppercase; font-weight: 400;
}
.product-buy { margin-top: 1.05rem; }
.product-stock-note {
    font-family: var(--caps); font-size: .62rem; letter-spacing: .16em;
    text-transform: uppercase; color: var(--oxblood); margin: 0 0 .7rem;
}
.add-form--lg {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .75rem;
    align-items: stretch;
    margin-top: 0;
}
.add-form--lg .qty-stepper { align-self: end; }
.add-form--lg .btn { min-height: 56px; flex: none; }
.qty-stepper { display: grid; gap: .4rem; }
.qty-label {
    font-family: var(--caps); font-size: .58rem; letter-spacing: .16em;
    text-transform: uppercase; color: var(--brass-deep);
}
.qty-controls {
    display: inline-flex; align-items: stretch;
    border: 1px solid #c9b79a; background: #fffdf8;
    min-height: 56px;
}
.qty-controls button {
    width: 48px; border: 0; background: transparent;
    color: var(--ink); font-size: 1.25rem; line-height: 1; cursor: pointer;
}
.qty-controls button:hover { background: rgba(196,164,106,.16); }
.qty-controls input {
    width: 3.1rem; border: 0; border-inline: 1px solid #e4d8c4;
    background: transparent; text-align: center; padding: 0;
    font-family: var(--serif); font-size: 1.25rem; -moz-appearance: textfield;
}
.qty-controls input::-webkit-outer-spin-button,
.qty-controls input::-webkit-inner-spin-button { appearance: none; }
.product-after-add { margin: .75rem 0 0; font-size: .92rem; }
.product-after-add a { color: var(--oxblood); }
.product-buy-links { display: flex; flex-wrap: wrap; gap: .9rem 1.2rem; align-items: center; }
.product-jump {
    display: flex; flex-wrap: wrap; gap: .55rem 1.15rem;
    margin: 1.6rem 0 0; padding-top: 1.2rem;
    border-top: 1px solid var(--line);
}
.product-jump a {
    font-family: var(--caps); font-size: .58rem; letter-spacing: .16em;
    text-transform: uppercase; text-decoration: none; color: var(--stone);
    border-bottom: 1px solid transparent;
}
.product-jump a:hover { color: var(--brass-deep); border-color: var(--brass); }
.buy-dock {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: .7rem 1.2rem calc(.7rem + env(safe-area-inset-bottom));
    background: rgba(13,10,8,.94); color: var(--cream);
    border-top: 1px solid rgba(196,164,106,.22);
    backdrop-filter: blur(16px);
}
.buy-dock[hidden] { display: none; }
.buy-dock-copy { display: grid; gap: .1rem; min-width: 0; }
.buy-dock-copy strong {
    font-family: var(--serif); font-weight: 500; font-size: 1.15rem;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.buy-dock-copy span { font-size: .86rem; color: var(--brass); }
.buy-dock .btn { min-height: 46px; flex: 0 0 auto; }
body:has(.buy-dock:not([hidden])) { padding-bottom: 5.4rem; }
.product-zoom {
    border: 0; padding: 1.6rem 1.6rem 1.2rem;
    background: var(--paper); max-width: min(92vw, 720px);
    box-shadow: var(--shadow);
}
.product-zoom::backdrop { background: rgba(13,10,8,.72); }
.product-zoom img { max-height: 78vh; width: auto; margin-inline: auto; }
.product-zoom form { margin-top: 1rem; text-align: center; }
.cart-thumb { width: 56px; height: 88px; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(13,10,8,.16)); }
.crumbs { display: flex; gap: .55rem; flex-wrap: wrap; font-size: .78rem; color: var(--stone); margin-bottom: .7rem; }
.crumbs a { color: var(--stone); text-decoration: none; }
.crumbs a:hover { color: var(--brass-deep); }
.crumbs a + a::before,
.crumbs span::before { content: "·"; margin-right: .55rem; color: var(--brass); }
.page-hero .crumbs { margin-top: 1.4rem; }
.crumbs--light, .crumbs--light a { color: rgba(247,241,230,.78); }
.crumbs--light a:hover { color: var(--cream); }
.crumbs--light span { color: var(--brass); }
.cart-page .wine-suggest { padding: 2.8rem 0 0; background: transparent; }
.spec-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(6.4rem, 1fr)); gap: .65rem .9rem; list-style: none; padding: .85rem 0; margin: .15rem 0 0; border-block: 1px solid var(--line); }
.spec-row li { min-width: 0; font-family: var(--serif); font-size: 1.2rem; }
.spec-row span { display: block; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); font-family: var(--caps); margin-bottom: .25rem; }
.tasting-notes { background: var(--paper); }
.notes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; margin: 2.2rem 0 2.8rem; }
.notes-grid article { background: transparent; border-top: 1px solid var(--brass); padding: 1.5rem 0 0; }
.notes-grid h3 { font-size: 1.85rem; }
.pairing, .product-story { max-width: 70ch; }
.product-story h3 { margin-top: .35rem; }
.pairing-card {
    max-width: 46rem; margin: 0 0 2.4rem;
    padding: 1.7rem 1.9rem 1.5rem;
    background: #f7f1e6;
    border-left: 1px solid var(--brass);
}
.pairing-card p:last-child { margin: 0; font-family: var(--serif); font-size: 1.4rem; }
.promise-mini {
    display: flex; flex-wrap: wrap; gap: .4rem 1.3rem;
    list-style: none; padding: 0; margin: 1.1rem 0 0;
    font-size: .82rem; color: var(--stone);
}
.promise-mini li { position: relative; }
.promise-mini li + li::before {
    content: "·"; position: absolute; left: -.85rem; color: var(--brass);
}

.steps { list-style: none; padding: 0; display: grid; gap: 1.35rem; }
.steps li { border-left: 1px solid var(--brass); padding-left: 1.2rem; }
.step-n {
    display: block; font-family: var(--caps); font-size: .62rem;
    letter-spacing: .2em; color: var(--brass-deep); margin-bottom: .2rem;
}
.steps strong { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
.thanks-steps { margin: 1.6rem 0 0; text-align: left; max-width: 36rem; }
.thanks-steps li { border-color: var(--brass); color: rgba(247,241,230,.84); }
.thanks-steps .step-n { color: var(--brass); }
.thanks-steps strong { color: var(--cream); }
.tasting-form-grid, .contact-grid, .checkout-grid, .account-grid, .cart-layout {
    display: grid; grid-template-columns: 1fr 1.1fr; gap: 2.8rem;
}
.contact-card { background: var(--paper); padding: 0 0 1.8rem; box-shadow: inset 0 1px 0 var(--brass); }
.contact-card > :not(img) { padding-left: 1.6rem; padding-right: 1.6rem; }
.contact-card h2 { padding-top: .4rem; }
.contact-card .eyebrow { padding-top: 1.4rem; }
.contact-photo { width: 100%; height: 280px; object-fit: cover; margin: 0 0 .4rem; }
.contact-facts { margin: 0; display: grid; gap: 1.15rem; }
.contact-facts dt {
    font-family: var(--caps); font-size: .6rem; letter-spacing: .16em;
    text-transform: uppercase; color: var(--brass-deep); margin-bottom: .2rem;
}
.contact-facts dd { margin: 0; }
.panel-form { background: var(--paper); border: 1px solid rgba(196,164,106,.3); padding: 2.2rem; display: grid; gap: 1.05rem; }
.panel-form h2 { font-size: 2rem; }
.panel-form fieldset { border: 1px solid var(--line); padding: 1rem 1.05rem; margin: .3rem 0; }
.panel-form legend {
    font-family: var(--caps); font-size: .62rem; letter-spacing: .16em;
    text-transform: uppercase; color: var(--brass-deep); padding: 0 .35rem;
}
.panel-form > label,
.panel-form .form-row label {
    font-family: var(--caps); font-size: .62rem; letter-spacing: .14em;
    text-transform: uppercase; color: var(--brass-deep);
}
.panel-form input, .panel-form select, .panel-form textarea {
    font-family: var(--sans); font-size: 1rem; letter-spacing: 0;
    text-transform: none; color: var(--ink); background: #fffdf8;
}
.panel-form .check {
    font-family: var(--sans); font-size: .85rem; letter-spacing: 0;
    text-transform: none; color: var(--ink-soft);
}
.panel-form .help {
    margin: -.4rem 0 0;
    font-family: var(--sans);
    font-size: .88rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ink-soft);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.alert { padding: .8rem 1rem; }
.alert-ok { background: #e8f0e4; }
.alert-err { background: #f6e4e4; color: #6b1c28; }

.faq details { border-bottom: 1px solid var(--line); padding: 1.15rem 0; }
.faq summary {
    cursor: pointer; font-family: var(--serif); font-size: 1.25rem; font-weight: 500;
    list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--brass-deep); font-family: var(--serif); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .7rem 0 0; color: var(--ink-soft); }

.cart-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 1.1rem; align-items: center; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.cart-row h2 { font-size: 1.25rem; margin: 0; }
.cart-row h2 a { text-decoration: none; }
.cart-row-copy p { margin: .2rem 0 0; color: var(--stone); font-size: .9rem; }
.cart-row-tools { display: flex; align-items: center; gap: 1rem; }
.cart-line-total { margin: 0; font-family: var(--serif); font-size: 1.2rem; min-width: 5.2rem; text-align: right; }
.qty-stepper--cart .qty-controls { min-height: 44px; }
.qty-stepper--cart .qty-controls button { width: 40px; }
.qty-stepper--cart .qty-controls input { font-size: 1.05rem; }
.ship-nudge { margin: 0 0 1.1rem; }
.ship-nudge p { display: block; margin: 0 0 .45rem; font-size: .88rem; color: var(--ink-soft); }
.ship-bar {
    display: block; height: 3px; background: rgba(196,164,106,.22); overflow: hidden;
}
.ship-bar i { display: block; height: 100%; background: var(--brass); }
.filter-toggle {
    display: none; width: 100%; min-height: 48px; margin-bottom: 1rem;
    background: var(--paper); border: 1px solid var(--line); color: var(--ink);
    font-family: var(--caps); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1.2rem; }
.filter-chips li {
    font-family: var(--caps); font-size: .56rem; letter-spacing: .12em; text-transform: uppercase;
    border: 1px solid var(--line); padding: .28rem .55rem; color: var(--brass-deep);
}
.filter-clear { display: inline-block; margin-top: .9rem; }
.checkout-steps {
    display: flex; gap: 1rem; list-style: none; padding: 0; margin: 0 0 1.6rem;
    font-family: var(--caps); font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: var(--stone);
}
.checkout-steps .is-on { color: var(--ink); }
.checkout-steps .is-done a { color: var(--brass-deep); text-decoration: none; }
.pickup-note { margin: .4rem 0 1rem; color: var(--ink-soft); }
.cart-summary em { font-style: normal; }
.cart-summary { background: var(--paper); border: 1px solid rgba(196,164,106,.3); padding: 2rem 1.7rem; height: fit-content; }
.cart-summary .eyebrow { margin-bottom: .5rem; }
.cart-summary .btn { width: 100%; margin-top: .6rem; }
.cart-summary .text-link { display: inline-block; margin-top: 1rem; }
.transfer-box {
    margin: 1.1rem 0;
    padding: 1.1rem 1.2rem;
    background: var(--paper, #f7f1e8);
    color: #1a1410;
    border: 1px solid rgba(196,164,106,.35);
}
.transfer-box p { margin: .35rem 0 0; }
.transfer-box .eyebrow { margin: 0; }
.checkout-line { display: flex; align-items: center; gap: .7rem; }
.checkout-line .cart-thumb { width: 36px; height: 56px; }
.order-list { display: grid; gap: .9rem; margin-top: 1.2rem; }
.order-card { padding: 1.25rem 0; border-top: 1px solid var(--line); }
.order-card h3 { font-size: 1.35rem; margin: 0 0 .15em; }
.order-card-head { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.order-card-total { margin: 0; font-family: var(--serif); font-size: 1.45rem; }
.order-lines { list-style: none; padding: 0; margin: .55rem 0 0; color: var(--ink-soft); font-size: .95rem; }
.account-welcome {
    display: grid; grid-template-columns: 1.4fr .8fr; gap: 2.4rem;
    align-items: start; margin-bottom: 3.2rem; padding-bottom: 2rem;
    border-bottom: 1px solid var(--line);
}
.account-welcome .hero-actions { margin-top: 1.4rem; }
.account-welcome form { margin: 0; }
.account-panels { display: grid; grid-template-columns: 1.3fr .7fr; gap: 3rem; align-items: start; }
.account-switch {
    display: none; gap: .4rem; margin: 0 0 1.2rem;
}
.account-switch button {
    flex: 1; min-height: 46px; background: var(--paper); border: 1px solid var(--line);
    font-family: var(--caps); font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; color: var(--stone);
}
.account-switch button.is-on { color: var(--ink); border-color: var(--brass); }
.password-field { display: flex; align-items: center; gap: .7rem; }
.password-field input { flex: 1; width: 100%; }
.thanks-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.8rem; align-items: start; }
.lost-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.lost-card {
    display: block; text-decoration: none; background: var(--paper);
    padding: 1.6rem 1.4rem 1.5rem; border-top: 1px solid var(--brass);
}
.lost-card h2 { font-size: 1.7rem; }
.lost-card p { margin: 0; color: var(--ink-soft); }
.legal-nav a.is-on { color: var(--ink); }
.cart-summary > p, .cart-summary .total { display: flex; justify-content: space-between; }
.total { font-family: var(--serif); font-size: 1.4rem; }
.linkish { background: none; border: 0; color: var(--oxblood); cursor: pointer; text-decoration: underline; font: inherit; }

.article .page-hero h1 { max-width: 22ch; }
.article-bar {
    border-bottom: 1px solid var(--line);
    background: var(--paper);
}
.article-meta {
    display: flex; flex-wrap: wrap; gap: .35rem 1.5rem;
    padding: 1rem 0;
    font-family: var(--caps); font-size: .58rem; letter-spacing: .16em;
    text-transform: uppercase; color: var(--stone);
}
.article-meta a { color: var(--brass-deep); text-decoration: none; }
.article-meta a:hover { color: var(--ink); }
.article-layout { padding: 2.4rem 0 1.2rem; }
.article-layout--guide {
    display: grid; grid-template-columns: minmax(0, 1fr) 280px;
    gap: 4.2rem; align-items: start;
}
.article-aside {
    position: sticky; top: 8.2rem;
    background: var(--paper); padding: 1.7rem 1.5rem 1.6rem;
    border-top: 1px solid var(--brass);
}
.article-aside h2 { font-size: 1.85rem; }
.article-aside .btn { width: 100%; margin-top: 1.4rem; }
.article-aside .text-link { display: inline-block; margin-top: 1rem; }
.article-body { padding: 0 0 2.2rem; }
.article-body h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin-top: 2.4rem; }
.article-body h3 { margin-top: 1.8rem; }
.article-body p { font-size: 1.08rem; }
.article-body > p:first-of-type::first-letter {
    font-family: var(--serif); font-size: 3.2rem; float: left;
    line-height: .85; padding: .08em .12em 0 0; color: var(--brass-deep);
}
.article-body a { color: var(--brass-deep); text-underline-offset: .18em; }
.article-body .rank-math-content-ai-tooltip { display: none !important; }
.article-body ul, .article-body ol { padding-left: 1.15rem; margin: 0 0 1.2rem; }
.article-body li + li { margin-top: .3rem; }
.article-body img {
    width: 100%; height: auto; margin: 1.8rem 0 .35rem;
}
.article-body figcaption {
    font-family: var(--caps); font-size: .56rem; letter-spacing: .14em;
    text-transform: uppercase; color: var(--stone); margin: 0 0 1.8rem;
}
.article-photos { margin: 0 auto 1.2rem; }
.article-end {
    background: var(--paper); text-align: center;
    padding: 4.4rem 0 4.6rem; margin-top: 2rem;
    border-block: 1px solid var(--line);
}
.article-end h2 { max-width: 14ch; margin-inline: auto; }
.article-end .hero-actions { justify-content: center; }
.article-wines { padding-top: 5.2rem; }
.article-more { padding-bottom: 5.6rem; }
.journal-grid--related { grid-template-columns: repeat(3, 1fr); }
.journal-grid--index { grid-template-columns: 1fr 1fr; }
.journal-card--feature {
    display: grid; grid-template-columns: 1.15fr .85fr;
    gap: 3rem; align-items: center;
    padding-bottom: 3.2rem; margin-bottom: 3.2rem;
    border-bottom: 1px solid var(--line);
}
.journal-card--feature .journal-cover img { height: 420px; }
.journal-card--feature h2 a { text-decoration: none; }
.topic-rail {
    background: #14110e; color: var(--cream);
    border-top: 1px solid rgba(196,164,106,.16);
}
.topic-rail-inner {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: .4rem 2.2rem; padding: 1.05rem 0;
    font-family: var(--caps); font-size: .58rem;
    letter-spacing: .2em; text-transform: uppercase;
}
.topic-rail a { color: rgba(247,241,230,.7); text-decoration: none; }
.topic-rail a:hover, .topic-rail a.is-on { color: var(--brass); }

.ency-featured { padding: 5.6rem 0 4.2rem; background: #f3ece0; }
.ency-index { padding: 4.4rem 0 5.6rem; }
.ency-chapter + .ency-chapter { margin-top: 4.4rem; padding-top: 3.2rem; border-top: 1px solid var(--line); }
.ency-chapter { scroll-margin-top: 8.4rem; }
.ency-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem;
}
.ency-grid--featured { grid-template-columns: repeat(4, 1fr); }
.ency-card {
    display: grid; align-content: start; gap: .35rem;
    padding: 1.5rem 1.35rem 1.4rem; text-decoration: none;
    background: var(--paper); border-top: 1px solid var(--brass);
    min-height: 100%;
    transition: transform .35s ease, box-shadow .35s ease;
}
.ency-featured .ency-card { background: var(--cream); }
.ency-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ency-card h3 { font-size: 1.55rem; margin: 0; }
.ency-card p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.ency-letter {
    display: block; font-family: var(--serif); font-size: 2.6rem; line-height: .85;
    color: var(--brass-deep); margin-bottom: .55rem;
}
.ency-letter--aside {
    font-size: 4.4rem; color: var(--brass); margin: 0 0 1rem;
}
.ency-entry .page-hero h1 { max-width: 16ch; }

.az-rail {
    background: var(--paper); border-bottom: 1px solid var(--line);
}
.az-rail-inner {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: .15rem .15rem; padding: .85rem 0;
    font-family: var(--serif); font-size: 1.15rem;
}
.az-rail a {
    min-width: 2rem; text-align: center; text-decoration: none;
    color: var(--brass-deep); padding: .2rem .35rem;
}
.az-rail a:hover { color: var(--ink); }
.gloss-index { padding: 4.8rem 0 2.4rem; }
.gloss-chapter + .gloss-chapter { margin-top: 3.6rem; padding-top: 2.8rem; border-top: 1px solid var(--line); }
.gloss-chapter, .gloss-letter { scroll-margin-top: 8.4rem; }
.gloss-list { margin: 0; }
.gloss-row {
    display: grid; grid-template-columns: minmax(12rem, .42fr) 1fr;
    gap: 1.4rem 2.4rem; padding: 1.15rem 0;
    border-bottom: 1px solid var(--line);
}
.gloss-row dt { margin: 0; font-family: var(--serif); font-size: 1.55rem; font-weight: 500; }
.gloss-row dt a { text-decoration: none; }
.gloss-row dt a:hover { color: var(--brass-deep); }
.gloss-row dd { margin: 0; color: var(--ink-soft); align-self: center; }
.gloss-def {
    font-family: var(--serif); font-size: 1.45rem; font-style: italic;
    color: var(--ink-soft); padding-bottom: 1.2rem; margin-bottom: 1.6rem;
    border-bottom: 1px solid var(--brass);
}
.gloss-az { padding: 3.2rem 0 5.6rem; background: var(--paper); }
.gloss-letter { padding: 1.4rem 0 0; }
.gloss-letter h3 {
    font-family: var(--serif); font-size: 2.4rem; color: var(--brass-deep);
    border-bottom: 1px solid var(--line); padding-bottom: .4rem; margin-bottom: .8rem;
}
.gloss-letter ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .35rem 2rem; }
.gloss-letter li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; }
.gloss-letter a { text-decoration: none; font-family: var(--serif); font-size: 1.2rem; }
.gloss-letter a:hover { color: var(--brass-deep); }
.gloss-letter span {
    font-family: var(--caps); font-size: .52rem; letter-spacing: .14em;
    text-transform: uppercase; color: var(--stone); align-self: center;
}
.cta-inline { margin-top: 2.8rem; padding: 1.4rem 1.5rem; background: var(--paper); border-left: 1px solid var(--brass); }
.legal-body > p:first-of-type::first-letter { float: none; font-size: inherit; padding: 0; color: inherit; }
blockquote {
    margin: 2.6rem 0; padding: 1.5rem 0 1.5rem 1.5rem;
    border-left: 1px solid var(--brass); font-family: var(--serif);
    font-size: 1.7rem; font-style: italic; font-weight: 400;
}
blockquote cite { display: block; margin-top: 1rem; font-family: var(--caps); font-size: .66rem; font-style: normal; letter-spacing: .16em; }

.age-gate {
    position: fixed; inset: 0; z-index: 70;
    display: none; place-items: center; padding: 1.2rem;
}
.age-gate.is-open { display: grid; }
.age-backdrop {
    position: absolute; inset: 0;
    background:
        url("/uploads/marca/escudo-oro.png") center 14% / min(320px, 52vw) no-repeat,
        linear-gradient(180deg, rgba(13,10,8,.72), rgba(13,10,8,.84)),
        url("/uploads/fotos/fondo-hero.png") center / cover no-repeat;
}
.age-card {
    position: relative;
    width: min(500px, 100%); background: var(--paper); color: var(--ink);
    padding: 3.2rem 2.5rem 2.8rem; border: 1px solid var(--brass); text-align: center;
    box-shadow: 0 40px 90px rgba(0,0,0,.42);
}
.age-card .btn-ghost { color: var(--ink); border-color: var(--ink); }
.age-logo { height: 148px; width: auto; margin: 0 auto 1rem; object-fit: contain; }

.cookie-bar {
    position: fixed; left: 1.2rem; right: 1.2rem; bottom: 1.2rem; z-index: 60;
    background: rgba(13,10,8,.94); color: var(--cream); padding: 1.05rem 1.3rem;
    display: none; justify-content: space-between; gap: 1rem; align-items: center;
    border: 1px solid rgba(196,164,106,.32);
    backdrop-filter: blur(14px);
}
.cookie-bar p { margin: 0; max-width: 46rem; font-size: .92rem; }
.cookie-bar.is-open { display: flex; }
[hidden] { display: none !important; }
.cookie-bar .hero-actions { margin: 0; }
.cookie-bar a { color: var(--brass); }

.toast {
    position: fixed; left: 50%; bottom: 1.5rem; z-index: 65;
    transform: translate(-50%, 14px);
    background: var(--ink); color: var(--cream);
    border: 1px solid var(--brass); padding: .85rem 1.4rem;
    font-family: var(--caps); font-size: .62rem; letter-spacing: .18em;
    text-transform: uppercase; opacity: 0; pointer-events: none;
    transition: opacity .3s ease, transform .3s ease;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.empty-cava { text-align: center; padding: 2.4rem 1rem 1.2rem; }
.empty-cava::before {
    content: ""; display: block; width: 72px; height: 90px; margin: 0 auto 1.2rem;
    background: url("/uploads/marca/escudo-oro.png") center / contain no-repeat;
    opacity: .7;
}
.empty-cava h2 { max-width: 12ch; margin-inline: auto; }
.tasting-aside-photo { margin: 1.6rem 0 0; }
.tasting-aside-photo img { min-height: 280px; max-height: 360px; }
.tasting-form-wrap blockquote { margin-top: 1.6rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@keyframes heroDrift {
    to { transform: scale(1); }
}
@keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
    .split, .wine-grid, .journal-grid, .shop-layout, .product-layout, .visit-grid,
    .tasting-form-grid, .contact-grid, .checkout-grid, .account-grid, .cart-layout,
    .account-welcome, .account-panels, .thanks-layout, .lost-grid, .article-turn,
    .notes-grid, .footer-grid, .story-grid, .photo-strip, .hero-stats, .promise-grid,
    .article-layout--guide, .journal-card--feature, .ency-grid, .ency-grid--featured,
    .gloss-row, .gloss-letter ul { grid-template-columns: 1fr; }
    .wine-grid, .shop .wine-grid, .journal-grid { grid-template-columns: repeat(2, 1fr); }
    .article-aside { position: static; }
    .journal-card--wide { grid-template-columns: 1fr; }
    .journal-card--wide .journal-cover { grid-row: auto; }
    .wine-card .add-form { opacity: 1; transform: none; }
    .shop-filters { position: static; }
    .filter-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .filter-body { display: none; }
    .filter-body.is-open { display: block; }
    .nav-desktop, .header-cta { display: none; }
    .nav-toggle { display: block; }
    .nav-mobile:not([hidden]) { display: flex; }
    .header-bar { grid-template-columns: 1fr auto; }
    .brand-crest, .site-header.is-solid .brand-crest { height: 86px; }
    .brand .brand-text { padding-left: .85rem; }
    .brand-text strong, .site-header.is-solid .brand-text strong { font-size: 1.7rem; }
    .shop-filters { border-right: 0; padding-right: 0; }
    .footer-cta-crest { height: 148px; }
    .footer-crest { height: 132px; }
    .hero::after, .page-hero--photo::after { opacity: .16; }
    .hero-stats div { border-left: 0; padding: 1rem 0; border-top: 1px solid rgba(196,164,106,.16); }
    .hero-stats div:first-child { border-top: 0; }
    .visit-copy { padding: 3rem 1.6rem; }
    .product-stage { min-height: 460px; padding: 2rem 1rem 1.6rem; }
    .product-stage img { max-height: 400px; }
    .add-form--lg { grid-template-columns: 1fr; }
    .qty-controls { width: 100%; }
    .qty-controls input { flex: 1; width: auto; }
    .cart-row { grid-template-columns: 48px 1fr; }
    .cart-row-tools { grid-column: 1 / -1; justify-content: space-between; }
    .cookie-bar { flex-direction: column; align-items: stretch; }
    .account-switch { display: flex; }
    .account-grid [data-account-panel] { display: none; }
    .account-grid [data-account-panel].is-on { display: grid; }
    .article-turn a:last-child { text-align: left; }
    .story-photos .photo-frame:last-child { margin-top: 0; }
}

@media (max-width: 640px) {
    .wine-grid, .shop .wine-grid, .journal-grid, .journal-card--wide,
    .journal-grid--related, .journal-grid--index, .ency-grid, .ency-grid--featured { grid-template-columns: 1fr; }
    .journal-card--wide .journal-cover { grid-row: auto; }
    .header-top { display: none; }
    h1 { font-size: 2.5rem; }
    .brand-crest, .site-header.is-solid .brand-crest { height: 74px; }
    .brand-text strong, .site-header.is-solid .brand-text strong { font-size: 1.5rem; }
    .header-bar { padding: .55rem 1.1rem; }
    .hero { padding-bottom: 3rem; }
    .product-zoom-hint { display: none; }
    .buy-dock .btn { padding: 0 1rem; }
}

.footer-cta .hero-actions { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-media img, .reveal, .wine-visual img, .journal-cover img, .photo-frame img { animation: none; transition: none; }
    .reveal { opacity: 1; transform: none; }
}

@media print {
    .site-header, .site-footer, .age-gate, .cookie-bar, .read-progress,
    .path-strip, .topic-rail, .hero-actions, .buy-dock, .nav-mobile { display: none !important; }
    .page-hero--photo { min-height: auto; padding: 1.2rem 0; color: #000; }
    .page-hero-img, .page-hero--photo::after { display: none; }
    body { background: #fff; color: #000; }
}
