:root {
  --bg: #000;
  --bg-2: #0e0e0e;
  --bg-3: #161616;
  --line: #262626;
  --text: #fff;
  --muted: #8c8c8c;
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.loading { overflow: hidden; }
::selection { background: #fff; color: #000; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
img { max-width: 100%; }
.mono { font-family: "JetBrains Mono", monospace; }
.muted { color: var(--muted); }
h1, h2, h3, .logo { font-family: "Archivo Black", sans-serif; font-weight: 400; letter-spacing: -.01em; }

/* ---------- PRELOADER ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 100; background: #000;
  display: grid; place-content: center; justify-items: center; gap: 22px;
  transition: transform .9s var(--ease) .1s;
}
body:not(.loading) .preloader { transform: translateY(-100%); pointer-events: none; }
.pre-dragon { width: min(340px, 70vw); clip-path: inset(0 100% 0 0); animation: wipe 1.1s var(--ease) .1s forwards; }
.pre-word { font-family: "Archivo Black", sans-serif; font-size: clamp(22px, 4vw, 34px); letter-spacing: .4em; opacity: 0; animation: fadeUp .6s var(--ease) .8s forwards; }
.pre-bar { width: 160px; height: 2px; background: #222; overflow: hidden; }
.pre-bar span { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; animation: bar 1.4s var(--ease) forwards; }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes bar { to { transform: scaleX(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- CURSOR ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 90; pointer-events: none;
  width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%;
  background: #fff; mix-blend-mode: difference;
  transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease);
}
.cursor.big { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
@media (pointer: coarse) { .cursor { display: none; } }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 32px;
  padding: 16px clamp(16px, 5vw, 64px);
  background: rgba(0, 0, 0, .75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; }
.logo img { width: 46px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-weight: 500; }
.ulink { position: relative; color: var(--muted); transition: color .2s; }
.ulink::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px; background: #fff; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.ulink:hover { color: #fff; }
.ulink:hover::after { transform: scaleX(1); transform-origin: left; }
.cart-btn {
  position: relative; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  transition: border-color .2s, background .2s, color .2s;
}
.cart-btn:hover { background: #fff; color: #000; }
.cart-count {
  position: absolute; top: -4px; right: -4px;
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: #fff; color: #000; border: 2px solid #000;
  font-size: 11px; font-weight: 700; display: grid; place-items: center;
}
.cart-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.6); } }

/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr; gap: clamp(24px, 5vw, 72px);
  align-items: center; min-height: min(calc(100vh - 79px), 920px);
  padding: clamp(40px, 6vw, 80px) clamp(16px, 5vw, 64px);
}
.hero-bg-dragon {
  position: absolute; z-index: 0; left: -6%; top: 50%; width: 85%; max-width: none;
  opacity: .06; pointer-events: none;
  transform: translate3d(var(--mx, 0), calc(-50% + var(--my, 0px)), 0);
  transition: transform .6s var(--ease);
}
.hero-text, .hero-photo { position: relative; z-index: 1; }
.eyebrow { font-size: 14px; margin-bottom: 20px; color: var(--muted); }
h1 { font-size: clamp(48px, 13vw, 200px); line-height: .85; margin-bottom: 28px; letter-spacing: -.03em; }
.lead { color: var(--muted); font-size: 18px; max-width: 44ch; margin-bottom: 36px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 28px; border-radius: 999px; font-weight: 700;
  transition: color .35s var(--ease), transform .2s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .4s var(--ease);
}
.btn:hover::before { transform: none; }
.btn-primary { background: #fff; color: #000; }
.btn-primary::before { background: #000; box-shadow: inset 0 0 0 1px #fff; }
.btn-primary:hover { color: #fff; }
.btn-ghost { border: 1px solid #fff; }
.btn-ghost::before { background: #fff; }
.btn-ghost:hover { color: #000; }
.full { width: 100%; }

.hero-photo {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); aspect-ratio: 1792 / 2400; background: var(--bg-2);
}
.hero-photo .model-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.04); transform-origin: 60% 45%; transition: transform 1.2s var(--ease);
}
.hero-photo:hover .model-img { transform: scale(1.14); }
.hero-photo figcaption {
  position: absolute; z-index: 2; left: 16px; bottom: 16px;
  font-size: 12px; padding: 6px 12px; border-radius: 999px;
  background: rgba(0, 0, 0, .6); backdrop-filter: blur(6px); border: 1px solid #333;
}

/* ---------- MARQUEE ---------- */
.marquee { background: #fff; color: #000; overflow: hidden; padding: 18px 0; transform: rotate(-1.5deg); margin: 24px -10px; }
.marquee-track {
  display: flex; align-items: center; gap: 36px; width: max-content;
  animation: scroll 26s linear infinite;
  font-family: "Archivo Black", sans-serif; font-size: clamp(22px, 3vw, 34px);
}
.marquee-track img { height: 34px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- SHOP ---------- */
.shop, .beast, .faq { max-width: 1400px; margin: 0 auto; padding: clamp(64px, 9vw, 130px) clamp(16px, 5vw, 64px); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
h2 { font-size: clamp(40px, 6vw, 84px); line-height: .95; letter-spacing: -.02em; }

.product {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: center;
  padding: clamp(32px, 5vw, 64px) 0; border-top: 1px solid var(--line);
}
.product:nth-child(even) { grid-template-columns: 1fr 1.35fr; }
.product:nth-child(even) .stage { order: 2; }

.stage {
  position: relative; aspect-ratio: 1 / .95; border-radius: var(--radius);
  background: radial-gradient(circle at 50% 40%, #222 0%, #0b0b0b 70%);
  border: 1px solid var(--line);
  display: grid; place-items: center; perspective: 1000px; overflow: hidden;
}
.stage.light { background: radial-gradient(circle at 50% 40%, #3a3a3a 0%, #121212 70%); }
.stage-num {
  position: absolute; top: 10px; left: 24px; font-family: "Archivo Black", sans-serif;
  font-size: clamp(80px, 12vw, 170px); line-height: 1; color: transparent; -webkit-text-stroke: 1px #2e2e2e;
}
.shirt-wrap { width: 86%; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease); transform-style: preserve-3d; }
.shirt-wrap svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .6)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-.6deg); } 50% { transform: translateY(-14px) rotate(.6deg); } }

/* worn photo / flat shirt views */
.stage-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%;
  transform: scale(1.04); transition: opacity .5s var(--ease), transform 1.2s var(--ease);
}
.stage:hover .stage-photo { transform: scale(1.1); }
.stage .shirt-wrap { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.stage[data-view="worn"] .shirt-wrap { opacity: 0; pointer-events: none; }
.stage[data-view="flat"] .stage-photo { opacity: 0; }
.stage[data-view="worn"] .stage-num,
.stage[data-view="worn"] .lens-label { opacity: 0; }
.view-toggle {
  position: absolute; z-index: 3; left: 18px; bottom: 18px; display: flex; padding: 4px; gap: 4px;
  border-radius: 999px; background: rgba(0, 0, 0, .6); backdrop-filter: blur(8px); border: 1px solid #333;
}
.view-toggle button { padding: 7px 14px; border-radius: 999px; font-size: 12px; color: #bbb; transition: background .2s, color .2s; }
.view-toggle button.active { background: #fff; color: #000; }
.lens {
  position: absolute; right: 18px; bottom: 18px; width: clamp(110px, 16vw, 180px); aspect-ratio: 1;
  border-radius: 50%; overflow: hidden; border: 2px solid #fff; background: #111;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .6);
  transform: scale(.85); transition: transform .5s var(--ease);
}
.lens svg { width: 100%; height: 100%; display: block; }
.stage:hover .lens { transform: scale(1); }
.lens-label { position: absolute; right: 30px; bottom: calc(clamp(110px, 16vw, 180px) + 28px); font-size: 11px; color: var(--muted); }

.badge {
  position: absolute; top: 20px; right: 20px; font-size: 11px; font-weight: 700; letter-spacing: .08em;
  padding: 7px 12px; border-radius: 999px; background: #fff; color: #000;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(255, 255, 255, .12); } }

.info { display: flex; flex-direction: column; gap: 20px; }
.info .kicker { font-size: 13px; color: var(--muted); }
.info h3 { font-size: clamp(34px, 4vw, 56px); line-height: 1; }
.info .price { font-family: "JetBrains Mono", monospace; font-size: 26px; font-weight: 700; }
.info .desc { color: var(--muted); font-size: 17px; max-width: 42ch; }
.swatch { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 1px solid #555; vertical-align: -2px; margin-right: 8px; }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.size {
  min-width: 52px; height: 46px; padding: 0 10px; border-radius: 12px;
  border: 1px solid var(--line); font-family: "JetBrains Mono", monospace; font-size: 14px;
  transition: border-color .15s, background .2s, color .2s, transform .15s;
}
.size:hover { border-color: #fff; transform: translateY(-2px); }
.size.active { background: #fff; color: #000; border-color: #fff; }

/* ---------- BEAST ---------- */
.beast { border-top: 1px solid var(--line); text-align: center; }
.beast h2 { margin: 14px 0 56px; }
.beast-draw { position: relative; max-width: 980px; margin: 0 auto 64px; }
.beast-draw img { display: block; width: 100%; }
.beast-ghost { opacity: .08; }
.beast-ink { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--p, 0%)) 0 0); }
.specs { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; text-align: left; }
.specs li { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-2); color: var(--muted); transition: background .3s, color .3s; }
.specs li:hover { background: #fff; color: #000; }
.specs li:hover b { color: #000; }
.specs b { color: #fff; display: block; font-size: 18px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); max-width: 900px; }
.faq h2 { margin-bottom: 32px; }
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
summary { cursor: pointer; font-weight: 700; font-size: 19px; list-style: none; display: flex; justify-content: space-between; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: "JetBrains Mono", monospace; transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin-top: 10px; animation: fadeUp .4s var(--ease); }

/* ---------- FOOTER ---------- */
.footer {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 32px clamp(16px, 5vw, 64px); border-top: 1px solid var(--line); font-size: 14px;
}

/* ---------- REVEAL / SPLIT ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.split .ch { display: inline-block; transform: translateY(110%) rotate(8deg); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 35ms); }
.split.in .ch { transform: none; }

/* ---------- DRAWER ---------- */
.overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .7); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 30; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(440px, 100%);
  background: var(--bg-2); border-left: 1px solid var(--line); z-index: 40;
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .45s var(--ease);
}
body.cart-open .overlay { opacity: 1; pointer-events: auto; }
body.cart-open .drawer { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); transition: transform .3s var(--ease), background .2s, color .2s; }
.icon-btn:hover { transform: rotate(90deg); background: #fff; color: #000; }
.drawer-items { flex: 1; overflow-y: auto; padding: 12px 24px; }
.empty { color: var(--muted); text-align: center; padding: 48px 0; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); animation: fadeUp .4s var(--ease); }
.line-thumb { width: 76px; height: 76px; border-radius: 14px; display: grid; place-items: center; background: var(--bg-3); }
.line-thumb svg { width: 88%; }
.line-name { font-weight: 700; }
.line-meta { color: var(--muted); font-size: 13px; font-family: "JetBrains Mono", monospace; }
.qty { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.qty button { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); }
.qty button:hover { background: #fff; color: #000; }
.line-price { font-family: "JetBrains Mono", monospace; font-weight: 700; }
.drawer-foot { padding: 20px 24px; border-top: 1px solid var(--line); display: grid; gap: 16px; }
.total { display: flex; justify-content: space-between; font-size: 18px; }
.total b { font-family: "JetBrains Mono", monospace; }

.pay-note { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 11px; color: var(--muted); text-align: center; }
.btn:disabled { opacity: .6; cursor: wait; }

/* ---------- CUSTOM TEASER (home) ---------- */
.custom-teaser {
  max-width: 1400px; margin: 0 auto clamp(64px, 8vw, 110px); padding: 0 clamp(16px, 5vw, 64px);
}
.teaser-card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 32px;
  padding: clamp(28px, 5vw, 64px); border-radius: var(--radius); background: #fff; color: #000;
}
.teaser-card h2 { margin: 10px 0 18px; }
.teaser-card p { color: #444; max-width: 44ch; margin-bottom: 28px; font-size: 17px; }
.teaser-card .btn-primary { background: #000; color: #fff; }
.teaser-card .btn-primary::before { background: #fff; box-shadow: inset 0 0 0 1px #000; }
.teaser-card .btn-primary:hover { color: #000; }
.teaser-shirts { position: relative; height: 100%; min-height: 260px; }
.teaser-shirts svg { position: absolute; width: 58%; filter: drop-shadow(0 20px 26px rgba(0, 0, 0, .3)); animation: float 6s ease-in-out infinite; }
.teaser-shirts svg:nth-child(1) { left: 0; top: 10%; transform: rotate(-8deg); }
.teaser-shirts svg:nth-child(2) { left: 22%; top: 0; z-index: 1; animation-delay: -2s; }
.teaser-shirts svg:nth-child(3) { right: 0; top: 14%; animation-delay: -4s; }
.ulink.active { color: #fff; }

/* ---------- CUSTOM PAGE ---------- */
.custom { max-width: 1400px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) clamp(16px, 5vw, 64px) clamp(64px, 8vw, 110px); }
.custom-head { margin-bottom: 48px; }
.custom-head h1 { font-size: clamp(56px, 9vw, 130px); margin: 12px 0 18px; }
.price-inline { color: #fff; font-family: "JetBrains Mono", monospace; }
.builder { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.builder-stage { position: sticky; top: 100px; }
.stage-hint { position: absolute; left: 20px; bottom: 16px; font-size: 11px; color: var(--muted); }
.builder-form { display: grid; gap: 14px; }
fieldset { border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px 20px; background: var(--bg-2); display: grid; gap: 14px; }
legend { padding: 0 8px; margin-left: -8px; font-weight: 700; display: flex; gap: 12px; align-items: baseline; }
legend .mono { font-size: 11px; font-weight: 500; }
.swatches, .chips { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch-btn {
  width: 44px; height: 44px; border-radius: 50%; background: var(--c);
  border: 2px solid #333; box-shadow: inset 0 0 0 3px var(--bg-2);
  transition: transform .2s var(--ease), border-color .2s;
}
.swatch-btn:hover { transform: scale(1.1); }
.swatch-btn.active { border-color: #fff; transform: scale(1.12); }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: #fff; }
.chip.active { background: #fff; color: #000; border-color: #fff; }
.dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid #555; }
input[type="text"], textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line);
  background: #000; color: #fff; font: inherit; resize: vertical; transition: border-color .2s;
}
input[type="text"]:focus, textarea:focus { outline: none; border-color: #fff; }
input[type="text"] { font-family: "Archivo Black", sans-serif; font-size: 18px; letter-spacing: .02em; }
.upload {
  display: grid; place-items: center; min-height: 92px; padding: 16px; text-align: center; cursor: pointer;
  border: 1.5px dashed #444; border-radius: 12px; color: var(--muted); transition: border-color .2s, background .2s, color .2s;
}
.upload input { display: none; }
.upload:hover, .upload.drag { border-color: #fff; color: #fff; background: #111; }
.upload.has-file { border-style: solid; border-color: #fff; color: #fff; }
.link-btn { justify-self: start; font-size: 13px; color: var(--muted); text-decoration: underline; }
.link-btn:hover { color: #fff; }
.check { display: flex; gap: 12px; align-items: center; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: #fff; }
.builder-buy { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px 4px; }
.builder-buy .price { font-family: "JetBrains Mono", monospace; font-size: 30px; font-weight: 700; }
.small { font-size: 12px; }

/* ---------- CHECKOUT PAGE ---------- */
.checkout-page .nav { position: relative; }
.back-link { margin-left: auto; }
.co { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100vh - 79px); }
.co-form {
  width: 100%; max-width: 600px; justify-self: end; display: grid; gap: 36px; align-content: start;
  padding: 44px clamp(16px, 4vw, 56px) 64px;
}
.co-form section { display: grid; gap: 12px; }
.co-h { font-family: Inter, sans-serif; font-weight: 700; font-size: 22px; letter-spacing: -.01em; margin-bottom: 4px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* floating-label fields */
.field { position: relative; }
.field input, .field select {
  width: 100%; height: 54px; padding: 22px 14px 6px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg-2); color: #fff; font: inherit; font-size: 15px;
  transition: border-color .2s, box-shadow .2s; appearance: none;
}
.field input:focus, .field select:focus { outline: none; border-color: #fff; box-shadow: 0 0 0 1px #fff; }
.field label {
  position: absolute; left: 15px; top: 17px; color: var(--muted); font-size: 15px; pointer-events: none;
  transition: top .15s, font-size .15s;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field.select label { top: 7px; font-size: 11px; }
.field.select::after { content: "▾"; position: absolute; right: 16px; top: 17px; color: var(--muted); pointer-events: none; }
.field select option { background: #111; }
.field input:user-invalid { border-color: #d61f26; }
.small-check { font-size: 14px; color: var(--muted); }
.small-check input { width: 17px; height: 17px; }

/* option lists (shipping + payment) */
.options { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.opt {
  display: flex; align-items: center; gap: 14px; padding: 18px 16px; cursor: pointer;
  border-bottom: 1px solid var(--line); transition: background .2s;
}
.opt:last-of-type { border-bottom: 0; }
.opt.active { background: #141414; box-shadow: inset 0 0 0 1px #fff; }
.opt input { width: 18px; height: 18px; accent-color: #fff; flex: none; }
.opt-title { flex: 1; font-weight: 500; }
.cards { display: flex; gap: 6px; }
.opt-body { display: none; padding: 16px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.opt-body.open { display: grid; gap: 12px; animation: fadeUp .35s var(--ease); }
.opt-body:last-child { border-bottom: 0; }
.card-box { display: grid; gap: 10px; }
.cf { min-height: 54px; border-radius: 10px; background: #fff; position: relative; }
.cf:empty::before { content: attr(data-ph); position: absolute; left: 14px; top: 17px; color: #777; font-size: 15px; }
.cf iframe { width: 100% !important; }
.cf-preview { width: 100%; height: 54px; padding: 0 14px; border: 0; border-radius: 10px; background: #fff; color: #0a0a0a; font: inherit; font-size: 16px; }
.cf-preview:focus { outline: 2px solid #fff; outline-offset: 2px; }
.pp-note { margin-top: 2px; }
.co-error { padding: 14px 16px; border-radius: 10px; border: 1px solid #d61f26; color: #ff8a8f; background: rgba(214, 31, 38, .08); }
.co-submit { height: 58px; font-size: 16px; }
.co-submit[hidden] { display: none; }
.co-legal { text-align: center; }

/* summary */
.co-summary { background: var(--bg-2); border-left: 1px solid var(--line); }
.co-sum-inner { position: sticky; top: 0; max-width: 520px; padding: 44px clamp(16px, 4vw, 56px); display: grid; gap: 20px; }
.sum-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 6px 0; }
.sum-thumb { position: relative; width: 64px; height: 64px; border-radius: 12px; border: 1px solid var(--line); background: #000; display: grid; place-items: center; }
.sum-thumb svg { width: 86%; }
.sum-qty {
  position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  background: #fff; color: #000; font-size: 12px; font-weight: 700; display: grid; place-items: center;
}
.sum-name { font-weight: 700; }
.discount { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.discount .field input { background: #000; }
.discount .btn { height: 54px; padding: 0 22px; border-radius: 10px; }
.sum { display: grid; gap: 10px; }
.sum div { display: flex; justify-content: space-between; gap: 16px; }
.sum div[hidden] { display: none; }
.sum dt { color: var(--muted); }
.sum dd { font-family: "JetBrains Mono", monospace; }
.sum-total { padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--line); align-items: baseline; }
.sum-total dt { color: #fff; font-weight: 700; font-size: 20px; }
.sum-total b { font-size: 24px; }
.co-overlay {
  position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .85);
  display: grid; place-content: center; justify-items: center; gap: 18px;
}
.co-overlay[hidden] { display: none; }
.co-overlay img { width: 200px; animation: pulseDragon 1.4s ease-in-out infinite; }
@keyframes pulseDragon { 50% { opacity: .35; } }

@media (max-width: 900px) {
  .co { grid-template-columns: 1fr; }
  .co-summary { order: -1; border-left: 0; border-bottom: 1px solid var(--line); }
  .co-form { justify-self: stretch; max-width: none; }
  .co-sum-inner { position: static; max-width: none; }
}

/* ---------- SUCCESS PAGE ---------- */
.success {
  min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 18px;
  text-align: center; padding: 40px 16px;
}
.success-dragon { width: min(320px, 70vw); clip-path: inset(0 100% 0 0); animation: wipe 1.2s var(--ease) .1s forwards; }
.success h1 { font-size: clamp(56px, 10vw, 120px); margin: 0; }
.success .lead { margin: 0 auto 12px; }

/* ---------- TOAST ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 50;
  transform: translate(-50%, 140px); transition: transform .45s var(--ease);
  background: #fff; color: #000; font-weight: 700;
  padding: 13px 22px; border-radius: 999px; max-width: calc(100% - 32px); text-align: center;
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .hero, .product, .product:nth-child(even), .builder, .teaser-card { grid-template-columns: 1fr; }
  .builder-stage { position: relative; top: 0; }
  .product:nth-child(even) .stage { order: 0; }
  .hero { min-height: auto; }
  .hero-photo { max-width: 520px; width: 100%; margin: 0 auto; }
  .nav-links { display: none; }
  .cart-btn { margin-left: auto; }
}

.no-anim *, .no-anim *::before, .no-anim *::after { animation: none !important; transition: none !important; }
.no-anim .beast-ink { --p: 100%; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee-track { animation: none; }
}
