@import url('https://fonts.googleapis.com/css2?family=Anton&family=Archivo:wght@400;500;600;700&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
  --ink: #0b0b0d;
  --ink-2: #16161a;
  --ink-3: #24242a;
  --bone: #ece8df;
  --bone-2: #d9d4ca;
  --mute: #8a877f;
  --line: rgba(236, 232, 223, 0.14);
  --signal: #ff5a1f;
  --ok: #3ddc84;
  --warn: #ffc53d;
  --bad: #ff4d4f;
  --display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --body: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --r: 4px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--bone); font-family: var(--body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.muted { color: var(--mute); }

/* announcement + header */
.announce { background: var(--signal); color: var(--ink); text-align: center; padding: 8px 16px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.header { position: sticky; top: 0; z-index: 40; background: rgba(11, 11, 13, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { width: 30px; height: 30px; }
.logo span { font-family: var(--display); font-size: 26px; letter-spacing: .06em; line-height: 1; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { text-decoration: none; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--bone-2); }
.nav a:hover { color: var(--signal); }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--bone); color: var(--ink); border: 0; padding: 10px 14px; border-radius: var(--r); font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.cart-btn b { background: var(--signal); color: var(--ink); border-radius: 99px; min-width: 20px; height: 20px; display: inline-grid; place-items: center; font-size: 11px; padding: 0 6px; }
@media (max-width: 640px) { .nav a.hide-sm { display: none; } .logo span { font-size: 22px; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--bone); background: var(--bone); color: var(--ink); padding: 14px 22px; border-radius: var(--r); font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.signal { background: var(--signal); border-color: var(--signal); }
.btn.ghost { background: transparent; color: var(--bone); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--bone); }
.btn.block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero .wrap { position: relative; z-index: 1; padding: 72px 20px 56px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(64px, 11vw, 168px); line-height: .86; margin: 18px 0 0; letter-spacing: .01em; text-transform: uppercase; }
.hero h1 em { font-style: normal; color: var(--signal); }
.hero p.lead { color: var(--bone-2); max-width: 420px; font-size: 17px; margin: 0 0 24px; }
.hero .telemetry { position: relative; background: rgba(11, 11, 13, .82); backdrop-filter: blur(2px); display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); margin-bottom: 24px; }
.hero .telemetry div { padding: 12px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero .telemetry div:nth-child(2n) { border-right: 0; }
.hero .telemetry div:nth-last-child(-n+2) { border-bottom: 0; }
.hero .telemetry b { display: block; font-family: var(--display); font-weight: 400; font-size: 26px; letter-spacing: .03em; }
.hero-orbit { position: absolute; right: -200px; top: -160px; width: 720px; height: 720px; opacity: .5; pointer-events: none; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-right: 8px; box-shadow: 0 0 0 4px rgba(61, 220, 132, .15); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); } }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; } }

.marquee { border-bottom: 1px solid var(--line); overflow: hidden; white-space: nowrap; padding: 14px 0; }
.marquee div { display: inline-block; animation: scroll 30s linear infinite; font-family: var(--display); font-size: 22px; letter-spacing: .08em; text-transform: uppercase; }
.marquee span { margin: 0 24px; } .marquee i { color: var(--signal); font-style: normal; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* collection */
.section { padding: 64px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 6vw, 72px); line-height: .9; margin: 6px 0 0; text-transform: uppercase; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { background: transparent; border: 1px solid var(--line); color: var(--bone-2); padding: 8px 14px; border-radius: 99px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.chip.on, .chip:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { background: var(--ink); cursor: pointer; position: relative; display: flex; flex-direction: column; }
.card .img { aspect-ratio: 1; overflow: hidden; background: var(--ink-2); }
.card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .img img { transform: scale(1.04); }
.card .info { padding: 16px; display: flex; justify-content: space-between; gap: 10px; align-items: start; border-top: 1px solid var(--line); }
.card h3 { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
.card .price { font-family: var(--mono); font-size: 14px; white-space: nowrap; text-align: right; }
.card .price s { display: block; color: var(--mute); font-size: 12px; }
.badge { position: absolute; top: 12px; left: 12px; background: var(--signal); color: var(--ink); font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .1em; padding: 4px 8px; border-radius: 2px; text-transform: uppercase; }
.badge.out { background: var(--bone); }

/* modal & drawer */
.overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .65); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .2s; }
.overlay.open { opacity: 1; pointer-events: auto; }
.modal { position: fixed; z-index: 90; left: 50%; top: 50%; transform: translate(-50%, -48%); width: min(960px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; background: var(--ink-2); border: 1px solid var(--line); border-radius: 6px; opacity: 0; pointer-events: none; transition: .2s; display: grid; grid-template-columns: 1fr 1fr; }
.modal.open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); }
.modal .gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.modal .thumbs { display: flex; gap: 6px; padding: 6px; }
.modal .thumbs img { width: 60px; height: 60px; object-fit: cover; cursor: pointer; opacity: .6; border-radius: 2px; }
.modal .thumbs img.on { opacity: 1; outline: 2px solid var(--signal); }
.modal .detail { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.modal h2 { font-family: var(--display); font-weight: 400; font-size: 40px; line-height: .95; margin: 0; text-transform: uppercase; }
.modal .price { font-family: var(--mono); font-size: 20px; }
.modal .price s { color: var(--mute); font-size: 14px; margin-left: 8px; }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.size { min-width: 52px; padding: 10px 12px; background: transparent; border: 1px solid var(--line); color: var(--bone); border-radius: var(--r); font-family: var(--mono); font-size: 13px; }
.size.on { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.size:disabled { opacity: .3; text-decoration: line-through; cursor: not-allowed; }
.qty { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r); }
.qty button { background: none; border: 0; color: var(--bone); width: 38px; height: 38px; font-size: 18px; }
.qty span { width: 40px; display: grid; place-items: center; font-family: var(--mono); }
.close { position: absolute; top: 10px; right: 10px; background: var(--ink); border: 1px solid var(--line); color: var(--bone); width: 36px; height: 36px; border-radius: 50%; font-size: 18px; z-index: 2; }
@media (max-width: 760px) { .modal { grid-template-columns: 1fr; } .modal .detail { padding: 20px; } }

.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); background: var(--ink-2); border-left: 1px solid var(--line); z-index: 90; transform: translateX(100%); transition: transform .25s ease; display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.drawer header { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer header h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 28px; text-transform: uppercase; }
.drawer .items { flex: 1; overflow: auto; padding: 8px 20px; }
.drawer footer { border-top: 1px solid var(--line); padding: 18px 20px; display: grid; gap: 10px; }
.line-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 2px; }
.line-item h4 { margin: 0; font-size: 14px; font-weight: 600; }
.line-item .qty button { width: 28px; height: 28px; font-size: 15px; }
.line-item .qty span { width: 28px; font-size: 12px; }
.link-btn { background: none; border: 0; color: var(--mute); font-family: var(--mono); font-size: 11px; text-decoration: underline; padding: 0; }
.row { display: flex; justify-content: space-between; gap: 12px; }
.row.total { font-family: var(--mono); font-size: 16px; font-weight: 600; }
.empty { text-align: center; padding: 60px 20px; color: var(--mute); }

/* forms */
.field { display: grid; gap: 6px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--bone-2); }
.field input, .field textarea, .field select { background: var(--ink); border: 1px solid var(--line); color: var(--bone); padding: 12px 14px; border-radius: var(--r); width: 100%; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--signal); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.panel { background: var(--ink-2); border: 1px solid var(--line); border-radius: 6px; padding: 24px; }
.page-title { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 7vw, 84px); line-height: .9; text-transform: uppercase; margin: 8px 0 28px; }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.alert { padding: 12px 14px; border-radius: var(--r); border: 1px solid rgba(255, 77, 79, .4); background: rgba(255, 77, 79, .1); color: #ffb3b3; font-size: 14px; }
.alert.info { border-color: rgba(255, 197, 61, .4); background: rgba(255, 197, 61, .08); color: #ffe2a0; }

/* order status */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); margin: 24px 0; }
.timeline div { border-top: 3px solid var(--ink-3); padding-top: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.timeline div.done { border-color: var(--signal); color: var(--bone); }
@media (max-width: 600px) { .timeline { grid-template-columns: 1fr; gap: 8px; } }
.big-status { font-family: var(--display); font-size: clamp(36px, 6vw, 60px); line-height: 1; text-transform: uppercase; margin: 8px 0; }
.resi-box { border: 1px dashed var(--signal); padding: 18px; border-radius: 6px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.resi-box b { font-family: var(--mono); font-size: 24px; letter-spacing: .08em; }

.footer { border-top: 1px solid var(--line); padding: 48px 0 32px; margin-top: 40px; }
.footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer .big { font-family: var(--display); font-size: clamp(64px, 14vw, 200px); line-height: .8; letter-spacing: .02em; color: var(--ink-3); width: 100%; margin-top: 24px; user-select: none; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--bone); color: var(--ink); padding: 12px 18px; border-radius: var(--r); font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .06em; opacity: 0; transition: .2s; z-index: 120; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.spinner { width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
