/* ─────────────────────────────────────────────
   Bites "Editorial Light" Design System
   Canvas/Primary   #FAF8F5  alabaster base
   Canvas/Secondary #F3EFEA  parchment (inputs, pills, flat buttons)
   Text/Ink         #1A1919  charcoal ink
   Text/Muted       #7A7977  warm taupe
   Accent/Brand     #3D261C  bitter cacao (active states, primary buttons)
   Tier/Elite       #8B263E  bordeaux — elite score tags (9.0+) only
   Type: Playfair Display (display, -2% tracking) ·
         Chivo Mono (scores/handles/metrics, -1% tracking) ·
         Inter 500 (body/journal copy)
   ───────────────────────────────────────────── */

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

:root {
  --canvas: #FAF8F5;
  --parchment: #F3EFEA;
  --ink: #1A1919;
  --muted: #7A7977;
  --body-text: #55524E;
  --accent: #F2782F;
  --accent-hover: #E06720;
  --dark: #3D261C;
  --elite: #8B263E;
  --border: #E9E4DC;
  --card-bg: #FFFFFF;
  --success: #2C7A4B;
  --error: #C0392B;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'Chivo Mono', 'SF Mono', Menlo, monospace;
  --shadow-sm: 0 1px 3px rgba(26, 25, 25, 0.05);
  --shadow-md: 0 6px 24px rgba(26, 25, 25, 0.07);
  --shadow-lg: 0 24px 64px rgba(26, 25, 25, 0.13);
}

html { scroll-behavior: smooth; }

body {
  overflow-x: clip;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 500;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* ── NAV ── */
.nav-outer {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid rgba(233, 228, 220, 0.8);
}

nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 23px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo span { color: var(--accent); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
  letter-spacing: 0.1px;
}

.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--ink); font-weight: 600; }

.nav-cta {
  background: var(--accent);
  color: #FAF8F5;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.1px;
  white-space: nowrap;
}

.nav-cta:hover { background: var(--accent-hover); transform: translateY(-1px); }

@media (max-width: 640px) {
  .nav-right { gap: 14px; }
  .nav-link { font-size: 12.5px; }
  .nav-cta { padding: 9px 14px; font-size: 12px; }
  .nav-logo { font-size: 20px; }
  /* logo already links home — drop the redundant Home link on small screens */
  .nav-right .nav-link[href="index.html"] { display: none; }
}

@media (max-width: 360px) {
  .nav-right { gap: 10px; }
  nav { padding: 0 16px; }
}

/* ── SHARED ── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #FAF8F5;
  font-weight: 600;
  font-size: 15px;
  padding: 16px 32px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(242, 120, 47, 0.30);
  letter-spacing: 0.1px;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(242, 120, 47, 0.38);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--parchment);
  border: 1px solid transparent;
  color: var(--ink);
  font-weight: 600;
  font-size: 14.5px;
  padding: 16px 30px;
  border-radius: 999px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.btn-secondary:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.icon-16 { width: 16px; height: 16px; flex-shrink: 0; }

/* ── HERO ── */
.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 88px 28px 96px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 56px 28px 72px;
    gap: 64px;
  }
  .hero-actions, .hero-proof { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
}

.hero-copy h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(30px, 9.5vw, 66px);
  line-height: 1.06;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-copy h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 17px;
  color: var(--body-text);
  max-width: 470px;
  margin-bottom: 36px;
  line-height: 1.7;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.proof-item .stars { color: var(--accent); letter-spacing: 1px; font-size: 11px; }

.proof-item strong {
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.proof-divider {
  width: 1px;
  height: 16px;
  background: var(--border);
}

@media (max-width: 560px) {
  .proof-divider { display: none; }
  .hero-proof { gap: 14px; }
}

/* ── PHONE MOCKUP ── */
.phone-wrap {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(242, 120, 47, 0.14) 0%, rgba(61, 38, 28, 0) 65%);
  pointer-events: none;
}

.phone {
  width: 290px;
  height: 600px;
  background: #17110D;
  border-radius: 48px;
  padding: 11px;
  box-shadow:
    0 40px 80px rgba(26, 25, 25, 0.28),
    0 12px 28px rgba(26, 25, 25, 0.16),
    inset 0 0 0 2px rgba(255,255,255,0.06);
  position: relative;
  transform: rotate(1.5deg);
}

.phone::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 25px;
  background: #17110D;
  border-radius: 999px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  position: relative;
  background: #1A1919;
}

.feed {
  position: absolute;
  inset: 0;
  animation: feedScroll 14s cubic-bezier(0.83, 0, 0.17, 1) infinite;
}

/* 3 real app screens + duplicate first; card = 578px tall */
@keyframes feedScroll {
  0%, 26.5%    { transform: translateY(0); }
  33.3%, 59.8% { transform: translateY(-578px); }
  66.6%, 93.1% { transform: translateY(-1156px); }
  100%         { transform: translateY(-1734px); }
}

.video-card {
  width: 100%;
  height: 578px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* top scrim for tab legibility */
.video-card::before {
  content: "";
  position: absolute;
  inset: 0 0 70% 0;
  background: linear-gradient(180deg, rgba(26,25,25,0.45) 0%, rgba(26,25,25,0) 100%);
  z-index: 2;
  pointer-events: none;
}

/* style-guide overlay: base edge → 50% of frame, rgba(26,25,25,0.7) → transparent */
.video-card::after {
  content: "";
  position: absolute;
  inset: 50% 0 0 0;
  background: linear-gradient(0deg, rgba(26,25,25,0.7) 0%, rgba(26,25,25,0) 100%);
  z-index: 2;
  pointer-events: none;
}

.video-card .dish-emoji {
  font-size: 104px;
  filter: drop-shadow(0 14px 28px rgba(0,0,0,0.4));
  animation: gentleFloat 4.5s ease-in-out infinite;
  z-index: 1;
}

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-7px) scale(1.025); }
}

/* real app screenshot slot — covers the mock UI when the file exists */
.screen-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 8;
}

/* top pill tab bar (Explore / Following / Friends) */
.app-tabs {
  position: absolute;
  top: 56px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: rgba(30, 26, 22, 0.55);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 6px;
  z-index: 5;
  font-size: 12px;
  font-weight: 500;
  color: rgba(250,248,245,0.75);
}

.app-tabs .tab-on {
  background: rgba(61, 38, 28, 0.9);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 5px 14px;
}

/* restaurant block under tabs */
.spot-block {
  position: absolute;
  top: 104px;
  left: 14px;
  right: 70px;
  z-index: 5;
  color: #fff;
}

.spot-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 6px rgba(26,25,25,0.55);
  margin-bottom: 7px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cuisine-chip {
  display: inline-block;
  background: rgba(250,248,245,0.22);
  backdrop-filter: blur(4px);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 7px;
}

.reviewed-by {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.85;
  text-shadow: 0 1px 4px rgba(26,25,25,0.5);
}

/* right action rail with circular score bubble */
.card-rail {
  position: absolute;
  right: 12px;
  bottom: 120px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  align-items: center;
  z-index: 5;
}

.score-bubble {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: #fff;
  border: 2.5px solid rgba(255,255,255,0.85);
  box-shadow: 0 4px 14px rgba(26,25,25,0.35);
  margin-bottom: 2px;
}

.sb-orange { background: var(--accent); }
.sb-green { background: #2C9E57; }

.rail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #fff;
}

.rail-item svg {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 2px 6px rgba(26,25,25,0.45));
}

.rail-item small {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(26,25,25,0.5);
}

/* bottom info: avatar + handle + caption */
.card-info {
  position: absolute;
  left: 14px;
  right: 70px;
  bottom: 78px;
  color: #fff;
  z-index: 5;
}

.card-info .info-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.card-info .avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(250,248,245,0.28);
  border: 1.5px solid rgba(250,248,245,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}

.card-info .handle {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 5px rgba(26,25,25,0.55);
}

.card-info .caption {
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.45;
  opacity: 0.95;
  text-shadow: 0 1px 5px rgba(26,25,25,0.55);
}

/* bottom app navigation bar */
.app-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 62px;
  background: rgba(16, 13, 11, 0.92);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 6;
  padding: 0 6px 8px;
}

.app-nav span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 8.5px;
  font-weight: 500;
  color: rgba(250,248,245,0.65);
}

.app-nav span svg { width: 19px; height: 19px; }

.app-nav .an-on {
  color: #fff;
  background: rgba(250,248,245,0.14);
  border-radius: 12px;
  padding: 5px 10px 4px;
}

/* photographic-feeling gradient backdrops */
.grad-1 { background: radial-gradient(120% 100% at 20% 10%, #C4552A 0%, #8A3315 45%, #421708 100%); }
.grad-2 { background: radial-gradient(120% 100% at 80% 15%, #D19A3F 0%, #92601A 45%, #462C0B 100%); }
.grad-3 { background: radial-gradient(120% 100% at 25% 85%, #7E9440 0%, #4E6023 45%, #24300F 100%); }
.grad-4 { background: radial-gradient(120% 100% at 75% 20%, #B24457 0%, #732535 45%, #361019 100%); }
.grad-5 { background: radial-gradient(120% 100% at 30% 15%, #45889A 0%, #26555F 45%, #10272C 100%); }
.grad-6 { background: radial-gradient(120% 100% at 70% 80%, #99664A 0%, #603A27 45%, #2C1A10 100%); }

/* floating badges */
.float-badge {
  position: absolute;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(233, 228, 220, 0.9);
  border-radius: 14px;
  padding: 11px 16px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-md);
  animation: badgeBob 5.5s ease-in-out infinite;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 6;
}

.float-badge svg { width: 16px; height: 16px; color: var(--accent); }

.float-badge .fb-score {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--elite);
  font-size: 15px;
  letter-spacing: -0.01em;
}

.fb-1 { top: 64px; left: -34px; animation-delay: 0s; }
.fb-2 { bottom: 150px; right: -30px; animation-delay: 1.8s; }
.fb-3 { bottom: 34px; left: -18px; animation-delay: 3.4s; }

@keyframes badgeBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@media (max-width: 900px) {
  .fb-1 { left: 8px; }
  .fb-2 { right: 8px; }
  .fb-3 { left: 16px; }
}

@media (max-width: 400px) {
  .float-badge { display: none; }
}

/* ── CACAO STATEMENT SECTION ── */
.scores-section {
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(250, 248, 245, 0.06) 0%, rgba(250, 248, 245, 0) 55%),
    var(--dark);
  padding: 104px 28px;
  text-align: center;
}

.scores-section .eyebrow { color: #B59A8A; }

.scores-section h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(25px, 6.5vw, 46px);
  color: #FAF8F5;
  max-width: 620px;
  margin: 0 auto 20px;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.scores-section h2 em { font-style: italic; color: var(--accent); }

.scores-section > div > p, .scores-section > p {
  font-size: 16px;
  color: #C6B2A3;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

.score-badges {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-top: 56px;
  flex-wrap: wrap;
}

.score-badge {
  background: rgba(250,248,245,0.05);
  border: 1px solid rgba(250,248,245,0.12);
  border-radius: 18px;
  padding: 28px 34px;
  min-width: 160px;
  text-align: center;
  transition: background 0.2s, border-color 0.2s;
}

.score-badge:hover {
  background: rgba(250,248,245,0.08);
  border-color: rgba(250,248,245,0.28);
}

.score-badge .score-num {
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}

.score-badge .score-label {
  font-size: 12.5px;
  color: #C6B2A3;
  font-weight: 500;
  letter-spacing: 0.4px;
}

/* ── FEATURES ── */
.how-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 104px 28px;
  text-align: center;
}

.how-section h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(24px, 6vw, 42px);
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.how-section .section-sub {
  font-size: 16px;
  color: var(--body-text);
  max-width: 480px;
  margin: 0 auto 60px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 860px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .steps-grid { grid-template-columns: 1fr; gap: 18px; }
}

.step {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.step-icon {
  width: 46px;
  height: 46px;
  background: var(--parchment);
  color: var(--accent);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step-icon svg { width: 22px; height: 22px; }

.step h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 9px;
  letter-spacing: -0.02em;
}

.step p {
  font-size: 14px;
  color: var(--body-text);
  line-height: 1.65;
}

/* ── CLOSING CTA ── */
.cta-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px 104px;
}

.cta-inner {
  background:
    radial-gradient(80% 140% at 15% 0%, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0) 55%),
    linear-gradient(135deg, #F2782F 0%, #E05E1A 100%);
  border-radius: 28px;
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-inner h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(24px, 6vw, 44px);
  color: #FAF8F5;
  margin-bottom: 14px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.cta-inner p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 34px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.cta-inner .cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
  padding: 16px 34px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 8px 28px rgba(0,0,0,0.22);
}

.cta-inner .cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.28);
}

/* ── PAGE HEADER ── */
.page-header {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 28px 16px;
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(30px, 8.5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.page-header h1 em {
  font-style: italic;
  color: var(--accent);
}

.page-header p {
  font-size: 16.5px;
  color: var(--body-text);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── MERCH ── */
.merch-grid {
  max-width: 1120px;
  margin: 56px auto 32px;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 26px;
}

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-img {
  aspect-ratio: 1;
  background: var(--parchment);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-img svg.product-art {
  width: 52%;
  height: 52%;
  color: var(--dark);
  opacity: 0.75;
}

.product-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--dark);
  color: #FAF8F5;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 999px;
}

.product-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-body h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.product-body .product-desc {
  font-size: 13.5px;
  color: var(--body-text);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-price {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.product-btn {
  background: var(--accent);
  color: #FAF8F5;
  font-size: 13px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background 0.2s;
  letter-spacing: 0.2px;
}

.product-btn:hover { background: var(--accent-hover); }

.merch-note {
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 96px;
  padding: 0 28px;
}

.merch-note a { color: var(--accent); font-weight: 600; text-decoration: none; }
.merch-note a:hover { text-decoration: underline; }

/* ── WAITLIST FORM ── */
.form-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 36px;
  max-width: 480px;
  margin: 44px auto 96px;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 480px) {
  .form-card { padding: 32px 24px; margin-left: 20px; margin-right: 20px; }
}

.form-card h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.form-card .form-desc {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 26px;
}

.form-group { margin-bottom: 15px; }

label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 7px;
}

input[type="email"],
input[type="text"],
input[type="tel"] {
  width: 100%;
  background: var(--parchment);
  border: 1.5px solid transparent;
  border-radius: 12px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  padding: 13px 15px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  -webkit-appearance: none;
}

input::placeholder { color: #B3AEA7; font-weight: 400; }

input:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(242, 120, 47, 0.12);
}

input.error-field { border-color: var(--error); }

.error-msg {
  font-size: 12.5px;
  color: var(--error);
  margin-top: 6px;
  display: none;
}

.error-msg.visible { display: block; }

button[type="submit"] {
  width: 100%;
  background: var(--accent);
  color: #FAF8F5;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  -webkit-appearance: none;
  letter-spacing: 0.2px;
  box-shadow: 0 6px 20px rgba(242, 120, 47, 0.28);
}

button[type="submit"]:hover { background: var(--accent-hover); }
button[type="submit"]:active { transform: scale(0.985); }

button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-fine-print {
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 14px;
}

.success-state {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 14px 0 6px;
}

.success-state.visible { display: flex; }

.checkmark {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(44, 122, 75, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.checkmark svg { width: 28px; height: 28px; }

.success-state h3 {
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}

.success-state p {
  font-size: 14px;
  color: var(--body-text);
  line-height: 1.65;
  max-width: 300px;
}

.success-state p strong { color: var(--ink); }

/* ── FOOTER ── */
footer {
  background: var(--parchment);
  border-top: 1px solid var(--border);
}

.footer-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 28px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

@media (max-width: 720px) {
  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
}

.footer-brand .footer-logo {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 10px;
}

.footer-brand .footer-logo span { color: var(--accent); }

.footer-brand p {
  font-size: 13.5px;
  color: var(--muted);
  max-width: 260px;
  line-height: 1.65;
}

@media (max-width: 720px) {
  .footer-brand p { margin: 0 auto; }
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 10px; }

.footer-col a {
  font-size: 14px;
  color: var(--body-text);
  text-decoration: none;
  transition: color 0.15s;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
}

.footer-bottom-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .footer-bottom-inner { justify-content: center; }
}

.footer-copy {
  font-size: 12.5px;
  color: var(--muted);
}

/* ── PRODUCT IMAGES & HOODIE FLIP ── */
.product-img { position: relative; }

.product-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

.product-img .product-tag { z-index: 4; }

.flip-img .img-back {
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.flip-img:hover .img-back,
.flip-img.flipped .img-back { opacity: 1; }

.flip-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 4;
  background: rgba(16, 13, 11, 0.72);
  color: #FAF8F5;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  pointer-events: none;
}

/* ── SOLD OUT ── */
.product-btn.sold-out {
  background: var(--parchment);
  color: var(--muted);
  cursor: default;
  pointer-events: none;
}

.soldout-ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  background: rgba(250, 248, 245, 0.92);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
}
