/* ═══════════════════════════════════════════════════════════════════
   HBC WEBSITE · EDITORIAL LAYER (review candidate, 17 Oct 2026)
   ═══════════════════════════════════════════════════════════════════
   Loaded AFTER css/styles.css and css/site.css on index.html and
   founding-members.html only. Every other page is unchanged.
   Approved direction: "HBC Website Final Refinement" (17 Oct 2026):
   graphite wrap, photographic product in a real setting, larger editorial
   type, one deep-wine brand band, the same button family as site.css.
   Presentation only. Copy, forms, routes, analytics and scripts unchanged.
   Imagery lives in images/editorial/ so it can be swapped for real
   photography later without touching this file or the markup. */

:root {
  --ed-cellar: #2A1015;
  --ed-cream-ink: #F3EBDF;
  --ed-brass-lt: #C6A66C;
  --ed-r-photo: 20px;
}

/* ── Type scale ─────────────────────────────────────────────────── */
.ed-display { font-family: var(--serif); font-weight: 400; font-size: clamp(3.3rem, 6.6vw, 6.4rem); line-height: 0.92; letter-spacing: -0.02em; text-wrap: balance; margin: 0; color: var(--dark); }
.ed-display em, .ed-h2 em { font-style: italic; color: var(--wine); }
.ed-h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 4.4vw, 3.9rem); line-height: 0.98; letter-spacing: -0.015em; text-wrap: balance; margin: 0; }
.ed-lead { font-size: 1.08rem; line-height: 1.65; color: var(--muted); max-width: 31rem; margin: 0; }

/* ── Photographs: one treatment ─────────────────────────────────── */
.ed-photo { position: relative; margin: 0; overflow: hidden; border-radius: var(--ed-r-photo); background: var(--pale2); }
.ed-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ── Home hero: copy on parchment, the wrapped bottle in its world ── */
.ed-hero { padding: calc(var(--nav-h) + clamp(1.25rem, 3vw, 2.5rem)) 0 0; }
.ed-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: stretch; }
.ed-hero__copy { display: grid; align-content: center; gap: 1.35rem; padding-block: 2rem; min-width: 0; }
.ed-hero__copy .hero__label { margin: 0; }
.ed-hero__copy .hero__actions { margin-top: 0.5rem; }
.ed-hero__copy .hero__meta { margin: 0.25rem 0 0; }
.ed-hero__photo { height: clamp(540px, 74vh, 760px); }
.ed-hero__photo img { object-position: 46% 50%; }

.ed-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 4vw, 3.5rem); padding-block: clamp(2.25rem, 4.5vw, 3.5rem) clamp(1.5rem, 3vw, 2rem); }
.ed-steps .step { display: grid; grid-template-columns: auto 1fr; column-gap: 1.1rem; align-items: baseline; padding: 1.1rem 0 0; margin: 0; text-align: left; border-top: 1px solid var(--hbp-line); }
.ed-steps .step__num { grid-row: span 2; font: 400 2.5rem/1 var(--serif); color: var(--gold); margin: 0; }
.ed-steps .step__title { font: 400 1.75rem/1.1 var(--serif); margin: 0; }
.ed-steps .step__body { margin: 0.15rem 0 0; color: var(--muted); font-size: 0.95rem; }
.ed-more { padding-bottom: clamp(3rem, 6vw, 4.5rem); }

/* ── Brand band: the one deep moment ────────────────────────────── */
.ed-band { background: var(--ed-cellar); color: var(--ed-cream-ink); text-align: center; padding: clamp(5rem, 11vw, 8.5rem) 0; }
.ed-band__line { margin: 0 auto; max-width: 14ch; font: italic 400 clamp(2.4rem, 6vw, 5.2rem)/1 var(--serif); letter-spacing: -0.015em; text-wrap: balance; color: var(--ed-cream-ink); }
.ed-band .ed-lineup { margin-top: clamp(3rem, 6vw, 4.5rem); }

/* ── Editorial splits (pathways) ───────────────────────────────── */
.ed-split { padding: clamp(4rem, 9vw, 7rem) 0; }
.ed-split + .ed-split { padding-top: 0; }
.ed-split__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.ed-split--flip .ed-split__grid > .ed-photo { order: 2; }
.ed-split .ed-photo { aspect-ratio: 4 / 4.6; }
.ed-split .ed-photo--card { aspect-ratio: 4 / 3.4; }
.ed-photo--card img { object-fit: contain; padding: 7%; }
.ed-split__copy { display: grid; gap: 1.3rem; align-content: start; min-width: 0; }
.ed-split__copy .label { margin: 0; }
.ed-split__copy .btn { justify-self: start; }

/* ── The six bottles ───────────────────────────────────────────── */
.ed-lineup { display: flex; justify-content: center; align-items: flex-end; gap: clamp(0.25rem, 1.6vw, 1.4rem); }
.ed-lineup img { height: clamp(120px, 17vw, 230px); width: auto; min-width: 0; }

/* ── Releases page ─────────────────────────────────────────────── */
.ed-rel-hero { padding: calc(var(--nav-h) + clamp(1.25rem, 3vw, 2.5rem)) 0 clamp(3rem, 6vw, 5rem); }
.ed-rel-hero .ed-hero__photo { height: clamp(560px, 78vh, 780px); }
.ed-rel-hero .ed-hero__photo img { object-position: 50% 60%; }
.ed-rel-hero .hero__title { font-size: clamp(3rem, 6vw, 5.6rem); line-height: 0.94; letter-spacing: -0.02em; margin: 0; }
.ed-rel-hero .hero__sub { margin: 0; max-width: 31rem; }
.ed-rel-hero .price-block { margin: 0.35rem 0 0; max-width: 30rem; padding: 1.4rem 1.5rem; border-radius: 20px; }
.ed-rel-hero .price-block__price { font-family: var(--serif); font-size: 1.75rem; }
.ed-rel-hero .hero__actions { margin-top: 0.25rem; }

.ed-arrives .section-intro--center { margin-bottom: clamp(2rem, 4vw, 3rem); }
.ed-mosaic { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; gap: clamp(0.75rem, 1.6vw, 1.25rem); }
.ed-mosaic figure { margin: 0; display: grid; gap: 0.6rem; align-content: start; }
.ed-mosaic figure:first-child { grid-row: span 2; }
.ed-mosaic figure:first-child .ed-photo { height: 100%; min-height: 560px; aspect-ratio: auto; width: 100%; }
.ed-mosaic .ed-photo { aspect-ratio: 16 / 10; }
.ed-mosaic figcaption { font-size: 0.88rem; color: var(--muted); }
.ed-mosaic figcaption b { display: block; font: 400 1.2rem/1.2 var(--serif); color: var(--dark); }
.ed-arrives .ed-lineup { margin: clamp(3rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); }

/* the founder note reads as a note, not a block of body copy */
.ed-founder p { font-family: var(--serif); font-size: clamp(1.2rem, 1.9vw, 1.4rem); line-height: 1.6; color: var(--ink2, #3A3A3A); }

/* ── Phone ─────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .ed-hero, .ed-rel-hero { padding-top: var(--nav-h); }
  .ed-hero__grid { grid-template-columns: 1fr; gap: 0; }
  .ed-hero__photo { order: -1; height: 440px; margin: 0 -2rem; border-radius: 0; }
  .ed-rel-hero .ed-hero__photo { height: 420px; }
  .ed-hero__copy { padding: 1.9rem 0 0.25rem; }
  .ed-hero__copy .hero__actions .btn { flex: 1 1 100%; }
  .ed-steps { grid-template-columns: 1fr; gap: 0; padding-top: 1.75rem; }
  .ed-steps .step { padding-block: 0.9rem; }
  .ed-steps .step__num { font-size: 2rem; }
  .ed-split__grid { grid-template-columns: 1fr; }
  .ed-split--flip .ed-split__grid > .ed-photo { order: 0; }
  .ed-split .ed-photo { aspect-ratio: 4 / 4.2; }
  .ed-split__copy .btn { justify-self: stretch; }
  .ed-mosaic { grid-template-columns: 1fr 1fr; }
  .ed-mosaic figure:first-child { grid-column: 1 / -1; grid-row: auto; }
  .ed-mosaic figure:first-child .ed-photo { min-height: 0; height: 420px; }
  .ed-mosaic .ed-photo { aspect-ratio: 1 / 1; }
  .ed-lineup { display: grid; grid-template-columns: repeat(3, auto); justify-content: center; row-gap: 1.25rem; column-gap: 1rem; }
  .ed-lineup img { height: 150px; }
}
@media (max-width: 540px) {
  .ed-hero__photo { margin: 0 -1.25rem; }
}

/* ── Home hero as one photograph (refinement, 17 Oct 2026) ─────────
   The landscape spans the hero; a parchment veil carries the copy on the
   left and fades out before the bottle; the scene fades into the page below. */
.ed-hero--scene { padding: 0; }
.ed-scene { position: relative; min-height: clamp(620px, 88vh, 880px); display: flex; align-items: center; overflow: hidden; }
.ed-scene__img { position: absolute; top: var(--nav-h); left: 0; width: 100%; height: calc(100% - var(--nav-h)); object-fit: cover; object-position: 68% 40%; }
.ed-scene__veil { position: absolute; inset: var(--nav-h) 0 0 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(250, 246, 241, 0.35) 0%, rgba(250, 246, 241, 0) 10%, rgba(250, 246, 241, 0) 78%, var(--pale) 100%),
    linear-gradient(90deg, rgba(250, 246, 241, 0.94) 0%, rgba(250, 246, 241, 0.86) 28%, rgba(250, 246, 241, 0.48) 46%, rgba(250, 246, 241, 0) 62%); }
.ed-scene__copy { position: relative; z-index: 2; width: 100%; padding-top: calc(var(--nav-h) + 1rem); padding-bottom: 3rem; }
.ed-scene__copy .ed-hero__copy { max-width: 33rem; padding: 0; }
.ed-hero--scene .ed-steps { padding-top: clamp(1.5rem, 3vw, 2.25rem); }

/* ── Brand band: the landscape just perceptible under deep wine ── */
.ed-band--scene { position: relative; overflow: hidden; isolation: isolate; }
.ed-band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; z-index: -2; }
.ed-band--scene::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(42, 16, 21, 0.66) 0%, rgba(42, 16, 21, 0.84) 55%, rgba(42, 16, 21, 0.93) 100%); }

@media (max-width: 760px) {
  .ed-scene { display: block; min-height: 0; padding-top: var(--nav-h); }
  .ed-scene__img { position: relative; top: auto; inset: auto; display: block; height: 470px; object-position: 74% 50%; }
  .ed-scene__veil { inset: auto 0; top: var(--nav-h); bottom: auto; height: 470px;
    background: linear-gradient(180deg, rgba(250, 246, 241, 0) 52%, rgba(250, 246, 241, 0.82) 84%, var(--pale) 100%); }
  .ed-scene__copy { margin-top: -78px; padding-top: 0; padding-bottom: 0.5rem; }
}

/* ═══ Site-wide layer (full build, 18 Oct 2026) ═══════════════════ */

/* Navigation: The Cellar last, set apart by a hairline */
.nav__links .nav__cellar { padding-left: 1.6rem; margin-left: 0.2rem; border-left: 1px solid var(--hbp-line); }
.nav__links .nav__cellar a { color: var(--wine); }
@media (max-width: 900px) {
  .nav__links .nav__cellar { padding-left: 0; margin-left: 0; border-left: 0; }
}

/* Inner-page editorial hero: copy left, photograph right, no box on phone */
.ed-ihero { padding: calc(var(--nav-h) + clamp(1.25rem, 3vw, 2.5rem)) 0 clamp(2.5rem, 5vw, 4rem); }
.ed-ihero .ed-hero__copy .hero__title { font-size: clamp(2.8rem, 5.6vw, 5.2rem); line-height: 0.95; letter-spacing: -0.02em; margin: 0; }
.ed-ihero .ed-hero__copy .hero__sub { margin: 0; max-width: 31rem; }
.ed-ihero .ed-hero__photo { height: clamp(500px, 70vh, 700px); }
.ed-ihero--phone .ed-hero__visual { display: grid; place-items: center; background: var(--pale2); border-radius: var(--ed-r-photo); padding: 2.5rem 1rem; }

/* Full-bleed scene for inner pages (same treatment as the home hero, shorter) */
.ed-scene--inner { min-height: clamp(520px, 72vh, 720px); }

/* Phone frame for real platform screens */
.ed-phone { width: min(290px, 74vw); aspect-ratio: 9 / 18.5; border-radius: 42px; background: #17110f; padding: 10px; box-shadow: 0 30px 60px rgba(40, 24, 14, .18); margin: 0 auto; }
.ed-phone > div { width: 100%; height: 100%; border-radius: 33px; overflow: hidden; background: var(--pale2); }
.ed-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }

/* How It Works chapters */
.ed-chapter { padding: clamp(3rem, 7vw, 6rem) 0; border-top: 1px solid var(--hbp-line-soft); }
.ed-chapter--tint { background: var(--pale2); }
.ed-chapter__n { font: 400 clamp(4rem, 9vw, 7.5rem)/0.8 var(--serif); color: var(--gold); opacity: .8; margin: 0; }
.ed-chapter .ed-split__copy p { color: var(--ink2, #3A3A3A); max-width: 32rem; margin: 0; }

/* Wide lifestyle band */
.ed-wide { position: relative; height: clamp(320px, 42vw, 560px); overflow: hidden; }
.ed-wide img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; display: block; }
.ed-wide::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, var(--pale) 0%, rgba(250, 246, 241, 0) 14%, rgba(250, 246, 241, 0) 86%, var(--pale) 100%); }

/* Founder note on About */
.ed-note { font: 400 clamp(1.2rem, 1.9vw, 1.42rem)/1.62 var(--serif); color: var(--ink2, #3A3A3A); display: grid; gap: 1.1rem; max-width: 36rem; }
.ed-note p { margin: 0; }
.ed-sig { font: italic 400 1.4rem var(--serif); color: var(--wine); }
.ed-founder-line { font: italic 400 clamp(1.3rem, 2.2vw, 1.7rem)/1.45 var(--serif); color: var(--dark); max-width: 34rem; margin: 0; }

/* ═══ The Hidden Bottle Cellar ═══ */
.ed-dark { background: var(--ed-cellar); color: var(--ed-cream-ink); }
.ed-dark .label, .ed-dark .hero__label { color: var(--ed-brass-lt); }
.ed-dark .ed-display, .ed-dark .ed-h2, .ed-dark h2, .ed-dark h3 { color: var(--ed-cream-ink); }
.ed-dark .ed-display em, .ed-dark .ed-h2 em { color: var(--ed-brass-lt); }
.ed-dark .ed-lead, .ed-dark p { color: rgba(243, 235, 223, 0.76); }
.ed-dark .btn--primary { border: 1px solid rgba(198, 166, 108, .35); box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.ed-dark .link-arrow, .ed-dark .ed-textlink { color: var(--ed-cream-ink); }
.ed-textlink { background: none; border: 0; padding: 0.5rem 0; font: 500 1.12rem/1.2 var(--serif); color: inherit; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(198, 166, 108, .45); cursor: pointer; }

.ed-entry { padding: calc(var(--nav-h) + clamp(1rem, 2vw, 2rem)) 0 clamp(3rem, 6vw, 5rem); }
.ed-entry__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.ed-entry .ed-display { font-size: clamp(3rem, 6.2vw, 5.8rem); }
.ed-door { height: clamp(560px, 78vh, 780px); }
.ed-door img { object-position: 50% 50%; }

.ed-atdoor .ed-photo { aspect-ratio: 4 / 4.4; }
.ed-price { font: 400 2.2rem/1 var(--serif); font-variant-numeric: tabular-nums; color: var(--dark); }
.ed-price small { font: 400 0.95rem var(--sans); color: var(--muted); margin-left: 0.35rem; }
.ed-key { font: italic 400 1.22rem/1.35 var(--serif); color: var(--wine); margin: 0; }
.ed-note-sm { font-size: 0.86rem; color: var(--muted); margin: 0; }

.ed-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(2.25rem, 4vw, 3.5rem) clamp(1rem, 2.4vw, 2rem); }
.ed-card { display: flex; flex-direction: column; min-width: 0; text-decoration: none; color: inherit; }
.ed-card__ph { display: block; aspect-ratio: 4 / 5.8; border-radius: 12px; overflow: hidden; margin-bottom: 1rem; background: #EEE6DA; }
.ed-card__ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.ed-card:hover .ed-card__ph img { transform: scale(1.03); }
.ed-card__cue { font: 700 0.7rem/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--wine); margin: 0 0 0.35rem; }
.ed-dark .ed-card__cue { color: var(--ed-brass-lt); }
.ed-card__name { font: 400 1.45rem/1.12 var(--serif); margin: 0; color: inherit; }
.ed-card__meta { font-size: 0.86rem; color: var(--muted); margin: 0.25rem 0 0; }
.ed-card__price { font: 400 1.4rem/1 var(--serif); font-variant-numeric: tabular-nums; margin: 0.9rem 0 1rem; }
.ed-card__foot { margin-top: auto; }
.ed-card__gate { display: block; font-size: 0.84rem; padding-top: 0.75rem; border-top: 1px solid rgba(198, 166, 108, .3); }
.ed-card .btn { width: 100%; min-height: 44px; font-size: 0.75rem; }

.ed-ihead { position: relative; overflow: hidden; min-height: clamp(300px, 34vw, 400px); display: grid; align-items: center; padding-top: var(--nav-h); }
.ed-ihead__img { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 34%); mask-image: linear-gradient(90deg, transparent, #000 34%); }
.ed-ihead__img img { width: 100%; height: 100%; object-fit: cover; opacity: .9; display: block; }
.ed-ihead .container { position: relative; z-index: 2; width: 100%; display: grid; gap: 0.8rem; padding-block: 2.5rem; }
.ed-tabs { display: flex; gap: clamp(1.25rem, 3vw, 2.4rem); overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--hbp-line-soft); margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.ed-tab { flex: none; background: none; border: 0; border-bottom: 1px solid transparent; margin-bottom: -1px; padding: 0.6rem 0 0.8rem; min-height: 44px; font: 400 1.18rem/1.2 var(--serif); color: var(--muted); white-space: nowrap; cursor: pointer; }
.ed-tab[aria-selected="true"] { color: var(--dark); border-bottom-color: var(--dark); }

.ed-crumb { display: flex; gap: 0.5rem; font-size: 0.82rem; color: var(--muted); padding-top: calc(var(--nav-h) + 1.4rem); flex-wrap: wrap; }
.ed-crumb a { color: inherit; }
.ed-crumb span + span::before { content: "/"; margin-right: 0.5rem; opacity: .5; }
.ed-pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 6vw, 5.5rem); padding: 1.5rem 0 clamp(4rem, 8vw, 6rem); align-items: start; }
.ed-pdp__ph { aspect-ratio: 4 / 5; position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.ed-pdp__ph img { object-position: 50% 40%; }
.ed-pdp__info { display: grid; gap: 1.05rem; min-width: 0; padding-top: 0.5rem; }
.ed-pdp__prod { font: 700 0.8rem/1.3 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin: 0; }
.ed-pdp__name { font: 400 clamp(2.6rem, 4.8vw, 4.2rem)/0.98 var(--serif); letter-spacing: -0.015em; margin: 0; }
.ed-pdp__meta { color: var(--muted); margin: -0.2rem 0 0; }
.ed-buy { display: grid; gap: 1rem; padding: 1.4rem 0; border-block: 1px solid var(--hbp-line); }
.ed-buy__row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.ed-stock { font-size: 0.86rem; color: #2F6B44; }
.ed-buy__ctl { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; }
.ed-qty { display: inline-flex; align-items: center; border: 1px solid var(--hbp-line-strong); border-radius: 14px; background: #fff; }
.ed-qty button { width: 44px; height: 50px; border: 0; background: none; font-size: 1.15rem; cursor: pointer; }
.ed-qty output { min-width: 2ch; text-align: center; }
.ed-gate { display: grid; gap: 0.8rem; padding: 1.3rem 1.35rem; border-radius: 16px; background: var(--pale2); }
.ed-gate b { font: 600 1.35rem/1.2 var(--serif); }
.ed-gate p { margin: 0; color: var(--ink2, #3A3A3A); font-size: 0.95rem; }
.ed-acc { border-bottom: 1px solid var(--hbp-line-soft); }
.ed-acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 56px; cursor: pointer; font: 400 1.25rem/1.2 var(--serif); }
.ed-acc summary::-webkit-details-marker { display: none; }
.ed-acc summary::after { content: ""; width: 0.5rem; height: 0.5rem; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); margin: -0.25rem 0.3rem 0 0; transition: transform .2s; }
.ed-acc[open] summary::after { transform: rotate(-135deg); margin-top: 0.3rem; }
.ed-acc p { margin: 0 0 1.1rem; color: var(--ink2, #3A3A3A); max-width: 34rem; }
.ed-acc .ed-quote { font: italic 400 1.25rem/1.45 var(--serif); color: var(--dark); }
.ed-origin { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--hbp-line-soft); text-decoration: none; color: inherit; }
.ed-origin b { display: block; font: 400 1.2rem/1.2 var(--serif); }
.ed-origin span { font-size: 0.82rem; color: var(--muted); }
[data-access="open"] .ed-locked-only, [data-access="locked"] .ed-open-only { display: none !important; }

@media (max-width: 960px) { .ed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 0.9rem; } }
@media (max-width: 760px) {
  .ed-ihero { padding-top: var(--nav-h); }
  .ed-ihero .ed-hero__photo { height: 420px; }
  .ed-ihero--phone .ed-hero__visual { order: -1; margin: 0 -2rem; border-radius: 0; padding: 2rem 1rem; }
  .ed-entry { padding-top: var(--nav-h); }
  .ed-entry__grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .ed-door { order: -1; height: 460px; margin: 0 -2rem; border-radius: 0; }
  .ed-card__name { font-size: 1.2rem; }
  .ed-card__price { font-size: 1.2rem; margin: 0.6rem 0 0.8rem; }
  .ed-ihead__img { width: 100%; -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent); mask-image: linear-gradient(180deg, #000 30%, transparent); opacity: .55; }
  .ed-pdp { grid-template-columns: 1fr; padding-top: 0.75rem; }
  .ed-pdp__ph { position: relative; top: 0; aspect-ratio: 4 / 4.4; }
  .ed-wide { height: 300px; }
}
@media (max-width: 540px) {
  .ed-ihero--phone .ed-hero__visual, .ed-door { margin: 0 -1.25rem; }
}
.ed-chapter.ed-split--flip .ed-split__grid > .ed-phone { order: 2; }
@media (max-width: 760px) { .ed-chapter.ed-split--flip .ed-split__grid > .ed-phone { order: 0; } .ed-chapter .ed-phone { margin-bottom: 0.5rem; } }
/* Age gate: the 18+ tag is the first thing read */
.age-gate__lockup--18plus { max-height: min(240px, 28vh); opacity: 1; }
@media (max-width: 540px) { .age-gate__lockup--18plus { max-height: min(210px, 26vh); } }

/* ═══ R4 (18 Oct 2026) ═══════════════════════════════════════════════
   Mobile header: wordmark + hamburger only. The old Releases · Corporate
   Tastings strip is gone from the markup; --nav-h returns to the 68px bar
   so every hero that reads it moves up into the space the strip used. */
.nav__cta-more { display: none; }
@media (max-width: 900px) {
  :root { --nav-h: 68px; }
  .nav-paths { display: none !important; }
  .nav__links .nav__cta-more { display: inline; margin-left: 0.4em; }
  /* nav-state-active in the phone menu: a small brass mark beside the current page */
  .nav__links a[aria-current="page"]::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ed-brass-lt, #C6A66C); margin-left: 0.65rem; flex: none; }
}
/* UX Pro Max · web-target-size: desktop nav links get a 24px+ hit area
   (padding only, so the bar looks exactly as before) */
@media (min-width: 901px) {
  .nav__links a:not(.nav__cta) { display: inline-block; padding-block: 0.55rem; }
}
/* skip-links: hidden until a keyboard user tabs to it */
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 300; padding: 0.75rem 1.1rem; border-radius: 10px;
  background: var(--wine); color: #fff; font: 700 0.8rem/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }
.skip-link:focus { top: 0.75rem; outline: 2px solid var(--hbp-focus, #7D6126); outline-offset: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Closed Cellar (production-safe): one atmospheric screen, no commerce. */
.ed-closed { min-height: 100svh; display: flex; align-items: center; }
.ed-closed .ed-entry__grid { width: 100%; }
.ed-dark .ed-closed__line { font: italic 400 clamp(1.55rem, 2.5vw, 2rem)/1.3 var(--serif); color: var(--ed-brass-lt); margin: 0; }
.ed-closed__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.75rem; margin-top: 0.4rem; }
.ed-closed__actions .ed-textlink { padding: 0.75rem 0; }
@media (max-width: 760px) {
  .ed-closed { min-height: 0; display: block; }
  .ed-closed .ed-door { height: min(68svh, 560px); }
  .ed-closed .ed-door img { object-position: 50% 78%; }
  .ed-closed__actions .btn { flex: 1 1 100%; }
}
/* heading-line-balance: avoid one-word last lines in lead copy (progressive; no layout change elsewhere) */
.ed-lead { text-wrap: pretty; }

/* ═══ R5 (18 Oct 2026) ═══════════════════════════════════════════════
   Home hero leads with the HBC experience: box, wrapped bottles, card, phone.
   The still life keeps its full height on wide screens (bottles never cropped). */
/* desktop: the still life sits right of the copy and fades into parchment on its left edge */
@media (min-width: 761px) {
  .ed-scene__img--experience { left: auto; right: 0; width: min(76%, 1200px); object-position: 82% 58%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%); mask-image: linear-gradient(90deg, transparent 0%, #000 22%); }
  .ed-hero--scene .ed-scene__veil { background:
    linear-gradient(180deg, rgba(250, 246, 241, 0) 0%, rgba(250, 246, 241, 0) 95%, var(--pale) 100%),
    linear-gradient(90deg, rgba(250, 246, 241, 0.6) 0%, rgba(250, 246, 241, 0.3) 34%, rgba(250, 246, 241, 0) 46%); }
}
@media (max-width: 760px) {
  .ed-scene__img--experience { height: 540px; object-position: 86% 56%; }
  .ed-hero--scene .ed-scene__veil { height: 540px;
    background: linear-gradient(180deg, rgba(250, 246, 241, 0) 90%, rgba(250, 246, 241, 0.8) 97%, var(--pale) 100%); }
  .ed-hero--scene .ed-scene__copy { margin-top: -20px; }
}

/* Closed Cellar, lighter: a warm parchment page with the door as a framed arch,
   so the Cellar reads as a future layer of the brand rather than a dark wall. */
.ed-closed--light { background:
    radial-gradient(ellipse 48% 60% at 74% 56%, rgba(214, 170, 96, 0.16), rgba(214, 170, 96, 0) 70%),
    var(--pale); color: var(--dark); }
.ed-closed--light .hero__label { color: var(--gold, #7D6126); }
.ed-closed--light .ed-closed__line { font: italic 400 clamp(1.55rem, 2.5vw, 2rem)/1.3 var(--serif); color: var(--wine); margin: 0; }
.ed-closed--light .ed-lead { color: var(--muted); }
.ed-closed--light .ed-textlink { color: var(--dark); text-decoration-color: rgba(107, 26, 42, .35); }
.ed-door--arch { height: min(72vh, 680px); max-width: 470px; justify-self: center; width: 100%;
  border-radius: 999px 999px 14px 14px; box-shadow: 0 30px 60px -28px rgba(70, 44, 20, .45), 0 0 0 1px rgba(125, 97, 38, .18); }
.ed-door--arch img { object-position: 50% 52%; }
@media (max-width: 760px) {
  .ed-closed--light .ed-door--arch { height: min(60svh, 520px); max-width: 340px; margin: 0.5rem auto 0; border-radius: 999px 999px 12px 12px; }
  .ed-closed--light .ed-door--arch img { object-position: 50% 60%; }
  .ed-closed--light { padding-bottom: 3rem; }
}

/* Home · Corporate row shows the real event screen (the card already sits in the hero) */
.ed-home-phone { display: grid; place-items: center; padding: clamp(1.5rem, 4vw, 3rem) 0;
  background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(214, 170, 96, 0.14), rgba(214, 170, 96, 0) 70%); }
.ed-home-phone .ed-phone { width: min(300px, 72vw); }

/* R6 · Cellar: how access works, set as a quiet second paragraph */
.ed-closed__access { font-size: 1rem; line-height: 1.65; color: var(--muted); max-width: 31rem; margin: 0;
  padding-left: 1rem; border-left: 2px solid rgba(125, 97, 38, .35); text-wrap: pretty; }

/* ═══ R7 (18 Oct 2026) · real-iPhone spacing pass ════════════════════
   Measured against Safari's visible height (≈553 px on an iPhone SE,
   ≈739 px on a Pro Max), not the full screen. Phone-only unless noted;
   desktop layout is unchanged. */

/* Producers · the reveal section: copy beside a real reveal screen */
.ed-prod-reveal { border-top: 1px solid var(--hbp-line-soft); }
.ed-prod-reveal .ed-split__copy p { margin: 0; max-width: 32rem; }
.ed-prod-reveal .ed-split__copy .rule--gold { margin: 0; }
.ed-prod-reveal__demo { display: grid; gap: 0.6rem; justify-items: start; margin-top: 0.4rem; }
.ed-prod-hero img { object-position: 50% 40%; }

@media (max-width: 760px) {
  /* Home hero: shorter crop that still holds glass, phone, box and both bottles,
     so the headline and lead sit in the first screen */
  .ed-scene__img--experience { height: clamp(270px, 50svh, 400px); object-position: 86% 56%; }
  .ed-hero--scene .ed-scene__veil { height: clamp(270px, 50svh, 400px); }
  .ed-hero--scene .ed-scene__copy { margin-top: -14px; }
  .ed-scene__copy .ed-hero__copy { gap: 1rem; }
  .ed-scene__copy .hero__actions { margin-top: 0.25rem; }
  .ed-hero--scene .ed-steps { padding-top: 1.25rem; }
  .ed-steps .step { padding-block: 0.7rem; }
  .ed-more { padding-bottom: 2.5rem; }
  .ed-band { padding: 3.5rem 0; }

  /* Editorial rows: tighter, shorter photographs, smaller real-platform phones */
  .ed-split { padding: 3rem 0; }
  .ed-split__grid { gap: 1.75rem; }
  .ed-split__copy { gap: 1.1rem; }
  .ed-split .ed-photo { aspect-ratio: 4 / 3.4; }
  .ed-split .ed-photo img { object-position: 50% 30%; }
  .ed-home-phone { padding: 0.75rem 0; }
  .ed-home-phone .ed-phone, .ed-chapter .ed-phone, .ed-prod-reveal .ed-phone { width: min(236px, 60vw); border-radius: 36px; padding: 8px; }
  .ed-home-phone .ed-phone > div, .ed-chapter .ed-phone > div, .ed-prod-reveal .ed-phone > div { border-radius: 29px; }

  /* Inner scene heroes (How It Works): a banner, not a full screen */
  .ed-scene--inner .ed-scene__img { height: clamp(220px, 40svh, 300px); }
  .ed-scene--inner .ed-scene__veil { height: clamp(220px, 40svh, 300px); }
  .ed-scene--inner .ed-scene__copy { margin-top: 2px; padding-bottom: 1.5rem; }
  .ed-scene--inner .ed-hero__copy { gap: 0.85rem; }

  /* How It Works chapters: number, title and copy first, then the screen */
  .ed-chapter { padding: 2.5rem 0; }
  .ed-chapter .ed-split__copy { order: -1; }
  .ed-chapter .ed-phone { margin-bottom: 0; }
  .ed-chapter__n { font-size: 3rem; }
  .ed-chapter .ed-split__copy .ed-h2 { margin-top: -0.35rem; }
  /* the six bottles are shown just above; the Taste photograph repeats them on a phone */
  .ed-chapter--taste .ed-photo { display: none; }
  .ht-six-bottles { row-gap: 1rem; }
  .ht-six-bottles img { height: 116px; }

  /* Decorative dividers and the repeated pull quote stay on desktop only */
  .ed-deco { display: none !important; }

  /* Producers hero: the wrapped bottle as a short banner; copy reads straight away */
  .ed-ihero--prod .ed-prod-hero { height: clamp(220px, 40svh, 300px); }
  .ed-prod-hero img { object-position: 50% 22%; }
  .ed-ihero--prod .ed-hero__copy { padding-top: 1.5rem; gap: 1rem; }
  .ed-ihero--prod { padding-bottom: 2.25rem; }
  .ed-prod-reveal__demo { justify-items: stretch; text-align: center; }
  .ed-prod-reveal__demo .btn { width: 100%; }
  /* Heading-to-text gap in the stacked two-column blocks (How It Works, Producers only) */
  main > .ed-hero--scene ~ .section .content-pair--wide,
  main > .ed-ihero--prod ~ .section .content-pair--wide { gap: 1.1rem; }
  main > .ed-hero--scene ~ .section .content-pair--wide .rule--gold,
  main > .ed-ihero--prod ~ .section .content-pair--wide .rule--gold { margin-bottom: 0.4rem; }
}

/* R7 · age gate on short phone screens (iPhone SE with Safari's bars ≈ 553 px):
   the box was taller than the visible area, cutting off the 18+ tag. Shorter
   screens only; every other size is unchanged. */
@media (max-width: 540px) and (max-height: 700px) {
  .age-gate__lockup--18plus { max-height: min(130px, 18svh); }
  .age-gate__box { padding: 1.5rem 1.4rem; }
  .age-gate__box h2 { margin: 0.35rem 0 0.6rem; }
  .age-gate__box p { margin-bottom: 1.1rem; }
}


/* ── R12 · Corporate page: demo video, frame list, evening timeline (26 Oct 2026) ── */
.ct-demo__media { display: flex; justify-content: center; }
.ct-demo__video { width: min(420px, 86vw); height: auto; aspect-ratio: 9 / 16; border-radius: 28px; background: var(--hbp-cream, #FBF7F1); display: block; box-shadow: 0 24px 50px rgba(40, 24, 14, .12); }
.ct-frames { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.ct-frames li { display: flex; align-items: baseline; gap: .8rem; font: 400 1.3rem/1.2 var(--serif); color: var(--dark); }
.ct-frames span { font: 400 1.5rem/1 var(--serif); color: var(--gold); min-width: 1.1rem; }
.ct-evening { list-style: none; margin: 0 auto; padding: 0; max-width: 60rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); }
.ct-evening li { border-top: 1px solid var(--line); padding-top: 1rem; }
.ct-evening__when { display: block; font: 400 1.55rem/1.1 var(--serif); color: var(--dark); margin-bottom: .45rem; }
.ct-evening p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.6; }
@media (max-width: 760px) {
  .ct-demo .ed-split__grid { grid-template-columns: 1fr; }
  .ct-demo .ed-split__copy { order: 2; }
  .ct-evening { grid-template-columns: 1fr; gap: 1.1rem; }
}
/* /join */
.join-page { min-height: 62svh; display: grid; place-items: center; padding: clamp(4rem, 10vw, 7rem) 0; text-align: center; }
.join-page .ed-lead { margin: 1rem auto 0; }
