/* ============================================================
   MJR 3D PRINTS — stylesheet
   Colors pulled straight from the logo: neon blue ring,
   magenta printer, purple "R", rainbow filament.
   ============================================================ */

:root {
  --bg:        #05070d;
  --bg-soft:   #0b101c;
  --card:      #0e1524;
  --line:      #1d2942;

  --text:      #e8eef9;
  --muted:     #97a6c0;

  --blue:      #23a6ff;
  --blue-hot:  #4fd2ff;
  --magenta:   #ff2fd0;
  --purple:    #a855f7;
  --green:     #38e08a;

  /* Iridescent: an oil-slick sweep through teal, blue, violet, pink and gold
     rather than a single blue-to-pink fade. --iri is for anything sitting on
     the dark background (every stop clears 7:1 there). --iri-deep is for
     filled buttons, darkened so white text clears 4.5:1 on every stop. */
  --iri:      linear-gradient(100deg, #5ef2d0, #49c2ff 26%, #a58bff 50%, #ff7ed4 74%, #ffc46b);
  --iri-deep: linear-gradient(100deg, #09756f, #2a6fe0 33%, #7a3fd8 62%, #c9339e);

  --rainbow: linear-gradient(90deg,#5ef2d0,#49c2ff,#a58bff,#ff7ed4,#ffc46b,#5ef2d0);

  --radius: 18px;
  --shadow: 0 18px 50px rgba(0,0,0,.55);
  --font: "Outfit", ui-rounded, "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

/* An author display rule beats the UA stylesheet's [hidden] { display: none },
   so every flex element toggled via the hidden attribute — the cart button,
   the drawer, the pay link — would stay on screen without this. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 82px; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* soft neon glow behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(55vw 55vw at 12% -12%, rgba(94,242,208,.13), transparent 62%),
    radial-gradient(50vw 50vw at 88% 4%,   rgba(165,139,255,.16), transparent 62%),
    radial-gradient(45vw 45vw at 96% 42%,  rgba(255,126,212,.11), transparent 62%),
    radial-gradient(60vw 60vw at 40% 108%, rgba(73,194,255,.12),  transparent 62%),
    radial-gradient(40vw 40vw at 82% 88%,  rgba(255,196,107,.07), transparent 62%);
  pointer-events: none;
  z-index: 0;
}

main, header, footer { position: relative; z-index: 1; }

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

a { color: var(--blue-hot); }

.wrap { width: min(1120px, 92vw); margin-inline: auto; }

section { padding: 74px 0; }

/* ---------- shared bits ---------- */

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue-hot);
  margin: 0 0 10px;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 14px; font-weight: 800; }

h2 { font-size: clamp(1.75rem, 4.6vw, 2.6rem); letter-spacing: -.02em; }
h3 { font-size: 1.15rem; }

.lede { color: var(--muted); font-size: 1.05rem; max-width: 62ch; margin: 0 0 30px; }

.gradient-text {
  background: var(--iri);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 14s ease-in-out infinite;
}

/* Rotating the hues keeps every stop on screen, so the text always reads as
   the full oil-slick rather than whichever slice happens to be scrolled in. */
@keyframes sheen {
  0%, 100% { filter: hue-rotate(-14deg); }
  50%      { filter: hue-rotate( 14deg); }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn-primary {
  background: var(--iri-deep);
  color: #fff;
  box-shadow: 0 10px 34px rgba(122,63,216,.34);
  transition: filter .25s ease, transform .15s ease, box-shadow .15s ease;
}

.btn-primary:hover { filter: saturate(1.15) brightness(1.08); }

.btn-ghost {
  background: rgba(255,255,255,.04);
  border-color: var(--line);
  color: var(--text);
}

.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--blue-hot); outline-offset: 3px; }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5,7,13,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); }
.brand img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.brand-text { display: block; line-height: 1.3; }
.brand-text b { font-size: 1.02rem; font-weight: 800; letter-spacing: -.01em; display: block; }
.brand-text span {
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
}

.nav-links { display: flex; gap: 6px; align-items: center; }

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: .94rem;
  padding: 9px 14px;
  border-radius: 10px;
}

.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.05); }

.nav-toggle {
  display: none;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 10px;
  padding: 9px 13px;
  font-size: 1.1rem;
  cursor: pointer;
}

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

.hero {
  position: relative;
  min-height: 940px;
  padding: 0 0 60px;
  overflow: clip;
  background: #03050a;
  isolation: isolate;
}

.hero-media,
.hero-media video,
.hero-poster,
.hero-vignette {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: 720px;
}

.hero-media { z-index: -1; overflow: hidden; }

.hero-media video,
.hero-poster {
  object-fit: cover;
  object-position: center 44%;
}

.hero-media video {
  filter: saturate(1.04) brightness(.72) contrast(1.04);
  transform: scale(1.015);
}

.hero-poster { display: none; }

.hero-vignette {
  background:
    linear-gradient(90deg, rgba(3,5,10,.98) 0%, rgba(3,5,10,.9) 29%, rgba(3,5,10,.36) 56%, rgba(3,5,10,.06) 78%),
    linear-gradient(180deg, rgba(3,5,10,.1) 45%, #03050a 100%);
}

.hero-layout {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 560px) 1fr;
  align-items: center;
  padding-top: 44px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  text-align: left;
  padding: 38px 0 56px;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 17px;
  color: var(--blue-hot);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-kicker span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px var(--green);
}

.hero h1 {
  font-size: clamp(2.45rem, 5.4vw, 4.65rem);
  letter-spacing: -.045em;
  margin-bottom: 22px;
  text-wrap: balance;
}

.hero .lede {
  margin: 0 0 30px;
  color: #bcc8da;
  font-size: 1.12rem;
}

.hero .lede b { color: #fff; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-scroll {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 28px 0 0;
  color: #8494ad;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.hero-scroll span {
  color: var(--blue-hot);
  text-shadow: 0 0 12px rgba(199,255,242,.75);
}

.hero-stats { position: relative; z-index: 4; margin-top: -6px; }

.filament-bar {
  height: 5px;
  border-radius: 99px;
  background: var(--rainbow);
  width: min(560px, 80vw);
  margin: 0 auto 34px;
  opacity: .85;
}

/* ---------- stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-top: 40px;
}

.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
}

.stat b {
  display: block;
  font-size: 1.85rem;
  font-weight: 800;
  background: var(--iri);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span { font-size: .84rem; color: var(--muted); }

/* ---------- product filters + grid ---------- */

.filters { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 26px; }

.chip {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 12px 19px;
  min-height: 44px;
  border-radius: 999px;
  font-family: inherit;
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  transition: .15s ease;
}

.chip:hover { color: var(--text); border-color: var(--blue); }

.chip[aria-pressed="true"] {
  background: var(--iri-deep);
  border-color: transparent;
  color: #fff;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: #a58bff;
  box-shadow: var(--shadow), 0 0 0 1px rgba(94,242,208,.22);
}

.card-art {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, rgba(94,242,208,.13), rgba(73,194,255,.14) 35%, rgba(165,139,255,.15) 65%, rgba(255,126,212,.13));
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.card-art img { width: 100%; height: 100%; object-fit: cover; }

/* --- creature tiles -------------------------------------------------------
   The logo art already contains renders of the real models, so each animal
   tile is a crop of it rather than a stand-in graphic. background-size is a
   single value so the image keeps its aspect ratio; the percentages were
   measured off the artwork. */

.card-art.crop {
  background-image: url("assets/logo.jpg");
  background-repeat: no-repeat;
  background-color: #000;
}

.card-art.crop-lizard  { background-size: 555.6%; background-position: 28.1% 30.6%; }
.card-art.crop-dragon  { background-size: 434.8%; background-position: 72.7% 29.8%; }
.card-art.crop-axolotl { background-size: 666.7%; background-position: 33.5% 90.0%; }
.card-art.crop-snake   { background-size: 645.2%; background-position: 50.0% 92.7%; }
.card-art.crop-gecko   { background-size: 571.4%; background-position: 68.5% 94.2%; }
.card-art.crop-wyvern  { background-size: 1000%;  background-position: 68.3% 27.5%; }

/* --- line-icon tiles for everything that isn't an animal ----------------- */

.card-art.icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(255,255,255,.055) 0 2px,
    transparent 2px 7px
  );
}

.card-art .glyph {
  position: relative;
  width: 46%;
  max-width: 96px;
  color: var(--blue-hot);
  opacity: .92;
}

.card-art .glyph svg { width: 100%; height: auto; display: block; }

.card-body { padding: 16px 17px 18px; flex: 1; display: flex; flex-direction: column; }

.card-body h3 { margin-bottom: 6px; font-size: 1.06rem; }

.card-body p { color: var(--muted); font-size: .9rem; margin: 0 0 14px; flex: 1; }

.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

.price { font-weight: 800; font-size: 1.22rem; color: var(--green); }

.tag {
  position: absolute;
  top: 9px;
  left: 9px;
  max-width: calc(100% - 18px);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(5,7,13,.78);
  border: 1px solid rgba(168,85,247,.55);
  padding: 4px 9px;
  border-radius: 999px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- colors ---------- */

.swatches { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.swatch {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  border: 2px solid var(--line);
  cursor: pointer;
  padding: 0;
  transition: transform .15s ease, border-color .15s ease;
}

.swatch:hover, .swatch[aria-pressed="true"] { transform: scale(1.09); border-color: #fff; }

.color-stage {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.color-blob {
  position: relative;
  width: 128px;
  height: 128px;
  border-radius: 34px;
  transition: background .35s ease, box-shadow .35s ease;
  flex: none;
  overflow: hidden;
}

/* print layers, so the swatch looks like a printed object */
.color-blob::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0,0,0,.16) 0 2px,
    rgba(255,255,255,.10) 2px 5px
  );
  mix-blend-mode: overlay;
}

#colorName { font-size: 1.5rem; font-weight: 800; margin: 0 0 4px; }

.color-proof {
  margin: 20px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}

.color-proof img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: center 45%;
}

.color-proof figcaption {
  padding: 14px 18px;
  color: var(--muted);
  font-size: .92rem;
  text-align: center;
}

/* ---------- steps ---------- */

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; counter-reset: step; }

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--iri-deep);
  font-weight: 800;
  margin-bottom: 14px;
}

.step p { color: var(--muted); font-size: .93rem; margin: 0; }

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

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 38px;
}

.about p { color: var(--muted); }

.quote {
  border-left: 3px solid var(--magenta);
  padding-left: 18px;
  font-size: 1.14rem;
  font-style: italic;
  color: var(--text);
}

.about-logo {
  border-radius: 22px;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 42% 62% at 50% 50%, #000 82%, transparent 100%);
  mask-image: radial-gradient(ellipse 42% 62% at 50% 50%, #000 82%, transparent 100%);
}

/* ---------- faq ---------- */

details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 11px;
}

details[open] { border-color: var(--blue); }

summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--blue-hot); font-size: 1.5rem; line-height: 1; }
details[open] summary::after { content: "\2212"; }

details p { color: var(--muted); margin: 12px 0 0; font-size: .96rem; }

/* ---------- order banner ---------- */

.order {
  text-align: center;
  background: linear-gradient(140deg, rgba(94,242,208,.12), rgba(73,194,255,.13) 32%, rgba(165,139,255,.15) 62%, rgba(255,196,107,.10));
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 48px 28px;
}

.order h2 { margin-bottom: 10px; }
.order .lede { margin-inline: auto; }

.order-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-top: 30px; text-align: left; }

.order-card {
  background: rgba(5,7,13,.68);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0,0,0,.2);
}
.order-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}
.order-card-copy { padding: 18px 20px 20px; }
.order-card b { display: block; margin-bottom: 6px; }
.order-card span { color: var(--muted); font-size: .92rem; }

/* ---------- venmo ---------- */

.pay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #008cff;
  color: #fff;
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s ease, transform .15s ease;
}

.pay:hover { background: #1f9dff; transform: translateY(-1px); }
.pay:focus-visible { outline: 3px solid var(--blue-hot); outline-offset: 2px; }

.venmo-slot:not(:empty) { margin-top: 30px; }

.btn-venmo {
  background: #008cff;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,140,255,.3);
}

.venmo-note {
  margin: 12px auto 0;
  max-width: 44ch;
  color: var(--muted);
  font-size: .9rem;
}

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

.add {
  min-height: 40px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(165,139,255,.5);
  background: rgba(165,139,255,.13);
  color: var(--text);
  font-family: inherit;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

.add:hover { background: rgba(165,139,255,.26); border-color: #a58bff; transform: translateY(-1px); }
.add:focus-visible { outline: 3px solid var(--blue-hot); outline-offset: 2px; }

.cart-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--iri-deep);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(0,0,0,.5);
}

.cart-fab:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.cart-count {
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(0,0,0,.42);
  font-size: .86rem;
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(2,4,9,.72);
  backdrop-filter: blur(3px);
}

.cart-drawer {
  position: fixed;
  z-index: 90;
  top: 0;
  right: 0;
  width: min(420px, 100vw);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg-soft);
  border-left: 1px solid var(--line);
  box-shadow: -20px 0 60px rgba(0,0,0,.5);
  overflow-y: auto;
  padding: 20px 22px calc(22px + env(safe-area-inset-bottom));
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.cart-head h2 { margin: 0; font-size: 1.35rem; }

.cart-close {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.cart-close:hover { background: rgba(255,255,255,.1); }

.cart-items { list-style: none; margin: 0; padding: 0; }

.cart-line {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.cart-name { font-weight: 700; font-size: .98rem; }
.cart-sum  { font-weight: 800; color: var(--green); min-width: 46px; text-align: right; }

.cart-qty { display: flex; align-items: center; gap: 4px; }
.cart-qty b { min-width: 24px; text-align: center; font-size: 1rem; }

.qty {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}

.qty:hover { background: rgba(255,255,255,.12); border-color: #a58bff; }

.cart-empty { color: var(--muted); font-size: .96rem; padding: 12px 0; }

.cart-foot { margin-top: 20px; }

.cart-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 7px 0;
  color: var(--muted);
}

.cart-row b { color: var(--text); font-size: 1.05rem; }

.cart-total {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 14px;
  color: var(--text);
  font-weight: 700;
}

.cart-total b { font-size: 1.5rem; color: var(--green); }

.tip { border: 0; margin: 14px 0 4px; padding: 0; }

.tip legend {
  padding: 0;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 9px;
}

.tip-why {
  margin: -3px 0 11px;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.5;
}

.tip-opts { display: flex; gap: 8px; flex-wrap: wrap; }

.tip-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  flex: 1 1 0;
  min-width: 68px;
  min-height: 52px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: .15s ease;
}

.tip-btn:hover { color: var(--text); border-color: #a58bff; }

.tip-amt { font-size: .76rem; font-weight: 600; opacity: .72; }

.tip-btn[aria-pressed="true"] {
  background: var(--iri-deep);
  border-color: transparent;
  color: #fff;
}

.cart-pay { width: 100%; justify-content: center; margin-top: 16px; }

.cart-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.55;
}

.cart-clear {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 11px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--muted);
  font-family: inherit;
  font-size: .86rem;
  cursor: pointer;
}

.cart-clear:hover { color: var(--text); background: rgba(255,255,255,.05); }

@media (max-width: 720px) {
  .cart-fab { right: 14px; bottom: 14px; }
  .cart-drawer { width: 100vw; border-left: 0; }
}

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

footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
}

footer img { width: 64px; margin: 0 auto 12px; border-radius: 50%; mix-blend-mode: screen; }

/* ---------- reveal on scroll ----------
   Content is visible by default. The hidden state is only applied once
   app.js confirms IntersectionObserver works (it adds .js to <html>), so a
   JS error or an old browser can never leave the page blank. */

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; padding: 26px; }
  .hero-layout { grid-template-columns: minmax(0, 520px) 1fr; }
}

@media (max-width: 720px) {
  section { padding: 56px 0; }
  .hero { min-height: 910px; padding: 0 0 44px; }
  .hero-media,
  .hero-media video,
  .hero-poster,
  .hero-vignette { height: 650px; }
  .hero-media video,
  .hero-poster { object-position: 62% center; }
  .hero-media video { filter: saturate(1.05) brightness(.7) contrast(1.04); }
  .hero-vignette {
    background:
      linear-gradient(180deg, rgba(3,5,10,.12) 0%, rgba(3,5,10,.7) 42%, #03050a 91%),
      linear-gradient(90deg, rgba(3,5,10,.72), rgba(3,5,10,.08));
  }
  .hero-layout { min-height: 670px; display: flex; align-items: flex-end; padding-top: 0; }
  .hero-copy { padding: 230px 0 44px; }
  .hero h1 { font-size: clamp(2.25rem, 11.5vw, 3.4rem); }
  .hero .lede { font-size: 1rem; max-width: 38ch; }
  .hero-scroll { display: none; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: rgba(5,7,13,.97);
    border-bottom: 1px solid var(--line);
    padding: 10px 4vw 16px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 14px; font-size: 1rem; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 13px; }
  .card-art { font-size: 2.8rem; }
  .color-stage { justify-content: center; text-align: center; }
  .order { padding: 36px 18px; }
  .order-grid { grid-template-columns: 1fr; }
  .order-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); }
  .order-card img {
    height: 100%;
    min-height: 132px;
    aspect-ratio: auto;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }
  .order-card-copy { padding: 16px; align-self: center; }
  .order-card b { font-size: 1rem; }
  .order-card span { display: block; font-size: .86rem; line-height: 1.55; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .hero-media video { display: none; }
  .hero-poster { display: block; }
  .hero-scroll { display: none; }
}
