@import url("../fonts/fonts.css");

/* NICCOS demo — 1rem = 10px at 1440px wide (desktop design) and at 390px (mobile design).
   All sizes below are the Pencil values divided by 10. */
:root {
  --tin: #0B0B0A;
  --lid: #151513;
  --rim: #2A2A26;
  --chalk: #F3F1EA;
  --smoke: #A3A196;
  --volt: #CCF54A;
  --gold: #F2C14E;
  --line: rgba(255, 255, 255, .12);
  --line-soft: rgba(255, 255, 255, .08);
  --f-display: "Big Shoulders", "Arial Narrow", sans-serif;
  --f-body: "Instrument Sans", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --f-brush: "Permanent Marker", cursive;
  --gold-grad: linear-gradient(270deg, #FFE7A6 0%, #F2C14E 45%, #A8742A 100%);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --pad: 8rem;
  --flav: #E8956A;
}

html { font-size: calc(100vw / 144); -webkit-text-size-adjust: 100%; }
@media (min-width: 1728px) { html { font-size: 12px; } }
@media (max-width: 999px) { html { font-size: min(calc(100vw / 39), 14px); } :root { --pad: 1.6rem; } }

*, *::before, *::after { box-sizing: border-box; }
[class], h1, h2, h3 { font-variation-settings: "opsz" 72; }
body {
  margin: 0; background: var(--tin); color: var(--chalk);
  font-family: var(--f-body); font-size: 1.6rem; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; text-rendering: optimizeLegibility;
}
img { display: block; max-width: none; user-select: none; -webkit-user-drag: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
p, h1, h2, h3, h4, ul { margin: 0; padding: 0; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; border-radius: .6rem; }
::selection { background: var(--volt); color: var(--tin); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.page { max-width: 1728px; margin: 0 auto; position: relative; }
.is-mobile-only { display: none !important; }
@media (max-width: 999px) { .is-mobile-only { display: revert !important; } .is-desktop-only { display: none !important; } }

/* ---------- type primitives ---------- */
.display { font-family: var(--f-display); font-weight: 900; line-height: .86; }
.brush { font-family: var(--f-brush); font-weight: 400; line-height: 1; }
.mono { font-family: var(--f-mono); }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font-family: var(--f-mono); font-size: 1.3rem; letter-spacing: .2rem; color: var(--volt); line-height: normal; text-transform: uppercase; }
.h2 { font-family: var(--f-display); font-weight: 900; font-size: 12rem; line-height: .86; color: var(--chalk); }
.lead { font-size: 1.7rem; line-height: 1.55; color: var(--smoke); }
.split-line { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
.split-line > span { display: block; will-change: transform; }

/* ---------- icons ---------- */
.i { width: 1.8rem; height: 1.8rem; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: block; }

/* ---------- buttons / chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 1rem;
  padding: 1.8rem 2.8rem; border-radius: 99rem; font-size: 1.6rem; font-weight: 600; line-height: normal;
  border: 1px solid rgba(255, 255, 255, .25); color: var(--chalk); white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  will-change: transform;
}
.btn .i { width: 1.8rem; height: 1.8rem; transition: transform .35s var(--ease); }
.btn:hover { border-color: var(--chalk); }
.btn--volt { background: var(--volt); border-color: var(--volt); color: var(--tin); font-weight: 700; }
.btn--volt:hover { background: #DDFF6E; border-color: #DDFF6E; }
.btn--dark { background: var(--tin); border-color: var(--tin); color: var(--volt); font-weight: 700; }
.btn:hover .i--right { transform: translateX(.3rem); }
.btn:hover .i--down { transform: translateY(.3rem); }
.btn:hover .i--ne { transform: translate(.2rem, -.2rem); }
.circle {
  width: 4rem; height: 4rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .15);
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  transition: background-color .3s, border-color .3s, color .3s;
}
.circle:hover { border-color: var(--chalk); }
.circle .i { width: 1.8rem; height: 1.8rem; }
.chip {
  display: inline-flex; align-items: center; gap: .8rem; padding: 1.2rem 1.8rem; border-radius: 99rem;
  border: 1px solid rgba(255, 255, 255, .15); font-size: 1.4rem; font-weight: 600; line-height: normal; white-space: nowrap;
  transition: background-color .3s, border-color .3s, color .3s;
}
.chip small { font-family: var(--f-mono); font-size: 1.2rem; font-weight: 400; color: var(--smoke); }
.chip:hover { border-color: rgba(255, 255, 255, .45); }
.chip.is-active { background: var(--volt); border-color: var(--volt); color: var(--tin); }
.chip.is-active small { color: rgba(11, 11, 10, .65); }
.tag { display: inline-flex; padding: .6rem 1.2rem; border-radius: 99rem; border: 1px solid rgba(255,255,255,.2); font-family: var(--f-mono); font-size: 1.1rem; font-weight: 700; letter-spacing: .1rem; line-height: normal; }
.tag--volt { background: var(--volt); border-color: var(--volt); color: var(--tin); }

/* strength dots */
.dots { display: inline-flex; gap: .5rem; align-items: center; }
.dots i { width: .9rem; height: .9rem; border-radius: 50%; background: rgba(255, 255, 255, .15); display: block; transition: background-color .4s; }
.dots i.on { background: var(--volt); }

/* swash label (brush path from the design) */
.swash { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 24rem; height: 5.2rem; }
.swash svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.swash span { position: relative; font-size: 2rem; font-weight: 700; letter-spacing: .2rem; color: #fff; line-height: normal; white-space: nowrap; }

/* ---------- health warning ---------- */
.warning {
  height: 4.4rem; background: #fff; color: var(--tin); display: flex; align-items: center; justify-content: center; gap: 1.6rem;
  font-size: 1.5rem; font-weight: 700; line-height: normal; position: relative; z-index: 60;
}
.badge18 { padding: .3rem .8rem; border-radius: .4rem; background: var(--tin); color: #fff; font-family: var(--f-mono); font-size: 1.2rem; font-weight: 700; }

/* ---------- header ---------- */
.header {
  position: fixed; left: 0; right: 0; top: var(--hdr-top, 4.4rem); z-index: 50; height: 9.2rem;
  transition: background-color .4s var(--ease), backdrop-filter .4s, transform .5s var(--ease), border-color .4s;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header__in { max-width: 1728px; margin: 0 auto; height: 100%; padding: 0 8rem; display: flex; align-items: center; justify-content: space-between; }
.header.is-solid { background: rgba(11, 11, 10, .78); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); }
.header.is-hidden { transform: translateY(-110%); }
.logo { font-family: var(--f-brush); font-size: 3.4rem; line-height: normal; color: var(--volt); padding: 0 .2rem; }
.nav { display: flex; gap: 3.6rem; align-items: center; }
.nav a { font-size: 1.5rem; font-weight: 500; line-height: normal; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.6rem; height: 2px; background: var(--volt); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
.header__actions { display: flex; gap: 1.2rem; align-items: center; }
.btn--sm { padding: 1.2rem 2rem; font-size: 1.5rem; gap: .8rem; }
.btn--sm .i { width: 1.6rem; height: 1.6rem; }
.burger { display: none; }
.mnav { display: none; }

/* ---------- sections (shared) ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; }
.sec-title { display: flex; flex-direction: column; gap: 1.4rem; }

/* ---------- product card ---------- */
.card {
  position: relative; display: flex; flex-direction: column; background: var(--lid); border-radius: 2.2rem; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .07); --c: #E8956A; isolation: isolate;
  transition: border-color .45s var(--ease), box-shadow .45s var(--ease), transform .45s var(--ease);
}
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--volt); opacity: 0; transition: opacity .45s var(--ease); pointer-events: none; }
.card__media { position: relative; height: 27rem; overflow: hidden; }
.card__glow { position: absolute; left: 2.2rem; top: 1rem; width: 26rem; height: 25rem; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 30%, transparent), transparent); transition: opacity .45s, transform .6s var(--ease); }
.card__glow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 55%, transparent), transparent); opacity: 0; transition: opacity .45s; }
.card__can { position: absolute; left: 4.2rem; top: 2.8rem; width: 22rem; height: 22rem; object-fit: contain; transition: transform .7s var(--ease); }
.card__badge { position: absolute; left: 1.6rem; top: 1.6rem; padding: .5rem 1rem; border-radius: 99rem; background: rgba(11, 11, 10, .7); border: 1px solid rgba(255, 255, 255, .12);
  font-family: var(--f-mono); font-size: 1.1rem; font-weight: 700; letter-spacing: .1rem; line-height: normal; }
.card__info { display: flex; flex-direction: column; gap: .8rem; padding: 1.8rem 2.2rem 2.2rem; }
.card__line { font-family: var(--f-mono); font-size: 1.1rem; letter-spacing: .15rem; color: var(--smoke); line-height: normal; }
.card__name { font-family: var(--f-display); font-weight: 800; font-size: 3.6rem; line-height: .95; transition: color .4s; }
.card__meta { display: flex; justify-content: space-between; align-items: center; padding-top: .6rem; }
.card__taste { font-size: 1.3rem; color: var(--smoke); line-height: normal; }
.card:hover { box-shadow: 0 2.4rem 6rem rgba(204, 245, 74, .18); }
.card:hover::after { opacity: 1; }
.card:hover .card__glow::after { opacity: 1; }
.card:hover .card__can { transform: translate(-.6rem, -1.2rem) rotate(12deg) scale(1.127); }
.card:hover .card__name { color: var(--volt); }

/* ---------- footer ---------- */
.footer { background: #070706; border-top: 1px solid rgba(255, 255, 255, .08); padding: 10rem 8rem 4rem; display: flex; flex-direction: column; gap: 6.4rem; overflow: hidden; }
.footer__cols { display: flex; gap: 4rem; }
.footer__col { flex: 1; display: flex; flex-direction: column; gap: 1.4rem; }
.footer__col h4 { font-family: var(--f-mono); font-size: 1.2rem; letter-spacing: .2rem; color: var(--smoke); font-weight: 400; line-height: normal; }
.footer__col a, .footer__col p { font-size: 1.6rem; line-height: normal; }
.footer__col a:hover { color: var(--volt); }
.footer__mark { font-family: var(--f-brush); font-size: 34rem; line-height: 1; text-align: center; white-space: nowrap;
  background: linear-gradient(270deg, #A9CC3A 0%, #CCF54A 50%, #E6FF9A 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2.4rem; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer__copy { font-family: var(--f-mono); font-size: 1.2rem; color: var(--smoke); line-height: normal; }
.footer__warn { display: flex; gap: 1rem; align-items: center; font-size: 1.3rem; color: var(--smoke); line-height: normal; }
.footer__warn b { padding: .3rem .8rem; border-radius: .4rem; border: 1px solid var(--chalk); color: var(--chalk); font-family: var(--f-mono); font-size: 1.1rem; }
.footer__social { display: flex; gap: 1rem; }

/* ---------- age gate ---------- */
.gate { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; background: rgba(11, 11, 10, .7); }
.gate[hidden] { display: none; }
.gate__bg { position: absolute; inset: 0; background: url(../img/gen/pouches-float.webp) center/cover; opacity: .35; filter: blur(12px); transform: scale(1.05); }
.gate__dim { position: absolute; inset: 0; background: rgba(11, 11, 10, .7); }
.gate__card { position: relative; width: 50rem; padding: 4.4rem; border-radius: 3.2rem; background: rgba(21, 21, 19, .9); border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); box-shadow: 0 4rem 8rem rgba(0, 0, 0, .6);
  display: flex; flex-direction: column; align-items: center; gap: 2.4rem; text-align: center; }
.gate__logo { font-family: var(--f-brush); font-size: 4.4rem; color: var(--volt); line-height: normal; }
.gate__18 { font-family: var(--f-display); font-weight: 900; font-size: 15rem; line-height: .85; color: var(--volt); }
.gate__q { font-size: 2.6rem; font-weight: 700; line-height: normal; }
.gate__t { font-size: 1.5rem; line-height: 1.5; color: var(--smoke); }
.gate__btns { display: flex; gap: 1rem; width: 100%; }
.gate__btns .btn { flex: 1; padding: 1.7rem 2rem; }
.gate__w { font-family: var(--f-mono); font-size: 1.1rem; line-height: 1.5; color: var(--smoke); }

/* ---------- reveal defaults (JS adds .js) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(4rem); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.94); }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ============================================================
   MOBILE (390 design) — shared parts
   ============================================================ */
@media (max-width: 999px) {
  .warning { height: auto; padding: 1rem 1.6rem; font-size: 1.2rem; line-height: 1.3; justify-content: flex-start; }
  .warning .badge18 { display: none; }
  .header { height: 6.4rem; top: var(--hdr-top, 5.6rem); }
  .header__in { padding: 0 1.6rem; }
  .logo { font-size: 2.6rem; }
  .nav, .header__actions .circle:not(.burger) { display: none; }
  .header__actions { gap: .8rem; }
  .header .btn--sm { padding: .9rem 1.4rem; font-size: 1.3rem; }
  .btn--sm .i, .btn--sm .btn__long { display: none; }
  .burger { display: inline-flex; }
  .mnav { position: fixed; inset: 0; z-index: 49; background: rgba(11, 11, 10, .96); backdrop-filter: blur(16px); display: flex; flex-direction: column; justify-content: center; gap: 1.2rem; padding: 0 2.4rem;
    opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); }
  .mnav a { font-family: var(--f-display); font-weight: 900; font-size: 5.6rem; line-height: 1; }
  .mnav.is-open { opacity: 1; pointer-events: auto; }
  .h2 { font-size: 7.2rem; }
  .eyebrow { font-size: 1.1rem; letter-spacing: .15rem; }
  .lead { font-size: 1.6rem; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 2rem; }
  .btn { padding: 1.7rem 2.4rem; }
  .card { border-radius: 1.8rem; }
  .card__media { height: 17rem; }
  .card__glow { left: 1rem; top: .5rem; width: 16rem; height: 16rem; }
  .card__can { left: 2rem; top: 2rem; width: 14rem; height: 14rem; }
  .card__badge { left: 1rem; top: 1rem; font-size: 1rem; }
  .card__info { padding: 1.2rem 1.4rem 1.6rem; gap: .6rem; }
  .card__line { display: none; }
  .card__name { font-size: 2.2rem; }
  .card__taste { font-size: 1.1rem; }
  .card .dots { gap: .4rem; }
  .card .dots i { width: .7rem; height: .7rem; }
  .card:hover .card__can { transform: rotate(8deg) scale(1.06); }
  .footer { padding: 6rem 1.6rem 3rem; gap: 4rem; }
  .footer__cols { flex-wrap: wrap; gap: 3.2rem 2rem; }
  .footer__col { flex: 1 1 calc(50% - 1rem); }
  .footer__mark { font-size: 9.6rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 1.6rem; }
  .gate__card { width: calc(100% - 3.2rem); padding: 3.2rem 2.4rem; }
  .gate__18 { font-size: 11rem; }
  .gate__q { font-size: 2.2rem; }
}
