/* ==========================================================================
   H Junior Cigars — site styles (on top of Bootstrap 5)
   ========================================================================== */

:root {
  --ink: #0c0a08;
  --ink-2: #14100c;
  --ink-3: #1c1711;
  --line: rgba(201, 161, 91, 0.24);
  --line-soft: rgba(239, 230, 214, 0.08);
  --gold: #c9a15b;
  --gold-2: #e6c98f;
  --gold-3: #8f6c34;
  --cream: #efe6d6;
  --muted: #a39886;
  --paper: #f6f3ee;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --nav-h: 84px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Bootstrap overrides */
  --bs-body-bg: var(--ink);
  --bs-body-color: var(--cream);
  --bs-body-font-family: var(--font-body);
  --bs-border-color: var(--line);
  --bs-link-color-rgb: 201, 161, 91;
  --bs-link-hover-color-rgb: 230, 201, 143;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: var(--ink); }

h1, h2, h3, h4, .display-font, .story-quote, .vitola { font-variant-numeric: lining-nums; }
h1, h2, h3, h4, .display-font {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.01em;
}
h1 em, h2 em, h3 em { font-style: italic; color: var(--gold-2); }

a { color: var(--gold); text-decoration: none; transition: color 0.3s var(--ease); }
a:hover { color: var(--gold-2); }

.text-gold { color: var(--gold) !important; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before,
.eyebrow.eyebrow-both::after {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.section { padding: clamp(4.5rem, 10vw, 8rem) 0; position: relative; }
.section-tight { padding: clamp(3rem, 7vw, 5rem) 0; }
.section-alt { background: var(--ink-2); }
.section-title { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 1rem 0 1.5rem; }
.lead-copy { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 44rem; }
.copy p { color: var(--muted); }
.copy p:last-child { margin-bottom: 0; }

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--gold);
}
.divider::before,
.divider::after {
  content: "";
  height: 1px;
  width: min(120px, 22vw);
  background: linear-gradient(90deg, transparent, var(--gold));
}
.divider::after { transform: scaleX(-1); }
.divider svg { width: 14px; height: 14px; }

.rule { border: 0; height: 1px; margin: 0; opacity: 1; background: linear-gradient(90deg, transparent, var(--line), transparent); }

/* ---------- Buttons ---------- */
.btn-gold,
.btn-outline-gold {
  --bs-btn-padding-x: 2rem;
  --bs-btn-padding-y: 0.95rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  border-radius: 0;
  transition: all 0.35s var(--ease);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 45%, var(--gold-3));
  color: var(--ink);
  border: 1px solid var(--gold);
}
.btn-gold:hover,
.btn-gold:focus-visible {
  color: var(--ink);
  background: var(--gold-2);
  border-color: var(--gold-2);
  box-shadow: 0 10px 30px -10px rgba(201, 161, 91, 0.6);
  transform: translateY(-2px);
}
.btn-outline-gold { color: var(--cream); border: 1px solid var(--line); background: transparent; }
.btn-outline-gold:hover,
.btn-outline-gold:focus-visible { color: var(--ink); background: var(--cream); border-color: var(--cream); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.link-arrow { padding: 0.6rem 0; }
.link-arrow i { transition: transform 0.3s var(--ease); }

/* Bootstrap's g-5 gutter (3rem) is wider than the container padding, which
   pushes rows 12px past the screen edge on phones. Keep the vertical gap,
   narrow the horizontal one. */
@media (max-width: 767.98px) {
  .row.g-5 { --bs-gutter-x: 1.5rem; }
}
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; }
.brand-logo { display: block; height: 56px; width: auto; transition: height 0.4s var(--ease); }
.site-nav.is-scrolled .brand-logo { height: 46px; }
.brand-logo-lg { height: 72px; }
@media (max-width: 575.98px) { .brand-logo { height: 40px; } }

/* ---------- Navbar ---------- */
.site-nav {
  --bs-navbar-padding-y: 0;
  height: var(--nav-h);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), height 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-nav.is-scrolled {
  --nav-h: 70px;
  background: rgba(12, 10, 8, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line-soft);
}
.site-nav .nav-link {
  color: var(--cream);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 0.5rem 0 !important;
  margin: 0 1.1rem;
  position: relative;
}
.site-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.1rem;
  height: 1px;
  width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.site-nav .nav-link:hover,
.site-nav .nav-link.active { color: var(--gold-2); }
.site-nav .nav-link:hover::after,
.site-nav .nav-link.active::after { transform: scaleX(1); transform-origin: left; }

.navbar-toggler { border: 0; padding: 0.5rem; box-shadow: none !important; }
.toggler-bars { display: block; width: 26px; height: 12px; position: relative; }
.toggler-bars::before,
.toggler-bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--cream);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.toggler-bars::before { top: 0; }
.toggler-bars::after { top: 11px; }
.navbar-toggler[aria-expanded="true"] .toggler-bars::before { top: 6px; transform: rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .toggler-bars::after { top: 6px; transform: rotate(-45deg); }

@media (max-width: 991.98px) {
  .site-nav { height: auto; min-height: var(--nav-h); }
  .site-nav .navbar-collapse {
    background: var(--ink);
    margin: 0 calc(var(--bs-gutter-x) * -0.5);
    padding: 1rem 1.5rem 2rem;
    border-top: 1px solid var(--line-soft);
  }
  .site-nav .nav-link { margin: 0; padding: 0.9rem 0 !important; border-bottom: 1px solid var(--line-soft); }
  .site-nav .nav-link::after { display: none; }
  .site-nav .navbar-collapse.show,
  .site-nav .navbar-collapse.collapsing { min-height: calc(100vh - var(--nav-h)); }
}

/* ---------- Images ---------- */
.media {
  position: relative;
  background-color: var(--ink-3);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.photo { display: block; width: 100%; height: 100%; object-fit: cover; }

.media-frame { position: relative; }
.media-frame::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--line);
  pointer-events: none;
}
.media-frame.frame-left::before { inset: 14px 14px -14px -14px; }
@media (max-width: 767.98px) {
  .media-frame::before { inset: 8px -8px -8px 8px; }
  .media-frame.frame-left::before { inset: 8px 8px -8px -8px; }
}
.media-frame > * { position: relative; z-index: 1; }

.ratio-portrait { aspect-ratio: 4 / 5; }
.ratio-land { aspect-ratio: 3 / 2; }

/* ---------- Smoke ---------- */
.smoke-bg {
  background:
    linear-gradient(180deg, rgba(12, 10, 8, 0.55), rgba(12, 10, 8, 0.9)),
    url("../img/smoke.jpg") center / cover no-repeat,
    var(--ink);
}
.smoke { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.smoke span {
  position: absolute;
  width: 60vmax;
  height: 60vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 230, 214, 0.08), transparent 62%);
  filter: blur(30px);
  animation: drift 28s var(--ease) infinite alternate;
}
.smoke span:nth-child(1) { left: -20vmax; bottom: -30vmax; }
.smoke span:nth-child(2) { right: -25vmax; bottom: -35vmax; animation-duration: 34s; animation-delay: -8s; }
.smoke span:nth-child(3) { left: 30%; bottom: -45vmax; animation-duration: 40s; animation-delay: -16s; opacity: 0.7; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(6vmax, -10vmax, 0) scale(1.25); }
}

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 3rem) 0 4rem;
  isolation: isolate;
  overflow: hidden;
}
.hero h1 { font-size: clamp(2.9rem, 6.4vw, 5.6rem); font-weight: 400; margin: 1.5rem 0; }
.hero p { max-width: 30rem; color: var(--muted); font-size: 1.12rem; }

.hero-carousel { position: relative; }
.hero-carousel .carousel-item { aspect-ratio: 3 / 2; }
.hero-carousel .carousel-item img { width: 100%; height: 100%; object-fit: cover; }
.carousel-dots {
  position: static;
  margin: 1.75rem 0 0;
  justify-content: flex-start;
  gap: 0.6rem;
}
.carousel-dots [data-bs-target] {
  width: 9px;
  height: 9px;
  margin: 0;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: transparent;
  opacity: 1;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.carousel-dots .active { background: var(--gold); transform: scale(1.15); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  min-height: 78svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 4rem) 0 4.5rem;
  isolation: isolate;
  overflow: hidden;
}
.page-hero .hero-bg { position: absolute; inset: 0; z-index: -1; }
.page-hero .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 10, 8, 0.85) 0%, rgba(12, 10, 8, 0.35) 65%, rgba(12, 10, 8, 0.2) 100%),
    linear-gradient(0deg, var(--ink) 2%, rgba(12, 10, 8, 0.3) 50%, rgba(12, 10, 8, 0.6) 100%);
}
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); font-weight: 400; margin: 1.2rem 0 1rem; }
.vertical-label {
  position: absolute;
  left: max(1.25rem, calc((100vw - 1320px) / 2 - 3rem));
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-size: 0.7rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  z-index: 2;
  display: none;
}
@media (min-width: 1200px) { .vertical-label { display: block; } }

/* Silhouette hero / banner: rim-lit portrait over smoke */
.silhouette {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.silhouette-img {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  width: auto;
  max-width: none;
  z-index: 0;
  pointer-events: none;
}
.silhouette::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, transparent 35%, rgba(12, 10, 8, 0.55) 70%), linear-gradient(0deg, var(--ink), transparent 30%);
  pointer-events: none;
}
.silhouette .container { position: relative; z-index: 2; }


.page-hero.silhouette { align-items: center; min-height: 100svh; }
.page-hero.silhouette .silhouette-img { height: 92%; left: max(-6vw, -80px); }
/* Wide screens: title sits top-right above the smoke (as in the Figma),
   portrait is sized by width so the smoke ends before the text column. */
@media (min-width: 992px) {
  .page-hero.silhouette {
    align-items: flex-start;
    padding-top: calc(var(--nav-h) + clamp(3rem, 9vh, 7rem));
  }
  .page-hero.silhouette .silhouette-img {
    height: auto;
    width: min(60vw, 138svh);
    max-height: 90%;
    object-fit: contain;
    object-position: left bottom;
    left: 0;
  }
  .page-hero.silhouette::after {
    background: linear-gradient(0deg, var(--ink), transparent 25%);
  }
  .page-hero.silhouette h1 { font-size: clamp(2.6rem, 5vw, 5rem); }
}
/* Phones / tablets: portrait on top, title underneath */
@media (max-width: 991.98px) {
  .page-hero.silhouette { align-items: flex-end; min-height: 0; padding-top: calc(var(--nav-h) + min(72vw, 560px)); }
  .page-hero.silhouette .silhouette-img {
    top: var(--nav-h);
    bottom: auto;
    height: auto;
    width: min(112%, 820px);
    left: -12%;
    opacity: 1;
  }
}

.aged {
  min-height: clamp(460px, 62vw, 720px);
  display: flex;
  align-items: center;
}
.aged .silhouette-img { height: 96%; left: max(-4vw, -60px); }
/* Line the portrait up with the page content (Bootstrap container edge + gutter) */
@media (min-width: 992px)  { .aged .silhouette-img { height: 80%; left: calc((100vw - 960px) / 2 + 0.75rem); } }
@media (min-width: 1200px) { .aged .silhouette-img { left: calc((100vw - 1140px) / 2 + 0.75rem); } }
@media (min-width: 1400px) { .aged .silhouette-img { height: 88%; left: calc((100vw - 1320px) / 2 + 0.75rem); } }
.aged h2 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 400; line-height: 1.02; }

@media (max-width: 767.98px) {
  .aged .silhouette-img { height: auto; width: 125%; left: -25%; opacity: 0.6; }
  .aged { align-items: flex-end; padding-bottom: 3rem; }
}

/* ---------- Story ---------- */
.story-quote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  line-height: 1.35;
  font-weight: 400;
  color: var(--cream);
}
.story-quote strong { color: var(--gold-2); font-weight: 500; }
.dropcap::first-letter {
  font-family: var(--font-display);
  float: left;
  font-size: 4.4rem;
  line-height: 0.85;
  padding: 0.35rem 0.6rem 0 0;
  color: var(--gold);
}

/* ---------- Photo banner ---------- */
.banner {
  position: relative;
  min-height: clamp(340px, 50vw, 560px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  isolation: isolate;
}
.banner .media { position: absolute; inset: 0; z-index: -1; }
.banner .media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 90% at 50% 50%, rgba(12, 10, 8, 0.45), rgba(12, 10, 8, 0.88));
}
.banner-strong .media::after { background: radial-gradient(70% 80% at 50% 50%, rgba(12, 10, 8, 0.78), rgba(12, 10, 8, 0.9)); }
.banner h2 { font-size: clamp(2.2rem, 5.4vw, 4.2rem); font-weight: 400; }
.banner p { color: rgba(239, 230, 214, 0.85); max-width: 46rem; margin: 1.25rem auto 0; font-size: 1.1rem; }

/* ---------- Feature rows ---------- */
.feature-row + .feature-row { margin-top: clamp(4.5rem, 9vw, 7.5rem); }
.feature-row h2 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); margin: 0.9rem 0 1.4rem; }
.check-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.check-list li {
  position: relative;
  padding: 0.9rem 0 0.9rem 2.2rem;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
}
.check-list li:last-child { border-bottom: 1px solid var(--line-soft); }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 1.45rem;
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  border: 1px solid var(--gold);
}
.check-list strong { color: var(--cream); font-weight: 400; }

/* ---------- Values ---------- */
.values { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.value { padding: 3.25rem 2rem; text-align: center; }
.value + .value { border-left: 1px solid var(--line-soft); }
@media (max-width: 767.98px) {
  .value + .value { border-left: 0; border-top: 1px solid var(--line-soft); }
}
.value-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.6rem;
  transition: all 0.4s var(--ease);
}
.value:hover .value-icon { background: var(--gold); color: var(--ink); transform: translateY(-4px); }
.value h3 { font-size: 1.7rem; margin-bottom: 0.9rem; }
.value p { color: var(--muted); font-size: 0.97rem; margin: 0; }

/* ---------- Product cards (home) ---------- */
.product-card {
  display: block;
  height: 100%;
  color: var(--cream);
  border: 1px solid var(--line-soft);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.product-card:hover { color: var(--cream); border-color: var(--line); transform: translateY(-6px); }
.product-card .box-shot { background: var(--paper); aspect-ratio: 1 / 1; overflow: hidden; }
.product-card .box-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.product-card:hover .box-shot img { transform: scale(1.05); }
.product-card .card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--ink-2);
}
.product-card h3 { font-size: 1.6rem; margin: 0; }
.product-card .size { font-size: 0.72rem; letter-spacing: 0.18em; color: var(--gold); text-transform: uppercase; white-space: nowrap; }

/* ---------- Product detail ---------- */
.product-nav {
  position: sticky;
  top: 70px;
  z-index: 10;
  background: rgba(12, 10, 8, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.product-nav .nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; justify-content: center; }
.product-nav .nav::-webkit-scrollbar { display: none; }
.product-nav .nav-link {
  white-space: nowrap;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid transparent;
}
.product-nav .nav-link:hover,
.product-nav .nav-link.active { color: var(--gold-2); border-bottom-color: var(--gold); }
@media (max-width: 575.98px) { .product-nav .nav { justify-content: flex-start; } }

.product-detail { padding: clamp(4.5rem, 9vw, 7.5rem) 0; border-bottom: 1px solid var(--line-soft); }
.product-detail:nth-of-type(even) { background: var(--ink-2); }
.product-index { font-size: 0.74rem; letter-spacing: 0.4em; color: var(--gold); text-transform: uppercase; }
.product-detail h2 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 400; margin: 0.8rem 0 0.4rem; }
.vitola { color: var(--muted); font-style: italic; font-family: var(--font-display); font-size: 1.35rem; }

.spec-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-soft); }
.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.95rem;
}
.spec-list span { color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.74rem; padding-top: 0.2rem; }
.spec-list strong { font-weight: 400; color: var(--cream); text-align: right; }

/* Cigar photo with ring-gauge / length call-outs */
.cigar-stage {
  position: relative;
  padding: 4.25rem 1.5rem 4rem;
  border: 1px solid var(--line-soft);
  background: radial-gradient(70% 60% at 50% 50%, rgba(201, 161, 91, 0.09), transparent 70%);
}
.cigar-stage img {
  display: block;
  width: var(--w, 100%);
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.55));
  transition: transform 0.8s var(--ease);
}
.product-detail:hover .cigar-stage img { transform: translateX(8px) rotate(-1deg); }
.callout {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.callout strong { color: var(--gold-2); font-weight: 400; }
.callout-top { top: 1.25rem; }
.callout-bottom { bottom: 1.25rem; }
.callout-top::after,
.callout-bottom::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: 1.1rem;
  background: var(--gold);
  opacity: 0.7;
}
.callout-top::after { top: calc(100% + 0.35rem); }
.callout-bottom::before { bottom: calc(100% + 0.35rem); }

.box-card {
  background: var(--paper);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.box-card img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Contact ---------- */
.contact-panel {
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 60%);
  padding: clamp(2rem, 5vw, 3.5rem);
}
.form-label {
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.form-control {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--cream);
  padding: 0.75rem 0;
  font-weight: 300;
  transition: border-color 0.3s var(--ease);
}
.form-control::placeholder { color: rgba(163, 152, 134, 0.55); }
.form-control:focus {
  background: transparent;
  color: var(--cream);
  border-color: var(--gold);
  box-shadow: 0 1px 0 0 var(--gold);
}
textarea.form-control { resize: vertical; min-height: 130px; }
.was-validated .form-control:invalid,
.form-control.is-invalid { border-color: #c4715b; background-image: none; }
.was-validated .form-control:invalid:focus,
.form-control.is-invalid:focus { box-shadow: 0 1px 0 0 #c4715b; }
.was-validated .form-control:valid { border-color: var(--line); background-image: none; }
.was-validated .form-control:valid:focus { box-shadow: 0 1px 0 0 var(--gold); border-color: var(--gold); }
.invalid-feedback { color: #d98b76; font-size: 0.82rem; }
.form-success {
  display: none;
  border: 1px solid var(--line);
  padding: 1rem 1.25rem;
  color: var(--gold-2);
  font-size: 0.95rem;
}
.form-success.show { display: flex; align-items: center; gap: 0.75rem; }
.form-error {
  display: none;
  border: 1px solid #8a3a2f;
  padding: 1rem 1.25rem;
  color: #e3a493;
  font-size: 0.95rem;
}
.form-error.show { display: flex; align-items: center; gap: 0.75rem; }
/* Spam trap: hidden from people, visible to naive bots */
.form-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line-soft);
  color: var(--cream);
}
.contact-item:last-of-type { border-bottom: 1px solid var(--line-soft); }
.contact-item:hover { color: var(--gold-2); }
.contact-item i {
  flex: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
}
.contact-item small {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 4.5rem 0 2rem;
  background: linear-gradient(180deg, var(--ink), #080605);
}
.footer-nav a,
.footer-contact a {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  white-space: nowrap;
  text-transform: uppercase;
}
.footer-contact a { text-transform: none; letter-spacing: 0.08em; font-size: 0.95rem; }
.footer-contact a { display: inline-flex; align-items: center; }
.footer-contact i { color: var(--gold); width: 1.25rem; margin-right: 0.75rem; text-align: center; }
.footer-nav a:hover,
.footer-contact a:hover { color: var(--gold-2); }
.site-footer .legal { color: rgba(163, 152, 134, 0.7); font-size: 0.82rem; max-width: 46rem; margin: 0 auto; }
.site-footer .copy { color: rgba(163, 152, 134, 0.6); font-size: 0.78rem; letter-spacing: 0.1em; }
.age-badge {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold);
}

/* ---------- Age gate ---------- */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
}
.js:not(.age-ok) .age-gate { display: flex; }
.js:not(.age-ok) body { overflow: hidden; }
.age-gate.is-leaving { animation: gateout 0.6s var(--ease) forwards; }
@keyframes gateout { to { opacity: 0; visibility: hidden; } }

.age-card {
  position: relative;
  z-index: 2;
  width: min(580px, 100%);
  text-align: center;
  padding: clamp(2.5rem, 6vw, 3.75rem) clamp(1.5rem, 5vw, 3.25rem);
  border: 1px solid var(--line);
  background: rgba(12, 10, 8, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.age-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid var(--line-soft);
  pointer-events: none;
}
.age-logo { display: block; width: min(280px, 75%); height: auto; margin: 0 auto; }
.age-card h2 { font-size: clamp(2rem, 5vw, 2.7rem); margin: 2.25rem 0 1.75rem; }
.age-card .legal { font-size: 0.82rem; color: var(--muted); line-height: 1.7; margin: 1.75rem 0 0; }
.age-denied { display: none; color: #d98b76; font-size: 0.92rem; margin-top: 1.25rem; }
.age-denied.show { display: block; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-delay-1 { transition-delay: 0.12s; }
.js .reveal-delay-2 { transition-delay: 0.24s; }
.js .reveal-delay-3 { transition-delay: 0.36s; }

/* ==========================================================================
   Motion
   ========================================================================== */

/* Page fade in / out between pages */
body { animation: page-in 0.7s var(--ease) both; }
body.is-leaving { opacity: 0; transition: opacity 0.28s ease; }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }

/* Navbar slides down on load */
.site-nav { animation: nav-in 0.9s var(--ease) 0.15s both; }
@keyframes nav-in { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: none; } }

/* Gold scroll-progress line */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 1100;
  background: linear-gradient(90deg, var(--gold-3), var(--gold-2), var(--gold));
  transform-origin: left;
  transform: scaleX(0);
  pointer-events: none;
}

/* Headings rise in word by word */
.js [data-split].reveal { opacity: 1; transform: none; }
.js [data-split] .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}
.js [data-split] .w > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms + 0.1s);
}
.js [data-split].is-visible .w > span { transform: none; }

/* Framed photos: curtain wipe + settle */
.js .reveal.reveal-frame { opacity: 1; transform: none; }
.js .reveal-frame .media-frame::before { opacity: 0; transform: translate(-10px, -10px); transition: opacity 1s var(--ease) 0.7s, transform 1s var(--ease) 0.7s; }
.js .reveal-frame .media-frame > * { clip-path: inset(0 100% 0 0); transition: clip-path 1.3s cubic-bezier(0.77, 0, 0.18, 1); }
.js .reveal-frame .box-card img,
.js .reveal-frame .carousel-item img { transform: scale(1.18); transition: transform 1.8s var(--ease); }
.js .reveal-frame.is-visible .media-frame::before { opacity: 1; transform: none; }
.js .reveal-frame.is-visible .media-frame > * { clip-path: inset(0 0 0 0); }
.js .reveal-frame.is-visible .box-card img,
.js .reveal-frame.is-visible .carousel-item img { transform: none; }

/* Hero carousel: slow Ken Burns zoom on the active slide */
.hero-carousel { overflow: hidden; }
.reveal-frame.is-visible .hero-carousel .carousel-item.active img,
.hero-carousel .carousel-item.active img { animation: ken-burns 9s ease-out both; }
@keyframes ken-burns { from { transform: scale(1.12); } to { transform: scale(1); } }

/* Parallax layers need a little bleed so edges never show */
.banner { overflow: hidden; }
.banner .media { inset: -14% 0; will-change: transform; }
[data-parallax] { will-change: transform; }

/* Drifting smoke behind dark sections */
.smoke-bg::before {
  content: "";
  position: absolute;
  inset: -10%;
  z-index: 0;
  background: url("../img/smoke.jpg") center / cover no-repeat;
  opacity: 0.22;
  mix-blend-mode: screen;
  animation: smoke-pan 38s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes smoke-pan {
  0% { transform: translate3d(-3%, 2%, 0) scale(1.05); }
  100% { transform: translate3d(3%, -3%, 0) scale(1.15); }
}
.age-gate.smoke-bg::before { position: fixed; }

/* Cigar glides in, then floats */
.js .product-detail .cigar-photo {
  opacity: 0;
  transform: translateX(-60px) rotate(-3deg);
  transition: opacity 1.2s var(--ease) 0.25s, transform 1.4s var(--ease) 0.25s;
}
.js .product-detail .reveal.is-visible .cigar-photo { opacity: 1; transform: none; animation: cigar-float 6s ease-in-out 1.8s infinite; }
@keyframes cigar-float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-6px) rotate(-0.6deg); }
}
.js .callout { opacity: 0; transition: opacity 0.8s var(--ease) 0.9s; }
.js .reveal.is-visible .callout { opacity: 1; }
.callout-top::after, .callout-bottom::before { transform-origin: center; }
.js .callout-top::after,
.js .callout-bottom::before { transform: scaleY(0); transition: transform 0.6s var(--ease) 1.2s; }
.js .reveal.is-visible .callout-top::after,
.js .reveal.is-visible .callout-bottom::before { transform: scaleY(1); }

/* Divider lines draw outwards */
.js .divider::before,
.js .divider::after { transition: transform 1.2s var(--ease) 0.2s; }
.js .divider.reveal::before { transform: scaleX(0); transform-origin: right; }
.js .divider.reveal::after { transform: scaleX(0) rotate(180deg); }
.js .divider.reveal.is-visible::before { transform: scaleX(1); }
.js .divider.reveal.is-visible::after { transform: scaleX(-1); }
.js .divider.reveal svg { transform: rotate(-180deg) scale(0); transition: transform 1s var(--ease) 0.5s; }
.js .divider.reveal.is-visible svg { transform: none; }

/* Gold button shimmer */
.btn-gold { position: relative; overflow: hidden; isolation: isolate; }
.btn-gold::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.8s var(--ease);
}
.btn-gold:hover::after,
.btn-gold:focus-visible::after { left: 130%; }

/* Value icons gently float once visible */
.value.is-visible .value-icon { animation: icon-float 5s ease-in-out 1s infinite; }
.value:nth-child(2).is-visible .value-icon { animation-delay: 1.6s; }
.value:nth-child(3).is-visible .value-icon { animation-delay: 2.2s; }
@keyframes icon-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.value:hover .value-icon { animation-play-state: paused; }

/* Product cards: soft gold glow on hover */
.product-card { position: relative; }
.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: 0 30px 60px -30px rgba(201, 161, 91, 0.45);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.product-card:hover::after { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  body { opacity: 1; }
  .js [data-split] .w > span,
  .js .reveal-frame .media-frame > *,
  .js .reveal-frame .photo,
  .js .reveal-frame .box-card img,
  .js .reveal-frame .carousel-item img,
  .js .product-detail .cigar-photo,
  .js .callout,
  .js .divider.reveal svg { opacity: 1; transform: none; clip-path: none; }
  .js .divider.reveal::before { transform: none; }
  .js .divider.reveal::after { transform: scaleX(-1); }
  .smoke-bg::before { display: none; }
  .scroll-progress { display: none; }
}
