@font-face {
  font-family: Outfit;
  src: url("/assets/fonts/Outfit-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #0b0b0b;
  --ink: #f4efe4;
  --muted: #9a9488;
  --lime: #d6ff3d;
  --line: #222;
  --card: #141414;
  --max: 1120px;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 400;
}

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

a {
  color: var(--lime);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

h1,
h2,
h3 {
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 0.4em;
}

h1 {
  font-size: clamp(2.4rem, 7vw, 5.4rem);
}
h1 span,
.brand span,
.hero-copy h1 span {
  color: var(--lime);
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

p {
  margin: 0 0 1em;
}

header.site,
footer.site {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--ink);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.05em;
}
.brand:hover {
  text-decoration: none;
}

header.site nav {
  display: flex;
  gap: 22px;
  align-items: center;
  font-weight: 600;
}
header.site nav a {
  color: var(--muted);
}
header.site nav a:hover,
header.site nav a.is-active {
  color: var(--ink);
  text-decoration: none;
}

.cart-link span {
  display: inline-flex;
  min-width: 1.4em;
  height: 1.4em;
  padding: 0 0.35em;
  margin-left: 4px;
  border-radius: 99px;
  background: var(--lime);
  color: #111;
  font-size: 0.78rem;
  align-items: center;
  justify-content: center;
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 22px 12px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--lime);
  margin-bottom: 10px;
}

.lede {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 38ch;
}

.hero-art img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--lime);
  color: #111;
  font-weight: 800;
  letter-spacing: -0.02em;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}
.btn:hover {
  text-decoration: none;
  filter: brightness(1.05);
}
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.band {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 22px 80px;
}

.narrow {
  max-width: 680px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.card:hover {
  text-decoration: none;
  border-color: #3a3a3a;
}
.card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #101010;
}
.card-meta {
  padding: 14px 16px 18px;
}
.card-meta h3 {
  font-size: 1.15rem;
  margin-bottom: 2px;
}
.card-meta p {
  color: var(--muted);
  margin: 0 0 10px;
  font-size: 0.95rem;
}
.price {
  font-weight: 800;
  color: var(--lime);
}
.price-note {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.85rem;
  margin-left: 6px;
}

.shop-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 8px 0 4px;
  font-weight: 600;
}
.shop-jump a {
  color: var(--muted);
}
.shop-jump a:hover {
  color: var(--ink);
  text-decoration: none;
}

.band h2 {
  scroll-margin-top: 72px;
  margin-top: 40px;
}
.band > h2:first-of-type {
  margin-top: 28px;
}

.pdp {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 22px 80px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
}
.pdp figure img {
  width: 100%;
  border-radius: 18px;
  background: #101010;
}
.pdp .price {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 12px;
}

fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 16px;
}
legend {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 8px;
}

.swatches,
.sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.swatch,
.size {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.92rem;
}
.swatch input,
.size input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.swatch span:first-of-type {
  width: 22px;
  height: 22px;
  border-radius: 99px;
  border: 2px solid #444;
  display: inline-block;
}
.swatch:has(input:checked) span:first-of-type {
  border-color: var(--lime);
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--lime);
}
.size span {
  display: inline-flex;
  min-width: 48px;
  justify-content: center;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.size:has(input:checked) span {
  border-color: var(--lime);
  background: color-mix(in srgb, var(--lime) 14%, transparent);
}

.qty {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 18px;
  color: var(--muted);
}
.qty input {
  width: 72px;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  font: inherit;
}

.details {
  margin: 28px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.details li {
  margin: 0 0 6px 18px;
}

.form-status {
  margin-top: 10px;
  color: var(--lime);
}

.cart-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.cart-list li {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cart-list img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 10px;
}
.cart-list button {
  background: none;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
}
.cart-totals {
  display: flex;
  justify-content: space-between;
  margin: 8px 0;
}
.cart-note {
  color: var(--muted);
  font-size: 0.92rem;
}

footer.site {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  flex-wrap: wrap;
}
footer.site a {
  color: var(--muted);
  margin-left: 14px;
}

@media (max-width: 800px) {
  .hero,
  .pdp {
    grid-template-columns: 1fr;
    padding-top: 18px;
  }
  header.site nav {
    gap: 14px;
    font-size: 0.92rem;
  }
  .cart-list li {
    grid-template-columns: 72px 1fr;
  }
  .cart-list li strong:last-child {
    grid-column: 2;
  }
}
