/* ==========================================================================
   KORA COFFEE — Warm Coffee Edition of Apple-Grade Tactile Minimalism
   Inspired by badgey.marcoluthi.com architecture, typography & physics
   ========================================================================== */

:root {
  /* Warm Coffee Palette */
  --bg-canvas: #f6f3ee;       /* Warm oat milk / porcelain cream */
  --bg-ink: #1c1613;          /* Deep roasted espresso ink */
  --muted-foreground: #74675e;/* Roasted taupe secondary text */
  --bg-espresso: #110d0b;     /* Midnight espresso (Scroll Act 2) */
  --bg-kraft: #dfd3c3;        /* Warm kraft coffee bag (Scroll Act 3) */
  --bg-roast-black: #0a0807;  /* Obsidian black (Promo Drop) */
  --bg-accent: #b85c38;       /* Burnt terracotta crema (Pendulum CTA) */

  --card: #ffffff;
  --surface: #ece6dc;
  --border: #e2dad0;
  --border-strong: #d3c8ba;

  /* Origin Accent Colors */
  --apricot: #d67e54;
  --caramel: #c3813c;
  --mocha: #6f452c;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Inter", ui-sans-serif, system-ui, sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-canvas);
  color: var(--bg-ink);
  font-family: var(--font-sans);
}

body {
  background-color: var(--bg-canvas);
  color: var(--bg-ink);
  overflow-x: hidden;
  line-height: 1.5;
}

button, input {
  font-family: inherit;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ==========================================================================
   FIXED ADAPTIVE FLOATING HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 68px;
  z-index: 60;
  pointer-events: none;
}

.header-inner {
  max-width: 1380px;
  height: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link,
.header-cta {
  pointer-events: auto;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.015em;
  color: var(--bg-ink);
  transition: color 0.35s ease, opacity 0.2s ease;
}

.brand-link:hover {
  opacity: 0.78;
}

.brand-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #2b211c, #17110e);
  color: #f6f3ee;
  box-shadow: 0 2px 8px rgba(28, 22, 19, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: background 0.35s ease, color 0.35s ease;
}

.header-cta {
  height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  border: none;
  background: var(--bg-ink);
  color: #f6f3ee;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.35s ease, color 0.35s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 10px rgba(28, 22, 19, 0.12);
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(28, 22, 19, 0.18);
}

.header-cta:active {
  transform: scale(0.97);
}

/* Dark Section Header Theme */
.site-header[data-theme="dark"] .brand-link {
  color: #f6f3ee;
}
.site-header[data-theme="dark"] .brand-icon {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  backdrop-filter: blur(8px);
}
.site-header[data-theme="dark"] .header-cta {
  background: #f6f3ee;
  color: var(--bg-ink);
}

/* Terracotta Accent Section Header Theme */
.site-header[data-theme="accent"] .brand-link {
  color: #ffffff;
}
.site-header[data-theme="accent"] .brand-icon {
  background: rgba(28, 22, 19, 0.24);
  color: #ffffff;
}
.site-header[data-theme="accent"] .header-cta {
  background: var(--bg-ink);
  color: #ffffff;
}

/* ==========================================================================
   HERO SECTION — Tactile Floating Roast Cards + Ultra-Light Display Type
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 92svh;
  min-height: 760px;
  padding-top: 148px;
  padding-bottom: 185px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-canvas);
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 720px;
  padding: 0 24px;
}

.hero-eyebrow {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted-foreground);
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(3.4rem, 7.6vw, 6.5rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.036em;
  color: var(--bg-ink);
  margin-bottom: 24px;
}

.hero-subtitle {
  max-width: 470px;
  margin: 0 auto 32px;
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--muted-foreground);
  letter-spacing: -0.01em;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.hero-primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 26px;
  border-radius: 12px;
  background: var(--bg-ink);
  color: #f6f3ee;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.015em;
  box-shadow: 0 8px 24px rgba(28, 22, 19, 0.16);
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s ease, background 0.2s ease;
}

.hero-primary-btn:hover {
  transform: translateY(-2px);
  background: #2b211c;
  box-shadow: 0 14px 32px rgba(28, 22, 19, 0.22);
}

.hero-secondary-link {
  font-size: 13.5px;
  color: var(--muted-foreground);
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.hero-secondary-link:hover {
  color: var(--bg-ink);
}

/* Floating Hero Coffee Cards */
.hero-cards-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}

.float-card {
  position: absolute;
  will-change: transform;
}

.card-ribbon {
  position: absolute;
  top: -38px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 52px;
  border-radius: 4px 4px 2px 2px;
  z-index: 5;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.ribbon-apricot { background: linear-gradient(180deg, rgba(214, 126, 84, 0.2), #d67e54 55%, #b96039); }
.ribbon-caramel { background: linear-gradient(180deg, rgba(195, 129, 60, 0.2), #c3813c 55%, #9c6125); }
.ribbon-espresso { background: linear-gradient(180deg, rgba(84, 52, 34, 0.2), #543422 55%, #341e13); }
.ribbon-terracotta { background: linear-gradient(180deg, rgba(184, 92, 56, 0.2), #b85c38 55%, #8f4022); }
.ribbon-sage { background: linear-gradient(180deg, rgba(122, 140, 114, 0.2), #7a8c72 55%, #56684f); }
.ribbon-amber { background: linear-gradient(180deg, rgba(209, 152, 82, 0.2), #d19852 55%, #aa7434); }

.mini-card {
  position: relative;
  width: 146px;
  height: 222px;
  border-radius: 18px;
  overflow: hidden;
  background: #221b17;
  box-shadow: 0 18px 42px rgba(28, 22, 19, 0.15), 0 2px 6px rgba(28, 22, 19, 0.08);
}

.mini-slot {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 5px;
  border-radius: 99px;
  background: rgba(246, 243, 238, 0.85);
  z-index: 4;
}

.mini-slot.slot-dark {
  background: rgba(28, 22, 19, 0.14);
}

.mini-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-plate {
  position: absolute;
  inset: auto 0 0 0;
  padding: 12px 13px 13px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.plate-warm-dark {
  background: linear-gradient(180deg, rgba(28, 20, 16, 0.45), rgba(24, 17, 13, 0.78));
  color: #f9f6f1;
}

.plate-warm-light {
  background: linear-gradient(180deg, rgba(248, 243, 236, 0.78), rgba(245, 238, 228, 0.92));
  color: var(--bg-ink);
}

.mini-title {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.mini-sub {
  font-size: 9.5px;
  opacity: 0.72;
  margin-top: 2px;
}

/* Flipped White QR Card in Hero */
.mini-card-qr {
  background: #ffffff;
  border: 1px solid rgba(28, 22, 19, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 14px;
}

.qr-close-dot {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 18px;
  height: 18px;
  border-radius: 99px;
  background: #f1ece5;
  color: #74675e;
  font-size: 11px;
  display: grid;
  place-items: center;
}

.qr-caption {
  font-size: 9.5px;
  color: var(--muted-foreground);
  letter-spacing: -0.01em;
}

/* Ghost + Trio Card in Hero */
.mini-card-ghost {
  background: rgba(255, 255, 255, 0.55);
  border: 1.5px dashed rgba(28, 22, 19, 0.14);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: rgba(28, 22, 19, 0.3);
}
.ghost-plus { font-size: 24px; font-weight: 300; line-height: 1; }
.ghost-label { font-size: 10px; }

/* Exact Hero Card Positioning & Depth-of-Field Blur */
.fc-left-1 { top: 104px; left: 3.5%; transform: rotate(-11deg); z-index: 6; }
.fc-left-2 { top: 64px; left: 21%; transform: rotate(-4deg) scale(0.68); filter: blur(1.8px); opacity: 0.78; z-index: 2; }
.fc-left-3 { top: 332px; left: 13.5%; transform: rotate(6deg) scale(0.88); z-index: 5; }
.fc-left-4 { top: 392px; left: -2.2%; transform: rotate(-5deg) scale(0.76); filter: blur(2.6px); opacity: 0.65; z-index: 2; }

.fc-right-1 { top: 108px; right: 3.5%; transform: rotate(9deg); z-index: 6; }
.fc-right-2 { top: 68px; right: 22.5%; transform: rotate(8deg) scale(0.66); opacity: 0.65; z-index: 2; }
.fc-right-3 { top: 326px; right: 14%; transform: rotate(-8deg) scale(0.9); z-index: 5; }
.fc-right-4 { top: 382px; right: -2%; transform: rotate(7deg) scale(0.74); filter: blur(2.4px); opacity: 0.68; z-index: 2; }

/* Peeking Device Edge at Bottom of Hero */
.hero-peek-cue {
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.peek-frame {
  display: block;
  width: 268px;
  height: 112px;
  border-radius: 44px 44px 0 0;
  background: linear-gradient(180deg, #2b221d 0%, #16110e 100%);
  padding: 9px 9px 0;
  box-shadow: 0 -10px 40px rgba(28, 22, 19, 0.14);
  transition: transform 0.35s var(--ease-out-expo);
}

.peek-frame:hover {
  transform: translateY(-6px);
}

.peek-notch-bar {
  width: 100%;
  height: 100%;
  border-radius: 35px 35px 0 0;
  background: linear-gradient(180deg, #f3e4d8 0%, #ebd7c5 100%);
  padding: 13px 18px 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.peek-time {
  font-size: 11px;
  font-weight: 600;
  color: var(--bg-ink);
  margin-top: 2px;
}

.peek-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 20px;
  border-radius: 99px;
  background: #14100d;
}

.peek-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 24px;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(28, 22, 19, 0.85);
  color: #f6f3ee;
  font-size: 10px;
  font-weight: 500;
}

.peek-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e29b68;
}

.peek-card-edge {
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  width: 184px;
  height: 36px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(135deg, #c97349, #8d4525);
  box-shadow: 0 -4px 14px rgba(28, 22, 19, 0.14);
}

.peek-slot {
  width: 28px;
  height: 4px;
  border-radius: 99px;
  background: rgba(246, 243, 238, 0.8);
  margin: 8px auto 0;
}

/* ==========================================================================
   SECTION 1 — 420vh SCROLL-CHOREOGRAPHED COFFEE RITUAL STAGE
   ========================================================================== */
.ritual-section {
  position: relative;
  height: 380vh;
  background: var(--bg-canvas);
}

.ritual-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgb(246, 243, 238);
  will-change: background-color;
}

/* Top Dropping Roastery Ribbon (Act 2) */
.ritual-ribbon {
  position: absolute;
  top: 0;
  left: 50%;
  width: 34px;
  height: 22vh;
  transform: translate(-50%, -110%);
  background: linear-gradient(90deg, #a84d2c 0%, #cf6d47 45%, #9a4424 100%);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
  z-index: 8;
  will-change: transform, opacity;
  opacity: 0;
}

.ritual-ribbon-clasp {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 10px;
  border-radius: 4px;
  background: linear-gradient(180deg, #e7ded4, #b5a89a);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

/* Central Device Stage */
.ritual-stage-center {
  position: relative;
  z-index: 10;
  margin-top: -54px;
  perspective: 1200px;
}

.ritual-device {
  position: relative;
  width: 288px;
  height: 560px;
  border-radius: 48px;
  padding: 10px;
  background: linear-gradient(160deg, #2d241f 0%, #14100d 55%, #231b17 100%);
  box-shadow:
    0 34px 70px rgba(17, 13, 11, 0.24),
    0 4px 12px rgba(17, 13, 11, 0.14),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.14);
  will-change: transform;
  transform-origin: center center;
}

.device-topbar {
  position: absolute;
  top: 22px;
  left: 26px;
  right: 26px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: opacity 0.3s ease;
}

.device-time {
  font-size: 12px;
  font-weight: 600;
  color: var(--bg-ink);
}

.device-island {
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 78px;
  height: 22px;
  border-radius: 99px;
  background: #0d0a08;
}

.device-mode-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 99px;
  border: none;
  background: rgba(28, 22, 19, 0.85);
  color: #f6f3ee;
  font-size: 10.5px;
  font-weight: 500;
  cursor: pointer;
}

.mode-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e29b68;
}

.device-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 38px;
  background: #f5eee6;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background-color 0.35s ease;
}

.device-ambient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(214, 126, 84, 0.28), transparent 72%);
  transition: background 0.45s ease, opacity 0.35s ease;
}

/* Inner ribbon inside dark screen during Act 2 */
.inner-ribbon {
  position: absolute;
  top: 0;
  left: 50%;
  width: 30px;
  height: 120px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #b35330, #d8744d 50%, #a54827);
  z-index: 6;
  opacity: 0;
  pointer-events: none;
}

/* Roast Card inside Device */
.device-roast-card {
  position: relative;
  z-index: 8;
  width: 212px;
  height: 344px;
  border-radius: 22px;
  overflow: hidden;
  background: #1b1410;
  box-shadow: 0 22px 44px rgba(20, 14, 10, 0.24);
  transform-origin: 50% 10px;
  will-change: transform, opacity;
}

.card-diecut-slot {
  position: absolute;
  top: 13px;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 6px;
  border-radius: 99px;
  background: rgba(246, 243, 238, 0.88);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
  z-index: 6;
}

.card-diecut-slot.slot-dark {
  background: rgba(28, 22, 19, 0.12);
  box-shadow: none;
}

.card-diecut-slot.slot-muted {
  background: rgba(28, 22, 19, 0.1);
  box-shadow: none;
}

.device-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.device-card-plate {
  position: absolute;
  inset: auto 0 0 0;
  padding: 15px 16px 16px;
  background: linear-gradient(180deg, rgba(24, 17, 13, 0.35), rgba(20, 14, 11, 0.82));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #f9f6f1;
}

.device-card-name {
  font-size: 20px;
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.device-card-sub {
  font-size: 10.5px;
  opacity: 0.78;
  margin-top: 3px;
}

.device-card-pills {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.micro-pill {
  font-size: 9.5px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

/* Pocket Peek Header (Act 3) */
.pocket-peek-header {
  position: absolute;
  top: 48px;
  left: 18px;
  right: 18px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(28, 22, 19, 0.1);
  display: flex;
  align-items: center;
  gap: 11px;
  opacity: 0;
  transform: translateY(-10px);
  z-index: 12;
  pointer-events: none;
}

.pocket-peek-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--apricot);
  flex-shrink: 0;
}

.pocket-peek-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--bg-ink);
  letter-spacing: -0.02em;
}

.pocket-peek-sub {
  font-size: 11px;
  color: var(--muted-foreground);
}

/* Device Pager Dots */
.device-pager {
  position: absolute;
  bottom: 42px;
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
}

.dp-dot {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  border: none;
  background: rgba(28, 22, 19, 0.24);
  cursor: pointer;
  transition: width 0.3s var(--ease-out-expo), background 0.25s ease;
}

.dp-dot.is-active {
  width: 20px;
  background: var(--bg-ink);
}

.device-brand-foot {
  position: absolute;
  bottom: 18px;
  font-size: 10px;
  color: rgba(28, 22, 19, 0.45);
  letter-spacing: 0.01em;
}

/* Stitched Kraft Coffee Bag Pocket (Act 3) */
.kraft-pocket {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: min(560px, 90vw);
  height: 45vh;
  transform: translate(-50%, 105%);
  z-index: 16;
  pointer-events: none;
  will-change: transform;
}

.kraft-pocket-lip {
  width: 100%;
  height: 28px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(180deg, #d7c7b2 0%, #ccb9a1 100%);
  box-shadow: 0 -10px 32px rgba(45, 31, 20, 0.14);
  border-top: 1px solid rgba(255, 255, 255, 0.45);
}

.kraft-stitch-line {
  width: 100%;
  height: 0;
  border-top: 2px dashed rgba(105, 81, 60, 0.42);
  margin-top: -10px;
  position: relative;
  z-index: 2;
}

.kraft-pocket-body {
  width: 100%;
  height: calc(100% - 18px);
  margin-top: 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.22), transparent 60%),
    linear-gradient(180deg, #cbb89f 0%, #bda689 100%);
  border-left: 1px solid rgba(105, 81, 60, 0.16);
  border-right: 1px solid rgba(105, 81, 60, 0.16);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 34px;
  gap: 22px;
}

.kraft-valve {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(94, 72, 52, 0.28);
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  box-shadow: inset 0 2px 4px rgba(68, 49, 34, 0.15);
}

.valve-ring {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px dashed rgba(94, 72, 52, 0.35);
}

.kraft-stamp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(74, 54, 38, 0.55);
}

/* Synchronized Story Captions */
.ritual-captions {
  position: absolute;
  bottom: 42px;
  left: 50%;
  transform: translateX(-50%);
  width: min(560px, 90vw);
  text-align: center;
  z-index: 22;
  min-height: 92px;
}

.ritual-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.55s var(--ease-out-expo);
  pointer-events: none;
}

.ritual-caption.is-active {
  opacity: 1;
  transform: translateY(0);
}

.ritual-caption h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 10px;
}

.ritual-caption p {
  font-size: 15.5px;
  line-height: 1.5;
  max-width: 440px;
  opacity: 0.76;
}

#caption0 { color: var(--bg-ink); }
#caption1 { color: #f6f3ee; }
#caption2 { color: var(--bg-ink); }

/* Subtle Right-Edge Progress Indicator */
.ritual-progress-rail {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 24;
}

.rail-seg {
  width: 3px;
  height: 22px;
  border-radius: 99px;
  background: rgba(120, 105, 92, 0.28);
  transition: background 0.3s ease, height 0.3s ease;
}

.rail-seg.is-active {
  height: 36px;
  background: var(--apricot);
}

/* ==========================================================================
   SECTION 2 — INTERACTIVE 3D ORIGIN CAROUSEL + DYNAMIC AMBIENT LIGHTING
   ========================================================================== */
.carousel-section {
  position: relative;
  padding: 130px 0 120px;
  background: var(--bg-canvas);
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.carousel-ambient-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 68% 58% at 50% 54%, rgba(226, 146, 104, 0.34) 0%, rgba(246, 243, 238, 0) 74%);
  transition: background 0.7s ease;
  z-index: 1;
}

.carousel-header {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
  padding: 0 24px;
}

.section-heading {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.034em;
  line-height: 1.04;
  color: var(--bg-ink);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  color: var(--muted-foreground);
  line-height: 1.55;
  letter-spacing: -0.01em;
}

/* 3D Deck Stage */
.deck-viewport {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 556px;
  perspective: 1400px;
  touch-action: pan-y;
  user-select: none;
}

.deck-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.origin-card-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 318px;
  height: 516px;
  margin-left: -159px;
  margin-top: -258px;
  transform-style: preserve-3d;
  transition:
    transform 0.68s var(--ease-out-expo),
    opacity 0.55s ease,
    filter 0.55s ease;
  cursor: pointer;
  will-change: transform;
}

.origin-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.72s var(--ease-out-expo);
}

.origin-card-wrap.is-flipped .origin-card-inner {
  transform: rotateY(180deg);
}

.card-face {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 28px 64px rgba(28, 22, 19, 0.16), 0 4px 14px rgba(28, 22, 19, 0.08);
}

.card-front {
  background: #1d1612;
}

.origin-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out-expo);
}

.origin-card-wrap.is-active:hover .origin-photo {
  transform: scale(1.03);
}

.origin-tag-badge {
  position: absolute;
  top: 28px;
  left: 20px;
  padding: 5px 11px;
  border-radius: 99px;
  background: rgba(24, 17, 13, 0.46);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Frosted Glass Bottom Tasting Nameplate (Badgey signature) */
.origin-glass-plate {
  position: absolute;
  inset: auto 0 0 0;
  padding: 20px 20px 20px;
  backdrop-filter: blur(22px) saturate(135%);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.plate-apricot {
  background: linear-gradient(180deg, rgba(66, 36, 22, 0.46), rgba(42, 22, 14, 0.84));
  color: #fffaf5;
}

.plate-caramel {
  background: linear-gradient(180deg, rgba(247, 238, 227, 0.78), rgba(242, 229, 212, 0.94));
  color: var(--bg-ink);
}

.plate-mocha {
  background: linear-gradient(180deg, rgba(26, 18, 14, 0.56), rgba(18, 12, 9, 0.88));
  color: #faf5ef;
}

.origin-name {
  font-size: 30px;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.origin-notes {
  font-size: 13px;
  opacity: 0.84;
  margin-top: 4px;
  line-height: 1.35;
}

.origin-price {
  font-size: 11.5px;
  opacity: 0.65;
  margin-top: 5px;
}

.plate-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.card-flip-btn,
.card-edit-btn {
  height: 34px;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  transition: transform 0.2s ease, background 0.2s ease;
}

.card-flip-btn {
  width: 34px;
  background: rgba(255, 255, 255, 0.2);
  color: inherit;
  backdrop-filter: blur(8px);
}

.plate-caramel .card-flip-btn {
  background: rgba(28, 22, 19, 0.1);
}

.card-edit-btn {
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.22);
  color: inherit;
  backdrop-filter: blur(8px);
}

.plate-caramel .card-edit-btn {
  background: rgba(28, 22, 19, 0.12);
}

.card-flip-btn:hover,
.card-edit-btn:hover {
  transform: scale(1.06);
}

/* BACK FACE (3D Flip — Brew Spec & Flavor Bars) */
.card-back {
  transform: rotateY(180deg);
  background: #ffffff;
  color: var(--bg-ink);
  border: 1px solid rgba(28, 22, 19, 0.08);
  padding: 50px 24px 24px;
  display: flex;
  flex-direction: column;
}

.back-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #f2ece4;
  color: var(--muted-foreground);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.back-close-btn:hover {
  background: var(--bg-ink);
  color: #fff;
}

.back-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.back-kicker {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
  margin-bottom: 6px;
}

.back-title {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.back-farm {
  font-size: 12.5px;
  color: var(--muted-foreground);
  margin-top: 4px;
  margin-bottom: 22px;
}

.profile-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.bar-row {
  display: grid;
  grid-template-columns: 66px 1fr 56px;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted-foreground);
}

.bar-val {
  text-align: right;
  font-weight: 500;
  color: var(--bg-ink);
}

.bar-track {
  height: 6px;
  border-radius: 99px;
  background: #efe9e0;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 99px;
}

.fill-apricot { background: linear-gradient(90deg, #e5986e, #c9683d); }
.fill-caramel { background: linear-gradient(90deg, #dfb06d, #b8732d); }
.fill-mocha { background: linear-gradient(90deg, #8e5f43, #52301e); }

.brew-recipe-box {
  background: #f8f4ee;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: auto;
}

.recipe-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted-foreground);
  margin-bottom: 10px;
}

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  text-align: center;
}

.recipe-grid strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--bg-ink);
  letter-spacing: -0.02em;
}

.recipe-grid span {
  display: block;
  font-size: 10px;
  color: var(--muted-foreground);
  margin-top: 2px;
}

.back-order-btn {
  margin-top: 18px;
  width: 100%;
  height: 44px;
  border-radius: 99px;
  border: none;
  background: var(--bg-ink);
  color: #f6f3ee;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.back-order-btn:hover {
  background: #30241e;
  transform: translateY(-1px);
}

/* + Trio Box Dashed Card (Badgey "+ New Badge" counterpart) */
.card-plus-face {
  background: rgba(255, 255, 255, 0.72);
  border: 2px dashed var(--border-strong);
  box-shadow: 0 18px 42px rgba(28, 22, 19, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.card-plus-face:hover {
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--apricot);
}

.plus-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.plus-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--bg-ink);
  font-size: 30px;
  font-weight: 300;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}

.plus-title {
  font-size: 24px;
  font-weight: 300;
  letter-spacing: -0.025em;
}

.plus-desc {
  font-size: 13.5px;
  color: var(--muted-foreground);
  line-height: 1.5;
  max-width: 220px;
}

.plus-price {
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 99px;
  background: var(--bg-ink);
  color: #f6f3ee;
}

/* Floating Capsule Pager */
.carousel-controls {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 26px;
  padding: 0 24px;
}

.capsule-pager {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 26px rgba(28, 22, 19, 0.08), 0 1px 2px rgba(28, 22, 19, 0.06);
}

.cp-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  border: none;
  background: #cfc6ba;
  cursor: pointer;
  transition: width 0.35s var(--ease-out-expo), background 0.25s ease;
}

.cp-dot.is-active {
  width: 22px;
  background: var(--bg-ink);
}

.cp-plus {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #9e9386;
  font-size: 16px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.cp-plus.is-active {
  color: var(--bg-ink);
  font-weight: 600;
  transform: scale(1.15);
}

.carousel-caption {
  font-size: 14px;
  color: var(--muted-foreground);
  text-align: center;
}

/* ==========================================================================
   SECTION 3 — "FIRST CUP. ON US." DARK ESPRESSO PROMO DROP
   ========================================================================== */
.promo-section {
  position: relative;
  padding: 136px 24px 132px;
  background: var(--bg-roast-black);
  color: #ffffff;
  overflow: hidden;
}

.promo-container {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.promo-eyebrow {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(246, 243, 238, 0.52);
  margin-bottom: 16px;
}

.promo-heading {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: #faf6f0;
  margin-bottom: 18px;
}

.promo-subtitle {
  max-width: 470px;
  margin: 0 auto 52px;
  font-size: 16.5px;
  line-height: 1.55;
  color: rgba(246, 243, 238, 0.68);
}

/* Glowing Vertical Pass Card */
.aurora-card {
  position: relative;
  width: min(334px, 100%);
  height: 552px;
  margin: 0 auto 30px;
  border-radius: 30px;
  overflow: hidden;
  background: #120d0a;
  border: 1px solid rgba(255, 240, 224, 0.14);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.7), 0 0 80px rgba(206, 122, 66, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 58px 28px 34px;
}

.aurora-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(52px);
  opacity: 0.72;
  animation: cremaDrift 12s ease-in-out infinite alternate;
}

.blob-gold {
  width: 260px;
  height: 220px;
  top: 40px;
  left: -60px;
  background: radial-gradient(circle, #e59a54 0%, transparent 72%);
}

.blob-copper {
  width: 240px;
  height: 240px;
  top: 110px;
  right: -70px;
  background: radial-gradient(circle, #c85c34 0%, transparent 72%);
  animation-delay: -4s;
}

.blob-ember {
  width: 280px;
  height: 200px;
  bottom: -40px;
  left: 30px;
  background: radial-gradient(circle, #9e472d 0%, transparent 72%);
  animation-delay: -7s;
}

.aurora-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 22% 14%, rgba(255, 244, 230, 0.8), transparent),
    radial-gradient(1px 1px at 78% 18%, rgba(255, 244, 230, 0.7), transparent),
    radial-gradient(1.5px 1.5px at 84% 48%, rgba(255, 232, 200, 0.65), transparent),
    radial-gradient(1px 1px at 14% 56%, rgba(255, 244, 230, 0.6), transparent),
    radial-gradient(1.5px 1.5px at 32% 76%, rgba(255, 232, 200, 0.55), transparent),
    radial-gradient(1px 1px at 72% 84%, rgba(255, 244, 230, 0.5), transparent);
}

@keyframes cremaDrift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(22px, -18px) scale(1.1); }
  100% { transform: translate(-16px, 24px) scale(0.95); }
}

.aurora-slot {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 7px;
  border-radius: 99px;
  background: rgba(10, 8, 7, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 4;
}

.aurora-circle-wrap {
  position: relative;
  z-index: 4;
  width: 204px;
  height: 204px;
  border-radius: 50%;
  padding: 3px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

.aurora-circle-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 62%;
}

.aurora-form {
  position: relative;
  z-index: 4;
  width: 100%;
}

.aurora-email-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 245, 235, 0.36);
  padding: 10px 4px;
  text-align: center;
  font-size: 20px;
  font-weight: 300;
  color: #ffffff;
  outline: none;
  transition: border-color 0.25s ease;
}

.aurora-email-input::placeholder {
  color: rgba(255, 245, 235, 0.55);
}

.aurora-email-input:focus {
  border-bottom-color: #ffffff;
}

.aurora-email-input.is-invalid {
  border-bottom-color: #ff8a6b;
}

.aurora-card-meta {
  font-size: 12px;
  color: rgba(255, 245, 235, 0.62);
  margin: 12px 0 22px;
}

.aurora-submit-btn {
  height: 44px;
  padding: 0 28px;
  border-radius: 999px;
  border: none;
  background: #faf6f0;
  color: var(--bg-ink);
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.aurora-submit-btn:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

.aurora-success-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.aurora-success-state[hidden] {
  display: none;
}

.pass-issued-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(229, 154, 84, 0.24);
  color: #f7c38d;
}

.pass-code-display {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.pass-success-note {
  font-size: 12.5px;
  color: rgba(255, 245, 235, 0.72);
  margin-bottom: 6px;
}

.promo-fineprint {
  font-size: 12.5px;
  color: rgba(246, 243, 238, 0.44);
}

.promo-fineprint a {
  color: rgba(246, 243, 238, 0.72);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   SECTION 4 — "GOOD TO KNOW." FAQ ACCORDION
   ========================================================================== */
.faq-section {
  padding: 126px 24px 120px;
  background: var(--bg-canvas);
  border-top: 1px solid var(--border);
}

.faq-container {
  max-width: 640px;
  margin: 0 auto;
}

.faq-heading {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 300;
  letter-spacing: -0.032em;
  line-height: 1.08;
  color: var(--bg-ink);
  margin-bottom: 44px;
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-trigger {
  width: 100%;
  padding: 22px 0;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--bg-ink);
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.faq-trigger:hover {
  opacity: 0.72;
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--muted-foreground);
  transition: transform 0.35s var(--ease-out-expo);
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s var(--ease-out-expo);
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel-inner {
  overflow: hidden;
}

.faq-panel-inner p {
  padding-bottom: 22px;
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--muted-foreground);
}

.faq-footnote {
  margin-top: 32px;
  font-size: 14px;
  color: var(--muted-foreground);
}

.faq-footnote a {
  color: var(--bg-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   SECTION 5 — TERRACOTTA CREMA PENDULUM CTA
   ========================================================================== */
.pendulum-section {
  position: relative;
  padding: 0 24px 116px;
  background:
    radial-gradient(ellipse 75% 55% at 50% 25%, rgba(236, 152, 102, 0.28), transparent 72%),
    var(--bg-accent);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.pendulum-stage {
  position: relative;
  width: 100%;
  height: 490px;
  display: flex;
  justify-content: center;
}

.pendulum-pivot {
  position: relative;
  transform-origin: 50% 0%;
  display: flex;
  flex-direction: column;
  align-items: center;
  will-change: transform;
}

.pendulum-strap {
  width: 34px;
  height: 118px;
  background: linear-gradient(90deg, #271b15 0%, #3d2c23 50%, #221712 100%);
  box-shadow: 0 8px 20px rgba(28, 16, 10, 0.26);
}

.pendulum-clasp {
  width: 44px;
  height: 12px;
  border-radius: 4px;
  margin-top: -3px;
  background: linear-gradient(180deg, #ede5dc, #bfb2a4);
  box-shadow: 0 3px 8px rgba(28, 16, 10, 0.3);
  z-index: 3;
}

.pendulum-card {
  position: relative;
  width: 232px;
  height: 342px;
  margin-top: -6px;
  border-radius: 24px;
  overflow: hidden;
  background: #1b1410;
  box-shadow: 0 30px 64px rgba(45, 19, 8, 0.34), 0 4px 14px rgba(45, 19, 8, 0.2);
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.pendulum-card:active {
  cursor: grabbing;
}

.pendulum-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.pendulum-plate {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 18px 19px;
  text-align: left;
  background: linear-gradient(180deg, rgba(24, 17, 13, 0.34), rgba(20, 14, 10, 0.84));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #fffaf5;
}

.pendulum-title {
  font-size: 22px;
  font-weight: 300;
  letter-spacing: -0.025em;
}

.pendulum-sub {
  font-size: 12px;
  opacity: 0.78;
  margin-top: 2px;
}

.push-tag-btn {
  margin-top: 12px;
  margin-bottom: 36px;
  padding: 7px 16px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.push-tag-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.pendulum-copy {
  max-width: 540px;
}

.pendulum-heading {
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-bottom: 16px;
}

.pendulum-subtitle {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 250, 245, 0.84);
  margin-bottom: 32px;
}

.pendulum-cta-btn {
  height: 50px;
  padding: 0 30px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  background: var(--bg-ink);
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(42, 18, 8, 0.24);
  transition: transform 0.22s var(--ease-out-expo), background 0.2s ease, color 0.2s ease;
}

.pendulum-cta-btn:hover {
  background: #ffffff;
  color: var(--bg-ink);
  transform: translateY(-2px);
}

/* ==========================================================================
   FOOTER — Clean Badgey 3x2 Link Grid
   ========================================================================== */
.site-footer {
  background: var(--bg-canvas);
  border-top: 1px solid var(--border);
  padding: 46px 28px 36px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
  padding-bottom: 34px;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-wordmark {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.footer-meta {
  font-size: 13.5px;
  color: var(--muted-foreground);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, auto));
  gap: 12px 32px;
  font-size: 13.5px;
  color: var(--muted-foreground);
}

.footer-links a:hover {
  color: var(--bg-ink);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  font-size: 12.5px;
  color: var(--muted-foreground);
}

/* ==========================================================================
   INTERACTIVE SLIDE-OVER ORDER DRAWER
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 13, 11, 0.45);
  backdrop-filter: blur(6px);
  z-index: 90;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.is-open {
  opacity: 1;
}

.order-drawer {
  position: fixed;
  top: 14px;
  right: 14px;
  bottom: 14px;
  width: min(440px, calc(100vw - 28px));
  border-radius: 26px;
  background: var(--bg-canvas);
  color: var(--bg-ink);
  box-shadow: -16px 0 60px rgba(17, 13, 11, 0.25);
  z-index: 100;
  display: flex;
  flex-direction: column;
  transform: translateX(calc(100% + 28px));
  transition: transform 0.45s var(--ease-out-expo);
  overflow: hidden;
}

.order-drawer.is-open {
  transform: translateX(0);
}

.drawer-header {
  padding: 24px 24px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.drawer-eyebrow {
  font-size: 11.5px;
  color: var(--muted-foreground);
  margin-bottom: 4px;
}

.drawer-title {
  font-size: 24px;
  font-weight: 300;
  letter-spacing: -0.025em;
}

.drawer-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--surface);
  color: var(--bg-ink);
  font-size: 20px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}

.drawer-close:hover {
  background: var(--border-strong);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

.drawer-section-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted-foreground);
  margin-bottom: 10px;
}

.drawer-products {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.drawer-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.opt-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  background: #ffffff;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.drawer-option input:checked + .opt-card {
  border-color: var(--bg-ink);
  box-shadow: 0 6px 18px rgba(28, 22, 19, 0.08);
}

.opt-thumb {
  width: 48px;
  height: 48px;
  border-radius: 11px;
  object-fit: cover;
  flex-shrink: 0;
}

.opt-info {
  flex: 1;
  min-width: 0;
}

.opt-name {
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 7px;
}

.opt-tag {
  font-size: 10px;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 99px;
  background: #f2dfd2;
  color: #9e4722;
}

.opt-sub {
  font-size: 12px;
  color: var(--muted-foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.opt-price {
  font-size: 14px;
  font-weight: 600;
}

.grind-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 22px;
}

.grind-pill {
  height: 38px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: #ffffff;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.grind-pill.is-active {
  background: var(--bg-ink);
  color: #f6f3ee;
  border-color: var(--bg-ink);
}

.drawer-row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 4px 10px;
}

.qty-stepper button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: var(--surface);
  cursor: pointer;
  font-size: 15px;
}

.qty-stepper span {
  font-size: 14px;
  font-weight: 600;
  min-width: 16px;
  text-align: center;
}

.drawer-pickup-note {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted-foreground);
  background: var(--surface);
  padding: 12px 14px;
  border-radius: 14px;
}

.drawer-footer {
  padding: 18px 24px 22px;
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.drawer-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 15px;
}

.drawer-total-row strong {
  font-size: 20px;
  font-weight: 600;
}

.drawer-submit-btn {
  width: 100%;
  height: 48px;
  border-radius: 14px;
  border: none;
  background: var(--bg-ink);
  color: #f6f3ee;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
}

.drawer-submit-btn:hover {
  background: #2f231d;
}

.drawer-confirm {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
}

.drawer-confirm[hidden] {
  display: none;
}

.confirm-check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-ink);
  color: #f6f3ee;
  font-size: 24px;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}

.drawer-confirm h3 {
  font-size: 26px;
  font-weight: 300;
  letter-spacing: -0.025em;
}

.drawer-confirm p {
  font-size: 14.5px;
  color: var(--muted-foreground);
  max-width: 300px;
}

.confirm-meta {
  font-size: 12px;
  color: var(--muted-foreground);
  background: var(--surface);
  padding: 8px 14px;
  border-radius: 99px;
  margin-bottom: 12px;
}

/* ==========================================================================
   RESPONSIVE REFINEMENTS
   ========================================================================== */
@media (max-width: 1100px) {
  .fc-left-2, .fc-right-2, .fc-left-4, .fc-right-4 {
    display: none;
  }
  .fc-left-1 { left: -24px; transform: rotate(-11deg) scale(0.84); }
  .fc-right-1 { right: -24px; transform: rotate(9deg) scale(0.84); }
  .fc-left-3 { left: 16px; transform: rotate(6deg) scale(0.76); }
  .fc-right-3 { right: 16px; transform: rotate(-8deg) scale(0.76); }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 100svh;
    padding-top: 120px;
    padding-bottom: 155px;
  }
  .hero-cards-stage {
    opacity: 0.35;
  }
  .fc-left-3, .fc-right-3 {
    display: none;
  }
  .ritual-device {
    width: 254px;
    height: 492px;
    border-radius: 42px;
  }
  .device-roast-card {
    width: 186px;
    height: 300px;
  }
  .ritual-progress-rail {
    display: none;
  }
  .origin-card-wrap {
    width: 284px;
    height: 472px;
    margin-left: -142px;
    margin-top: -236px;
  }
  .deck-viewport {
    height: 510px;
  }
  .footer-top {
    flex-direction: column;
  }
  .footer-links {
    grid-template-columns: repeat(2, minmax(120px, auto));
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora-blob { animation: none; }
}
