:root {
  --bg: #050506;
  --bg-2: #0d0d10;
  --fg: #f2f2f0;
  --muted: #8a8a90;
  --line: rgba(255, 255, 255, 0.1);
  --red: #e3141e;
  --red-glow: rgba(227, 20, 30, 0.45);
  --display: "Unbounded", system-ui, sans-serif;
  --body: "Space Grotesk", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.loading { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 0.95; letter-spacing: -0.03em; }
h2 { font-size: clamp(2.2rem, 6vw, 5.5rem); }
.eyebrow { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-bottom: 1.2rem; }
.num { font-family: var(--display); font-size: 0.8rem; color: var(--red); letter-spacing: 0.1em; }

/* grain overlay */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.8s steps(4) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(0, 0); } }

/* split text */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; }
.w > span { display: inline-block; will-change: transform; }
.c { display: inline-block; will-change: transform; }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--bg);
  display: grid; place-content: center; justify-items: center; gap: 18px;
}
.loader__count { font-family: var(--display); font-weight: 800; font-size: clamp(4rem, 14vw, 10rem); line-height: 1; }
.loader__bar { width: min(320px, 70vw); height: 2px; background: var(--line); overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: 0; background: var(--red); box-shadow: 0 0 12px var(--red); }
.loader__tag { font-size: 0.72rem; letter-spacing: 0.3em; color: var(--muted); }

/* ---------- cursor ---------- */
.cursor, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 150; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor { width: 6px; height: 6px; background: var(--red); }
.cursor-ring { width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, 0.4); transition: width 0.3s, height 0.3s, background 0.3s, border-color 0.3s; }
.cursor-ring.is-hover { width: 70px; height: 70px; background: rgba(227, 20, 30, 0.12); border-color: var(--red); }
@media (hover: none) { .cursor, .cursor-ring { display: none; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  mix-blend-mode: normal;
  background: linear-gradient(to bottom, rgba(5, 5, 6, 0.85), rgba(5, 5, 6, 0));
}
.nav__logo img { height: 30px; width: auto; }
.nav__links { display: flex; gap: clamp(14px, 3vw, 36px); align-items: center; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; }
.nav__links a { position: relative; display: inline-block; }
.nav__links a:not(.nav__cta)::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform 0.4s; }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { border: 1px solid var(--red); padding: 8px 16px; border-radius: 99px; }
.nav__cta:hover { background: var(--red); }
.nav__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; }
.nav__progress i { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 8px var(--red); }
@media (max-width: 720px) { .nav__links a:not(.nav__cta) { display: none; } .nav__cta { padding: 6px 12px; font-size: 0.72rem; } }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.35); filter: saturate(1.2); }
#particles { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, transparent 30%, #000 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, transparent 30%, #000 85%);
  opacity: 0.5;
}
.hero__copy { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(70px, 12vh, 130px); pointer-events: none; }
.hero__title { font-size: clamp(2.6rem, 9vw, 9rem); white-space: nowrap; }
@media (max-width: 700px) { .hero__title { white-space: normal; font-size: 17vw; line-height: 0.92; } .hero__copy { bottom: 64px; } }
.cw { display: inline-block; white-space: nowrap; }
.hero__title .cw:last-child .c { color: var(--red); text-shadow: 0 0 40px var(--red-glow); }
.hero__meta {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 26px;
  display: flex; justify-content: space-between; font-size: 0.7rem; letter-spacing: 0.25em; color: var(--muted);
}
.scroll-hint { display: inline-flex; align-items: center; gap: 10px; }
.scroll-hint i { width: 1px; height: 28px; background: linear-gradient(var(--red), transparent); animation: drip 1.6s infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- story ---------- */
.story { position: relative; height: 100vh; height: 100svh; display: grid; grid-template-columns: 1.15fr 1fr; overflow: hidden; }
.story__media { position: relative; overflow: hidden; }
.story__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); }
.story__img:first-child { clip-path: inset(0 0 0 0); }
.story__scan { position: absolute; left: 0; right: 0; height: 2px; top: 0; background: var(--red); box-shadow: 0 0 24px 4px var(--red); opacity: 0; }
.story__text { position: relative; display: flex; align-items: center; padding: 0 var(--gutter); }
.story__step { position: absolute; left: var(--gutter); right: var(--gutter); opacity: 0; }
.story__step h2 { margin: 0.6rem 0 1.2rem; }
.story__step p { color: var(--muted); max-width: 30ch; font-size: 1.1rem; }
.story__dots { position: absolute; left: var(--gutter); bottom: 48px; display: flex; gap: 8px; }
.story__dots i { width: 28px; height: 2px; background: var(--line); transition: background 0.3s; }
.story__dots i.on { background: var(--red); }
@media (max-width: 820px) {
  .story { grid-template-columns: 1fr; grid-template-rows: 55% 45%; }
  .story__step p { font-size: 1rem; }
  .story__dots { bottom: 24px; }
}

/* ---------- marquee ---------- */
.marquee { padding: clamp(60px, 10vw, 140px) 0; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee__row { display: flex; white-space: nowrap; font-family: var(--display); font-weight: 800; font-size: clamp(3rem, 10vw, 9rem); line-height: 1.05; will-change: transform; }
.marquee__row span { padding-right: 0.3em; }
.marquee__row--outline { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.35); }

/* ---------- models ---------- */
.models { position: relative; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.models__head { padding: 0 var(--gutter); margin-bottom: clamp(20px, 4vh, 48px); }
.models__track { display: flex; gap: clamp(16px, 2.5vw, 32px); padding: 0 var(--gutter); width: max-content; will-change: transform; }
.card {
  position: relative; width: clamp(270px, 32vw, 440px); flex: none;
  background: linear-gradient(160deg, #141418, #08080a); border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  transform-style: preserve-3d; transition: border-color 0.4s;
}
.card:hover { border-color: rgba(227, 20, 30, 0.6); }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(227, 20, 30, 0.18), transparent 60%); opacity: 0; transition: opacity 0.4s; pointer-events: none; z-index: 2; }
.card:hover::before { opacity: 1; }
.card__img { aspect-ratio: 4 / 3; overflow: hidden; background: #000; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(.2, .8, .2, 1); }
.card:hover .card__img img { transform: scale(1.08); }
.card__body { padding: 22px 24px 26px; }
.card__tag { font-size: 0.7rem; letter-spacing: 0.3em; color: var(--red); }
.card h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); margin: 8px 0 10px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card__stat { margin-top: 18px; display: flex; align-items: baseline; gap: 8px; }
.card__stat b { font-family: var(--display); font-size: 2.6rem; }
.card__stat span { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; }
.card--hot { border-color: rgba(227, 20, 30, 0.45); box-shadow: 0 0 60px -20px var(--red-glow); }
.card--end { display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: 32px; background: transparent; border-style: dashed; }
.card--end h3 { font-size: clamp(1.8rem, 3vw, 2.8rem); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; align-self: flex-start;
  background: var(--red); color: #fff; border: 0; border-radius: 99px; padding: 16px 28px;
  font: 600 0.9rem var(--body); letter-spacing: 0.05em; text-transform: uppercase; cursor: pointer;
  box-shadow: 0 0 0 0 var(--red-glow); transition: box-shadow 0.4s;
}
.btn:hover { box-shadow: 0 0 40px 6px var(--red-glow); }

/* ---------- reel ---------- */
.reel { position: relative; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.reel__frame { position: absolute; inset: 0; clip-path: inset(22% 36% 22% 36% round 28px); background: #000; }
.reel__blur { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(40px) brightness(0.5); transform: scale(1.2); }
.reel__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.reel__label { position: absolute; top: 90px; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; font-size: 0.7rem; letter-spacing: 0.25em; }
.reel__label span:first-child { color: var(--red); animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: 0.2; } }
.reel__title { position: relative; z-index: 2; font-size: clamp(3rem, 11vw, 10rem); mix-blend-mode: difference; pointer-events: none; text-align: center; }

/* ---------- process ---------- */
.process { position: relative; padding: clamp(100px, 16vh, 180px) var(--gutter); }
.process__head { max-width: 900px; margin-bottom: clamp(50px, 8vh, 90px); }
.process__line { position: absolute; left: 50%; top: 380px; bottom: 120px; width: 1px; background: var(--line); }
.process__line i { display: block; width: 100%; height: 100%; background: var(--red); box-shadow: 0 0 10px var(--red); transform-origin: top; transform: scaleY(0); }
.process__steps { display: grid; gap: clamp(60px, 10vh, 120px); }
.pstep { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 100px); align-items: center; }
.pstep img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; border: 1px solid var(--line); }
.pstep:nth-child(even) img { order: 2; }
.pstep h3 { font-size: clamp(2rem, 4.5vw, 3.8rem); margin: 10px 0 12px; }
.pstep p { color: var(--muted); max-width: 32ch; }
@media (max-width: 820px) {
  .process__line { display: none; }
  .pstep { grid-template-columns: 1fr; }
  .pstep:nth-child(even) img { order: 0; }
}

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 28px); padding: 60px var(--gutter) 160px; overflow: hidden; }
.gallery__col { display: grid; gap: clamp(12px, 2vw, 28px); align-content: start; }
.gallery__col:nth-child(2) { margin-top: 120px; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
@media (max-width: 620px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery__col:nth-child(3) { display: none; } }

/* ---------- drop ---------- */
.drop { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 120px var(--gutter); overflow: hidden; }
.drop::before { content: ""; position: absolute; width: 70vmax; height: 70vmax; right: -25vmax; bottom: -35vmax; background: radial-gradient(circle, var(--red-glow), transparent 60%); filter: blur(40px); pointer-events: none; }
.drop__title { font-size: clamp(2.8rem, 10vw, 9rem); margin-bottom: 48px; }
.drop__form { position: relative; display: flex; gap: 12px; max-width: 560px; flex-wrap: wrap; }
.drop__form input {
  flex: 1 1 240px; background: transparent; border: 1px solid var(--line); border-radius: 99px; padding: 16px 24px;
  color: var(--fg); font: 1rem var(--body); outline: none; transition: border-color 0.3s;
}
.drop__form input:focus { border-color: var(--red); }
.drop__note { position: relative; margin-top: 16px; color: var(--muted); font-size: 0.8rem; }

/* ---------- footer ---------- */
.footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 28px var(--gutter); border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--muted); }
.footer img { height: 26px; }

@media (prefers-reduced-motion: reduce) {
  body::after { animation: none; }
}

/* ---------- shop (product cards in the models track) ---------- */
.product { display: flex; flex-direction: column; }
.product__badge { position: absolute; top: 14px; left: 14px; z-index: 3; background: var(--red); font-size: 0.65rem; letter-spacing: 0.2em; padding: 6px 10px; border-radius: 99px; }
.product .card__img { aspect-ratio: 16 / 10; }
@media (max-height: 820px) { .product .card__img { aspect-ratio: 2 / 1; } .product .card__body { gap: 8px; padding: 14px 20px 18px; } .product .product__desc { font-size: 0.85rem; } }
.product .card__img img { transition: transform 0.8s cubic-bezier(.2, .8, .2, 1), opacity 0.35s; }
.product .card__img img.is-swapping { opacity: 0; }
.product .card__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 22px 22px; flex: 1; }
.product .card__tag { margin-bottom: -4px; }
.product__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.product h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); margin: 0; }
.product__price { font-family: var(--display); font-weight: 600; font-size: 1.4rem; color: var(--red); }
.product .product__spec { color: var(--fg); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.product .product__desc { color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.swatches { display: flex; align-items: center; gap: 10px; }
.swatch { width: 24px; height: 24px; border-radius: 50%; background: var(--sw); border: 2px solid rgba(255, 255, 255, 0.25); cursor: pointer; transition: transform 0.2s, border-color 0.2s; }
.swatch:hover { transform: scale(1.12); }
.swatch.is-on { border-color: #fff; box-shadow: 0 0 0 3px rgba(227, 20, 30, 0.5); }
.swatch__name { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
.product__buy { margin-top: auto; align-self: stretch; text-align: center; }
.card--end p { color: var(--muted); font-size: 0.95rem; max-width: 30ch; }

/* ---------- order drawer ---------- */
.order { position: fixed; inset: 0; z-index: 160; pointer-events: none; }
.order.is-open { pointer-events: auto; }
.order__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.4s; }
.order.is-open .order__backdrop { opacity: 1; }
.order__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); overflow-y: auto;
  background: var(--bg-2); border-left: 1px solid var(--line); padding: 32px clamp(20px, 4vw, 36px);
  transform: translateX(100%); transition: transform 0.6s cubic-bezier(.7, 0, .2, 1);
}
.order.is-open .order__panel { transform: none; }
.order__close { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 50%; background: transparent; color: var(--fg); border: 1px solid var(--line); cursor: pointer; font-size: 1rem; }
.order__close:hover { border-color: var(--red); }
.order__panel h3 { font-size: 1.8rem; margin-bottom: 24px; }
.order__item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.order__item img { width: 76px; height: 76px; object-fit: cover; border-radius: 12px; }
.order__item b { display: block; font-family: var(--display); font-size: 1rem; }
.order__item span { color: var(--muted); font-size: 0.85rem; }
.order__line { font-family: var(--display); color: var(--fg) !important; font-size: 1rem !important; }
.qty { display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; border: 1px solid var(--line); border-radius: 99px; padding: 2px 6px; }
.qty button { width: 28px; height: 28px; border: 0; background: transparent; color: var(--fg); font-size: 1.1rem; cursor: pointer; border-radius: 50%; }
.qty button:hover { background: rgba(227, 20, 30, 0.2); }
.qty span { color: var(--fg) !important; min-width: 1ch; text-align: center; }
.order__sum { display: flex; justify-content: space-between; padding-top: 14px; color: var(--muted); }
.order__total { color: var(--fg); font-family: var(--display); font-size: 1.2rem; padding-bottom: 24px; }
.order__form { display: grid; gap: 12px; }
.order__form input { background: transparent; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; color: var(--fg); font: 1rem var(--body); outline: none; transition: border-color 0.3s; }
.order__form input:focus { border-color: var(--red); }
.order__form .btn { align-self: stretch; margin-top: 6px; }
.order__form .btn:disabled { opacity: 0.6; cursor: wait; }
.order__note { color: var(--muted); font-size: 0.8rem; }

/* hover swap: closed -> open */
.card__img { position: relative; }
.img-alt { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s; }
.card:hover .img-alt { opacity: 1; }
@media (hover: none) { .img-alt { display: none; } }
