/* ============================================================
   797 DISTILLERY — Main Stylesheet
   Rustic Tennessee Craft Spirits Aesthetic
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=Crimson+Text:ital,wght@0,400;0,600;1,400&family=Oswald:wght@300;400;500;600&display=swap');

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --bg-deep:       #0e0704;
  --bg-dark:       #17100a;
  --bg-mid:        #221509;
  --bg-card:       #2e1c0f;
  --bg-card-hover: #3a2415;
  --bg-surface:    #3d2916;

  --copper:        #c8741a;
  --copper-light:  #e08930;
  --copper-dark:   #9a5510;
  --gold:          #d4a844;
  --gold-light:    #e8c870;

  --text-primary:  #f0e8d8;
  --text-secondary:#c8b89a;
  --text-muted:    #8a7060;
  --text-dim:      #5a4535;

  --border:        rgba(200, 116, 26, 0.25);
  --border-light:  rgba(200, 116, 26, 0.15);
  --border-subtle: rgba(240, 232, 216, 0.08);

  --font-display:  'Playfair Display', Georgia, serif;
  --font-body:     'Crimson Text', Georgia, serif;
  --font-label:    'Oswald', sans-serif;

  --shadow-sm:     0 2px 12px rgba(0,0,0,0.4);
  --shadow-md:     0 8px 32px rgba(0,0,0,0.6);
  --shadow-lg:     0 20px 60px rgba(0,0,0,0.8);
  --shadow-copper: 0 4px 20px rgba(200, 116, 26, 0.2);

  --radius:        4px;
  --radius-lg:     8px;

  --transition:    0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* ── Texture Overlay ──────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.6;
}

/* ── Age Gate ─────────────────────────────────────────────── */
#age-gate {
  position: fixed;
  inset: 0;
  background: var(--bg-deep);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.age-gate__inner {
  text-align: center;
  max-width: 480px;
  border: 1px solid var(--border);
  padding: 4rem 3rem;
  background: var(--bg-card);
  position: relative;
}

.age-gate__inner::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid var(--border-light);
  pointer-events: none;
}

.age-gate__logo {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.age-gate__sub {
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--copper);
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.age-gate__question {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.age-gate__notice {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.age-gate__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.8rem 2rem;
  border-radius: var(--radius);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--copper);
  color: var(--text-primary);
  border: 1px solid var(--copper-light);
}

.btn-primary:hover {
  background: var(--copper-light);
  box-shadow: var(--shadow-copper);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(240,232,216,0.35);
}

.btn-outline:hover {
  border-color: var(--copper);
  color: var(--copper-light);
}

.btn-ghost {
  background: transparent;
  color: var(--copper);
  border: 1px solid var(--border);
  padding: 0.6rem 1.4rem;
  font-size: 0.7rem;
}

.btn-ghost:hover {
  background: rgba(200,116,26,0.12);
  border-color: var(--copper-light);
}

.btn-ghost .arrow { font-size: 0.65rem; }

/* ── Header / Nav ─────────────────────────────────────────── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(14, 7, 4, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1;
}

.nav-logo__img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 680px) {
  .nav-logo__img { height: 38px; }
}

.nav-logo__number {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.nav-logo__word {
  font-family: var(--font-label);
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--copper);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--copper);
  transition: width var(--transition);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text-primary);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-social a {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  font-size: 0.75rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.nav-social a:hover {
  border-color: var(--copper);
  color: var(--copper);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 12px 11px;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  background: none;
  border: none;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

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

.hero__bg {
  position: absolute;
  inset: 0;
  background-color: var(--bg-mid);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(14,7,4,0.90) 0%,
    rgba(14,7,4,0.70) 45%,
    rgba(14,7,4,0.20) 100%
  );
}

/* Fallback still-like gradient when no hero image */
.hero__bg-fallback {
  background: radial-gradient(ellipse at 70% 40%, #3d2010 0%, #1a0d06 50%, #0e0704 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  width: 100%;
}

.hero__eyebrow {
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero__eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--copper);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  max-width: 700px;
}

.hero__title span {
  display: block;
  color: var(--copper-light);
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-style: italic;
}

.hero__location {
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 3rem;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Section Helpers ──────────────────────────────────────── */
.section {
  padding: 5rem 2rem;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  position: relative;
  display: inline-block;
}

.section-title::before,
.section-title::after {
  content: '——';
  font-family: var(--font-label);
  font-size: 0.8rem;
  color: var(--copper);
  vertical-align: middle;
  margin: 0 1rem;
  letter-spacing: -0.1em;
}

.section-divider {
  width: 60px;
  height: 1px;
  background: var(--copper);
  margin: 1.5rem auto;
  position: relative;
}

.section-divider::before,
.section-divider::after {
  content: '◆';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.4rem;
  color: var(--copper);
}

.section-divider::before { right: calc(100% + 8px); }
.section-divider::after  { left:  calc(100% + 8px); }

/* ── Product Cards ────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.5rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--copper), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.product-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.product-card:hover::before { opacity: 1; }

.product-card__img-wrap {
  height: 180px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.product-card__img-wrap img {
  max-height: 180px;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.7));
  transition: transform var(--transition);
}

.product-card:hover .product-card__img-wrap img {
  transform: translateY(-4px);
}

.product-card__img-placeholder {
  width: 100px;
  height: 160px;
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-mid) 100%);
  border-radius: 50px 50px 8px 8px;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-label);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.product-card__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.product-card__proof {
  font-family: var(--font-label);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--copper);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

/* ── Featured Spirits ─────────────────────────────────────── */
.featured-section {
  background: var(--bg-mid);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ── Spirits Catalog ──────────────────────────────────────── */
.catalog-section { background: var(--bg-dark); }

.catalog-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 2rem;
}

.catalog-category__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.catalog-category__items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

/* ── Events Section ───────────────────────────────────────── */
.events-section { background: var(--bg-mid); }

.events-list {
  display: grid;
  gap: 1rem;
  max-width: 700px;
  margin: 0 auto;
}

.event-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.8rem;
  transition: var(--transition);
}

.event-card:hover {
  border-color: var(--border);
  background: var(--bg-card-hover);
}

.event-card__date {
  text-align: center;
  min-width: 60px;
  padding-top: 0.15rem;
}

.event-card__month {
  font-family: var(--font-label);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--copper);
}

.event-card__day {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

.event-card__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.event-card__time {
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.event-card__desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-top: 0.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all 0.2s ease;
}

.event-card__desc.expanded {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.event-card__toggle {
  background: none;
  border: none;
  color: var(--copper);
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.3rem 0;
  margin-top: 0.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: opacity 0.15s;
}

.event-card__toggle:hover { opacity: 0.75; }

.event-card__toggle svg {
  width: 10px;
  height: 10px;
  fill: currentColor;
  transition: transform 0.2s;
}

.event-card__toggle.open svg {
  transform: rotate(180deg);
}

/* ── Story Banner ─────────────────────────────────────────── */
.story-banner {
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.story-banner-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 5rem 2rem;
}

.story-banner__headline {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.story-banner__body {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.story-facts {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.story-facts span:not(:last-child)::after {
  content: ' / ';
  padding: 0 0.3rem;
}

/* ── Footer ───────────────────────────────────────────────── */
footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
  padding: 2.5rem 2rem;
  text-align: center;
}

.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-social__label {
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-right: 0.5rem;
}

.footer-social a {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-social a:hover {
  color: var(--copper);
  border-color: var(--copper);
}

/* Hide social icon links until a real URL is set by JS */
.nav-social a[href="#"],
.footer-social a[href="#"] {
  display: none;
}
/* Hide the "Follow Us" label when both links are hidden */
.footer-social:has(a[href="#"]:only-of-type) .footer-social__label,
.footer-social:not(:has(a:not([href="#"]))) .footer-social__label {
  display: none;
}

.footer-copy {
  font-family: var(--font-label);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.footer-distilcore {
  font-family: var(--font-label);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-top: 0.4rem;
  opacity: 0.5;
}

.footer-distilcore a {
  color: var(--copper);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.footer-distilcore a:hover {
  opacity: 1;
}

/* ── Product Detail Page ──────────────────────────────────── */
.product-detail {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.product-detail__img-wrap {
  position: sticky;
  top: 100px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 60%, rgba(139,90,43,0.12) 0%, rgba(14,7,4,0) 70%);
  border-radius: 4px;
  padding: 2rem 1rem;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-detail__img-wrap img {
  max-height: 460px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.8));
  transition: transform 0.4s ease;
}

.product-detail__img-wrap img:hover {
  transform: scale(1.02);
}

.product-detail__breadcrumb {
  font-family: var(--font-label);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.product-detail__breadcrumb a { color: var(--copper); }
.product-detail__breadcrumb a:hover { text-decoration: underline; }

.product-detail__category {
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--copper);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.product-detail__name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.0;
  margin-bottom: 0.75rem;
}

.product-detail__proof {
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
}

.product-detail__proof::before {
  content: '— ';
  color: var(--copper);
}

.product-detail__proof::after {
  content: ' —';
  color: var(--copper);
}

.product-detail__description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.9;
  font-style: italic;
  margin-bottom: 2rem;
}

.product-detail__tasting {
  margin-bottom: 2rem;
}

.product-detail__tasting-label {
  font-family: var(--font-label);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--copper);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.product-detail__tasting-notes {
  font-size: 1rem;
  color: var(--text-secondary);
}

.product-detail__find {
  margin-top: 2rem;
}

/* ── Spirits Page Filters ─────────────────────────────────── */
.spirits-filters {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--border-light);
  border-radius: 2px;
  color: var(--text-muted);
  background: transparent;
  transition: var(--transition);
  cursor: pointer;
}

.filter-btn:hover, .filter-btn.active {
  border-color: var(--copper);
  color: var(--copper-light);
  background: rgba(200,116,26,0.08);
}

/* ── Visit Page ───────────────────────────────────────────── */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.visit-info h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--copper-light);
}

.visit-info p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  white-space: pre-line;
}

.map-placeholder {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ── Page Hero (inner pages) ──────────────────────────────── */
.page-hero {
  background: var(--bg-mid);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--border-subtle);
  padding: 7rem 2rem 5rem;
  text-align: center;
  position: relative;
}

@media (max-width: 680px) {
  .page-hero {
    background-size: 100% auto;
    background-position: top center;
    padding: 0 1.5rem 2.5rem;
    /* JS will set padding-top to match the image aspect ratio */
  }
  .page-hero--no-image {
    padding: 5rem 1.5rem 3rem;
  }
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,8,6,0.55) 0%, rgba(10,8,6,0.7) 100%);
  pointer-events: none;
}

.page-hero__title,
.page-hero__subtitle {
  position: relative;
  z-index: 1;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

.page-hero__subtitle {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-top: 0.5rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

/* ── Loading State ────────────────────────────────────────── */
.loading {
  text-align: center;
  padding: 4rem;
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.loading::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--copper);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-left: 1rem;
  vertical-align: middle;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── Scroll Reveal ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Mobile Responsive ────────────────────────────────────── */
@media (max-width: 900px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-categories { grid-template-columns: 1fr; }
  .product-detail {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 0;
  }
  .product-detail__img-wrap {
    position: relative;
    top: unset;
    min-height: unset;
    padding: 0;
    background: none;
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at 50% 60%, rgba(139,90,43,0.15) 0%, rgba(14,7,4,0) 70%), var(--bg-mid);
    overflow: hidden;
  }
  .product-detail__img-wrap img {
    max-height: 280px;
    max-width: 60%;
    object-fit: contain;
  }
  .product-detail__info {
    padding: 1.5rem 1.25rem 3rem;
  }
  .product-detail__breadcrumb {
    font-size: 0.55rem;
    flex-wrap: wrap;
  }
  .product-detail__name {
    font-size: 1.8rem;
  }
  .product-detail__description {
    font-size: 1rem;
    line-height: 1.7;
  }
  .visit-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(14,7,4,0.98);
    border-bottom: 1px solid var(--border-light);
    padding: 2rem;
    gap: 1.5rem;
    align-items: flex-start;
  }
  .nav-toggle { display: flex; }
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 75vh; }
  .hero__ctas { flex-direction: column; align-items: flex-start; }
  .hero__bg {
    background-position: center center;
  }
  .hero__bg::after {
    /* On mobile with portrait image, use top-to-bottom fade instead of diagonal */
    background: linear-gradient(
      180deg,
      rgba(14,7,4,0.45) 0%,
      rgba(14,7,4,0.80) 100%
    );
  }
  .section { padding: 3.5rem 1.25rem; }
  .age-gate__buttons { flex-direction: column; }
  .age-gate__inner { padding: 3rem 1.75rem; }
}

@media (max-width: 420px) {
  .featured-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
}

/* ── Horizontal Scroll (mobile product strip) ─────────────── */
@media (max-width: 680px) {
  .featured-grid {
    grid-template-columns: none;
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
  }
  .featured-grid .product-card {
    min-width: 200px;
    scroll-snap-align: start;
  }
  .featured-grid::-webkit-scrollbar { height: 3px; }
  .featured-grid::-webkit-scrollbar-track { background: var(--bg-mid); }
  .featured-grid::-webkit-scrollbar-thumb { background: var(--copper-dark); }
}


/* ============================================================
   NAV DROPDOWN — Distillery Menu
   ============================================================ */
.nav-dropdown { position: relative; }

.nav-dropdown__trigger {
  display: flex !important;
  align-items: center;
  gap: 0.3em;
  cursor: pointer;
  user-select: none;
}

.nav-dropdown__arrow {
  font-size: 0.7em;
  display: inline-block;
  transition: transform var(--transition);
  opacity: 0.7;
}

.nav-dropdown:hover .nav-dropdown__arrow,
.nav-dropdown.open .nav-dropdown__arrow {
  transform: rotate(180deg);
}

.nav-dropdown__menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: transparent;
  min-width: 155px;
  z-index: 200;
  padding-top: 14px;
}

.nav-dropdown__menu::after {
  content: '';
  position: absolute;
  inset: 14px 0 0 0;
  background: rgba(14,7,4,0.97);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  z-index: -1;
}

/* small notch */
.nav-dropdown__menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid var(--border-light);
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown.open .nav-dropdown__menu {
  display: block;
}

.nav-dropdown__menu li { list-style: none; position: relative; z-index: 1; }
.nav-dropdown__menu li:first-child a { padding-top: 0.85rem; }
.nav-dropdown__menu li:last-child  a { padding-bottom: 0.85rem; }

.nav-dropdown__menu a {
  display: block;
  padding: 0.55rem 1.2rem;
  font-family: var(--font-label);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav-dropdown__menu a:hover,
.nav-dropdown__menu a.active {
  color: var(--text-primary);
  background: rgba(200,116,26,0.08);
}

/* suppress underline decoration inside dropdown */
.nav-dropdown__menu a::after { display: none !important; }

/* ── Mobile dropdown ─────────────────── */
@media (max-width: 680px) {
  .nav-dropdown__menu {
    position: static;
    transform: none;
    background: transparent;
    border: none;
    border-left: 1px solid var(--border-light);
    border-radius: 0;
    box-shadow: none;
    padding: 0.3rem 0 0.3rem 1rem;
    margin-top: 0.5rem;
    display: none;
  }
  .nav-dropdown__menu::before { display: none; }
  .nav-dropdown.open .nav-dropdown__menu { display: block; }
  .nav-dropdown__menu a { padding: 0.4rem 0; }
}


/* ============================================================
   HISTORY — Timeline
   ============================================================ */
.timeline {
  position: relative;
  padding-left: 2.5rem;
  max-width: 720px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.timeline-entry {
  position: relative;
  padding: 0 0 3rem 2rem;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.timeline-entry.visible {
  opacity: 1;
  transform: none;
}

.timeline-entry::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 7px;
  width: 11px;
  height: 11px;
  background: var(--copper);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(200,116,26,0.15);
}

.timeline-entry__year {
  font-family: var(--font-label);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--copper);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.4rem;
}

.timeline-entry__title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.timeline-entry__body {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.85;
}

.timeline-empty {
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
  padding: 3rem 0;
}


/* ============================================================
   PODCAST — Episode Cards
   ============================================================ */
.podcast-intro {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}

.podcast-intro__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.podcast-intro__desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.podcast-platforms {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.podcast-platform-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  font-family: var(--font-label);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: border-color var(--transition), color var(--transition);
}

.podcast-platform-link:hover {
  border-color: var(--copper);
  color: var(--copper);
}

.podcast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.podcast-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.podcast-card:hover {
  border-color: rgba(200,116,26,0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow-copper);
}

.podcast-card__meta {
  padding: 1.5rem 1.5rem 1rem;
}

.podcast-card__ep {
  font-family: var(--font-label);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--copper);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.podcast-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.podcast-card__desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.podcast-card__embed {
  display: block;
}

.podcast-card__embed iframe {
  width: 100%;
  display: block;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  border: none;
}

.podcast-no-embed {
  padding: 1rem 1.5rem 1.5rem;
}

.podcast-empty {
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
  padding: 4rem 0;
  grid-column: 1 / -1;
}


/* ============================================================
   GALLERY — Photo Grid + Lightbox
   ============================================================ */
.gallery-grid {
  columns: 3;
  column-gap: 1rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  border: 1px solid var(--border-subtle);
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.8rem 1rem;
  background: linear-gradient(transparent, rgba(14,7,4,0.88));
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-style: italic;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-item__caption { opacity: 1; }

/* Lightbox */
#gallery-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(9,4,2,0.96);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

#gallery-lightbox.open { display: flex; }

.lightbox__img-wrap {
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__img {
  max-width: 88vw;
  max-height: 84vh;
  object-fit: contain;
  border-radius: var(--radius);
  display: block;
}

.lightbox__caption {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.95rem;
}

.lightbox__close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  transition: var(--transition);
  background: transparent;
  z-index: 10001;
}

.lightbox__close:hover {
  color: var(--text-primary);
  border-color: var(--copper);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
  background: rgba(14,7,4,0.6);
  z-index: 10001;
}

.lightbox__nav:hover {
  border-color: var(--copper);
  color: var(--text-primary);
  background: rgba(200,116,26,0.08);
}

.lightbox__prev { left: 1rem; }
.lightbox__next { right: 1rem; }

.gallery-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
  padding: 4rem 0;
}

@media (max-width: 900px) {
  .gallery-grid { columns: 2; }
}
@media (max-width: 480px) {
  .gallery-grid { columns: 1; }
  .lightbox__nav { display: none; }
}

/* Hidden nav items — !important ensures mobile dropdown CSS can't override */
.nav-item-hidden { display: none !important; }
