/* =====================================================
   NY ELITE CANNABIS — Design System
   Premium dispensary, gold-on-forest aesthetic
   ===================================================== */

/* -----------  TOKENS  ----------- */
:root {
  /* Gold palette */
  --gold-50:  #FBF7EC;
  --gold-100: #F0E4C3;
  --gold-200: #E5D097;
  --gold-300: #D6B868;
  --gold-400: #C9A961;
  --gold-500: #B8924A;
  --gold-600: #8B6F33;
  --gold-700: #6B5526;
  --gold-grad: linear-gradient(135deg,#8B6F33 0%,#D6B868 35%,#F0E4C3 55%,#C9A961 75%,#8B6F33 100%);
  --gold-shimmer: linear-gradient(110deg,#B8924A,#F0E4C3,#C9A961,#8B6F33,#E5D097);

  /* Forest greens */
  --green-50:  #EBF0EE;
  --green-100: #C7D5D0;
  --green-300: #5A7A73;
  --green-500: #1A4D45;
  --green-700: #0F3D38;
  --green-900: #08221E;

  /* Neutrals */
  --cream: #FAF6E9;
  --bone:  #F8F5EE;
  --paper: #FFFFFF;
  --ink:   #0F0F0F;
  --ink-soft: #2A2A2A;
  --ash:   #6B6B6B;
  --mist:  #C4C4C4;
  --line:  rgba(15,61,56,.12);
  --line-light: rgba(15,61,56,.06);

  /* Semantic */
  --bg: var(--bone);
  --surface: var(--paper);
  --surface-alt: var(--cream);
  --text: var(--ink);
  --text-soft: var(--ink-soft);
  --text-muted: var(--ash);
  --accent: var(--gold-500);
  --accent-hover: var(--gold-600);
  --primary: var(--green-700);
  --primary-deep: var(--green-900);

  /* Type */
  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* Layout */
  --container: 1280px;
  --container-narrow: 880px;
  --container-wide: 1440px;

  /* Spacing scale */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  /* Radius */
  --r-sm: 4px; --r: 8px; --r-md: 12px; --r-lg: 20px; --r-xl: 32px; --r-pill: 999px;

  /* Shadow */
  --shadow-xs: 0 1px 2px rgba(8,34,30,.06);
  --shadow-sm: 0 2px 8px rgba(8,34,30,.07);
  --shadow:    0 8px 28px rgba(8,34,30,.10);
  --shadow-lg: 0 24px 64px rgba(8,34,30,.16);

  /* Motion */
  --ease-out: cubic-bezier(.2,.8,.2,1);
  --t-fast: 140ms;
  --t: 240ms;
  --t-slow: 480ms;
}

/* -----------  RESET  ----------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: 'kern','liga','ss01';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
a { color: var(--primary); text-decoration: none; transition: color var(--t-fast) var(--ease-out); }
a:hover { color: var(--accent); }
ul, ol { padding-left: 1.2em; }
hr { border: none; border-top: 1px solid var(--line); margin: var(--s-7) 0; }

/* -----------  TYPE  ----------- */
h1,h2,h3,h4,h5 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5vw + .5rem, 4.5rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 3vw + .5rem, 3.2rem); }
h3 { font-size: clamp(1.4rem, 1.5vw + .5rem, 2rem); }
h4 { font-size: 1.25rem; font-weight: 600; }
p  { margin: 0 0 1em; }
.eyebrow {
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin: 0 0 var(--s-4);
}
.eyebrow-light { color: var(--gold-300); }
.lede { font-size: 1.18rem; line-height: 1.5; color: var(--text-soft); max-width: 60ch; }
.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.serif { font-family: var(--font-display); font-style: italic; }

/* -----------  LAYOUT  ----------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--s-5); }
.container-narrow { max-width: var(--container-narrow); }
.container-wide { max-width: var(--container-wide); }
.section { padding: var(--s-9) 0; }
.section-sm { padding: var(--s-7) 0; }
.section-lg { padding: var(--s-10) 0; }
.section--dark { background: var(--primary); color: var(--paper); }
.section--dark h1,.section--dark h2,.section--dark h3 { color: var(--paper); }
.section--cream { background: var(--cream); }
.section--ink { background: var(--primary-deep); color: var(--paper); }
.section--ink h1,.section--ink h2,.section--ink h3 { color: var(--paper); }

.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }
.grid-auto-200 { grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); }
.grid-auto-280 { grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); }
.grid-auto-340 { grid-template-columns: repeat(auto-fit,minmax(340px,1fr)); }
@media (max-width: 880px) {
  .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr; }
}

.row { display: flex; gap: var(--s-5); flex-wrap: wrap; align-items: center; }
.row-between { justify-content: space-between; }
.stack { display: flex; flex-direction: column; gap: var(--s-4); }
.center { text-align: center; }
.muted { color: var(--text-muted); }

/* -----------  BUTTONS  ----------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s-2);
  padding: 14px 28px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  transition: all var(--t) var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: var(--paper); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-deep); border-color: var(--primary-deep); color: var(--gold-200); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-gold { background: var(--gold-grad); color: var(--ink); border: 1px solid var(--gold-500); position: relative; }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(184,146,74,.36); color: var(--ink); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { color: var(--gold-600); }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-light:hover { background: var(--gold-100); border-color: var(--gold-100); }
.btn-sm { padding: 10px 18px; font-size: .82rem; }
.btn-lg { padding: 18px 38px; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }

/* -----------  ICON LINK / CHEVRON  ----------- */
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .85rem;
}
.link-arrow::after { content: '→'; transition: transform var(--t) var(--ease-out); }
.link-arrow:hover::after { transform: translateX(4px); }

/* -----------  CARD  ----------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  transition: all var(--t) var(--ease-out);
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--gold-300); }
.card-flat { background: var(--surface); border-radius: var(--r-lg); padding: var(--s-5); }
.card-dark { background: var(--primary); color: var(--paper); border-radius: var(--r-lg); padding: var(--s-6); }
.card-dark h3 { color: var(--gold-200); }

/* -----------  BADGE  ----------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: var(--gold-100);
  color: var(--gold-700);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
}
.badge-dark { background: var(--green-900); color: var(--gold-300); }
.badge-live { background: #16a085; color: white; }
.badge-live::before { content: ''; width: 8px; height: 8px; background: #fff; border-radius: 50%; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100%{opacity:.4} 50%{opacity:1} }

/* -----------  HERO  ----------- */
.hero {
  position: relative;
  background: var(--primary-deep);
  color: var(--paper);
  overflow: hidden;
  padding: clamp(80px, 12vw, 140px) 0 clamp(60px, 8vw, 100px);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 80% -10%, rgba(201,169,97,.18), transparent 60%),
    radial-gradient(600px 600px at -10% 100%, rgba(26,77,69,.6), transparent 60%);
  pointer-events: none;
}
.hero h1 { color: var(--paper); }
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow { color: var(--gold-300); }
.hero-meta { display: flex; gap: var(--s-5); flex-wrap: wrap; color: var(--gold-100); font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; }

/* -----------  HERO + PROMO LAYOUT  -----------
   Two-column layout: hero text on left, rotating promo banner on right.
   On mobile the banner stacks above the hero text. */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  gap: var(--s-7);
  align-items: center;
}
.hero-grid .hero-copy { min-width: 0; }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .hero-grid .promo-rail-wrap { order: -1; } /* banners on top on mobile */
}

/* -----------  PROMO BANNER RAIL  -----------
   Full-bleed image slides. Aspect ratio matches uploaded assets (~2.6:1). */
.promo-rail-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 2060 / 792;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
  background: #000;
}
.promo-rail {
  position: absolute; inset: 0;
}
.promo-slide {
  position: absolute; inset: 0;
  display: block;
  text-decoration: none;
  opacity: 0;
  transition: opacity 700ms var(--ease-out);
  background: #000;
}
.promo-slide.is-active { opacity: 1; }
.promo-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* dots + arrows */
.promo-dots {
  position: absolute;
  bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
  z-index: 3;
}
.promo-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  transition: background var(--t) var(--ease-out), transform var(--t) var(--ease-out);
}
.promo-dot.is-active { background: var(--gold-300); transform: scale(1.25); }
.promo-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 3;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,.4);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--t) var(--ease-out);
}
.promo-arrow:hover { background: rgba(0,0,0,.7); }
.promo-arrow.prev { left: 8px; }
.promo-arrow.next { right: 8px; }
.promo-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* -----------  HEADER / NAV  ----------- */
.utility-bar {
  background: var(--primary-deep);
  color: var(--gold-200);
  padding: 8px 0;
  font-size: .8rem;
  letter-spacing: .06em;
}
.utility-bar .container { display: flex; justify-content: space-between; gap: var(--s-5); flex-wrap: wrap; align-items: center; }
.utility-bar a { color: var(--gold-200); }
.utility-bar a:hover { color: var(--gold-100); }
.utility-bar .pill { display: inline-flex; align-items: center; gap: 6px; }
.utility-bar .pill::before { content: '●'; color: #4ade80; font-size: .7rem; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248,245,238,.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); padding-top: var(--s-3); padding-bottom: var(--s-3); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 56px; width: auto; }
.brand-name { font-family: var(--font-display); font-size: 1.4rem; line-height: 1; color: var(--ink); letter-spacing: .04em; font-weight: 500; }
.brand-name span { display: block; font-size: .65rem; letter-spacing: .3em; color: var(--gold-600); margin-top: 2px; font-family: var(--font-body); }

.nav-primary { display: flex; gap: var(--s-5); align-items: center; }
.nav-primary a, .nav-primary .nav-trigger {
  color: var(--ink);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 8px 0;
  position: relative;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-primary a:hover, .nav-primary .nav-trigger:hover { color: var(--gold-600); }
.nav-primary a.active::after,
.nav-primary a:hover::after,
.nav-primary .nav-trigger:hover::after,
.nav-item.open > .nav-trigger::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--gold-grad);
}
.nav-trigger svg { width: 12px; height: 12px; transition: transform var(--t) var(--ease-out); }
.nav-item.open .nav-trigger svg { transform: rotate(180deg); }
.nav-cta { display: flex; gap: var(--s-3); align-items: center; }

/* SHOP DROPDOWN */
.nav-item { position: relative; }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: -16px;
  z-index: 60;
  min-width: 240px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-3);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity var(--t) var(--ease-out), transform var(--t) var(--ease-out), visibility var(--t);
  margin-top: 8px;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-item.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.nav-dropdown li a {
  display: block;
  padding: 10px 14px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  border-radius: var(--r);
  transition: background var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
}
.nav-dropdown li a:hover {
  background: var(--gold-100);
  color: var(--gold-700);
}
.nav-dropdown li a:hover::after { display: none; }
.nav-dropdown .nav-divider {
  height: 1px;
  background: var(--line);
  margin: var(--s-2) 4px;
}
.nav-dropdown .nav-feature {
  background: var(--primary);
  color: var(--paper);
}
.nav-dropdown .nav-feature:hover { background: var(--primary-deep); color: var(--gold-200); }

/* Mobile nav sub-items */
.mobile-nav .mobile-sublist {
  display: grid; gap: var(--s-2);
  margin-top: var(--s-3);
  padding-left: var(--s-4);
  border-left: 2px solid var(--gold-300);
}
.mobile-nav .mobile-sublist a {
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
}
.mobile-nav .mobile-section-label {
  font-family: var(--font-body);
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-top: var(--s-3);
}

.menu-toggle { display: none; padding: 8px; }
.menu-toggle svg { width: 28px; height: 28px; stroke: var(--ink); }
@media (max-width: 1080px) {
  .nav-primary, .nav-cta .btn-outline { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; background: var(--primary-deep); color: var(--paper);
  z-index: 100; transform: translateY(-100%); transition: transform var(--t-slow) var(--ease-out);
  display: flex; flex-direction: column; padding: var(--s-5);
  /* Clip so off-screen overflow can't leak into the viewport above the page */
  overflow: hidden;
}
.mobile-nav.open { transform: translateY(0); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.mobile-nav .close { align-self: flex-end; color: var(--gold-200); padding: var(--s-3); }
.mobile-nav nav { display: flex; flex-direction: column; gap: var(--s-4); margin-top: var(--s-6); }
.mobile-nav a { color: var(--paper); font-family: var(--font-display); font-size: 2rem; }
.mobile-nav .mobile-cta { margin-top: auto; display: grid; gap: var(--s-3); }

/* -----------  FOOTER  ----------- */
.site-footer { background: var(--primary-deep); color: var(--paper); padding: var(--s-9) 0 var(--s-6); position: relative; }
.site-footer h4 { color: var(--gold-300); font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; font-family: var(--font-body); margin-bottom: var(--s-4); }
.site-footer a { color: rgba(255,255,255,.78); font-size: .92rem; }
.site-footer a:hover { color: var(--gold-300); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--s-3); }
.footer-grid { display: grid; gap: var(--s-7); grid-template-columns: 2fr 1fr 1fr 1fr 1fr; }
@media (max-width: 1080px) { .footer-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 76px; margin-bottom: var(--s-4); filter: drop-shadow(0 4px 18px rgba(201,169,97,.4)); }
.footer-brand p { color: rgba(255,255,255,.7); max-width: 36ch; }
.footer-legal {
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  display: flex; justify-content: space-between; gap: var(--s-5); flex-wrap: wrap;
}

/* Social icon row */
.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-5);
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--gold-300);
  border-radius: 50%;
  transition: color var(--t) var(--ease-out), background var(--t) var(--ease-out), transform var(--t) var(--ease-out);
}
.footer-social a:hover {
  color: var(--gold-100);
  background: rgba(201,169,97,.1);
  transform: translateY(-2px);
}
.footer-social svg { width: 26px; height: 26px; fill: currentColor; }
.compliance {
  margin-top: var(--s-6);
  padding: var(--s-5);
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-md);
  font-size: .78rem;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
}
.compliance strong { color: var(--gold-300); }

/* -----------  AGE GATE  ----------- */
.age-gate {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8,34,30,.92);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center; justify-content: center;
  padding: var(--s-5);
}
.age-gate.show { display: flex; }
.age-gate-card {
  background: var(--paper);
  max-width: 520px; width: 100%;
  border-radius: var(--r-xl);
  padding: var(--s-8) var(--s-7);
  text-align: center;
  border: 1px solid var(--gold-200);
}
.age-gate-card img { height: 80px; margin: 0 auto var(--s-5); }
.age-gate-card h2 { font-family: var(--font-display); font-size: 2rem; margin-bottom: var(--s-3); }
.age-gate-card p { color: var(--text-muted); margin-bottom: var(--s-5); font-size: .95rem; }
.age-gate-card .actions { display: flex; gap: var(--s-3); justify-content: center; }
.age-gate-card .legal { font-size: .72rem; color: var(--text-muted); margin-top: var(--s-5); }

/* -----------  SPECIALS / DEAL CARDS  ----------- */
.deal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--t) var(--ease-out);
  position: relative;
}
.deal-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold-300); }
.deal-card .deal-tag {
  position: absolute; top: var(--s-3); right: var(--s-3); z-index: 2;
  background: var(--gold-grad);
  color: var(--ink); font-weight: 700;
  padding: 6px 12px; border-radius: var(--r-pill);
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
}
.deal-card .deal-img {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-200); font-family: var(--font-display); font-size: 2.4rem;
  text-align: center; padding: var(--s-5);
}
.deal-card .deal-body { padding: var(--s-5); }
.deal-card h3 { font-size: 1.3rem; margin-bottom: var(--s-2); }
.deal-card .deal-meta { font-size: .8rem; color: var(--text-muted); letter-spacing: .04em; }
.deal-card .deal-price { font-family: var(--font-display); font-size: 2rem; color: var(--gold-600); }
.deal-card .deal-price s { color: var(--text-muted); font-size: 1.2rem; margin-right: 8px; }

/* -----------  MOOD RAIL — large, horizontally scrollable  ----------- */
.mood-rail-wrap { position: relative; }
.mood-rail {
  display: flex;
  gap: var(--s-5);
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: var(--s-3) var(--s-2) var(--s-6);
  margin: 0 calc(var(--s-5) * -1);
  padding-left: var(--s-5);
  padding-right: var(--s-5);
}
.mood-rail::-webkit-scrollbar { display: none; }
.mood-tile {
  flex: 0 0 220px;
  display: flex; flex-direction: column; align-items: center;
  text-decoration: none;
  color: var(--ink);
  scroll-snap-align: start;
  transition: transform var(--t) var(--ease-out);
}
.mood-tile:hover { transform: translateY(-4px); }
.mood-tile .mood-img {
  width: 100%;
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out);
}
.mood-tile:hover .mood-img { border-color: var(--gold-300); box-shadow: var(--shadow-sm); }
.mood-tile img { width: 92%; height: 92%; object-fit: contain; }
.mood-tile .mood-label {
  margin-top: var(--s-3);
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: .01em;
  color: var(--ink);
}
.mood-tile .mood-sub {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-top: 2px;
}
@media (max-width: 700px) {
  .mood-tile { flex: 0 0 160px; }
  .mood-tile .mood-label { font-size: 1.2rem; }
}

/* Scroll arrows */
.rail-nav {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all var(--t) var(--ease-out);
}
.rail-nav:hover { background: var(--gold-100); border-color: var(--gold-400); }
.rail-nav.prev { left: -8px; }
.rail-nav.next { right: -8px; }
.rail-nav svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; }
@media (max-width: 700px) { .rail-nav { display: none; } }

/* Legacy tile (still used elsewhere) */
.tile-grid { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); }
.tile {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  aspect-ratio: 1;
  padding: var(--s-3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  text-align: center;
  transition: all var(--t) var(--ease-out);
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
}
.tile:hover { transform: translateY(-2px); border-color: var(--gold-400); box-shadow: var(--shadow-sm); }
.tile img { width: 80%; aspect-ratio: 1; object-fit: contain; margin-bottom: var(--s-3); }
.tile-label {
  font-weight: 700; font-size: .85rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--text);
}

/* -----------  DUTCHIE CAROUSEL STACK  -----------
   Carousels share one continuous white block so the iframe's white
   background blends with the page. Each card needs ~600px to render
   image + title + brand + THC badge + price + Shop button + padding.
   We set a stable floor so cards never clip; if Dutchie's postMessage
   resize fires, it'll grow taller (handled in JS). */
.carousel-stack { background: var(--paper); padding: var(--s-5) 0 var(--s-5); }
.dutchie-carousel-section {
  padding: var(--s-7) 0;
  background: var(--paper);
}
/* When stacked inside .carousel-stack, collapse vertical spacing */
.carousel-stack .dutchie-carousel-section { padding: var(--s-2) 0; }
.carousel-stack .dutchie-carousel-section + .dutchie-carousel-section { padding-top: 0; }
.dutchie-carousel-section .container > .row { margin-bottom: var(--s-3); }
.carousel-stack .dutchie-carousel-section .container > .row { margin-bottom: var(--s-2); }
.dutchie-carousel-container {
  width: 100%;
  min-height: 540px;
  overflow: visible;
  position: relative;
  background: transparent;
}
.dutchie-carousel-container iframe {
  width: 100% !important;
  min-height: 540px !important;
  height: 540px;
  border: 0 !important;
  background: transparent !important;
  display: block;
}
@media (max-width: 1080px) {
  .dutchie-carousel-container,
  .dutchie-carousel-container iframe { min-height: 580px; height: 580px; }
}
@media (max-width: 700px) {
  .dutchie-carousel-container,
  .dutchie-carousel-container iframe { min-height: 640px; height: 640px; }
}

/* Compact variant — used by Specials carousel which has banner-style cards
   (text + Shop button, no product photos). Height-only override. */
.dutchie-carousel-section--compact .dutchie-carousel-container,
.dutchie-carousel-section--compact .dutchie-carousel-container iframe {
  min-height: 300px !important;
  height: 300px !important;
}
@media (max-width: 700px) {
  .dutchie-carousel-section--compact .dutchie-carousel-container,
  .dutchie-carousel-section--compact .dutchie-carousel-container iframe {
    min-height: 280px !important;
    height: 280px !important;
  }
}

/* -----------  FORMS  ----------- */
.form-row { display: grid; gap: var(--s-3); }
.form-row label { font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-soft); }
.input, select, textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper);
  font: inherit; color: var(--text);
  transition: border-color var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out);
}
.input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold-400);
  box-shadow: 0 0 0 4px rgba(201,169,97,.15);
}
.input-group { display: flex; gap: var(--s-2); }
.input-group .input { flex: 1; }

/* -----------  ZONE CHECKER  ----------- */
.zone-checker {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: var(--s-7);
  box-shadow: var(--shadow-sm);
}
.zone-result { margin-top: var(--s-4); padding: var(--s-4); border-radius: var(--r); display: none; }
.zone-result.show { display: block; }
.zone-result.success { background: #ECF7F4; color: #0F3D38; border: 1px solid #99CCC2; }
.zone-result.warning { background: #FBF6E4; color: #6B5526; border: 1px solid #E5D097; }
.zone-result.fail { background: #FAECEC; color: #8B2A2A; border: 1px solid #E5A8A8; }
.zone-result h4 { color: inherit; font-family: var(--font-body); font-size: 1.05rem; margin-bottom: 4px; }

/* -----------  LIST FEATURES  ----------- */
.feature-list { list-style: none; padding: 0; display: grid; gap: var(--s-4); }
.feature-list li { display: grid; grid-template-columns: 32px 1fr; gap: var(--s-3); align-items: start; }
.feature-list .icon { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--gold-100); color: var(--gold-700); }
.feature-list strong { color: var(--ink); display: block; margin-bottom: 4px; }

/* -----------  MEDIA + IMAGE TREATMENTS  ----------- */
.image-frame { border-radius: var(--r-lg); overflow: hidden; }
.image-frame img { width: 100%; height: 100%; object-fit: cover; }
.image-frame--gold { border: 1px solid var(--gold-300); padding: 6px; background: var(--gold-50); }
.image-mask { aspect-ratio: 4/5; }
.image-tall { aspect-ratio: 3/4; }
.image-wide { aspect-ratio: 16/9; }

/* -----------  BLOG  ----------- */
.post-card { display: flex; flex-direction: column; gap: var(--s-3); text-decoration: none; }
.post-card .image-frame { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--green-700), var(--green-900)); }
.post-card h3 { color: var(--ink); transition: color var(--t) var(--ease-out); }
.post-card:hover h3 { color: var(--gold-600); }
.post-card .post-meta { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); }

/* -----------  TESTIMONIAL  ----------- */
.quote {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.4;
  color: var(--ink);
  font-style: italic;
}
.quote-attribution { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--s-4); font-style: normal; }
.quote-attribution .stars { color: var(--gold-500); font-size: 1rem; letter-spacing: 2px; }
.quote-attribution .author { font-size: .9rem; font-family: var(--font-body); font-weight: 600; }

/* -----------  TABLE  ----------- */
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
th { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }

/* -----------  FAQ  ----------- */
.faq { display: grid; gap: var(--s-3); }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: var(--s-4) var(--s-5);
  transition: border-color var(--t) var(--ease-out);
}
.faq details[open] { border-color: var(--gold-300); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; color: var(--gold-600); transition: transform var(--t) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: var(--s-3) 0 0; color: var(--text-soft); }

/* -----------  HERO BANNER STRIP (for shop / specials promo) ---- */
.banner-strip {
  background: var(--gold-grad);
  color: var(--ink);
  padding: 10px var(--s-4);
  text-align: center;
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.banner-strip a { color: var(--ink); border-bottom: 1px solid var(--ink); }

/* -----------  NEIGHBORHOOD GRID  ----------- */
.neighborhood-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  display: flex; flex-direction: column; gap: var(--s-2);
  text-decoration: none;
  color: var(--ink);
  transition: all var(--t) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.neighborhood-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold-grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t) var(--ease-out);
}
.neighborhood-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--gold-300); }
.neighborhood-card:hover::before { transform: scaleX(1); }
.neighborhood-card h3 { margin: 0; font-size: 1.4rem; color: var(--ink); }
.neighborhood-card .meta { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); }
.neighborhood-card .desc { color: var(--text-muted); font-size: .92rem; }
.neighborhood-card .arrow { margin-top: var(--s-3); color: var(--gold-600); font-weight: 600; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }

/* -----------  REWARDS / LOYALTY FORM  -----------
   Two-column treatment for the Alpine IQ signup iframe.
   Form is tall (800px) and narrow (~500px) so it pairs naturally with
   benefit copy on the left. Stacks on mobile. */
.rewards-section {
  background: var(--primary-deep);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.rewards-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 400px at 90% -10%, rgba(201,169,97,.18), transparent 60%),
    radial-gradient(500px 500px at -10% 110%, rgba(26,77,69,.6), transparent 60%);
  pointer-events: none;
}
.rewards-section .container { position: relative; z-index: 1; }
.rewards-section h2,
.rewards-section h3 { color: var(--paper); }
.rewards-grid {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: var(--s-7);
  align-items: start;
}
@media (max-width: 980px) {
  .rewards-grid { grid-template-columns: 1fr; }
}
.rewards-copy { padding-top: var(--s-3); }
.rewards-copy .eyebrow { color: var(--gold-300); }
.rewards-copy .lede { color: rgba(255,255,255,.85); }
.rewards-copy ul {
  list-style: none; padding: 0; margin: var(--s-5) 0; display: grid; gap: var(--s-3);
}
.rewards-copy ul li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: var(--s-3);
  align-items: start;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255,255,255,.92);
}
.rewards-copy ul li::before {
  content: '✓';
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gold-grad);
  color: var(--ink);
  display: inline-flex;
  align-items: center; justify-content: center;
  font-weight: 700;
  font-size: .85rem;
}

/* Tier table on dark */
.rewards-tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-3);
  margin-top: var(--s-5);
}
@media (max-width: 700px) { .rewards-tiers { grid-template-columns: repeat(2, 1fr); } }
.rewards-tier {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(201,169,97,.25);
  border-radius: var(--r-md);
  padding: var(--s-4);
  text-align: center;
}
.rewards-tier .pts {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-300);
  letter-spacing: .04em;
}
.rewards-tier .reward {
  font-size: .82rem;
  color: rgba(255,255,255,.72);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* The form card */
.rewards-form-card {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: var(--s-3);
  box-shadow: 0 24px 64px rgba(0,0,0,.36);
  border: 1px solid var(--gold-300);
  position: relative;
}
.rewards-form-card::before {
  content: 'JOIN FREE';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-grad);
  color: var(--ink);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .18em;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.rewards-form-card iframe {
  display: block;
  width: 100%;
  max-width: 500px;
  height: 800px;
  border: 0;
  border-radius: var(--r-md);
  margin: 0 auto;
  background: var(--paper);
}
.rewards-fineprint {
  color: rgba(255,255,255,.55);
  font-size: .82rem;
  margin-top: var(--s-4);
  line-height: 1.5;
}

/* -----------  DELIVERY PAGE COMPONENTS  ----------- */

/* Hero stats card — sits on the right of the delivery hero */
.hero-stats {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(201,169,97,.35);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  backdrop-filter: blur(6px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}
.hero-stat .stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stat .stat-label {
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-top: 6px;
  line-height: 1.3;
}

/* Three-up Tier Showcase Cards */
.tier-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
@media (max-width: 980px) { .tier-showcase { grid-template-columns: 1fr; } }
.tier-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  transition: transform var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out);
}
.tier-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tier-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.tier-card[data-tier="70"]::before { background: var(--gold-grad); }
.tier-card[data-tier="100"]::before { background: linear-gradient(135deg, #1A4D45, #5A7A73, #1A4D45); }
.tier-card[data-tier="150"]::before { background: linear-gradient(135deg, #0F3D38, #08221E, #0F3D38); }
.tier-card .tier-eyebrow {
  font-size: .76rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-600);
}
.tier-card[data-tier="100"] .tier-eyebrow { color: var(--green-500); }
.tier-card[data-tier="150"] .tier-eyebrow { color: var(--green-700); }
.tier-card .tier-amount {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.4rem);
  line-height: 1;
  color: var(--ink);
  font-weight: 500;
}
.tier-card .tier-amount sup {
  font-size: .4em;
  vertical-align: top;
  margin-right: 4px;
  color: var(--gold-600);
}
.tier-card .tier-min { font-size: .9rem; color: var(--text-muted); margin-top: -8px; }
.tier-card .tier-meta {
  display: flex; gap: var(--s-3); flex-wrap: wrap;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: var(--s-3) 0;
  margin-top: var(--s-2);
}
.tier-card .tier-meta-item { flex: 1; min-width: 100px; }
.tier-card .tier-meta-item .v { font-family: var(--font-display); font-size: 1.4rem; color: var(--ink); }
.tier-card .tier-meta-item .l { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin-top: 2px; }
.tier-card .tier-desc { color: var(--text-soft); font-size: .95rem; }

/* Neighborhood pill grid */
.zone-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: var(--s-4);
  margin: var(--s-7) 0 var(--s-4);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--line);
}
.zone-band .zone-title { display: flex; align-items: baseline; gap: var(--s-3); flex-wrap: wrap; }
.zone-band h3 { margin: 0; font-size: clamp(1.6rem, 2.5vw, 2rem); }
.zone-band .zone-count {
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.zone-band .badge { white-space: nowrap; }
.zone-band-amount {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-600);
  font-weight: 500;
}

.zone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--s-3);
}
.nb-pill {
  display: flex; flex-direction: column; gap: 2px;
  padding: var(--s-3) var(--s-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  position: relative;
  transition: border-color var(--t) var(--ease-out), transform var(--t) var(--ease-out);
}
.nb-pill::before {
  content: '';
  position: absolute; top: 0; bottom: 0; left: 0;
  width: 3px;
  border-radius: var(--r-md) 0 0 var(--r-md);
}
.nb-pill[data-tier="70"]::before { background: var(--gold-grad); }
.nb-pill[data-tier="100"]::before { background: linear-gradient(180deg, #1A4D45, #5A7A73); }
.nb-pill[data-tier="150"]::before { background: linear-gradient(180deg, #0F3D38, #08221E); }
.nb-pill:hover { transform: translateY(-1px); border-color: var(--gold-300); }
.nb-pill .nb-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  line-height: 1.2;
  font-weight: 500;
}
.nb-pill .nb-zip {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--text-muted);
  letter-spacing: .04em;
}

/* -----------  ASIDES & PROMO  ----------- */
.promo-band {
  background: var(--primary);
  color: var(--paper);
  border-radius: var(--r-xl);
  padding: var(--s-7);
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--s-5);
  align-items: center;
}
.promo-band h2 { color: var(--paper); }
.promo-band p { color: rgba(255,255,255,.85); }
@media (max-width: 880px) { .promo-band { grid-template-columns: 1fr; } }

/* -----------  HELPERS  ----------- */
.hide { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.divider-gold { width: 80px; height: 2px; background: var(--gold-grad); border: none; margin: var(--s-4) 0; }
.text-gold { color: var(--gold-600); }
.text-cream { color: var(--cream); }
.text-paper { color: var(--paper); }
.bg-cream { background: var(--cream); }
.bg-paper { background: var(--paper); }

/* -----------  ANIMATIONS  ----------- */
.fade-up { opacity: 0; transform: translateY(16px); transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); }
.fade-up.in { opacity: 1; transform: translateY(0); }

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

/* -----------  SCROLLBAR  ----------- */
::selection { background: var(--gold-300); color: var(--ink); }
