/* ============ Bedouin Brew homepage ============ */
:root {
  --bg: #120b07;
  --bg-2: #1a110b;
  --bg-3: #23170f;
  --gold: #c9a24a;
  --gold-light: #e8c97f;
  --gold-deep: #9c7a2e;
  --cream: #f2e6d0;
  --ivory: #fbf8f2;
  --ink: #2a1c12;
  --ink-soft: #6b5641;
  --text: #e9dcc6;
  --text-dim: #b9a68b;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 5vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
::selection { background: var(--gold); color: var(--bg); }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--sans); font-size: 11px; font-weight: 400; letter-spacing: .38em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 18px;
}
.eyebrow--dark { color: var(--gold-deep); }
.title {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(38px, 5.2vw, 68px); line-height: 1.08; letter-spacing: -.01em;
  color: var(--ivory); margin: 0 0 20px;
}
.title--dark { color: var(--ink); }
.title--left { text-align: left; }
.lead { font-size: 15px; color: var(--text-dim); margin: 0 auto; max-width: 520px; }
.lead--dark { color: var(--ink-soft); }
.body { font-size: 15px; color: var(--text-dim); max-width: 440px; margin: 0 0 34px; }
.body--dark { color: var(--ink-soft); }

/* split-word reveal wrappers */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .24em; margin-bottom: -.24em; }
[data-split] .w > span { display: inline-block; will-change: transform; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px; position: relative; overflow: hidden;
  padding: 17px 30px; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; font-weight: 400;
  border: 1px solid var(--gold); color: var(--ivory); isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn svg { width: 22px; height: 12px; transition: transform .5s var(--ease); }
.btn::before {
  content: ""; position: absolute; inset: 0; background: var(--gold); z-index: -1;
  transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease);
}
.btn:hover { color: var(--bg); }
.btn:hover::before { transform: scaleY(1); }
.btn:hover svg { transform: translateX(5px); }
.btn--solid { background: var(--ink); border-color: var(--ink); color: var(--gold-light); }
.btn--solid::before { background: var(--gold); }
.light .btn--outline { color: var(--ink); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 46px;
  font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--text);
}
.link-arrow svg { width: 20px; height: 10px; transition: transform .5s var(--ease); }
.link-arrow:hover { color: var(--gold-light); }
.link-arrow:hover svg { transform: translateX(6px); }

/* ---------- preloader ---------- */
.preloader { clip-path: inset(0 0 0% 0);
  position: fixed; inset: 0; z-index: 200; background: var(--bg);
  display: grid; place-items: center;
}
.preloader__inner { display: grid; justify-items: center; gap: 26px; }
.preloader__mark { width: 110px; opacity: 0; filter: drop-shadow(0 0 24px rgba(201,162,74,.35)); }
.preloader__bar { width: 180px; height: 1px; background: rgba(201,162,74,.18); overflow: hidden; }
.preloader__bar span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.preloader__label { margin: 0; font-size: 10px; letter-spacing: .4em; text-transform: uppercase; color: var(--gold); opacity: 0; }
.no-js .preloader { display: none; }

/* ---------- cursor + grain ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; mix-blend-mode: difference; opacity: 0; transition: opacity .4s; }
.cursor.is-on { opacity: 1; }
.cursor__dot, .cursor__ring { position: absolute; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor__dot { width: 6px; height: 6px; background: var(--gold-light); }
.cursor__ring { width: 38px; height: 38px; border: 1px solid var(--gold-light); transition: width .4s var(--ease), height .4s var(--ease), opacity .4s; }
.cursor.is-hover .cursor__ring { width: 72px; height: 72px; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
.grain {
  position: fixed; inset: -50%; z-index: 150; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%,100% { transform: translate(0,0) } 25% { transform: translate(-3%,2%) } 50% { transform: translate(2%,-3%) } 75% { transform: translate(-2%,-1%) } }

/* ---------- header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter); transition: background .6s var(--ease), padding .6s var(--ease), translate .6s var(--ease);
}
.header.is-solid { background: rgba(18, 11, 7, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 10px; padding-bottom: 10px; box-shadow: 0 1px 0 rgba(201,162,74,.14); }
.header.is-hidden { translate: 0 -100%; }
.header.on-light.is-solid { background: rgba(251, 248, 242, .9); box-shadow: 0 1px 0 rgba(156,122,46,.2); }
.header.on-light.is-solid .nav a, .header.on-light.is-solid .icon-btn { color: var(--ink); }
.header.on-light.is-solid .burger i { background: var(--ink); }
.menu-open .header .burger i { background: var(--ivory); }
.header__logo img { height: 62px; width: auto; transition: height .6s var(--ease); filter: drop-shadow(0 2px 10px rgba(0,0,0,.4)); }
.header.is-solid .header__logo img { height: 50px; }
.nav { display: flex; gap: clamp(22px, 3.2vw, 46px); }
.nav a {
  position: relative; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--ivory);
  padding: 8px 0; transition: color .4s;
}
.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 .6s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav a.is-active, .nav a:hover { color: var(--gold-light); }
.header__tools { display: flex; align-items: center; gap: 18px; }
.icon-btn { width: 22px; height: 22px; color: var(--ivory); position: relative; transition: color .3s; }
.icon-btn:hover { color: var(--gold-light); }
.icon-btn svg { width: 100%; height: 100%; }
.cart__count {
  position: absolute; top: -6px; right: -8px; min-width: 16px; height: 16px; border-radius: 8px;
  background: var(--gold); color: var(--bg); font-size: 9px; font-weight: 500; line-height: 16px; text-align: center;
}
.burger { display: none; width: 30px; height: 18px; position: relative; }
.burger i { position: absolute; left: 0; right: 0; height: 1px; background: var(--ivory); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger i:first-child { top: 4px; } .burger i:last-child { top: 13px; }
.menu-open .burger i:first-child { top: 9px; transform: rotate(45deg); }
.menu-open .burger i:last-child { top: 9px; transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--bg); display: grid; place-items: center;
  clip-path: circle(0% at calc(100% - 40px) 40px); transition: clip-path .9s var(--ease);
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 40px); }
.mobile-menu nav { display: grid; gap: 18px; text-align: center; }
.mobile-menu a { font-family: var(--serif); font-style: italic; font-size: 40px; color: var(--ivory); }

/* ---------- side rail ---------- */
.rail {
  position: fixed; left: clamp(14px, 2.4vw, 36px); top: 50%; transform: translateY(-50%); z-index: 60;
  display: flex; flex-direction: column; align-items: center; gap: 16px; color: var(--gold);
  transition: color .5s;
}
.rail__line { width: 1px; height: 64px; background: currentColor; opacity: .55; }
.rail__line--progress { position: relative; height: 90px; opacity: 1; background: rgba(201,162,74,.22); }
.rail__line--progress i { position: absolute; inset: 0; background: currentColor; transform: scaleY(0); transform-origin: top; }
.rail__text { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 9px; letter-spacing: .5em; text-transform: uppercase; }
.rail__mark { width: 18px; height: 18px; }
.rail.on-light { color: var(--gold-deep); }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; min-height: 640px; overflow: hidden; display: flex; align-items: center; }
.hero { background: #170e08; }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
/* full image height, pinned right: the photo's dark left side runs under the headline, so nothing important is cropped */
.hero__img { position: absolute; top: 0; right: 0; height: 100%; width: auto; max-width: none; transform-origin: 70% 50%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #170e08 0%, rgba(23,14,8,0) 30%); pointer-events: none; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(18,11,7,.92) 0%, rgba(18,11,7,.62) 34%, rgba(18,11,7,0) 62%),
    linear-gradient(0deg, rgba(18,11,7,1) 0%, rgba(18,11,7,0) 26%);
}
.hero__content { position: relative; z-index: 2; padding-left: calc(var(--gutter) + clamp(40px, 6vw, 100px)); }
.hero__eyebrow { opacity: 0; }
.hero__title {
  font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--ivory);
  font-size: clamp(52px, 8.4vw, 118px); line-height: .98; margin: 0 0 28px; letter-spacing: -.015em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .24em; margin-bottom: -.18em; } /* room for italic descenders (g, f, y) inside the reveal mask */
.hero__title .line > span { display: inline-block; }
.hero__sub { font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--text); margin: 0 0 42px; line-height: 2; }
.scroll-cue { position: absolute; z-index: 3; right: var(--gutter); bottom: 44px; width: 110px; height: 110px; color: var(--gold-light); }
.scroll-cue__ring { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.scroll-cue__ring text { fill: currentColor; stroke: none; font-size: 9.4px; letter-spacing: 2.6px; font-family: var(--sans); }
.scroll-cue__arrow { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; transform: translate(-50%, -50%); animation: nudge 2.2s var(--ease) infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes nudge { 0%,100% { transform: translate(-50%, -60%); } 50% { transform: translate(-50%, -30%); } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid rgba(201,162,74,.18); border-bottom: 1px solid rgba(201,162,74,.18); background: var(--bg); padding: 22px 0; }
.marquee__track { display: flex; width: max-content; align-items: center; gap: 36px; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.6vw, 34px); color: var(--gold-light); white-space: nowrap; }
.marquee i { font-style: normal; color: var(--gold); font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- blends carousel ---------- */
.blends { position: relative; padding: clamp(90px, 12vw, 150px) 0 clamp(80px, 10vw, 120px); background: radial-gradient(ellipse at 50% 55%, #2a1a0e 0%, var(--bg) 62%); overflow: hidden; }
.carousel { position: relative; margin-top: 64px; }
.carousel__stage { position: relative; height: clamp(420px, 40vw, 520px); perspective: 1600px; touch-action: pan-y; cursor: grab; }
.carousel__stage:active { cursor: grabbing; }
.carousel__track { position: absolute; inset: 0; transform-style: preserve-3d; }
.card {
  position: absolute; left: 50%; top: 0; width: clamp(240px, 21vw, 300px); height: 100%;
  margin-left: calc(clamp(240px, 21vw, 300px) / -2);
  border-radius: 16px; overflow: hidden; background: var(--bg-3);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.7);
  border: 1px solid rgba(201,162,74,.12); will-change: transform, opacity, filter;
  user-select: none; -webkit-user-select: none;
}
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid var(--gold-light); opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; }
.card.is-active::after { opacity: .85; }
.card.is-active { box-shadow: 0 0 0 1px rgba(232,201,127,.25), 0 40px 90px -20px rgba(201,162,74,.38); }
.card__img { position: absolute; inset: 0; }
.card__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.04); transition: transform 1.2s var(--ease); pointer-events: none; }
.card.is-active:hover .card__img img { transform: scale(1.1); }
.card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,11,7,0) 48%, rgba(18,11,7,.92) 82%); }
.card__info { position: absolute; left: 0; right: 0; bottom: 26px; text-align: center; }
.card__name { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--ivory); margin: 0 0 4px; font-weight: 400; }
.card__note { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--gold-light); margin: 0 0 10px; }
.card__badge { position: absolute; top: 16px; left: 16px; padding: 6px 12px; font-size: 9px; letter-spacing: .24em; text-transform: uppercase; background: rgba(18,11,7,.7); color: var(--gold-light); border: 1px solid rgba(232,201,127,.45); backdrop-filter: blur(4px); }
.card__buy { display: flex; align-items: center; justify-content: center; gap: 14px; height: 34px; }
.card__buy span { font-family: var(--serif); font-size: 20px; color: var(--ivory); transition: transform .5s var(--ease); }
.card__add { padding: 9px 14px; font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--bg); background: var(--gold-light); opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease), background .3s; pointer-events: none; }
.card.is-active .card__add { opacity: 1; transform: none; pointer-events: auto; }
.card__add:hover { background: var(--ivory); }
.card__add.is-added { background: var(--ivory); }
.card__add.is-added::after { content: " ✓"; }
.card__pips { display: flex; justify-content: center; gap: 6px; }
.card__pips i { width: 5px; height: 5px; border-radius: 50%; background: rgba(232,201,127,.35); }
.card__pips i:first-child { background: var(--gold-light); }
.carousel__arrow {
  position: absolute; top: 50%; z-index: 10; width: 54px; height: 54px; margin-top: -27px; border-radius: 50%;
  border: 1px solid rgba(232,201,127,.55); color: var(--gold-light); display: grid; place-items: center;
  background: rgba(18,11,7,.5); backdrop-filter: blur(6px); transition: background .4s, color .4s;
}
.carousel__arrow:hover { background: var(--gold); color: var(--bg); }
.carousel__arrow svg { width: 20px; height: 20px; }
.carousel__arrow.prev { left: var(--gutter); } .carousel__arrow.next { right: var(--gutter); }
.carousel__dots { display: flex; justify-content: center; gap: 12px; margin-top: 26px; }
.carousel__dots button { width: 7px; height: 7px; border-radius: 50%; background: rgba(232,201,127,.25); transition: background .4s, transform .4s; }
.carousel__dots button.is-active { background: var(--gold-light); transform: scale(1.3); }

/* ---------- light sections ---------- */
.light { background: var(--ivory); color: var(--ink); }

/* statement */
.statement { position: relative; padding: clamp(110px, 14vw, 190px) 0; overflow: hidden; }
.statement__path { position: absolute; left: 50%; top: 0; width: 400px; height: 100%; transform: translateX(-50%); opacity: .5; }
.statement__path path { stroke: var(--gold); stroke-width: 1; }
.statement__inner { position: relative; text-align: center; max-width: 1040px; }
.statement__mark { width: 74px; margin: 0 auto 30px; filter: sepia(.2) saturate(1.2) brightness(.85); }
.statement__text {
  font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3.4vw, 46px); line-height: 1.32;
  color: var(--ink); margin: 0 0 46px; background: var(--ivory);
}
.statement__text .fw { opacity: .14; transition: none; }
.statement__sign { display: flex; align-items: center; justify-content: center; gap: 22px; color: var(--gold-deep); font-family: var(--serif); font-size: 18px; }
.rule { width: 60px; height: 1px; background: currentColor; }

/* story */
.story { display: grid; grid-template-columns: 1.15fr 1fr; min-height: 92vh; background: var(--bg); }
.story__media { position: relative; overflow: hidden; }
.story__frame { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 100% 0 0); }
.story__frame img, .parallax-img { width: 100%; height: 118%; object-fit: cover; }
.story__frame img { object-position: 18% 50%; }
.story__copy { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 9vw, 130px) calc(var(--gutter) + 50px) clamp(70px, 9vw, 130px) clamp(40px, 6vw, 96px); }
.story__copy .btn { align-self: flex-start; }
.story__ornament { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); display: grid; justify-items: center; gap: 10px; color: var(--gold); }
.story__ornament .v-line { width: 1px; height: 140px; background: linear-gradient(var(--gold), transparent); transform-origin: top; }
.story__ornament svg { width: 18px; height: 30px; }

/* features */
.features { padding: clamp(70px, 8vw, 110px) 0; background: var(--bg-2); border-top: 1px solid rgba(201,162,74,.1); border-bottom: 1px solid rgba(201,162,74,.1); }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature { text-align: center; padding: 10px 24px; position: relative; }
.feature + .feature::before { content: ""; position: absolute; left: 0; top: 8%; bottom: 8%; width: 1px; background: linear-gradient(transparent, rgba(201,162,74,.45), transparent); }
.feature svg { width: 52px; height: 52px; color: var(--gold); margin: 0 auto 20px; stroke-width: 1.2; transition: transform .8s var(--ease); }
.feature:hover svg { transform: translateY(-6px) rotate(-4deg); }
.feature h3 { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--ivory); font-weight: 400; margin: 0 0 6px; }
.feature p { font-size: 13px; color: var(--text-dim); margin: 0; }

/* roast */
.roast { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; }
.roast__media { position: absolute; inset: 0; overflow: hidden; }
.roast__media img { object-position: 70% 50%; }
.roast__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,11,7,.95) 0%, rgba(18,11,7,.7) 36%, rgba(18,11,7,0) 66%); }
.roast__copy { position: relative; z-index: 2; padding-left: calc(var(--gutter) + clamp(40px, 6vw, 100px)); }

/* film banner */
.film { position: relative; background: var(--bg); }
.film__frame { position: relative; height: 100vh; min-height: 560px; overflow: hidden; }
.film__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18,11,7,.85) 0%, rgba(18,11,7,.25) 45%, rgba(18,11,7,.45) 100%); }
.film__copy { position: absolute; left: 0; right: 0; bottom: clamp(60px, 9vh, 110px); text-align: center; }
.film__copy .title { max-width: 820px; margin: 0 auto 34px; }

/* ritual */
.ritual { padding: clamp(110px, 13vw, 170px) 0 clamp(80px, 9vw, 120px); }
.ritual__steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 44px); margin-top: 80px; }
.ritual__line { position: absolute; left: var(--gutter); right: var(--gutter); top: 30px; width: calc(100% - 2 * var(--gutter)); height: 40px; }
.ritual__line path { stroke: var(--gold); stroke-width: 1.2; }
.step { position: relative; text-align: center; padding-top: 0; }
.step__num {
  position: relative; display: grid; place-items: center; width: 100px; height: 100px; margin: 0 auto 26px; border-radius: 50%;
  background: var(--ivory); border: 1px solid rgba(156,122,46,.45); font-family: var(--serif); font-style: italic; font-size: 34px; color: var(--gold-deep);
  transition: background .6s var(--ease), color .6s var(--ease);
}
.step:hover .step__num { background: var(--ink); color: var(--gold-light); }
.step h3 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 28px; color: var(--ink); margin: 0 0 8px; }
.step p { font-size: 14px; color: var(--ink-soft); margin: 0 auto; max-width: 240px; }

/* featured */
.featured { padding: clamp(60px, 8vw, 110px) 0 clamp(110px, 13vw, 170px); }
.featured__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.featured__media { position: relative; }
.arch-frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 999px 999px 18px 18px; box-shadow: 0 50px 80px -40px rgba(42,28,18,.55); background: #2a1c12; }
.arch-frame::after { content: ""; position: absolute; inset: 12px; border-radius: 999px 999px 10px 10px; border: 1px solid rgba(232,201,127,.6); pointer-events: none; }
.featured__badge {
  position: absolute; right: -18px; bottom: 60px; width: 108px; height: 108px; border-radius: 50%;
  background: var(--ink); color: var(--gold-light); display: grid; place-items: center; text-align: center;
  font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1; box-shadow: 0 20px 40px -10px rgba(42,28,18,.5);
}
.featured__badge small { font-family: var(--sans); font-style: normal; font-size: 10px; letter-spacing: .2em; }
.specs { list-style: none; padding: 0; margin: 0 0 40px; max-width: 460px; }
.specs li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid rgba(156,122,46,.25); }
.specs span { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-deep); }
.specs em { font-family: var(--serif); font-size: 19px; color: var(--ink); }

/* reviews */
.reviews { position: relative; padding: clamp(100px, 11vw, 150px) 0; overflow: hidden; background: var(--cream); color: var(--ink); }
.reviews__bg { position: absolute; inset: -10% 0; background: url(assets/parchment.jpg) center / cover no-repeat; }
.reviews__inner { position: relative; }
.quotes { position: relative; display: flex; align-items: center; justify-content: center; gap: clamp(16px, 4vw, 60px); margin-top: 30px; }
.quotes__stage { position: relative; display: grid; max-width: 760px; width: 100%; }
.quote { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; }
.quote.is-active { opacity: 1; visibility: visible; }
.quote blockquote { margin: 0 0 22px; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.45; color: var(--ink); }
.quote figcaption { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
.quote figcaption::before { content: "— "; color: var(--gold-deep); }
.quotes__arrow { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(42,28,18,.35); display: grid; place-items: center; color: var(--ink); transition: background .4s, color .4s, border-color .4s; }
.quotes__arrow:hover { background: var(--ink); color: var(--gold-light); border-color: var(--ink); }
.quotes__arrow svg { width: 18px; height: 18px; }
.quotes__dots { display: flex; justify-content: center; gap: 14px; margin-top: 40px; }
.quotes__dots button { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--ink); transition: background .4s; }
.quotes__dots button.is-active { background: var(--ink); }

/* newsletter */
.newsletter { position: relative; padding: clamp(120px, 14vw, 190px) 0; overflow: hidden; }
.newsletter__media { position: absolute; inset: 0; overflow: hidden; }
.newsletter__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,11,7,.55), rgba(18,11,7,.72)); }
.newsletter__inner { position: relative; z-index: 2; }
.newsletter .lead { color: var(--text); }
.subscribe { position: relative; display: flex; max-width: 520px; margin: 38px auto 0; border: 1px solid rgba(232,201,127,.6); background: rgba(18,11,7,.55); backdrop-filter: blur(6px); }
.subscribe input { flex: 1; min-width: 0; background: transparent; border: 0; padding: 18px 22px; color: var(--ivory); font: inherit; font-size: 14px; outline: none; }
.subscribe input::placeholder { color: var(--text-dim); }
.subscribe button { padding: 0 30px; background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--bg); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; font-weight: 500; transition: filter .3s; }
.subscribe button:hover { filter: brightness(1.12); }
.subscribe__thanks { position: absolute; left: 0; right: 0; top: calc(100% + 14px); margin: 0; font-size: 13px; color: var(--gold-light); opacity: 0; transition: opacity .5s; }
.subscribe.is-done .subscribe__thanks { opacity: 1; }

/* footer */
.footer { position: relative; overflow: hidden; background: #0d0805; padding: clamp(70px, 8vw, 100px) 0 0; }
.footer__ornament { position: absolute; right: -40px; bottom: -40px; width: 260px; opacity: .14; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand img { width: 230px; margin-bottom: 14px; }
.footer__brand p { margin: 0; font-size: 13px; color: var(--text-dim); letter-spacing: .04em; }
.footer__col { display: flex; flex-direction: column; gap: 10px; padding-left: 30px; border-left: 1px solid rgba(201,162,74,.18); }
.footer__col h4 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 22px; color: var(--gold-light); margin: 0 0 8px; }
.footer__col a { font-size: 14px; color: var(--text-dim); width: max-content; transition: color .3s, transform .4s var(--ease); }
.footer__col a:hover { color: var(--gold-light); transform: translateX(4px); }
.social { display: flex; gap: 12px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(201,162,74,.4); display: grid; place-items: center; color: var(--gold-light); }
.social a:hover { background: var(--gold); color: var(--bg); transform: none; }
.social svg { width: 18px; height: 18px; }
.footer__bottom { margin-top: 70px; padding-top: 24px; padding-bottom: 28px; text-align: center; font-size: 12px; color: var(--text-dim); border-top: 1px solid rgba(201,162,74,.18); }

/* ---------- initial animation states (only when JS runs) ---------- */
.js .reveal, .js .reveal-up { opacity: 0; }
.js .ritual__line path, .js .statement__path path, .js .feature .draw * { visibility: hidden; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__tools .icon-btn:first-child { display: none; }
  .story { grid-template-columns: 1fr; }
  .story__media { height: 62vh; }
  .story__ornament { display: none; }
  .story__copy { padding: 80px var(--gutter); }
  .features__grid { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .feature:nth-child(3)::before { display: none; }
  .ritual__steps { grid-template-columns: repeat(2, 1fr); row-gap: 60px; }
  .ritual__line { display: none; }
  .featured__grid { grid-template-columns: 1fr; }
  .featured__media { max-width: 460px; margin: 0 auto; width: 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .rail { display: none; }
  .hero__content, .roast__copy { padding-left: var(--gutter); }
}
@media (max-width: 640px) {
  .header__logo img { height: 46px; }
  .header.is-solid .header__logo img { height: 40px; }
  .hero { align-items: flex-end; padding-bottom: 120px; }
  .hero__media { bottom: 34%; }
  .hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 74% 40%; }
  .hero__media::after { display: none; }
  .hero__shade { background: linear-gradient(0deg, rgba(18,11,7,1) 0%, rgba(18,11,7,1) 34%, rgba(18,11,7,.55) 50%, rgba(18,11,7,0) 70%); }
  .hero__sub { font-size: 11px; }
  .hero__eyebrow { display: none; }
  .scroll-cue { display: none; }
  .carousel__arrow { width: 44px; height: 44px; margin-top: -22px; }
  .carousel__arrow.prev { left: 10px; } .carousel__arrow.next { right: 10px; }
  .roast__shade { background: linear-gradient(0deg, rgba(18,11,7,.96) 25%, rgba(18,11,7,.4) 100%); }
  .roast { align-items: flex-end; padding-bottom: 80px; }
  .features__grid, .ritual__steps { grid-template-columns: 1fr; }
  .feature::before { display: none; }
  .quotes__arrow { display: none; }
  .subscribe { flex-direction: column; }
  .subscribe button { padding: 16px; }
  .featured__badge { right: 8px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__col { padding-left: 0; border-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
