/* =========================================================================
   Surveillance by Gilly — mobile first.
   Every block below is written for a 375px phone; the media queries only
   ever add breathing room for bigger screens.
   ========================================================================= */

:root {
  --ink: #07070b;
  --ink-2: #0e0d16;
  --ink-3: #15131f;
  --lav-100: #d8ccf0;
  --lav-200: #c9b8e8;
  --lav-300: #9b7fd4;
  --lav-500: #6b4ba8;
  --lav-700: #40276f;
  --white: #fff;
  --text: #edeaf5;
  --muted: #a9a3bc;
  --muted-2: #7e7690;
  --glow: rgba(155, 127, 212, 0.45);
  --line: rgba(155, 127, 212, 0.18);
  --line-strong: rgba(155, 127, 212, 0.4);
  --card: rgba(255, 255, 255, 0.035);
  --card-hi: rgba(255, 255, 255, 0.07);
  --ok: #4ade80;
  --warn: #fbbf24;
  --bad: #f87171;

  --grad: linear-gradient(135deg, #d8ccf0 0%, #9b7fd4 45%, #6b4ba8 100%);
  --grad-soft: linear-gradient(135deg, rgba(155, 127, 212, 0.22), rgba(107, 75, 168, 0.08));

  --serif: "Didot", "Bodoni 72", "Playfair Display", "Iowan Old Style", "Noto Serif",
    Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 30px;

  --pad: 16px;
  --header-h: 66px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.4, 0.64, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100dvh;
}

body.locked { overflow: hidden; }

img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: 0.02em; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 2px solid var(--lav-300); outline-offset: 3px; border-radius: 6px; }

/* ------------------------------------------------------------- background */

.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  background: var(--ink);
}
.aurora i {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  will-change: transform;
}
.aurora i:nth-child(1) {
  width: 70vw; height: 70vw; top: -18vw; left: -22vw;
  background: radial-gradient(circle, rgba(107, 75, 168, 0.75), transparent 68%);
  animation: drift1 26s var(--ease) infinite alternate;
}
.aurora i:nth-child(2) {
  width: 60vw; height: 60vw; top: 26vh; right: -26vw;
  background: radial-gradient(circle, rgba(155, 127, 212, 0.5), transparent 68%);
  animation: drift2 32s var(--ease) infinite alternate;
}
.aurora i:nth-child(3) {
  width: 80vw; height: 80vw; bottom: -30vh; left: -10vw;
  background: radial-gradient(circle, rgba(64, 39, 111, 0.7), transparent 70%);
  animation: drift3 38s var(--ease) infinite alternate;
}
@keyframes drift1 { to { transform: translate3d(14vw, 10vh, 0) scale(1.15); } }
@keyframes drift2 { to { transform: translate3d(-12vw, -8vh, 0) scale(1.2); } }
@keyframes drift3 { to { transform: translate3d(10vw, -12vh, 0) scale(1.1); } }

.grain {
  position: fixed;
  inset: -50%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 1%); }
}

/* ----------------------------------------------------------------- header */

.announce {
  position: relative;
  background: linear-gradient(90deg, var(--lav-700), var(--lav-500), var(--lav-700));
  font-size: 12px;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 7px 34px;
  color: #f3edff;
}
.announce b { font-weight: 600; }
.announce button {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; display: grid; place-items: center; opacity: 0.7;
}

.hdr {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  background: rgba(7, 7, 11, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.hdr.stuck { border-bottom-color: var(--line); background: rgba(7, 7, 11, 0.9); }

.hdr-bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 6px;
}
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; min-width: 0; }
.brand picture { display: block; flex: none; }
.brand img { width: 50px; height: auto; flex: none; }
.brand .bt { font-family: var(--serif); line-height: 1.05; min-width: 0; }
.brand .bt span { display: block; font-size: 14px; letter-spacing: 0.16em; white-space: nowrap; }
.brand .bt span + span {
  font-size: 9.5px; letter-spacing: 0.34em; color: var(--lav-200); margin-top: 1px;
}

/* The artwork carries its own whitespace, so trim the top but leave the
   baseline clear of the tagline. */
.foot-logo { width: 196px; height: auto; margin: -14px 0 10px; }

.icon-btn {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  color: var(--text);
  position: relative;
  transition: background 0.2s, transform 0.2s var(--spring);
}
.icon-btn:active { transform: scale(0.9); background: var(--card-hi); }
.icon-btn .badge {
  position: absolute; top: 3px; right: 3px;
  min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; background: var(--grad); color: #16102a;
  font-size: 10px; font-weight: 700; display: grid; place-items: center;
  box-shadow: 0 0 0 2px var(--ink);
  transform: scale(0);
  transition: transform 0.3s var(--spring);
}
.icon-btn .badge.on { transform: scale(1); }

.searchbar { display: none; padding: 0 var(--pad) 10px; }
.searchbar.open { display: block; animation: slideDown 0.28s var(--ease); }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } }
.searchbar input {
  width: 100%; height: 42px; padding: 0 14px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; color: var(--text);
}
.searchbar input::placeholder { color: var(--muted-2); }
.searchbar input:focus { outline: none; border-color: var(--line-strong); background: var(--card-hi); }

/* ------------------------------------------------------------------- hero */

.hero { position: relative; padding: 34px var(--pad) 26px; text-align: center; overflow: hidden; }
.hero .orbit {
  position: absolute; top: -40px; left: 50%; transform: translateX(-50%);
  width: 340px; height: 340px; opacity: 0.16; pointer-events: none;
}
.hero .orbit circle { fill: none; stroke: var(--lav-300); stroke-width: 1; }
.hero .orbit .spin { transform-origin: 50% 50%; animation: spin 26s linear infinite; stroke-dasharray: 40 22; }
.hero .orbit .spin-b { transform-origin: 50% 50%; animation: spin 40s linear infinite reverse; stroke-dasharray: 8 30; }
@keyframes spin { to { transform: rotate(360deg); } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--lav-200);
  border: 1px solid var(--line); background: var(--card);
  padding: 6px 13px; border-radius: 999px; margin-bottom: 16px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }

.hero h1 { font-size: 40px; line-height: 1.06; margin-bottom: 14px; }
.hero h1 em {
  font-style: normal;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { color: var(--muted); margin: 0 auto 22px; max-width: 34ch; font-size: 14.5px; }

.cta-row { display: flex; flex-direction: column; gap: 10px; }

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 50px; padding: 0 22px; border-radius: 14px;
  font-weight: 600; font-size: 15px; letter-spacing: 0.01em;
  transition: transform 0.2s var(--spring), box-shadow 0.3s, opacity 0.2s;
  overflow: hidden;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.5; pointer-events: none; }
.btn-primary { background: var(--grad); color: #17102b; box-shadow: 0 8px 26px -8px var(--glow); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.5) 50%, transparent 70%);
  transform: translateX(-110%);
  animation: sheen 4.5s 1.2s infinite;
}
@keyframes sheen { 0% { transform: translateX(-110%); } 22%, 100% { transform: translateX(110%); } }
.btn-ghost { background: var(--card); border: 1px solid var(--line-strong); color: var(--text); }
.btn-ghost:active { background: var(--card-hi); }
.btn-wa { background: #22b356; color: #fff; box-shadow: 0 8px 26px -10px rgba(34,179,86,.7); }
.btn-block { width: 100%; }

/* ------------------------------------------------------------------ trust */

.trust {
  border-block: 1px solid var(--line);
  background: rgba(255,255,255,.02);
  overflow: hidden;
  margin-top: 6px;
}
.trust-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.trust-track > div { display: flex; }
.trust span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; font-size: 12.5px; color: var(--muted); white-space: nowrap;
}
.trust span svg { color: var(--lav-300); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------- showcase */

/* A story-style auto-advancing reel built from the product photos the page
   has already loaded — so it costs no extra bytes on mobile data. The real
   MP4 only downloads if someone taps "30s reel". */

.showcase { margin-top: 30px; }
.sc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.sc-head h2 { font-size: 26px; }
.sc-head p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.sc-reel {
  flex: none; display: inline-flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--card);
  color: var(--lav-100); font-size: 13px; font-weight: 600;
  transition: transform .2s var(--spring), background .25s;
}
.sc-reel:active { transform: scale(.94); background: var(--card-hi); }

.sc-stage {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line);
  box-shadow: 0 22px 50px -26px rgba(0, 0, 0, .9);
}

.sc-slides { position: absolute; inset: 0; }
.sc-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity .9s var(--ease);
}
.sc-slide.on { opacity: 1; }
.sc-slide .bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  filter: blur(26px) brightness(.42); transform: scale(1.15);
}
/* The photo lives in its own explicitly-sized box above the caption, so the
   two can never overlap regardless of the photo's aspect ratio. */
/* Explicit layering: .bg carries a filter + transform, which makes paint
   order unreliable if we lean on DOM order alone. */
.sc-photo { position: absolute; z-index: 1; left: 9%; right: 9%; top: 6%; bottom: 34%; }
.sc-photo img {
  width: 100%; height: 100%; object-fit: contain;
  transform: scale(1);
  transition: transform 6s linear;
}
.sc-slide.on .sc-photo img { transform: scale(1.07); }
.sc-slide::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to bottom, transparent 46%, rgba(7,7,11,.88) 68%, var(--ink) 88%);
}

.sc-bars { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 3; display: flex; gap: 5px; }
.sc-bars i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.22); overflow: hidden; }
.sc-bars i span { display: block; height: 100%; width: 0; background: var(--lav-100); }
.sc-bars i.on span { animation: scfill 6s linear forwards; }
.sc-bars i.done span { width: 100%; }
@keyframes scfill { to { width: 100%; } }

.sc-info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 18px 20px 20px;
}
.sc-info .c { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--lav-300); }
.sc-info h3 {
  font-family: var(--serif); font-size: 24px; line-height: 1.15; margin: 5px 0 8px;
}
.sc-info .row { display: flex; align-items: center; gap: 12px; }
.sc-info .p { font-size: 20px; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sc-info .go {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--lav-100);
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 13px;
  background: rgba(7,7,11,.5);
}

.sc-nav { position: absolute; top: 0; bottom: 74px; width: 32%; z-index: 4; }
.sc-nav.prev { left: 0; }
.sc-nav.next { right: 0; }

.reel-frame {
  width: 100%; max-width: 340px; margin: 0 auto;
  aspect-ratio: 9 / 16; border-radius: var(--r-lg); overflow: hidden;
  background: #000; border: 1px solid var(--line);
}
.reel-frame video { width: 100%; height: 100%; object-fit: contain; display: block; }

@media (min-width: 700px) {
  .sc-stage { aspect-ratio: 16 / 9; }
  .sc-photo { left: 52%; right: 6%; top: 10%; bottom: 12%; }
  .sc-info { padding: 26px 30px 28px; max-width: 55%; }
  .sc-info h3 { font-size: 32px; }
  .sc-slide::after {
    background: linear-gradient(100deg, var(--ink) 22%, rgba(7,7,11,.72) 52%, transparent 78%);
  }
  .sc-head h2 { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .sc-photo img { transform: none !important; }
  .sc-bars i.on span { animation: none; width: 100%; }
}

/* ------------------------------------------------------------- categories */

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  margin: 30px 0 14px;
}
.section-head h2 { font-size: 26px; }
.section-head p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }

.cats { display: flex; gap: 8px; overflow-x: auto; padding: 2px var(--pad) 12px; scroll-snap-type: x proximity; }
.cats::-webkit-scrollbar { display: none; }
.chip {
  flex: none; scroll-snap-align: start;
  display: inline-flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 15px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line);
  color: var(--muted); font-size: 13.5px; white-space: nowrap;
  transition: all 0.25s var(--ease);
}
.chip svg { opacity: 0.75; }
.chip .n { font-size: 11px; opacity: 0.6; }
.chip:active { transform: scale(0.95); }
.chip.on {
  background: var(--grad); color: #17102b; border-color: transparent; font-weight: 600;
  box-shadow: 0 6px 20px -8px var(--glow);
}
.chip.on svg, .chip.on .n { opacity: 0.85; }

/* ------------------------------------------------------------------- grid */

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.3s var(--spring), border-color 0.3s, box-shadow 0.3s;
  opacity: 0; transform: translateY(18px);
}
.card.in { opacity: 1; transform: none; }
.card:active { transform: scale(0.975); border-color: var(--line-strong); }

.card .ph { position: relative; aspect-ratio: 1 / 1; background: var(--ink-2); overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease), opacity 0.4s; }
.card .ph img.loading { opacity: 0; }
.card:hover .ph img { transform: scale(1.06); }
.card .ph .fallback {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: radial-gradient(circle at 40% 30%, rgba(155,127,212,.25), rgba(7,7,11,.9));
}
.card .ph .fallback img { width: 54%; height: auto; opacity: 0.55; object-fit: contain; }

.tag {
  position: absolute; top: 9px; left: 9px; z-index: 2;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em;
  padding: 4px 8px; border-radius: 7px;
  background: var(--grad); color: #17102b;
  box-shadow: 0 4px 14px -4px var(--glow);
}
.tag.out { background: rgba(20,18,28,.9); color: var(--bad); border: 1px solid rgba(248,113,113,.4); }
.tag.low { background: rgba(20,18,28,.9); color: var(--warn); border: 1px solid rgba(251,191,36,.4); }

.card-share {
  position: absolute; top: 7px; right: 7px; z-index: 2;
  width: 32px; height: 32px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(7,7,11,.6); backdrop-filter: blur(6px);
  border: 1px solid var(--line); color: var(--lav-100);
  transition: transform .2s var(--spring), background .2s;
}
.card-share:active { transform: scale(.88); background: var(--lav-500); }

.card .body { padding: 11px 12px 13px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .cat { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lav-300); }
.card h3 {
  font-family: var(--sans); font-size: 13.5px; font-weight: 600; line-height: 1.32;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card .price { margin-top: auto; display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.card .price b { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.card .price s { font-size: 12px; color: var(--muted-2); }

.empty { grid-column: 1 / -1; text-align: center; padding: 50px 16px; color: var(--muted); }
.empty svg { color: var(--lav-500); margin-bottom: 12px; }

.skel { border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.skel .ph { aspect-ratio: 1/1; }
.skel i, .skel .ph {
  display: block;
  background: linear-gradient(90deg, rgba(255,255,255,.03) 25%, rgba(155,127,212,.13) 37%, rgba(255,255,255,.03) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.5s ease infinite;
}
.skel i { height: 11px; border-radius: 5px; margin: 10px 12px 0; }
.skel i:last-child { width: 55%; margin-bottom: 14px; }
@keyframes shimmer { to { background-position: -135% 0; } }

/* ------------------------------------------------------------------ about */

.about { margin: 40px 0 10px; }
.about-card {
  background: var(--grad-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 24px 20px;
  position: relative; overflow: hidden;
}
.about-card::before {
  content: ""; position: absolute; top: -60px; right: -60px; width: 200px; height: 200px;
  background: radial-gradient(circle, var(--glow), transparent 70%); pointer-events: none;
}
/* The intro clip loads only on tap — poster first, so the default page view
   costs one small JPEG instead of 2.3MB of video. */
.about-media { position: relative; margin: 0 0 20px; }
.owner-play {
  display: block; position: relative; width: 100%;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .25s var(--spring);
}
.owner-play:active { transform: scale(.985); }
.owner-play img { width: 100%; height: auto; display: block; }
.owner-play .pl {
  position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%);
  width: 66px; height: 66px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(7, 7, 11, .55); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .3); color: #fff;
  padding-left: 4px;
}
.owner-play .pl::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .35);
  animation: ring 2.8s ease-out infinite;
}
.about-media video { width: 100%; border-radius: var(--r-lg); display: block; border: 1px solid var(--line); }

.about-card h2 { font-size: 27px; margin-bottom: 6px; }
.about-card .who { color: var(--lav-200); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.about-card p { color: var(--muted); margin: 0 0 18px; font-size: 14px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; padding: 7px 12px; border-radius: 999px;
  background: rgba(7,7,11,.45); border: 1px solid var(--line); color: var(--lav-100);
}

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.stat { text-align: center; padding: 14px 6px; background: rgba(7,7,11,.4); border: 1px solid var(--line); border-radius: var(--r); }
.stat b { display: block; font-family: var(--serif); font-size: 25px; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 10.5px; color: var(--muted); letter-spacing: .04em; }

/* ----------------------------------------------------------------- footer */

footer { margin-top: 46px; border-top: 1px solid var(--line); padding: 30px 0 calc(96px + var(--safe-b)); background: rgba(7,7,11,.6); }
footer h4 { font-family: var(--sans); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 10px; }
.f-grid { display: grid; gap: 26px; }
.f-list { display: grid; gap: 9px; }
.f-list a, .f-list span { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13.5px; }
.f-list a:active { color: var(--lav-200); }
.f-list svg { color: var(--lav-300); flex: none; }

.socials { display: flex; gap: 9px; flex-wrap: wrap; }
.socials a {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  background: var(--card); border: 1px solid var(--line); color: var(--lav-100);
  transition: transform .2s var(--spring), background .25s, color .25s;
}
.socials a:active { transform: scale(.9); background: var(--grad); color: #17102b; }

.jiji-btn {
  display: flex; align-items: center; gap: 11px;
  padding: 13px 15px; border-radius: var(--r);
  background: var(--card); border: 1px solid var(--line-strong);
  transition: transform .2s var(--spring);
}
.jiji-btn:active { transform: scale(.98); }
.jiji-btn .jl { width: 36px; height: 36px; border-radius: 10px; background: var(--grad); color: #17102b; display: grid; place-items: center; flex: none; }
.jiji-btn b { display: block; font-size: 13.5px; }
.jiji-btn small { color: var(--muted); font-size: 11.5px; }

/* Builder credit. Deliberately quiet — it carries mariolock.com's own lime
   accent rather than Gilly's purple, so it reads as a signature, not as part
   of her brand. */
.built-by {
  display: flex; align-items: center; gap: 13px;
  margin-top: 30px; padding: 13px 15px;
  border: 1px solid var(--line); border-radius: var(--r);
  background: rgba(255, 255, 255, 0.022);
  transition: border-color .3s, background .3s, transform .2s var(--spring);
}
.built-by:active { transform: scale(.985); }
.built-by img { width: 40px; height: 40px; border-radius: 11px; flex: none; }
.built-by .bb-text { min-width: 0; }
.built-by b { display: block; font-size: 13px; font-weight: 600; color: var(--text); }
.built-by small { display: block; font-size: 11.5px; color: var(--muted-2); margin-top: 2px; }
.built-by .bb-go { margin-left: auto; flex: none; color: var(--muted-2); transition: color .3s, transform .3s var(--ease); }

@media (hover: hover) {
  .built-by:hover { border-color: rgba(198, 255, 74, 0.34); background: rgba(198, 255, 74, 0.045); }
  .built-by:hover b { color: #c6ff4a; }
  .built-by:hover .bb-go { color: #c6ff4a; transform: translateX(3px); }
}

.copyright { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--muted-2); display: flex; flex-wrap: wrap; gap: 6px 14px; }

/* -------------------------------------------------------------------- fab */

.fab {
  position: fixed; right: 14px; bottom: calc(16px + var(--safe-b)); z-index: 55;
  width: 56px; height: 56px; border-radius: 19px;
  display: grid; place-items: center;
  background: #22b356; color: #fff;
  box-shadow: 0 12px 30px -8px rgba(34,179,86,.6);
  transition: transform .3s var(--spring);
}
.fab::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  border: 2px solid rgba(34,179,86,.55); animation: ring 2.6s ease-out infinite;
}
@keyframes ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.fab:active { transform: scale(.88); }

.cartbar {
  position: fixed; left: 10px; right: 10px; bottom: calc(14px + var(--safe-b)); z-index: 54;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 10px 10px 18px; border-radius: 18px;
  background: rgba(14,13,22,.92); backdrop-filter: blur(18px);
  border: 1px solid var(--line-strong);
  box-shadow: 0 18px 40px -12px rgba(0,0,0,.8);
  transform: translateY(160%); transition: transform .45s var(--spring);
}
.cartbar.on { transform: none; }
.cartbar .info b { display: block; font-size: 16px; }
.cartbar .info span { font-size: 11.5px; color: var(--muted); }
.cartbar .btn { height: 44px; margin-left: auto; padding: 0 18px; }
body.has-cart .fab { transform: translateY(-72px); }

/* ----------------------------------------------------------------- sheets */

.scrim {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(4, 3, 8, 0.66);
  backdrop-filter: blur(5px);
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.scrim.on { opacity: 1; pointer-events: auto; }

.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  max-height: 92dvh;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  border-radius: 26px 26px 0 0;
  border-top: 1px solid var(--line-strong);
  box-shadow: 0 -20px 60px -20px rgba(0,0,0,.9);
  transform: translateY(101%);
  transition: transform 0.45s var(--spring);
  visibility: hidden;
}
.sheet.on { transform: none; visibility: visible; }

.sheet-head {
  position: relative; flex: none;
  padding: 14px 54px 12px 20px;
  border-bottom: 1px solid var(--line);
}
.sheet-head::before {
  content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 38px; height: 4px; border-radius: 2px; background: var(--line-strong);
}
.sheet-head h2 { font-size: 19px; font-family: var(--sans); font-weight: 600; }
.sheet-head p { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.sheet-close { position: absolute; top: 12px; right: 12px; }
/* flex:1 + min-height:0 is what actually lets this scroll inside the sheet —
   without min-height a flex item refuses to shrink below its content. */
.sheet-body {
  flex: 1 1 auto; min-height: 0;
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  padding: 16px 20px;
}
.sheet:focus { outline: none; }
.sheet-foot {
  flex: none; padding: 12px 16px calc(14px + var(--safe-b));
  border-top: 1px solid var(--line); background: rgba(7,7,11,.6);
  display: flex; gap: 10px;
}

/* ---------------------------------------------------------- product sheet */

.gal { position: relative; margin: -16px -20px 16px; }
.gal-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-track > div { flex: none; width: 100%; scroll-snap-align: center; aspect-ratio: 1/1; background: var(--ink); }
.gal-track img { width: 100%; height: 100%; object-fit: cover; }
.gal-track .fallback { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(circle at 40% 30%, rgba(155,127,212,.22), rgba(7,7,11,.95)); }
.gal-track .fallback img { width: 48%; opacity: .55; object-fit: contain; }
.gal-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.gal-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.35); transition: all .3s; }
.gal-dots i.on { width: 20px; border-radius: 3px; background: var(--lav-200); }

.p-title { font-family: var(--serif); font-size: 26px; line-height: 1.15; margin: 0 0 8px; }
.p-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.p-price b { font-size: 27px; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.p-price s { color: var(--muted-2); }
.p-price .save { font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: rgba(74,222,128,.14); color: var(--ok); }
.p-lede { color: var(--muted); margin: 10px 0 18px; }
.p-desc { white-space: pre-line; color: var(--muted); font-size: 14px; margin: 0 0 18px; }

.specs { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-bottom: 18px; }
.specs div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 14px; font-size: 13px; }
.specs div:nth-child(odd) { background: rgba(255,255,255,.022); }
.specs dt, .specs .k { color: var(--muted); }
.specs .v { text-align: right; font-weight: 500; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 13px; overflow: hidden; }
.qty button { width: 42px; height: 46px; display: grid; place-items: center; color: var(--lav-100); }
.qty button:active { background: var(--card-hi); }
.qty span { min-width: 34px; text-align: center; font-weight: 700; }

.share-row { display: flex; gap: 8px; margin-bottom: 4px; }
.share-row .btn { flex: 1; height: 46px; font-size: 14px; }

.jiji-link {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
  padding: 11px 14px; border-radius: var(--r);
  border: 1px dashed var(--line-strong); background: rgba(155,127,212,.06);
  font-size: 13px; color: var(--lav-100);
}
.jiji-link svg { flex: none; color: var(--lav-300); }
.jiji-link span { margin-left: auto; opacity: .6; }

/* ------------------------------------------------------------------- cart */

.line {
  display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line);
}
.line:last-child { border-bottom: 0; }
.line .thumb { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; flex: none; background: var(--ink); }
.line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.line .thumb .fallback { width: 100%; height: 100%; display: grid; place-items: center; background: var(--grad-soft); }
.line .thumb .fallback img { width: 70%; opacity: .5; object-fit: contain; }
.line .l-body { flex: 1; min-width: 0; }
.line h4 { font-size: 13.5px; font-weight: 600; margin: 0 0 3px; line-height: 1.3; }
.line .l-price { font-size: 13px; color: var(--lav-200); font-weight: 600; }
.line .l-actions { display: flex; align-items: center; gap: 10px; margin-top: 7px; }
.line .qty { border-radius: 10px; }
.line .qty button { width: 32px; height: 32px; }
.line .qty span { min-width: 26px; font-size: 13px; }
.line .rm { color: var(--muted-2); width: 32px; height: 32px; display: grid; place-items: center; margin-left: auto; }
.line .rm:active { color: var(--bad); }

.totals { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-strong); }
.totals div { display: flex; justify-content: space-between; padding: 4px 0; font-size: 13.5px; color: var(--muted); }
.totals div.grand { font-size: 19px; color: var(--text); font-weight: 700; padding-top: 10px; }

/* --------------------------------------------------------------- checkout */

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: 13px; color: var(--text);
  transition: border-color .2s, background .2s;
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--lav-300); background: var(--card-hi); }
.field .hint { font-size: 11.5px; color: var(--muted-2); margin-top: 5px; }
.field.bad input { border-color: var(--bad); }

.momo { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-top: 4px; }
.momo-head { padding: 13px 16px; background: var(--grad-soft); border-bottom: 1px solid var(--line); }
.momo-head b { display: block; font-size: 14px; }
.momo-head span { font-size: 12px; color: var(--muted); }
.momo-amount {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-bottom: 1px solid var(--line);
  background: rgba(155, 127, 212, 0.07);
}
.momo-amount span { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.momo-amount b {
  font-size: 26px; font-weight: 700; letter-spacing: -0.01em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.momo-amount .copy { margin-left: auto; }

.momo-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.momo-row:last-child { border-bottom: 0; }
.momo-row .net { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); width: 72px; flex: none; }
.momo-row .num { font-weight: 700; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.momo-row .copy { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--lav-200); padding: 6px 10px; border: 1px solid var(--line); border-radius: 9px; }
.momo-row .copy:active { background: var(--card-hi); }

.ref-box { text-align: center; padding: 20px; border: 1px dashed var(--line-strong); border-radius: var(--r-lg); background: rgba(155,127,212,.06); margin-bottom: 18px; }
.ref-box span { font-size: 12px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.ref-box b { display: block; font-family: var(--serif); font-size: 34px; letter-spacing: .1em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.done-mark { width: 66px; height: 66px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: rgba(74,222,128,.12); color: var(--ok); animation: pop .5s var(--spring); }
@keyframes pop { from { transform: scale(0); } }

/* ------------------------------------------------------------------ share */

.share-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.share-grid a, .share-grid button {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 13px 4px; border-radius: var(--r);
  background: var(--card); border: 1px solid var(--line);
  font-size: 10.5px; color: var(--muted); text-align: center;
  transition: transform .2s var(--spring), background .2s, color .2s;
}
.share-grid a:active, .share-grid button:active { transform: scale(.92); background: var(--card-hi); color: var(--lav-100); }
.share-grid .ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--grad-soft); color: var(--lav-100); }

.link-box { display: flex; gap: 8px; align-items: center; margin-top: 16px; padding: 10px 10px 10px 14px; border: 1px solid var(--line); border-radius: 13px; background: var(--card); }
.link-box input { flex: 1; min-width: 0; background: none; border: 0; font-size: 12.5px; color: var(--muted); }
.link-box input:focus { outline: none; }
.link-box button { flex: none; padding: 8px 13px; border-radius: 9px; background: var(--grad); color: #17102b; font-size: 12.5px; font-weight: 700; }

/* ------------------------------------------------------------------ toast */

.toast {
  position: fixed; left: 50%; bottom: calc(88px + var(--safe-b)); z-index: 120;
  transform: translate(-50%, 26px); opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 9px;
  padding: 11px 17px; border-radius: 14px;
  background: rgba(20,18,30,.96); border: 1px solid var(--line-strong);
  box-shadow: 0 14px 34px -12px rgba(0,0,0,.85);
  font-size: 13.5px; max-width: calc(100vw - 32px);
  transition: opacity .3s, transform .35s var(--spring);
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast svg { color: var(--ok); flex: none; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ breakpoints */

@media (min-width: 560px) {
  .grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .cta-row { flex-direction: row; justify-content: center; }
  .cta-row .btn { min-width: 190px; }
  .hero h1 { font-size: 52px; }
  .hero p { font-size: 16px; max-width: 46ch; }
  .share-grid { grid-template-columns: repeat(5, 1fr); }
  .f-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  :root { --pad: 28px; --header-h: 82px; }
  .grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .hero { padding: 64px var(--pad) 44px; }
  .hero h1 { font-size: 66px; }
  .hero .orbit { width: 520px; height: 520px; top: -80px; }
  .brand img { width: 66px; }
  .brand .bt span { font-size: 17px; }
  .brand .bt span + span { font-size: 11px; }
  .foot-logo { width: 260px; }
  .card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: 0 18px 40px -20px var(--glow); }
  .f-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
  .about-card { padding: 40px; display: grid; grid-template-columns: 300px 1fr; gap: 38px; align-items: center; }
  .about-media { margin: 0; }
  .about-card h2 { font-size: 38px; }
  .stats { max-width: 520px; }

  /* On desktop the sheets become centred dialogs */
  .sheet {
    left: 50%; bottom: auto; top: 50%;
    width: min(620px, calc(100vw - 60px));
    max-height: 86dvh;
    border-radius: var(--r-xl);
    border: 1px solid var(--line-strong);
    transform: translate(-50%, -46%) scale(.96); opacity: 0;
    transition: transform .4s var(--spring), opacity .3s;
  }
  .sheet.on { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  .sheet-head::before { display: none; }
  .cartbar { left: auto; right: 24px; width: 380px; }
  .fab { right: 24px; bottom: 24px; }
  body.has-cart .fab { transform: translateY(-84px); }
}

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