@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Manrope:wght@400;500;600&display=swap');

:root {
  --ink: #0b0a09;
  --night: #11100e;
  --charcoal: #1b1916;
  --bone: #f2eee6;
  --paper: #e7dfd2;
  --gold: #c6a56b;
  --muted: #9b9286;
  --line: rgba(242, 238, 230, 0.18);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--bone); font-family: var(--sans); font-size: 14px; line-height: 1.6; opacity: 0; transition: opacity .55s ease; }
body.page-ready { opacity: 1; }
body.light-page { background: var(--bone); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { display: block; width: 100%; }

.announcement { padding: 8px 18px; background: var(--bone); color: var(--ink); text-align: center; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.nav { height: 82px; padding: 0 clamp(22px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; background: rgba(11,10,9,.88); backdrop-filter: blur(14px); }
.light-page .nav { background: rgba(242,238,230,.9); border-color: rgba(11,10,9,.14); }
.logo { display: inline-flex; align-items: center; gap: 12px; min-width: 180px; }
.logo-mark { width: 27px; height: 34px; border: 1.5px solid currentColor; position: relative; display: inline-block; }
.logo-mark:before { content: ''; width: 9px; height: 5px; border: 1.5px solid currentColor; border-bottom: 0; position: absolute; left: 7px; top: -8px; }
.logo-mark:after { content: ''; width: 15px; height: 1px; background: currentColor; position: absolute; left: 5px; top: 9px; opacity: .6; }
.logo-type { line-height: 1; letter-spacing: .18em; font-size: 13px; }
.logo-type small { display: block; font-size: 7px; letter-spacing: .38em; margin-top: 7px; color: var(--muted); }
.nav-links { display: flex; gap: 34px; align-items: center; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.nav-links a { position: relative; }
.nav-links a:after { content: ''; position: absolute; left: 0; right: 100%; bottom: -5px; height: 1px; background: var(--gold); transition: right .25s ease; }
.nav-links a:hover:after, .nav-links a.active:after { right: 0; }
.nav-action { min-width: 180px; display: flex; justify-content: flex-end; }
.nav-action a { border: 1px solid currentColor; padding: 11px 17px; font-size: 10px; text-transform: uppercase; letter-spacing: .14em; transition: .2s; }
.nav-action a:hover { background: var(--bone); color: var(--ink); }
.light-page .nav-action a:hover { background: var(--ink); color: var(--bone); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 0; align-items: center; justify-content: center; flex-direction: column; gap: 5px; background: none; color: inherit; border: 0; cursor: pointer; }
.menu-toggle span { width: 19px; height: 1px; background: currentColor; display: block; transition: transform .3s ease, opacity .2s ease; transform-origin: center; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }

.hero { min-height: calc(100vh - 116px); position: relative; display: grid; align-items: center; overflow: hidden; }
.hero:before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,7,6,.96) 0%, rgba(8,7,6,.8) 31%, rgba(8,7,6,.14) 62%, rgba(8,7,6,.18) 100%), url('g-bagoga-hero.png') 57% center/cover no-repeat; transform: scale(1.01); }
.hero-copy { position: relative; z-index: 1; width: min(680px, 76vw); margin-left: clamp(24px, 8vw, 120px); padding: 70px 0 90px; }
.eyebrow { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 12px; }
.eyebrow:before { content: ''; width: 34px; height: 1px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(64px, 9vw, 132px); line-height: .82; letter-spacing: -.045em; margin: 28px 0 34px; }
.hero h1 em { color: var(--paper); font-weight: 400; }
.hero-sub { max-width: 480px; color: #c6beb2; font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 36px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border: 1px solid var(--bone); background: var(--bone); color: var(--ink); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: .22s; }
.btn:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.btn.forward:after { content: ''; width: 15px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: skewX(-38deg); margin-left: 5px; transition: transform .24s ease; }
.btn.forward:hover:after { transform: translateX(4px) skewX(-38deg); }
.btn.outline { background: transparent; color: var(--bone); }
.btn.dark { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.btn.dark:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.text-link { font-size: 10px; text-transform: uppercase; letter-spacing: .15em; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.hero-index { position: absolute; right: clamp(22px, 4vw, 60px); bottom: 30px; z-index: 1; color: #bbb1a2; font-family: var(--serif); font-style: italic; }

.section { padding: clamp(80px, 10vw, 150px) clamp(22px, 7vw, 106px); }
.section.paper { background: var(--bone); color: var(--ink); }
.section.charcoal { background: var(--charcoal); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 50px; }
.section-head h2 { font-family: var(--serif); font-size: clamp(44px, 6vw, 76px); line-height: .92; font-weight: 400; letter-spacing: -.03em; margin: 0; max-width: 700px; }
.section-head p { max-width: 430px; margin: 0; color: #746d64; }
.paper .eyebrow { color: #8a6331; }

.ritual-grid { display: grid; grid-template-columns: 1.05fr .95fr; border: 1px solid rgba(11,10,9,.16); }
.ritual-main { min-height: 560px; padding: clamp(42px, 6vw, 90px); display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(140deg,#d7c8b2 0%,#f0ebe3 48%,#cbc0b1 100%); position: relative; overflow: hidden; }
.ritual-main:after { content: '01'; position: absolute; right: -20px; bottom: -70px; font-family: var(--serif); font-size: 280px; color: rgba(11,10,9,.045); }
.ritual-main h3 { font-family: var(--serif); font-size: clamp(48px, 6vw, 78px); line-height: .94; font-weight: 400; max-width: 520px; }
.price { font-family: var(--serif); font-size: 34px; }
.price span { font-family: var(--sans); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #70685e; }
.ritual-steps { display: grid; }
.step { padding: 36px 40px; border-bottom: 1px solid rgba(11,10,9,.16); display: grid; grid-template-columns: 38px 1fr; gap: 20px; align-content: center; }
.step:last-child { border-bottom: 0; }
.step-number { font-family: var(--serif); font-style: italic; color: #8a6331; font-size: 20px; }
.step h4 { margin: 0 0 7px; font-family: var(--serif); font-weight: 500; font-size: 27px; }
.step p { color: #746d64; margin: 0; font-size: 13px; }

.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-card { position: relative; background: #151310; border: 1px solid var(--line); min-width: 0; transition: transform .45s cubic-bezier(.2,.8,.2,1), border-color .35s ease; }
.product-card:hover { transform: translateY(-7px); border-color: rgba(198,165,107,.6); }
.product-card .product-visual:before { transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.product-card:hover .product-visual:before { transform: translateY(-5px) scale(1.02); }
.product-visual { aspect-ratio: 4/5; display: grid; place-items: center; overflow: hidden; position: relative; }
.product-visual:before { content: ''; width: 36%; height: 45%; border-radius: 6px 6px 12px 12px; background: linear-gradient(90deg,rgba(255,255,255,.08),transparent 25%,rgba(255,255,255,.18) 62%,transparent), var(--bottle,#4d2c16); border: 1px solid rgba(255,255,255,.28); box-shadow: 0 30px 45px rgba(0,0,0,.45), inset 0 -25px 30px rgba(0,0,0,.22); z-index: 1; }
.product-visual:after { content: ''; position: absolute; width: 24%; height: 8%; top: 21%; background: linear-gradient(90deg,#2e2921,#9f855a,#211d18); border-radius: 2px; box-shadow: 0 8px 0 -2px #171412; }
.product-visual .bottle-label { position: absolute; z-index: 2; top: 52%; width: 27%; border-top: 1px solid rgba(242,238,230,.5); border-bottom: 1px solid rgba(242,238,230,.5); padding: 10px 2px; text-align: center; font-family: var(--serif); font-size: 12px; letter-spacing: .08em; }
.product-visual.amber { background: radial-gradient(circle at 50% 42%,#75532b 0,#271a11 24%,#11100e 68%); }
.product-visual.clear { background: radial-gradient(circle at 50% 42%,#bba882 0,#403a31 25%,#161412 68%); --bottle: rgba(210,187,141,.44); }
.product-visual.rose { background: radial-gradient(circle at 50% 42%,#9e665f 0,#38201e 25%,#12100f 68%); --bottle: #5b2825; }
.product-info { padding: 24px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; }
.product-info h3 { font-family: var(--serif); font-size: 28px; font-weight: 400; margin: 0; }
.product-info p { margin: 0; color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.product-info .mini-price { grid-row: 1 / 3; grid-column: 2; align-self: center; color: var(--gold); }
.draft-tag { position: absolute; top: 16px; left: 16px; z-index: 4; border: 1px solid rgba(242,238,230,.45); padding: 6px 9px; font-size: 8px; letter-spacing: .16em; text-transform: uppercase; }

.story-band { min-height: 620px; display: grid; grid-template-columns: 1fr 1fr; }
.story-image { background: linear-gradient(0deg,rgba(0,0,0,.12),rgba(0,0,0,.12)), url('g-bagoga-hero.png') 76% center/cover; }
.story-copy { background: #181512; padding: clamp(60px, 8vw, 120px); display: flex; flex-direction: column; justify-content: center; }
.story-copy h2 { font-family: var(--serif); font-size: clamp(48px, 6vw, 78px); line-height: .93; font-weight: 400; }
.story-copy p { color: #aaa095; max-width: 460px; }
.quote { font-family: var(--serif); font-size: clamp(34px,4vw,56px); line-height: 1.05; font-style: italic; max-width: 980px; margin: auto; text-align: center; }

.page-hero { padding: clamp(80px,10vw,150px) clamp(22px,7vw,106px) 80px; border-bottom: 1px solid rgba(11,10,9,.14); }
.page-hero h1 { font-size: clamp(64px,10vw,138px); margin-bottom: 24px; }
.page-hero .lede { font-family: var(--serif); font-size: clamp(22px, 3vw, 36px); line-height: 1.16; max-width: 760px; color: #5e574f; }

.collection-grid { padding: 30px clamp(22px,7vw,106px) 120px; display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.collection-grid .product-card { background: #e5ddcf; color: var(--ink); border-color: rgba(11,10,9,.16); }
.collection-grid .product-info { border-color: rgba(11,10,9,.14); }
.collection-grid .product-info p { color: #6f685e; }
.collection-grid .product-visual { aspect-ratio: 5/4; }
.collection-grid .product-visual:before { width: 25%; height: 49%; }
.collection-grid .product-visual:after { width: 17%; top: 19%; }
.collection-grid .product-visual .bottle-label { width: 19%; top: 52%; }
.filter-row { padding: 26px clamp(22px,7vw,106px); display: flex; gap: 10px; overflow: auto; }
.filter { white-space: nowrap; border: 1px solid rgba(11,10,9,.2); background: transparent; border-radius: 99px; padding: 9px 15px; text-transform: uppercase; font-size: 9px; letter-spacing: .12em; cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.filter.active, .filter:hover { background: var(--ink); color: var(--bone); }

.builder-shell { background: var(--bone); color: var(--ink); min-height: calc(100vh - 116px); }
.builder { padding: 46px clamp(22px,6vw,90px) 90px; display: grid; grid-template-columns: minmax(0,1.2fr) minmax(300px,.55fr); gap: clamp(40px,8vw,120px); }
.progress { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 10px; }
.progress-item { border-top: 2px solid #cfc5b8; padding-top: 10px; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: #91877b; }
.progress-item.active { border-color: var(--ink); color: var(--ink); }
.builder-step { display: none; }
.builder-step.active { display: block; animation: reveal .35s ease; }
@keyframes reveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.builder h1 { font-size: clamp(52px,7vw,90px); margin: 0 0 22px; }
.builder h2 { font-family: var(--serif); font-size: clamp(44px,5vw,68px); font-weight: 400; line-height: .95; }
.builder-intro { color: #6e665d; max-width: 600px; }
.plan-options { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 32px 0; }
.choice { border: 1px solid #c7beb1; padding: 22px 18px; cursor: pointer; background: transparent; text-align: left; transition: background .3s ease, border-color .3s ease, transform .3s ease; position: relative; }
.choice:hover { transform: translateY(-3px); }
.choice.selected, .choice:hover { border-color: var(--ink); background: #e7ded1; }
.choice small { display: block; text-transform: uppercase; letter-spacing: .12em; font-size: 8px; color: #786f64; }
.choice strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 28px; margin: 8px 0 4px; }
.choice .choice-price { font-size: 12px; }
.notes-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 28px 0; }
.note { border: 1px solid #c7beb1; padding: 18px; min-height: 118px; cursor: pointer; background: transparent; text-align: left; position: relative; transition: background .28s ease, color .28s ease, border-color .28s ease, transform .28s ease; }
.note:hover { transform: translateY(-3px); border-color: var(--ink); }
.note.selected { border-color: var(--ink); background: var(--ink); color: var(--bone); }
.note-icon { font-family: var(--serif); font-size: 27px; color: #966f3f; }
.note.selected .note-icon { color: var(--gold); }
.note strong { display: block; font-family: var(--serif); font-size: 23px; font-weight: 500; }
.note small { color: #776f66; }
.note.selected small { color: #aaa095; }
.summary-card { position: sticky; top: 28px; align-self: start; background: var(--ink); color: var(--bone); padding: 34px; min-height: 420px; }
.summary-card h3 { font-family: var(--serif); font-size: 34px; font-weight: 400; }
.summary-bottle { height: 190px; margin: 20px 0 30px; display: grid; place-items: center; background: radial-gradient(circle,#5a3c20 0,#191511 47%,#0b0a09 70%); }
.summary-bottle:before { content: ''; width: 70px; height: 104px; background: linear-gradient(90deg,rgba(255,255,255,.12),transparent,#7f4b1e); border: 1px solid #ac8a5d; border-radius: 4px 4px 8px 8px; box-shadow: 0 -17px 0 -8px #b59c75; }
.summary-row { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-top: 1px solid var(--line); color: #aaa095; font-size: 12px; }
.summary-row strong { color: var(--bone); font-weight: 500; text-align: right; }
.builder-actions { display: flex; gap: 12px; margin-top: 30px; }
.confirmation { padding: 34px; background: #dfd4c5; margin-top: 20px; }

.story-layout { display: grid; grid-template-columns: .85fr 1.15fr; }
.story-sticky { min-height: 760px; background: url('g-bagoga-hero.png') 69% center/cover; position: sticky; top: 0; }
.story-chapters { padding: clamp(70px,9vw,140px); }
.chapter { min-height: 65vh; display: flex; flex-direction: column; justify-content: center; border-bottom: 1px solid rgba(11,10,9,.15); }
.chapter:last-child { border-bottom: 0; }
.chapter .chapter-no { font-family: var(--serif); color: #8a6331; font-style: italic; font-size: 24px; }
.chapter h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px,5vw,72px); line-height: .94; }
.chapter p { max-width: 560px; color: #676057; font-size: 15px; }

.newsletter { display: grid; grid-template-columns: 1fr 1fr; background: var(--gold); color: var(--ink); }
.newsletter > * { padding: clamp(48px,7vw,96px); }
.newsletter h2 { font-family: var(--serif); font-size: clamp(46px,6vw,74px); line-height: .92; font-weight: 400; }
.newsletter-form { display: flex; align-items: center; }
.newsletter-form form { width: 100%; display: flex; border-bottom: 1px solid var(--ink); }
.newsletter-form input { flex: 1; min-width: 0; border: 0; padding: 16px 0; background: transparent; outline: none; }
.newsletter-form button { border: 0; background: transparent; text-transform: uppercase; letter-spacing: .14em; font-size: 10px; cursor: pointer; }
.footer { padding: 56px clamp(22px,7vw,106px) 28px; display: grid; grid-template-columns: 1.4fr repeat(3,1fr); gap: 40px; }
.footer h4 { text-transform: uppercase; letter-spacing: .16em; font-size: 9px; color: var(--gold); }
.footer a, .footer p { display: block; color: var(--muted); margin: 7px 0; font-size: 12px; }
.footer-bottom { grid-column: 1/-1; display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 30px; color: #6e675f; font-size: 10px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 820px) {
  .nav { height: 70px; }
  .nav-links { position: absolute; top: 70px; left: 0; right: 0; background: rgba(11,10,9,.98); padding: 0 24px; flex-direction: column; align-items: flex-start; gap: 0; display: flex; max-height: 0; opacity: 0; overflow: hidden; visibility: hidden; transform: translateY(-8px); transition: max-height .38s cubic-bezier(.2,.8,.2,1), opacity .25s ease, transform .38s ease, visibility 0s linear .38s, padding .38s ease; }
  .light-page .nav-links { background: var(--bone); }
  .nav-links a { width: 100%; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .light-page .nav-links a { border-color: rgba(11,10,9,.12); }
  .nav-links.open { max-height: 330px; opacity: 1; visibility: visible; transform: translateY(0); padding-top: 12px; padding-bottom: 20px; transition-delay: 0s; }
  .nav-action { display: none; }
  .menu-toggle { display: flex; }
  .hero { min-height: 740px; }
  .hero:before { background: linear-gradient(0deg,rgba(8,7,6,.96) 5%,rgba(8,7,6,.5) 70%,rgba(8,7,6,.25)), url('g-bagoga-hero.png') 62% center/cover; }
  .hero-copy { margin: auto 22px 0; padding-bottom: 72px; width: auto; }
  .hero h1 { font-size: 65px; }
  .section-head, .ritual-grid, .story-band, .story-layout, .newsletter { grid-template-columns: 1fr; }
  .section-head { display: grid; }
  .ritual-main { min-height: 450px; }
  .products { grid-template-columns: 1fr; }
  .story-image { min-height: 460px; }
  .collection-grid { grid-template-columns: 1fr; }
  .builder { grid-template-columns: 1fr; }
  .summary-card { position: relative; top: 0; }
  .plan-options, .notes-grid { grid-template-columns: 1fr; }
  .story-sticky { min-height: 480px; position: relative; }
  .chapter { min-height: auto; padding: 70px 0; }
  .footer { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-bottom { grid-column: 1/-1; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } body { opacity: 1; } .reveal { opacity: 1; transform: none; } * { transition: none !important; animation: none !important; } }
