/* Premium layer: type scale, motion and the redesigned sections */

:root { --foil: linear-gradient(#fcec00, #fcec00); --ease: cubic-bezier(.2, .7, .2, 1); }
html { scroll-behavior: smooth; }
body { font-weight: 400; background: var(--white); }
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -.005em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
[hidden] { display: none !important; }
.foil { background: var(--foil); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Intro curtain */
.preloader { display: none; }
.intro .preloader { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; position: fixed; inset: 0; z-index: 200; background: var(--maroon); animation: curtain .5s .75s var(--ease) forwards; }
.preloader img { width: 220px; animation: rise 1s var(--ease) both; }
.preloader-line { width: 160px; height: 1px; background: var(--gold); transform-origin: left; animation: draw .9s .1s var(--ease) both; }
@keyframes curtain { to { transform: translateY(-100%); visibility: hidden; } }
@keyframes draw { from { transform: scaleX(0); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--rd, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; background: var(--foil); transform: scaleX(0); transform-origin: left; z-index: 120; }

/* Ticker + header */
.topbar { overflow: hidden; padding: .45em 0; white-space: nowrap; background: #8a0a0a; }
.topbar-track { display: inline-flex; gap: 48px; animation: slide 46s linear infinite; }
@keyframes slide { to { transform: translateX(-50%); } }
.site-header { background: rgba(160, 12, 12, .96); border-bottom: 1px solid rgba(252, 236, 0, .4); transition: background .3s; }
.site-header.scrolled { background: rgba(138, 10, 10, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.header-inner { height: 78px; transition: height .3s var(--ease); }
.scrolled .header-inner { height: 64px; }
.brand img { transition: height .3s var(--ease); }
.scrolled .brand img { height: 44px; }
.main-nav a { position: relative; border: 0; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; }
.main-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); transform-origin: left; }

/* Buttons */
.btn { border-radius: 2px; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; font-weight: 500; transition: background .3s, color .3s, border-color .3s, transform .35s var(--ease), box-shadow .3s; }
.btn-lg { padding: 1.15em 2.3em; font-size: .8rem; }
.btn-foil { border: 0; background: var(--foil); background-size: 200% 100%; color: var(--maroon-ink); box-shadow: 0 14px 34px rgba(252, 236, 0, .28); }
.btn-foil:hover { color: var(--maroon-ink); background: #fff; }
.btn-ghost { background: transparent; border-color: rgba(252, 236, 0, .55); color: var(--gold-light); }
.btn-ghost:hover { background: rgba(252, 236, 0, .12); border-color: var(--gold-light); color: #fff; }
.btn-wa { background: #17613a; border-color: #17613a; }

/* Hero */
.hero { position: relative; min-height: calc(100vh - 110px); min-height: calc(100svh - 110px); display: flex; align-items: center; overflow: hidden; color: #f3dcc0; background: radial-gradient(90% 90% at 72% 46%, #b81414 0%, #a00c0c 42%, #8a0a0a 100%); }
.dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-frame { position: absolute; inset: 18px; border: 1px solid rgba(252, 236, 0, .28); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; align-items: center; padding-top: 48px; padding-bottom: 64px; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 5.2vw, 4.7rem); line-height: 1.04; margin-bottom: .45em; font-weight: 500; }
.hero h1 .script { display: block; font-size: 1.32em; line-height: 1.2; margin-bottom: .05em; padding-right: .2em; }
.hero-line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-rise { display: block; animation: lineUp 1.1s var(--d, 0s) var(--ease) both; }
.hero-in { animation: rise 1s var(--d, 0s) var(--ease) both; }
.intro .hero-rise, .intro .hero-in { animation-delay: calc(var(--d, 0s) + .8s); }
@keyframes lineUp { from { transform: translateY(110%); } }
.lead { font-size: 1.1rem; font-weight: 300; color: #ecd6bb; max-width: 31em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.8em; }
.hero-stage { position: relative; aspect-ratio: 1; width: min(640px, 100%); justify-self: center; --sy: 0px; }
.hero-stage [data-depth] { --px: 0px; --py: 0px; }
.stage-mandala { position: absolute; inset: -7%; color: rgba(252, 236, 0, .38); transform: translate(var(--px), var(--py)); }
.mandala { width: 100%; height: 100%; display: block; }
.stage-mandala .mandala { animation: spin 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.stage-plate { position: absolute; inset: 13%; border-radius: 50%; transform: translate(var(--px), calc(var(--py) + var(--sy) * .08)); filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .55)); animation: plateIn 1.4s .3s var(--ease) both; }
.intro .stage-plate { animation-delay: .9s; }
@keyframes plateIn { from { opacity: 0; transform: scale(.82) rotate(-14deg); } }
.float { position: absolute; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .5)); translate: var(--px) calc(var(--py) + var(--sy) * var(--k, -.1)); animation: bob 7s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-14px) rotate(var(--tilt, 3deg)); } }
.f1 { width: 25%; left: -2%; top: 8%; rotate: -11deg; --k: -.18; }
.f2 { width: 33%; right: -3%; bottom: 3%; --k: -.08; animation-delay: -2.4s; --tilt: -2deg; }
.f3 { width: 22%; right: 0; top: 2%; rotate: 10deg; --k: -.28; animation-delay: -4.2s; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 22px; height: 36px; margin-left: -11px; border: 1px solid rgba(252, 236, 0, .5); border-radius: 12px; }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px; background: var(--gold-light); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 70%, 100% { transform: translateY(13px); opacity: 0; } }

/* Ribbon */
.ribbon { overflow: hidden; background: var(--foil); padding: 16px 0; white-space: nowrap; }
.ribbon-track { display: inline-flex; align-items: center; gap: 34px; animation: slide 38s linear infinite; font-family: var(--serif); font-size: 1.35rem; font-style: italic; color: var(--maroon-ink); }
.ribbon i { width: 7px; height: 7px; background: var(--maroon); transform: rotate(45deg); }

/* Section heads */
.section { padding: 110px 0; }
.section-ivory { background: var(--cream); }
.section-head { margin-bottom: 52px; }
.section-head h2, .gift-grid h2 { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 4rem); color: var(--maroon-ink); }
.section-head h2::after { display: none; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; text-align: left; }
.section-head-row h2 { margin: 0; }
.eyebrow { font-size: .7rem; letter-spacing: .34em; color: var(--maroon); }
.eyebrow-light { color: var(--gold-light); }

/* Collections */
.panels { display: flex; gap: 16px; height: 620px; }
.panel { position: relative; flex: 1; min-width: 0; overflow: hidden; display: flex; align-items: flex-end; background: radial-gradient(90% 70% at 50% 34%, #b81414, #8a0a0a); color: #f3dcc0; transition: flex .7s var(--ease), opacity .8s var(--ease), transform .8s var(--ease); }
.panel:hover { flex: 1.45; color: #f3dcc0; }
.panel::before { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(252, 236, 0, .35); pointer-events: none; z-index: 2; }
.panel-img { position: absolute; left: 50%; top: 38%; width: min(82%, 400px); translate: -50% -50%; filter: drop-shadow(0 26px 34px rgba(0, 0, 0, .55)); transition: transform .9s var(--ease); }
.panel-pack { width: min(58%, 280px); }
.panel:hover .panel-img { transform: scale(1.07) rotate(-4deg); }
.panel-copy { position: relative; padding: 34px; width: 100%; z-index: 1; }
.panel-n { font-size: .72rem; letter-spacing: .3em; color: var(--gold); }
.panel h3 { color: var(--gold-light); font-size: clamp(2.5rem, 4.1vw, 3.5rem); margin: .1em 0 .05em; line-height: 1.1; white-space: nowrap; }
.panel p { margin: 0 0 14px; font-weight: 300; }
.panel-go { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; border-bottom: 1px solid var(--gold); padding-bottom: 3px; }

/* Product cards */
.grid { gap: 30px 26px; }
.card { background: transparent; border: 0; border-radius: 0; padding: 0; }
.js .card.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.card:hover { box-shadow: none; }
.card-media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: #f3e6cc; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card-media > img { transform: scale(1.06); }
.card-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .4) 50%, transparent 60%); transform: translateX(-110%); transition: transform 1s var(--ease); pointer-events: none; }
.card:hover .card-media::after { transform: translateX(110%); }
.card-tag { position: absolute; left: 12px; top: 12px; font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); background: rgba(160, 12, 12, .9); padding: 4px 9px; }
.card-body { text-align: left; padding: 16px 0 0; }
.card h3 { font-size: 1.45rem; margin-bottom: .15em; }
.card-desc { font-size: .88rem; flex: 0 0 auto; min-height: 2.9em; font-weight: 300; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 12px; }
.pill { font: inherit; font-size: .74rem; padding: 3px 10px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; transition: .2s; }
.pill:hover { border-color: var(--gold); }
.pill.on { border-color: var(--maroon); color: var(--maroon); background: rgba(160, 12, 12, .06); }
.card-foot { margin-top: auto; align-items: center; }
.price { font-size: 1.5rem; font-weight: 500; }
.btn-add { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--maroon); background: transparent; color: var(--maroon); padding: 9px 16px; font: inherit; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; overflow: hidden; position: relative; transition: color .3s; z-index: 0; }
.btn-add::before { content: ''; position: absolute; inset: 0; background: var(--maroon); transform: translateY(101%); transition: transform .35s var(--ease); z-index: -1; }
.btn-add:hover { color: #fff; }
.btn-add:hover::before { transform: none; }
.fly { position: fixed; z-index: 150; object-fit: cover; pointer-events: none; }

.placeholder { position: relative; overflow: hidden; background: radial-gradient(circle at 50% 40%, #b81414, #8a0a0a); }
.placeholder .script { position: relative; font-size: 2.3rem; color: var(--gold-light); }
.placeholder small { position: relative; }
.placeholder .mandala { position: absolute; inset: 6%; width: 88%; height: 88%; color: rgba(252, 236, 0, .28); }
.placeholder.mini .script { font-size: 1.3rem; }

/* Bestseller rail */
.rail { display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 max(16px, calc((100vw - 1168px) / 2)) 8px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail .card { flex: 0 0 min(300px, 72vw); scroll-snap-align: center; }
.rail-nav button { width: 52px; height: 52px; border: 1px solid var(--maroon); background: transparent; color: var(--maroon); font-size: 1.1rem; cursor: pointer; transition: .25s; margin-left: 8px; }
.rail-nav button:hover { background: var(--maroon); color: #fff; }

/* Stats */
.stats { background: var(--maroon); padding: 74px 0; color: #e8cfb0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(3.2rem, 7vw, 5.4rem); line-height: 1; background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 300; }

/* Sticky story */
.story { padding: 40px 0; background: var(--white); }
.story-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; }
.story-sticky { position: sticky; top: 100px; height: calc(100vh - 140px); display: flex; align-items: center; }
.story-frame { position: relative; width: 100%; aspect-ratio: 1; max-height: 100%; overflow: hidden; }
.story-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .9s var(--ease), transform 1.4s var(--ease); }
.story-frame img.on { opacity: 1; transform: none; }
.story-steps article { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .6s var(--ease); }
.story-steps article.on { opacity: 1; }
.story-steps span { font-size: .75rem; letter-spacing: .3em; color: var(--maroon); }
.story-steps h3 { font-size: clamp(2.2rem, 4vw, 3.3rem); margin: .25em 0 .35em; }
.story-steps p { font-size: 1.1rem; font-weight: 300; max-width: 26em; color: #5a4339; }

/* Pantry */
.pantry { background: var(--cream); }
.pantry .section-head { text-align: center; }
.pantry-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; text-align: center; }
.pantry svg { width: 76px; height: 76px; fill: none; stroke: var(--maroon); stroke-width: 1; margin-bottom: 14px; }
.pantry h4 { font-size: 1.3rem; margin: 0; }

/* Gifting band */
.gift-band { position: relative; overflow: hidden; background: radial-gradient(80% 110% at 80% 50%, #b81414, #8a0a0a); color: #ecd6bb; padding: 110px 0; }
.gift-mandala { position: absolute; right: -10%; top: 50%; width: 760px; height: 760px; margin-top: -380px; color: rgba(252, 236, 0, .2); animation: spin 120s linear infinite; }
.gift-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.gift-grid h2 { color: #fff; }
.gift-stack { position: relative; height: 460px; }
.gift-stack img { position: absolute; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); }
.g1 { width: 62%; left: 2%; top: 4%; rotate: -6deg; animation: bob 8s ease-in-out infinite; }
.g2 { width: 58%; right: 0; bottom: 2%; animation: bob 8s -3s ease-in-out infinite; }

/* Inner page hero */
.page-hero { position: relative; overflow: hidden; background: radial-gradient(80% 140% at 50% 0, #b81414, #8a0a0a); border-bottom: 1px solid var(--gold); padding: 84px 0 76px; }
.page-hero h1 { font-family: var(--serif); color: #fff; font-size: clamp(3rem, 7vw, 5.2rem); position: relative; }
.page-hero .wrap { position: relative; }
.page-mandala { position: absolute; left: 50%; top: 50%; width: 760px; height: 760px; margin: -380px 0 0 -380px; color: rgba(252, 236, 0, .2); animation: spin 120s linear infinite; }
.page-hero-sm { padding: 54px 0 46px; }

/* Shop toolbar */
.shop { padding-top: 56px; }
.toolbar { margin-bottom: 18px; }
.chip { border-radius: 0; border-color: var(--line); background: transparent; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.tools { display: flex; gap: 10px; flex-wrap: wrap; }
.tools input, .tools select { border-radius: 0; padding: .55em .8em; font-size: .9rem; }
.search input { width: 190px; }
.count { font-size: .85rem; margin-bottom: 26px; }

/* Product page */
.pdp-media { position: sticky; top: 96px; aspect-ratio: 1; overflow: hidden; background: #f3e6cc; cursor: zoom-in; }
.pdp-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.pdp-info h1 { font-size: clamp(2.6rem, 5vw, 3.9rem); margin-bottom: .1em; }
.pdp-price { font-size: 2.3rem; font-weight: 500; }
.weight span { border-radius: 0; }
.qty { border-radius: 0; }
.buy-bar { display: none; }

/* Drawer */
.drawer-scrim { position: fixed; inset: 0; background: rgba(30, 6, 6, .55); opacity: 0; visibility: hidden; transition: .35s; z-index: 130; backdrop-filter: blur(3px); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); background: var(--white); z-index: 140; transform: translateX(102%); visibility: hidden; transition: transform .5s var(--ease), visibility .5s; display: flex; flex-direction: column; border-left: 1px solid var(--gold); }
.drawer-open .drawer { transform: none; visibility: visible; }
.drawer-open .drawer-scrim { opacity: 1; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; background: var(--maroon); }
.drawer-head h3 { color: var(--gold-light); font-size: 1.6rem; margin: 0; }
.drawer-x { background: none; border: 0; color: var(--gold-light); font-size: 1.9rem; line-height: 1; cursor: pointer; }
.ship-meter { padding: 14px 24px; background: var(--cream); }
.ship-meter p { margin: 0 0 6px; font-size: .84rem; }
.ship-meter div { height: 3px; background: var(--line); }
.ship-meter span { display: block; height: 100%; width: 0; background: var(--foil); transition: width .6s var(--ease); }
.drawer-lines { flex: 1; overflow-y: auto; padding: 6px 24px; }
.d-line { display: grid; grid-template-columns: 74px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.d-img { width: 74px; height: 74px; display: block; overflow: hidden; }
.d-img img { width: 100%; height: 100%; object-fit: cover; }
.d-line > div:nth-child(2) { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.d-line strong { color: var(--maroon-ink); font-weight: 500; }
.d-line .muted { font-size: .84rem; }
.d-end { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.drawer-foot { padding: 16px 24px 22px; border-top: 1px solid var(--line); }
.drawer-link { display: block; text-align: center; font-size: .85rem; margin-top: 12px; text-decoration: underline; }
.empty .script { font-family: var(--script); }

/* Checkout */
.stepper { list-style: none; display: flex; justify-content: center; gap: 44px; padding: 0; margin: -40px 0 44px; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); counter-reset: st; }
.stepper li { counter-increment: st; display: flex; align-items: center; gap: 10px; }
.stepper li::before { content: counter(st); width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; }
.stepper .on { color: var(--maroon); }
.stepper .on::before { background: var(--maroon); color: #fff; border-color: var(--maroon); }
.stepper .done::before { background: var(--foil); border: 0; color: var(--maroon-ink); }
.summary, .confirm, .order-box, .alert, .test-note, .pay-option span, select, input, textarea { border-radius: 0; }
.confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 110; }
.split-media { overflow: hidden; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.trio-item { overflow: hidden; aspect-ratio: 3 / 4.4; }
.trio-item img { width: 100%; height: 100%; object-fit: cover; }
.service { border-radius: 0; border: 1px solid var(--line); border-top: 2px solid var(--gold); transition: transform .4s var(--ease), box-shadow .4s; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service h3 { font-size: 1.7rem; }

/* Footer */
.site-footer { position: relative; overflow: hidden; background: #8a0a0a; border-top: 1px solid var(--gold); }
.footer-mandala { position: absolute; left: -220px; bottom: -320px; width: 760px; height: 760px; color: rgba(252, 236, 0, .1); }
.footer-sign, .footer-grid, .footer-bottom { position: relative; }
.footer-sign p { font-family: var(--script); font-size: clamp(2.4rem, 6vw, 4.6rem); color: var(--gold-light); text-align: center; margin-bottom: 44px; }
.wa-float { background: #17613a; transition: transform .3s var(--ease), bottom .3s; }

@media (max-width: 1024px) {
  .panels { height: 520px; }
  .pantry-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .main-nav a { font-size: .9rem; }
  .hero { min-height: 0; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); text-align: center; padding-top: 44px; padding-bottom: 64px; gap: 10px; }
  .hero-stage { width: min(420px, 88%); margin-top: 10px; }
  .scroll-cue { display: none; }
  .float { --k: 0 !important; }
  .section { padding: 72px 0; }
  .panels { flex-direction: column; height: auto; }
  .panel, .panel:hover { flex: none; height: 400px; }
  .panel-img { top: 33%; width: 210px; }
  .panel-pack { width: 140px; }
  .panel-copy { padding: 26px; }
  .panel h3 { font-size: 2.8rem; }
  .story-grid, .gift-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .story-sticky { top: 72px; height: auto; z-index: 2; background: var(--white); padding: 8px 0; }
  .story-frame { aspect-ratio: 16 / 10; }
  .story-steps article { min-height: 52vh; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 12px; }
  .gift-stack { height: 340px; }
  .stepper { gap: 16px; font-size: .62rem; margin-top: -24px; }
  .pdp-page .buy-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; background: var(--white); border-top: 1px solid var(--gold); }
  .buy-bar strong { display: block; font-family: var(--serif); font-size: 1.15rem; line-height: 1.1; }
  .buy-bar span { font-size: .84rem; color: var(--muted); }
  .pdp-page .wa-float { bottom: 84px; }
  .pdp-page .site-footer { padding-bottom: 90px; }
}
@media (max-width: 640px) {
  .grid { gap: 26px 12px; }
  .card h3 { font-size: 1.2rem; }
  .card-desc { display: none; }
  .card-foot { flex-direction: row; }
  .card-foot .btn-add { width: auto; padding: 7px 10px; }
  .btn-add span { display: none; }
  .price { font-size: 1.25rem; }
  .pill { padding: 2px 7px; font-size: .68rem; }
  .pantry-grid { grid-template-columns: repeat(2, 1fr); }
  .search input { width: 140px; }
  .ribbon-track { font-size: 1.1rem; }
  .section-head-row { align-items: center; }
  .rail-nav button { width: 42px; height: 42px; }
  .d-line { grid-template-columns: 64px 1fr auto; }
  .d-img { width: 64px; height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Typography: one calm scale across the site */
body { font-size: 17px; line-height: 1.7; letter-spacing: .005em; font-variant-numeric: lining-nums; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
h1, h2, h3, h4 { font-weight: 500; line-height: 1.12; letter-spacing: -.012em; text-wrap: balance; }
p, li { text-wrap: pretty; }
.script { letter-spacing: 0; }
.eyebrow { font-size: .68rem; font-weight: 500; letter-spacing: .3em; line-height: 1.7; }
.topbar { color: #fff3d6; font-size: .72rem; letter-spacing: .12em; }
.main-nav a { font-size: .76rem; font-weight: 400; letter-spacing: .16em; }
.btn, .btn-lg { font-size: .72rem; font-weight: 500; letter-spacing: .2em; line-height: 1.4; }

/* Hero: the copy always sits inside the frame, the statement holds two clean lines */
.hero-inner { padding-left: max(64px, calc((100vw - 1200px) / 2 + 16px)); padding-right: max(48px, calc((100vw - 1200px) / 2 + 16px)); max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 40px; }
.hero h1 { font-size: clamp(2.3rem, 3.5vw, 3.5rem); line-height: 1.12; letter-spacing: -.015em; margin-bottom: .6em; text-wrap: initial; }
.hero h1 .script { font-size: 1.62em; line-height: 1.15; margin-bottom: .12em; padding: 0 .2em .05em 0; letter-spacing: 0; }
.hero-line { white-space: nowrap; }
.lead { font-size: 1.04rem; font-weight: 400; line-height: 1.75; color: #fff3e2; max-width: 30em; }
.hero-actions { margin-top: 2.2em; }

/* Headings and supporting text */
.section-head h2, .gift-grid h2 { font-size: clamp(2.2rem, 3.8vw, 3.3rem); }
.page-hero h1 { font-size: clamp(2.7rem, 5.2vw, 4.2rem); letter-spacing: -.015em; }
.panel h3 { font-size: clamp(2.1rem, 3.3vw, 3.1rem); }
.panel-copy { padding: 28px; }
.panel p, .gift-grid p, .story-steps p, .card-desc, .stats span { font-weight: 400; }
.panel-go { color: #fff3d6; font-size: .68rem; }
.story-steps h3 { font-size: clamp(2rem, 3.2vw, 2.9rem); }
.story-steps p { font-size: 1.05rem; line-height: 1.75; }
.gift-grid p { color: #fff3e2; max-width: 30em; }
.stats span { font-size: .72rem; letter-spacing: .16em; line-height: 1.6; display: block; margin-top: 10px; color: #fff3e2; }
.card h3 { font-size: 1.4rem; line-height: 1.18; }
.card-desc { font-size: .88rem; line-height: 1.55; color: #6f5a4e; }
.price, .pdp-price, .sum-total, .order-table .total td { letter-spacing: 0; }
.price { font-size: 1.45rem; }
.pdp-info h1 { font-size: clamp(2.4rem, 4vw, 3.3rem); }
.pdp-price { font-size: 2rem; }
.lead-dark { font-size: 1.05rem; line-height: 1.75; }
.placeholder .script { font-size: clamp(1.5rem, 2.5vw, 2.1rem); line-height: 1.15; text-wrap: balance; }
.form-grid label { font-size: .84rem; }
.checkout-form h3, .summary h3, .order-box h3 { font-size: 1.5rem; }
.footer-sign p { font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1.2; text-wrap: balance; }
.site-footer h4 { font-size: .74rem; font-weight: 500; letter-spacing: .2em; }
.site-footer a, .muted-light { font-size: .9rem; }

@media (max-width: 1100px) {
  .hero-inner { padding-left: 56px; padding-right: 40px; gap: 24px; }
  .hero h1 { font-size: clamp(2rem, 3.6vw, 2.6rem); }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .hero-inner { padding: 44px 40px 60px; grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: clamp(1.9rem, 7.4vw, 2.7rem); }
  .hero h1 .script { font-size: 1.5em; padding-right: 0; }
  .lead { font-size: 1rem; margin-left: auto; margin-right: auto; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: min(280px, 100%); }
  .eyebrow { letter-spacing: .22em; }
  .gift-grid { text-align: center; }
  .gift-grid p { margin-left: auto; margin-right: auto; }
  .section-head-row { text-align: left; }
}
@media (max-width: 640px) {
  .card h3 { font-size: 1.2rem; }
  .placeholder { padding: 12px; }
  .placeholder .script { font-size: 1.35rem; }
  .placeholder small { font-size: .56rem; letter-spacing: .14em; }
  .stepper li { text-align: center; }
}

/* Fit: visually hidden radios must not stretch the page */
.weight, .pay-option { position: relative; display: block; }
.weight input, .pay-option input { width: 1px; height: 1px; padding: 0; border: 0; }
.split h2 { font-family: var(--serif); font-size: clamp(2.1rem, 3.4vw, 2.9rem); color: var(--maroon-ink); }
.tag { border-color: rgba(160, 12, 12, .35); }
@media (min-width: 641px) {
  .wrap { padding-left: 32px; padding-right: 32px; }
  .rail { padding-left: max(32px, calc((100vw - 1136px) / 2)); padding-right: max(32px, calc((100vw - 1136px) / 2)); }
}

/* Second product view */
.card-media .img-2 { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease), transform 1s var(--ease); }
.card:hover .card-media .img-2 { opacity: 1; }
.pdp-gallery { position: sticky; top: 96px; align-self: start; min-width: 0; }
.pdp-gallery .pdp-media { position: static; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumb { width: 84px; height: 84px; padding: 0; border: 1px solid var(--line); background: none; cursor: pointer; transition: border-color .25s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.on { border-color: var(--maroon); }
@media (max-width: 860px) { .pdp-gallery { position: static; } }

/* Larger logo */
.header-inner { height: 104px; }
.brand img { height: 84px; }
.scrolled .header-inner { height: 84px; }
.scrolled .brand img { height: 66px; }
.footer-logo { height: 104px; }
.preloader img { width: 320px; }
.hero { min-height: calc(100vh - 136px); min-height: calc(100svh - 136px); }
.pdp-gallery, .summary { top: 120px; }
.story-sticky { top: 110px; }
@media (max-width: 860px) {
  .header-inner { height: 84px; }
  .brand img { height: 66px; }
  .scrolled .header-inner { height: 70px; }
  .scrolled .brand img { height: 54px; }
  .story-sticky { top: 70px; }
}

.demo-bar { background: #fcec00; color: #5a0707; text-align: center; font-size: .78rem; padding: 6px 16px; line-height: 1.4; }

/* Contact and policy pages */
.footer-grid { grid-template-columns: 1.3fr .8fr .9fr 1.1fr; }
.prose h2 { font-size: 1.7rem; margin: 1.6em 0 .4em; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: .4em; }
.prose a:not(.btn) { text-decoration: underline; }
.prose .seller { list-style: none; padding: 0; }
.prose > .muted:last-child { margin-top: 2.4em; }
.consent { margin: 16px 0 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }
