/* =========================================================
   ZERO — Wave Pro  |  "Midnight Ice" palette
   ========================================================= */
:root {
  --bg-1: #0f1e33;
  --bg-mid: #3d5f8a;
  --bg-2: #a9c2de;
  --card: #ffffff;
  --primary-dark: #13294b;
  --primary: #2f5b8f;
  --primary-light: #b9cde6;
  --text: #0b1220;
  --muted: #4b5668;
  --accent: #ff5a36;
  --badge: #d63a1e;
  --focus: #13294b;

  /* ring tints — switched per color variant */
  --ring-1: #f1f5fa;
  --ring-2: #d9e5f3;
  --ring-3: #aec5e1;
  --ring-4: #7397c4;

  --f-display: "Krona One", "Michroma", system-ui, sans-serif;
  --f-tech: "Michroma", "Krona One", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --radius: 18px;
  --shadow: 0 40px 80px -24px rgba(8, 18, 38, .55), 0 10px 24px rgba(8, 18, 38, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 85% 0%, rgba(15, 30, 51, .9), transparent 60%),
    radial-gradient(900px 700px at 0% 100%, rgba(169, 194, 222, .95), transparent 60%),
    linear-gradient(225deg, var(--bg-1) 0%, var(--bg-mid) 50%, var(--bg-2) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px;
  background: var(--primary-dark); color: #fff; border-radius: 999px; text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 999px; }

/* ---------- page & card ---------- */
.page {
  width: min(88vw, 1320px);
  margin: 0 auto;
  padding: clamp(28px, 6vh, 96px) 0 110px; /* bottom room so the sticky buy bar never covers the footer */
  display: grid;
  gap: clamp(28px, 4vw, 56px);
}
.card {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  isolation: isolate;
}

/* ---------- HERO ---------- */
.hero {
  aspect-ratio: 1268 / 742;
  min-height: 620px;
  padding: 0 clamp(24px, 4.7%, 64px);
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
.hero[data-variant="onyx"]     { --ring-1:#f1f5fa; --ring-2:#d9e5f3; --ring-3:#aec5e1; --ring-4:#7397c4; }
.hero[data-variant="midnight"] { --ring-1:#f3f3fb; --ring-2:#dfe0f3; --ring-3:#b7b9e2; --ring-4:#7f83c4; }
.hero[data-variant="pearl"]    { --ring-1:#f5f8fb; --ring-2:#e7eef6; --ring-3:#cbd9e9; --ring-4:#9fb7d3; }

/* rings: concentric discs centred at bottom-right area */
.rings { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ring {
  position: absolute;
  left: 86%; top: 100%;
  border-radius: 50%;
  translate: -50% -50%;
  transition: background-color .5s var(--ease), transform .5s var(--ease);
  will-change: transform;
}
.ring.r1 { width: 92%; aspect-ratio: 1; background: radial-gradient(circle at 50% 40%, #fff 0%, var(--ring-1) 70%); }
.ring.r2 { width: 70%; aspect-ratio: 1; background-color: var(--ring-2); box-shadow: 0 -1px 0 rgba(255,255,255,.9), 0 -24px 60px -30px rgba(19,41,75,.35); }
.ring.r3 { width: 48%; aspect-ratio: 1; background-color: var(--ring-3); box-shadow: 0 -1px 0 rgba(255,255,255,.7), 0 -24px 60px -30px rgba(19,41,75,.4); }
.ring.r4 { width: 28%; aspect-ratio: 1; background-color: var(--ring-4); box-shadow: inset 0 18px 40px rgba(8,18,38,.25), 0 -1px 0 rgba(255,255,255,.6); }

/* header */
.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: clamp(72px, 15%, 112px);
  position: relative;
  z-index: 5;
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--primary-dark); justify-self: start;
}
.logo-mark { display: inline-flex; color: var(--primary); transition: transform .48s var(--spring); }
.logo:hover .logo-mark { transform: rotate(90deg); }
.logo:active { transform: scale(.96); }
.logo-word { font-family: var(--f-tech); font-size: clamp(16px, 1.5vw, 22px); letter-spacing: .2em; }
.logo.light { color: #fff; }
.logo.light .logo-mark { color: var(--primary-light); }

.pill-nav {
  position: relative;
  background: var(--primary-light);
  border-radius: 999px;
  padding: 4px;
  width: clamp(460px, 45vw, 660px);
}
.pill-nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; position: relative; z-index: 1; }
.pill-nav a {
  display: block;
  padding: 10px clamp(12px, 1.6vw, 26px);
  font-family: var(--f-tech);
  font-size: clamp(10px, .8vw, 12px);
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--primary-dark);
  white-space: nowrap;
  border-radius: 999px;
  transition: color .24s var(--ease);
}
.pill-indicator {
  position: absolute; top: 4px; bottom: 4px; left: 0; width: 0;
  background: rgba(255,255,255,.75);
  border-radius: 999px;
  transition: left .28s var(--ease), width .28s var(--ease), opacity .2s;
  box-shadow: 0 2px 8px rgba(19,41,75,.15);
}

.header-actions { justify-self: end; display: flex; gap: 6px; align-items: center; }
.icon-btn {
  position: relative;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 0; background: transparent; border-radius: 50%;
  color: var(--text);
  transition: background-color .15s var(--ease), transform .15s var(--ease);
}
.icon-btn:hover { background: rgba(11, 18, 32, .07); }
.icon-btn:hover svg { transform: rotate(-8deg); }
.icon-btn svg { transition: transform .24s var(--ease); }
.icon-btn:active { transform: scale(.92); }
.badge {
  position: absolute; top: 6px; right: 5px;
  min-width: 9px; height: 9px; border-radius: 999px;
  background: var(--accent);
  font: 700 10px/16px var(--f-body); color: #fff; text-align: center;
  box-shadow: 0 0 0 2px #fff;
}
.badge.has-count { min-width: 18px; height: 18px; top: 2px; right: 0; padding: 0 4px; background: var(--badge); }
.badge.bump { animation: bump .36s var(--spring); }
.cart-btn.wiggle svg { animation: wiggle .4s var(--ease); }
@keyframes bump { 0% { transform: scale(0); } 70% { transform: scale(1.25); } 100% { transform: scale(1); } }
@keyframes wiggle { 25% { transform: rotate(-6deg); } 75% { transform: rotate(6deg); } }
.menu-btn { display: none; }
.burger { display: grid; gap: 5px; width: 20px; }
.burger i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .24s var(--ease), opacity .2s; }
.menu-btn[aria-expanded="true"] .burger i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .burger i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .burger i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* hero grid */
.hero-grid { flex: 1; position: relative; display: grid; grid-template-columns: 45% 1fr; }
.hero-copy {
  align-self: stretch;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  width: fit-content;
  padding-bottom: clamp(56px, 8%, 80px);
  position: relative; z-index: 3;
}

.title { margin: 0; display: inline-grid; line-height: 1; font-weight: 400; }
.wave {
  font-family: var(--f-display);
  font-size: clamp(64px, 10.4vw, 152px);
  letter-spacing: -.01em;
  line-height: .9;
  color: var(--text);
  display: inline-flex; align-items: baseline;
}
/* stylised reversed E: three bars + right stem */
.e3 {
  display: inline-flex; flex-direction: column; justify-content: space-between;
  width: .6em; height: .72em; margin-left: .04em;
  border-right: .14em solid currentColor;
  align-self: flex-end; margin-bottom: .1em;
}
.e3 i { display: block; height: .14em; background: currentColor; }
.e3 i:nth-child(2) { width: 82%; margin-left: auto; }
.pro {
  justify-self: end;
  margin-top: 6px;
  background: var(--primary);
  color: #fff;
  font-family: var(--f-tech);
  font-size: clamp(11px, 1vw, 15px);
  letter-spacing: .22em;
  padding: 6px 10px 6px 14px;
  position: relative; overflow: hidden;
}
.pro::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: shimmer 1.2s 1.4s var(--ease) forwards;
}
@keyframes shimmer { to { transform: translateX(120%); } }

.tagline {
  margin: clamp(10px, 1.4vw, 18px) 0 0;
  font-family: var(--f-tech);
  font-size: clamp(26px, 3.6vw, 54px);
  line-height: 1;
  letter-spacing: .03em;
  color: var(--text);
  white-space: nowrap;
}
.subline {
  margin: 12px 0 0;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: clamp(12px, 1vw, 15px);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.subline strong { color: var(--primary); font-weight: 800; }
.subline sup a { text-decoration: none; color: var(--primary); padding: 0 2px; }

.swatches-wrap { align-self: center; margin-top: clamp(18px, 2.4vw, 30px); display: grid; justify-items: center; gap: 2px; }
.swatches { display: flex; gap: 4px; }
.swatch {
  width: 36px; height: 36px; border: 0; background: transparent; border-radius: 50%;
  display: grid; place-items: center; padding: 0;
}
.swatch span {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(11,18,32,.25);
  transition: transform .2s var(--spring), box-shadow .2s var(--ease);
}
.swatch:hover span { transform: scale(1.25); }
.swatch[aria-checked="true"] span { box-shadow: inset 0 0 0 1px rgba(11,18,32,.25), 0 0 0 3px #fff, 0 0 0 5px var(--primary); }
.colors-label {
  margin: 0; font-family: var(--f-tech); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}

.buy-row { align-self: center; display: flex; align-items: center; gap: 18px; margin-top: clamp(14px, 2vw, 26px); }
.btn {
  border: 0; border-radius: 999px;
  font-family: var(--f-tech); font-size: clamp(11px, .85vw, 13px); letter-spacing: .14em; text-transform: uppercase;
  min-height: 48px; padding: 0 clamp(28px, 3vw, 44px);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: background-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn-primary { background: var(--primary-dark); color: #fff; box-shadow: 0 10px 24px -10px rgba(19,41,75,.7); }
.btn-primary:hover { background: #0c1d38; transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(19,41,75,.8); }
.btn-primary:active { transform: scale(.97); }
.btn-primary[disabled] { cursor: progress; }
.btn.is-added { background: #1f6f4a; }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.price { margin: 0; font-family: var(--f-tech); font-size: clamp(16px, 1.4vw, 20px); }
.price .was { color: var(--muted); font-size: .7em; margin-left: 4px; }
.rating { align-self: center; margin: 10px 0 0; font-size: 13px; font-weight: 600; }
.stars { color: #f2a93b; letter-spacing: 2px; }
.muted { color: var(--muted); font-weight: 500; }

.footnote {
  position: absolute; left: 0; bottom: clamp(22px, 5%, 40px);
  margin: 0;
  font-family: var(--f-body); font-size: clamp(12px, 1vw, 15px); letter-spacing: .06em;
  color: var(--muted);
  white-space: nowrap;
}

/* product composition */
.hero-product { position: relative; z-index: 2; }
.hero-product img {
  position: absolute; height: auto;
  filter: drop-shadow(0 30px 30px rgba(8, 18, 38, .28));
  transition: opacity .32s var(--ease);
  will-change: transform;
}
.hero-product img.fading { opacity: 0; }
.p-case       { width: 46%; left: 12%; top: 6%;  rotate: -8deg; z-index: 2; }
.p-bud-top    { width: 17%; left: 64%; top: 2%;  rotate: 18deg; z-index: 1; }
.p-bud-bottom { width: 24%; left: 54%; top: 50%; rotate: -32deg; z-index: 3; }
.hero[data-variant="midnight"] .p-case { width: 31%; left: 22%; top: 2%; }
.hero[data-variant="pearl"] .p-case { width: 40%; left: 15%; top: 8%; }
.hero[data-variant="pearl"] .p-bud-top { width: 17%; }
.hero[data-variant="pearl"] .p-bud-bottom { width: 22%; }

.float-a { animation: floatA 6s ease-in-out infinite; }
.float-b { animation: floatA 6s 1.5s ease-in-out infinite; }
@keyframes floatA { 50% { translate: 0 -10px; } }

/* entrance */
.reveal { opacity: 0; transform: translateY(24px); }
.is-ready .reveal { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .hero .ring { scale: .85; opacity: 0; }
.js.is-ready .hero .ring { scale: 1; opacity: 1; transition: scale .9s var(--ease), opacity .9s var(--ease), background-color .5s var(--ease); }
.js.is-ready .hero .ring.r2 { transition-delay: 120ms; }
.js.is-ready .hero .ring.r3 { transition-delay: 240ms; }
.js.is-ready .hero .ring.r4 { transition-delay: 360ms; }

/* ---------- SECTIONS ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(28px, 4vw, 48px); }
.eyebrow { margin: 0 0 12px; font-family: var(--f-tech); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--primary); }
.h2 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(26px, 3.4vw, 46px); line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
.accent { color: var(--primary); }

.features { padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px); }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.stat {
  border-radius: 16px; padding: clamp(24px, 3vw, 40px);
  background: linear-gradient(160deg, #f4f8fc, #e6eef7);
  border: 1px solid #dce6f2;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.stat:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(19,41,75,.45); }
.stat svg { width: 32px; height: 32px; color: var(--primary); }
.stat .num { margin: 18px 0 6px; font-family: var(--f-display); font-size: clamp(34px, 4vw, 58px); line-height: 1; color: var(--primary-dark); }
.stat .label { margin: 0; color: var(--muted); font-weight: 600; font-size: 15px; }

.gallery { padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px); background: linear-gradient(180deg, #fff 0%, #eef3f9 100%); }
.gallery-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(16px, 2vw, 28px); }
.stage {
  margin: 0; border-radius: 16px; overflow: hidden;
  background: radial-gradient(circle at 50% 110%, var(--primary-light) 0 34%, #d9e5f3 34% 56%, #eef3f9 56%);
  display: grid; place-items: center;
  min-height: 360px;
}
.stage { position: relative; }
.stage img { position: absolute; inset: 9%; width: 82%; height: 82%; object-fit: contain; filter: drop-shadow(0 24px 24px rgba(8,18,38,.25)); transition: opacity .3s var(--ease), transform .5s var(--ease); }
.stage:hover img { transform: scale(1.05); }
.stage img.fading { opacity: 0; }
.gallery-grid > * { min-width: 0; }
.thumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-content: start; }
.thumb {
  aspect-ratio: 1; border-radius: 14px; border: 2px solid transparent; background: #fff;
  padding: 14%; display: grid; place-items: center;
  box-shadow: 0 6px 16px -10px rgba(19,41,75,.4);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb:hover { transform: translateY(-2px); }
.thumb.is-active { border-color: var(--primary); }
.thumb:focus-visible { border-radius: 14px; }

.specs { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 4vw, 64px); padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px); }
.specs-visual { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.rings.small .ring { left: 50%; top: 50%; opacity: 1; scale: 1; }
.rings.small .r2 { width: 100%; } .rings.small .r3 { width: 72%; } .rings.small .r4 { width: 44%; }
.specs-visual img { position: relative; width: 78%; filter: drop-shadow(0 30px 30px rgba(8,18,38,.3)); }
.specs-body .h2 { margin-bottom: 24px; }
.accordion details { border-bottom: 1px solid #dfe6ef; }
.accordion summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 4px; min-height: 44px;
  font-family: var(--f-tech); font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
  border-radius: 8px;
}
.accordion summary::-webkit-details-marker { display: none; }
.plus { width: 14px; height: 14px; position: relative; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--primary); transition: transform .24s var(--ease); }
.plus::after { transform: rotate(90deg); }
details[open] .plus::after { transform: rotate(0deg); }
.accordion ul { margin: 0 0 18px; padding-left: 20px; color: var(--muted); line-height: 1.8; }
.trust { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.trust li { padding: 8px 14px; border-radius: 999px; background: #eef3f9; color: var(--primary-dark); font-weight: 600; font-size: 13px; }
.trust li::before { content: "✓ "; color: var(--primary); }

.footer { background: var(--primary-dark); color: #d7e2f1; padding: clamp(36px, 5vw, 64px) clamp(24px, 5vw, 72px) 28px; }
.footer-top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; }
.footer-brand p { margin: 14px 0; }
.newsletter { display: flex; max-width: 380px; background: rgba(255,255,255,.1); border-radius: 999px; padding: 4px; border: 1px solid rgba(255,255,255,.18); }
.newsletter input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; padding: 0 16px; font: inherit; min-height: 44px; }
.newsletter input::placeholder { color: #9fb2cc; }
.newsletter input:focus { outline: none; }
.newsletter:focus-within { outline: 2px solid var(--primary-light); outline-offset: 2px; }
.newsletter button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--primary-light); color: var(--primary-dark); display: grid; place-items: center; transition: transform .2s var(--ease); }
.newsletter button:hover { transform: translateX(2px); }
.form-msg { min-height: 1.4em; font-size: 14px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols h3 { margin: 0 0 14px; font-family: var(--f-tech); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #fff; font-weight: 400; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-cols a { text-decoration: none; display: inline-block; padding: 6px 0; transition: color .2s; }
.footer-cols a:hover, .footer-bottom a:hover { color: #fff; }
.footer :focus-visible { outline-color: var(--primary-light); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: 14px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: none; }

/* ---------- overlays ---------- */
.sticky-bar {
  position: fixed; left: 50%; bottom: 16px; z-index: 40;
  translate: -50% 140%;
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-radius: 999px; padding: 8px 8px 8px 14px;
  box-shadow: 0 20px 40px -16px rgba(8,18,38,.5);
  transition: translate .4s var(--ease);
  width: max-content; max-width: calc(100vw - 24px);
}
.sticky-bar.show { translate: -50% 0; }
.sticky-bar img { width: 40px; height: 40px; object-fit: contain; }
.sticky-bar p { margin: 0; }
.sb-name { font-weight: 700; font-size: 14px; }
.sb-price { font-family: var(--f-tech); font-size: 13px; color: var(--primary); }

.search-overlay {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(240, 245, 251, .75); backdrop-filter: blur(12px);
  display: grid; justify-items: center; align-content: start; padding-top: 14vh;
}
.search-overlay[hidden] { display: none; }
.search-box { width: min(640px, 92vw); display: grid; grid-template-columns: 1fr auto; gap: 8px; animation: drop .24s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-16px); } }
.search-box input { min-height: 56px; border-radius: 999px; border: 1px solid #c9d6e6; padding: 0 24px; font: 500 18px var(--f-body); background: #fff; color: var(--text); box-shadow: var(--shadow); }
.search-box input:focus { outline: 2px solid var(--primary); outline-offset: 2px; }
.search-box .icon-btn { width: 56px; height: 56px; background: #fff; }
.chips { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; padding: 8px 4px; }
.chips a { padding: 10px 16px; border-radius: 999px; background: var(--primary-light); color: var(--primary-dark); text-decoration: none; font-weight: 600; font-size: 14px; }

.mobile-menu { position: fixed; inset: 0; z-index: 50; background: rgba(255,255,255,.97); display: grid; place-items: center; }
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: grid; gap: 8px; text-align: center; }
.mobile-menu a { font-family: var(--f-tech); font-size: 22px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 12px 24px; color: var(--primary-dark); animation: drop .3s var(--ease) both; }
.mobile-menu a:nth-child(2) { animation-delay: 50ms; } .mobile-menu a:nth-child(3) { animation-delay: 100ms; } .mobile-menu a:nth-child(4) { animation-delay: 150ms; }
.menu-close { position: absolute; top: 18px; right: 18px; }

.toast {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  background: var(--primary-dark); color: #fff; border-radius: 14px;
  padding: 14px 18px; font-weight: 600; box-shadow: var(--shadow);
  translate: 0 140%; opacity: 0; transition: translate .35s var(--ease), opacity .35s var(--ease);
  max-width: calc(100vw - 40px);
}
.toast.show { translate: 0 0; opacity: 1; }
.toast a { color: var(--primary-light); margin-left: 8px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .pill-nav { width: auto; }
  .pill-nav a { padding: 10px 14px; }
  .hero { aspect-ratio: auto; min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-product { order: -1; height: clamp(320px, 52vw, 520px); }
  .hero-copy { align-self: start; align-items: center; margin: 0 auto; text-align: center; padding: 8px 0 32px; }
  .title { justify-items: center; }
  .pro { justify-self: end; }
  .footnote { position: static; margin-top: 18px; white-space: normal; }
  .ring { top: clamp(300px, 46vw, 470px); left: 50%; }
  .ring.r1 { width: 100%; } .ring.r2 { width: 76%; } .ring.r3 { width: 50%; } .ring.r4 { width: 28%; }
  .p-case { width: 40%; left: 22%; top: 4%; }
  .p-bud-top { width: 14%; left: 64%; top: 2%; }
  .p-bud-bottom { width: 19%; left: 58%; top: 48%; }
  .hero[data-variant="midnight"] .p-case { width: 26%; left: 32%; top: 2%; }
  .hero[data-variant="pearl"] .p-case { width: 33%; left: 26%; top: 6%; }
  .hero[data-variant="pearl"] .p-bud-top { width: 13%; }
  .hero[data-variant="pearl"] .p-bud-bottom { width: 16%; }
  .specs { grid-template-columns: 1fr; }
  .specs-visual { max-width: 440px; width: 100%; margin: 0 auto; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .page { width: calc(100vw - 24px); padding-top: 12px; gap: 20px; }
  .card { border-radius: 14px; }
  .hero { padding: 0 18px; }
  .site-header { grid-template-columns: 1fr auto; height: 68px; }
  .pill-nav { display: none; }
  .menu-btn { display: grid; }
  #searchBtn { display: none; }
  .hero-product { height: 300px; }
  .p-case { width: 52%; left: 16%; }
  .p-bud-top { width: 18%; left: 66%; }
  .p-bud-bottom { width: 25%; left: 58%; top: 50%; }
  .hero[data-variant="midnight"] .p-case { width: 34%; left: 28%; }
  .hero[data-variant="pearl"] .p-case { width: 42%; left: 22%; }
  .hero[data-variant="pearl"] .p-bud-top { width: 16%; }
  .hero[data-variant="pearl"] .p-bud-bottom { width: 21%; }
  .ring { top: 250px; }
  .ring.r1 { width: 170%; } .ring.r2 { width: 124%; } .ring.r3 { width: 86%; } .ring.r4 { width: 50%; }
  .wave { font-size: clamp(56px, 19vw, 84px); }
  .tagline { font-size: clamp(20px, 7.4vw, 30px); }
  .subline { font-size: 12px; letter-spacing: .1em; }
  .buy-row { flex-direction: column-reverse; gap: 8px; width: 100%; }
  .buy-row .btn { width: 100%; }
  .stats { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .stage { min-height: 0; aspect-ratio: 1; }
  .thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .sticky-bar { left: 12px; right: 12px; width: auto; translate: 0 140%; justify-content: space-between; }
  .sticky-bar.show { translate: 0 0; }
  .sticky-bar .btn { padding: 0 20px; }
  .toast { left: 12px; right: 12px; bottom: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .15s !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .reveal { transform: none; }
}
