/* Nogininja one-page shop — mobile first */
:root {
  --bg: #0c0c0c;
  --bg-elev: #151515;
  --bg-card: #1a1a1a;
  --text: #f3f1ec;
  --muted: #9c9b96;
  --line: #2a2a2a;
  --accent: #c81e1e;
  --btn: #f3f1ec;
  --btn-text: #0c0c0c;
  --radius: 12px;
  --header-h: 3.5rem;
  --font-display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --font-body: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --pad: 1.25rem;
  --max: 68rem;
  --narrow: 40rem;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 2.5rem);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 100;
  background: var(--btn);
  color: var(--btn-text);
  padding: 0.5rem 0.8rem;
  font-weight: 600;
}
.skip-link:focus { top: 0.75rem; }

.status-bar {
  background: var(--accent);
  color: #fff;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.45rem var(--pad);
  padding-left: max(var(--pad), env(safe-area-inset-left));
  padding-right: max(var(--pad), env(safe-area-inset-right));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(12, 12, 12, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0 max(var(--pad), env(safe-area-inset-right)) 0 max(var(--pad), env(safe-area-inset-left));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}

.logo-mark {
  width: 1.7rem;
  height: 1.7rem;
  border: 1.5px solid var(--text);
  border-radius: 4px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0;
  line-height: 1;
  position: relative;
}
.logo-mark::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 5px;
  height: 7px;
  background: var(--accent);
}

.logo-word {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.08em;
  line-height: 1;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  margin-right: -8px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #0c0c0c;
  border-bottom: 1px solid var(--line);
  padding: 0.5rem var(--pad) 2rem;
  min-height: calc(100dvh - var(--header-h) - 2rem);
}
.site-nav.is-open { display: block; }
body.nav-open { overflow: hidden; }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: block;
  text-decoration: none;
  padding: 0.85rem 0.2rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.92rem;
  min-height: 44px;
  border-bottom: 1px solid var(--line);
}
.site-nav li:last-child a { border-bottom: 0; }

.hero {
  padding: 3.25rem max(var(--pad), env(safe-area-inset-left)) 3.5rem;
  padding-right: max(var(--pad), env(safe-area-inset-right));
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 80% at 80% -10%, rgba(200, 30, 30, 0.18), transparent 55%),
    var(--bg);
}

.hero-copy {
  max-width: var(--max);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 0.95;
  margin: 0;
}

#hero-title {
  font-size: clamp(4.4rem, 22vw, 9.5rem);
  letter-spacing: 0.02em;
  line-height: 0.82;
  margin: 0 0 1rem;
}

.hero-lede {
  max-width: 28rem;
  margin: 0 0 1.6rem;
  font-size: 1.15rem;
  color: #d8d6d0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.2rem;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--btn);
  color: var(--btn-text);
  border-color: var(--btn);
}
.btn-primary:hover { background: #fff; }

.btn-buy {
  width: 100%;
  background: transparent;
  color: var(--text);
  border-color: #6a6a6a;
}
.btn-buy:hover,
.btn-buy:focus-visible {
  border-color: var(--text);
  background: #222;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.25rem max(var(--pad), env(safe-area-inset-left)) 3.5rem;
  padding-right: max(var(--pad), env(safe-area-inset-right));
}
.section-inner.narrow { max-width: calc(var(--narrow) + 2 * var(--pad)); }

.section-head { margin-bottom: 1.6rem; }
.section-head h2 {
  font-size: clamp(2.4rem, 9vw, 3.6rem);
  margin-bottom: 0.6rem;
}
.section-lede { margin: 0; color: var(--muted); }

.shop { border-bottom: 1px solid var(--line); }

.product-grid {
  display: grid;
  gap: 2rem;
}

.product {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.product-image { display: block; background: #111; }
.product-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-body {
  padding: 1.15rem 1.15rem 1.3rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-body h3 {
  font-size: 2rem;
  letter-spacing: 0.04em;
}
.product-color {
  margin: 0.15rem 0 0.7rem;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.product-desc { margin: 0 0 0.55rem; }
.product-blank {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.product-price {
  margin: auto 0 0.9rem;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
.product-price .amount {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.04em;
  line-height: 1;
}
.draft-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.size, .shipping, .about, .drops { border-bottom: 1px solid var(--line); }

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.size-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 16rem;
}
.size-table th,
.size-table td {
  text-align: left;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line);
}
.size-table thead th {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  background: var(--bg-elev);
}
.size-table tbody tr:last-child th,
.size-table tbody tr:last-child td { border-bottom: 0; }
.size-table tbody th { font-weight: 700; width: 30%; }

.fine-print, .footer-fine {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.shipping-card {
  background: var(--bg-elev);
  border: 1px dashed #5a5a5a;
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem 1.3rem;
}
.editable-flag {
  display: inline-block;
  margin: 0 0 0.9rem;
  padding: 0.2rem 0.5rem;
  border: 1px solid #6a6a6a;
  border-radius: 2px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #cfcfc8;
}
.shipping-rules {
  margin: 0 0 0.9rem;
  padding-left: 1.15rem;
}
.shipping-rules li { margin: 0.35rem 0; }
.shipping-card p:last-child { margin: 0; color: var(--muted); }

.about p { margin: 0 0 1rem; }
.about p:last-child { margin-bottom: 0; }

.drops-form label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.drops-row {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.drops-form input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border: 1px solid #4a4a4a;
  border-radius: 4px;
  background: #111;
  color: var(--text);
  font-family: inherit;
  font-size: 1.05rem;
}
.drops-form input[type="email"]:focus {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}
.form-status {
  margin: 0.85rem 0 0;
  color: var(--muted);
}
.form-status.is-visible { display: block; }

.site-footer {
  padding-bottom: env(safe-area-inset-bottom);
}
.footer-inner { padding-top: 2.5rem; padding-bottom: 2.75rem; }
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  margin: 0 0 0.35rem;
}
.site-footer p { margin: 0 0 0.55rem; color: var(--muted); }
.footer-brand { color: var(--text); }
.footer-copy { margin-top: 1.2rem; font-size: 0.9rem; }

.toast {
  position: fixed;
  left: 50%;
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 80;
  max-width: min(28rem, calc(100% - 2rem));
  background: var(--text);
  color: var(--btn-text);
  padding: 0.85rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.toast[hidden] { display: none; }

@media (min-width: 700px) {
  :root { --pad: 1.75rem; }

  .nav-toggle { display: none; }

  .header-inner { position: relative; }

  .site-nav {
    display: block;
    position: static;
    background: transparent;
    border: 0;
    padding: 0;
    min-height: 0;
  }
  .site-nav ul {
    display: flex;
    gap: 0.2rem;
  }
  .site-nav a {
    padding: 0.5rem 0.7rem;
    border: 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .hero { padding-top: 4.5rem; padding-bottom: 5rem; }
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  .product-body { padding: 1.15rem; }
  .product-body h3 { font-size: 1.7rem; }

  .drops-row {
    flex-direction: row;
    align-items: stretch;
  }
  .drops-form input[type="email"] { flex: 1; }
  .drops-row .btn { width: auto; white-space: nowrap; }
}

@media (min-width: 980px) {
  #hero-title { font-size: 10rem; }
  .hero-lede { font-size: 1.25rem; }
}
