/* Zetti — Eight Sleep layout system, Zetti brand layer.
   Light mode only. One system: five type sizes, three weights (300 / 400 / 600), one eyebrow,
   three fields (sky bookends, paper, plum), one card radius plus pills, one shadow plus a hairline,
   one easing curve at two speeds. Pink lives on plum only; light surfaces use ink and grey,
   except the map pins and dots (--pin). */

@font-face {
  font-family: "Jakarta";
  src: url("/assets/font/PlusJakartaSans-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  /* the one pink allowed on light: map pins and dots */
  --pin: #f062a6;
  /* paper: white plus one warm off-white */
  --paper: #ffffff;
  --paper-2: #f7f4f1;
  --bg: var(--paper-2);
  --surface: var(--paper);
  --ink: #17111a;
  --ink-2: #5d5360;
  --ink-3: #736975;
  --line: rgba(23, 17, 26, 0.1);
  --pink: #ffade6;
  --pink-soft: #ffe9f5;
  --berry: #c22672;
  --plum: #380027;
  --plum-2: #4a0a36;
  --sky: #cfe6f7;
  --sky-deep: #9fcbec;
  /* the three fields */
  --sky-field: radial-gradient(120% 70% at 50% 108%, #ffd3ef 0%, rgba(255, 211, 239, 0) 60%), linear-gradient(180deg, #a9d3f1 0%, #cfe6f7 42%, #f3e6f2 82%, #ffe3f3 100%);
  --sky-fade: linear-gradient(180deg, #cfe6f7 0%, #ffffff 100%);
  --plum-field: radial-gradient(70% 60% at 50% 0%, rgba(255, 173, 230, 0.2), rgba(255, 173, 230, 0) 70%), linear-gradient(180deg, #2a001d 0%, #380027 60%, #4a0a36 100%);
  /* type: five sizes */
  --t-display: clamp(2.6rem, 5.6vw, 4.6rem);
  --t-title: clamp(2rem, 3.6vw, 3rem);
  --t-sub: clamp(1.2rem, 1.6vw, 1.45rem);
  --t-body: 1rem;
  --t-small: 0.8125rem;
  /* shape: one card radius, one inner radius for things nested in a card, pills */
  --r: 24px;
  --r-lg: var(--r);
  --r-sm: 14px;
  --pill: 999px;
  --hair: 0 0 0 1px var(--line);
  --hair-dark: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 60px -24px rgba(56, 0, 39, 0.24);
  /* motion: one curve, two speeds */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --fast: 0.25s;
  --slow: 0.7s;
  --gutter: clamp(16px, 2.6vw, 32px);
  --max: 1376px;
  --nav-h: 60px;
  --announce-h: 0px;
  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: "Jakarta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--pink); color: var(--plum); }
:focus-visible { outline: 2px solid var(--berry); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.display { font-weight: 300; letter-spacing: -0.035em; line-height: 1.02; margin: 0; }
.h1 { font-size: var(--t-display); }
.h2 { font-size: var(--t-title); font-weight: 300; letter-spacing: -0.03em; line-height: 1.08; margin: 0; }
.h3 { font-size: var(--t-sub); font-weight: 400; letter-spacing: -0.02em; line-height: 1.2; margin: 0; }
.lede { font-size: var(--t-body); color: var(--ink-2); margin: 0; }
/* the one eyebrow: grey on light, pink on plum */
.mono {
  font-family: inherit;
  font-size: var(--t-small);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.band .mono, .wild-band .mono, .film .mono, .footer .mono { color: var(--pink); }
.muted { color: var(--ink-3); }

/* ---------- buttons ---------- */
.btn {
  appearance: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--pill);
  font-size: var(--t-body);
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease), transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--plum); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--paper-2); }
.btn-pink { background: var(--pink); color: var(--plum); }
.btn-pink:hover { background: #ffc4ec; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: var(--hair); }
.btn-ghost:hover { box-shadow: 0 0 0 1px var(--ink); }
.btn-wide { width: 100%; }
.btn svg { width: 16px; height: 16px; }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  z-index: 50;
  left: var(--gutter);
  right: var(--gutter);
  top: calc(var(--announce-h) + 10px);
  height: var(--nav-h);
  max-width: calc(var(--max) - 2 * var(--gutter));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 10px 0 18px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55), var(--shadow);
  transition: top var(--slow) var(--ease), background var(--slow) var(--ease), box-shadow var(--slow) var(--ease);
  animation: nav-in var(--slow) var(--ease) 0.1s both;
}
@keyframes nav-in { from { opacity: 0; translate: 0 -12px; } }
.nav.is-stuck { top: 10px; background: rgba(255, 255, 255, 0.82); box-shadow: var(--hair), var(--shadow); }
.nav-links { display: flex; gap: 2px; }
.nav-links a, .nav-right a.link {
  font-size: var(--t-small);
  font-weight: 600;
  color: var(--ink-2);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: var(--pill);
  transition: color var(--fast) var(--ease), background var(--fast) var(--ease);
}
.nav-links a:hover, .nav-right a.link:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: rgba(23, 17, 26, 0.05); }
.nav-logo { display: flex; align-items: center; width: 74px; min-height: 44px; color: var(--ink); }
.nav-logo svg { display: block; width: 100%; height: auto; }
.nav-right { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.nav-cta { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 36px; margin: 4px 0; padding: 0 14px 0 11px; border-radius: var(--pill); background: var(--ink); color: #fff; font-size: var(--t-small); font-weight: 600; transition: background var(--fast) var(--ease), transform var(--fast) var(--ease); }
.nav-cta::after { content: ""; position: absolute; inset: -4px -2px; } /* 44px tap area around the 36px pill */
.nav-cta svg { width: 18px; height: 18px; }
.nav-cta:hover { background: var(--plum); }
.nav-cta:active { transform: scale(0.97); }
.nav-burger { display: none; appearance: none; border: 0; background: transparent; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; place-items: center; }
.nav-burger span, .nav-burger span::before, .nav-burger span::after { display: block; width: 18px; height: 1.6px; background: var(--ink); position: relative; transition: transform var(--fast) var(--ease), background var(--fast) var(--ease); }
.nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; left: 0; }
.nav-burger span::before { top: -6px; }
.nav-burger span::after { top: 6px; }
.nav-burger[aria-expanded="true"] span { background: transparent; }
.nav-burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.sheet {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  padding: calc(var(--announce-h) + var(--nav-h) + 20px) 24px max(24px, env(safe-area-inset-bottom));
  /* the visible screen, not the area behind Safari's toolbar; scrolls if a short screen still can't fit it */
  height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--fast) var(--ease), visibility var(--fast);
}
.sheet.is-open { opacity: 1; visibility: visible; }
.sheet-main { display: grid; }
/* eight rows: the type follows the screen height so the whole list and the vendor button fit */
.sheet-main a { font-size: clamp(1.25rem, 3.6dvh, 2rem); font-weight: 300; letter-spacing: -0.03em; padding: min(10px, 1.1dvh) 0; border-bottom: 1px solid var(--line); opacity: 0; translate: 0 10px; transition: opacity var(--slow) var(--ease), translate var(--slow) var(--ease); transition-delay: calc(var(--i) * 40ms); }
.sheet-main a[aria-current="page"] { color: var(--ink-3); }
.sheet.is-open .sheet-main a { opacity: 1; translate: 0 0; }
.sheet-sub { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 14px; }
.sheet-sub a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--t-small); font-weight: 600; color: var(--ink-2); }
.sheet .btn { margin-top: auto; flex: none; gap: 8px; }
.sheet-btn svg { width: 20px; height: 20px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--sky-field);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: calc(var(--announce-h) + var(--nav-h) + 34px) var(--gutter) clamp(72px, 9vw, 120px);
  isolation: isolate;
  /* logo width, capped by viewport height so the devices still land on the first screen */
  --lw: min(clamp(260px, 42vw, 620px), 56svh);
}
.hero-cloud { position: absolute; z-index: 0; pointer-events: none; opacity: 0.9; }
.hero-cloud.c1 { width: 62vw; left: -14vw; bottom: -6vw; }
.hero-cloud.c2 { width: 54vw; right: -12vw; bottom: -2vw; opacity: 0.85; }
.hero-cloud.c3 { width: 40vw; left: 28vw; top: 14%; opacity: 0.35; }
.hero-night { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; background: radial-gradient(70% 55% at 50% 45%, #2b1024 0%, #0b0509 72%); }
.hero-badge { position: relative; z-index: 3; color: var(--ink-2); }
.hero-logo {
  position: relative;
  z-index: 1;
  width: var(--lw);
  aspect-ratio: 455.36 / 230.69;
  margin-top: 6px;
  color: #fff;
  filter: drop-shadow(0 12px 40px rgba(56, 0, 39, 0.16));
}
/* Boost and Yart sit just behind the Trio; heights follow the real devices (Boost ~0.93 of Trio) */
.hero-devices {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: calc(var(--lw) * -0.2);
  --dh: min(clamp(270px, 27vw, 390px), 40svh);
}
.hero-device {
  position: relative;
  width: auto;
  filter: drop-shadow(0 40px 50px rgba(56, 0, 39, 0.22));
  animation: float 7s ease-in-out infinite;
}
.hero-device.trio { z-index: 2; height: var(--dh); rotate: -3deg; }
.hero-device.boost { z-index: 1; height: calc(var(--dh) * 0.93); rotate: -10deg; margin-right: calc(var(--dh) * -0.12); margin-bottom: calc(var(--dh) * 0.04); animation-delay: -2.3s; }
/* the Yart render has wide transparent margins, so it is pulled in hard */
.hero-device.yart { z-index: 1; height: calc(var(--dh) * 1.12); rotate: 9deg; margin-left: calc(var(--dh) * -0.42); margin-right: calc(var(--dh) * -0.3); margin-bottom: calc(var(--dh) * -0.02); animation-delay: -4.6s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.hero-copy { position: relative; z-index: 3; display: grid; justify-items: center; margin-top: clamp(40px, 6vw, 72px); }
.hero-copy h1 { max-width: 16ch; margin: 0; }
/* the closing copy of the hero on the products page: no nav to clear, same sky */
.hero-end { padding-top: clamp(64px, 8vw, 110px); }
.hero-end .hero-copy h2 { margin: 0; }
.hero-end .hero-copy .price { margin: 14px 0 24px; }
.hero-end .soft { color: #6f6676; }
.hero-lines { display: flex; align-items: center; gap: clamp(10px, 1.4vw, 18px); margin-top: 12px; font-size: var(--t-sub); font-weight: 600; letter-spacing: -0.03em; text-transform: lowercase; color: var(--ink); }
.hero-lines a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; transition: color var(--fast) var(--ease); }
.hero-lines a:hover { color: var(--ink-3); }
.hero-lines span { color: var(--ink-3); font-weight: 300; }
.hero-copy .price { margin: 6px 0 24px; text-wrap: balance; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hero-copy .rating { margin-top: 34px; }

/* the Zetti script mark set inline in a heading, sized to the cap height */
.zmark { display: inline-block; height: 1.12em; width: auto; aspect-ratio: 455.36 / 230.69; vertical-align: -0.3em; margin: 0 0.02em; }

/* two-tone headlines: the second beat keeps the weight and case, only the colour drops to grey (3:1+ for large text) */
.soft { color: #8b8290; }
.band .soft, .wild-band .soft { color: var(--pink); }
.final .soft { color: #6f6676; } /* a touch darker on the pale sky */

/* film grain over the big colour fields */
.grain { position: relative; }
.grain::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0.16; mix-blend-mode: soft-light; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* reveal: html.hero-dark is set in the page head, site.js swaps it for hero-reveal */
.hero-dark .hero-night { opacity: 1; }
.hero-dark .hero-badge, .hero-dark .hero-logo, .hero-dark .hero-device, .hero-dark .hero-copy { opacity: 0; }
.hero-reveal .hero-night { animation: hero-dawn 2s var(--ease) 1.1s both; }
/* the entrance animations only fill backwards, so once they end the scroll drift below takes over */
.hero-reveal .hero-device { animation-name: hero-rise, float; animation-duration: 1.6s, 7s; animation-timing-function: var(--ease), ease-in-out; animation-iteration-count: 1, infinite; animation-fill-mode: backwards, none; }
.hero-reveal .hero-device.trio { animation-delay: 0.15s, 0s; }
.hero-reveal .hero-device.boost { animation-delay: 0.35s, -2.3s; }
.hero-reveal .hero-device.yart { animation-delay: 0.5s, -4.6s; }
.hero-reveal .hero-logo { animation: hero-surface 1.8s var(--ease) 0.7s backwards; }
.hero-reveal .hero-cloud.c1 { animation: hero-drift-l 3.2s var(--ease) 0.9s backwards; }
.hero-reveal .hero-cloud.c2 { animation: hero-drift-r 3.2s var(--ease) 0.9s backwards; }
.hero-reveal .hero-badge { animation: hero-fade 0.9s var(--ease) 2.2s backwards; }
.hero-reveal .hero-copy { animation: hero-fade 1s var(--ease) 2.4s backwards; }

/* scroll drift: site.js writes --hp (0 at the top, 1 once the hero has scrolled away) */
.hero { --hp: 0; }
.hero-logo { translate: 0 calc(var(--hp) * 120px); }
.hero-cloud.c1 { translate: 0 calc(var(--hp) * -90px); }
.hero-cloud.c2 { translate: 0 calc(var(--hp) * -60px); }
.hero-device.trio { translate: 0 calc(var(--hp) * -40px); }
.hero-device.boost { translate: calc(var(--hp) * -90px) calc(var(--hp) * 10px); }
.hero-device.yart { translate: calc(var(--hp) * 90px) calc(var(--hp) * -10px); }
/* the trio of devices tilts toward the cursor (site.js writes --tx/--ty); each lifts on hover */
.hero-devices { transform: perspective(1100px) rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg)); transition: transform var(--slow) var(--ease); }
.hero-device { transition: scale var(--slow) var(--ease); }
.hero-device:hover { scale: 1.05; }
@keyframes hero-dawn { from { opacity: 1; } to { opacity: 0; } }
@keyframes hero-rise {
  from { opacity: 0; translate: 0 24%; filter: brightness(0.3) drop-shadow(0 40px 50px rgba(56, 0, 39, 0)); }
  to { opacity: 1; translate: 0 0; filter: brightness(1) drop-shadow(0 40px 50px rgba(56, 0, 39, 0.22)); }
}
@keyframes hero-surface {
  from { opacity: 0; translate: 0 40px; filter: blur(10px) drop-shadow(0 12px 40px rgba(56, 0, 39, 0)); }
  to { opacity: 1; translate: 0 0; filter: blur(0) drop-shadow(0 12px 40px rgba(56, 0, 39, 0.16)); }
}
@keyframes hero-drift-l { from { translate: -8% 6%; } to { translate: 0 0; } }
@keyframes hero-drift-r { from { translate: 8% 6%; } to { translate: 0 0; } }
@keyframes hero-fade { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }

.rating { display: flex; flex-direction: column; align-items: center; gap: 4px; width: max-content; margin: 38px auto 0; }
.rating b { font-size: var(--t-title); font-weight: 300; letter-spacing: -0.04em; line-height: 1; }
.stars { display: inline-flex; gap: 2px; color: var(--ink); }
.stars svg { width: 15px; height: 15px; }
.rating small { color: var(--ink-3); font-size: var(--t-small); }

/* ---------- film band ---------- */
.film {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background: var(--plum);
}
.film video, .film .film-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(56, 0, 39, 0.1), rgba(56, 0, 39, 0.45)); }
.film-in { position: relative; z-index: 1; display: grid; justify-items: center; gap: 22px; padding: 0 var(--gutter); }
.film .h2 { text-shadow: 0 2px 30px rgba(56, 0, 39, 0.35); }
.film-toggle { position: absolute; z-index: 2; right: 22px; bottom: 22px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.18); color: #fff; cursor: pointer; display: grid; place-items: center; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.film-toggle:hover { background: rgba(255, 255, 255, 0.3); }
.film-toggle svg { width: 16px; height: 16px; }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section.tint { background: var(--paper-2); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { text-align: center; justify-items: center; }
.section-head .lede { max-width: 52ch; }
.center-cta { display: flex; justify-content: center; margin-top: 36px; }

/* ---------- expanding cards (Eight Sleep "Cover / Hub / App") ---------- */
.expand { display: flex; gap: 12px; height: clamp(440px, 46vw, 620px); }
.xcard {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--plum);
  color: #fff;
  cursor: pointer;
  transition: flex-grow var(--slow) var(--ease);
  isolation: isolate;
}
.xcard.is-open { flex-grow: 2.15; cursor: default; }
.xcard video, .xcard img.xbg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--slow) var(--ease); }
.xcard:hover video, .xcard:hover img.xbg { transform: scale(1.03); }
.xcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 52%, rgba(23, 6, 18, 0.72) 100%); z-index: 0; }
.xcard > * { z-index: 1; }
.xtag { position: absolute; top: 16px; left: 16px; padding: 5px 11px; border-radius: var(--pill); font-size: var(--t-small); font-weight: 600; background: rgba(255, 255, 255, 0.2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.xbtn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.xbtn:hover { background: rgba(255, 255, 255, 0.34); }
.xbtn svg { width: 14px; height: 14px; }
.xcard.is-open .xbtn { transform: rotate(45deg); }
/* the frosted caption plate, shared by every media card on the site */
.xcopy, .plate { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 14px; padding: 16px 18px; border-radius: var(--r-sm); background: rgba(23, 6, 18, 0.42); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); box-shadow: var(--hair-dark); color: #fff; text-align: left; }
.xcopy h3, .plate b { display: block; margin: 0; font-size: var(--t-sub); font-weight: 400; letter-spacing: -0.02em; line-height: 1.2; }
.plate span { display: block; margin-top: 6px; font-size: var(--t-small); color: rgba(255, 255, 255, 0.82); }
.plate em { display: inline-block; margin-top: 10px; font-style: normal; font-size: var(--t-small); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.xcopy p { margin: 6px 0 0; font-size: var(--t-small); color: rgba(255, 255, 255, 0.82); max-width: 40ch; max-height: 0; opacity: 0; overflow: hidden; transition: max-height var(--slow) var(--ease), opacity var(--fast) var(--ease); }
.xcard.is-open .xcopy p { max-height: 6em; opacity: 1; transition-delay: 0.2s; }
.xcopy .xlink { display: inline-flex; margin-top: 12px; font-size: var(--t-small); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; opacity: 0; transition: opacity var(--fast) var(--ease); }
.xcard.is-open .xlink { opacity: 1; transition-delay: 0.3s; }

/* a device render on its own: clean paper field, the device contained, dark labels */
.dev { background: radial-gradient(80% 70% at 50% 40%, #ffffff 0%, var(--paper-2) 78%) !important; color: var(--ink); }
.xcard.dev::after, .proof .card.dev::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(23, 6, 18, 0.12)); }
.xcard.dev img.xbg, .proof .card.dev img, .rot-media.dev img { object-fit: contain; padding: 12% 14% 36%; filter: drop-shadow(0 26px 30px rgba(56, 0, 39, 0.18)); }
.rot-media.dev img { padding: 9%; }
.dev .xcopy, .dev .plate { background: rgba(255, 255, 255, 0.7); color: var(--ink); box-shadow: var(--hair); }
.dev .xcopy p, .dev .plate span { color: var(--ink-2); }
.xcard.dev .xtag, .xcard.dev .xbtn { color: var(--ink); background: rgba(255, 255, 255, 0.75); box-shadow: var(--hair); }

/* ---------- licensed sales form ---------- */
.vform, .hform { gap: 22px; }
.vstep { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; min-width: 0; }
.vstep legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 12px; font-size: var(--t-sub); font-weight: 400; letter-spacing: -0.02em; }
.vnum { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: var(--t-small); font-weight: 600; letter-spacing: 0; }
.vstep + .vstep { padding-top: 22px; border-top: 1px solid var(--line); }
.vrow.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vhint { display: flex; align-items: center; gap: 6px; min-height: 1.2em; font-size: var(--t-small); color: var(--ink-3); }
.vhint.ok { color: var(--ink); font-weight: 600; }
.vhint.warn { color: #9a4b00; }
.zipf input { max-width: 180px; letter-spacing: 0.08em; }
.state-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.state-opt { position: relative; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 14px; border-radius: var(--r-sm); background: #fff; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow var(--fast) var(--ease), transform var(--fast) var(--ease); }
.state-opt:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
.state-opt:active { transform: scale(0.98); }
.state-opt input { position: absolute; opacity: 0; pointer-events: none; }
.state-opt svg { flex: 0 0 auto; height: 34px; width: auto; max-width: 64px; }
.state-opt svg path { fill: var(--line); transition: fill var(--fast) var(--ease); }
.state-opt span { display: grid; line-height: 1.2; }
.state-opt b { font-weight: 600; }
.state-opt small { color: var(--ink-3); font-size: var(--t-small); }
.state-opt:has(input:checked) { box-shadow: inset 0 0 0 2px var(--ink); }
.state-opt:has(input:checked) svg path { fill: var(--pin); }
.state-opt:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.vsub { margin: -8px 0 0; }
.cat-pick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.cat-chip { position: relative; display: flex; align-items: center; min-height: 52px; padding: 10px 14px 10px 44px; border-radius: var(--r-sm); background: #fff; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow var(--fast) var(--ease), transform var(--fast) var(--ease); }
.cat-chip:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
.cat-chip:active { transform: scale(0.98); }
.cat-chip input { position: absolute; opacity: 0; pointer-events: none; }
.cat-chip::before { content: ""; position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; translate: 0 -50%; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--ink-3); transition: background var(--fast) var(--ease), box-shadow var(--fast) var(--ease); }
.cat-chip:has(input:checked) { box-shadow: inset 0 0 0 2px var(--ink); }
.cat-chip:has(input:checked)::before { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='m3.5 8.5 3 3 6-7'/%3E%3C/svg%3E") center / 12px no-repeat; box-shadow: none; }
.cat-chip:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.cat-chip span { display: grid; line-height: 1.2; }
.cat-chip b { font-weight: 600; }
.cat-chip small { color: var(--ink-3); font-size: var(--t-small); }
/* Hall of Flowers booth form: one narrow column, big tap targets */
.bare-head { display: flex; justify-content: center; padding: max(24px, env(safe-area-inset-top)) 0 8px; color: var(--ink); }
.bare-head svg { width: 96px; height: auto; }
.hof { max-width: 640px; padding-top: 24px; padding-bottom: clamp(56px, 8vw, 96px); }
.hof-stat { justify-self: start; margin: 0; padding: 6px 14px; border-radius: var(--pill); background: var(--pink-soft); color: var(--plum); font-size: var(--t-small); font-weight: 600; }
.hof-head { display: grid; gap: 14px; margin-bottom: 28px; }
.hof .vhint.warn { font-weight: 600; }
.role-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.role-pick .cat-chip::before { border-radius: 50%; }
.field input[aria-invalid="true"] { border-color: #b3261e; }
/* product cards as on /products, but a tap selects instead of linking: no price, no hover */
.hcards { display: grid; gap: 12px; }
.hcard { position: relative; display: grid; border-radius: var(--r); background: #fff; box-shadow: var(--hair); overflow: hidden; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: box-shadow var(--fast) var(--ease); }
.hcard input { position: absolute; opacity: 0; pointer-events: none; }
.hcard .ph { --n: 10; --o: 0.5; --w: calc(100% / ((1 - var(--o)) * (var(--n) - 1) + 1)); display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; padding: 6% 5%; background: radial-gradient(80% 70% at 50% 45%, #ffffff 0%, var(--paper-2) 80%); }
.hcard[data-line="yart"] .ph { --o: 0.78; }
.hcard .ph img { flex: 0 0 var(--w); width: var(--w); height: auto; max-height: 92%; object-fit: contain; filter: drop-shadow(0 12px 14px rgba(56, 0, 39, 0.16)); }
.hcard .ph img + img { margin-left: calc(var(--w) * var(--o) * -1); }
.hcard .body { display: grid; gap: 6px; padding: 20px 20px 4px; }
.hcard .name { font-size: var(--t-sub); font-weight: 400; letter-spacing: -0.02em; }
.hcard .copy { color: var(--ink-2); font-size: var(--t-small); }
.hcard .dots { display: flex; gap: 11px; margin-top: 6px; }
.hcard .dots i { width: 15px; height: 15px; border-radius: 50%; background: var(--g, var(--c)); box-shadow: inset 0 0 0 1px rgba(23, 17, 26, 0.14); }
.hcard .foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px 20px; }
.dev-count { padding: 5px 12px; border-radius: var(--pill); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); font-size: var(--t-small); font-weight: 600; }
.ferr { min-height: 0; font-size: var(--t-small); font-weight: 600; color: #b3261e; }
.ferr:empty { display: none; }
/* floating send bar: slides up once a product is added, hides while the real button is on screen */
.hof-bar { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; padding: 12px var(--gutter) max(12px, env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 -1px 0 var(--line), 0 -12px 30px -18px rgba(56, 0, 39, 0.3); translate: 0 110%; visibility: hidden; transition: translate 0.35s var(--ease), visibility 0s linear 0.35s; }
.hof-bar.is-on { translate: 0 0; visibility: visible; transition: translate 0.35s var(--ease), visibility 0s; }
.hof-bar .btn { max-width: 600px; margin: 0 auto; display: flex; gap: 8px; }
@media (prefers-reduced-motion: reduce) { .hof-bar, .hof-bar.is-on { transition: none; } }
.hpick { flex: 1; max-width: 240px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 24px; border-radius: var(--pill); box-shadow: inset 0 0 0 1.5px var(--ink); font-size: 1.0625rem; font-weight: 600; transition: background var(--fast) var(--ease), color var(--fast) var(--ease); }
.hpick svg { width: 16px; height: 16px; }
.hpick .on, .hcard:has(input:checked) .hpick .off { display: none; }
.hcard:has(input:checked) .hpick .on { display: inline-flex; align-items: center; gap: 6px; }
.hcard:has(input:checked) { box-shadow: 0 0 0 2px var(--ink); }
.hcard:has(input:checked) .hpick { background: var(--ink); color: #fff; box-shadow: none; }
.hcard:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.hof-done { gap: 14px; text-align: center; }
.hof-done:focus { outline: none; }
.hform[hidden], .hof-done[hidden] { display: none; }
.lic-look { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; margin-top: -6px; font-size: var(--t-small); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.lic-look::after { content: "↗"; margin-left: 4px; text-decoration: none; }

/* ---------- vendor slideshow ---------- */
.show { position: relative; aspect-ratio: 16 / 11; overflow: hidden; border-radius: var(--r); background: var(--paper-2); }
.show-slide { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; background: radial-gradient(60% 70% at 50% 46%, #fff 0%, color-mix(in srgb, var(--c) 34%, #fff) 60%, color-mix(in srgb, var(--c) 58%, #fff) 100%); opacity: 0; transition: opacity var(--slow) var(--ease); }
.side-media.show { aspect-ratio: 16 / 11; }
.side-media.show .show-slide img { position: absolute; inset: 0 0 16% 0; margin: auto; height: 66%; width: auto; max-width: 70%; object-fit: contain; filter: drop-shadow(0 26px 28px rgba(56, 0, 39, 0.22)); translate: 0 18px; scale: 0.94; rotate: -4deg; transition: translate 1.1s var(--ease), scale 1.1s var(--ease), rotate 1.1s var(--ease); }
.side-media.show .show-slide[data-line="snowcaps"] img, .side-media.show .show-slide[data-line="flower"] img { height: 70%; }
.show-slide figcaption { position: absolute; left: 22px; bottom: 22px; display: grid; gap: 2px; text-align: left; opacity: 0; translate: 0 8px; transition: opacity var(--slow) var(--ease) 0.2s, translate var(--slow) var(--ease) 0.2s; }
.show-slide figcaption .mono { color: var(--ink-2); }
.show-slide figcaption b { font-size: var(--t-sub); font-weight: 400; letter-spacing: -0.02em; }
.show-slide.is-on { opacity: 1; }
.show-slide.is-on img { translate: 0 0; scale: 1; rotate: 0deg; }
.show-slide.is-on figcaption { opacity: 1; translate: 0 0; }
.show-line { position: absolute; right: 22px; bottom: 30px; width: 96px; height: 2px; border-radius: 2px; background: rgba(23, 17, 26, 0.12); overflow: hidden; }
.show-line i { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }

/* ---------- lineup tiles: a deck-gradient field, copy on top, the device large below ---------- */
.tiles { height: clamp(620px, 48vw, 660px); }
.tiles .xcard { color: var(--ink); background: linear-gradient(165deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0) 100%) var(--tc); transition: flex-grow var(--slow) var(--ease), background-color var(--slow) var(--ease); }
.tiles .xcard::after { content: none; }
.tile-card[data-name="Trio"] { --tc: #f6bddb; --tilt: -6deg; }
.tile-card[data-name="Boost"] { --tc: #a9dcf5; --tilt: 5deg; }
.tile-card[data-name="Yart"] { --tc: #c3b8ea; --tilt: 8deg; }
/* soft light behind the device and a floor shadow under it */
.tile-card::before { content: ""; position: absolute; z-index: 0; left: 50%; bottom: 0; width: 120%; height: 70%; translate: -50% 0; background: radial-gradient(50% 45% at 50% 62%, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0) 70%), radial-gradient(var(--shw, 22%) 3.5% at 50% var(--shy, 93%), rgba(56, 0, 39, 0.24), rgba(56, 0, 39, 0) 100%); pointer-events: none; }
.tcopy { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 6px; padding: clamp(22px, 2.4vw, 32px); }
.tcopy .mono { color: var(--ink-2); }
.tcopy h3 { margin: 0; font-size: var(--t-title); font-weight: 300; letter-spacing: -0.03em; line-height: 1.05; }
.tcopy p { margin: 4px 0 0; max-width: 36ch; color: var(--ink-2); }
/* tile chips: one tight overlapping row; each chip owns a 14px slice so a sweep across the row scrubs strains */
.tdots { display: flex; flex-wrap: nowrap; align-items: center; margin: 6px 0 0 -6px; padding: 4px 22px 10px 6px; }
.tdots a { position: relative; width: 14px; height: 30px; display: grid; place-items: center; }
.tdots a::before { content: ""; width: 20px; height: 20px; flex: 0 0 auto; border-radius: 50%; background: var(--g, var(--c)); box-shadow: inset 0 0 0 1px rgba(23, 17, 26, 0.12), 0 0 0 2px rgba(255, 255, 255, 0.92); transition: scale var(--fast) var(--ease), translate var(--fast) var(--ease), box-shadow var(--fast) var(--ease); }
.tdots a:hover, .tdots a.is-on, .tdots a:focus-visible { z-index: 2; }
.tdots a:hover::before, .tdots a.is-on::before, .tdots a:focus-visible::before { scale: 1.25; translate: 0 -2px; box-shadow: inset 0 0 0 1px rgba(23, 17, 26, 0.12), 0 0 0 2px #fff, 0 4px 10px rgba(56, 0, 39, 0.28); }
.tdots a:focus-visible { outline: none; }
.tdots a:focus-visible::before { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.pcard .dots a { position: relative; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; }
.pcard .dots a::before { content: ""; width: 15px; height: 15px; border-radius: 50%; background: var(--g, var(--c)); box-shadow: inset 0 0 0 1px rgba(23, 17, 26, 0.14), 0 0 0 2px rgba(255, 255, 255, 0); transition: scale var(--fast) var(--ease), box-shadow var(--fast) var(--ease); }
.pcard .dots a:hover::before, .pcard .dots a:focus-visible::before { scale: 1.35; box-shadow: inset 0 0 0 1px rgba(23, 17, 26, 0.14), 0 0 0 2px #fff, 0 2px 8px rgba(56, 0, 39, 0.25); }
.pcard .dots a:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
/* the hovered strain takes the kicker's place: same grid cell, crossfade, no layout shift */
.tcopy > .mono, .tcopy > .tpick { grid-area: 1 / 1; align-self: center; transition: opacity var(--fast) var(--ease), translate var(--fast) var(--ease); }
.tpick { display: flex; align-items: center; gap: 8px; min-height: 22px; max-width: 100%; min-width: 0; pointer-events: none; opacity: 0; translate: 0 4px; }
/* a long name truncates; the type badge always shows whole */
.tpick b { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 13px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.tpick .stype { flex: none; }
.tpick .stype { height: 20px; font-size: 10px; padding: 0 8px 0 6px; gap: 4px; }
.tpick .stype svg { width: 12px; height: 12px; }
.is-picking .tcopy > .mono { opacity: 0; translate: 0 -4px; }
.is-picking .tpick { opacity: 1; translate: 0 0; }
/* phones: the store link becomes a frosted pin in the tile corner, so nothing sits on the device */
.tnear { display: none; }
.tiles .tlinks { margin-top: 8px; }
/* the type badge: icon + word; indica blue, sativa pink, hybrid the blend of the two */
.stype { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px 0 8px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #1d1320; background: linear-gradient(100deg, #a8d8ff 0%, #ffb1d8 100%); white-space: nowrap; }
.stype svg { width: 14px; height: 14px; flex: 0 0 auto; }
.stype[data-type="sativa"] { background: #ffb1d8; }
.stype[data-type="indica"] { background: #a8d8ff; }
.schips { display: flex; flex-wrap: wrap; gap: 6px; }
.schips i { font-style: normal; height: 26px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 999px; font-size: 12px; color: var(--ink-2); background: rgba(255, 255, 255, 0.7); box-shadow: inset 0 0 0 1px var(--line); }
.tlinks { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin-top: 14px; }
.tlinks .more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
/* the line, dots and links show on the open tile only */
.tiles .tcopy p, .tiles .tdots, .tiles .tlinks { max-height: 0; opacity: 0; overflow: hidden; transition: max-height var(--slow) var(--ease), opacity var(--fast) var(--ease); }
.tiles .is-open .tcopy p, .tiles .is-open .tdots, .tiles .is-open .tlinks { max-height: 8em; opacity: 1; transition-delay: 0.12s; }
.tdev { position: absolute; z-index: 1; left: 50%; bottom: 6%; height: 48%; width: auto; max-width: 80%; object-fit: contain; translate: -50% 0; rotate: var(--tilt); filter: drop-shadow(0 30px 28px rgba(56, 0, 39, 0.22)); transition: opacity 0.14s var(--ease), scale var(--slow) var(--ease), rotate var(--slow) var(--ease); }
/* the Yart art carries ~11% clear space under the cart: drop it onto the floor, and give it a cart-sized shadow */
.tile-card[data-name="Yart"] { --shw: 8%; }
.tile-card[data-name="Yart"] .tdev { height: 56%; bottom: 1%; }
.tiles .is-open .tdev { scale: 1.06; }
.tiles .xcard:not(.is-open) .tdev { rotate: 0deg; }

/* ---------- rotating feature list ("Smaller than ever") ---------- */
.rotator { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.rot-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; }
.rot-list button {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font-size: var(--t-title);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.16;
  color: #d3cbd2;
  min-height: 44px;
  transition: color var(--fast) var(--ease);
}
.rot-list button:hover { color: var(--ink-3); }
.rot-list button[aria-pressed="true"] { color: var(--ink); }
.rot-ring { width: 26px; height: 26px; margin: 26px 0 30px; transform: rotate(-90deg); }
.rot-ring circle { fill: none; stroke-width: 2; }
.rot-ring .track { stroke: var(--line); }
.rot-ring .bar { stroke: var(--ink); stroke-dasharray: 69.1; stroke-dashoffset: 69.1; }
.rot-detail h3 { margin: 0 0 8px; }
.rot-detail p { margin: 0 0 30px; color: var(--ink-2); max-width: 40ch; }
.rot-media { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r); overflow: hidden; background: var(--paper-2); }
.rot-media > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity var(--slow) var(--ease); }
.rot-media > .is-on { opacity: 1; }

/* ---------- plum carousel band ("app" band) ---------- */
.band {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--plum-field);
  padding: clamp(80px, 9vw, 120px) 0 clamp(64px, 7vw, 96px);
}
.band .section-head .lede { color: rgba(255, 233, 245, 0.75); }
@property --glow { syntax: "<color>"; inherits: true; initial-value: #ffade6; }
.band { transition: --glow var(--slow) var(--ease); }
.band::before { content: ""; position: absolute; left: 50%; top: 52%; width: min(900px, 90vw); aspect-ratio: 1.6; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 34%, transparent), transparent); pointer-events: none; }
.band > * { position: relative; }
.car-card.is-active { background: color-mix(in srgb, var(--c) 16%, rgba(255, 255, 255, 0.04)); }
.car-card .art::before { transition: opacity var(--slow) var(--ease), scale var(--slow) var(--ease); }
.car-card.is-active .art::before { opacity: 0.6; scale: 1.15; }
.car { position: relative; }
.car-track { display: flex; gap: 20px; transition: transform var(--slow) var(--ease); will-change: transform; }
.car-card {
  flex: 0 0 clamp(240px, 26vw, 330px);
  border-radius: var(--r);
  padding: 22px 22px 26px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  box-shadow: var(--hair-dark);
  opacity: 0.45;
  transform: scale(0.92);
  transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease), box-shadow var(--slow) var(--ease);
  cursor: pointer;
}
.car-card.is-active { opacity: 1; transform: scale(1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24), var(--shadow); }
.car-card .art { height: clamp(240px, 26vw, 330px); display: grid; place-items: center; position: relative; }
.car-card .art img { position: absolute; inset: 0; margin: auto; }
.car-card .art::before { content: ""; position: absolute; width: 72%; aspect-ratio: 1; border-radius: 50%; background: var(--c, var(--pink)); opacity: 0.35; filter: blur(30px); }
.car-card .art img { height: 100%; width: 100%; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.35)); }
.car-card h3 { margin: 18px 0 4px; font-size: var(--t-sub); font-weight: 400; letter-spacing: -0.02em; }
.car-card p { margin: 0; font-size: var(--t-small); color: rgba(255, 233, 245, 0.7); }
.car-ui { display: grid; justify-items: center; gap: 22px; margin-top: 34px; }
.car-toggle { position: relative; }
.car-toggle .ico { display: grid; place-items: center; }
.car-toggle .ring { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); rotate: -90deg; pointer-events: none; }
.car-toggle .ring circle { fill: none; stroke: var(--pink); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.car-dots { display: flex; gap: 6px; }
.car-dots button { appearance: none; border: 0; background: none; width: 22px; height: 44px; padding: 0; cursor: pointer; display: grid; place-items: center; }
.car-dots button::before { content: ""; width: 6px; height: 6px; border-radius: var(--pill); background: rgba(255, 255, 255, 0.35); transition: width var(--fast) var(--ease), background var(--fast) var(--ease); }
.car-dots button[aria-current="true"]::before { width: 20px; background: #fff; }
.car-dots { gap: 0; }
.car-arrows { display: flex; gap: 12px; }
.circle-btn { appearance: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.45); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; transition: background var(--fast) var(--ease), border-color var(--fast) var(--ease); }
.circle-btn:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.circle-btn svg { width: 16px; height: 16px; }
/* strain carousel: the outlined arrows sit at each end, centred on the device art */
.car .car-prev, .car .car-next { position: absolute; z-index: 5; top: calc(22px + clamp(240px, 26vw, 330px) / 2); translate: 0 -50%; background: rgba(56, 0, 39, 0.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.car .car-prev { left: max(12px, calc(var(--gutter) - 6px)); }
.car .car-next { right: max(12px, calc(var(--gutter) - 6px)); }
/* desktop: the arrows flank the active card instead of the screen edges */
@media (min-width: 861px) {
  .car .car-prev { left: calc(50% - clamp(240px, 26vw, 330px) / 2 - 46px - 28px); }
  .car .car-next { right: calc(50% - clamp(240px, 26vw, 330px) / 2 - 46px - 28px); }
}
.band-note { text-align: center; font-size: var(--t-small); color: rgba(255, 233, 245, 0.55); margin: 22px 0 0; }

/* ---------- staggered pair ---------- */
.stagger { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.stagger .tile { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--plum); color: #fff; }
.stagger-col { display: grid; gap: clamp(28px, 4vw, 52px); align-content: start; }
.stagger-col .section-head { margin: clamp(12px, 3vw, 40px) 0 0; max-width: 30rem; }
.stagger .tile img, .stagger .tile video { width: 100%; height: 100%; object-fit: cover; transition: transform var(--slow) var(--ease); }
.stagger .tile:hover img, .stagger .tile:hover video { transform: scale(1.03); }
.stagger .tile::after, .proof .card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(23, 6, 18, 0.55)); }

/* ---------- proof cards ---------- */
.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.proof .card { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--plum); color: #fff; }
.proof .card img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--slow) var(--ease); }
.proof .card:hover img { transform: scale(1.03); }

/* ---------- dark wild band ---------- */
.wild-band { background: var(--plum-field); color: #fff; padding: clamp(80px, 9vw, 120px) 0 0; overflow: hidden; }
.wild-band .section-head .lede { color: rgba(255, 233, 245, 0.7); }
.wild-band #zetti-wild { margin-top: 8px; }
.wild-band .zw { background: transparent; padding-top: 0; }

/* stockist marquee: greyscale logo tiles, store names as the fallback */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; background: #fff; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-row { display: flex; gap: 46px; width: max-content; animation: marquee 80s linear infinite; }
.marquee span { font-size: var(--t-body); font-weight: 400; letter-spacing: -0.01em; color: var(--ink-2); white-space: nowrap; display: inline-flex; align-items: center; gap: 46px; }
.stockists { background: #fff; padding-top: 30px; text-align: center; }
.stockists .marquee { border: 0; padding: 18px 0 34px; }
.marquee img { width: 76px; height: 76px; flex: none; border-radius: var(--r-sm); box-shadow: var(--hair); filter: grayscale(1) contrast(0.55) brightness(1.18); opacity: 0.6; }
.marquee-row:has(img) { gap: 64px; animation-duration: 110s; }
.marquee span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); opacity: 0.4; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- find us teaser ---------- */
.findus { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.findus-form { display: grid; gap: 12px; margin-top: 28px; }
.seg { display: inline-flex; gap: 4px; padding: 4px; background: var(--paper-2); border-radius: var(--pill); width: max-content; }
.seg button { appearance: none; border: 0; background: transparent; min-height: 44px; padding: 0 18px; border-radius: var(--pill); font-size: var(--t-small); font-weight: 600; color: var(--ink-2); cursor: pointer; transition: background var(--fast) var(--ease), color var(--fast) var(--ease); }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.search-row { display: flex; gap: 8px; }
.input {
  flex: 1;
  min-width: 0;
  min-height: 50px;
  font: inherit;
  font-size: var(--t-body);
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 0 22px;
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.input::placeholder { color: var(--ink-3); }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(23, 17, 26, 0.08); }
.findus-map { position: relative; border-radius: var(--r); overflow: hidden; background: var(--paper-2); aspect-ratio: 1400 / 937; display: block; }
.findus-map img { width: 100%; height: 100%; object-fit: cover; }
.findus-map .pill { position: absolute; left: 18px; bottom: 18px; background: #fff; color: var(--ink); padding: 9px 16px; border-radius: var(--pill); font-size: var(--t-small); font-weight: 600; box-shadow: var(--shadow); }

/* ---------- final cta ---------- */
.final { position: relative; padding-bottom: clamp(56px, 7vw, 96px); background: var(--sky-field); color: var(--ink); display: flex; flex-direction: column; align-items: center; text-align: center; overflow: hidden; }
.final img.final-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.final.photo { color: #fff; background: var(--plum); }
.final.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 6, 18, 0.55) 0%, rgba(23, 6, 18, 0.05) 55%); }
/* the whole Boost fan stays in view: it sits in the flow under the copy, the clouds drift behind it */
.final .final-art { position: relative; z-index: 2; order: 2; width: min(960px, 92vw); margin-top: clamp(36px, 5vw, 64px); filter: drop-shadow(0 30px 40px rgba(56, 0, 39, 0.2)); }
/* the Boost fan: ten devices around one pivot far below; --p 0 is a closed stack, 1 the open fan */
.fan { --p: 1; position: relative; z-index: 2; order: 2; width: min(960px, 92vw); aspect-ratio: 2.1; margin-top: clamp(36px, 5vw, 64px); }
.fan img { position: absolute; left: 50%; top: 9%; width: 12.6%; height: auto; translate: -50% 0; transform-origin: 50% 228%; rotate: calc(var(--a) * var(--p)); filter: drop-shadow(0 16px 18px rgba(56, 0, 39, 0.2)); will-change: rotate; }
.final .final-cloud { position: absolute; z-index: 1; width: 70vw; bottom: -6vw; pointer-events: none; }
.final .final-cloud.l { left: -20vw; }
.final .final-cloud.r { right: -22vw; }
.final-devs { order: 2; position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: center; gap: clamp(18px, 4vw, 56px); height: clamp(200px, 24vw, 300px); margin-top: clamp(36px, 5vw, 56px); }
.final-devs img { height: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 30px 28px rgba(56, 0, 39, 0.22)); rotate: var(--tilt, 0deg); transition: scale var(--slow) var(--ease), rotate var(--slow) var(--ease), translate var(--slow) var(--ease); }
.final-devs img:nth-child(1) { --tilt: -6deg; height: 92%; }
.final-devs img:nth-child(2) { --tilt: 0deg; }
.final-devs img:nth-child(3) { --tilt: 8deg; height: 100%; }
.final-devs img:hover { scale: 1.06; rotate: 0deg; translate: 0 -8px; }
.final-devs { pointer-events: auto; }
.final-devs::after { content: ""; position: absolute; left: 50%; bottom: -14px; width: 70%; height: 30px; translate: -50% 0; background: radial-gradient(50% 50% at 50% 50%, rgba(56, 0, 39, 0.18), rgba(56, 0, 39, 0) 100%); z-index: -1; }
.final-in { position: relative; z-index: 3; padding: clamp(80px, 12vw, 150px) var(--gutter) 0; display: grid; justify-items: center; gap: 10px; }
.final-in p { margin: 0 0 18px; opacity: 0.85; text-wrap: balance; }

/* ---------- footer ---------- */
/* the footer picks up where the plum creators band ends, then settles dark, with a hairline between */
.footer { background: linear-gradient(180deg, #4a0a36 0%, #2a001d 100%); color: #fff; padding: 64px 0 36px; }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 46px; }
.foot-logo { width: 96px; color: #fff; }
.foot-social { display: flex; gap: 8px; }
.foot-social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); transition: background var(--fast) var(--ease), box-shadow var(--fast) var(--ease); }
.foot-social a:hover { background: rgba(255, 173, 230, 0.16); box-shadow: inset 0 0 0 1px var(--pink); }
.foot-social svg { width: 17px; height: 17px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-grid h4 { margin: 0 0 14px; font-size: var(--t-body); font-weight: 600; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid ul a { font-size: var(--t-small); color: rgba(255, 255, 255, 0.66); transition: color var(--fast) var(--ease); }
.foot-grid ul a:hover { color: #fff; }
.news p { margin: 4px 0 18px; font-size: var(--t-small); color: rgba(255, 255, 255, 0.66); }
.news form { display: flex; border-bottom: 1px solid rgba(255, 255, 255, 0.35); max-width: 340px; }
.news input { flex: 1; background: transparent; border: 0; color: #fff; font: inherit; font-size: var(--t-body); padding: 12px 0; }
.news input::placeholder { color: rgba(255, 255, 255, 0.6); }
.news input:focus { outline: none; }
.news button { appearance: none; border: 0; background: transparent; color: #fff; cursor: pointer; width: 44px; display: grid; place-items: center; }
.news .ok { margin-top: 10px; font-size: var(--t-small); color: var(--pink); min-height: 1.2em; }
.foot-word { margin: 64px 0 0; font-size: clamp(2rem, 9.4vw, 9.6rem); font-weight: 300; letter-spacing: -0.055em; line-height: 0.9; color: var(--pink); white-space: nowrap; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: var(--t-small); color: rgba(255, 255, 255, 0.66); }

/* ---------- age gate ---------- */
.gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(246, 236, 244, 0.55); -webkit-backdrop-filter: blur(22px) saturate(1.2); backdrop-filter: blur(22px) saturate(1.2); }
.gate[hidden] { display: none; }
.gate-card { width: min(420px, 100%); background: #fff; border-radius: var(--r); padding: 34px 28px 28px; text-align: center; box-shadow: var(--shadow); }
.gate-card .logo { width: 84px; margin: 0 auto 18px; color: var(--ink); }
.gate-card h2 { margin: 0; font-size: var(--t-title); font-weight: 300; letter-spacing: -0.03em; }
.gate-card p { margin: 8px 0 24px; color: var(--ink-2); }
.gate-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gate-no { margin-top: 16px; font-size: var(--t-small); color: var(--berry); min-height: 1.3em; }
body.gated { overflow: hidden; }

/* ---------- video modal ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(14, 7, 12, 0.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity var(--fast) var(--ease), visibility var(--fast); }
.modal.is-open { opacity: 1; visibility: visible; }
.modal video { max-height: 86vh; max-width: min(92vw, 520px); width: auto; border-radius: var(--r); background: var(--plum); }
.modal-x { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.14); color: #fff; cursor: pointer; display: grid; place-items: center; }
.modal-x:hover { background: rgba(255, 255, 255, 0.26); }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(24px); transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ================= inner pages ================= */
.page-top { padding-top: calc(var(--announce-h) + var(--nav-h) + 40px); }
.crumbs { display: flex; gap: 8px; font-size: var(--t-small); color: var(--ink-3); margin-bottom: 22px; }
.crumbs a:hover { color: var(--ink); }

/* products index */
.shop-hero { padding: calc(var(--announce-h) + var(--nav-h) + 72px) 0 56px; text-align: center; background: var(--sky-fade); }
.shop-hero .lede { margin: 16px auto 0; max-width: 46ch; }
.grid-products { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.pcard {
  grid-column: span 2;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  border-radius: var(--r);
  background: var(--paper-2);
  overflow: hidden;
  transition: box-shadow var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.pcard:nth-child(n+4) { grid-column: span 3; }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.pcard .ph { aspect-ratio: 5 / 4; overflow: hidden; background: var(--paper-2); }
.pcard .ph > img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--slow) var(--ease); }
.pcard:hover .ph > img { transform: scale(1.04); }
.pcard .ph.line { display: flex; align-items: center; justify-content: center; padding: 6% 5%; background: radial-gradient(80% 70% at 50% 45%, #ffffff 0%, var(--paper-2) 80%); }
.pcard .ph.line { --o: 0.5; }
.pcard .ph.line > img { --w: calc(100% / ((1 - var(--o)) * (var(--n) - 1) + 1)); flex: 0 0 var(--w); width: var(--w); height: auto; max-height: 92%; object-fit: contain; filter: drop-shadow(0 12px 14px rgba(56, 0, 39, 0.16)); transition: translate var(--fast) var(--ease); }
.pcard .ph.line > img + img { margin-left: calc(var(--w) * var(--o) * -1); }
.pcard:hover .ph.line > img { transform: none; }
/* the lifted device is picked by site.js (nearest centre to the pointer): the renders overlap with clear edges, so plain :hover hit the neighbour */
.pcard .ph.line > img.is-up { translate: 0 -6%; }
.pcard .ph.dev img { object-fit: contain; padding: 8%; filter: drop-shadow(0 22px 26px rgba(56, 0, 39, 0.16)); }
.pcard .body { padding: 22px 22px 6px; }
.pcard .body h3 { margin: 0; font-size: var(--t-sub); font-weight: 400; letter-spacing: -0.02em; }
.pcard .body p { margin: 6px 0 0; color: var(--ink-2); font-size: var(--t-small); }
.pcard .foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px 22px; }
.pcard .foot b { font-weight: 600; }
.pcard .dots { position: relative; z-index: 2; display: flex; gap: 0; margin: 10px 0 0 -6px; flex-wrap: wrap; }
/* the Shop button's hit area covers the card; the dots sit above it */
.pcard { position: relative; }
.pcard-go::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.pcard .foot .pcard-go { position: static; }
/* the image row sits above the card-wide link so each device still lifts on hover; a click on it opens the product */
.pcard .ph { position: relative; z-index: 1; cursor: pointer; }
.pcard .ph.line > img { transition: opacity var(--fast) var(--ease), translate var(--fast) var(--ease); }
.pcard .ph.is-solo > img { opacity: 0; }
.solo { position: absolute; inset: 0; display: grid; grid-template-rows: 100%; place-items: center; padding: 50px 16px 40px; opacity: 0; pointer-events: none; background: radial-gradient(55% 55% at 50% 48%, color-mix(in srgb, var(--c, #fff) 42%, #fff) 0%, rgba(255, 255, 255, 0) 75%); transition: opacity var(--fast) var(--ease); }
.ph.is-solo .solo { opacity: 1; }
.solo img { width: auto; height: 100%; max-width: 70%; object-fit: contain; filter: drop-shadow(0 18px 20px rgba(56, 0, 39, 0.2)); scale: 0.92; transition: scale var(--slow) var(--ease); }
.ph.is-solo .solo img { scale: 1; }
.solo .schips { position: absolute; left: 14px; top: 14px; }
.solo-type { position: absolute; right: 14px; top: 14px; }
.solo b { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font-weight: 600; font-size: var(--t-small); }

.compare { width: 100%; min-width: 1000px; table-layout: fixed; border-collapse: collapse; font-size: var(--t-small); }
.compare th, .compare td { text-align: left; padding: 16px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { font-weight: 600; }
.compare thead th { font-size: var(--t-body); letter-spacing: -0.01em; }
.compare tbody th { color: var(--ink-2); font-weight: 600; }
.compare thead th:first-child { width: 10%; }
.table-scroll { overflow-x: auto; }

/* product detail */
.pdp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.gallery { display: grid; gap: 12px; }
/* phones: name and price, then the photos, then the strain picker, then the rest */
.buy-head { display: grid; gap: 14px; }

.stage-wrap { position: relative; }
.stage-wrap > .schips { position: absolute; z-index: 2; left: 16px; top: 16px; pointer-events: none; }
.stage-type { position: absolute; z-index: 2; right: 16px; top: 16px; pointer-events: none; }
.strain-tile .stype { justify-self: start; margin: 8px 16px 0; height: 22px; font-size: 10px; padding: 0 8px 0 6px; }
.strain-tile .stype svg { width: 12px; height: 12px; }
.stage { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r); overflow: hidden; background: radial-gradient(80% 80% at 50% 40%, #fff 0%, var(--paper-2) 70%); }
.stage::before { content: ""; position: absolute; left: 50%; top: 46%; width: 58%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: var(--c, var(--pink)); opacity: 0.32; filter: blur(50px); transition: background var(--slow) var(--ease); }
.stage > img, .stage > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 7%; transition: opacity var(--fast) var(--ease); }
.stage > img.cover, .stage > video { object-fit: cover; padding: 0; }
.stage.is-swap > * { opacity: 0; }
.stage .tag { position: absolute; z-index: 2; left: 16px; top: 16px; padding: 6px 12px; border-radius: var(--pill); background: rgba(255, 255, 255, 0.8); font-size: var(--t-small); font-weight: 600; }
.thumbs[hidden] { display: none; }
.form-ok.err { color: #b3261e; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.thumbs button { appearance: none; border: 0; padding: 0; aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; background: var(--paper-2); cursor: pointer; position: relative; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow var(--fast) var(--ease); }
.thumbs button img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.thumbs button.cover img { object-fit: cover; padding: 0; }
.thumbs button[aria-current="true"] { box-shadow: inset 0 0 0 2px var(--ink); }
.thumbs .play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(23, 6, 18, 0.3); }
.thumbs .play svg { width: 22px; height: 22px; }

.buy { position: sticky; top: calc(var(--nav-h) + 30px); display: grid; gap: 22px; }
.buy-lock { width: 150px; filter: brightness(0); }
.buy h1 { margin: 0; font-size: var(--t-title); font-weight: 300; letter-spacing: -0.03em; line-height: 1; }
.buy .meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: var(--t-small); color: var(--ink-2); }
.buy .price { font-size: var(--t-sub); font-weight: 400; letter-spacing: -0.02em; color: var(--ink); }
.buy .short { margin: 0; color: var(--ink-2); }
.panel { border-radius: var(--r); background: var(--paper-2); padding: 20px; display: grid; gap: 14px; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: var(--t-small); }
.panel-head b { font-weight: 600; }
.swatches { display: grid; grid-template-columns: repeat(var(--cols, 6), minmax(0, 1fr)); gap: 8px; }
.swatch[hidden], .strain-tile[hidden] { display: none; }
/* type filter above the colour circles: one segmented track, a thumb slides to the pick and wears its type colour */
.tfilter { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: var(--pill); background: rgba(23, 17, 26, 0.06); }
.tfilter[hidden] { display: none; }
.tthumb { position: absolute; top: 4px; bottom: 4px; left: 0; border-radius: var(--pill); background: #fff; box-shadow: 0 1px 2px rgba(23, 17, 26, 0.08), 0 4px 12px rgba(23, 17, 26, 0.08); transition: translate 320ms cubic-bezier(0.3, 1.3, 0.5, 1), width 320ms var(--ease), background 320ms var(--ease); }
.tthumb[data-type="indica"] { background: #a8d8ff; }
.tthumb[data-type="sativa"] { background: #ffb1d8; }
.tthumb[data-type="hybrid"] { background: linear-gradient(100deg, #a8d8ff, #ffb1d8); }
.tpill { appearance: none; border: 0; background: none; position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 0 10px; border-radius: var(--pill); color: rgba(23, 17, 26, 0.6); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: color var(--fast) var(--ease); }
.tpill svg { width: 14px; height: 14px; flex: 0 0 auto; }
.tpill:hover, .tpill[aria-pressed="true"] { color: #1d1320; }
.tpill:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
@media (max-width: 600px) {
  .tpill { gap: 4px; padding: 0 4px; font-size: 12px; }
  .tpill svg { width: 12px; height: 12px; }
}
@media (prefers-reduced-motion: reduce) { .tthumb { transition: none; } }
.swatch { appearance: none; border: 0; padding: 0; width: 100%; aspect-ratio: 1; border-radius: 50%; cursor: pointer; background: #fff; position: relative; box-shadow: var(--hair); transition: box-shadow var(--fast) var(--ease), transform var(--fast) var(--ease); }
.swatch::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--g, var(--c)); box-shadow: inset 0 0 0 1px rgba(23, 17, 26, 0.08); }
.swatch:hover { transform: scale(1.06); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }
.sizes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.size { appearance: none; border: 0; min-height: 48px; border-radius: var(--pill); background: #fff; box-shadow: var(--hair); font-weight: 600; font-size: var(--t-body); cursor: pointer; transition: box-shadow var(--fast) var(--ease); }
.size[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }
.spec-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.spec { border-radius: var(--r-sm); background: #fff; padding: 14px 12px; text-align: center; }
.spec b { display: block; font-size: var(--t-body); font-weight: 600; letter-spacing: -0.01em; }
.spec span { font-size: var(--t-small); color: var(--ink-3); }
.modes { display: grid; gap: 8px; }
.mode { display: flex; gap: 12px; align-items: baseline; background: #fff; border-radius: var(--r-sm); padding: 12px 14px; font-size: var(--t-small); }
.mode b { font-weight: 600; min-width: 96px; }
.mode span { color: var(--ink-2); }
.cta-stack { display: grid; gap: 10px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: var(--t-small); color: var(--ink-2); }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { width: 15px; height: 15px; color: var(--ink); }

.tabs { border-top: 1px solid var(--line); }
.tabs details { border-bottom: 1px solid var(--line); }
.tabs summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-weight: 600; font-size: var(--t-body); }
.tabs summary::-webkit-details-marker { display: none; }
.tabs summary::after { content: "+"; font-size: var(--t-sub); font-weight: 300; transition: transform var(--fast) var(--ease); }
.tabs details[open] summary::after { transform: rotate(45deg); }
.tabs .tab-body { padding: 0 0 20px; color: var(--ink-2); }
.tabs ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }

.motion { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 400px)); justify-content: center; gap: 12px; }
.motion .clip { position: relative; aspect-ratio: 9 / 14; border-radius: var(--r); overflow: hidden; background: var(--plum); }
.motion .clip video, .motion .clip img { width: 100%; height: 100%; object-fit: cover; }

/* every strain: one white card, the strain's colour glowing behind the device, a floor shadow, name + type under it */
.strain-grid { display: grid; grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); gap: 14px; }
.strain-tile { appearance: none; border: 0; position: relative; display: grid; align-content: start; text-align: left; cursor: pointer; padding: 0 0 18px; border-radius: var(--r); background: radial-gradient(80% 55% at 50% 36%, color-mix(in srgb, var(--c) 34%, #fff) 0%, #fff 74%); box-shadow: var(--hair); transition: box-shadow var(--fast) var(--ease); }
.strain-tile:hover { box-shadow: var(--shadow); }
.strain-tile[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--ink), var(--shadow); }
.strain-tile:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.strain-tile .art { position: relative; display: block; aspect-ratio: 4 / 5; }
.strain-tile .art::after { content: ""; position: absolute; left: 50%; bottom: 6%; width: 46%; height: 7%; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(56, 0, 39, 0.2), rgba(56, 0, 39, 0)); transition: scale var(--slow) var(--ease), opacity var(--slow) var(--ease); }
.strain-grid[data-line="yart"] .art::after { width: 22%; bottom: 15.5%; }
.strain-tile .art img { position: absolute; z-index: 1; left: 10%; top: 8%; width: 80%; height: 82%; object-fit: contain; filter: drop-shadow(0 14px 14px rgba(56, 0, 39, 0.14)); transition: translate var(--slow) var(--ease); }
.strain-tile:hover .art img { translate: 0 -4%; }
.strain-tile:hover .art::after { scale: 0.85; opacity: 0.7; }
.strain-tile b { padding: 0 16px; font-size: var(--t-small); font-weight: 600; letter-spacing: -0.01em; }

/* one row on desktop, however many lines there are */
.lineup { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; }
.lineup a { border-radius: var(--r); background: var(--paper-2); padding: 18px; display: grid; gap: 12px; justify-items: center; text-align: center; transition: box-shadow var(--fast) var(--ease), transform var(--fast) var(--ease); }
.lineup a:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.lineup a[aria-current="page"] { box-shadow: inset 0 0 0 2px var(--ink); }
.lineup img { height: 120px; width: auto; object-fit: contain; }
.lineup b { font-weight: 600; }
.lineup span { font-size: var(--t-small); color: var(--ink-2); }

/* stores page */
.stores-head { padding: calc(var(--announce-h) + var(--nav-h) + 64px) 0 36px; }
.stores-wrap { padding-bottom: clamp(64px, 8vw, 110px); }
/* the live locator, re-skinned to the site system: paper panel, white cards, ink and grey, a clean grey map with pink dots.
   Its own heading is hidden here because the page h1 already says it (and it typed the brand name). */
.stores-wrap .zl { max-width: none; --zl-pink: var(--ink); --zl-pink-soft: var(--paper-2); --zl-berry: var(--ink); --zl-berry-deep: var(--ink-2); --zl-ink: var(--ink); --zl-plum: var(--paper-2); --zl-muted: var(--ink-2); --zl-faint: var(--ink-2); color: var(--ink); background: var(--paper-2); border-radius: var(--r); }
.stores-wrap .zl-title, .stores-wrap .zl-sub { display: none; }
.stores-wrap .zl-head { justify-content: flex-start; }
.stores-wrap .zl ::selection { background: var(--ink); color: #fff; }
.stores-wrap .zl-tabs { background: #fff; border-color: var(--line); }
.stores-wrap .zl-tab:hover, .stores-wrap .zl-kind:hover { color: var(--ink); }
.stores-wrap .zl-tab[aria-pressed=true], .stores-wrap .zl-kind[aria-pressed=true] { background: var(--ink); color: #fff; border-color: var(--ink); }
.stores-wrap .zl-kind { color: var(--ink-2); border-color: var(--line); background: #fff; }
.stores-wrap .zl-input { color: var(--ink); border-color: var(--line); }
.stores-wrap .zl-input::placeholder, .stores-wrap .zl-field > svg { color: var(--ink-3); }
.stores-wrap .zl-input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(23, 17, 26, 0.08); }
.stores-wrap .zl-go { color: #fff; background: var(--ink); }
.stores-wrap .zl-go:hover { background: var(--plum); }
.stores-wrap .zl-go[disabled] { background: var(--ink-3); }
.stores-wrap .zl-near { color: var(--ink); border-color: var(--line); background: #fff; }
.stores-wrap .zl-near:hover { border-color: var(--ink); background: #fff; }
.stores-wrap .zl-error { color: var(--berry); }
.stores-wrap .zl-meta strong { color: var(--ink); }
.stores-wrap .zl-clear { color: var(--ink); }
.stores-wrap .zl-map { background: #fff; border-radius: var(--r); box-shadow: var(--hair); }
.stores-wrap .zl-state { fill: #ebe7e4; stroke: rgba(23, 17, 26, 0.1); }
.stores-wrap .zl-dot { fill: var(--pin); stroke: #fff; }
.stores-wrap .zl-dot:hover { fill: #d94d93; }
.stores-wrap .zl-dot.zl-on { fill: var(--ink); }
.stores-wrap .zl-dot.zl-deliv { fill: #fff; stroke: var(--pin); }
.stores-wrap .zl-dot.zl-deliv:hover { fill: var(--paper-2); }
.stores-wrap .zl-mapcap { color: var(--ink-2); }
.stores-wrap .zl-card { color: var(--ink); border-color: transparent; border-radius: var(--r-sm); box-shadow: var(--hair); }
.stores-wrap .zl-card:hover { border-color: transparent; box-shadow: var(--shadow); }
.stores-wrap .zl-card.zl-on { border-color: var(--ink); box-shadow: var(--shadow); }
.stores-wrap .zl-dist { background: var(--paper-2); color: var(--ink); }
.stores-wrap .zl-chip { color: var(--ink-2); background: var(--paper-2); }
.stores-wrap .zl-link, .stores-wrap .zl-empty .zl-link, .stores-wrap .zl-foot .zl-link { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.stores-wrap .zl-link:hover, .stores-wrap .zl-foot .zl-link:hover, .stores-wrap .zl-empty .zl-link:hover { color: var(--ink-2); }
.stores-wrap .zl-empty { border-color: var(--line); }
.stores-wrap .zl-foot { border-top-color: var(--line); }
.stores-wrap .zl-badge { color: var(--ink-2); border-color: var(--line); }

/* forms (vendor / join) */
.form-page { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: start; padding-bottom: clamp(72px, 8vw, 120px); }
.form-card { background: var(--paper-2); border-radius: var(--r); padding: clamp(22px, 3vw, 36px); display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: var(--t-small); font-weight: 600; }
.field input, .field textarea, .field select { font: inherit; font-size: var(--t-body); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 13px 14px; transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(23, 17, 26, 0.08); }
.form-ok { display: none; padding: 16px; border-radius: var(--r-sm); background: #fff; box-shadow: var(--hair); color: var(--ink); font-weight: 600; }
.form-ok.show { display: block; }
.side-media { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; position: relative; }
.side-media img, .side-media video { width: 100%; height: 100%; object-fit: cover; }
.list-check { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.list-check li { display: flex; gap: 10px; color: var(--ink-2); }
.list-check li::before { content: ""; flex: 0 0 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--ink-3); }
.job { border-radius: var(--r); background: #fff; padding: 22px; display: grid; gap: 8px; box-shadow: var(--hair); }
.job p { font-size: var(--t-small); }
.job-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.job-meta span { font-size: var(--t-small); padding: 4px 10px; border-radius: var(--pill); background: var(--paper-2); color: var(--ink-2); }

/* ================= responsive ================= */
@media (max-width: 1080px) {
  .nav-links, .nav-right a.link { display: none; }
  .nav { grid-template-columns: auto 1fr auto; }
  .nav-burger { display: grid; }
  .nav-logo { justify-self: center; }
  .grid-products .pcard, .grid-products .pcard:nth-child(n+4) { grid-column: span 3; }
  .lineup { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
  /* phones: the form follows the intro; the product slideshow only shows beside it on desktop */
  .form-page .side-media.show { display: none; }
  /* phones: the expanding row becomes a side swipe, every card open, the next one peeking in */
  .expand { height: 480px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scroll-padding: 0 var(--gutter); }
  .expand::-webkit-scrollbar { display: none; }
  .xcard, .xcard.is-open { flex: 0 0 84%; scroll-snap-align: start; cursor: default; }
  .xcard .xcopy p { max-height: 6em; opacity: 1; }
  .xcard .xlink { opacity: 1; }
  .xbtn { display: none; }
  .xcard.dev img.xbg { padding: 6% 18% 54%; }
  .tiles { height: 600px; }
  .tiles .tcopy p, .tiles .tdots, .tiles .tlinks { max-height: 8em; opacity: 1; }
  .tiles .tlinks .more { display: none; }
  .tnear { position: absolute; z-index: 3; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px 0 11px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); background: rgba(255, 255, 255, 0.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.85), 0 4px 14px rgba(56, 0, 39, 0.12); transition: transform var(--fast) var(--ease); }
  .tnear::after { content: ""; position: absolute; inset: -2px; }
  .tnear:active { transform: scale(0.94); }
  .tnear svg { width: 18px; height: 18px; flex: none; }
  /* iOS Safari paints a box behind a filtered image inside the clipped, rounded tile; the tile floor shadow is enough */
  /* phones: the tile is a column, the device fills only the space under the copy (the copy never changes height here) */
  .tiles .tile-card { display: flex; flex-direction: column; }
  .tile-card .tcopy { flex: none; }
  .tdev { position: relative; left: auto; bottom: auto; translate: none; flex: 1 1 0; min-height: 0; height: auto; max-height: 46%; width: 100%; max-width: none; margin: 14px 0 66px; filter: none; }
  .tile-card[data-name="Yart"] .tdev { height: auto; max-height: 54%; margin-bottom: 46px; }
  /* the device stands above the Find near you pill, so its floor shadow moves up with it */
  .tile-card { --shy: 86%; }
  .tiles .xcard:not(.is-open) .tdev { rotate: var(--tilt); }
  .rotator, .findus, .pdp, .form-page { grid-template-columns: 1fr; }
  .rot-media { order: -1; }
  .stagger { grid-template-columns: 1fr; }
  .stagger-col .section-head { margin-top: 0; }
  .proof, .motion { grid-template-columns: 1fr; }
  .proof .card { aspect-ratio: 4 / 3; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .news { grid-column: 1 / -1; }
  .buy { display: contents; }
  .pdp { gap: 22px; }
  .pdp > .gallery { order: 2; }
  .buy > * { order: 4; }
  .buy > .buy-head { order: 1; }
  .buy > .pick { order: 3; }
  .motion .clip { aspect-ratio: 4 / 5; }
}
@media (max-width: 600px) {
  .strain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  /* products band: all three devices fit the screen */
  .final-devs { height: min(170px, 44vw); gap: 10px; }
  .final-devs img:nth-child(3) { height: 84%; }
  :root { --nav-h: 56px; }
  .h1 .soft, .h2 .soft { display: block; }
  .vrow.two, .state-pick { grid-template-columns: 1fr; }
  .fan { width: 128vw; }
  .final .final-cloud { width: 170vw; bottom: -18vw; }
  .final .final-cloud.l { left: -80vw; }
  .final .final-cloud.r { right: -85vw; }
  .side-media.show .show-slide img { inset: 0 0 24% 0; height: 58%; }
  .show-slide figcaption { left: 16px; bottom: 14px; }
  .show-slide figcaption .mono { display: none; }
  .show-line { right: 16px; bottom: 22px; width: 64px; }
  .nav { padding: 0 6px 0 4px; }
  .nav-cta { width: 40px; height: 40px; padding: 0; justify-content: center; }
  .nav-cta span { display: none; }
  .nav-cta svg { width: 20px; height: 20px; }
  .grid-products .pcard, .grid-products .pcard:nth-child(n+4) { grid-column: 1 / -1; }
  .lineup { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); }
  .hero { --lw: 78vw; }
  .hero-devices { --dh: 56vw; margin-top: calc(var(--lw) * -0.12); }
  .search-row { flex-direction: column; }
  .foot-top { flex-direction: column; align-items: flex-start; }
  .thumbs { grid-template-columns: repeat(5, 1fr); gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
  .sheet-main a { opacity: 1; translate: none; }
}

/* ---------- strain pages, city pages, linked marquee (pages built by tools/build-seo.cjs) ---------- */
a.strain-tile { color: inherit; }
.strain-tile[aria-current="true"] { box-shadow: inset 0 0 0 2px var(--ink), var(--shadow); }
.h1-strain { display: block; font-size: 0.56em; color: var(--ink-2); margin-top: 6px; }
.marquee a { flex: none; display: block; border-radius: var(--r-sm); }
.marquee a:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.place-head { padding: calc(var(--announce-h) + var(--nav-h) + 40px) 0 28px; }
.place-head .lede { max-width: 60ch; margin-top: 14px; }
.place-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 26px; }
.place-stats b { display: block; font-size: var(--t-title); font-weight: 300; letter-spacing: -0.04em; line-height: 1; }
.place-stats span { font-size: var(--t-small); color: var(--ink-2); }
.place-block { padding: 28px 0 56px; }
.place-block + .place-block { padding-top: 0; }
.place-block h2 { font-size: var(--t-sub); font-weight: 400; letter-spacing: -0.02em; margin: 0 0 18px; }
.place-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; align-items: start; }
.place-card { background: var(--surface); border-radius: var(--r); box-shadow: var(--hair); padding: 22px; display: grid; gap: 12px; align-content: start; }
.place-card h3 { font-size: var(--t-sub); font-weight: 400; letter-spacing: -0.02em; margin: 0; line-height: 1.2; }
.place-card .addr { font-size: var(--t-small); color: var(--ink-2); font-style: normal; line-height: 1.5; }
.place-card .addr a:hover { color: var(--ink); }
.place-card .strains { font-size: var(--t-small); color: var(--ink-2); line-height: 1.6; }
.place-card .strains a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.place-card .strains a:hover { color: var(--ink); text-decoration-color: currentColor; }
.place-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.place-actions .btn { height: 40px; padding: 0 16px; font-size: var(--t-small); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.chips a, .chips span { height: 30px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; border-radius: var(--pill); font-size: var(--t-small); color: var(--ink); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow var(--fast) var(--ease); }
.chips a:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chips small { color: var(--ink-3); font-size: 11px; }
.city-index { display: grid; gap: 40px; }
.city-index h3 { font-size: var(--t-sub); font-weight: 400; margin: 0 0 14px; }
.city-index h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.city-index p { font-size: var(--t-small); color: var(--ink-2); margin: 14px 0 0; max-width: 90ch; line-height: 1.6; }
.strain-about { padding: 8px 0 64px; }
.strain-about .about-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.strain-about h2 { font-size: var(--t-title); font-weight: 300; letter-spacing: -0.03em; line-height: 1.08; margin: 0 0 16px; }
.strain-about p { color: var(--ink-2); margin: 0 0 14px; max-width: 62ch; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0; padding: 22px; border-radius: var(--r); background: var(--paper-2); font-size: var(--t-small); }
.facts dt { color: var(--ink-3); }
.facts dd { margin: 0; color: var(--ink); }
.strain-about h3 { font-size: var(--t-body); font-weight: 600; margin: 28px 0 12px; }
@media (max-width: 860px) {
  .strain-about .about-grid { grid-template-columns: 1fr; }
  .place-grid { grid-template-columns: 1fr; }
}
