@font-face {
  font-family: "Moon Walk";
  src: url("../fonts/MoonWalk.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000000;
  --bg-elevated: #0a0a0a;
  --fg: #ffffff;
  --fg-muted: rgba(255, 255, 255, 0.62);
  --fg-soft: rgba(255, 255, 255, 0.78);
  --line: rgba(255, 255, 255, 0.1);
  --green-deep: #00674f;
  --green: #67bd47;
  --yellow-deep: #b59410;
  --yellow: #fff33b;
  --red: #dd1f26;
  --orange: #dd8326;
  --pulse: #67bd47;
  --flash: #fff33b;
  --base: #dd8326;
  --font-display: "Moon Walk", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --header-h: 4.5rem;
  --radius: 1.25rem;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

html,
body {
  max-width: 100vw;
  /* clip avoids creating a scroll containment that breaks position:sticky */
  overflow-x: clip;
}

body {
  min-height: 100%;
  color: var(--fg);
  background: var(--bg);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-open {
  overflow: hidden;
}

.cursor-spotlight {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    520px circle at var(--spot-x, 50%) var(--spot-y, 50%),
    rgba(255, 255, 255, 0.07),
    rgba(255, 255, 255, 0.025) 35%,
    transparent 70%
  );
  mix-blend-mode: screen;
  transition: opacity 0.4s ease;
}

.cursor-spotlight.is-on {
  opacity: 1;
}

body.nav-open::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(0, 0, 0, 0.45);
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--fg);
  color: var(--bg);
  font-size: 0.85rem;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.site-header.is-scrolled::before {
  background: rgba(0, 0, 0, 0.82);
}

.nav-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  height: 100%;
  padding-inline: 2.5rem;
}

.nav-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
}

.nav-logo img {
  width: 2.1rem;
  height: auto;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.4));
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 110;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 1.35rem;
  height: 2px;
  margin: 0;
  background: var(--fg);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, opacity 0.2s ease, background 0.2s ease;
}

.nav-toggle span:first-child {
  transform: translate(-50%, calc(-50% - 5px));
}

.nav-toggle span:last-child {
  transform: translate(-50%, calc(-50% + 5px));
}

.nav-toggle[aria-expanded="true"] {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.nav-close {
  display: none;
}

body.nav-open .site-header {
  z-index: 100;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.35rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.15rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  transition: color 0.2s ease;
}

.nav-link.is-active,
.nav-link:hover {
  color: var(--fg);
}

.nav-link.is-disabled {
  color: rgba(255, 255, 255, 0.38);
  cursor: not-allowed;
  pointer-events: none;
  user-select: none;
}

.tag-soon {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.42rem;
  border: 1px solid rgba(255, 243, 59, 0.45);
  border-radius: 999px;
  background: rgba(255, 243, 59, 0.08);
  color: var(--yellow);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav .nav-link.is-disabled {
  position: relative;
}

.site-nav .tag-soon {
  position: absolute;
  left: 50%;
  bottom: calc(100% - 0.2rem);
  transform: translateX(-50%);
  padding: 0.06rem 0.28rem;
  font-size: 0.42rem;
  letter-spacing: 0.06em;
  line-height: 1;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nav-cta,
.btn-primary {
  background: var(--fg);
  color: var(--bg);
}

.nav-cta {
  min-height: 2.3rem;
  padding: 0.52rem 1rem;
  font-size: 0.72rem;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--fg);
  background: rgba(255, 255, 255, 0.1);
}

@media (hover: hover) and (pointer: fine) {
  .nav-cta:hover,
  .btn-primary:hover {
    background: linear-gradient(180deg, #f4f4f4 0%, #cfcfcf 100%);
    color: var(--bg);
    transform: translateY(-1px);
  }

  .btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
  }
}

.hero,
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/bg-waves.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.38;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 50% 48%, rgba(0, 0, 0, 0.12) 0%, transparent 70%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.62) 78%, #000 100%);
}

.hero {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 100svh;
  margin-top: calc(-1 * var(--header-h));
  padding: 0;
}

.hero-inner {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex: 1;
  width: 100%;
  min-height: 100svh;
  padding: calc(var(--header-h) + 1.5rem) 1.25rem 7.25rem;
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
}

.hero-marquee {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  overflow: hidden;
  padding-block: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(
      90deg,
      rgba(103, 189, 71, 0.55) 0%,
      rgba(255, 243, 59, 0.4) 35%,
      rgba(221, 131, 38, 0.45) 65%,
      rgba(221, 31, 38, 0.4) 100%
    );
  box-shadow: inset 0 1px 0 rgba(255, 243, 59, 0.12);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.hero-marquee-track {
  display: flex;
  width: max-content;
  animation: hero-marquee 36s linear infinite;
}

.hero-marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.hero-marquee-group span {
  padding-inline: 1.1rem;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
}

.hero-marquee-group .hero-marquee-dot {
  padding-inline: 0.2rem;
  color: var(--flash);
  text-shadow: 0 0 8px rgba(255, 243, 59, 0.55);
}

@keyframes hero-marquee {
  to {
    transform: translateX(-50%);
  }
}

.hero-content {
  max-width: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  animation: hero-fade 0.85s ease 0.48s both;
}

.hero-actions .btn {
  min-height: 3.45rem;
  padding: 0.95rem 1.95rem;
  font-size: 0.9rem;
}

.hero-type {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  pointer-events: none;
  font-family: var(--font-display);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.94);
}

.hero-type-tl,
.hero-type-br {
  position: absolute;
  display: flex;
  flex-direction: column;
  /* Cap at the 1440 composition so larger screens don't blow the type out */
  font-size: clamp(3.4rem, 8.2vw, 7.4rem);
  letter-spacing: -0.045em;
  line-height: 0.82;
}

.hero-type-tl span,
.hero-type-br span {
  display: block;
  white-space: nowrap;
}

.hero-type-tl {
  top: calc(var(--header-h) + 1.15rem);
  /* Same inset as ≤1440; on wider screens keep that 1440 frame centered */
  left: max(clamp(1.15rem, 4vw, 3.75rem), calc(50% - 720px + 3.6rem));
  align-items: flex-start;
  text-align: left;
  animation: hero-fade 0.95s ease both;
}

.hero-type-br {
  right: max(clamp(1.15rem, 4vw, 3.75rem), calc(50% - 720px + 3.6rem));
  bottom: 13.75rem;
  align-items: flex-end;
  text-align: right;
  animation: hero-fade 0.95s ease 0.28s both;
}

.hero-sachet-stack {
  display: grid;
  place-items: center;
  animation:
    hero-kv-in 1.1s ease 0.12s both,
    hero-kv-float 4.8s ease-in-out 1.22s infinite;
}

.hero-sachet {
  grid-area: 1 / 1;
  width: auto;
  height: min(72vh, 38rem);
  transform: rotate(30deg);
  transform-origin: center center;
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.65));
  opacity: 0;
  z-index: 0;
  transition: opacity 0.38s ease;
}

@media (min-width: 1440px) {
  .hero-type-tl,
  .hero-type-br {
    font-size: clamp(7.6rem, 6.4vw, 9.25rem);
  }

  .hero-sachet {
    height: min(80vh, 46rem);
  }
}

@media (min-width: 1800px) {
  .hero-type-tl,
  .hero-type-br {
    font-size: clamp(8.4rem, 5.8vw, 10.25rem);
  }

  .hero-sachet {
    height: min(82vh, 52rem);
  }
}

.hero-sachet.is-active {
  opacity: 1;
  z-index: 1;
}

@keyframes hero-fade {
  from {
    opacity: 0;
    transform: translateY(0.7rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-kv-in {
  from {
    opacity: 0;
    transform: translateY(0.9rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-kv-float {
  0%,
  100% {
    transform: translateY(0.55rem);
  }
  50% {
    transform: translateY(-0.55rem);
  }
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.hero-mark {
  width: 3.25rem;
  height: auto;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.4));
}

.hero-title,
.page-title,
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.12;
}

.hero-title {
  font-size: clamp(4rem, 10vw, 7.5rem);
  margin-bottom: 1rem;
}

.hero-sub,
.section-body {
  color: var(--fg-soft);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.6;
}

.page-hero {
  padding: 5.5rem 0 3.5rem;
}

.page-hero-inner,
.section-inner {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.page-hero-inner {
  max-width: 44rem;
}

.product-hero .page-hero-inner {
  max-width: min(68rem, 100%);
}

.page-title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  margin: 0.4rem 0 1rem;
}

.product-hero .page-title {
  max-width: none;
  text-wrap: wrap;
  white-space: normal;
}

.product-hero .product-hero-lede {
  max-width: none;
  text-wrap: wrap;
}

.section {
  padding: 5.5rem 0;
}

.section-inner.narrow {
  max-width: 42rem;
  text-align: center;
}

.section-inner.legal {
  max-width: 42rem;
}

.legal-copy {
  color: var(--fg-soft);
  font-size: 1.02rem;
  line-height: 1.7;
}

.legal-copy p + p,
.legal-copy ul {
  margin-top: 0.95rem;
}

.legal-copy ul {
  padding-left: 1.2rem;
}

.legal-copy li {
  list-style: disc;
  margin-top: 0.35rem;
  color: var(--fg-muted);
}

.legal-copy a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.legal-copy a:hover {
  color: var(--fg);
}

.section-inner.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: stretch;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

.products .section-head {
  margin-inline: auto;
  text-align: center;
}

.eyebrow,
.variant-label {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin: 0.45rem 0 0.9rem;
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.has-photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.section.has-photo {
  border-top: 1px solid var(--line);
}

.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--section-photo);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(
    --section-overlay,
    linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.82) 55%, rgba(0, 0, 0, 0.9) 100%)
  );
}

.has-photo > .section-inner,
.has-photo > .stack-card-inner {
  position: relative;
  z-index: 1;
}

.story {
  --section-photo: url("../images/bg-festival-stage.jpg");
  --section-overlay:
    linear-gradient(105deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.52) 52%, rgba(0, 0, 0, 0.68) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.68));
  min-height: min(92vh, 54rem);
  padding: 9.5rem 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
}

.hero + .story {
  border-top: 0;
}

.story > .section-inner {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.story-frame {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 3.5rem 5.5rem;
  align-items: stretch;
}

.story-intro {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.story-title {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.02;
}

.story-statement {
  max-width: 34rem;
  margin-top: auto;
  padding-top: 2.5rem;
  color: var(--fg);
  font-size: clamp(1.15rem, 1.9vw, 1.4rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.story-copy {
  display: grid;
  gap: 1.15rem;
  max-width: 38rem;
  padding-top: 0.35rem;
}

.story-copy p {
  color: var(--fg-soft);
  font-size: 1.08rem;
  line-height: 1.75;
}

.story-copy .story-lead {
  color: var(--fg);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 0.2rem;
}

.products,
.variants {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: #050505;
}

.products::before,
.variants::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../images/bg-waves.jpg");
  background-size: cover;
  background-position: center 35%;
  opacity: 0.2;
  filter: saturate(0.75) brightness(0.55);
}

.products::after,
.variants::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 560' preserveAspectRatio='none'%3E%3Cpath fill='none' stroke='%2367bd47' stroke-opacity='0.16' stroke-width='1.2' d='M-40 180c120-70 240-70 360 0s240 70 360 0 240-70 360 0 240 70 360 0 240-70 360 0'/%3E%3Cpath fill='none' stroke='%23fff33b' stroke-opacity='0.08' stroke-width='1' d='M-40 260c120-55 240-55 360 0s240 55 360 0 240-55 360 0 240 55 360 0 240-55 360 0'/%3E%3Cpath fill='none' stroke='%2367bd47' stroke-opacity='0.1' stroke-width='1' d='M-40 340c120-45 240-45 360 0s240 45 360 0 240-45 360 0 240 45 360 0 240-45 360 0'/%3E%3C/svg%3E")
      center 42% / 140% auto no-repeat,
    radial-gradient(ellipse 65% 45% at 50% 18%, rgba(103, 189, 71, 0.07), transparent 62%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.78) 100%);
}

.products > .section-inner,
.variants > .section-inner {
  position: relative;
  z-index: 1;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.product-tile a {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 1.1rem 1.1rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.product-tile img {
  width: 100%;
  max-height: 18rem;
  object-fit: contain;
  margin-bottom: 1.1rem;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.4));
}

.product-tile h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.product-flavor {
  margin: 0.2rem 0 0.55rem;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-tile p:last-child {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.product-tile:nth-child(1) .product-flavor { color: var(--base); }
.product-tile:nth-child(2) .product-flavor { color: var(--flash); }
.product-tile:nth-child(3) .product-flavor { color: var(--pulse); }

@media (hover: hover) and (pointer: fine) {
  .product-tile a:hover {
    transform: translateY(-6px);
    border-color: rgba(103, 189, 71, 0.45);
    background: rgba(255, 255, 255, 0.05);
  }
}

.products .section-head {
  max-width: 54rem;
}

.is-pulse {
  --accent: var(--pulse);
}

.is-flash {
  --accent: var(--flash);
}

.is-base {
  --accent: var(--red);
}

.protocol-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-bottom: 1.1rem;
}

.protocol-timeline li {
  padding: 1rem 0 0;
  border-top: 2px solid var(--accent);
}

.protocol-when {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--fg);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.protocol-when::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.protocol-timeline p {
  margin-top: 0.45rem;
  color: var(--fg-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.protocol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding: 1.75rem 0 0.5rem;
  overflow: visible;
}

.protocol-card {
  perspective: 1400px;
  overflow: visible;
}

.protocol-flip {
  position: relative;
  height: 100%;
  min-height: 34rem;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: visible;
}

.protocol-face {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 34rem;
  padding: 1.25rem 1.35rem 1.35rem;
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse 80% 45% at 50% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.protocol-face-front {
  position: absolute;
  inset: 0;
  overflow: hidden;
  padding-top: 1.35rem;
  cursor: pointer;
  transform: rotateY(0deg);
  z-index: 2;
}

.protocol-face-back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
  justify-content: space-between;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
  background:
    radial-gradient(ellipse 90% 55% at 50% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%),
    #0a0a0a;
}

.protocol-card-top {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.protocol-step {
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.protocol-status {
  padding: 0.22rem 0.55rem;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  border-radius: 999px;
  color: color-mix(in srgb, var(--accent) 85%, white);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.protocol-face-front img {
  position: relative;
  z-index: 1;
  align-self: center;
  width: auto;
  height: clamp(15.5rem, 24vw, 19.5rem);
  margin: 1.15rem 0 0.15rem;
  transform: translateY(0) rotate(12deg);
  transform-origin: center center;
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.62));
  animation: protocol-pack-float 4.8s ease-in-out infinite;
  will-change: transform;
  pointer-events: none;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.protocol-card.is-pulse .protocol-face-front img {
  animation-delay: 0s;
}

.protocol-card.is-flash .protocol-face-front img {
  animation-delay: 0.85s;
}

.protocol-card.is-base .protocol-face-front img {
  animation-delay: 1.7s;
}

@keyframes protocol-pack-float {
  0%,
  100% {
    transform: translateY(0.35rem) rotate(12deg);
  }
  50% {
    transform: translateY(-0.4rem) rotate(12deg);
  }
}

.protocol-face-front h3 {
  margin-top: auto;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.protocol-function {
  margin-top: 0.25rem;
  margin-bottom: 0.15rem;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
}

.protocol-flip-hint {
  margin-top: 0.55rem;
  padding-top: 0;
  color: var(--fg-muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.protocol-specs {
  display: grid;
  gap: 1.35rem;
  margin-top: 1.6rem;
}

.protocol-specs dt {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.protocol-specs dd {
  margin-top: 0.4rem;
  color: var(--fg);
  font-size: 1.08rem;
  line-height: 1.5;
}

.protocol-face-cta {
  align-self: flex-start;
  margin-top: 1.25rem;
  min-height: 2.4rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.7rem;
}

.protocol-card.is-flipped .protocol-flip {
  transform: rotateY(180deg);
}

/* Mobile Safari often fails backface-visibility on animated images —
   force-hide the front (and pack art) once the card is flipped. */
.protocol-card.is-flipped .protocol-face-front {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
}

.protocol-card.is-flipped .protocol-face-back {
  z-index: 2;
}

.protocol-card.is-flipped .protocol-face-front img {
  animation: none;
  opacity: 0;
  visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .protocol-flip {
    transform: none !important;
  }

  .protocol-face-front {
    position: relative;
    inset: auto;
  }

  .protocol-face-front img {
    animation: none;
    transform: rotate(12deg);
  }

  .protocol-face-back {
    position: static;
    transform: none;
    margin-top: 0.75rem;
    min-height: 0;
  }

  .protocol-card.is-flipped .protocol-face-front,
  .protocol-card.is-flipped .protocol-face-front img {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

.protocol-extras {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 1.1rem;
  margin-top: 2.25rem;
  align-items: stretch;
}

.protocol-format,
.protocol-flavor-panel {
  padding: 1.5rem 1.6rem 1.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
}

.protocol-format {
  background:
    radial-gradient(ellipse 70% 60% at 0% 0%, rgba(103, 189, 71, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
}

.protocol-flavor-panel {
  background:
    radial-gradient(ellipse 60% 55% at 100% 0%, rgba(232, 74, 166, 0.07), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
}

.protocol-extras h3 {
  margin-bottom: 0.65rem;
  color: var(--fg);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.protocol-extras p {
  color: var(--fg-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.protocol-format-points {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.protocol-format-points li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  padding: 0.9rem 0.55rem 0.95rem;
  border: 1px solid rgba(103, 189, 71, 0.22);
  border-radius: calc(var(--radius) - 0.25rem);
  background: rgba(103, 189, 71, 0.05);
  color: var(--fg-soft);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}

.protocol-format-icon {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid rgba(103, 189, 71, 0.35);
  border-radius: 0.65rem;
  color: var(--pulse);
  background: rgba(103, 189, 71, 0.08);
  flex-shrink: 0;
}

.protocol-format-icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

.protocol-flavors {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.7rem;
  margin-top: 1rem;
}

.protocol-flavors li {
  grid-column: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-width: 0;
  padding: 0.62rem 0.85rem 0.62rem 0.55rem;
  border: 1px solid color-mix(in srgb, var(--flavor) 42%, transparent);
  border-radius: 999px;
  color: var(--fg);
  background: color-mix(in srgb, var(--flavor) 12%, transparent);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

/* Second row: 2 chips that fill the full width */
.protocol-flavors li:nth-child(4),
.protocol-flavors li:nth-child(5) {
  grid-column: span 3;
}

.flavor-icon {
  display: grid;
  place-items: center;
  width: 1.95rem;
  height: 1.95rem;
  border-radius: 50%;
  color: var(--flavor);
  background: color-mix(in srgb, var(--flavor) 18%, #000);
  flex-shrink: 0;
}

.flavor-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.flavor-apple { --flavor: #7cb342; }
.flavor-dragon { --flavor: #e84aa6; }
.flavor-raspberry { --flavor: #e4456a; }
.flavor-citrus { --flavor: #ff8f6b; }
.flavor-pomegranate { --flavor: #c23b6e; }

@media (hover: hover) and (pointer: fine) {
  .protocol-flavors li:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--flavor) 70%, transparent);
    background: color-mix(in srgb, var(--flavor) 20%, transparent);
  }
}

.ritual {
  background:
    radial-gradient(ellipse 70% 80% at 90% 20%, rgba(103, 189, 71, 0.08), transparent 55%),
    #050505;
}

.steps {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.2rem 0.9rem;
  align-items: start;
}

.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  grid-row: 1 / span 2;
  color: var(--green);
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  padding-top: 0.15rem;
}

.steps strong {
  font-size: 1.05rem;
}

.steps span {
  color: var(--fg-muted);
  line-height: 1.5;
}

.steps.centered {
  text-align: left;
}

.ritual-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(103, 189, 71, 0.12), rgba(221, 131, 38, 0.08)),
    #0b0b0b;
}

.ritual-quote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
}

.ritual-note {
  margin-top: 1rem;
  color: var(--fg-muted);
}

.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid var(--line);
  margin-top: 1.5rem;
  padding-top: 7rem;
  padding-bottom: 6rem;
  background: #050505;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../images/bg-cta-crowd.jpg");
  background-size: cover;
  background-position: center 40%;
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% 45%, rgba(0, 0, 0, 0.35), transparent 70%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.72) 55%, rgba(0, 0, 0, 0.82) 100%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: min(60rem, 100%);
  text-align: center;
}

.cta .section-title {
  text-wrap: wrap;
  max-width: none;
}

.cta .section-body {
  max-width: min(48rem, 100%);
  margin-inline: auto;
  text-wrap: wrap;
}

.cta .hero-actions {
  margin-top: 2rem;
  gap: 0.85rem 1rem;
}

.stack-band {
  position: relative;
  z-index: 1;
  padding: 1.25rem;
  background: #0e0e0e;
}

.stack-card {
  position: sticky;
  top: calc(var(--header-h) + 0.85rem);
  height: calc(100vh - var(--header-h) - 2rem);
  height: calc(100dvh - var(--header-h) - 2rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 1.85rem;
  background: #0a0a0a;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
  scroll-margin-top: calc(var(--header-h) + 0.85rem);
}

.stack-card.squad {
  z-index: 1;
  align-items: center;
  justify-content: center;
}

.stack-spacer {
  height: 70vh;
  pointer-events: none;
}

.stack-card.fund {
  z-index: 2;
}

.stack-card-inner {
  position: relative;
  z-index: 1;
  width: min(46rem, calc(100% - 4rem));
  margin: 0 0 3rem 2.75rem;
  padding: 0;
}

.stack-card.squad .stack-card-inner {
  width: min(36rem, calc(100% - 3rem));
  margin: 0;
  text-align: center;
}

.stack-card-title {
  margin: 0.35rem 0 1rem;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.02em;
}

.stack-card-title span {
  color: rgba(255, 255, 255, 0.4);
}

.stack-card-copy {
  margin: 0;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.65;
}

.stack-card.squad .stack-card-copy {
  margin-inline: auto;
}

.squad {
  --section-photo: url("../images/bg-community.jpg");
  --section-overlay:
    linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.58) 50%, rgba(0, 0, 0, 0.72) 100%),
    radial-gradient(ellipse 55% 50% at 50% 45%, rgba(103, 189, 71, 0.14), transparent 55%);
}

.squad.has-photo::before {
  background-position: center center;
  border-radius: inherit;
}

.squad.has-photo::after {
  border-radius: inherit;
}

.squad-tag {
  display: inline-flex;
  margin: 0 0 1rem;
}

.stack-card.squad .squad-tag {
  margin-inline: auto;
}

.fund {
  isolation: isolate;
  background: #050505;
}

.fund-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  border-radius: inherit;
}

.fund-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.fund::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.4) 48%, rgba(0, 0, 0, 0.2) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.15) 40%, rgba(0, 0, 0, 0.7) 100%);
}

.fund-sub {
  color: var(--fg);
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0 0 0.95rem;
}

@media (prefers-reduced-motion: reduce) {
  .stack-card {
    position: relative;
    top: auto;
    height: min(78vh, 40rem);
    margin-bottom: 1.15rem;
  }

  .stack-spacer {
    display: none;
  }

  .fund-video {
    display: none;
  }

  .fund-media {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.75)),
      url("../images/bg-festival-confetti.jpg") center / cover no-repeat;
  }
}

.contact .section-head .section-title {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
}

.contact-channels .brand-card {
  padding: 1.25rem 1.35rem 1.4rem;
}

/* Match newsletter: green eyebrow + body-font title (not Moon Walk display) */
.contact-channels .brand-card .eyebrow {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-channels .brand-card h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.35;
  margin: 0.3rem 0 0;
  color: var(--fg);
}

.contact-channels .brand-card > p:not(.eyebrow) {
  margin-top: 0.45rem;
  color: var(--fg-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.newsletter {
  display: grid;
  gap: 0.95rem;
  margin: 0;
  padding: 1.25rem 1.35rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
}

.newsletter h3 {
  margin-top: 0.3rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.newsletter-row {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.newsletter input {
  width: 100%;
  min-width: 0;
  min-height: 2.9rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg);
  font: inherit;
  font-size: 0.92rem;
  color-scheme: dark;
}

.newsletter input::placeholder {
  color: var(--fg-muted);
}

.newsletter input:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.newsletter.is-invalid input {
  border-color: rgba(221, 31, 38, 0.7);
}

.newsletter .btn {
  width: 100%;
  justify-content: center;
  padding-inline: 1.6rem;
}

.newsletter .form-status {
  grid-column: auto;
}

.contact {
  --section-photo: url("../images/bg-festival-crowd.jpg");
  --section-overlay:
    linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.82) 100%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(232, 74, 166, 0.14), transparent 55%);
  border-top: 1px solid var(--line);
}

.contact .brand-card,
.contact .contact-form,
.contact .newsletter {
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(10px);
}

#story,
#products,
#community,
#fund,
#contact,
#privacy,
#terms {
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 1.5rem;
  align-items: start;
}

.contact-channels {
  display: grid;
  gap: 1rem;
}

a.brand-card {
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  a.brand-card:hover {
    border-color: rgba(103, 189, 71, 0.45);
    transform: translateY(-4px);
  }
}

.contact-form {
  display: grid;
  gap: 0.85rem;
  padding: 1.4rem 1.45rem 1.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
}

.contact-form h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: -0.35rem 0 0.2rem;
}

.contact-form .field {
  display: grid;
  gap: 0.38rem;
}

.contact-form label {
  color: var(--fg-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 2.7rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg);
  font: inherit;
  line-height: 1.4;
  color-scheme: dark;
}

.contact-form option {
  background: #111;
  color: var(--fg);
}

.contact-form textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.contact-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.6) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.6) 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) 50%, calc(100% - 0.85rem) 50%;
  background-size: 0.35rem 0.35rem, 0.35rem 0.35rem;
  background-repeat: no-repeat;
  padding-right: 2.2rem;
}

.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
  border-color: rgba(103, 189, 71, 0.55);
}

.contact-form .field.is-invalid input,
.contact-form .field.is-invalid textarea {
  border-color: rgba(221, 31, 38, 0.7);
}

.contact-form .btn {
  justify-self: start;
  min-width: 10.5rem;
  margin-top: 0.25rem;
  padding-inline: 2.1rem;
}

.form-status {
  color: var(--fg-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.form-status.is-success {
  color: var(--green);
}

.form-status.is-error {
  color: #ff6b6b;
}

.cta .hero-actions {
  justify-content: center;
}

.footer-nav,
.footer-social {
  width: min(100%, 42rem);
  gap: 0.85rem 1.75rem;
}

.footer-copy {
  max-width: 36rem;
  text-wrap: pretty;
}

.variants .section-head {
  max-width: min(56rem, 100%);
  margin-inline: auto;
  margin-bottom: 2.75rem;
  text-align: center;
}

.variants .section-head .section-body {
  max-width: none;
  text-wrap: wrap;
}

.variant-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.75rem 0;
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(2rem);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.variants .section-head + .variant-row {
  border-top: none;
  padding-top: 0.5rem;
}

.variant-row.is-visible {
  opacity: 1;
  transform: none;
}

.variant-row.is-visible:nth-of-type(1) {
  transition-delay: 0.05s;
}

.variant-row.is-visible:nth-of-type(2) {
  transition-delay: 0.12s;
}

.variant-row.is-visible:nth-of-type(3) {
  transition-delay: 0.2s;
}

.variant-row.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.variant-row.reverse .variant-media {
  order: 2;
}

.variant-media img {
  width: min(100%, 28rem);
  margin-inline: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

.variant-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0.2rem 0 0.35rem;
}

.variant-flavor {
  margin-bottom: 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#base .variant-flavor { color: var(--base); }
#flash .variant-flavor { color: var(--flash); }
#pulse .variant-flavor { color: var(--pulse); }

.variant-copy p {
  color: var(--fg-soft);
  line-height: 1.65;
  max-width: 34rem;
}

.feature-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--fg-muted);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 1px;
  background: var(--green);
  transform: rotate(45deg);
}

#base .feature-list li::before { background: var(--base); }
#flash .feature-list li::before { background: var(--flash); }
#pulse .feature-list li::before { background: var(--pulse); }

.how-head {
  max-width: 40rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-top: 0;
  max-width: none;
}

.how-steps li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  min-height: 100%;
  padding: 1.35rem 1.3rem 1.45rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.how-steps li::before {
  grid-row: auto;
  margin-bottom: 0.15rem;
  font-size: 1.25rem;
}

.how-steps strong {
  font-size: 1.15rem;
}

.how-steps span {
  font-size: 0.98rem;
  line-height: 1.55;
}

.fine-print {
  margin-top: 1.75rem;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.82rem;
  line-height: 1.5;
  max-width: 58rem;
  margin-inline: auto;
  text-align: center;
  text-wrap: pretty;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.fact {
  padding: 1.2rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.fact strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fact span {
  color: var(--fg-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.sitemap-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 2rem;
  text-align: left;
}

.sitemap-list a,
.sitemap-list span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
}

.sitemap-list a:hover {
  border-color: rgba(103, 189, 71, 0.5);
}

.sitemap-list .is-disabled {
  color: rgba(255, 255, 255, 0.4);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2rem;
  background: #050505;
}

.footer-inner {
  display: grid;
  gap: 1.25rem;
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

.footer-logo img {
  width: 2.5rem;
  height: auto;
}

.footer-nav,
.footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem 1.4rem;
}

.footer-nav a,
.footer-social a {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.footer-nav a:hover,
.footer-social a:hover {
  color: var(--fg);
}

.footer-copy {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

.brand-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  margin-top: 1.5rem;
}

.brand-jump a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.brand-jump a:hover {
  color: var(--fg);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.brand-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.brand-card,
.swatch {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
}

.brand-card {
  padding: 1.25rem 1.3rem 1.4rem;
}

.brand-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0.15rem 0 0.45rem;
}

.brand-card p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.brand-card p.eyebrow {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.35;
}

.page-hero--compact {
  padding: 3.5rem 0 2.5rem;
}

.page-hero--compact .page-hero-inner {
  max-width: 52rem;
  text-align: center;
}

.page-hero--compact .page-title {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  margin: 0.35rem 0 0.75rem;
}

.page-hero--compact .section-body {
  font-size: 1rem;
  max-width: 34rem;
  margin-inline: auto;
}

.page-hero--compact .brand-hero-actions {
  justify-content: center;
  margin-top: 1.35rem;
}

.page-hero--compact .brand-jump {
  justify-content: center;
  gap: 0.75rem 1.65rem;
  margin-top: 1.65rem;
}

.brand-hero-actions {
  margin-top: 1.35rem;
}

.brand-lockups {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.1rem;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 10rem;
  padding: 2rem 1.5rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #000;
}

.brand-lockup.is-light {
  background: #f2f2f2;
}

.brand-lockup.is-light figcaption {
  color: rgba(0, 0, 0, 0.55);
}

.brand-lockup img {
  width: min(100%, 14rem);
  height: auto;
}

.brand-lockup.mark img {
  width: 4.5rem;
}

.brand-lockup figcaption {
  color: var(--fg-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-subhead {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.brand-clearspace {
  display: grid;
  grid-template-columns: minmax(10rem, 14rem) 1fr;
  gap: 1.5rem 2rem;
  align-items: center;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.brand-clearspace-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-clearspace-box {
  display: grid;
  place-items: center;
  width: 7.5rem;
  height: 7.5rem;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  background:
    linear-gradient(90deg, transparent 46%, rgba(103, 189, 71, 0.22) 46% 54%, transparent 54%),
    linear-gradient(transparent 46%, rgba(103, 189, 71, 0.22) 46% 54%, transparent 54%);
}

.brand-clearspace-box img {
  width: 3.5rem;
  height: auto;
}

.usage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.usage-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
}

.usage-card h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.usage-card p {
  color: var(--fg-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.usage-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.usage-card.is-do .usage-label {
  color: var(--pulse);
}

.usage-card.is-dont .usage-label {
  color: var(--red);
}

.usage-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 7.5rem;
  padding: 1.25rem;
  border-radius: calc(var(--radius) - 0.35rem);
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.usage-preview img {
  width: min(100%, 11rem);
  height: auto;
}

.usage-preview-pair {
  gap: 1rem;
}

.usage-preview-pair img:first-child {
  width: 7.5rem;
}

.usage-preview-pair img:last-child {
  width: 2.4rem;
}

.usage-divider {
  width: 1px;
  height: 2.4rem;
  background: rgba(255, 255, 255, 0.18);
}

.usage-bad.stretch {
  transform: scaleX(1.35) scaleY(0.72);
}

.usage-bad.recolor {
  filter: brightness(0) saturate(100%) invert(64%) sepia(48%) saturate(528%) hue-rotate(61deg) brightness(96%) contrast(88%);
}

.usage-bad.rotate {
  transform: rotate(18deg);
  filter: drop-shadow(0 0 12px rgba(255, 243, 59, 0.55));
}

.usage-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  margin-top: 1.5rem;
}

.usage-list {
  padding: 1.25rem 1.3rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
}

.usage-list.is-do .brand-subhead {
  color: var(--pulse);
}

.usage-list.is-dont .brand-subhead {
  color: var(--red);
}

.usage-list ul {
  display: grid;
  gap: 0.55rem;
  padding-left: 1.1rem;
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.asset-kit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.25rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}

.asset-kit .section-body {
  margin: 0;
  max-width: 32rem;
}

.asset-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.asset-card {
  display: grid;
  gap: 0.9rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
}

.asset-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 8rem;
  padding: 1.5rem;
  border-radius: calc(var(--radius) - 0.35rem);
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.asset-preview.is-light {
  background: #f2f2f2;
}

.asset-preview img {
  width: min(100%, 12rem);
  height: auto;
}

.asset-meta {
  display: grid;
  gap: 0.2rem;
}

.asset-meta strong {
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.asset-meta span {
  color: var(--fg-muted);
  font-size: 0.8rem;
}

.asset-dl {
  justify-self: start;
  min-height: 2.35rem;
  padding: 0.55rem 1rem;
  font-size: 0.72rem;
}

.swatch {
  overflow: hidden;
}

.swatch-chip {
  height: 6.5rem;
}

.swatch-chip.stroke {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.swatch figcaption {
  padding: 0.85rem 1rem 1rem;
}

.swatch strong {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.swatch code {
  display: block;
  margin-top: 0.25rem;
  color: var(--fg-muted);
  font-family: var(--font-body);
  font-size: 0.78rem;
}

.type-specimen {
  padding: 1.5rem 0 0.4rem;
}

.type-specimen .display {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 0.95;
}

.type-specimen .body {
  margin-top: 1rem;
  max-width: 38rem;
  color: var(--fg-soft);
  font-size: 1.05rem;
  line-height: 1.6;
}

.type-meta {
  margin-top: 0.85rem;
  color: var(--fg-muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-ui-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1rem;
  margin-top: 1.25rem;
}

@media (max-width: 960px) {
  .hero-inner {
    padding-bottom: 6rem;
    text-align: center;
  }

  .hero-actions {
    flex-wrap: nowrap;
    gap: 0.6rem;
  }

  .hero-actions .btn {
    min-height: 3.05rem;
    padding: 0.8rem 1.25rem;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .hero-content {
    margin-inline: auto;
  }

  .hero-mark {
    margin-inline: auto;
  }

  .hero-sachet {
    height: min(52vh, 26rem);
  }

  .hero-type-tl,
  .hero-type-br {
    font-size: clamp(2.4rem, 12vw, 4.4rem);
  }

  .hero-type-tl {
    top: calc(var(--header-h) + 0.85rem);
    left: 1.1rem;
  }

  .hero-type-br {
    right: 1.1rem;
    bottom: 10.5rem;
  }

  .section-inner.split,
  .story-frame,
  .variant-row,
  .variant-row.reverse,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .variant-row.reverse .variant-media {
    order: 0;
  }

  .newsletter .form-status {
    grid-column: auto;
  }

  .product-grid,
  .protocol-timeline,
  .protocol-grid,
  .protocol-extras,
  .facts,
  .brand-grid,
  .brand-grid.two,
  .brand-lockups,
  .usage-grid,
  .usage-split,
  .asset-grid,
  .brand-clearspace {
    grid-template-columns: 1fr;
  }

  .how-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }

  .how-steps li {
    padding: 1.15rem 1rem 1.2rem;
  }

  .protocol-flip,
  .protocol-face {
    min-height: 30rem;
  }

  .protocol-face-front img {
    height: 15.5rem;
    margin-top: 0.85rem;
  }

  .protocol-format-points {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .protocol-format-points li {
    padding: 0.75rem 0.4rem 0.8rem;
    font-size: 0.78rem;
  }

  .product-tile img {
    max-height: 16rem;
  }
}

@media (max-width: 760px) {
  .how-steps {
    grid-template-columns: 1fr;
  }

  .protocol-flavors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .protocol-flavors li,
  .protocol-flavors li:nth-child(4),
  .protocol-flavors li:nth-child(5) {
    grid-column: auto;
    width: 100%;
    justify-content: flex-start;
    font-size: 0.78rem;
    line-height: 1.25;
    padding: 0.55rem 0.65rem 0.55rem 0.4rem;
    border-radius: 1rem;
  }

  .footer-nav,
  .footer-social {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 18rem);
    gap: 0.75rem 1.25rem;
    justify-items: center;
  }

  .product-hero .page-title {
    font-size: clamp(2.1rem, 9vw, 3rem);
  }

  .cta {
    padding-top: 5rem;
    padding-bottom: 4.5rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-close {
    position: absolute;
    top: calc(var(--header-h) + 0.35rem);
    right: 1.25rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.5rem;
    padding: 0.35rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--fg);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .nav-close-x {
    font-size: 1.25rem;
    line-height: 1;
    font-weight: 400;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 90;
    width: 100vw;
    height: 100dvh;
    height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0.5rem;
    padding: calc(var(--header-h) + 2.75rem) 1.75rem 2.5rem;
    overflow-y: auto;
    background: var(--bg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.75rem);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0s linear 0.28s;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0s;
  }

  .nav-shell {
    justify-content: flex-end;
    padding-inline: 1.25rem;
  }

  .nav-logo {
    z-index: 110;
  }

  body.nav-open::after {
    content: none;
  }

  .site-nav .nav-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .nav-link,
  .nav-cta {
    width: 100%;
    justify-content: flex-start;
  }

  .site-nav .nav-link {
    min-height: auto;
    padding: 0.55rem 0;
    color: var(--fg);
    font-family: var(--font-display);
    font-size: clamp(2rem, 9vw, 2.6rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1;
  }

  .site-nav .nav-link.is-disabled {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.32);
  }

  .site-nav .tag-soon {
    position: static;
    transform: none;
    padding: 0.14rem 0.45rem;
    font-family: var(--font-body);
    font-size: 0.58rem;
  }

  .site-nav .nav-cta {
    justify-content: center;
    min-height: 3.2rem;
    margin-top: 1.5rem;
    font-size: 0.82rem;
  }

  .contact-form .btn {
    justify-self: center;
  }

  .newsletter {
    text-align: center;
  }

  .newsletter-row {
    flex-direction: column;
    align-items: center;
  }

  .newsletter input {
    width: 100%;
    text-align: center;
  }

  .newsletter .btn {
    min-width: 10.5rem;
  }

  .section {
    padding: 3.75rem 0;
  }

  .story {
    min-height: 0;
    padding: 6.25rem 0;
  }

  .story-statement {
    margin-top: 2.75rem;
    padding-top: 0;
  }

  .story-frame {
    gap: 2.5rem;
    align-items: start;
  }

  .stack-band {
    padding: 0.7rem;
  }

  .stack-card {
    top: calc(var(--header-h) + 0.5rem);
    height: calc(100dvh - var(--header-h) - 1.2rem);
    border-radius: 1.25rem;
  }

  .stack-spacer {
    height: 55vh;
  }

  .stack-card-inner {
    width: min(100%, calc(100% - 2rem));
    margin: 0 1rem 1.65rem;
  }

  .stack-card.squad .stack-card-inner {
    width: min(100%, calc(100% - 2rem));
    margin: 0;
  }

  .stack-card-title {
    font-size: clamp(2.15rem, 11vw, 3rem);
  }

  .fund::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.82) 100%);
  }

  .page-hero {
    padding: 3.75rem 0 2.25rem;
  }

  .hero-title {
    font-size: clamp(3.4rem, 22vw, 5.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .variant-row {
    opacity: 1;
    transform: none;
  }
}
