@font-face {
  font-family: 'Object Sans';
  src: url('/fonts/ObjectSans-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Object Sans';
  src: url('/fonts/ObjectSans-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000000;
  --fg: #ffffff;
  --muted: #b9b9b9;
  --accent: #24ff00;
  --accent-2: #faf000;
  --sold-out: #ff4c4c;
  --hairline: rgba(255,255,255,0.16);
  --font: 'aktiv-grotesk', 'Object Sans', -apple-system, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.site-header {
  position: fixed;
  top: env(safe-area-inset-top, 0px);
  left: 0;
  right: 0;
  
  z-index: 650;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(16px, 4vw, 40px);
  background: linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(0,0,0,0));
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
}

.site-header.is-solid {
  
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--hairline);
}

.wordmark {
  flex: 0 0 auto;
}

.wordmark img {
  display: block;
  width: clamp(140px, 56vw, 300px);
  height: calc(clamp(140px, 56vw, 300px) * 99 / 2761);
  mix-blend-mode: difference;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
}

.nav { display: flex; align-items: center; gap: 22px; font-size: 12px; letter-spacing: 0.02em; }

.nav a { color: var(--fg); }

.nav a:hover { color: var(--accent-2); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  
  z-index: 700;
}

.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  color: inherit;
  cursor: pointer;
}

.nav-cart svg { width: 20px; height: 20px; display: block; }

.nav-cart:hover { color: var(--accent-2); }

.cart-count {
  position: absolute;
  top: -3px;
  right: -6px;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  border-radius: 999px;
  background: var(--accent-2);
  color: #000;
  font-size: 10px;
  font-weight: 700;
  line-height: 15px;
  text-align: center;
  transform: scale(0);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cart-count.is-visible { transform: scale(1); }

.nav-cart.is-hidden { visibility: hidden; pointer-events: none; }

.nav-cart-inline {
  display: none;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  color: var(--fg);
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}

.nav-cart-inline:hover { color: var(--accent-2); }

.nav-cart-inline .cart-count {
  position: static;
  top: auto;
  right: auto;
}

@media (max-width: 760px) {
  .nav-cart-inline { display: flex; }
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--fg);
  font-family: var(--font);
  font-size: 12px;
  letter-spacing: 0.02em;
  cursor: pointer;
  padding: 4px 0;
  width: 40px;
  text-align: right;
}

@media (max-width: 760px) {
  .nav {
    position: fixed;
    
    top: var(--header-h, 64px);
    right: 0;
    height: calc(100dvh - var(--header-h, 64px));
    width: min(280px, 72vw);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 0 clamp(24px, 7vw, 40px);
    margin: 0;
    
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-left: 1px solid var(--hairline);
    font-size: 20px;
    z-index: 600;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .nav.is-open { transform: translateX(0); }
  .nav-toggle { display: block; }
}

.panel-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 550;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.panel-scrim.is-visible { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  
  top: var(--header-h, 64px);
  right: 0;
  height: calc(100dvh - var(--header-h, 64px));
  width: min(420px, 92vw);
  z-index: 600;
  background: #000;
  border-left: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.is-open { transform: translateX(0); }

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(16px, 4vw, 28px);
  border-bottom: 1px solid var(--hairline);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cart-drawer__close {
  background: none;
  border: none;
  color: inherit;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}

.cart-drawer__close:hover { color: var(--accent-2); }

.cart-drawer__body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: clamp(16px, 4vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-empty {
  margin: auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.cart-empty a { color: var(--fg); text-decoration: underline; }

.cart-empty a:hover { color: var(--accent-2); }

.cart-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hairline);
  transition: opacity 0.15s ease;
}

.cart-line.is-updating { opacity: 0.45; }

.cart-line-info { display: flex; flex-direction: column; gap: 8px; }

.cart-line-title { font-weight: 700; }

.cart-line-meta { color: var(--muted); font-size: 12px; }

.cart-line-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-line-qty__btn {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--hairline);
  color: var(--fg);
  font-family: var(--font);
  font-size: 13px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

.cart-line-qty__btn:hover { border-color: var(--fg); }

.cart-line-qty__btn:disabled { cursor: default; opacity: 0.5; }

.cart-line-qty__value { min-width: 14px; text-align: center; font-size: 12px; }

.cart-line-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.cart-line-total { font-weight: 700; }

.cart-line-remove {
  background: none;
  border: none;
  padding: 0;
  color: var(--muted);
  font-family: var(--font);
  font-size: 11px;
  text-decoration: underline;
  cursor: pointer;
}

.cart-line-remove:hover { color: var(--sold-out); }

.cart-line-remove:disabled { cursor: default; opacity: 0.5; text-decoration: none; }

.cart-drawer__foot {
  border-top: 1px solid var(--hairline);
  padding: clamp(16px, 4vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-subtotal { display: flex; justify-content: space-between; font-size: 14px; }

.cart-checkout {
  background: var(--fg);
  color: #000;
  border: none;
  padding: 14px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.cart-checkout:hover { background: var(--accent-2); }

.site-footer {
  background: #000;
  border-top: 1px solid var(--hairline);
  padding: clamp(40px, 6vw, 64px) clamp(16px, 4vw, 40px) calc(clamp(40px, 6vw, 64px) + env(safe-area-inset-bottom, 0px));
}

.footer-mark {
  display: flex;
  justify-content: center;
  margin: 0 auto 32px;
}

.footer-mark img {
  height: clamp(38px, 5.5vw, 56px);
  width: auto;
  display: block;
}

.footer-columns {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
}

.footer-legal {
  text-align: left;
  padding-top: 3px;
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

.footer-legal a { color: var(--muted); text-decoration: underline; }

.footer-legal a:hover { color: var(--accent); }

.footer-signup { max-width: 400px; margin-top: -17px; }

.footer-form { display: flex; align-items: center; gap: 10px; }

.footer-input {
  font-family: var(--font);
  font-size: 11px;
  color: #fff;
  background: transparent;
  border: 1px solid #fff;
  padding: 6px 10px;
}

.footer-input::placeholder { color: var(--muted); }

.footer-submit {
  font-family: var(--font);
  font-size: 11px;
  background: #fff;
  color: #000;
  border: 1px solid #fff;
  padding: 6px 10px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.footer-submit:hover { background: var(--accent); border-color: var(--accent); }

.footer-submit:disabled { opacity: 0.5; cursor: default; }

.signup__status {
  font-size: 11px;
  margin: 0 0 8px 0;
  min-height: 1em;
}

.signup__status.is-success { color: var(--accent); }

.signup__status.is-error { color: var(--sold-out); }

.signup__status.is-pending { color: var(--muted); }

.footer-consent {
  font-size: 11px;
  color: var(--muted);
  margin: 15px 0 0 0;
}

.footer-consent a { color: var(--muted); text-decoration: underline; }

.footer-consent a:hover { color: var(--accent); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
