/* ============================================================
   COMPILEBUILT.COM — Main Stylesheet
   Build. Think. Ship.
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  --bg:           #111110;
  --bg-2:         #1a1a16;
  --bg-3:         #222219;
  --surface:      #f2ede3;
  --surface-2:    #e8e2d7;
  --white:        #ffffff;
  --off-white:    #f0ece3;
  --cream:        #c4b49a;
  --green:        #3d5a45;
  --green-dark:   #2d4434;
  --green-light:  #4e7359;
  --black-hat:    #1a1916;
  --stone-hat:    #c8b89a;
  --text-dim:     rgba(255, 255, 255, 0.5);
  --text-muted:   rgba(255, 255, 255, 0.3);
  --border:       rgba(255, 255, 255, 0.08);
  --border-light: rgba(0, 0, 0, 0.08);

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Space Grotesk', sans-serif;

  --nav-h:        64px;
  --announce-h:   40px;

  --max-w:        1280px;
  --radius:       4px;
  --radius-lg:    8px;

  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
ul { list-style: none; }

/* ── Utilities ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 60px);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ── Announcement Bar ─────────────────────────────────────── */
.announcement-bar {
  height: var(--announce-h);
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.announcement-bar__track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
}

.announcement-bar__track span {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  padding-inline: 40px;
}

.announcement-bar__track .dot {
  color: rgba(255,255,255,0.4);
  padding-inline: 0;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
  background: rgba(17, 17, 16, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 60px);
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: auto;
}

.nav__logo img {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.2s ease;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width 0.25s var(--ease-out);
}

.nav__links a:hover {
  color: var(--white);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 32px;
}

.nav__cart {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.2s ease;
  padding: 8px 0;
  cursor: pointer;
}

.nav__cart:hover { color: var(--white); }

.nav__cart svg { width: 18px; height: 18px; }

.nav__cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  background: var(--white);
  color: var(--bg);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: 8px;
}

.nav__hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; }
.nav__hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Menu */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  top: calc(var(--announce-h) + var(--nav-h));
  background: var(--bg);
  z-index: 99;
  padding: 40px clamp(20px, 4vw, 60px);
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
  overflow-y: auto;
}

.nav__mobile.open { display: flex; }

.nav__mobile a {
  font-family: var(--font-display);
  font-size: clamp(32px, 8vw, 48px);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  padding-block: 16px;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s ease;
}

.nav__mobile a:hover { color: var(--cream); }

/* ── Hero Section ─────────────────────────────────────────── */
.hero {
  min-height: calc(100svh - var(--announce-h) - var(--nav-h));
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

/* Left panel */
.hero__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px clamp(20px, 4vw, 60px) 80px clamp(20px, 4vw, 60px);
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.hero__eyebrow span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
}

.hero__eyebrow::before,
.hero__eyebrow::after {
  content: '';
  display: block;
  height: 1px;
  background: var(--cream);
  opacity: 0.4;
}

.hero__eyebrow::before { width: 20px; }
.hero__eyebrow::after  { flex: 1; max-width: 40px; }

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(68px, 8.5vw, 128px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 32px;
}

.hero__headline .line {
  display: block;
}

.hero__subhead {
  font-size: clamp(14px, 1.3vw, 16px);
  font-weight: 400;
  color: var(--text-dim);
  max-width: 340px;
  line-height: 1.6;
  margin-bottom: 40px;
}

.hero__cta-group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: all 0.25s var(--ease-out);
  white-space: nowrap;
}

.btn--outline {
  border: 1.5px solid rgba(255,255,255,0.5);
  color: var(--white);
  background: transparent;
}

.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.06);
}

.btn--solid {
  background: var(--white);
  color: var(--bg);
  border: 1.5px solid var(--white);
}

.btn--solid:hover {
  background: var(--off-white);
  border-color: var(--off-white);
}

.btn--dark {
  background: var(--bg);
  color: var(--white);
  border: 1.5px solid rgba(0,0,0,0.2);
}

.btn--dark:hover {
  background: var(--bg-2);
}

.btn--green {
  background: var(--green);
  color: var(--white);
  border: 1.5px solid var(--green);
}

.btn--green:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.btn--ghost {
  background: transparent;
  color: var(--text-dim);
  border: none;
  padding: 14px 0;
  letter-spacing: 0.1em;
}

.btn--ghost:hover { color: var(--white); }

.btn--sm {
  font-size: 11px;
  padding: 10px 20px;
}

.btn svg {
  width: 14px; height: 14px;
  flex-shrink: 0;
}

/* Right panel */
.hero__right {
  position: relative;
  background: var(--bg-2);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero product image — replace background-image with your photo */
.hero__product-img {
  position: absolute;
  inset: 0;
  background-color: var(--bg-2);
  background-size: cover;
  background-position: center;
  /* background-image: url('../assets/hero-hat.jpg'); */
}

.hero__product-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17,17,16,0.4) 0%, transparent 50%, rgba(61,90,69,0.15) 100%);
}

.hero__product-label {
  position: absolute;
  bottom: 32px;
  left: 32px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 8px 14px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Placeholder visual when no photo */
.hero__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  z-index: 1;
  padding: 40px;
  text-align: center;
}

.hero__placeholder-hat {
  width: min(280px, 55%);
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: var(--black-hat);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero__placeholder-hat::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 30%, rgba(255,255,255,0.04) 0%, transparent 60%);
}

.hero__placeholder-hat img {
  width: 60px;
  opacity: 0.8;
}

.hero__drop-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  border: 1px solid rgba(196, 180, 154, 0.3);
  padding: 6px 12px;
  border-radius: 100px;
}

.hero__drop-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--cream);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

/* ── Features Bar ─────────────────────────────────────────── */
.features-bar {
  background: var(--bg-3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 20px;
}

.features-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 0;
  min-width: 160px;
  justify-content: center;
}

.feature-item__icon {
  width: 32px; height: 32px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-item__icon svg {
  width: 14px; height: 14px;
  stroke: var(--cream);
  stroke-width: 1.5;
  fill: none;
}

.feature-item__text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.feature-item__sep {
  width: 1px; height: 20px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── Section Shared ───────────────────────────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-tag--light { color: var(--cream); }
.section-tag--dark  { color: rgba(0,0,0,0.4); }

.section-tag::before {
  content: '//';
  opacity: 0.5;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: 0.01em;
}

.section-title--xl  { font-size: clamp(40px, 5vw, 72px); }
.section-title--lg  { font-size: clamp(32px, 4vw, 56px); }
.section-title--md  { font-size: clamp(24px, 3vw, 40px); }
.section-title--dark { color: var(--bg); }
.section-title--light { color: var(--white); }

/* ── Drop 01 Section ──────────────────────────────────────── */
.drop-section {
  background: var(--surface);
  padding-block: 80px;
}

.drop-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.drop-section__title-block {
  flex: 1;
}

.drop-section__subtitle {
  font-size: 15px;
  font-weight: 400;
  color: rgba(0,0,0,0.45);
  margin-top: 8px;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.product-card__img {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Individual hat color backgrounds */
.product-card__img--build    { background: #1a1916; }
.product-card__img--ship     { background: #3d3b38; }
.product-card__img--iterate  { background: #1e2d4a; }

.product-card__img-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  position: relative;
}

/* API product image — injected by JS */
.product-card__img.has-image .product-card__img-inner {
  padding: 0;
}

.product-card__img.has-image .hat-placeholder {
  display: none;
}

.product-card__img-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: block;
}

.product-card__img-inner img.loaded {
  opacity: 1;
}

/* Placeholder hat SVG shape */
.hat-placeholder {
  width: 100%;
  max-width: 180px;
  opacity: 0.18;
}

.product-card__img--ship .hat-placeholder { opacity: 0.25; }

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--bg);
  color: var(--white);
  padding: 4px 8px;
  border-radius: 2px;
}

.product-card__body {
  padding: 18px 20px 20px;
  border-top: 1px solid var(--border-light);
}

.product-card__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bg);
  line-height: 1;
  margin-bottom: 4px;
}

.product-card__desc {
  font-size: 12px;
  font-weight: 400;
  color: rgba(0,0,0,0.4);
  margin-bottom: 16px;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card__price {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--bg);
  letter-spacing: 0.02em;
}

.product-card__add {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: var(--bg);
  color: var(--white);
  border-radius: var(--radius);
  transition: background 0.2s ease;
}

.product-card__add:hover { background: var(--bg-3); }
.product-card__add svg { width: 14px; height: 14px; }

/* Trust badges */
.trust-bar {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
  justify-content: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.35);
}

.trust-item svg {
  width: 14px; height: 14px;
  stroke: rgba(0,0,0,0.3);
  stroke-width: 1.5;
  fill: none;
}

/* ── Sticker Pack Section ─────────────────────────────────── */
.stickers-section {
  background: var(--bg);
  padding-block: 80px;
  overflow: hidden;
}

.stickers-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.stickers-section__desc {
  max-width: 400px;
  font-size: 15px;
  color: var(--text-dim);
  margin-top: 12px;
  line-height: 1.6;
}

.sticker-pack {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* Individual stickers — CSS-drawn to match mockup */
.sticker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease-out);
  cursor: pointer;
}

.sticker:hover { transform: scale(1.05) rotate(-1deg); }

.sticker--compile {
  width: 80px; height: 80px;
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  border-radius: 50%;
  flex-direction: column;
  gap: 4px;
}

.sticker--compile img { width: 32px; opacity: 0.9; }

.sticker--compile .sticker__label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
}

.sticker--pill {
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 12px 20px;
  flex-direction: column;
  gap: 0;
  min-width: 90px;
  text-align: center;
}

.sticker--pill .line1 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1;
}

.sticker--pill .line2 {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cream);
  line-height: 1;
  margin-top: 2px;
}

.sticker--rect {
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  text-align: center;
  flex-direction: column;
  gap: 2px;
}

.sticker--rect .line1 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  line-height: 1;
}

.sticker--rect .line2 {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cream);
  line-height: 1;
}

.sticker--v {
  background: var(--bg);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
}

.sticker-pack__price {
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 4px;
}

.sticker-pack__price strong {
  color: var(--white);
  font-weight: 600;
}

/* ── Lifestyle / Gallery Section ──────────────────────────── */
.gallery-section {
  background: var(--bg-2);
  padding-block: 80px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
  margin-top: 40px;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--bg-3);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: var(--gallery-position, center center);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.7s ease;
  transform: scale(1.02);
}

.gallery-item.is-loaded img {
  opacity: 1;
  transform: scale(1);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 17, 16, 0.04) 0%, rgba(17, 17, 16, 0.18) 48%, rgba(17, 17, 16, 0.82) 100%);
  pointer-events: none;
  z-index: 1;
}

.gallery-item--wide {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.gallery-item__placeholder {
  position: relative;
  z-index: 2;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.15);
  border: 1px dashed rgba(255,255,255,0.08);
  padding: 12px 20px;
  border-radius: var(--radius);
}

.gallery-item.is-loaded .gallery-item__placeholder {
  display: none;
}

.gallery-item__meta {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  color: var(--surface);
}

.gallery-item__meta span {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gallery-item__meta p {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(242, 237, 227, 0.84);
  max-width: 24ch;
}

/* ── Brand Statement ──────────────────────────────────────── */
.brand-section {
  background: var(--bg);
  padding-block: 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.brand-section::before {
  content: 'BUILD';
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(120px, 20vw, 260px);
  font-weight: 900;
  text-transform: uppercase;
  color: rgba(255,255,255,0.02);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.brand-section__tagline {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 0.9;
  margin-bottom: 28px;
  position: relative;
}

.brand-section__tagline em {
  font-style: normal;
  color: var(--cream);
}

.brand-section__desc {
  max-width: 520px;
  margin-inline: auto;
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 40px;
  position: relative;
}

.brand-section__cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Values Row ───────────────────────────────────────────── */
.values-section {
  background: var(--bg-2);
  padding-block: 64px;
  border-top: 1px solid var(--border);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.value-item {
  padding: 32px 28px;
  background: var(--bg-2);
  border-right: 1px solid var(--border);
}

.value-item:last-child { border-right: none; }

.value-item__num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  margin-bottom: 12px;
}

.value-item__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 8px;
}

.value-item__desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.footer__upper {
  padding-block: 60px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer__brand img {
  height: 24px;
  margin-bottom: 16px;
}

.footer__brand p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 240px;
  margin-bottom: 24px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-dim);
  transition: all 0.2s ease;
}

.footer__social a:hover {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}

.footer__social svg { width: 16px; height: 16px; }

.footer__col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer__col ul li {
  margin-bottom: 10px;
}

.footer__col ul li a {
  font-size: 14px;
  color: var(--text-dim);
  transition: color 0.2s ease;
}

.footer__col ul li a:hover { color: var(--white); }

.footer__lower {
  border-top: 1px solid var(--border);
  padding-block: 24px;
}

.footer__lower-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__wordmark {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 64px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  margin-block: 0;
  flex: 1;
}

.footer__meta {
  font-size: 12px;
  color: var(--text-muted);
  text-align: right;
}

.footer__meta a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer__meta a:hover { color: var(--text-dim); }

/* ── Scroll-reveal ────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="100"] { transition-delay: 0.1s; }
[data-reveal-delay="200"] { transition-delay: 0.2s; }
[data-reveal-delay="300"] { transition-delay: 0.3s; }
[data-reveal-delay="400"] { transition-delay: 0.4s; }
[data-reveal-delay="500"] { transition-delay: 0.5s; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-item:nth-child(2) { border-right: none; }
  .value-item:nth-child(3) { border-right: 1px solid var(--border); }
  .value-item:nth-child(1),
  .value-item:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer__brand { grid-column: span 2; }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 56px;
  }

  .nav__links,
  .nav__actions { display: none; }

  .nav__hamburger { display: flex; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__left {
    padding: 60px clamp(20px, 4vw, 40px);
  }

  .hero__right {
    min-height: 50vw;
    max-height: 380px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid .product-card:last-child {
    grid-column: span 2;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item--wide {
    grid-column: span 2;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer__brand { grid-column: span 2; }

  .features-bar__inner {
    justify-content: flex-start;
    gap: 16px;
  }

  .feature-item__sep { display: none; }
  .feature-item { min-width: 140px; flex: 0 0 auto; justify-content: flex-start; }

  .drop-section__header { flex-direction: column; align-items: flex-start; }
  .stickers-section__header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-grid .product-card:last-child {
    grid-column: span 1;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item--wide {
    grid-column: span 1;
    aspect-ratio: 4/3;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .value-item { border-right: none; border-bottom: 1px solid var(--border); }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__brand { grid-column: span 1; }

  .sticker-pack {
    gap: 12px;
  }
}

/* ══════════════════════════════════════════════════════════════
   FOURTHWALL PRODUCT DRAWER
   Slides in from the right. Checkout opens as a centered popup.
═══════════════════════════════════════════════════════════════ */

/* Backdrop */
.fw-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.fw-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* Drawer panel */
.fw-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100vw);
  background: var(--bg);
  border-left: 1px solid var(--border);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.fw-drawer.open { transform: translateX(0); }

/* Header */
.fw-drawer__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px 24px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.fw-drawer__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 4px;
}

.fw-drawer__title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 0.9;
  margin: 0;
}

.fw-drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-dim);
  flex-shrink: 0;
  margin-left: 16px;
  transition: all 0.2s ease;
}

.fw-drawer__close:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.fw-drawer__close svg { width: 16px; height: 16px; }

/* Scrollable body */
.fw-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Product swatch / image area */
.fw-drawer__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease;
}

.fw-drawer__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.fw-drawer__img svg {
  width: min(220px, 60%);
  opacity: 0.2;
  position: relative;
  z-index: 1;
}

/* Info block */
.fw-drawer__subtitle {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.fw-drawer__desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 20px;
}

.fw-drawer__details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fw-drawer__details li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-dim);
}

.fw-drawer__details li::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--cream);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Footer with price + CTA */
.fw-drawer__footer {
  padding: 20px 24px 32px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fw-drawer__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fw-drawer__price {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1;
}

.fw-drawer__note {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-align: right;
  line-height: 1.4;
}

.fw-drawer__buy {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 13px;
  gap: 10px;
}

.fw-drawer__buy svg { width: 13px; height: 13px; }

/* Transition for swatch background swap */
.fw-drawer__img { transition: background-color 0.4s ease; }

/* API product image in drawer */
.fw-drawer__img.has-image svg {
  display: none;
}

.fw-drawer__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: block;
}

.fw-drawer__img img.loaded {
  opacity: 1;
}

@media (max-width: 480px) {
  .fw-drawer { width: 100vw; border-left: none; }
}

/* ── Cart Drawer ──────────────────────────────────────────── */

/* Nav cart count badge — hidden until cart has items (shown via JS) */
.nav__cart-count {
  display: none;
  background: var(--green);
  color: var(--white);
}

/* Cart drawer — inherits .fw-drawer base styles */
#cartDrawer .fw-drawer__header {
  border-bottom: 1px solid var(--border);
}

.cart-drawer__empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 24px;
  text-align: center;
}

.cart-drawer__empty p {
  font-size: 14px;
  color: var(--text-dim, rgba(255,255,255,0.5));
  line-height: 1.6;
}

.cart-drawer__items {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Cart item row */
.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}

.cart-item__swatch {
  width: 44px;
  height: 44px;
  border-radius: var(--radius, 6px);
  flex-shrink: 0;
  background: #1a1916;
}

.cart-item__info {
  flex: 1;
  min-width: 0;
}

.cart-item__name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1;
  margin: 0 0 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item__price {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin: 0;
}

.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cart-item__qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius, 6px);
  background: transparent;
  color: rgba(255,255,255,0.5);
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
  padding: 0;
}

.cart-item__qty-btn:hover {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}

.cart-item__qty-num {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  min-width: 18px;
  text-align: center;
}

.cart-item__remove {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.3);
  cursor: pointer;
  border-radius: var(--radius, 6px);
  transition: color 0.15s ease;
  flex-shrink: 0;
  padding: 0;
}

.cart-item__remove:hover { color: var(--white); }
.cart-item__remove svg { width: 14px; height: 14px; }

/* Cart footer */
.cart-drawer__shipping {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  text-align: center;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}
