/* ==========================================================================
   Tom & Berry Premium Reserve
   Marketing site stylesheet
   --------------------------------------------------------------------------
   1.  Design tokens
   2.  Reset & base
   3.  Typography
   4.  Layout primitives
   5.  Buttons & links
   6.  Navigation
   7.  Age gate
   8.  Hero
   9.  Cards & grids
   10. Stats
   11. Testimonials
   12. Newsletter & forms
   13. Footer
   14. Product detail
   15. Where to buy
   16. Contact
   17. Legal pages
   18. Motion & reveals
   ========================================================================== */

/* 0. Typeface ============================================================= */

/* Inter, self-hosted. One variable file covers every weight the site uses, and
   keeps the page off a third-party, render-blocking stylesheet. SIL OFL 1.1. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC,
                 U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 1. Design tokens ======================================================== */

:root {
  /* Brand — sampled from the Tom & Berry logo mark and packaging */
  --brand:        #e5330f;   /* display / graphic use */
  --brand-deep:   #c42a0c;   /* button fills (5.7:1 on white) */
  --brand-text:   #b82508;   /* small text on white (6.3:1) */
  --brand-tint:   #fdf0ec;
  --sage:         #7e9e80;   /* Ohio DCC badge green */
  --sage-deep:    #5b7a5d;

  /* Neutrals */
  --ink:          #111113;
  --ink-soft:     #55555a;   /* 7.0:1 on white, 6.3:1 on --paper-warm */
  /* Text-safe: 5.07:1 on white, 4.59:1 on --paper-alt. The old #86868b was
     3.62:1 and failed AA wherever it carried copy. */
  --ink-faint:    #6e6e73;
  --ink-mute:     #86868b;   /* decorative only — icons, separators, rules */
  --paper:        #ffffff;
  --paper-alt:    #f5f5f7;
  --paper-warm:   #f4f1ea;
  --cream:        #efe9d9;

  --line:         rgba(0, 0, 0, .10);
  --line-soft:    rgba(0, 0, 0, .06);
  --line-strong:  rgba(0, 0, 0, .18);

  /* Radii */
  --r-sm: 12px;
  --r:    18px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-pill: 980px;

  /* Elevation — soft, diffuse, never harsh */
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 4px 14px rgba(0,0,0,.05);
  --shadow:    0 2px 6px rgba(0,0,0,.05), 0 18px 44px -14px rgba(0,0,0,.16);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.07), 0 48px 90px -28px rgba(0,0,0,.26);

  /* Metrics */
  --container: 1200px;
  --measure: 68ch;
  --gutter: 22px;
  --nav-h: 60px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
          Roboto, Helvetica, Arial, "Apple Color Emoji", sans-serif;

  --ease:      cubic-bezier(.22, .61, .36, 1);
  --ease-expo: cubic-bezier(.16, 1, .3, 1);
}

@media (min-width: 768px) { :root { --gutter: 40px; } }

/* 2. Reset & base ========================================================= */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Locks scrolling while the age gate or mobile menu is open */
body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }

hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

::selection { background: var(--brand); color: #fff; }

/* Visible, consistent keyboard focus everywhere */
:focus-visible {
  outline: 2px solid var(--brand-deep);
  outline-offset: 3px;
  border-radius: 6px;
}
:focus:not(:focus-visible) { outline: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 8px; left: 8px;
  z-index: 200;
  transform: translateY(-160%);
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.section--ink :focus-visible,
.footer :focus-visible { outline-color: #fff; }

/* 3. Typography =========================================================== */

h1, h2, h3, h4, h5 {
  margin: 0;
  font-weight: 650;
  letter-spacing: -.022em;
  line-height: 1.08;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0; }

.display {
  font-size: clamp(2.75rem, 1.4rem + 5.4vw, 5.25rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.02;
}

.h1 { font-size: clamp(1.95rem, 1.15rem + 3.4vw, 3.75rem); letter-spacing: -.03em; }
.h2 { font-size: clamp(1.85rem, 1.2rem + 2.6vw, 3rem);     letter-spacing: -.028em; }
.h3 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.95rem);   letter-spacing: -.022em; }
.h4 { font-size: clamp(1.15rem, 1.02rem + .5vw, 1.4rem);   letter-spacing: -.017em; font-weight: 600; }

.eyebrow {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-text);
  margin: 0 0 18px;
}
.eyebrow--muted { color: var(--ink-faint); }
.eyebrow--light { color: rgba(255,255,255,.72); }

.lede {
  font-size: clamp(1.075rem, 1rem + .45vw, 1.375rem);
  line-height: 1.5;
  color: var(--ink-soft);
  letter-spacing: -.012em;
  max-width: 62ch;
  text-wrap: pretty;
}

.body-text { color: var(--ink-soft); max-width: var(--measure); text-wrap: pretty; }
.body-text + .body-text { margin-top: 1.1em; }

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

.stack > * + * { margin-top: var(--stack-gap, 20px); }

/* 4. Layout primitives ==================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 820px; }
.container--wide   { max-width: 1440px; }

.section { padding-block: clamp(64px, 9vw, 128px); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.section--alt   { background: var(--paper-alt); }
.section--warm  { background: var(--paper-warm); }
.section--ink   { background: var(--ink); color: #fff; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .h2 + .lede { margin-top: 18px; }
.section-head--center .lede { margin-inline: auto; }

/* 5. Buttons & links ====================================================== */

a { color: var(--brand-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: 16px;
  font-weight: 570;
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), transform .22s var(--ease),
              box-shadow .22s var(--ease);
}
.btn:active { transform: scale(.975); }

.btn--primary {
  background: var(--brand-deep);
  color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.10), 0 8px 20px -8px rgba(196,42,12,.55);
}
.btn--primary:hover { background: #a72208; box-shadow: 0 2px 4px rgba(0,0,0,.12), 0 12px 26px -8px rgba(196,42,12,.6); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2c2c30; }

.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(0, 0, 0, .28); }
.btn--ghost:hover { background: rgba(0,0,0,.045); border-color: var(--ink-faint); }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: rgba(255,255,255,.86); }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.42); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.7); }

.btn--sm { min-height: 38px; padding: 8px 18px; font-size: 15px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-row--center { justify-content: center; }

/* Text link with a chevron that eases forward on hover */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 16px;
  font-weight: 550;
  color: var(--brand-text);
  text-decoration: none;
}
.link-arrow::after {
  content: "";
  width: 6px; height: 6px;
  border-right: 1.75px solid currentColor;
  border-bottom: 1.75px solid currentColor;
  transform: rotate(-45deg);
  transition: transform .22s var(--ease);
}
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-arrow:hover::after { transform: rotate(-45deg) translate(2.5px, 2.5px); }
.link-arrow--light { color: #fff; }

/* 6. Navigation =========================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, .82);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav {
    background: rgba(255, 255, 255, .62);
    -webkit-backdrop-filter: saturate(180%) blur(22px);
    backdrop-filter: saturate(180%) blur(22px);
  }
}
.nav.is-stuck { background: rgba(255, 255, 255, .84); border-bottom-color: var(--line-soft); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--nav-h);
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  flex: 0 0 auto;
}
.nav__brand img { width: 34px; height: 34px; }
.nav__brand-name { font-size: 16px; font-weight: 650; letter-spacing: -.02em; line-height: 1; }
.nav__brand-sub {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 3px;
}

.nav__links { display: none; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) { .nav__links { display: flex; } }

.nav__link {
  display: block;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -.008em;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav__link:hover { color: var(--ink); background: rgba(0,0,0,.05); }
.nav__link[aria-current="page"] { color: var(--ink); font-weight: 600; }

.nav__cta { display: none; }
@media (min-width: 900px) { .nav__cta { display: inline-flex; } }

.nav__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  margin-right: -9px;
  padding: 0 10px;
  background: none;
  border: 0;
  border-radius: 50%;
}
@media (min-width: 900px) { .nav__toggle { display: none; } }
.nav__toggle span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav__panel {
  position: fixed;
  inset: var(--nav-h) 0 0;
  z-index: 89;
  background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
  padding: 12px var(--gutter) 48px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  /* visibility flips at the END of the close transition, but IMMEDIATELY on
     open (see .is-open) — otherwise the panel is still hidden on the opening
     frame and focus cannot be moved into it. */
  transition: opacity .28s var(--ease), transform .28s var(--ease),
              visibility 0s linear .28s;
}
.nav__panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .28s var(--ease), transform .28s var(--ease),
              visibility 0s linear 0s;
}
@media (min-width: 900px) { .nav__panel { display: none; } }

.nav__panel ul { list-style: none; margin: 0; padding: 0; }
.nav__panel li { border-bottom: 1px solid var(--line-soft); }
.nav__panel nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 2px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink);
  text-decoration: none;
}
.nav__panel nav a[aria-current="page"] { color: var(--brand-text); }
.nav__panel .btn { width: 100%; margin-top: 28px; }

/* 7. Age gate ============================================================= */

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(20, 18, 17, .62);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}
.age-gate[hidden] { display: none; }

/* Set synchronously in <head> for already-verified visitors, so the gate is
   never painted even for a frame. */
html[data-age-ok] .age-gate { display: none !important; }

.age-gate__card {
  width: 100%;
  max-width: 460px;
  scrollbar-gutter: stable;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: clamp(28px, 5vw, 44px) clamp(24px, 4.5vw, 40px);
  background: var(--paper);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  animation: gate-in .45s var(--ease-expo) both;
}
@supports (max-height: 100dvh) {
  .age-gate__card { max-height: calc(100dvh - 40px); }
}
@keyframes gate-in {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to   { opacity: 1; transform: none; }
}

.age-gate__logo { width: 152px; height: auto; margin: 0 auto 24px; }

.age-gate__title {
  font-size: clamp(1.5rem, 1.2rem + 1.3vw, 1.9rem);
  letter-spacing: -.028em;
  margin-bottom: 10px;
}
.age-gate__text { font-size: 15.5px; color: var(--ink-soft); margin-bottom: 26px; }

.age-gate__actions { display: grid; gap: 10px; }
.age-gate__actions .btn { width: 100%; }

.age-gate__remember {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 20px;
  font-size: 14.5px;
  color: var(--ink-soft);
  cursor: pointer;
}
.age-gate__remember input { width: 17px; height: 17px; accent-color: var(--brand-deep); cursor: pointer; }

.age-gate__legal {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-faint);
  text-wrap: pretty;
}
.age-gate__legal strong { color: var(--ink-soft); font-weight: 600; }

.age-gate__badge { width: 54px; height: 54px; margin: 18px auto 0; }

.age-gate__deny { display: none; }
.age-gate[data-state="denied"] .age-gate__deny { display: block; }
.age-gate[data-state="denied"] .age-gate__ask { display: none; }

/* Scripting off: the gate cannot be answered, so it stays up and explains why.
   Without this the modal would simply never appear and the site would be open. */
.age-gate__nojs { display: none; }
html.no-js .age-gate[hidden] { display: grid !important; }
html.no-js .age-gate__ask,
html.no-js .age-gate__deny { display: none; }
html.no-js .age-gate__nojs { display: block; }

/* 8. Hero ================================================================= */

.hero {
  position: relative;
  padding-block: clamp(56px, 8vw, 104px) clamp(56px, 7vw, 96px);
  background: linear-gradient(180deg, var(--paper-warm) 0%, #faf8f4 52%, var(--paper) 100%);
  text-align: center;
  overflow: hidden;
}
.hero__inner { position: relative; z-index: 1; }
.hero .display { margin-bottom: 22px; }
.hero .lede { margin-inline: auto; }
.hero .btn-row { margin-top: 34px; }

.hero__media {
  position: relative;
  max-width: 1080px;
  margin: clamp(44px, 6vw, 76px) auto 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--cream);
  aspect-ratio: 16 / 10;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 600px) {
  .hero__media { aspect-ratio: 4 / 3; border-radius: var(--r-lg); }
}

/* Compact page header used on interior pages */
.page-head {
  padding-block: clamp(52px, 7vw, 96px) clamp(36px, 4.5vw, 56px);
  background: linear-gradient(180deg, var(--paper-warm) 0%, var(--paper) 100%);
}
.page-head .lede { margin-top: 20px; }
.page-head--center { text-align: center; }
.page-head--center .lede { margin-inline: auto; }

/* 9. Cards & grids ======================================================== */

.grid { display: grid; gap: clamp(18px, 2.2vw, 28px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 560px)  { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 860px)  { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.grid--start { align-items: start; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 560px)  { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Exactly two cards: keep them card-sized and centred instead of letting them
   stretch across the full row. */
.grid--pair { grid-template-columns: 1fr; max-width: 580px; margin-inline: auto; }
@media (min-width: 560px) { .grid--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .35s var(--ease-expo), box-shadow .35s var(--ease-expo),
              border-color .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line); }
.card:focus-within { box-shadow: var(--shadow); }

.card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--paper-alt);
  overflow: hidden;
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 2%;
  transition: transform .5s var(--ease-expo);
}
.card:hover .card__media img { transform: scale(1.045); }

/* The vape photography is landscape; a square frame shrinks it to a thumbnail. */
.card__media--wide { aspect-ratio: 3 / 2; }
/* These assets are a horizontal pen on a square canvas; contain would shrink
   the whitespace too. Cover crops to the pen band. */
.card__media--wide img { object-fit: cover; padding: 0; }

.card__body { display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 26px; flex: 1; }
.card__title { font-size: 1.3rem; letter-spacing: -.022em; font-weight: 620; }
.card__text  { font-size: 15.5px; line-height: 1.55; color: var(--ink-soft); text-wrap: pretty; }
.card__body .link-arrow { margin-top: auto; padding-top: 12px; font-size: 15.5px; }

/* Whole card is clickable; only the title carries the real link */
.card__link { color: inherit; text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; }

.badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  background: var(--paper-alt);
  border: 1px solid var(--line-soft);
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.badge--sage  { background: rgba(126,158,128,.14); border-color: rgba(126,158,128,.36); color: #46654a; }
.badge--brand { background: var(--brand-tint); border-color: rgba(229,51,15,.2); color: var(--brand-text); }

/* Feature tiles (home "three up") */
.tile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px 30px 34px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  transition: transform .35s var(--ease-expo), box-shadow .35s var(--ease-expo);
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.tile .link-arrow { margin-top: auto; padding-top: 10px; }

/* Alternating image + text band */
.split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: 2; }
}
.split__media {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper-alt);
  box-shadow: var(--shadow);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split__media--contain img { object-fit: contain; padding: 3%; background: var(--paper); }
.split__media--plain img { background: var(--paper); }
.split__body .h2 + .body-text { margin-top: 20px; }
.split__body .btn-row { margin-top: 30px; }

/* 10. Stats =============================================================== */

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 4vw, 48px) 20px; }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }

.stat { text-align: center; }
.stat__value {
  display: block;
  font-size: clamp(2.75rem, 1.6rem + 4.4vw, 4.5rem);
  font-weight: 680;
  letter-spacing: -.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #fff;
}
.stat__label {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.66);
  text-wrap: balance;
}

/* 11. Testimonials ======================================================== */

.quote {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px 28px 32px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
}
.quote__rating { display: flex; align-items: center; gap: 9px; }
.quote__stars { position: relative; display: inline-block; line-height: 0; }
.quote__stars-base,
.quote__stars-fill { display: inline-flex; gap: 2px; }
.quote__stars-base { color: rgba(0, 0, 0, .17); }
.quote__stars-fill {
  /* left/top rather than inset:0, so the inline width="score%" is what clips it */
  position: absolute; left: 0; top: 0;
  color: var(--brand);
  overflow: hidden;
  white-space: nowrap;
}
.quote__stars svg { width: 15px; height: 15px; flex: 0 0 auto; }
.quote__score { font-size: 14px; font-weight: 620; color: var(--ink); letter-spacing: -.01em; }
.quote__text {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
  letter-spacing: -.011em;
  text-wrap: pretty;
  margin: 0;
}
.quote__author { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 550; color: var(--ink-faint); }

/* 12. Newsletter & forms ================================================== */

.form-field { display: flex; flex-direction: column; gap: 7px; text-align: left; }
.form-field label { font-size: 14px; font-weight: 560; color: var(--ink); }

.input, .textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  font-size: 16px;
  color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--ink-faint); }
.input:focus, .textarea:focus {
  outline: none;
  border-color: var(--brand-deep);
  box-shadow: 0 0 0 3px rgba(196,42,12,.16);
}
.textarea { min-height: 148px; resize: vertical; }

.input[aria-invalid="true"], .textarea[aria-invalid="true"] {
  border-color: var(--brand-deep);
  box-shadow: 0 0 0 3px rgba(196,42,12,.14);
}

.field-error { font-size: 13.5px; font-weight: 500; color: var(--brand-text); }
.field-error:empty { display: none; }

.form-status {
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 500;
  text-align: left;
}
.form-status:empty { display: none; padding: 0; margin: 0; }
.form-status[data-tone="ok"]  { background: rgba(126,158,128,.16); color: #3f5741; }
.form-status[data-tone="err"] { background: var(--brand-tint); color: var(--brand-text); }

.newsletter { background: var(--paper-alt); }
.newsletter__inner { max-width: 760px; margin-inline: auto; text-align: center; }
.newsletter__form { display: grid; gap: 12px; margin-top: 32px; text-align: left; }
@media (min-width: 680px) {
  .newsletter__form { grid-template-columns: 1fr 1fr auto; align-items: start; }
  .newsletter__form .btn { min-height: 48px; }
}
.newsletter__form .form-status { grid-column: 1 / -1; }
.newsletter__fineprint { margin-top: 18px; font-size: 13px; color: var(--ink-faint); }

/* 13. Footer ============================================================== */

.footer {
  background: var(--ink);
  color: rgba(255,255,255,.62);
  padding-block: clamp(56px, 6vw, 84px) 34px;
  font-size: 15px;
}
.footer a { color: rgba(255,255,255,.62); text-decoration: none; transition: color .2s var(--ease); }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.footer__grid { display: grid; gap: clamp(34px, 4vw, 52px); grid-template-columns: 1fr; }
@media (min-width: 640px)  { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }

.footer__brand img { width: 156px; height: auto; margin-bottom: 20px; }
.footer__brand p { font-size: 14.5px; line-height: 1.6; max-width: 34ch; }

.footer__title {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #fff;
}
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer__list a { display: inline-block; padding-block: 11px; }

.footer__badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r);
}
.footer__badge img { width: 56px; height: 56px; flex: 0 0 auto; }
.footer__badge span { font-size: 12.5px; line-height: 1.45; color: rgba(255,255,255,.66); }
.footer__badge strong { display: block; color: #fff; font-size: 13px; font-weight: 620; margin-bottom: 3px; }

.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.footer__social a:hover { background: rgba(255,255,255,.11); border-color: rgba(255,255,255,.34); }
.footer__social svg { width: 17px; height: 17px; fill: currentColor; }

.footer__legal {
  margin-top: clamp(40px, 5vw, 60px);
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.11);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}
.footer__disclaimer {
  margin-top: 22px;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255,255,255,.5);
  max-width: 92ch;
  text-wrap: pretty;
}

/* Feature bullets on the vape pages. */
.feature-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.feature-list li { font-size: 16px; line-height: 1.55; color: var(--ink-soft); }
.feature-list strong { color: var(--ink); font-weight: 600; }

/* 14. Product detail ====================================================== */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  font-size: 14px;
  color: var(--ink-faint);
}
.breadcrumb a { display: inline-block; padding-block: 5px; color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }

.product { display: grid; gap: clamp(32px, 4.5vw, 64px); align-items: start; }
@media (min-width: 900px) { .product { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }

.product__media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(160deg, var(--paper-warm), var(--paper-alt));
  aspect-ratio: 1 / 1;
}
@media (min-width: 900px) { .product__media { position: sticky; top: calc(var(--nav-h) + 28px); } }
.product__media img { width: 100%; height: 100%; object-fit: contain; padding: 3%; }
/* Must follow the rule above: same specificity, so source order decides. */
.product__media--wide { aspect-ratio: 3 / 2; }
.product__media--wide img { object-fit: cover; padding: 0; }

.product__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.product__title { margin-bottom: 14px; }
.product__lineage {
  font-size: 16.5px;
  font-weight: 550;
  color: var(--ink-soft);
  letter-spacing: -.01em;
  margin-bottom: 26px;
}
.product__lineage span { color: var(--ink); }

.spec-list { display: grid; gap: 0; margin: 32px 0 0; border-top: 1px solid var(--line); }
.spec-list > div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.spec-list--single { border-top: 0; }
.spec-list--single > div { border-bottom: 0; padding-top: 0; }
@media (min-width: 560px) { .spec-list > div { grid-template-columns: 150px 1fr; gap: 20px; align-items: baseline; } }
.spec-list dt {
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.spec-list dd { margin: 0; font-size: 16px; color: var(--ink); }

.product__cta { margin-top: 34px; }

/* 15. Where to buy ======================================================== */

.finder__controls { display: grid; gap: 12px; margin-bottom: 6px; }
@media (min-width: 720px) { .finder__controls { grid-template-columns: 1fr auto; align-items: center; } }

.finder__search { position: relative; }
.finder__search .input { padding-left: 44px; }
.finder__search svg {
  position: absolute;
  left: 15px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--ink-mute);
  pointer-events: none;
}

.finder__count { font-size: 14.5px; color: var(--ink-soft); }
.finder__empty {
  margin-top: 26px;
  padding: 48px 24px;
  text-align: center;
  color: var(--ink-soft);
  background: var(--paper-alt);
  border-radius: var(--r-lg);
}
.finder__empty[hidden] { display: none; }

.finder__grid {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  padding: 0;
  list-style: none;
}

.locator {
  display: flex;
  flex-direction: column;
  gap: 7px;
  height: 100%;
  padding: 22px 22px 20px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.locator:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.locator__name { font-size: 16.5px; font-weight: 620; letter-spacing: -.015em; color: var(--ink); }
.locator__addr { font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); }
.locator__link { margin-top: auto; padding-top: 10px; font-size: 14.5px; }
.finder__grid li[hidden] { display: none; }

/* 16. Contact ============================================================= */

.contact { display: grid; gap: clamp(36px, 5vw, 72px); align-items: start; }
@media (min-width: 900px) { .contact { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }

.contact__form { display: grid; gap: 18px; }
.contact__form .btn { justify-self: start; }

.info-block + .info-block { margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--line); }
.info-block__label {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 10px;
}
.info-block a { font-weight: 500; }
.info-block address { font-style: normal; color: var(--ink-soft); line-height: 1.6; }
.info-block__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }

/* 17. Legal pages ========================================================= */

.prose { max-width: 74ch; color: var(--ink-soft); }
.prose h2 {
  margin: 44px 0 14px;
  font-size: clamp(1.25rem, 1.1rem + .7vw, 1.5rem);
  letter-spacing: -.02em;
  color: var(--ink);
}
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 10px; font-size: 1.075rem; color: var(--ink); }
.prose p { margin: 0 0 15px; line-height: 1.65; text-wrap: pretty; }
.prose ul { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 8px; line-height: 1.6; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose address { font-style: normal; line-height: 1.7; }
.prose__updated {
  display: inline-block;
  margin-bottom: 34px;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  background: var(--paper-alt);
  font-size: 13.5px;
  font-weight: 550;
  color: var(--ink-soft);
}

/* Callout used for compliance notices */
.notice {
  padding: 22px 24px;
  background: var(--paper-alt);
  border-left: 3px solid var(--brand);
  border-radius: var(--r-sm);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.notice strong { color: var(--ink); }

/* 18. Motion & reveals ==================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease-expo), transform .7s var(--ease-expo);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Never let a reveal hide content when JS is unavailable */
.no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
