/* =============================================================================
   GRABBIT VENDING / styles.css
   Mobile-first. Neon pink on near-black.
   Colour knobs live in :root below. Change them there, not scattered around.
   ============================================================================= */

:root {
  /* --- Brand palette --- */
  --pink:        #ff1b9c;
  --pink-bright: #ff5cc4;
  --pink-deep:   #b3006a;
  --ink:         #0a0a0f;
  --ink-2:       #101018;
  --ink-3:       #16161f;

  /* --- Text --- */
  --text:        #f4f2f7;   /* body text: high contrast on --ink */
  --text-muted:  #b9b4c6;   /* still ~7:1 on --ink */
  --text-dim:    #8e88a0;

  /* --- Glow recipes --- */
  --glow-sm: 0 0 6px rgba(255, 92, 196, .55);
  --glow-md: 0 0 10px rgba(255, 27, 156, .65), 0 0 26px rgba(255, 27, 156, .35);
  --glow-lg: 0 0 14px rgba(255, 92, 196, .8), 0 0 40px rgba(255, 27, 156, .5), 0 0 80px rgba(255, 27, 156, .25);

  /* --- Type --- */
  --font-display: "Fredoka", "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --font-body:    "Poppins", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* --- Layout --- */
  --wrap:    1120px;
  --gutter:  clamp(1.15rem, 5vw, 2rem);
  --radius:  18px;
  --header-h: 66px;

  --border:  1px solid rgba(255, 27, 156, .28);
  --ease:    cubic-bezier(.22, .8, .3, 1);
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Soft ambient wash so the black is never flat. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60vw 60vw at 12% -5%,  rgba(255, 27, 156, .16), transparent 62%),
    radial-gradient(55vw 55vw at 92% 18%,  rgba(153, 27, 255, .12), transparent 60%),
    radial-gradient(70vw 60vw at 50% 108%, rgba(255, 27, 156, .10), transparent 65%);
}

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

/* Author styles beat the UA sheet, so [hidden] needs restating after `img{display:block}`. */
[hidden] { display: none !important; }

/* ------------------------------------------------------------------ icons */
/* The <symbol> definitions at the top of index.html. Never visible itself. */
.icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Every icon inherits its colour from the text around it, so one rule glows
   them all. Sizes are set per-context below. */
.card__icon,
.step__icon,
.perk__icon,
.brand__fallback,
.hero__logo-fallback,
.age-gate__glyph {
  display: block;
  color: var(--pink-bright);
  filter: drop-shadow(0 0 8px rgba(255, 27, 156, .75));
  transition: color .3s var(--ease), filter .3s var(--ease);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}

p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

a { color: var(--pink-bright); text-decoration: none; }
a:hover { color: #fff; }

/* ------------------------------------------------------- focus visibility */
:focus-visible {
  outline: 3px solid var(--pink-bright);
  outline-offset: 3px;
  border-radius: 6px;
}
:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 200;
  background: var(--pink);
  color: #fff;
  font-weight: 600;
  padding: .7rem 1.2rem;
  border-radius: 0 0 12px 12px;
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); color: #fff; }

/* ----------------------------------------------------------------- layout */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(4rem, 11vw, 7.5rem); position: relative; }

.section__head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.25rem); }

.section__kicker {
  font-family: var(--font-display);
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--pink-bright);
  text-shadow: var(--glow-sm);
  margin-bottom: .6rem;
}

.section__title {
  font-size: clamp(1.9rem, 6.2vw, 3.1rem);
  color: #fff;
  text-shadow: 0 0 12px rgba(255, 27, 156, .45), 0 0 34px rgba(255, 27, 156, .22);
}

.section__intro { color: var(--text-muted); font-size: 1.05rem; margin: 0; }

.section__cta { margin: clamp(2rem, 5vw, 3rem) 0 0; }

/* ---------------------------------------------------------------- buttons */
.btn {
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 50px;
  padding: .85rem 1.6rem;
  border: 2px solid var(--pink);
  border-radius: 999px;
  background: var(--btn-bg);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  text-align: center;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease), border-color .25s var(--ease);
}

.btn--primary {
  --btn-bg: var(--pink);
  box-shadow: var(--glow-md);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  --btn-bg: var(--pink-bright);
  color: #fff;
  box-shadow: var(--glow-lg);
  transform: translateY(-2px);
}

.btn--ghost {
  border-color: rgba(255, 92, 196, .55);
  color: var(--pink-bright);
  box-shadow: inset 0 0 14px rgba(255, 27, 156, .12);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  color: #fff;
  border-color: var(--pink-bright);
  box-shadow: var(--glow-md), inset 0 0 18px rgba(255, 27, 156, .2);
  transform: translateY(-2px);
}

.btn--lg { padding: 1rem 2.1rem; font-size: 1.08rem; }
.btn--block { width: 100%; }
.btn:active { transform: translateY(0); }

.link-neon {
  color: var(--pink-bright);
  text-shadow: var(--glow-sm);
  border-bottom: 1px solid rgba(255, 92, 196, .4);
  overflow-wrap: anywhere;
}
.link-neon:hover { color: #fff; border-bottom-color: #fff; }

/* ------------------------------------------------------------- header/nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(10, 10, 15, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 27, 156, .18);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-stuck {
  background: rgba(10, 10, 15, .92);
  box-shadow: 0 6px 30px rgba(0, 0, 0, .6), 0 1px 0 rgba(255, 27, 156, .3);
}

.site-header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand { display: inline-flex; align-items: center; gap: .6rem; color: #fff; }

.brand__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
}
.brand__img { width: 40px; height: 40px; object-fit: contain; filter: drop-shadow(0 0 6px rgba(255, 27, 156, .55)); }
.brand__fallback { width: 30px; height: 40px; }

.brand__word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.16rem;
  letter-spacing: -.01em;
  color: #fff;
  text-shadow: var(--glow-sm);
  white-space: nowrap;
}
.brand:hover .brand__word { text-shadow: var(--glow-md); }

/* Hamburger */
.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-right: -6px;
  border: 1px solid rgba(255, 27, 156, .4);
  border-radius: 12px;
  background: rgba(255, 27, 156, .07);
  cursor: pointer;
}
.nav-toggle__bars { display: grid; gap: 5px; width: 22px; }
.nav-toggle__bars i {
  display: block;
  height: 2px;
  background: var(--pink-bright);
  border-radius: 2px;
  box-shadow: var(--glow-sm);
  transition: transform .28s var(--ease), opacity .18s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  background: rgba(12, 12, 19, .98);
  border-bottom: 1px solid rgba(255, 27, 156, .3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .7);
  padding: .5rem var(--gutter) 1.4rem;
  transform: translateY(-14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s var(--ease), transform .28s var(--ease), visibility .28s;
  z-index: 95;
}
.nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

.nav__list { display: grid; gap: .15rem; }

.nav__link {
  display: block;
  padding: .85rem .25rem;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.nav__link:hover,
.nav__link:focus-visible,
.nav__link.is-active { color: var(--pink-bright); text-shadow: var(--glow-sm); }

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 88;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(2px);
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  padding-block: clamp(3rem, 12vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}

.hero__glow {
  position: absolute;
  z-index: -2;
  top: -18%;
  left: 50%;
  width: min(140vw, 1000px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 27, 156, .30), rgba(255, 27, 156, .07) 45%, transparent 70%);
  filter: blur(20px);
}

.hero__grid {
  position: absolute;
  z-index: -2;
  inset: auto 0 0 0;
  height: 46%;
  background-image:
    linear-gradient(rgba(255, 27, 156, .16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 27, 156, .16) 1px, transparent 1px);
  background-size: 52px 52px;
  transform: perspective(340px) rotateX(62deg);
  transform-origin: bottom;
  mask-image: linear-gradient(to top, #000 5%, transparent 85%);
  -webkit-mask-image: linear-gradient(to top, #000 5%, transparent 85%);
  opacity: .75;
}

.hero__inner { text-align: center; }

.hero__eyebrow {
  font-family: var(--font-display);
  font-size: .75rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--pink-bright);
  text-shadow: var(--glow-sm);
  margin-bottom: 1.2rem;
}

.hero__logo { margin-bottom: .8rem; }
.hero__logo-img {
  width: clamp(104px, 27vw, 158px);   /* 3:4 portrait, matches the drawn fallback */
  height: auto;
  aspect-ratio: 342 / 456;
  margin-inline: auto;
  /* The artwork carries its own neon glow, so only a light lift is needed here. */
  filter: drop-shadow(0 0 16px rgba(255, 27, 156, .45));
}
.hero__logo-fallback {
  width: clamp(84px, 22vw, 130px);
  height: auto;
  aspect-ratio: 120 / 160;
  margin-inline: auto;
  filter: drop-shadow(0 0 12px rgba(255, 27, 156, .9)) drop-shadow(0 0 42px rgba(255, 27, 156, .5));
}

.hero__word {
  font-size: clamp(2.6rem, 12.5vw, 6rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 .25em;
  letter-spacing: -.02em;
  text-shadow:
    0 0 8px  rgba(255, 255, 255, .55),
    0 0 22px rgba(255, 27, 156, .95),
    0 0 55px rgba(255, 27, 156, .65),
    0 0 100px rgba(255, 27, 156, .4);
}

.hero__tagline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 5.2vw, 1.9rem);
  color: var(--pink-bright);
  text-shadow: var(--glow-md);
  margin: 0 0 .9rem;
  text-wrap: balance;
}

.hero__support {
  color: var(--text-muted);
  max-width: 34rem;
  margin: 0 auto 2rem;
  font-size: clamp(1rem, 3.4vw, 1.12rem);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .85rem;
}
.hero__actions .btn { flex: 1 1 15rem; max-width: 20rem; }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 92, 196, .5);
  border-radius: 999px;
  display: none;
}
.hero__scroll span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: var(--pink-bright);
  border-radius: 2px;
  box-shadow: var(--glow-sm);
  animation: scrollDot 1.9s var(--ease) infinite;
}
@keyframes scrollDot {
  0%, 100% { transform: translateY(0);    opacity: 1; }
  70%      { transform: translateY(14px); opacity: 0; }
}

/* Neon flicker on the wordmark */
.flicker { animation: flicker 7s linear infinite; }
@keyframes flicker {
  0%, 18%, 20%, 50%, 52%, 100% { opacity: 1; }
  19%   { opacity: .55; }
  51%   { opacity: .72; }
  51.5% { opacity: .35; }
  78%   { opacity: .85; }
  78.4% { opacity: .45; }
}

/* --------------------------------------------------------------- products */
.cards {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}

.card {
  position: relative;
  padding: 1.9rem 1.5rem;
  background: linear-gradient(160deg, rgba(255, 27, 156, .09), rgba(16, 16, 24, .7) 60%);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px rgba(255, 27, 156, .05), inset 0 1px 0 rgba(255, 255, 255, .05);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover,
.card:focus-within {
  transform: translateY(-6px);
  border-color: var(--pink-bright);
  box-shadow: var(--glow-md), inset 0 0 26px rgba(255, 27, 156, .12);
}

.card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
}
.card:hover .card__icon,
.card:focus-within .card__icon {
  color: #fff;
  filter: drop-shadow(0 0 12px rgba(255, 92, 196, 1)) drop-shadow(0 0 26px rgba(255, 27, 156, .6));
}
.card__title {
  font-size: 1.32rem;
  color: #fff;
  margin-bottom: .35rem;
  text-shadow: var(--glow-sm);
}
.card__desc { color: var(--text-muted); margin: 0; }

/* ------------------------------------------------------------ how it works */
.section--how { background: linear-gradient(180deg, transparent, rgba(255, 27, 156, .05), transparent); }

.steps { display: grid; gap: 1.6rem; counter-reset: step; }

.step {
  position: relative;
  padding: 1.7rem 1.4rem 1.4rem;
  border: 1px solid rgba(255, 27, 156, .2);
  border-radius: var(--radius);
  background: rgba(16, 16, 24, .5);
  text-align: center;
}

.step__num {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--pink);
  color: var(--pink-bright);
  font-family: var(--font-display);
  font-weight: 700;
  box-shadow: var(--glow-md);
}

.step__icon {
  width: 40px;
  height: 40px;
  margin: 1rem auto .8rem;
}
.step__title { font-size: 1.2rem; color: #fff; margin-bottom: .3rem; }
.step__desc { color: var(--text-muted); margin: 0; font-size: .98rem; }

/* ----------------------------------------------------------------- venues */
.section--venues {
  border-top: 1px solid rgba(255, 27, 156, .16);
  border-bottom: 1px solid rgba(255, 27, 156, .16);
  background: rgba(16, 16, 24, .45);
}

.perks { display: grid; gap: 1.1rem; }

.perk {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.3rem 1.25rem;
  border: 1px solid rgba(255, 27, 156, .22);
  border-left: 3px solid var(--pink);
  border-radius: 14px;
  background: rgba(10, 10, 15, .6);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.perk:hover {
  transform: translateX(4px);
  border-color: rgba(255, 92, 196, .55);
  border-left-color: var(--pink-bright);
  box-shadow: var(--glow-sm), inset 0 0 22px rgba(255, 27, 156, .08);
}

.perk__icon {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  margin-top: 2px;
}
.perk:hover .perk__icon { color: #fff; }
.perk__title { font-size: 1.12rem; color: #fff; margin-bottom: .2rem; }
.perk__desc { color: var(--text-muted); margin: 0; font-size: .97rem; }

/* ---------------------------------------------------------------- contact */
.contact { display: grid; gap: clamp(2rem, 6vw, 3.5rem); }

.contact__direct { color: var(--text-muted); margin-bottom: .4rem; }

.form {
  padding: clamp(1.4rem, 5vw, 2.2rem);
  border: var(--border);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 27, 156, .07), rgba(16, 16, 24, .8) 55%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.field { margin-bottom: 1.1rem; }

.field label {
  display: block;
  margin-bottom: .4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  color: var(--text);
}

.field input,
.field textarea {
  width: 100%;
  padding: .85rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: rgba(10, 10, 15, .85);
  border: 1px solid rgba(255, 27, 156, .32);
  border-radius: 12px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }

.field input::placeholder,
.field textarea::placeholder { color: var(--text-dim); }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--pink-bright);
  box-shadow: 0 0 0 3px rgba(255, 27, 156, .25), var(--glow-sm);
}
.field input:focus-visible,
.field textarea:focus-visible { outline: none; }

/* Honeypot: off-screen but still reachable by bots */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__status {
  margin: .9rem 0 0;
  min-height: 1.4em;
  font-size: .95rem;
  font-weight: 500;
}
.form__status.is-ok    { color: #6ef0a8; }
.form__status.is-error { color: #ff8fb4; }

.form__fallback { margin: .6rem 0 0; font-size: .88rem; color: var(--text-dim); }

/* ----------------------------------------------------------------- footer */
.site-footer {
  border-top: 1px solid rgba(255, 27, 156, .2);
  background: linear-gradient(180deg, rgba(16, 16, 24, .6), var(--ink));
  padding-top: clamp(2.5rem, 7vw, 4rem);
}

.site-footer__inner { display: grid; gap: 2.2rem; }

.brand--footer { margin-bottom: .7rem; }
.site-footer__blurb { color: var(--text-muted); max-width: 26rem; font-size: .95rem; }

.site-footer__h {
  font-family: var(--font-display);
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--pink-bright);
  text-shadow: var(--glow-sm);
  margin-bottom: .8rem;
}

.site-footer__nav ul,
.site-footer__social ul { display: grid; gap: .55rem; }

.site-footer__nav a,
.site-footer__social a {
  color: var(--text-muted);
  font-size: .97rem;
}
.site-footer__nav a:hover,
.site-footer__social a:hover { color: var(--pink-bright); text-shadow: var(--glow-sm); }

.site-footer__base {
  margin-top: clamp(2rem, 6vw, 3rem);
  padding-block: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .07);
  display: grid;
  gap: .5rem;
  font-size: .87rem;
  color: var(--text-dim);
}
.site-footer__base p { margin: 0; }
.site-footer__age { color: var(--text-muted); display: flex; align-items: center; gap: .55rem; }

.badge-18 {
  display: inline-grid;
  place-items: center;
  min-width: 2.3rem;
  padding: .1rem .45rem;
  border: 1.5px solid var(--pink);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .78rem;
  color: var(--pink-bright);
  box-shadow: var(--glow-sm);
  text-shadow: var(--glow-sm);
}

/* --------------------------------------------------------------- age gate */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: var(--gutter);
  background: rgba(5, 5, 9, .93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.age-gate[hidden] { display: none; }

.age-gate__panel {
  width: min(30rem, 100%);
  padding: clamp(1.8rem, 7vw, 2.6rem) clamp(1.3rem, 6vw, 2.2rem);
  text-align: center;
  border: 1px solid rgba(255, 27, 156, .45);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 27, 156, .1), rgba(10, 10, 15, .96) 60%);
  box-shadow: var(--glow-lg);
  animation: gateIn .45s var(--ease) both;
}
@keyframes gateIn {
  from { opacity: 0; transform: translateY(16px) scale(.97); }
  to   { opacity: 1; transform: none; }
}

.age-gate__glyph {
  width: 58px;
  height: 78px;
  margin: 0 auto .8rem;
  filter: drop-shadow(0 0 12px rgba(255, 27, 156, .95)) drop-shadow(0 0 34px rgba(255, 27, 156, .5));
}
.age-gate__title {
  font-size: clamp(1.5rem, 7vw, 2.1rem);
  color: #fff;
  text-shadow: var(--glow-md);
}
.age-gate__body { color: var(--text-muted); margin-bottom: 1.6rem; }

.age-gate__actions { display: grid; gap: .7rem; }
.age-gate__fine { margin: 1.2rem 0 0; font-size: .8rem; color: var(--text-dim); }

body.gate-locked { overflow: hidden; }

/* --------------------------------------------------------- scroll reveals */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Stagger children inside grids */
.cards .reveal:nth-child(2),
.steps .reveal:nth-child(2),
.perks .reveal:nth-child(2) { transition-delay: .09s; }
.cards .reveal:nth-child(3),
.steps .reveal:nth-child(3),
.perks .reveal:nth-child(3) { transition-delay: .18s; }
.perks .reveal:nth-child(4) { transition-delay: .27s; }

/* ============================================================== BREAKPOINTS */

@media (min-width: 560px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .age-gate__actions { grid-auto-flow: column; justify-content: center; }
  .age-gate__actions .btn { min-width: 11rem; }
}

@media (min-width: 820px) {
  :root { --header-h: 74px; }

  .nav-toggle { display: none; }

  .nav {
    position: static;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .nav__list { display: flex; align-items: center; gap: .35rem; }
  .nav__link {
    padding: .5rem .9rem;
    border: 0;
    border-radius: 999px;
    font-size: 1rem;
  }
  .nav__link.is-active { background: rgba(255, 27, 156, .12); }

  .nav-scrim { display: none !important; }

  .brand__word { font-size: 1.3rem; }

  .hero__scroll { display: block; }
  .hero__actions .btn { flex: 0 0 auto; }

  .cards { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
  .perks { grid-template-columns: repeat(2, 1fr); gap: 1.3rem; }

  .contact { grid-template-columns: 1fr 1fr; align-items: start; }
  .contact__copy { position: sticky; top: calc(var(--header-h) + 2rem); }

  .site-footer__inner { grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
  .site-footer__base { grid-template-columns: 1fr auto; align-items: center; }
  .site-footer__copy { text-align: right; }
}

@media (min-width: 1040px) {
  .contact { grid-template-columns: 1fr 1.05fr; gap: 4rem; }
}

/* Very narrow phones (~360px and below) */
@media (max-width: 380px) {
  :root { --gutter: 1rem; }
  .hero__actions .btn { flex: 1 1 100%; max-width: none; }
  .age-gate__actions { grid-auto-flow: row; }
}

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

/* --------------------------------------------------- print (rarely used) */
@media print {
  body::before, .hero__glow, .hero__grid, .age-gate, .site-header { display: none !important; }
  body { background: #fff; color: #000; }
}

/* =============================================================================
   MACHINE SCROLL ANIMATION
   A CSS-3D vending machine that assembles itself as you scroll past.
   Deliberately low-detail and grey so it reads as a diagram, not decoration.
   All positions/sizes are written by script.js (GEO). Only looks live here.
   ============================================================================= */

:root {
  --vm-face-1:  #565661;   /* front face, lit edge  */
  --vm-face-2:  #35353d;   /* front face, shaded    */
  --vm-side:    #26262c;   /* right side panel      */
  --vm-cavity:  #121216;   /* recessed interior     */
  --vm-shelf:   #2e2e36;
  --vm-item-1:  #9a9aa6;   /* product, lit          */
  --vm-item-2:  #6a6a76;   /* product, shaded       */
  --vm-screen:  #1b1b22;
}

/* Track collapses until JS is ready, so no-JS visitors never hit dead space. */
.vmx__track { height: auto; }
.vmx.is-ready .vmx__track { height: 300vh; }
/* Phones get a shorter run so the scene doesn't eat the whole scroll. */
@media (max-width: 700px) {
  .vmx.is-ready .vmx__track { height: 220vh; }
}

.vmx__pin {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

/* Machine on the left, copy on the right. Stacks on narrow screens. */
.vmx__inner {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  justify-items: center;
  padding-block: clamp(1.5rem, 5vw, 3rem);
}

.vmx__copy { text-align: center; max-width: 34rem; width: 100%; }
.vmx__copy .section__title { margin-bottom: clamp(1rem, 2.5vw, 1.6rem); }

/* The three blocks share one grid cell, so the column is as tall as the
   longest of them and nothing jumps when the text swaps. */
.vmx__steps { display: grid; }

.vmx__step {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  /* Outgoing block clears quickly... */
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}
/* ...and the incoming one waits for it, so the two never sit on top of each
   other as legible-but-doubled text while you scrub. */
.vmx__step.is-on {
  opacity: 1;
  transform: none;
  transition: opacity .34s var(--ease) .14s, transform .42s var(--ease) .14s;
}

.vmx__step-title {
  font-size: clamp(1.25rem, 3.4vw, 1.6rem);
  color: #fff;
  margin-bottom: .5rem;
  text-shadow: var(--glow-sm);
}
.vmx__step-body {
  color: var(--text-muted);
  margin: 0;
  font-size: 1.02rem;
  text-wrap: pretty;
}

.vmx__dots { display: flex; gap: .5rem; justify-content: center; margin-top: 1.4rem; }

/* Two columns from 900px up. Declared after the base rules above so it wins
   without needing extra specificity. */
@media (min-width: 900px) {
  .vmx__inner {
    /* minmax(0,…) stops the scaled scene from widening its own column. */
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    justify-items: stretch;
  }
  .vmx__copy { text-align: left; }
  .vmx__dots { justify-content: flex-start; }
}
.vmx__dots li {
  width: 26px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.vmx__dots li.is-on { background: var(--pink); box-shadow: var(--glow-sm); }

/* --------------------------------------------------------------- 3D stage */
.vm-stage { display: none; }
.vmx.is-ready .vm-stage {
  display: block;
  perspective: 1150px;
  perspective-origin: 46% 46%;
}

.vm-scale { transform-origin: top center; }   /* JS sets scale() to fit */

.vm-world {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}

/* --------------------------------------------------------------- machine */
.vm { position: absolute; transform-style: preserve-3d; }

/* Front face: four bars framing an open cavity. */
.vm__frame {
  position: absolute;
  display: block;
  background: linear-gradient(105deg, var(--vm-face-1), var(--vm-face-2) 62%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}
.vm__frame[data-edge="t"] { border-radius: 16px 16px 0 0; }
.vm__frame[data-edge="b"] { border-radius: 0 0 16px 16px; }

/* Back wall of the recess. */
.vm__back {
  position: absolute;
  background: var(--vm-cavity);
  box-shadow: inset 0 10px 30px rgba(0, 0, 0, .9);
}

/* ---- solid shell -------------------------------------------------------
   Every wall is a plane hinged off one edge of the front and swung backwards,
   so the cabinet encloses a real volume. JS supplies the sizes from GEO.     */
.vm__wall,
.vm__inner {
  position: absolute;
  display: block;
  /* Deliberately NOT backface-hidden: every panel stays painted and the 3D
     sort decides what covers what. One flipped normal then costs a shading
     nuance rather than making a whole wall disappear. */
}

/* Each panel hinges on the edge it shares with the front, then swings back.
   Outer walls face outwards; recess walls face inwards, hence the mirrored
   pairs (an outer right wall and an inner left wall hinge the same way). */
.vm__wall[data-face="right"],
.vm__inner[data-face="left"]   { transform-origin: left center;   transform: rotateY(90deg); }

.vm__wall[data-face="left"],
.vm__inner[data-face="right"]  { transform-origin: right center;  transform: rotateY(-90deg); }

.vm__wall[data-face="bottom"],
.vm__inner[data-face="top"]    { transform-origin: center top;    transform: rotateX(-90deg); }

.vm__wall[data-face="top"],
.vm__inner[data-face="bottom"],
.vm__shelf                     { transform-origin: center bottom; transform: rotateX(90deg); }

/* Both side walls are given a usable tone, so the cabinet reads solid
   whichever one the camera ends up seeing. */
.vm__wall[data-face="left"]   { background: linear-gradient(180deg, #2b2b33, #1c1c22); }
.vm__wall[data-face="right"]  { background: linear-gradient(180deg, #3a3a44, #23232b); }
.vm__wall[data-face="top"]    { background: linear-gradient(160deg, #62626e, #3c3c46); }
.vm__wall[data-face="bottom"] { background: #131319; }
.vm__wall[data-face="rear"]   { background: #191920; }

/* Recess walls: lighter than the back panel so the depth reads. */
.vm__inner[data-face="left"]   { background: #262630; }
.vm__inner[data-face="right"]  { background: #1a1a21; }
.vm__inner[data-face="top"]    { background: #141419; }
.vm__inner[data-face="bottom"] { background: #2d2d37; }

/* Shelves are horizontal planes spanning the depth, not lines drawn on the
   back wall, so products genuinely sit on something. */
.vm__shelf {
  position: absolute;
  display: block;
  background: linear-gradient(180deg, #3a3a44, #26262e);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
}

.vm__flap,
.vm__reader {
  position: absolute;
  transform: translateZ(1px);   /* clear of the frame bars, no z-fighting */
  border-radius: 6px;
  background: linear-gradient(180deg, #43434c, #2b2b32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
}
.vm__flap {
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: .12em;
  color: #b6b6c2;
}
.vm__reader { background: linear-gradient(180deg, #4c4c56, #303038); }

.vm__word {
  position: absolute;
  transform: translateZ(1px);
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .22em;
  font-size: 13px;
  color: rgba(255, 255, 255, .18);
}

/* Soft contact shadow on the ground. */
.vm__floor {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, .7), transparent 70%);
  filter: blur(6px);
}

/* ---------------------------------------------------------------- screen */
.vm__screen {
  position: absolute;
  border-radius: 9px;
  background: linear-gradient(160deg, #262630, var(--vm-screen));
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, .16),
    0 14px 30px rgba(0, 0, 0, .65);
  overflow: hidden;
  will-change: transform, opacity;
  /* --on is driven by scroll: 0 = dark panel, 1 = powered up. */
  --on: 0;
}
.vm__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255, 27, 156, .16), transparent 55%);
  opacity: var(--on);
}
.vm__screen-bar,
.vm__screen-row {
  position: absolute;
  left: 9%;
  width: 82%;
  border-radius: 3px;
  background: rgba(255, 255, 255, .22);
  opacity: var(--on);
}
.vm__screen-bar { top: 7%; height: 5%; width: 46%; }
.vm__screen-row { height: 14%; background: rgba(255, 255, 255, .1); }
.vm__screen-row:nth-of-type(2) { top: 20%; }
.vm__screen-row:nth-of-type(3) { top: 41%; }
.vm__screen-row:nth-of-type(4) { top: 62%; }

/* -------------------------------------------------------------- products */
.vm-items { position: absolute; inset: 0; transform-style: preserve-3d; }

.vm-item {
  position: absolute;
  display: block;
  border-radius: 4px;
  background: linear-gradient(112deg, var(--vm-item-1), var(--vm-item-2));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .28),
    0 4px 10px rgba(0, 0, 0, .5);
  opacity: 0;
  will-change: transform, opacity;
}

/* Just enough shape to tell the three products apart. */
.vm-item--condom::after {
  content: "";
  position: absolute;
  inset: 16% 22% auto 22%;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .3);
}
.vm-item--gum { border-radius: 7px; }
.vm-item--gum::after {
  content: "";
  position: absolute;
  inset: 34% 14% 34% 14%;
  border-radius: 3px;
  background: rgba(255, 255, 255, .16);
}
.vm-item--scent { border-radius: 3px 3px 5px 5px; }
.vm-item--scent::after {   /* cap */
  content: "";
  position: absolute;
  left: 28%;
  width: 44%;
  top: -22%;
  height: 22%;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(112deg, #77777f, #4a4a52);
}

/* ------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  .vmx.is-ready .vmx__track { height: auto; }
  .vmx__pin { position: static; min-height: 0; }
}

/* =============================================================================
   PRODUCTS PAGE (products.html)
   Reuses the card, chip and section language from the home page so the two
   read as one site. Nothing here is used by index.html.
   ============================================================================= */

/* ---- page header ---- */
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(3.5rem, 12vw, 7rem) clamp(2rem, 6vw, 3.5rem);
  border-bottom: 1px solid rgba(255, 27, 156, .16);
}

.page-hero__glow {
  position: absolute;
  z-index: -1;
  top: -55%;
  left: 50%;
  width: min(150vw, 1100px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 27, 156, .26), rgba(255, 27, 156, .06) 45%, transparent 70%);
  filter: blur(24px);
  pointer-events: none;
}

.page-hero__inner { text-align: center; }

.page-hero__title {
  font-size: clamp(2.1rem, 8vw, 4rem);
  color: #fff;
  margin-bottom: .6rem;
  letter-spacing: -.02em;
  text-shadow:
    0 0 8px  rgba(255, 255, 255, .4),
    0 0 22px rgba(255, 27, 156, .8),
    0 0 60px rgba(255, 27, 156, .45);
}

.page-hero__intro {
  color: var(--text-muted);
  max-width: 40rem;
  margin: 0 auto 1.2rem;
  font-size: clamp(1rem, 3.2vw, 1.12rem);
  text-wrap: pretty;
}

.page-hero__meta {
  font-family: var(--font-display);
  font-size: .75rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--pink-bright);
  text-shadow: var(--glow-sm);
  margin: 0;
}

/* ---- one block per category ---- */
.prodgroup { padding-block: clamp(2.5rem, 7vw, 4.5rem); }

/* Alternating tint keeps four stacked grids from blurring together. */
.prodgroup:nth-of-type(even) {
  background: rgba(16, 16, 24, .45);
  border-block: 1px solid rgba(255, 27, 156, .12);
}

.prodgroup__head {
  max-width: 44rem;
  margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
}

.prodgroup__title {
  font-size: clamp(1.5rem, 5vw, 2.1rem);
  color: #fff;
  margin-bottom: .35rem;
  text-shadow: 0 0 12px rgba(255, 27, 156, .45), 0 0 30px rgba(255, 27, 156, .2);
}

.prodgroup__blurb { color: var(--text-muted); margin: 0; }

/* Cards stretch so a card with variant chips doesn't leave a short neighbour. */
.prodgroup .cards { align-items: stretch; }
.prodgroup .card { display: flex; flex-direction: column; }
.prodgroup .card__desc { flex: 1 1 auto; }

/* ---- size / scent chips ---- */
.card__variants {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 1rem 0 0;
  padding: 0;
}

.chip {
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .02em;
  padding: .28rem .7rem;
  border: 1px solid rgba(255, 27, 156, .45);
  border-radius: 999px;
  color: var(--pink-bright);
  background: rgba(255, 27, 156, .09);
  transition: border-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover .chip,
.card:focus-within .chip {
  border-color: var(--pink-bright);
  color: #fff;
  box-shadow: var(--glow-sm);
}

/* ---- closing note + call to action ---- */
.prodnote {
  max-width: 44rem;
  margin: 0 auto clamp(2rem, 5vw, 3rem);
  text-align: center;
  color: var(--text-dim);
  font-size: .95rem;
}

.prodcta__panel {
  text-align: center;
  padding: clamp(1.8rem, 6vw, 3rem) clamp(1.3rem, 5vw, 2.5rem);
  border: var(--border);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 27, 156, .1), rgba(16, 16, 24, .82) 60%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.prodcta__title {
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  color: #fff;
  margin-bottom: .5rem;
  text-shadow: var(--glow-md);
}

.prodcta__body {
  color: var(--text-muted);
  max-width: 34rem;
  margin: 0 auto 1.6rem;
}


/* ---- products teaser (home page) ---------------------------------------- */
.section__head--center { margin-inline: auto; text-align: center; }
.section__cta--center { text-align: center; }

.teaser__more {
  max-width: 46rem;
  margin: clamp(1.5rem, 4vw, 2.25rem) auto 0;
  text-align: center;
  color: var(--text-dim);
  font-size: .95rem;
  line-height: 1.7;
}

.teaser__more-label {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--pink-bright);
  text-shadow: var(--glow-sm);
  margin-right: .3rem;
}
