/* ============================================
   THE GREEN OVEN CO — Brand Stylesheet
   Palette: Dark Premium · Gold · Deep Green
   ============================================ */

@import url('https://api.fontshare.com/v2/css?f[]=zodiak@400,500,700&f[]=satoshi@400,500,700&display=swap');

/* ---- Tokens ---- */
:root {
  /* Brand Colors */
  --color-green-deep:    #1B4332;
  --color-green-mid:     #2D6A4F;
  --color-green-light:   #74C69D;
  --color-green-mist:    #D8F3DC;
  --color-amber:         #D4A017;
  --color-amber-dark:    #A67C00;
  --color-amber-light:   #F4D06F;
  --color-cream:         #F0EBE0;
  --color-cream-deep:    #E4DDD2;
  --color-brown-smoke:   #7C5C3E;
  --color-bark:          #3D2B1F;

  /* Semantic roles — DARK & PREMIUM default */
  --color-bg:            #0D0F0C;
  --color-surface:       #141710;
  --color-surface-2:     #1A1D17;
  --color-text:          #E8E0D4;
  --color-text-muted:    #9A9284;
  --color-text-faint:    #5A544C;
  --color-text-inverse:  #0D0F0C;
  --color-primary:       #D4A017;
  --color-primary-hover: #F4D06F;
  --color-accent:        #D4A017;
  --color-border:        #252820;
  --color-divider:       #1E211A;

  /* Type scale */
  --text-xs:    clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm:    clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base:  clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg:    clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl:    clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl:   clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl:   clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero:  clamp(3rem, 0.5rem + 7vw, 8rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(61, 43, 31, 0.06);
  --shadow-md: 0 4px 16px rgba(61, 43, 31, 0.1);
  --shadow-lg: 0 12px 40px rgba(61, 43, 31, 0.14);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;

  /* Fonts */
  --font-display: 'Zodiak', 'Georgia', serif;
  --font-body:    'Satoshi', 'Helvetica Neue', sans-serif;

  /* Transitions */
  --transition: 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark mode — site is always dark, these just reinforce */
[data-theme="dark"] {
  --color-bg:           #0D0F0C;
  --color-surface:      #141710;
  --color-surface-2:    #1A1D17;
  --color-text:         #E8E0D4;
  --color-text-muted:   #9A9284;
  --color-text-faint:   #5A544C;
  --color-text-inverse: #0D0F0C;
  --color-primary:      #D4A017;
  --color-primary-hover:#F4D06F;
  --color-accent:       #D4A017;
  --color-border:       #252820;
  --color-divider:      #1E211A;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.5);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.6);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.7);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:           #0D0F0C;
    --color-surface:      #141710;
    --color-surface-2:    #1A1D17;
    --color-text:         #E8E0D4;
    --color-text-muted:   #9A9284;
    --color-text-faint:   #5A544C;
    --color-text-inverse: #0D0F0C;
    --color-primary:      #D4A017;
    --color-primary-hover:#F4D06F;
    --color-border:       #252820;
    --color-divider:      #1E211A;
  }
}

/* Light mode override */
[data-theme="light"] {
  --color-bg:            #F7F4EE;
  --color-surface:       #FDFAF5;
  --color-surface-2:     #EDE8DF;
  --color-text:          #1A1C18;
  --color-text-muted:    #5A5650;
  --color-text-faint:    #A09A94;
  --color-text-inverse:  #F7F4EE;
  --color-primary:       #A67C00;
  --color-primary-hover: #D4A017;
  --color-accent:        #A67C00;
  --color-border:        #D8D0C4;
  --color-divider:       #E4DDD4;
  --shadow-sm: 0 1px 2px rgba(61,43,31,0.06);
  --shadow-md: 0 4px 16px rgba(61,43,31,0.1);
  --shadow-lg: 0 12px 40px rgba(61,43,31,0.14);
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-20);
}

body {
  min-height: 100dvh;
  line-height: 1.65;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  transition: background-color 0.3s ease, color 0.3s ease;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
ul[role='list'], ol[role='list'] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; line-height: 1.15; font-family: var(--font-display); }
p, li, figcaption { text-wrap: pretty; max-width: 72ch; }
.hero__content p, .process__header p, .newsletter p, section p { margin-inline: auto; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }

::selection {
  background: rgba(212, 160, 23, 0.3);
  color: var(--color-text);
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---- Layout Utilities ---- */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-6), 5vw, var(--space-16));
}
.container--narrow {
  max-width: var(--content-narrow);
}
.container--default {
  max-width: var(--content-default);
}

/* ---- Header ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--color-bg) 90%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow var(--transition), background var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-4);
  gap: var(--space-8);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
}

.logo__img {
  width: 56px;
  height: 72px;
  object-fit: contain;
}

.logo__text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.logo__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
}

.logo__tagline {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.nav__link:hover {
  color: var(--color-primary);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}

.nav__cta:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.theme-toggle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  transition: color var(--transition), background var(--transition);
}

.theme-toggle:hover {
  color: var(--color-text);
  background: var(--color-surface-2);
}

.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  transition: color var(--transition), background var(--transition);
}

.menu-toggle:hover {
  color: var(--color-text);
  background: var(--color-surface-2);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 15, 12, 0.75) 0%,
    rgba(13, 15, 12, 0.55) 50%,
    rgba(13, 15, 12, 0.85) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: clamp(var(--space-16), 10vw, var(--space-32));
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(212, 160, 23, 0.15);
  border: 1px solid rgba(212, 160, 23, 0.4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-amber-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: #FDFAF5;
  line-height: 1.08;
  margin-bottom: var(--space-5);
}

.hero__title .accent {
  color: var(--color-amber-light);
}

.hero__tagline {
  font-size: var(--text-lg);
  color: rgba(253, 250, 245, 0.8);
  margin-bottom: var(--space-3);
  font-style: italic;
  font-family: var(--font-display);
}

.hero__sub {
  font-size: var(--text-base);
  color: rgba(253, 250, 245, 0.7);
  margin-bottom: var(--space-10);
  max-width: 52ch;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  background: var(--color-amber);
  color: var(--color-bark);
  font-size: var(--text-sm);
  font-weight: 700;
  border-radius: var(--radius-full);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(212, 160, 23, 0.4);
}

.btn-primary:hover {
  background: var(--color-amber-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 160, 23, 0.5);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  border: 1.5px solid rgba(253, 250, 245, 0.4);
  color: rgba(253, 250, 245, 0.9);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.btn-ghost:hover {
  border-color: rgba(253, 250, 245, 0.8);
  background: rgba(253, 250, 245, 0.1);
  transform: translateY(-1px);
}

/* ---- Brand Bar ---- */
.brand-bar {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding-block: var(--space-5);
  overflow: hidden;
}

.brand-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-10);
  flex-wrap: wrap;
}

.brand-bar__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.brand-bar__dot {
  width: 5px;
  height: 5px;
  border-radius: var(--radius-full);
  background: var(--color-amber);
}

/* ---- Section Styles ---- */
section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}

.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.12;
  margin-bottom: var(--space-4);
}

.section-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 56ch;
  line-height: 1.7;
}

/* ---- Products ---- */
.products {
  background: var(--color-surface);
}

.products__header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.products__header .section-desc {
  margin-inline: auto;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-8);
}

.product-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  overflow: visible;
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card__image {
  aspect-ratio: 1/1;
  overflow: visible;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4) var(--space-2) 0;
}

.product-card__image img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 12px 32px rgba(0,0,0,0.5)) drop-shadow(0 2px 8px rgba(212,160,23,0.1));
}

.product-card:hover .product-card__image img {
  transform: scale(1.05);
}

.product-card__body {
  padding: var(--space-6);
}

.product-card__badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: rgba(212, 160, 23, 0.12);
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: 700;
  border-radius: var(--radius-full);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
  border: 1px solid rgba(212, 160, 23, 0.25);
}

[data-theme="dark"] .product-card__badge {
  background: rgba(212, 160, 23, 0.12);
  color: var(--color-primary);
}

.product-card__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.product-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-5);
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card__price {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
}

.product-card__price span {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--color-text-muted);
  font-family: var(--font-body);
}

.btn-add {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: var(--color-primary);
  color: #0D0F0C;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.btn-add:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
}

/* ---- About / Story ---- */
.story {
  background: var(--color-bg);
}

.story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-10), 6vw, var(--space-24));
  align-items: center;
  text-align: center;
}

.story__image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.story__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story__badge-float {
  position: absolute;
  bottom: var(--space-6);
  right: var(--space-6);
  background: rgba(13, 15, 12, 0.85);
  border: 1px solid rgba(212, 160, 23, 0.4);
  color: #E8E0D4;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.story__badge-float .big {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-amber-light);
  line-height: 1;
}

.story__badge-float .small {
  font-size: var(--text-xs);
  color: rgba(253, 250, 245, 0.7);
  letter-spacing: 0.04em;
}

.story__content .section-label { margin-bottom: var(--space-3); }
.story__content .section-title { margin-bottom: var(--space-6); }
.story__content { text-align: center; }

.story__text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-5);
}

.story__pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.pillar {
  padding: var(--space-5);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.pillar__icon {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.pillar__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.pillar__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ---- Process ---- */
.process {
  background: var(--color-surface-2);
  color: var(--color-text);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.process::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.process .section-label {
  color: var(--color-primary);
}

.process .section-title {
  color: var(--color-text);
}

.process .section-desc {
  color: var(--color-text-muted);
  margin-inline: auto;
}

.process__header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-8);
  counter-reset: steps;
}

.step {
  position: relative;
  padding: var(--space-8) var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  counter-increment: steps;
  text-align: center;
  transition: background var(--transition), border-color var(--transition);
}

.step:hover {
  background: rgba(212, 160, 23, 0.05);
  border-color: rgba(212, 160, 23, 0.35);
}

.step__number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: rgba(212, 160, 23, 0.25);
  line-height: 1;
  margin-bottom: var(--space-4);
}

.step__icon {
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
}

.step__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.step__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 100%;
}

/* ---- Testimonials ---- */
.testimonials {
  background: var(--color-surface);
}

.testimonials__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.testimonial {
  padding: var(--space-8);
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
}

.testimonial__stars {
  color: var(--color-amber);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
  letter-spacing: 0.1em;
}

.testimonial__text {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-style: italic;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(212, 160, 23, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-primary);
  flex-shrink: 0;
}

[data-theme="dark"] .testimonial__avatar {
  background: rgba(212, 160, 23, 0.15);
  color: var(--color-primary);
}

.testimonial__name {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-text);
}

.testimonial__location {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ---- Newsletter ---- */
.newsletter {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

[data-theme="dark"] .newsletter {
  background: var(--color-surface);
}

.newsletter__inner {
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
}

.newsletter__icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-5);
}

.newsletter .section-title {
  margin-bottom: var(--space-4);
}

.newsletter .section-desc {
  margin-inline: auto;
  margin-bottom: var(--space-8);
}

.newsletter__form {
  display: flex;
  gap: var(--space-3);
  max-width: 460px;
  margin-inline: auto;
}

.newsletter__input {
  flex: 1;
  padding: var(--space-4) var(--space-5);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: var(--text-sm);
  outline: none;
  transition: border-color var(--transition);
}

.newsletter__input:focus {
  border-color: var(--color-primary);
}

.newsletter__input::placeholder {
  color: var(--color-text-faint);
}

.newsletter__btn {
  padding: var(--space-4) var(--space-6);
  background: var(--color-primary);
  color: #0D0F0C;
  font-size: var(--text-sm);
  font-weight: 700;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
}

.newsletter__btn:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
}

/* ---- Footer ---- */
.footer {
  background: #080A07;
  color: rgba(232, 224, 212, 0.7);
  border-top: 1px solid var(--color-border);
  padding-block: clamp(var(--space-16), 6vw, var(--space-24));
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-16);
}

.footer__brand .logo__name {
  color: var(--color-primary);
  font-size: var(--text-xl);
  display: block;
  font-family: var(--font-display);
  margin-bottom: var(--space-2);
}

.footer__tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-amber-light);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}

.footer__desc {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: rgba(253, 250, 245, 0.55);
  max-width: 28ch;
}

.footer__col-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-5);
  letter-spacing: 0.04em;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__links a {
  font-size: var(--text-sm);
  color: rgba(253, 250, 245, 0.55);
  text-decoration: none;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--color-amber-light);
}

.footer__bottom {
  padding-top: var(--space-8);
  border-top: 1px solid rgba(253, 250, 245, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer__copy {
  font-size: var(--text-xs);
  color: rgba(253, 250, 245, 0.35);
}

.footer__legal {
  display: flex;
  gap: var(--space-6);
}

.footer__legal a {
  font-size: var(--text-xs);
  color: rgba(253, 250, 245, 0.35);
  text-decoration: none;
  transition: color var(--transition);
}

.footer__legal a:hover {
  color: rgba(253, 250, 245, 0.7);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .story__grid {
    grid-template-columns: 1fr;
  }
  .story__image-wrap {
    aspect-ratio: 16/9;
    order: -1;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .nav__links, .nav__cta { display: none; }
  .menu-toggle { display: flex; }
  .hero__title { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .footer__grid { grid-template-columns: 1fr; }
  .newsletter__form { flex-direction: column; }
  .newsletter__btn { width: 100%; }
  .hero__actions { flex-direction: column; align-items: center; }
}

/* ---- Mobile nav ---- */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--color-bg);
  flex-direction: column;
  padding: var(--space-6);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-10);
}

.mobile-nav__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.mobile-nav__links a {
  display: block;
  padding: var(--space-4);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-divider);
  transition: color var(--transition);
}

.mobile-nav__links a:hover {
  color: var(--color-primary);
}

.mobile-nav__cta {
  display: block;
  text-align: center;
  padding: var(--space-5);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-size: var(--text-base);
  font-weight: 700;
  border-radius: var(--radius-full);
  text-decoration: none;
  margin-top: var(--space-8);
}

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---- Age gate ---- */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #0D0F0C;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}

.age-gate__box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-8), 5vw, var(--space-16));
  text-align: center;
  max-width: 480px;
  width: 100%;
}

.age-gate__logo {
  width: 90px;
  height: 110px;
  object-fit: contain;
  margin: 0 auto var(--space-6);
}

.age-gate__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.age-gate__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

.age-gate__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
}

.age-gate__yes {
  padding: var(--space-4) var(--space-8);
  background: var(--color-primary);
  color: #0D0F0C;
  font-size: var(--text-sm);
  font-weight: 700;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}

.age-gate__yes:hover { background: var(--color-primary-hover); }

.age-gate__no {
  padding: var(--space-4) var(--space-8);
  border: 1.5px solid var(--color-border);
  background: transparent;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}

.age-gate__no:hover { border-color: var(--color-text-muted); color: var(--color-text); }

.age-gate__legal {
  margin-top: var(--space-6);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  line-height: 1.6;
}

/* ======================================================
   CANNABINOID LEGEND (products header)
   ====================================================== */

.cannabinoid-legend {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

.cb-legend-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.cb-legend-dot {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 4px;
}

.cb-legend-item--cbd .cb-legend-dot { background: #2D6A4F; }
.cb-legend-item--cbg .cb-legend-dot { background: #D4A017; }
.cb-legend-item--cbn .cb-legend-dot { background: #3D2B1F; }

.cb-legend-body strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.cb-legend-body p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 768px) {
  .cannabinoid-legend {
    grid-template-columns: 1fr;
  }
}

/* ======================================================
   CANNABINOID PILLS (on each product card)
   ====================================================== */

.product-card__cb-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.cb-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cb-pill--cbd {
  background: rgba(116, 198, 157, 0.12);
  color: #74C69D;
  border: 1px solid rgba(116, 198, 157, 0.25);
}

.cb-pill--cbg {
  background: rgba(212, 160, 23, 0.15);
  color: #D4A017;
  border: 1px solid rgba(212, 160, 23, 0.3);
}

.cb-pill--cbn {
  background: rgba(200, 170, 140, 0.1);
  color: #C8AA8C;
  border: 1px solid rgba(200, 170, 140, 0.2);
}

[data-theme="dark"] .cb-pill--cbd {
  background: rgba(116, 198, 157, 0.12);
  color: #74C69D;
  border-color: rgba(116, 198, 157, 0.25);
}

[data-theme="dark"] .cb-pill--cbg {
  background: rgba(212, 160, 23, 0.15);
  color: #D4A017;
  border-color: rgba(212, 160, 23, 0.3);
}

[data-theme="dark"] .cb-pill--cbn {
  background: rgba(200, 170, 140, 0.1);
  color: #C8AA8C;
  border-color: rgba(200, 170, 140, 0.2);
}

/* ======================================================
   ICON PRODUCT CARDS (tincture + olive oil)
   ====================================================== */

.product-card__image--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-2);
}

.product-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: var(--space-10);
}

.product-icon-wrap--tincture {
  background: linear-gradient(145deg, rgba(45,106,79,0.35) 0%, rgba(27,67,50,0.5) 100%);
}

.product-icon-wrap--oliveoil {
  background: linear-gradient(145deg, rgba(212,160,23,0.2) 0%, rgba(61,43,31,0.4) 100%);
}

[data-theme="dark"] .product-icon-wrap--tincture {
  background: linear-gradient(145deg, rgba(45,106,79,0.35) 0%, rgba(27,67,50,0.5) 100%);
}

[data-theme="dark"] .product-icon-wrap--oliveoil {
  background: linear-gradient(145deg, rgba(212,160,23,0.2) 0%, rgba(61,43,31,0.4) 100%);
}

.product-icon-wrap svg {
  width: 80px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
}

/* ── Logo visibility — dark mode: use as-is; light mode: invert for visibility ── */
.logo__img,
.age-gate__logo,
.auth-box__logo {
  filter: none; /* dark mode default — logo has dark/gold on transparent bg */
}

[data-theme="dark"] .logo__img,
[data-theme="dark"] .age-gate__logo,
[data-theme="dark"] .auth-box__logo {
  filter: none;
}

[data-theme="light"] .logo__img,
[data-theme="light"] .age-gate__logo,
[data-theme="light"] .auth-box__logo {
  filter: invert(0.85) sepia(0.3) hue-rotate(80deg) saturate(0.6);
}

/* ======================================================
   3D SPIN VIEWER
   ====================================================== */

.spin3d-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  cursor: grab;
  overflow: visible;
  background: transparent;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.spin3d-wrap:active {
  cursor: grabbing;
}

/* Three.js canvas inside wrap */
.spin3d-wrap canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  background: transparent !important;
}

/* Legacy CSS scene (fallback) */
.spin3d-scene {
  width: 100%;
  height: 100%;
  perspective: 900px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.spin3d-glow {
  position: absolute;
  width: 60%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,160,23,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.spin3d-obj {
  width: 80%;
  height: 80%;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
  position: relative;
  z-index: 1;
}

.spin3d-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  filter: drop-shadow(0 16px 40px rgba(0,0,0,0.55)) drop-shadow(0 4px 12px rgba(212,160,23,0.12));
}

.spin3d-hint {
  position: absolute;
  bottom: var(--space-3);
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: rgba(212,160,23,0.6);
  letter-spacing: 0.05em;
  pointer-events: none;
  transition: opacity 0.4s ease;
  white-space: nowrap;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
}
