/* =========================================================
   AQUESCE — theme stylesheet
   Tokens mirror aquesce-landing-spec.md §2. Do not restyle.
   ========================================================= */

:root {
  /* Ground */
  --aq-ground: #05070D;
  --aq-ground-glow: #0B1226;
  --aq-page-bg: radial-gradient(ellipse 120% 60% at 50% -10%, var(--aq-ground-glow) 0%, var(--aq-ground) 55%);

  /* Glass */
  --aq-glass: rgba(10, 14, 24, 0.55);
  --aq-glass-soft: rgba(10, 14, 24, 0.4);
  --aq-glass-blur: 14px;
  --aq-glass-border: 1px solid rgba(233, 238, 249, 0.14);
  --aq-radius-card: 20px;
  --aq-radius-panel: 28px;

  /* Text */
  --aq-text: #E9EEF9;
  --aq-text-2: #AEB8CC;
  --aq-muted: #8A93A8;
  --aq-faint: #5E6880;

  /* Accent */
  --aq-cyan: #5EE6FF;
  --aq-violet: #8B7CFF;
  --aq-grad: linear-gradient(120deg, #5EE6FF, #8B7CFF);
  --aq-on-grad: #05070D;

  /* Lines */
  --aq-hair: rgba(233, 238, 249, 0.12);
  --aq-hair-soft: rgba(233, 238, 249, 0.10);

  /* Type */
  --aq-display: 'Unbounded', ui-sans-serif, system-ui, sans-serif;
  --aq-body: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;
  --aq-h1: clamp(44px, 6.4vw, 88px);
  --aq-h2: clamp(30px, 3.6vw, 48px);

  /* Layout */
  --aq-max: 1240px;
  --aq-gutter: 28px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--aq-ground); color: var(--aq-text); font-family: var(--aq-body); }
a { color: var(--aq-text); text-decoration: none; }
a:hover { color: var(--aq-cyan); }
button { cursor: pointer; font-family: var(--aq-body); }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--aq-cyan); outline-offset: 3px; border-radius: 6px; }

.aq-page {
  min-height: 100vh;
  background: var(--aq-page-bg);
  color: var(--aq-text);
  font-family: var(--aq-body);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.aq-main { position: relative; z-index: 2; flex: 1 0 auto; outline: none; }
.aq-grow { flex-grow: 1; }

.aq-skip {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: var(--aq-grad); color: var(--aq-on-grad); font-weight: 600;
  padding: 12px 20px; border-radius: 999px;
}
.aq-skip:focus { top: 16px; color: var(--aq-on-grad); }
.aq-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Reusable pieces ---------- */
.aq-glass {
  background: var(--aq-glass);
  -webkit-backdrop-filter: blur(var(--aq-glass-blur));
  backdrop-filter: blur(var(--aq-glass-blur));
  border: var(--aq-glass-border);
}
.aq-container { position: relative; z-index: 2; max-width: var(--aq-max); margin: 0 auto; padding-left: var(--aq-gutter); padding-right: var(--aq-gutter); }

.aq-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  font-family: var(--aq-body); font-size: 15px; font-weight: 600;
  border-radius: 999px; padding: 15px 30px; min-height: 48px; border: none;
  text-align: center; line-height: 1.2;
}
.aq-pill--grad { background: var(--aq-grad); color: var(--aq-on-grad); }
.aq-pill--grad:hover { color: var(--aq-on-grad); filter: brightness(1.08); }
.aq-pill--outline {
  color: var(--aq-text); font-weight: 500; background: var(--aq-glass-soft);
  border: 1px solid rgba(233, 238, 249, 0.25);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.aq-pill--block { width: 100%; }
.aq-pill[disabled] { opacity: 0.5; cursor: not-allowed; }

.aq-icon-btn {
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(233, 238, 249, 0.25);
  background: transparent; color: var(--aq-text); font-size: 16px;
  display: inline-flex; align-items: center; justify-content: center;
}

.aq-label { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--aq-muted); }
.aq-label--cyan { color: var(--aq-cyan); }
.aq-h1 { margin: 0; font-family: var(--aq-display); font-weight: 300; font-size: var(--aq-h1); line-height: 1.02; letter-spacing: -0.01em; }
.aq-h2 { margin: 0; font-family: var(--aq-display); font-weight: 300; font-size: var(--aq-h2); line-height: 1.1; }
.aq-grad-text { background: var(--aq-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.aq-lede { margin: 0; font-size: 17px; line-height: 1.7; color: var(--aq-text-2); max-width: 34em; }
.aq-muted { color: var(--aq-muted); }
.aq-faint-sm { font-size: 12px; color: var(--aq-muted); line-height: 1.6; }
.aq-row-between { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.aq-rte { color: var(--aq-text-2); line-height: 1.7; max-width: 42em; }
.aq-rte a { color: var(--aq-cyan); text-decoration: underline; }

.aq-dotmark { display: inline-flex; align-items: center; gap: 4px; }
.aq-dotmark > span { width: var(--d); height: var(--d); border-radius: 50%; background: var(--c); display: block; }

/* ---------- Nav ---------- */
.aq-nav {
  position: relative; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 20px;
  margin: 20px auto 0; width: calc(100% - 2 * 16px); max-width: var(--aq-max);
  padding: 12px 20px 12px 28px; border-radius: 999px;
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.aq-logo { font-family: var(--aq-display); font-weight: 500; font-size: 17px; letter-spacing: 0.1em; color: var(--aq-text); }
.aq-logo--lg { font-size: 18px; }
.aq-nav__link { font-size: 14px; color: var(--aq-text-2); min-height: 44px; display: inline-flex; align-items: center; }
.aq-bag { font-size: 14px; padding: 11px 22px; min-height: 44px; }
@media (max-width: 520px) {
  .aq-nav { gap: 12px; padding: 10px 12px 10px 20px; border-radius: 28px; }
  .aq-nav__link { font-size: 13px; }
}

/* ---------- Footer ---------- */
.aq-footer { position: relative; z-index: 2; border-top: 1px solid var(--aq-hair-soft); background: rgba(10, 14, 24, 0.5); margin-top: 40px; }
.aq-footer__inner { max-width: var(--aq-max); margin: 0 auto; padding: 48px var(--aq-gutter); display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.aq-footer__tag, .aq-footer__meta { font-size: 13px; color: var(--aq-muted); }
.aq-footer__link { font-size: 13px; color: var(--aq-text-2); min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- Cart drawer (shell) ---------- */
.aq-drawer { position: fixed; inset: 0; z-index: 100; }
.aq-drawer[hidden] { display: none; }
.aq-drawer__scrim { position: absolute; inset: 0; background: rgba(5, 7, 13, 0.6); opacity: 0; transition: opacity .3s ease; }
.aq-drawer__panel {
  position: absolute; top: 12px; right: 12px; bottom: 12px; width: min(420px, calc(100% - 24px));
  border-radius: 24px; display: flex; flex-direction: column; color: var(--aq-text);
  background: rgba(10, 14, 24, 0.82);
  transform: translateX(110%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.aq-drawer.is-open .aq-drawer__scrim { opacity: 1; }
.aq-drawer.is-open .aq-drawer__panel { transform: translateX(0); }
.aq-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 16px 24px; border-bottom: 1px solid var(--aq-hair); }
.aq-drawer__title { margin: 0; font-family: var(--aq-display); font-weight: 300; font-size: 20px; }
.aq-drawer__body { flex: 1 1 auto; overflow-y: auto; padding: 16px 24px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.aq-drawer__foot { padding: 18px 24px 24px; border-top: 1px solid var(--aq-hair); display: flex; flex-direction: column; gap: 10px; }
.aq-subtotal { font-family: var(--aq-display); font-size: 18px; }
.aq-lines { list-style: none; margin: 0; padding: 0; width: 100%; }
.aq-line { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--aq-hair); }
.aq-line__name { font-family: var(--aq-display); font-size: 14px; font-weight: 400; line-height: 1.35; }
.aq-line__right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.aq-line__remove { font-size: 12px; color: var(--aq-muted); text-decoration: underline; min-height: 44px; display: inline-flex; align-items: center; }
html.aq-locked, html.aq-locked body { overflow: hidden; }

/* ---------- Background animation layer ---------- */
@keyframes aqOrb {
  0%   { border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%; transform: rotate(0deg) scale(1); }
  33%  { border-radius: 45% 55% 48% 52% / 55% 45% 58% 42%; transform: rotate(8deg) scale(1.06); }
  66%  { border-radius: 52% 48% 42% 58% / 44% 52% 48% 56%; transform: rotate(-6deg) scale(0.97); }
  100% { border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%; transform: rotate(0deg) scale(1); }
}
@keyframes aqFloat { 0% { transform: translateY(0); } 50% { transform: translateY(-16px); } 100% { transform: translateY(0); } }
@keyframes aqMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes aqPulse { 0% { opacity: .45; } 50% { opacity: 1; } 100% { opacity: .45; } }
@keyframes aqTwinkle { 0% { opacity: .55; } 50% { opacity: 1; } 100% { opacity: .55; } }
@keyframes aqDrift { 0% { background-position: 0 0; } 100% { background-position: -420px -420px; } }
@keyframes aqDrift2 { 0% { background-position: 0 0; } 100% { background-position: 540px -540px; } }
@keyframes aqShoot {
  0%   { transform: translate(0, 0) rotate(-35deg); opacity: 0; }
  4%   { opacity: 1; }
  14%  { transform: translate(-520px, 364px) rotate(-35deg); opacity: 0; }
  100% { transform: translate(-520px, 364px) rotate(-35deg); opacity: 0; }
}
@keyframes aqRise {
  0%   { transform: translate(0, 0); opacity: 0; }
  12%  { opacity: .85; }
  85%  { opacity: .4; }
  100% { transform: translate(40px, -760px); opacity: 0; }
}
@keyframes aqSpin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes aqSpinRev { 0% { transform: rotate(360deg); } 100% { transform: rotate(0deg); } }
@keyframes aqHue { 0% { filter: blur(12px) hue-rotate(0deg); } 50% { filter: blur(12px) hue-rotate(50deg); } 100% { filter: blur(12px) hue-rotate(0deg); } }
@keyframes aqHalo { 0% { opacity: .35; transform: scale(.94); } 50% { opacity: .8; transform: scale(1.06); } 100% { opacity: .35; transform: scale(.94); } }

.aq-backdrop { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }

.aq-stars { position: absolute; inset: 0; background-repeat: repeat; pointer-events: none; }
.aq-stars--a {
  background-image:
    radial-gradient(1px 1px at 25px 35px, rgba(233,238,249,0.9), transparent 60%),
    radial-gradient(1px 1px at 120px 180px, rgba(233,238,249,0.7), transparent 60%),
    radial-gradient(1.6px 1.6px at 230px 85px, rgba(94,230,255,0.95), transparent 60%),
    radial-gradient(1px 1px at 330px 270px, rgba(233,238,249,0.6), transparent 60%),
    radial-gradient(1.2px 1.2px at 65px 310px, rgba(139,124,255,0.85), transparent 60%),
    radial-gradient(1px 1px at 280px 380px, rgba(233,238,249,0.75), transparent 60%);
  background-size: 420px 420px;
  animation: aqTwinkle 4.5s ease-in-out infinite, aqDrift 220s linear infinite;
}
.aq-stars--b {
  background-image:
    radial-gradient(1px 1px at 80px 60px, rgba(233,238,249,0.55), transparent 60%),
    radial-gradient(1px 1px at 200px 240px, rgba(94,230,255,0.5), transparent 60%),
    radial-gradient(1px 1px at 420px 140px, rgba(233,238,249,0.45), transparent 60%),
    radial-gradient(1.4px 1.4px at 340px 420px, rgba(139,124,255,0.6), transparent 60%),
    radial-gradient(1px 1px at 500px 320px, rgba(233,238,249,0.5), transparent 60%);
  background-size: 540px 540px;
  animation: aqTwinkle 7s ease-in-out 1.2s infinite, aqDrift2 320s linear infinite;
}

.aq-nebula { position: absolute; }
.aq-nebula--1 {
  top: -140px; left: 30%; width: 720px; height: 480px;
  background: radial-gradient(ellipse at 45% 50%, rgba(139,124,255,0.22), rgba(94,110,255,0.1) 50%, rgba(5,7,13,0) 72%);
  animation: aqOrb 22s ease-in-out infinite, aqHue 16s ease-in-out infinite;
}
.aq-nebula--2 {
  top: 1100px; left: -220px; width: 620px; height: 620px;
  background: radial-gradient(circle at 55% 45%, rgba(94,230,255,0.16), rgba(139,124,255,0.08) 50%, rgba(5,7,13,0) 72%);
  filter: blur(14px);
  animation: aqOrb 26s ease-in-out 3s infinite;
}
.aq-nebula--3 {
  top: 1750px; right: -260px; width: 700px; height: 700px;
  background: radial-gradient(circle at 40% 50%, rgba(139,124,255,0.18), rgba(255,155,224,0.07) 55%, rgba(5,7,13,0) 74%);
  animation: aqOrb 30s ease-in-out 6s infinite, aqHue 24s ease-in-out 4s infinite;
}

.aq-anchor { position: absolute; width: 170px; height: 2px; }
.aq-shoot {
  position: absolute; inset: 0; border-radius: 999px; opacity: 0;
  background: linear-gradient(90deg, rgba(94,230,255,0), #E9EEF9 55%, rgba(94,230,255,0));
  animation-name: aqShoot; animation-timing-function: linear; animation-iteration-count: infinite;
}

.aq-drop-path { position: absolute; width: 50px; height: 766px; }
.aq-drop {
  position: absolute; left: 0; bottom: 0; width: 5px; height: 5px; border-radius: 50%;
  background: rgba(94,230,255,0.55); box-shadow: 0 0 8px rgba(94,230,255,0.6);
  filter: blur(0.5px); opacity: 0;
  animation-name: aqRise; animation-timing-function: linear; animation-iteration-count: infinite;
}
.aq-drop--sm { width: 4px; height: 4px; }
.aq-drop--lg { width: 6px; height: 6px; }

/* ---------- Battery + motion controls ---------- */
/* aquesce.js adds .is-offscreen to any .aq-io element outside the viewport */
.aq-io.is-offscreen, .aq-io.is-offscreen * { animation-play-state: paused !important; }
/* Tab hidden → pause everything */
html.aq-tab-hidden *, html.aq-tab-hidden *::before, html.aq-tab-hidden *::after { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .aq-shoot, .aq-drop { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ---------- Generic page shell (used until Phases 4–5 replace templates) ---------- */
.aq-section { padding-top: 72px; padding-bottom: 56px; }
.aq-stack { display: flex; flex-direction: column; gap: 22px; }
.aq-panel { border-radius: var(--aq-radius-panel); padding: 40px; }
@media (max-width: 600px) { .aq-panel { padding: 28px 22px; } }
.aq-field {
  background: rgba(10,14,24,0.6); color: var(--aq-text); border: 1px solid rgba(233,238,249,0.25);
  border-radius: 999px; padding: 12px 18px; min-height: 48px; font: inherit; font-size: 15px;
}
.aq-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.aq-card { flex: 1 1 260px; min-width: 0; border-radius: var(--aq-radius-card); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.aq-card__name { font-family: var(--aq-display); font-weight: 400; font-size: 17px; line-height: 1.3; }

/* =========================================================
   PHASE 2 — Homepage sections
   ========================================================= */

/* ---------- Shared section heads ---------- */
.aq-block-sec { padding-top: 88px; padding-bottom: 40px; }
.aq-block-sec--lineup { padding-top: 72px; padding-bottom: 24px; }
.aq-sec-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px; margin-bottom: 40px; }
.aq-block-sec--lineup .aq-sec-head { margin-bottom: 36px; }
.aq-sec-sub { font-size: 13px; letter-spacing: 0.16em; color: var(--aq-muted); }
.aq-h2--sm { font-size: clamp(26px, 3vw, 40px); }
.aq-label--sm { font-size: 11px; letter-spacing: 0.22em; }
.aq-editor-note { margin: 14px 0 0; padding: 10px 14px; border: 1px dashed rgba(94,230,255,0.5); border-radius: 12px; font-size: 12px; color: var(--aq-cyan); }
.aq-fda { margin: 22px 0 0; font-size: 11px; line-height: 1.6; color: var(--aq-faint); max-width: 72em; }

/* ---------- Hero ---------- */
.aq-hero {
  position: relative; max-width: var(--aq-max); margin: 0 auto;
  padding: 72px var(--aq-gutter) 96px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 48px;
}
.aq-hero__glow { position: absolute; pointer-events: none; }
.aq-hero__glow--a {
  top: 40px; right: -80px; width: 560px; height: 560px; filter: blur(10px);
  background: radial-gradient(circle at 35% 30%, rgba(94,230,255,0.55), rgba(139,124,255,0.35) 45%, rgba(94,110,255,0.12) 70%, rgba(5,7,13,0) 75%);
  animation: aqOrb 14s ease-in-out infinite;
}
.aq-hero__glow--b {
  bottom: -120px; left: -140px; width: 420px; height: 420px; filter: blur(14px);
  background: radial-gradient(circle at 60% 40%, rgba(139,124,255,0.28), rgba(5,7,13,0) 70%);
  animation: aqOrb 18s ease-in-out infinite;
}
.aq-hero__copy { position: relative; z-index: 2; flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.aq-badge {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  border: 1px solid rgba(94,230,255,0.4); border-radius: 999px; padding: 8px 16px;
  font-size: 12px; letter-spacing: 0.18em; color: var(--aq-cyan); background: rgba(94,230,255,0.06);
}
.aq-badge__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--aq-cyan); animation: aqPulse 2.4s ease-in-out infinite; }
.aq-btnrow { display: flex; flex-wrap: wrap; gap: 14px; }
.aq-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.aq-chip {
  border: var(--aq-glass-border); border-radius: 14px; padding: 12px 18px;
  background: rgba(10,14,24,0.5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.aq-chip__val { font-family: var(--aq-display); font-size: 18px; font-weight: 400; }
.aq-chip__unit { font-size: 12px; }
.aq-chip__label { font-size: 11px; letter-spacing: 0.14em; color: var(--aq-muted); margin-top: 3px; }

.aq-hero__art { position: relative; z-index: 2; flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; padding: 20px 0; }
.aq-ring { position: absolute; top: 50%; left: 50%; border-radius: 50%; pointer-events: none; }
.aq-ring--dash { width: 480px; height: 480px; margin: -240px 0 0 -240px; border: 1px dashed rgba(94,230,255,0.28); animation: aqSpin 48s linear infinite; }
.aq-ring--solid { width: 560px; height: 560px; margin: -280px 0 0 -280px; border: 1px solid rgba(139,124,255,0.16); animation: aqSpinRev 70s linear infinite; }
.aq-ring__sat { position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--aq-violet); box-shadow: 0 0 12px rgba(139,124,255,0.9); display: block; }
.aq-halo {
  position: absolute; top: 50%; left: 50%; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%;
  background: radial-gradient(circle, rgba(94,230,255,0.14), rgba(5,7,13,0) 65%); animation: aqHalo 7s ease-in-out infinite;
}
@media (max-width: 600px) {
  .aq-ring--dash { width: 340px; height: 340px; margin: -170px 0 0 -170px; }
  .aq-ring--solid { width: 390px; height: 390px; margin: -195px 0 0 -195px; }
  .aq-halo { width: 320px; height: 320px; margin: -160px 0 0 -160px; }
}

/* Hero bottle */
.aq-float { position: relative; display: flex; flex-direction: column; align-items: center; animation: aqFloat 6s ease-in-out infinite; }
.aq-b-tip { width: 22px; height: 52px; background: linear-gradient(180deg, #1A2030, #0C101B); border: 1px solid rgba(233,238,249,0.2); border-radius: 4px 4px 0 0; display: block; }
.aq-b-collar { width: 54px; height: 38px; background: linear-gradient(180deg, #151A28, #0A0E18); border: 1px solid rgba(233,238,249,0.2); border-radius: 8px; display: block; }
.aq-b-body {
  width: 170px; height: 330px; border-radius: 16px 16px 22px 22px; border: 1px solid rgba(94,230,255,0.35);
  background: linear-gradient(165deg, rgba(94,230,255,0.16), rgba(139,124,255,0.1) 40%, rgba(10,14,24,0.85) 75%);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 30px 80px rgba(94,230,255,0.18), inset 0 0 40px rgba(94,230,255,0.07);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; position: relative;
}
.aq-b-shine { position: absolute; top: 18px; left: 16px; width: 10px; height: 200px; border-radius: 999px; background: linear-gradient(180deg, rgba(233,238,249,0.5), rgba(233,238,249,0)); }
.aq-b-brand { font-family: var(--aq-display); font-size: 13px; font-weight: 500; letter-spacing: 0.22em; }
.aq-b-rule { width: 54px; height: 1px; background: var(--aq-grad); display: block; }
.aq-b-name { font-size: 12px; letter-spacing: 0.12em; color: var(--aq-text-2); text-align: center; line-height: 1.8; }
.aq-b-code { font-size: 10px; letter-spacing: 0.2em; color: var(--aq-cyan); }
.aq-b-vol { position: absolute; bottom: 16px; font-size: 10px; letter-spacing: 0.16em; color: var(--aq-muted); }

/* ---------- Marquee ---------- */
.aq-marquee { position: relative; z-index: 2; border-top: 1px solid var(--aq-hair-soft); border-bottom: 1px solid var(--aq-hair-soft); padding: 16px 0; overflow: hidden; background: rgba(10,14,24,0.4); }
.aq-marquee__track { display: flex; white-space: nowrap; width: max-content; animation: aqMarquee 28s linear infinite; }
.aq-marquee__item { font-family: var(--aq-display); font-weight: 300; font-size: 13px; letter-spacing: 0.26em; color: var(--aq-muted); padding-right: 60px; }

/* ---------- Featured product (#shop) ---------- */
.aq-feature { display: flex; flex-wrap: wrap; gap: 40px; padding: 44px 40px; }
@media (max-width: 600px) { .aq-feature { padding: 32px 22px; } }
.aq-feature__art { flex: 1 1 340px; min-width: 0; display: flex; align-items: center; justify-content: center; padding: 10px 0; }
.aq-feature__info { flex: 1.4 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.aq-feature__name { font-family: var(--aq-display); font-weight: 300; font-size: clamp(26px, 3vw, 38px); line-height: 1.15; }
.aq-feature__desc { font-size: 15px; line-height: 1.7; color: var(--aq-text-2); }
.aq-v-col { display: flex; flex-direction: column; align-items: center; }
.aq-b-tip--sm { width: 18px; height: 42px; border-color: rgba(233,238,249,0.22); }
.aq-b-collar--sm { width: 46px; height: 33px; border-radius: 7px; border-color: rgba(233,238,249,0.22); }
.aq-b-body--sm {
  width: 142px; height: 280px; border-radius: 13px 13px 17px 17px; border-color: rgba(94,230,255,0.3);
  background: linear-gradient(165deg, rgba(94,230,255,0.12), rgba(139,124,255,0.08) 40%, rgba(10,14,24,0.9) 75%);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 26px 60px rgba(94,230,255,0.15), inset 7px 0 14px rgba(233,238,249,0.05), inset -10px 0 18px rgba(0,0,0,0.45);
  gap: 0;
}
.aq-label-wrap { width: 118px; height: 134px; overflow: hidden; border-radius: 3px; box-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.aq-label-front {
  width: 168px; height: 192px; transform: scale(0.7); transform-origin: top left;
  background: #0A0F1E; color: #F2F5FD; border: 1px solid rgba(242,245,253,0.22); padding: 12px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.aq-lf-brand { font-family: var(--aq-display); font-weight: 500; font-size: 11px; letter-spacing: 0.26em; }
.aq-lf-brand sup { font-size: 6px; }
.aq-lf-dots { margin-top: 8px; }
.aq-lf-name { font-family: var(--aq-display); font-weight: 300; font-size: 15px; line-height: 1.25; margin-top: 11px; }
.aq-lf-code { font-size: 7px; letter-spacing: 0.22em; margin-top: 8px; color: var(--aq-cyan); font-weight: 600; }
.aq-lf-sub { font-size: 6.5px; letter-spacing: 0.14em; margin-top: 3px; color: #9AA6C2; }
.aq-lf-rule { width: 100%; height: 1px; background: var(--aq-grad); display: block; }
.aq-lf-vol { width: 100%; padding-top: 5px; display: flex; justify-content: space-between; font-size: 7.5px; letter-spacing: 0.1em; font-weight: 600; }

.aq-specs { display: flex; flex-direction: column; border-top: 1px solid var(--aq-hair); }
.aq-spec { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--aq-hair); font-size: 13.5px; }
.aq-spec > span:first-child { color: var(--aq-muted); flex-shrink: 0; }
.aq-spec > span:last-child { text-align: right; }
.aq-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 6px; }
.aq-price { font-family: var(--aq-display); font-weight: 400; font-size: 30px; }
.aq-buy .aq-pill { padding: 15px 34px; }
.aq-foot-note { font-size: 12px; color: var(--aq-muted); }

/* Stepper */
.aq-stepper { display: flex; align-items: center; border: 1px solid rgba(233,238,249,0.25); border-radius: 999px; overflow: hidden; }
.aq-stepper__btn { font-size: 18px; background: none; border: none; color: var(--aq-text); width: 44px; min-height: 48px; }
.aq-stepper__val {
  width: 34px; text-align: center; font: 600 15px var(--aq-body); color: var(--aq-text);
  background: transparent; border: none; padding: 0; -moz-appearance: textfield; appearance: textfield;
}
.aq-stepper__val::-webkit-outer-spin-button, .aq-stepper__val::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- Lineup ---------- */
.aq-card__tags { display: flex; justify-content: space-between; gap: 10px; }
.aq-card__code { font-size: 11px; letter-spacing: 0.2em; color: var(--aq-cyan); }
.aq-card__tag { font-size: 11px; letter-spacing: 0.14em; color: var(--aq-muted); text-align: right; }
.aq-card__name { margin: 0; }
.aq-card__name a { color: inherit; }
.aq-card__name a:hover { color: var(--aq-cyan); }
.aq-card__desc { margin: 0; font-size: 13px; line-height: 1.6; color: var(--aq-text-2); }
.aq-card__meta { font-size: 11px; letter-spacing: 0.12em; color: var(--aq-muted); }
.aq-card__buy { display: flex; align-items: center; gap: 12px; }
.aq-card__price { font-family: var(--aq-display); font-size: 16px; }
.aq-pill-sm {
  display: inline-flex; align-items: center; font-family: var(--aq-body); font-size: 13px; font-weight: 600; color: var(--aq-text);
  background: none; border: 1px solid rgba(94,230,255,0.45); border-radius: 999px; padding: 10px 18px; min-height: 44px;
}
.aq-pill-sm:hover { color: var(--aq-cyan); }
.aq-pill-sm[disabled] { opacity: 0.5; cursor: not-allowed; }

/* Vessels */
.aq-vessel { height: 104px; display: flex; align-items: center; justify-content: center; }
.aq-v-jarlid { width: 78px; height: 14px; background: linear-gradient(180deg, #1A2030, #0C101B); border: 1px solid rgba(233,238,249,0.25); border-radius: 5px 5px 2px 2px; display: block; }
.aq-v-jar { width: 72px; height: 48px; margin-top: 2px; border-radius: 8px 8px 14px 14px; border: 1px solid rgba(94,230,255,0.35); background: linear-gradient(165deg, rgba(94,230,255,0.14), rgba(139,124,255,0.1) 45%, rgba(10,14,24,0.9)); box-shadow: 0 12px 30px rgba(94,230,255,0.15); display: block; }
.aq-v-dtip { width: 8px; height: 16px; background: linear-gradient(180deg, #1A2030, #0C101B); border: 1px solid rgba(233,238,249,0.25); border-radius: 2px 2px 0 0; display: block; }
.aq-v-dcollar { width: 20px; height: 13px; background: linear-gradient(180deg, #151A28, #0A0E18); border: 1px solid rgba(233,238,249,0.25); border-radius: 3px; display: block; }
.aq-v-dbody { width: 40px; height: 62px; border-radius: 5px 5px 7px 7px; border: 1px solid rgba(139,124,255,0.4); background: linear-gradient(165deg, rgba(139,124,255,0.16), rgba(94,230,255,0.08) 45%, rgba(10,14,24,0.9)); box-shadow: 0 12px 30px rgba(139,124,255,0.16); display: block; }
.aq-v-gumcap { width: 34px; height: 13px; background: linear-gradient(180deg, #E9EEF9, #AEB8CC); border-radius: 3px; display: block; }
.aq-v-gum { width: 52px; height: 60px; border-radius: 7px; border: 1px solid rgba(255,155,224,0.45); background: linear-gradient(180deg, rgba(255,155,224,0.3), rgba(255,100,130,0.22) 70%, rgba(10,14,24,0.85)); box-shadow: 0 12px 30px rgba(255,155,224,0.16); display: block; }
.aq-v-tin { width: 60px; height: 60px; border-radius: 14px; border: 1px solid rgba(94,230,255,0.4); background: linear-gradient(145deg, rgba(94,230,255,0.14), rgba(139,124,255,0.12) 55%, rgba(10,14,24,0.9)); box-shadow: 0 12px 30px rgba(94,230,255,0.14); display: flex; align-items: center; justify-content: center; }
.aq-v-tinline { width: 26px; height: 2px; border-radius: 999px; background: var(--aq-grad); display: block; }

/* ---------- Science + ritual ---------- */
.aq-science { padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.aq-science__copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.aq-science__p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--aq-text-2); max-width: 36em; }
.aq-forms { display: flex; flex-direction: column; max-width: 540px; border-top: 1px solid var(--aq-hair); }
.aq-form { display: flex; align-items: baseline; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--aq-hair); }
.aq-form__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); flex-shrink: 0; align-self: center; }
.aq-form__name { font-size: 13.5px; font-weight: 600; width: 150px; flex-shrink: 0; }
.aq-form__desc { font-size: 13px; color: var(--aq-text-2); }
@media (max-width: 480px) { .aq-form { flex-wrap: wrap; } .aq-form__desc { flex-basis: 100%; padding-left: 23px; } }
.aq-ritual { flex: 1 1 380px; min-width: 0; border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.aq-step { display: flex; gap: 16px; align-items: baseline; }
.aq-step__num { font-family: var(--aq-display); font-weight: 300; font-size: 22px; color: var(--aq-cyan); }
.aq-step__text { font-size: 15px; line-height: 1.6; color: var(--aq-text); }
.aq-ritual__foot { border-top: 1px solid var(--aq-hair); padding-top: 18px; font-size: 13px; color: var(--aq-muted); line-height: 1.6; }

/* Footer on home sits flush like the reference */
.template-index .aq-footer { margin-top: 0; }

/* =========================================================
   STANDALONE SITE additions
   ========================================================= */
.aq-footer { margin-top: 0; }
.aq-footer__meta a { color: var(--aq-muted); text-decoration: underline; }
.aq-line__remove { background: none; border: none; padding: 0; font: inherit; font-size: 12px; cursor: pointer; }
.aq-stepper--sm { margin-top: 8px; display: inline-flex; }
.aq-stepper--sm .aq-stepper__btn { width: 44px; min-height: 44px; font-size: 16px; }
.aq-stepper--sm .aq-stepper__val { display: inline-flex; align-items: center; justify-content: center; width: 28px; font-size: 14px; }
.aq-preview-note { margin: 0; font-size: 12px; color: var(--aq-cyan); }
.aq-v-dbody--cyan { border-color: rgba(94,230,255,0.4); background: linear-gradient(165deg, rgba(94,230,255,0.16), rgba(139,124,255,0.08) 45%, rgba(10,14,24,0.9)); box-shadow: 0 12px 30px rgba(94,230,255,0.16); }
.aq-vessel--big { height: 300px; transform: scale(2.4); transform-origin: center; }
@media (max-width: 600px) { .aq-vessel--big { height: 220px; transform: scale(1.9); } }
.aq-fda { display: none; }

/* Accordions (ingredients, FAQ) */
.aq-acc { border-bottom: 1px solid var(--aq-hair); }
.aq-acc:first-child { border-top: 1px solid var(--aq-hair); }
.aq-acc summary { cursor: pointer; min-height: 52px; display: flex; align-items: center; gap: 16px; font-size: 15px; color: var(--aq-text); list-style: none; }
.aq-acc summary::-webkit-details-marker { display: none; }
.aq-acc summary::after { content: "+"; margin-left: auto; color: var(--aq-cyan); font-size: 20px; }
.aq-acc[open] summary::after { content: "\2212"; }
.aq-acc p { margin: 0 0 16px; font-size: 14px; line-height: 1.7; color: var(--aq-text-2); max-width: 44em; }
.aq-acc-group { margin-top: 4px; }

/* About */
.aq-about { padding-top: 24px; padding-bottom: 40px; }
.aq-about__card { border-radius: 28px; padding: 44px 40px; display: flex; flex-direction: column; gap: 18px; max-width: 880px; }
@media (max-width: 600px) { .aq-about__card { padding: 30px 22px; } }
.aq-about__card p { margin: 0; font-size: 16px; line-height: 1.75; color: var(--aq-text-2); max-width: 40em; }
.aq-about__sign { font-family: var(--aq-display); font-weight: 300; font-size: 15px; letter-spacing: .04em; color: var(--aq-text); }

/* FAQ */
.aq-faq { padding-top: 40px; padding-bottom: 80px; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-start; }
.aq-faq > .aq-h2 { flex: 1 1 280px; min-width: 0; }
.aq-faq__list { flex: 2 1 480px; min-width: 0; }

/* Product page */
.aq-pdp { padding-top: 56px; padding-bottom: 40px; }
.aq-crumb { font-size: 13px; color: var(--aq-muted); margin-bottom: 20px; }
.aq-crumb a { color: var(--aq-text-2); }
.aq-pdp__art { flex: 1 1 340px; min-width: 0; display: flex; align-items: center; justify-content: center; min-height: 360px; position: relative; }
.aq-pdp__art .aq-halo { width: 360px; height: 360px; margin: -180px 0 0 -180px; }
.aq-pairs { padding-top: 40px; padding-bottom: 40px; }

/* 3D hologram embeds */
.aq-holo-sec { padding-top: 64px; padding-bottom: 24px; }
.aq-holo-sec--skin { padding-top: 8px; padding-bottom: 40px; }
.aq-holo { position: relative; width: 100%; height: min(86vh, 760px); min-height: 520px; border-radius: 20px; overflow: hidden; background: #05070D; border: var(--aq-glass-border); }
.aq-holo iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 600px) { .aq-holo { min-height: 480px; height: 78vh; } }
