/* ==========================================================================
   Speakeasy: Art Deco Editorial Styles for Marketing & Legal Surfaces
   Midnight Navy (#020f20), Warm Deco Gold (#ebbc72), Refined Typographic Geometry
   ========================================================================== */

/* Page Shell & Background Texture */
html:has(.marketing-body),
html:has(.legal-body) {
  height: auto !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

body.marketing-body,
body.legal-body {
  height: auto !important;
  min-height: 100vh !important;
  overflow: visible !important;
  background-color: var(--color-bg, #020f20);
  color: var(--color-text, #ffffff);
  font-family: var(--font-sans, 'DM Sans', sans-serif);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Subtle Art Deco Geometric Ambient Radial Glow */
.marketing-body::before,
.legal-body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  max-width: 100vw;
  height: 600px;
  background: radial-gradient(circle at 50% 15%, rgba(235, 188, 114, 0.08) 0%, rgba(2, 15, 32, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

/* Header & Top Brand Bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 72px;
  background: rgba(2, 15, 32, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border-subtle, rgba(235, 188, 114, 0.22));
}

.site-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  transition: opacity var(--transition-fast, 150ms ease);
}

.site-brand-link:hover {
  opacity: 0.9;
}

.site-brand-mark {
  width: 32px;
  height: 32px;
  color: var(--color-accent, #ebbc72);
}

.site-brand-title {
  font-family: var(--font-display, 'Gurmukhi MN', Georgia, serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-bright, #ffffff);
  line-height: 1;
}

.site-brand-subtitle {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent, #ebbc72);
  font-weight: 600;
  margin-top: 3px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav-link {
  color: var(--color-text-muted, #d5dde6);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color var(--transition-fast, 150ms ease);
}

.site-nav-link:hover {
  color: var(--color-accent, #ebbc72);
}

.site-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-accent, #ebbc72);
  color: var(--color-on-accent, #192331);
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-sm, 4px);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--color-accent-light, #f3cf8e);
  box-shadow: var(--shadow-sm, 0 1px 4px rgba(10, 18, 28, 0.4));
  transition: all var(--transition-fast, 150ms ease);
}

.site-nav-cta:hover {
  background: var(--color-accent-light, #f3cf8e);
  box-shadow: 0 0 16px var(--color-accent-glow, rgba(235, 188, 114, 0.25));
  transform: translateY(-1px);
}

/* ==========================================================================
   Marketing Hero Section — Editorial Art Deco
   ========================================================================== */
.hero-section {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6.5rem 2rem 5rem;
  text-align: center;
}

.hero-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  color: var(--color-accent, #ebbc72);
  margin-bottom: 2.25rem;
  opacity: 0.85;
}

.hero-ornament span {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border-active, #ebbc72));
}

.hero-ornament span:last-child {
  background: linear-gradient(90deg, var(--color-border-active, #ebbc72), transparent);
}

.hero-title {
  font-family: var(--font-display, 'Gurmukhi MN', Georgia, serif);
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--color-text-bright, #ffffff);
  margin-bottom: 1.65rem;
}

.hero-tagline {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--color-text-secondary, #f0eae1);
  max-width: 480px;
  margin: 0 auto 3rem;
  line-height: 1.7;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent, #ebbc72);
  color: var(--color-on-accent, #192331);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 2.75rem;
  border-radius: var(--radius-sm, 4px);
  text-decoration: none;
  border: 1px solid var(--color-accent-light, #f3cf8e);
  box-shadow: 0 4px 20px rgba(10, 18, 28, 0.4);
  transition: all var(--transition-fast, 150ms ease);
}

.btn-hero-primary:hover {
  background: var(--color-accent-light, #f3cf8e);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(235, 188, 114, 0.35);
}

.content-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent, #ebbc72);
  margin-bottom: 0.6rem;
}

.showcase-actions {
  margin-top: 1.5rem;
}

.spec-link {
  color: var(--color-accent, #ebbc72);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color var(--transition-fast, 150ms ease);
}

.spec-link:hover {
  color: var(--color-accent-light, #f3cf8e);
  text-decoration: underline;
}

.feature-index {
  font-family: var(--font-display, 'Gurmukhi MN', Georgia, serif);
  font-size: 1.4rem;
  color: var(--color-accent, #ebbc72);
  margin-bottom: 0.85rem;
  opacity: 0.75;
}

/* ==========================================================================
   Art Deco Vignette / Showcase Section
   ========================================================================== */
.showcase-section {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 2rem 5rem;
}

.showcase-frame {
  background: var(--color-surface, #2c3c54);
  border: 1px solid var(--color-border, rgba(235, 188, 114, 0.45));
  border-radius: var(--radius-lg, 10px);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg, 0 14px 34px rgba(10, 18, 28, 0.65));
  position: relative;
}

/* Art Deco Corner Ornaments */
.showcase-frame::before,
.showcase-frame::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
  border-color: var(--color-accent, #ebbc72);
  border-style: solid;
}

.showcase-frame::before {
  top: 8px;
  left: 8px;
  border-width: 2px 0 0 2px;
}

.showcase-frame::after {
  bottom: 8px;
  right: 8px;
  border-width: 0 2px 2px 0;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.showcase-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt, #1a2433);
  border: 1px solid var(--color-border-subtle, rgba(235, 188, 114, 0.22));
  border-radius: var(--radius-md, 6px);
  padding: 2.25rem 1.75rem;
}

.showcase-glass-mount {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}

.showcase-visual .speakeasy-glass-svg {
  width: 100%;
  max-width: 210px;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.5));
  margin-bottom: 0.85rem;
}

/* Fluid stack presentation modes (matching app counter view) */
.showcase-visual .fluid-stack .fluid-layered-group,
.showcase-visual .fluid-stack .fluid-blended-group {
  transition: opacity 550ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 650ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 650ms ease;
  transform-origin: 120px 200px;
}

.showcase-visual .fluid-stack[data-mode="layered"] .fluid-layered-group {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
  filter: none;
}

.showcase-visual .fluid-stack[data-mode="layered"] .fluid-blended-group {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96) translateY(6px);
  filter: blur(4px);
}

.showcase-visual .fluid-stack[data-mode="blended"] .fluid-layered-group {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.04) translateY(-4px);
  filter: blur(5px);
}

.showcase-visual .fluid-stack[data-mode="blended"] .fluid-blended-group {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
  filter: none;
}

/* Glassware swirl & vortex shake keyframes (copied from main app counter view) */
@keyframes cocktailSwirlForward {
  0% {
    transform: rotate(0deg) scale(1);
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35));
  }

  15% {
    transform: rotate(-3.5deg) scale(1.025) translateY(-3px);
  }

  30% {
    transform: rotate(4deg) scale(1.04) translateY(-1px);
    filter: drop-shadow(0 14px 28px rgba(0, 150, 199, 0.45));
  }

  48% {
    transform: rotate(-3deg) scale(1.02);
  }

  65% {
    transform: rotate(2deg) scale(1.01) translateY(-1px);
  }

  82% {
    transform: rotate(-1deg) scale(1.005);
  }

  100% {
    transform: rotate(0deg) scale(1) translateY(0);
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35));
  }
}

@keyframes cocktailSwirlBackward {
  0% {
    transform: rotate(0deg) scale(1);
  }

  20% {
    transform: rotate(3deg) scale(1.02) translateY(-2px);
  }

  45% {
    transform: rotate(-3.5deg) scale(1.03);
  }

  70% {
    transform: rotate(1.5deg) scale(1.01);
  }

  100% {
    transform: rotate(0deg) scale(1) translateY(0);
  }
}

@keyframes fluidVortexDistort {
  0% {
    filter: none;
    transform: scale(1);
  }

  25% {
    filter: var(--swirl-filter, none);
    transform: scale(1.05) rotate(4deg);
  }

  50% {
    filter: brightness(1.28) contrast(1.15) saturate(1.3);
    transform: scale(1.02) rotate(-3deg);
  }

  75% {
    filter: brightness(1.1) saturate(1.15);
    transform: scale(1.01) rotate(1deg);
  }

  100% {
    filter: none;
    transform: scale(1) rotate(0deg);
  }
}

.showcase-visual .speakeasy-glass-svg.is-blending-forward {
  animation: cocktailSwirlForward 850ms cubic-bezier(0.25, 1, 0.3, 1) forwards;
}

.showcase-visual .speakeasy-glass-svg.is-blending-forward .fluid-stack {
  animation: fluidVortexDistort 850ms ease-in-out forwards;
}

.showcase-visual .speakeasy-glass-svg.is-blending-backward {
  animation: cocktailSwirlBackward 750ms cubic-bezier(0.25, 1, 0.3, 1) forwards;
}

/* Glass View Toggle (Layers vs Mixed) */
.showcase-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}

.showcase-toggle {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 3px;
  gap: 2px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
}

.showcase-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  border: none;
  color: var(--color-text-muted, #d5dde6);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 180ms ease;
  user-select: none;
}

.showcase-toggle-btn:hover:not(.active) {
  color: var(--color-text-bright, #ffffff);
  background: rgba(255, 255, 255, 0.06);
}

.showcase-toggle-btn.active {
  background: var(--color-accent, #ebbc72);
  color: var(--color-on-accent, #192331);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.showcase-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.84rem;
  color: var(--color-text-muted, #d5dde6);
  margin-bottom: 0.35rem;
}

.showcase-stats-row strong {
  color: var(--color-text-bright, #ffffff);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.showcase-stats-divider {
  color: var(--color-text-faint, #9fb0c4);
  font-size: 0.75rem;
}

.showcase-drink-caption {
  font-family: var(--font-display, 'Gurmukhi MN', Georgia, serif);
  font-size: 1.8rem;
  color: white;
  letter-spacing: 0.06em;
  font-weight: 600;
  text-transform: uppercase;
}

.showcase-drink-sub {
  font-size: 0.75rem;
  color: var(--color-text-faint, #9fb0c4);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 0.2rem;
  margin-bottom: 1rem;
}

.showcase-content h2 {
  font-family: var(--font-display, 'Gurmukhi MN', Georgia, serif);
  font-size: 2.1rem;
  color: var(--color-text-bright, #ffffff);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.showcase-content p {
  color: var(--color-text-secondary, #f0eae1);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.showcase-recipe-editorial {
  margin: 1rem 0 1rem;
  min-width: 100%;
}

.showcase-recipe-editorial .editorial-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--color-border-subtle, rgba(235, 188, 114, 0.22));
}

.showcase-recipe-editorial .editorial-section-title {
  font-family: var(--font-display, 'Gurmukhi MN', Georgia, serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-accent-light, #f3cf8e);
  margin: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.showcase-recipe-editorial .specs-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.showcase-recipe-editorial .spec-row {
  display: grid;
  grid-template-columns: 105px 1fr;
  align-items: center;
  gap: 0.75rem;
  padding: 0.3rem 0.25rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-border-subtle, rgba(235, 188, 114, 0.22));
  border-radius: 0;
  transition: background var(--transition-fast, 150ms ease);
}

.showcase-recipe-editorial .spec-row:hover {
  background: rgba(245, 240, 230, 0.03);
}

.showcase-recipe-editorial .spec-amount {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text-bright, #ffffff);
  letter-spacing: -0.01em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
}

.showcase-recipe-editorial .spec-unit {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-accent-light, #f3cf8e);
  font-family: var(--font-display, 'Gurmukhi MN', Georgia, serif);
  margin-left: 0.25rem;
}

.showcase-recipe-editorial .spec-ingredient {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.showcase-recipe-editorial .spec-ingredient-name-row {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-bright, #ffffff);
}

.showcase-recipe-editorial .spec-name {
  font-family: var(--font-sans, 'DM Sans', -apple-system, sans-serif);
}

.showcase-recipe-editorial .spec-garnish-row {
  border-bottom: none;
  padding-top: 0.75rem;
}

.showcase-recipe-editorial .spec-garnish-row .spec-amount .spec-unit {
  margin-left: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-accent-light, #f3cf8e);
}

.showcase-recipe-editorial .spec-garnish-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-bright, #ffffff);
}

/* ==========================================================================
   Story Section — pinned recipe card + scroll-linked feature beats
   ========================================================================== */
.story-section {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: start;
}

.story-rail {
  position: sticky;
  top: 88px;
}

.story-card {
  background: var(--color-bg-alt, #1a2433);
  border: 1px solid var(--color-border-subtle, rgba(235, 188, 114, 0.22));
  border-radius: var(--radius-md, 6px);
  padding: 1.5rem 2rem;
  max-width: 440px;
}

/* Search beat — real search box, styled to match the app's own sidebar search */
.story-search-box {
  margin-top: 1.5rem;
  padding: 0;
  border-bottom: none;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  width: 14px;
  height: 14px;
  color: var(--color-text-faint, #9fb0c4);
  pointer-events: none;
}

.search-input {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  max-width: 340px;
  height: 40px;
  padding: 0 0.9rem 0 2.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border, rgba(235, 188, 114, 0.45));
  border-radius: var(--radius-sm, 4px);
  color: var(--color-text-bright, #ffffff);
  font-size: 0.9rem;
  outline: none;
}

.search-input::placeholder {
  color: var(--color-text-faint, #9fb0c4);
}

.search-input:focus {
  border-color: var(--color-accent, #ebbc72);
  background: rgba(255, 255, 255, 0.08);
}

.story-search-results {
  margin-top: 0.75rem;
  height: 224px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  max-width: 340px;
}

.story-search-result {
  font-size: 0.85rem;
  color: var(--color-text-secondary, #f0eae1);
  padding: 0.5rem 0.7rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border-subtle, rgba(235, 188, 114, 0.22));
  border-radius: var(--radius-sm, 4px);
}

.story-search-empty {
  color: var(--color-text-faint, #9fb0c4);
  font-style: italic;
  border-style: dashed;
}

/* Tags beat — decorative select/deselect chips */
.story-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.story-tag {
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-text-secondary, #f0eae1);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
  transition: all 160ms ease;
}

.story-tag:hover {
  border-color: var(--color-border-active, #ebbc72);
}

.story-tag.active {
  background: var(--color-accent, #ebbc72);
  border-color: var(--color-accent-light, #f3cf8e);
  color: var(--color-on-accent, #192331);
}

/* Units beat — real oz/ml toggle */
.story-unit-toggle {
  display: inline-flex;
  gap: 0.4rem;
  margin-top: 1.5rem;
}

.story-unit-btn {
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted, #d5dde6);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm, 4px);
  padding: 0.6rem 1.4rem;
  cursor: pointer;
  transition: all 160ms ease;
}

.story-unit-btn.active {
  background: var(--color-accent, #ebbc72);
  border-color: var(--color-accent-light, #f3cf8e);
  color: var(--color-on-accent, #192331);
}

.story-beats {
  display: flex;
  flex-direction: column;
}

.story-beat {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.4;
  transition: opacity 400ms ease;
}

.story-beat.is-active {
  opacity: 1;
}

.story-beat h3 {
  font-family: var(--font-display, 'Gurmukhi MN', Georgia, serif);
  font-size: 1.85rem;
  color: var(--color-text-bright, #ffffff);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.story-beat p {
  color: var(--color-text-secondary, #f0eae1);
  font-size: 1rem;
  line-height: 1.65;
}

/* ==========================================================================
   Flavor Profile Breakout
   ========================================================================== */
.flavor-breakout-section {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 2rem 6rem;
}

.flavor-breakout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--color-surface, #2c3c54);
  border: 1px solid var(--color-border, rgba(235, 188, 114, 0.45));
  border-radius: var(--radius-lg, 10px);
  padding: 3rem;
}

.flavor-breakout-content h2 {
  font-family: var(--font-display, 'Gurmukhi MN', Georgia, serif);
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  color: var(--color-text-bright, #ffffff);
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.flavor-breakout-content p {
  color: var(--color-text-secondary, #f0eae1);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.flavor-toggle {
  display: inline-flex;
}

.flavor-breakout-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flavor-breakout-visual svg {
  width: 100%;
  max-width: 280px;
  height: auto;
  overflow: visible;
}

.flavor-radar-ring {
  fill: none;
  stroke: var(--color-border);
  stroke-width: 1;
}

.flavor-radar-axis-line {
  stroke: var(--color-border);
  stroke-width: 1;
}

.flavor-radar-shape {
  fill: rgba(212, 163, 89, 0.22);
  stroke: var(--color-accent);
  stroke-width: 1.75;
  stroke-linejoin: round;
}

.flavor-radar-dot {
  fill: var(--color-accent-light);
}

.flavor-radar-label {
  fill: var(--color-text-secondary);
  font-size: 8.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.flavor-radar-value {
  fill: var(--color-text-faint);
  font-size: 7.5px;
  font-weight: 500;
}

/* ==========================================================================
   Multiple Bars Breakout
   ========================================================================== */
.bar-breakout-section {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem 6rem;
}

.bar-breakout-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.bar-breakout-content h2 {
  font-family: var(--font-display, 'Gurmukhi MN', Georgia, serif);
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  color: var(--color-text-bright, #ffffff);
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.bar-breakout-content p {
  color: var(--color-text-secondary, #f0eae1);
  font-size: 1rem;
  line-height: 1.65;
}

.bar-breakout-visual {
  background: var(--color-surface, #2c3c54);
  border: 1px solid var(--color-border, rgba(235, 188, 114, 0.45));
  border-radius: var(--radius-lg, 10px);
  padding: 2rem;
}

.bar-pill-toggle {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.bar-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  color: var(--color-text-muted, #d5dde6);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 180ms ease;
}

.bar-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: inline-block;
}

.bar-pill.active {
  background: var(--color-accent, #ebbc72);
  border-color: var(--color-accent-light, #f3cf8e);
  color: var(--color-on-accent, #192331);
}

.bar-pill.active .bar-pill-dot {
  background: var(--color-on-accent, #192331);
}

.bar-pill-count {
  opacity: 0.75;
  font-weight: 500;
}

.bar-drink-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.bar-mini-drink {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0.5rem;
  border-radius: var(--radius-sm, 4px);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text-bright, #ffffff);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  transition: opacity 200ms ease;
}

.bar-mini-drink svg {
  color: var(--color-accent, #ebbc72);
}

.bar-mini-drink.is-unavailable {
  opacity: 0.32;
}

.bar-mini-drink.is-unavailable svg {
  color: var(--color-text-faint, #9fb0c4);
}

/* ==========================================================================
   Feature Rows (real widgets, replacing the old icon-card grid)
   ========================================================================== */
.feature-row {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
}

.feature-row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--color-surface, #2c3c54);
  border: 1px solid var(--color-border, rgba(235, 188, 114, 0.45));
  border-radius: var(--radius-lg, 10px);
  padding: 2.5rem 3rem;
}

.feature-row-reverse .feature-row-visual {
  order: -1;
}

.feature-row-content h2 {
  font-family: var(--font-display, 'Gurmukhi MN', Georgia, serif);
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  color: var(--color-text-bright, #ffffff);
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.feature-row-content p {
  color: var(--color-text-secondary, #f0eae1);
  font-size: 1rem;
  line-height: 1.65;
}

/* What Can I Make? */
.bottle-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.bottle-chip {
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-secondary, #f0eae1);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  padding: 0.4rem 0.85rem;
  cursor: pointer;
  transition: all 160ms ease;
}

.bottle-chip.active {
  background: var(--color-accent, #ebbc72);
  border-color: var(--color-accent-light, #f3cf8e);
  color: var(--color-on-accent, #192331);
}

.ready-count {
  font-size: 0.95rem;
  color: var(--color-text-bright, #ffffff);
  margin-bottom: 0.75rem;
}

.ready-count strong {
  color: var(--color-accent-light, #f3cf8e);
  font-size: 1.2rem;
}

.ready-drink-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ready-drink {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--color-text-faint, #9fb0c4);
}

.ready-drink svg {
  flex-shrink: 0;
  color: var(--color-text-faint, #9fb0c4);
}

.ready-drink.is-ready {
  color: var(--color-text-bright, #ffffff);
}

.ready-drink.is-ready svg {
  color: var(--color-accent, #ebbc72);
}

/* Smart Substitutions */
.sub-demo-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.sub-demo-original {
  font-family: var(--font-display, 'Gurmukhi MN', Georgia, serif);
  font-size: 1.3rem;
  color: var(--color-text-bright, #ffffff);
  padding: 0.6rem 1rem;
  border: 1px solid var(--color-border-subtle, rgba(235, 188, 114, 0.22));
  border-radius: var(--radius-sm, 4px);
}

.sub-demo-arrow {
  color: var(--color-accent, #ebbc72);
  flex-shrink: 0;
}

.sub-demo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sub-chip {
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-secondary, #f0eae1);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm, 4px);
  padding: 0.55rem 0.9rem;
  cursor: pointer;
  transition: all 160ms ease;
}

.sub-chip.active {
  background: var(--color-accent, #ebbc72);
  border-color: var(--color-accent-light, #f3cf8e);
  color: var(--color-on-accent, #192331);
}

/* Party Menus & Prep */
.party-menu-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.party-menu-item {
  font-family: var(--font-display, 'Gurmukhi MN', Georgia, serif);
  font-size: 1.1rem;
  color: var(--color-text-bright, #ffffff);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border-subtle, rgba(235, 188, 114, 0.22));
}

.party-menu-tally {
  font-size: 0.95rem;
  color: var(--color-text-bright, #ffffff);
}

.party-menu-tally strong {
  color: var(--color-accent-light, #f3cf8e);
  font-size: 1.2rem;
}

.party-menu-glass {
  color: var(--color-text-faint, #9fb0c4);
  font-size: 0.88rem;
  margin-top: 0.25rem;
}

/* Designed for the Counter */
.counter-timer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 0;
}

.counter-timer-gauge {
  position: relative;
  width: 170px;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.counter-timer-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.counter-timer-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 6;
}

.counter-timer-progress {
  fill: none;
  stroke: var(--color-accent, #ebbc72);
  stroke-width: 6;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.9s linear, stroke 0.3s ease;
}

.counter-timer-progress.is-complete {
  stroke: var(--color-success, #4d8363);
}

.counter-timer-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  text-align: center;
}

.counter-timer-display {
  font-family: var(--font-display, 'Gurmukhi MN', Georgia, serif);
  font-size: 3.25rem;
  font-weight: 700;
  color: var(--color-text-bright, #ffffff);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.counter-timer-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent, #ebbc72);
  margin-top: 0.4rem;
}

/* Closing pair — text only, no demo needed */
.closing-pair-section {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 2rem auto 4rem auto;
  padding: 2.5rem 2rem 4rem;
}

.closing-pair-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.closing-pair-item h3 {
  font-family: var(--font-display, 'Gurmukhi MN', Georgia, serif);
  font-size: 1.5rem;
  color: var(--color-text-bright, #ffffff);
  margin-bottom: 0.6rem;
}

.closing-pair-item p {
  color: var(--color-text-secondary, #f0eae1);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   Art Deco Quotation / Philosophy Callout
   ========================================================================== */
.quote-section {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto 5rem;
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid var(--color-border, rgba(235, 188, 114, 0.45));
  border-bottom: 1px solid var(--color-border, rgba(235, 188, 114, 0.45));
}

.quote-text {
  font-family: var(--font-display, 'Gurmukhi MN', Georgia, serif);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--color-text-secondary, #f0eae1);
  margin-bottom: 1rem;
}

.quote-author {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent, #ebbc72);
  font-weight: 600;
}

/* ==========================================================================
   Closing CTA Section
   ========================================================================== */
.cta-banner-section {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto 6rem;
  padding: 0 2rem;
  text-align: center;
}

.cta-banner-box {
  background: linear-gradient(180deg, var(--color-surface, #2c3c54) 0%, var(--color-bg-alt, #1a2433) 100%);
  border: 1px solid var(--color-border, rgba(235, 188, 114, 0.45));
  border-radius: var(--radius-lg, 10px);
  padding: 4rem 2rem;
  box-shadow: var(--shadow-lg, 0 14px 34px rgba(10, 18, 28, 0.65));
}

.cta-banner-title {
  font-family: var(--font-display, 'Gurmukhi MN', Georgia, serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--color-text-bright, #ffffff);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-banner-subtitle {
  color: var(--color-text-secondary, #f0eae1);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 2.25rem;
  line-height: 1.6;
}

/* ==========================================================================
   Legal Document Container (/terms)
   ========================================================================== */
.legal-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 4.5rem 2rem 6rem;
  position: relative;
  z-index: 1;
}

.legal-header {
  border-bottom: 1px solid var(--color-border, rgba(235, 188, 114, 0.45));
  padding-bottom: 2rem;
  margin-bottom: 3rem;
}

.legal-title {
  font-family: var(--font-display, 'Gurmukhi MN', Georgia, serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--color-text-bright, #ffffff);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--color-accent, #ebbc72);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.legal-toc {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 1rem 1.25rem;
  background: var(--color-surface, #2c3c54);
  border: 1px solid var(--color-border-subtle, rgba(235, 188, 114, 0.22));
  border-radius: var(--radius-sm, 4px);
  margin-bottom: 3rem;
}

.legal-toc-title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent, #ebbc72);
  margin-right: 0.5rem;
}

.legal-toc a {
  color: var(--color-text-muted, #d5dde6);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color var(--transition-fast, 150ms ease);
}

.legal-toc a:hover {
  color: var(--color-accent, #ebbc72);
  text-decoration: underline;
}

.legal-section {
  margin-bottom: 3.5rem;
}

.legal-section h2 {
  font-family: var(--font-display, 'Gurmukhi MN', Georgia, serif);
  font-size: 1.75rem;
  color: var(--color-text-bright, #ffffff);
  border-bottom: 1px solid var(--color-border-subtle, rgba(235, 188, 114, 0.22));
  padding-bottom: 0.6rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.legal-section h3 {
  font-size: 1.15rem;
  color: var(--color-accent-light, #f3cf8e);
  margin: 1.5rem 0 0.5rem;
  font-weight: 600;
}

.legal-section p {
  color: var(--color-text-secondary, #f0eae1);
  line-height: 1.7;
  margin-bottom: 1.1rem;
  font-size: 0.96rem;
}

.legal-section ul {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--color-text-secondary, #f0eae1);
}

.legal-section li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  font-size: 0.95rem;
}

.legal-callout {
  background: rgba(235, 188, 114, 0.08);
  border-left: 3px solid var(--color-accent, #ebbc72);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm, 4px) var(--radius-sm, 4px) 0;
  margin: 1.5rem 0;
  color: var(--color-text-secondary, #f0eae1);
  font-size: 0.92rem;
}

/* ==========================================================================
   Universal Site Footer
   ========================================================================== */
.site-footer {
  margin-top: auto;
  position: relative;
  z-index: 1;
  background: var(--color-bg-alt, #1a2433);
  border-top: 1px solid var(--color-border, rgba(235, 188, 114, 0.45));
  padding: 3.5rem 2rem 2.5rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  flex-wrap: wrap;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-border-subtle, rgba(235, 188, 114, 0.22));
}

.footer-brand {
  max-width: 340px;
}

.footer-brand-title {
  font-family: var(--font-display, 'Gurmukhi MN', Georgia, serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-bright, #ffffff);
  margin-bottom: 0.35rem;
}

.footer-brand-desc {
  font-size: 0.85rem;
  color: var(--color-text-faint, #9fb0c4);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.footer-links-group {
  display: flex;
  gap: 3.5rem;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col-heading {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent, #ebbc72);
  margin-bottom: 0.35rem;
}

.footer-link {
  color: var(--color-text-muted, #d5dde6);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color var(--transition-fast, 150ms ease);
}

.footer-link:hover {
  color: var(--color-accent-light, #f3cf8e);
}

.footer-bottom {
  max-width: 1100px;
  margin: 1.75rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--color-text-faint, #9fb0c4);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom a {
  color: var(--color-text-muted, #d5dde6);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--color-accent, #ebbc72);
  text-decoration: underline;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 900px) {

  .feature-row-grid,
  .closing-pair-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem;
  }

  .feature-row-reverse .feature-row-visual {
    order: 0;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .story-section,
  .flavor-breakout-grid,
  .bar-breakout-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .flavor-breakout-grid {
    padding: 2rem;
  }

  .story-rail {
    position: static;
  }

  .story-beat {
    min-height: 0;
    opacity: 1;
    padding: 1.5rem 0;
  }

  .bar-drink-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-links-group {
    width: 100%;
    justify-content: space-between;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .site-header {
    padding: 0 1.25rem;
    height: auto;
    min-height: 64px;
    gap: 0.75rem;
  }

  .site-brand-title {
    font-size: 1.05rem;
    letter-spacing: 0.1em;
  }

  .site-brand-subtitle {
    display: none;
  }

  .site-nav-cta {
    white-space: nowrap;
    padding: 0.5rem 0.85rem;
    font-size: 0.78rem;
    gap: 0.35rem;
  }

  .hero-section {
    padding: 3.5rem 1.25rem 3rem;
  }

  .showcase-frame {
    padding: 1.75rem 1.25rem;
  }

  .features-section {
    padding: 2rem 1.25rem 4rem;
  }

  .cta-banner-box {
    padding: 2.75rem 1.25rem;
  }

  .legal-container {
    padding: 3rem 1.25rem 4rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}