/* ───────────────────────────────────────────────────────
   Shady Extracts — heritage editorial noir
   ─────────────────────────────────────────────────────── */

:root {
  /* Palette */
  --ink:           #0E0B07;   /* warm near-black */
  --ink-soft:      #1B1610;
  --paper:         #EFE7D7;   /* aged cream */
  --paper-deep:    #DECEB0;
  --paper-line:    #2A1F11;
  --resin:         #C9742C;   /* live resin amber */
  --resin-dim:     #8F5419;
  --resin-bright:  #E89B3E;
  --moss:          #2B3A26;
  --ash:           #8A7D6B;
  --bone:          #BFB29C;

  /* Type */
  --display: 'Fraunces', 'Cormorant Garamond', 'Times New Roman', serif;
  --body:    'Newsreader', Georgia, 'Times New Roman', serif;
  --mono:    'JetBrains Mono', 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --brand:   'Big Shoulders Display', 'Oswald', 'Impact', sans-serif; /* matches wordmark feel */

  /* Rhythm */
  --gutter:   clamp(16px, 4vw, 56px);
  --col-max:  1440px;
  --section-pad: clamp(80px, 12vw, 160px);
  --rule:     1px;

  /* Motion */
  --ease-out: cubic-bezier(.18, .89, .32, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  /* Smoke palette — defaults (warm) */
  --smoke-1: #E89B3E;  /* amber */
  --smoke-2: #EFE7D7;  /* cream */
  --smoke-3: #C9742C;  /* deep amber */
  --smoke-4: #EFE7D7;  /* cream */
  --swirl-warm: #C9742C;
  --swirl-cool: #EFE7D7;
}

/* Palettes — swap via body[data-palette="X"] */
body[data-palette="haze"] {
  --smoke-1: #9B5DE5;       /* lavender */
  --smoke-2: #E89B3E;       /* amber */
  --smoke-3: #6B3FA0;       /* deep violet */
  --smoke-4: #F4D06F;       /* gold */
  --swirl-warm: #9B5DE5;
  --swirl-cool: #E89B3E;
}
body[data-palette="cannabis"] {
  --smoke-1: #6FA85A;       /* sage green */
  --smoke-2: #C9742C;       /* amber */
  --smoke-3: #4A7C3A;       /* forest */
  --smoke-4: #D8B863;       /* gold leaf */
  --swirl-warm: #C9742C;
  --swirl-cool: #6FA85A;
}
body[data-palette="resin"] {
  --smoke-1: #B71D1D;       /* deep crimson */
  --smoke-2: #E89B3E;       /* amber */
  --smoke-3: #C84B23;       /* burnt orange */
  --smoke-4: #D4AF37;       /* gold */
  --swirl-warm: #B71D1D;
  --swirl-cool: #D4AF37;
}
body[data-palette="vapor"] {
  --smoke-1: #00C8C8;       /* electric teal */
  --smoke-2: #E8419A;       /* hot magenta */
  --smoke-3: #A032DC;       /* electric violet */
  --smoke-4: #E89B3E;       /* amber anchor */
  --swirl-warm: #E8419A;
  --swirl-cool: #00C8C8;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--ink); color: var(--paper); }
html { scroll-behavior: smooth; }
html.locked, html.locked body { overflow: hidden; }

body {
  font-family: var(--body);
  font-feature-settings: "kern", "liga", "calt", "onum";
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
em  { font-style: italic; font-variation-settings: "SOFT" 80, "WONK" 1; }

/* ─── Grain & paper texture ─────────────────────────── */
.grain {
  position: fixed; inset: 0; width: 100vw; height: 100vh;
  pointer-events: none; z-index: 100;
  opacity: 0.18;
  mix-blend-mode: overlay;
}

/* Paper sections get a subtle warm tint */
.paper {
  background: var(--paper);
  color: var(--ink);
  background-image:
    radial-gradient(ellipse at 20% 0%,  rgba(195, 165, 110, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(195, 165, 110, 0.18) 0%, transparent 50%);
}

/* ─── Age gate ──────────────────────────────────────── */
.agegate {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: rgba(7,5,3,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: var(--gutter);
  animation: gateIn .5s var(--ease-out);
}
.agegate--out { animation: gateOut .5s var(--ease-in-out) forwards; }
@keyframes gateIn  { from { opacity: 0 } to { opacity: 1 } }
@keyframes gateOut { from { opacity: 1 } to { opacity: 0 } }

.agegate__card {
  max-width: 480px; text-align: center;
  padding: clamp(28px, 5vw, 56px);
  border: var(--rule) solid rgba(239, 231, 215, 0.25);
  background: var(--ink-soft);
  position: relative;
}
.agegate__card::before, .agegate__card::after {
  content: ""; position: absolute; width: 12px; height: 12px;
  border: var(--rule) solid var(--resin);
}
.agegate__card::before { top: 10px; left: 10px;  border-right: 0; border-bottom: 0; }
.agegate__card::after  { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.agegate__mark { width: 56px; height: auto; margin: 0 auto 24px; opacity: .9; }
.agegate__kicker {
  font-family: var(--mono); font-size: 11px; letter-spacing: .22em;
  color: var(--resin); text-transform: uppercase; margin-bottom: 12px;
}
.agegate__title {
  font-family: var(--display);
  font-size: clamp(48px, 7vw, 84px);
  font-weight: 500;
  line-height: 1;
  font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 1;
  margin-bottom: 16px;
}
.agegate__plus { color: var(--resin); }
.agegate__sub {
  color: var(--bone);
  font-size: 14px;
  margin-bottom: 32px;
  line-height: 1.5;
}
.agegate__actions { display: flex; flex-direction: column; gap: 12px; }

.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 16px 24px;
  border: var(--rule) solid currentColor;
  transition: background .25s var(--ease-out), color .25s var(--ease-out);
  cursor: pointer;
}
.btn--solid {
  background: var(--paper); color: var(--ink); border-color: var(--paper);
}
.btn--solid:hover { background: var(--resin); color: var(--ink); border-color: var(--resin); }
.btn--ghost { color: var(--bone); }
.btn--ghost:hover { color: var(--paper); }

/* ─── Header (solid, frozen) ──────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 16px var(--gutter);
  gap: 24px;
  background: var(--ink);
  border-bottom: 1px solid rgba(239, 231, 215, 0.10);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--brand); font-size: 16px; font-weight: 900;
  letter-spacing: .04em; text-transform: uppercase; color: var(--paper);
}
.brand img { width: 28px; }
.site-nav {
  justify-self: center;
  display: flex; gap: clamp(16px, 3vw, 40px);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.site-nav a {
  position: relative;
  padding: 6px 2px;
  color: var(--bone);
  transition: color .2s;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%;
  bottom: 0; height: 1px; background: var(--resin);
  transition: right .35s var(--ease-out);
}
.site-nav a:hover { color: var(--paper); }
.site-nav a:hover::after { right: 0; }

.ig-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: var(--rule) solid rgba(239, 231, 215, 0.3);
  border-radius: 100px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em;
  text-transform: lowercase;
}
.ig-pill__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--resin);
  animation: pulse 2s var(--ease-in-out) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.4); }
}

@media (max-width: 780px) {
  .site-nav { display: none; }
}

/* ─── Hero ──────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: min(100svh, 1100px);
  padding: clamp(80px, 12vh, 140px) var(--gutter) clamp(40px, 6vh, 70px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 80% 60% at 50% 35%, rgba(45, 32, 18, 0.35), transparent 70%),
    var(--ink);
}

/* Hairline poster frame — only the bottom rule survives */
.hero__rule {
  position: absolute; left: var(--gutter); right: var(--gutter);
  height: 1px; background: rgba(239, 231, 215, 0.14); z-index: 1;
}
.hero__rule--top { display: none; }
.hero__rule--bot { bottom: clamp(100px, 13vh, 140px); }

.hero__meta {
  position: absolute;
  top: clamp(96px, 13vh, 140px);
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--bone);
  display: inline-flex; align-items: center; gap: 8px;
  z-index: 3;
}
.hero__meta--tl { left: var(--gutter); }
.hero__meta--tr { right: var(--gutter); }
.hero__meta .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--resin);
  animation: pulse 2.5s var(--ease-in-out) infinite;
}
.hero__meta .sep { opacity: 0.4; }
.hero__meta .folio {
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--resin);
  font-variation-settings: "opsz" 32, "SOFT" 100, "WONK" 1;
}

/* Centerpiece */
.hero__stage {
  position: relative;
  z-index: 2;
  align-self: center;
  display: grid;
  place-items: center;
  gap: clamp(28px, 4vh, 56px);
  padding-block: 2vh;
}

/* Wordmark — cap at native 942px so it never upscales */
.hero__wordmark {
  display: block;
  width: min(86vw, 942px);
  max-width: 942px;
  height: auto;
  filter: drop-shadow(0 30px 80px rgba(0, 0, 0, 0.55));
  animation: markIn 1.2s var(--ease-out) both;
  will-change: transform;
}
.hero__wordmark img {
  display: block;
  width: 100%;
  height: auto;
}
@keyframes markIn {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ─── Smoke (visible motion, no mix-blend) ─────────── */
.hero__smoke {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

/* Layer 1 — slow rotating conic swirl. Always-moving base layer. */
.swirl {
  position: absolute;
  width: 180vmax;
  height: 180vmax;
  left: 50%; top: 50%;
  margin-left: -90vmax;
  margin-top: -90vmax;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
  pointer-events: none;
}
.swirl--a {
  background: conic-gradient(
    from 0deg at 50% 50%,
    transparent 0deg,
    color-mix(in srgb, var(--swirl-warm) 25%, transparent) 50deg,
    transparent 110deg,
    color-mix(in srgb, var(--swirl-cool) 18%, transparent) 180deg,
    transparent 240deg,
    color-mix(in srgb, var(--swirl-warm) 22%, transparent) 310deg,
    transparent 360deg
  );
  animation: rotateCW 60s linear infinite;
}
.swirl--b {
  background: conic-gradient(
    from 90deg at 50% 50%,
    transparent 0deg,
    color-mix(in srgb, var(--swirl-cool) 14%, transparent) 70deg,
    transparent 140deg,
    color-mix(in srgb, var(--swirl-warm) 18%, transparent) 220deg,
    transparent 290deg,
    color-mix(in srgb, var(--swirl-cool) 10%, transparent) 340deg,
    transparent 360deg
  );
  animation: rotateCCW 95s linear infinite;
  opacity: 0.85;
}

@keyframes rotateCW {
  to { transform: rotate(360deg); }
}
@keyframes rotateCCW {
  to { transform: rotate(-360deg); }
}

/* Layer 2 — real smoke textures (pre-rendered turbulence PNGs).
   Outer .puff carries position drift; inner span carries slow
   counter-rotation so wisps swirl as they travel. */
.puff {
  position: absolute;
  width: 70vmin;
  height: 70vmin;
  pointer-events: none;
  will-change: transform, opacity;
}
.puff span {
  display: block;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
}

/* Each puff: shape from PNG mask (assigned by JS), color from CSS var. */
.puff span {
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-image: var(--puff-mask, url(assets/smoke-1.png));
          mask-image: var(--puff-mask, url(assets/smoke-1.png));
}
.puff--1 { left: -12%; top: 18%;  animation: driftRight 26s ease-in-out infinite; }
.puff--1 span { background: var(--smoke-1); animation: spinCW  90s linear infinite; }

.puff--2 { right: -14%; top: 12%; animation: driftLeft 30s ease-in-out -7s infinite; }
.puff--2 span { background: var(--smoke-2); animation: spinCCW 110s linear infinite; }

.puff--3 { left: 28%; bottom: -22%; animation: driftUp 28s ease-in-out -11s infinite; }
.puff--3 span { background: var(--smoke-3); animation: spinCW  130s linear infinite; }

.puff--4 { right: 14%; bottom: -16%; animation: driftLeftUp 32s ease-in-out -16s infinite; width: 55vmin; height: 55vmin; }
.puff--4 span { background: var(--smoke-4); animation: spinCCW 100s linear infinite; }

/* Drift paths */
@keyframes driftRight {
  0%   { transform: translate3d(0, 0, 0)        scale(1);   opacity: 0.55; }
  50%  { transform: translate3d(50vw, -8vh, 0)   scale(1.2); opacity: 1;    }
  100% { transform: translate3d(0, 0, 0)        scale(1);   opacity: 0.55; }
}
@keyframes driftLeft {
  0%   { transform: translate3d(0, 0, 0)         scale(1.1); opacity: 0.55; }
  50%  { transform: translate3d(-48vw, 6vh, 0)   scale(0.9); opacity: 0.95; }
  100% { transform: translate3d(0, 0, 0)         scale(1.1); opacity: 0.55; }
}
@keyframes driftUp {
  0%   { transform: translate3d(0, 0, 0)         scale(0.95); opacity: 0.5; }
  50%  { transform: translate3d(-8vw, -55vh, 0)  scale(1.25); opacity: 1;    }
  100% { transform: translate3d(0, 0, 0)         scale(0.95); opacity: 0.5; }
}
@keyframes driftLeftUp {
  0%   { transform: translate3d(0, 0, 0)           scale(1);    opacity: 0.5; }
  50%  { transform: translate3d(-30vw, -45vh, 0)   scale(1.3);  opacity: 0.95; }
  100% { transform: translate3d(0, 0, 0)           scale(1);    opacity: 0.5; }
}

/* Slow spin of the smoke texture itself — makes wisps swirl.
   --puff-mirror (1 or -1) is set by JS for left-right mirroring. */
@keyframes spinCW {
  from { transform: scaleX(var(--puff-mirror, 1)) rotate(0deg);   }
  to   { transform: scaleX(var(--puff-mirror, 1)) rotate(360deg); }
}
@keyframes spinCCW {
  from { transform: scaleX(var(--puff-mirror, 1)) rotate(0deg);    }
  to   { transform: scaleX(var(--puff-mirror, 1)) rotate(-360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .swirl, .puff, .puff span { animation: none !important; }
}

.hero__lede {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
  width: min(820px, 86vw);
  animation: ledeIn 1.2s .4s var(--ease-out) both;
}
.hero__lede em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(15px, 1.7vw, 24px);
  color: var(--paper);
  font-variation-settings: "opsz" 32, "SOFT" 100, "WONK" 1;
  white-space: nowrap;
}
.lede__rule { height: 1px; background: rgba(239, 231, 215, 0.3); }
@keyframes ledeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__foot {
  position: relative; z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 24px;
}
.hero__tagline {
  font-family: var(--brand);
  font-weight: 700;
  font-size: clamp(13px, 1.4vw, 18px);
  letter-spacing: .2em;
  text-transform: uppercase;
  display: inline-flex; gap: 14px; flex-wrap: wrap;
  align-items: center;
  color: var(--paper);
}
.hero__tagline .amber { color: var(--resin-bright); }
.hero__scroll {
  justify-self: end;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 10px; letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--bone);
  transition: color .25s;
}
.hero__scroll .arrow {
  font-size: 14px;
  animation: bob 1.6s var(--ease-in-out) infinite;
}
.hero__scroll:hover { color: var(--paper); }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}

@media (max-width: 720px) {
  .hero__foot { grid-template-columns: 1fr; gap: 18px; }
  .hero__tagline, .hero__scroll { justify-self: center; text-align: center; }
  .hero__meta--tr { display: none; }
  .hero__lede em { white-space: normal; text-align: center; }
}

/* ─── Ticker ────────────────────────────────────────── */
.ticker {
  overflow: hidden;
  border-block: var(--rule) solid;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}
.ticker--dark {
  background: var(--ink);
  color: var(--paper);
  border-color: rgba(239, 231, 215, 0.15);
  padding-block: 16px;
}
.ticker--giant {
  background: var(--paper);
  color: var(--ink);
  border-color: rgba(14, 11, 7, 0.2);
  padding-block: 28px;
}
.ticker__track {
  display: inline-flex; align-items: center; gap: 28px;
  animation: tick 40s linear infinite;
  font-family: var(--display);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  font-weight: 500;
}
.ticker--dark .ticker__track {
  font-size: 18px;
}
.ticker--giant .ticker__track {
  font-size: clamp(48px, 9vw, 120px);
  line-height: 1;
  gap: 40px;
}
.ticker .diamond {
  color: var(--resin);
  font-style: normal;
}
@keyframes tick {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
}

/* ─── Generic section grid ──────────────────────────── */
.section {
  position: relative;
  padding: var(--section-pad) var(--gutter);
  max-width: var(--col-max);
  margin: 0 auto;
}
.section__label {
  position: absolute;
  top: var(--section-pad);
  left: var(--gutter);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ash);
  display: flex; align-items: center; gap: 18px;
}
.section__label .num {
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  letter-spacing: 0;
  color: var(--resin);
  font-variation-settings: "opsz" 32, "SOFT" 100, "WONK" 1;
}
.section__label--dark { color: rgba(14,11,7,0.6); }
.section__label--dark .num { color: var(--resin); }

.section__head {
  margin-left: clamp(32px, 6vw, 96px);
  max-width: 920px;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.kicker {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--resin);
  margin-bottom: 24px;
  display: inline-flex; align-items: center; gap: 14px;
}
.kicker::before {
  content: ""; display: inline-block;
  width: 36px; height: 1px; background: var(--resin);
}
.display {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(48px, 8vw, 124px);
  line-height: 0.94;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 1;
}
.display em {
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--resin);
}
.display .brandtype {
  display: inline-block;
  font-family: var(--brand);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 0.9;
  font-size: 0.92em;
}
.sub {
  font-family: var(--display);
  font-size: clamp(16px, 1.5vw, 22px);
  margin-top: 24px;
  max-width: 56ch;
  color: var(--ash);
  font-variation-settings: "opsz" 32, "SOFT" 100, "WONK" 1;
}
.paper .sub { color: rgba(14,11,7,0.65); }

/* ─── I · Manifesto ─────────────────────────────────── */
.section--manifesto {
  border-top: var(--rule) solid rgba(239, 231, 215, 0.1);
}
.manifesto__prose {
  margin-left: clamp(32px, 6vw, 96px);
}
.prose {
  font-family: var(--body);
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.6;
  color: var(--paper);
  max-width: 64ch;
}
.prose p + p { margin-top: 1em; }
.prose .lead { font-size: 1.12em; line-height: 1.5; }
.dropcap {
  float: left;
  font-family: var(--display);
  font-size: 6.4em;
  line-height: 0.85;
  font-weight: 600;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 1;
  padding-right: 14px;
  padding-top: 6px;
  color: var(--resin);
  font-style: italic;
}

/* Principles — 3 columns across the page */
.principles {
  margin: clamp(70px, 9vw, 120px) clamp(32px, 6vw, 96px) 0;
  padding-top: clamp(40px, 4vw, 56px);
  border-top: 1px solid rgba(239, 231, 215, 0.18);
}
.principles__title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: clamp(32px, 4vw, 56px);
  display: inline-flex; align-items: center; gap: 14px;
}
.principles__title::before {
  content: ""; width: 36px; height: 1px; background: var(--resin);
}
.principles__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 5vw, 80px);
}
.principles li {
  display: block;
  border-top: 1px solid rgba(239, 231, 215, 0.18);
  padding-top: 24px;
  position: relative;
}
.principle__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--resin);
  margin-bottom: 20px;
}
.principle__name {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(26px, 2.6vw, 40px);
  line-height: 1.05;
  font-variation-settings: "opsz" 72, "SOFT" 100, "WONK" 1;
  color: var(--paper);
  margin-bottom: 16px;
}
.principle__desc {
  font-family: var(--body);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.55;
  color: var(--bone);
  max-width: 32ch;
}

@media (max-width: 820px) {
  .principles__list { grid-template-columns: 1fr; gap: 36px; }
}

.manifesto__quote {
  margin: clamp(80px, 10vw, 140px) clamp(32px, 6vw, 96px) 0;
  max-width: 900px;
}
.manifesto__quote p {
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.25;
  font-variation-settings: "opsz" 72, "SOFT" 80, "WONK" 1;
  color: var(--paper);
}
.manifesto__quote .qmark {
  font-size: 1.6em;
  color: var(--resin);
  font-style: italic;
  margin-right: 8px;
  vertical-align: -0.18em;
  line-height: 0;
}
.quote__attr {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ash);
}

@media (max-width: 820px) {
  .manifesto__grid { grid-template-columns: 1fr; }
  .principles { position: static; }
}

/* ─── II · Vapes ────────────────────────────────────── */
.section--vapes { max-width: none; }
.section--vapes .section__head { margin-left: clamp(32px, 6vw, 96px); }
.vape-spread {
  margin-left: clamp(32px, 6vw, 96px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.vape-diagram {
  position: relative;
  min-height: 600px;
}
.vape-diagram svg {
  display: block;
  width: 100%;
  height: 700px;
  max-height: 80vh;
  margin: 0 auto;
}
.callouts {
  list-style: none;
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.callouts li {
  position: absolute;
  top: var(--top);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  max-width: 200px;
}
.callouts li[style*="left"] { left: 0; text-align: right; padding-right: 8px; }
.callouts li[style*="right"]{ right: 0; text-align: left;  padding-left: 8px; }
.callouts .cnum {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  letter-spacing: 0;
  color: var(--resin);
  margin-bottom: 2px;
  font-variation-settings: "opsz" 32, "SOFT" 100, "WONK" 1;
}
.callouts .cname {
  display: block;
  color: var(--ink);
  font-weight: 700;
}
.callouts .cdesc {
  display: block;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--display);
  font-size: 14px;
  color: rgba(14,11,7,0.65);
  margin-top: 4px;
  font-variation-settings: "opsz" 14, "SOFT" 100, "WONK" 1;
}

.vape-variants {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.variants__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(14,11,7,0.55);
  margin-bottom: 8px;
}
.variant {
  border: var(--rule) solid var(--ink);
  padding: clamp(20px, 2.5vw, 32px);
  background: rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}
.variant::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: var(--ink);
  transition: width .4s var(--ease-out);
}
.variant:hover::before { width: 12px; }
.variant--live::before { background: var(--resin); }
.variant__type {
  font-family: var(--brand);
  font-weight: 900;
  font-size: clamp(34px, 4.6vw, 60px);
  letter-spacing: -0.005em;
  line-height: 0.95;
  text-transform: uppercase;
}
.variant--live .variant__type {
  color: var(--resin-dim);
}
.variant__size {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(14,11,7,0.55);
  margin-top: 8px;
  margin-bottom: 14px;
}
.variant__copy {
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.5;
  color: rgba(14,11,7,0.8);
  max-width: 38ch;
}

@media (max-width: 980px) {
  .vape-spread { grid-template-columns: 1fr; }
  .vape-diagram { min-height: 520px; }
  .callouts li { font-size: 9px; max-width: 140px; }
  .callouts .cdesc { font-size: 12px; }
}

/* ─── III · Concentrates ────────────────────────────── */
.conc-grid {
  margin-left: clamp(32px, 6vw, 96px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 48px);
}
.conc {
  border: var(--rule) solid rgba(239, 231, 215, 0.18);
  padding: clamp(20px, 3vw, 36px);
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.015);
  display: flex; flex-direction: column;
}
.conc__visual {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  margin-bottom: 28px;
  background: radial-gradient(circle at 50% 60%, rgba(255,255,255,0.04), transparent 70%);
}
.conc__visual svg {
  width: 70%;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,.5));
  animation: float 6s var(--ease-in-out) infinite;
}
.conc__visual--live svg { animation-delay: -3s; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(-8px) rotate(2deg); }
}
.conc__type {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--resin); margin-bottom: 16px;
}
.conc__name {
  font-family: var(--brand);
  font-weight: 900;
  font-size: clamp(34px, 3.8vw, 58px);
  letter-spacing: -0.005em;
  line-height: 0.95;
  text-transform: uppercase;
}
.conc__sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ash);
  margin-top: 8px;
  margin-bottom: 20px;
}
.conc__notes {
  list-style: none;
  border-top: var(--rule) dashed rgba(239, 231, 215, 0.15);
  padding-top: 16px;
  margin-top: auto;
}
.conc__notes li {
  font-family: var(--body);
  font-size: 14px;
  padding: 6px 0;
  color: var(--bone);
  display: flex;
  gap: 10px;
}
.conc__notes li::before {
  content: "—"; color: var(--resin);
}
.conc__copy {
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--bone);
}
.conc--prerolls {
  background: linear-gradient(135deg, rgba(201, 116, 44, 0.08), transparent 70%);
  justify-content: end;
}
.conc--prerolls .conc__name { color: var(--resin-bright); }

@media (max-width: 920px) {
  .conc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .conc-grid { grid-template-columns: 1fr; }
}

/* ─── IV · Visit ────────────────────────────────────── */
.section--visit { max-width: none; }
.section--visit .section__head { margin-left: clamp(32px, 6vw, 96px); }
.card-grid {
  margin-left: clamp(32px, 6vw, 96px);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: clamp(16px, 2vw, 28px);
}
.card {
  display: block;
  border: var(--rule) solid var(--ink);
  padding: clamp(20px, 2.5vw, 36px);
  background: var(--paper);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -20px rgba(14,11,7,0.4); }
.card::after {
  content: ""; position: absolute; right: 16px; top: 16px;
  width: 8px; height: 8px; border-top: 1px solid var(--ink); border-right: 1px solid var(--ink);
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity .25s, transform .25s var(--ease-out);
}
a.card:hover::after { opacity: 0.6; transform: rotate(45deg) translate(2px, -2px); }

.card--address { grid-column: span 1; grid-row: span 2; background: var(--ink); color: var(--paper); }
.card--address::after { border-color: var(--paper); }
.card--phone   { grid-column: span 1; }
.card--email   { grid-column: span 1; }
.card--hours   { grid-column: span 1; }
.card--ig      { grid-column: span 1; background: var(--resin); color: var(--ink); border-color: var(--resin); }

.card__label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .24em;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0.7;
}
.card__big {
  font-family: var(--display);
  font-size: clamp(28px, 3.3vw, 56px);
  line-height: 1;
  font-weight: 500;
  font-variation-settings: "opsz" 72, "SOFT" 50, "WONK" 1;
  margin-bottom: 14px;
}
.card__big span {
  font-style: italic;
  font-variation-settings: "opsz" 72, "SOFT" 100, "WONK" 1;
}
.card__sub {
  font-family: var(--body);
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 18px;
}
.card__cta {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hours {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: 12px;
}
.hours th, .hours td {
  text-align: left;
  padding: 7px 0;
  border-bottom: var(--rule) dashed rgba(14,11,7,0.18);
}
.hours th { font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.hours td { text-align: right; }
.hours .closed { opacity: 0.4; }
.hours .closed td { font-style: italic; }

@media (max-width: 980px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
  .card--address { grid-row: span 1; }
}
@media (max-width: 620px) {
  .card-grid { grid-template-columns: 1fr; }
}

/* ─── Footer ────────────────────────────────────────── */
.site-foot {
  background: var(--ink);
  color: var(--paper);
  border-top: var(--rule) solid rgba(239, 231, 215, 0.12);
}
.foot__cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(60px, 8vw, 100px) var(--gutter);
  max-width: var(--col-max);
  margin: 0 auto;
}
.foot__brand img { width: 220px; margin-bottom: 20px; }
.foot__brand p {
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.5;
  font-variation-settings: "opsz" 32, "SOFT" 100, "WONK" 1;
  color: var(--bone);
  max-width: 40ch;
}
.foot__h {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--resin);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: var(--rule) solid rgba(239, 231, 215, 0.15);
}
.foot__col p {
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--bone);
}
.foot__col a { color: var(--paper); border-bottom: 1px solid transparent; transition: border-color .2s; }
.foot__col a:hover { border-color: var(--resin); }

.foot__legal {
  border-top: var(--rule) solid rgba(239, 231, 215, 0.1);
  padding: 24px var(--gutter);
  max-width: var(--col-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ash);
}
.foot__legal p:last-child { max-width: 60ch; text-transform: none; letter-spacing: 0.04em; }

@media (max-width: 780px) {
  .foot__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .foot__cols { grid-template-columns: 1fr; }
}

/* ─── Scroll-driven section reveal (kept off for safer SSR) ───── */
@keyframes reveal {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__lockup .char { animation: none; opacity: 1; transform: none; }
  .hero__scroll .arrow { animation: none; }
  .ig-pill__dot { animation: none; }
  .conc__visual svg { animation: none; }
  .ticker__track { animation: none; }
}

/* ─── Tiny print on the body */
::selection {
  background: var(--resin);
  color: var(--ink);
}

/* ─── Palette switcher (dev preview only) ─────────── */
.palette-switcher {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  background: rgba(14, 11, 7, 0.88);
  border: 1px solid rgba(239, 231, 215, 0.18);
  border-radius: 100px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.palette-switcher__label {
  padding: 0 12px 0 14px;
  color: var(--ash);
  border-right: 1px solid rgba(239, 231, 215, 0.12);
  white-space: nowrap;
}
.palette-switcher__btn {
  padding: 9px 16px;
  border-radius: 100px;
  border: 0;
  background: transparent;
  color: var(--bone);
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  transition: background .2s, color .2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.palette-switcher__btn:hover { color: var(--paper); }
.palette-switcher__btn.is-active {
  background: var(--paper);
  color: var(--ink);
}
.palette-switcher__swatch {
  width: 10px; height: 10px; border-radius: 50%;
  display: inline-block;
}
.palette-switcher__copy {
  margin-left: 4px;
  padding: 6px 10px;
  color: var(--ash);
  cursor: pointer;
  border-left: 1px solid rgba(239, 231, 215, 0.12);
  transition: color .2s;
}
.palette-switcher__copy:hover { color: var(--resin); }

@media (max-width: 720px) {
  .palette-switcher {
    max-width: calc(100vw - 16px);
    font-size: 9px;
    gap: 2px;
    padding: 5px;
  }
  .palette-switcher__label { display: none; }
  .palette-switcher__btn { padding: 8px 10px; gap: 6px; }
  .palette-switcher__copy { padding: 5px 8px; }
}
@media (max-width: 480px) {
  /* Swatch-only mode — fits any phone. */
  .palette-switcher { padding: 4px; gap: 1px; }
  .palette-switcher__btn {
    padding: 8px;
    font-size: 0;          /* hide text */
  }
  .palette-switcher__btn .palette-switcher__swatch {
    width: 14px; height: 14px;
  }
  .palette-switcher__copy {
    font-size: 9px;
    padding: 6px 8px;
  }
}
