/* =========================================================
   v4: Bodoni Moda + contrast sections + full-bleed hero + modern product page
   Loaded after styles.css.
   ========================================================= */
:root { --night: #0e0d0b; --night-2: #1a1714; --night-line: rgba(255, 255, 255, .14); --cream-text: #e9e1d4; }
h1, h2, h3, h4, .display, .hero-title, .card-title, .mega-col a, .faq-item summary { font-optical-sizing: none; font-variation-settings: 'opsz' 34; }
.lead-serif, .card-tagline, .pyramid-notes { font-optical-sizing: none; font-variation-settings: 'opsz' 18; }

/* ---------- dark sections ---------- */
.bg-dark { background: var(--night); color: #cfc6b8; }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #f6efe4; }
.bg-dark .eyebrow, .bg-dark .label { color: var(--gold-2); }
.bg-dark .lead-serif { color: var(--cream-text); }
.bg-dark .lead, .bg-dark .muted, .bg-dark p { color: #a99f91; }
.bg-dark .link-arrow { color: #f6efe4; border-color: var(--gold-2); }
.bg-dark .link-arrow:hover { color: var(--gold-2); }
.bg-dark .btn { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.bg-dark .btn:hover { background: transparent; color: var(--ivory); }
.bg-dark .btn-outline { background: transparent; color: var(--ivory); border-color: rgba(255,255,255,.4); }
.bg-dark .btn-outline:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.bg-dark .arrow-btn { color: var(--ivory); border-color: rgba(255,255,255,.3); }
.bg-dark .arrow-btn:hover { background: var(--ivory); color: var(--ink); }
.bg-dark .carousel-bar { background: var(--night-line); }
.bg-dark .pair-item h3, .bg-dark .look .cap strong, .bg-dark .card-title, .bg-dark .price { color: #f6efe4; }
.bg-dark .pair-item p, .bg-dark .look .cap p, .bg-dark .card-tagline { color: #a99f91; }
.bg-dark .pair-item .img, .bg-dark .look .img, .bg-dark .card-media { background: var(--night-2); }
.bg-dark .card-add { color: var(--ivory); border-color: rgba(255,255,255,.3); }
.bg-dark .card-add:hover { background: var(--ivory); color: var(--ink); }
.bg-dark .pyramid-row { border-color: var(--night-line); }
.bg-dark .pyramid-notes { color: var(--cream-text); }
.bg-dark .offer-steps, .bg-dark .offer-step { border-color: var(--night-line); }
.bg-dark .offer-step { color: #cfc6b8; }
.bg-dark .offer-step strong { color: #f6efe4; }
.bg-dark .offer-step b { color: var(--gold-2); }
.bg-dark .compare { color: #7d7468; }
.bg-dark .ornament { color: var(--gold-2); }
.bg-dark .ornament img { filter: invert(1); }
.bg-dark .stars { color: var(--gold-2); }
.bg-dark .rating-summary .big { color: #f6efe4; }
.bg-dark .testimonial blockquote { color: #f6efe4; }
.bg-dark .testimonial .who strong { color: #f6efe4; }
.bg-dark .newsletter form, .newsletter.bg-dark form { border-color: var(--ivory); }
.newsletter.bg-dark input, .bg-dark .newsletter input { color: var(--ivory); }
.newsletter.bg-dark button, .bg-dark .newsletter button { color: var(--ivory); }
.newsletter.bg-dark input::placeholder, .bg-dark input::placeholder { color: #8d8478; }
.bg-dark .form-msg.ok { color: #9fd3a9; }
.bg-dark .form-msg.err { color: #f2a59d; }
.bg-dark .faq-list, .bg-dark .faq-item { border-color: var(--night-line); }
.bg-dark .faq-item summary { color: #f6efe4; }
.footer { background: #080706; }

/* ---------- full-bleed hero banner (text sits in the empty side, never on the product) ---------- */
.hero { position: relative; height: clamp(560px, 88vh, 920px); background: var(--night); overflow: hidden; border-bottom: 0; }
.hero-stage { position: absolute; inset: 0; display: block; }
.hero-slide { position: absolute; inset: 0; display: block; min-height: 0; }
.hero-media { position: absolute; inset: 0; aspect-ratio: auto; max-height: none; background: var(--night); order: 0; }
.hero-media picture { position: absolute; inset: 0; }
.hero-media img { object-position: left center; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,13,11,.82) 0%, rgba(14,13,11,.6) 20%, rgba(14,13,11,.18) 36%, rgba(14,13,11,0) 44%); pointer-events: none; }
.hero-text { position: absolute; z-index: 2; top: 0; bottom: 0; left: 0; width: min(44%, 660px); align-items: flex-start; text-align: left; justify-content: center;
  padding: 0 24px 70px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); }
.hero .eyebrow { color: var(--gold-2); }
.hero .eyebrow.ruled::before { display: none; }
.hero-title { color: #fbf6ee; text-transform: uppercase; letter-spacing: .03em; font-size: clamp(2.8rem, 5.6vw, 6rem); line-height: .94; margin-bottom: 20px; }
.hero-title em { text-transform: none; letter-spacing: 0; color: var(--gold-2); }
.hero-sub { color: var(--cream-text); margin: 0 0 34px; max-width: 30ch; }
.hero-ctas { justify-content: flex-start; }
.hero .btn { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.hero .btn:hover { background: transparent; color: var(--ivory); }
.hero .btn-outline { background: transparent; color: var(--ivory); border-color: rgba(255,255,255,.5); }
.hero .btn-outline:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.hero-ui { left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); width: auto; bottom: 38px; justify-content: flex-start; }
.hero-dot::before { background: rgba(255,255,255,.3); }
.hero-count { color: #cfc6b8; }
.hero-arrows-v4 { position: absolute; z-index: 3; right: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); bottom: 30px; display: flex; gap: 8px; }
.hero-arrows-v4 .arrow-btn { color: var(--ivory); border-color: rgba(255,255,255,.4); background: rgba(14,13,11,.25); }
.hero-arrows-v4 .arrow-btn:hover { background: var(--ivory); color: var(--ink); }

/* ---------- modern product page ---------- */
.pdp-v4 { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 84px); padding: 22px 0 80px; align-items: start; }
.pg { position: sticky; top: calc(var(--header-h) + 60px); }
.pg-stage { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--parchment); }
.pg-stage .gallery { height: 100%; }
.pg-stage .gallery-item { aspect-ratio: auto; height: 100%; }
.pg-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 46px; height: 46px; border-radius: 50%; background: rgba(248,244,237,.92); color: var(--ink); display: flex; align-items: center; justify-content: center; transition: background .3s, color .3s; }
.pg-arrow:hover { background: var(--ink); color: var(--ivory); }
.pg-prev { left: 16px; }
.pg-next { right: 16px; }
.pg-count { position: absolute; left: 16px; bottom: 16px; z-index: 2; background: rgba(14,13,11,.72); color: #f6efe4; font-size: .62rem; letter-spacing: .2em; font-weight: 500; padding: 7px 12px; font-variant-numeric: tabular-nums; pointer-events: none; }
.pg-zoom { position: absolute; right: 16px; bottom: 16px; z-index: 2; background: rgba(248,244,237,.92); color: var(--ink); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; padding: 8px 12px; display: inline-flex; gap: 8px; align-items: center; pointer-events: none; }
.pg-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; margin-top: 12px; }
.pg-thumbs button { aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid transparent; opacity: .55; transition: opacity .25s, border-color .25s; background: var(--parchment); }
.pg-thumbs button.is-active, .pg-thumbs button:hover { opacity: 1; border-color: var(--ink); }
.pg-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pi { position: sticky; top: calc(var(--header-h) + 60px); }
.pi .crumbs { justify-content: flex-start; margin-bottom: 22px; }
.pi-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.pi-top .eyebrow { margin: 0; }
.pi-badge { font-size: .56rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--ivory); background: var(--ink); padding: 5px 10px; }
.pi h1 { font-size: clamp(2.8rem, 4.6vw, 4.4rem); text-transform: uppercase; letter-spacing: .03em; line-height: .95; margin: 4px 0 10px; }
.pi .pdp-tagline { font-size: 1.2rem; margin-bottom: 14px; }
.pi-rating { display: flex; align-items: center; gap: 10px; font-size: .74rem; color: var(--gray); margin-bottom: 22px; }
.pi-rating a { text-decoration: underline; text-underline-offset: 3px; }
.pi-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pi-price .price { font-size: 1.45rem; font-weight: 500; }
.pi-price .compare { font-size: 1rem; }
.pi-price .save { font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--success); background: #e6f0e7; padding: 4px 8px; }
.pi-note { font-size: .72rem; color: var(--gray); margin: 6px 0 22px; }
.fam-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.fam-chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 5px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--ink); transition: border-color .2s; }
.fam-chip:hover { border-color: var(--ink); }
.fam-chip img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.pi-desc { font-size: .92rem; color: var(--ink-2); margin-bottom: 22px; }
.size-card { display: flex; align-items: center; gap: 14px; border: 1.5px solid var(--ink); padding: 10px 16px 10px 10px; background: var(--white); max-width: 360px; }
.size-card img { width: 42px; height: 52px; object-fit: cover; }
.size-card strong { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .06em; color: var(--ink); }
.size-card span { font-size: .74rem; color: var(--gray); }
.size-card .tick { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--ivory); display: flex; align-items: center; justify-content: center; flex: none; }
.size-card .tick .icon { width: 12px; height: 12px; stroke-width: 2.2; }
.pi .buy-row { margin-top: 22px; }
.pi-assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 22px 0; }
.pi-assure div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 14px 8px; background: var(--parchment); font-size: .66rem; line-height: 1.4; color: var(--ink-2); }
.pi-assure .icon { color: var(--gold); width: 20px; height: 20px; }
.pi-assure strong { font-size: .7rem; font-weight: 600; color: var(--ink); letter-spacing: .02em; }
.pi-delivery { display: flex; align-items: center; gap: 12px; font-size: .8rem; padding: 14px 16px; border: 1px dashed var(--gold-2); background: #fbf6ec; margin-bottom: 18px; }
.pi-delivery .icon { color: var(--gold); }
.pi-delivery strong { color: var(--ink); font-weight: 600; }

/* scent at a glance (dark band) */
.glance { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--night-line); border-bottom: 1px solid var(--night-line); }
.glance-item { padding: 34px 28px; border-right: 1px solid var(--night-line); }
.glance-item:last-child { border-right: 0; }
.glance-item small { display: block; font-size: .6rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); font-weight: 500; margin-bottom: 12px; }
.glance-item .val { font-family: var(--serif); font-size: 1.3rem; color: #f6efe4; line-height: 1.3; }
.meter { margin-top: 16px; }
.meter-bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.meter-bar span { height: 3px; background: rgba(255,255,255,.16); }
.meter-bar span.on { background: var(--gold-2); }
.meter-ends { display: flex; justify-content: space-between; font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: #8d8478; margin-top: 8px; }

/* notes with imagery */
.notes-v4 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); }
.note-card { text-align: center; }
.note-card .arch { aspect-ratio: 3 / 3.6; border-radius: 999px 999px 0 0; overflow: hidden; background: var(--parchment); }
.note-card .arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.note-card:hover .arch img { transform: scale(1.05); }
.note-card .tier { display: block; margin-top: 22px; font-size: .6rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.note-card h3 { font-size: 1.6rem; margin: 8px 0 4px; }
.note-card .when { font-family: var(--serif); font-style: italic; color: var(--gray); font-size: .95rem; margin-bottom: 14px; }
.note-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.note-card li { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; border: 1px solid var(--line-2); padding: 7px 12px; color: var(--ink); }

/* ritual steps */
.ritual { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.ritual-step { padding: 34px 28px 10px; text-align: center; border-right: 1px solid var(--line); }
.ritual-step:last-child { border-right: 0; }
.ritual-step .num { font-family: var(--serif); font-style: italic; font-size: 2.4rem; color: var(--gold); line-height: 1; }
.ritual-step h3 { font-size: 1.3rem; margin: 12px 0 8px; }
.ritual-step p { font-size: .86rem; color: var(--gray); margin: 0 auto; max-width: 30ch; }

@media (max-width: 1024px) {
  .pdp-v4 { grid-template-columns: 1fr; }
  .pg, .pi { position: static; }
  .glance { grid-template-columns: 1fr 1fr; }
  .glance-item:nth-child(2) { border-right: 0; }
  .glance-item:nth-child(-n+2) { border-bottom: 1px solid var(--night-line); }
}
@media (max-width: 820px) {
  .hero { height: auto; }
  .hero-stage { position: relative; display: grid; }
  .hero-slide { position: relative; inset: auto; grid-area: 1 / 1; display: flex; flex-direction: column; }
  .hero-media { position: relative; inset: auto; aspect-ratio: 5 / 4; }
  .hero-media img { object-position: center; }
  .hero-media::after { display: none; }
  .hero-text { position: relative; width: 100%; padding: 30px 22px 96px; align-items: center; text-align: center; justify-content: flex-start; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-ui { left: 0; right: 0; justify-content: center; bottom: 34px; }
  .hero-arrows-v4 { display: none; }
  .notes-v4 { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .ritual { grid-template-columns: 1fr; }
  .ritual-step { border-right: 0; border-bottom: 1px solid var(--line); padding: 26px 10px; }
}
@media (max-width: 640px) {
  .glance { grid-template-columns: 1fr; }
  .glance-item { border-right: 0; border-bottom: 1px solid var(--night-line); }
  .pi h1 { font-size: 2.6rem; }
}

.pg .gallery-dots { display: none; }
.hero-title--sm { font-size: clamp(2.4rem, 4vw, 4.2rem); }
.hero-text { width: min(40%, 600px); }
@media (max-width: 820px) { .hero-text { width: 100%; } .hero-title--sm { font-size: clamp(2.2rem, 9vw, 3rem); } }
