:root {
  --bg: #050505;
  --surface: #111111;
  --line: rgba(255, 255, 255, 0.14);
  --text: #f5f5f5;
  --muted: #9c9c9c;
  --nav: 72px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(255,255,255,.06), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: Manrope, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: Syne, sans-serif; letter-spacing: -0.04em; font-weight: 700; margin: 0; }

.progress {
  position: fixed;
  left: 0; top: 0;
  height: 2px;
  width: 0;
  background: #fff;
  z-index: 80;
  transform-origin: left center;
}
.boot {
  position: fixed;
  inset: 0;
  background: #050505;
  z-index: 90;
  display: grid;
  place-items: center;
  transition: opacity .6s ease, visibility .6s;
}
.boot span {
  font-family: Syne, sans-serif;
  font-size: clamp(2.4rem, 8vw, 5rem);
  letter-spacing: -0.05em;
}
.boot.hide { opacity: 0; visibility: hidden; pointer-events: none; }

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { border-bottom-color: var(--line); }
.brand { font-family: Syne, sans-serif; font-size: 1.35rem; letter-spacing: -0.04em; }
.nav-links { display: flex; gap: 22px; color: var(--muted); }
.nav-links a.active, .nav-links a:hover { color: #fff; }
.nav-actions { display: flex; gap: 8px; }
.icon-btn {
  width: 42px; height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  display: grid;
  place-items: center;
  position: relative;
}
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.6; }
.icon-btn span {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 18px; height: 18px;
  border-radius: 99px;
  background: #fff; color: #050505;
  font-size: 11px; font-weight: 700;
  display: grid; place-items: center;
  padding: 0 4px;
}
.icon-btn span[hidden] { display: none; }
.burger { display: none; }

.rail {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 140px;
  background: rgba(255,255,255,.12);
  z-index: 30;
}
.rail span { display: block; width: 100%; background: #fff; height: 0; }

#view { min-height: calc(100vh - 180px); animation: enter .85s cubic-bezier(.16,1,.3,1) both; }
@keyframes enter {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

.hero {
  min-height: calc(100svh - var(--nav));
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: end;
  padding: 48px 48px 72px;
}
.kicker { color: var(--muted); letter-spacing: .18em; text-transform: uppercase; font-size: .75rem; }
.hero h1 { font-size: clamp(4.2rem, 11vw, 9rem); line-height: .84; margin: 12px 0 18px; }
.hero h1 em { font-style: italic; font-weight: 500; }
.lede { max-width: 460px; color: #d4d4d4; font-size: 1.05rem; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-media { position: relative; overflow: hidden; border-radius: 28px; }
.hero-media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 28px;
  background: #161616;
  transform: scale(1.04);
  will-change: transform;
}
.feature {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 48px;
  align-items: center;
  padding: 88px 48px;
  border-top: 1px solid var(--line);
}
.feature-copy { display: grid; gap: 16px; align-content: center; }
.feature-copy h2 { font-size: clamp(2.2rem, 4vw, 4rem); line-height: .95; }
.feature-copy p { color: #d0d0d0; margin: 0; max-width: 36ch; }
.feature-copy strong { font-family: Syne, sans-serif; font-size: 1.6rem; }
.feature-photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 32px;
  background: #161616;
}
.scroll-cue {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.scroll-cue i {
  width: 1px; height: 54px;
  background: linear-gradient(#fff, transparent);
  display: block;
  animation: cue 1.6s ease infinite;
}
@keyframes cue {
  0% { transform: scaleY(.3); transform-origin: top; opacity: .3; }
  50% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(.3); transform-origin: bottom; opacity: .2; }
}

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  gap: 42px;
  width: max-content;
  animation: slide 32s linear infinite;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
  color: #cfcfcf;
}
@keyframes slide { to { transform: translateX(-50%); } }

.section { padding: 88px 48px; }
.section-last { padding-top: 20px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 28px;
}
.section-head h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.section-head p { color: var(--muted); max-width: 360px; margin: 0; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  display: block;
  background: var(--surface);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid transparent;
  transition: border-color .3s ease, transform .45s ease;
}
.card:hover { border-color: var(--line); transform: translateY(-4px); }
.card .shot { overflow: hidden; background: #1a1a1a; }
.card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .7s ease; }
.card:hover img { transform: scale(1.04); }
.card-body { padding: 16px 16px 18px; display: grid; gap: 4px; }
.card-body strong { font-weight: 600; }
.card-body span { color: var(--muted); font-size: .92rem; }
.badge {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 4px 10px;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #ddd;
}

.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cat {
  min-height: 160px;
  border-radius: 22px;
  border: 1px solid var(--line);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background .3s ease;
}
.cat:hover { background: #141414; }
.cat small { color: var(--muted); }

.product {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 36px;
  padding: 28px;
  align-items: start;
}
.gallery { display: grid; gap: 12px; }
.gallery-main {
  background: #141414;
  border-radius: 28px;
  overflow: hidden;
}
.gallery-main img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: opacity .45s ease; }
.stage { position: relative; }
.print-name {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  margin: 0;
  max-width: 42%;
  text-align: center;
  font-size: clamp(1rem, 2.4vw, 1.8rem);
  letter-spacing: .04em;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
  pointer-events: none;
  word-break: break-word;
}
.thumbs { display: flex; gap: 8px; overflow: auto; }
.thumbs button {
  border: 1px solid transparent;
  padding: 0;
  background: #141414;
  border-radius: 12px;
  overflow: hidden;
  flex: 0 0 78px;
}
.thumbs button.on { border-color: #fff; }
.thumbs img { width: 78px; height: 96px; object-fit: cover; }
.buy { position: sticky; top: calc(var(--nav) + 18px); display: grid; gap: 0; }
.buy-block { padding: 18px 0; border-top: 1px solid var(--line); }
.buy-block:first-child { border-top: 0; padding-top: 0; }
.buy h1 { font-size: clamp(2rem, 3vw, 3rem); margin: 8px 0 12px; }
.price { font-family: Syne, sans-serif; font-size: 2rem; }
.muted { color: var(--muted); }
.choice { display: grid; gap: 8px; }
.swatches, .sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch, .size {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
}
.swatch { width: 28px; height: 28px; padding: 0; }
.swatch.on, .size.on { outline: 2px solid #fff; outline-offset: 3px; }
.size { min-width: 52px; padding: 10px 12px; border-radius: 12px; }
.size:disabled, .swatch:disabled { opacity: .35; cursor: not-allowed; }
.btn, .btn-ghost {
  border-radius: 999px;
  padding: 14px 18px;
  border: 1px solid #fff;
  background: #fff;
  color: #050505;
  font-weight: 700;
}
.btn-ghost { background: transparent; color: #fff; }
.btn-full { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.prose p { color: #d7d7d7; margin: 0 0 12px; }
details { border-top: 1px solid var(--line); padding: 12px 0; }
details summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.chip {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 8px 14px;
}
.chip.on { background: #fff; color: #050505; }
.search {
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  min-width: min(240px, 100%);
}

.page { padding: 28px; max-width: 1100px; }
.page h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); margin-bottom: 8px; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.form, .summary {
  display: grid;
  gap: 12px;
  background: var(--surface);
  border-radius: 24px;
  padding: 22px;
}
label { display: grid; gap: 6px; font-size: .85rem; color: #cfcfcf; }
input, textarea, select {
  width: 100%;
  background: #0c0c0c;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
}
textarea { min-height: 90px; resize: vertical; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp { position: absolute; left: -9999px; }
.pay {
  border: 1px solid #fff;
  border-radius: 16px;
  padding: 14px;
}
.pay strong { display: block; }
.line { display: flex; justify-content: space-between; gap: 12px; }
.ref {
  font-family: Syne, sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.04em;
}
.copy {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.msg { background: #0c0c0c; border-radius: 14px; padding: 12px; color: #ddd; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer strong { color: #fff; font-family: Syne, sans-serif; }
.footer p { margin: 6px 0 0; }
.footer-links { display: flex; gap: 16px; align-items: center; }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100%);
  background: #0c0c0c;
  z-index: 60;
  border-left: 1px solid var(--line);
  padding: 18px;
  display: flex;
  flex-direction: column;
  transform: translateX(0);
  animation: drawer .35s ease;
}
.drawer[hidden], .menu[hidden] { display: none; }
@keyframes drawer { from { transform: translateX(24px); opacity: .6; } }
.drawer-head, .cart-line, .cart-foot { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.drawer h2 { font-size: 1.8rem; }
#drawer-body { display: flex; flex-direction: column; gap: 14px; overflow: auto; flex: 1; }
.cart-line img { width: 72px; height: 88px; object-fit: cover; border-radius: 12px; }
.cart-line p { margin: 0; color: var(--muted); font-size: .88rem; }
.stepper { display: flex; gap: 8px; align-items: center; }
.stepper button, .linkish {
  background: transparent; border: 0; color: #fff; padding: 0;
}
.cart-foot { border-top: 1px solid var(--line); padding-top: 14px; display: grid; }
.menu {
  position: fixed;
  inset: 0;
  background: rgba(5,5,5,.96);
  z-index: 70;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
  gap: 12px;
}
.menu a { font-family: Syne, sans-serif; font-size: clamp(2.6rem, 10vw, 4.5rem); letter-spacing: -0.05em; }
.menu-close { position: absolute; top: 18px; right: 18px; }

.toast {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #050505;
  border-radius: 999px;
  padding: 12px 16px;
  z-index: 75;
  font-weight: 650;
}
.toast[hidden] { display: none; }

.reveal { opacity: 0; transform: translateY(28px); animation: rise 1.05s cubic-bezier(.16,1,.3,1) both; animation-timeline: view(); animation-range: entry 0% entry 42%; }
.grid .reveal:nth-child(2) { animation-delay: .08s; }
.grid .reveal:nth-child(3) { animation-delay: .16s; }
.cats .reveal:nth-child(2) { animation-delay: .08s; }
.cats .reveal:nth-child(3) { animation-delay: .16s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.skeleton { height: 70vh; border-radius: 28px; background: linear-gradient(90deg, #121212, #1b1b1b, #121212); background-size: 200% 100%; animation: shimmer 1.2s infinite; margin: 28px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.empty { padding: 48px 0; color: var(--muted); }
.setup { padding: 18vh 28px; max-width: 640px; }
.setup a { display: inline-flex; margin-top: 16px; }

@media (max-width: 980px) {
  .hero, .feature, .product, .split, .grid, .cats { grid-template-columns: 1fr; }
  .hero, .feature, .section { padding-left: 28px; padding-right: 28px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .buy { position: static; }
  .rail { display: none; }
  .search { margin-left: 0; }
}
@media (max-width: 720px) {
  .nav { padding: 0 16px; }
  .nav-links { display: none; }
  .burger { display: grid; }
  .hero, .feature, .section, .product, .page, .footer { padding-left: 16px; padding-right: 16px; }
  .print-name { font-size: 1rem; top: 40%; }
  .hero { min-height: auto; padding-top: 18px; }
  .hero h1 { font-size: clamp(3.3rem, 18vw, 5rem); }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card-body { padding: 12px; }
  .card-body strong { font-size: .92rem; }
  .row { grid-template-columns: 1fr; }
  .footer { flex-direction: column; }
  .section { padding-top: 48px; padding-bottom: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}
