/* ==========================================================================
   CASH HAWK — Fearless Luxury Streetwear
   Stylesheet
   ========================================================================== */

/* ---------- Self-hosted fonts (no external CDN dependency) ---------- */
@font-face {
  font-family: "Anton";
  src: url("../fonts/anton-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Permanent Marker";
  src: url("../fonts/permanent-marker-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design Tokens ---------- */
:root {
  /* Colors */
  --bg: #0a0a0a;
  --bg-alt: #101010;
  --bg-card: #161412;
  --bg-card-hover: #1c1a17;
  --ink: #f3ede2;
  --ink-dim: #a89f8f;
  --ink-faint: #726b60;
  --gold: #c9a961;
  --gold-bright: #e8cd8a;
  --gold-dim: #8a7440;
  --crimson: #b8202f;
  --crimson-bright: #d92e3f;
  --line: rgba(243, 237, 226, 0.09);
  --line-bright: rgba(201, 169, 97, 0.35);
  --overlay: rgba(6, 6, 5, 0.72);

  /* Type */
  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Space Grotesk", "Segoe UI", sans-serif;
  --font-mark: "Permanent Marker", cursive;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Layout */
  --container: 1320px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius-sm: 4px;
  --radius-md: 10px;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
  height: 100vh;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul {
  list-style: none;
}

input,
textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
}

::selection {
  background: var(--gold);
  color: #0a0a0a;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.02;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-head .eyebrow {
  margin-bottom: 1.1rem;
}

.section-head h2 {
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  margin-bottom: 1rem;
}

.section-head p {
  color: var(--ink-dim);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  max-width: 42rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .eyebrow::before {
  display: none;
}

.mark-text {
  font-family: var(--font-mark);
  font-weight: 400;
  color: var(--crimson-bright);
}

section {
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.9rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: transform 0.5s var(--ease-out), background-color 0.5s var(--ease-out), color 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-solid {
  background: var(--gold);
  color: #0a0908;
  border: 1px solid var(--gold);
}

.btn-solid:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-bright);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  transition: transform 0.5s var(--ease-out);
}

.btn-arrow svg {
  width: 100%;
  height: 100%;
}

.btn:hover .btn-arrow {
  transform: translate(3px, -3px);
}

.product-link .btn-arrow {
  width: 0.85rem;
  height: 0.85rem;
}

/* ==========================================================================
   PRELOADER / INTRO
   ========================================================================== */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Pure-CSS safety net: even in a total JS failure, the splash
     releases on its own and stops blocking the page. */
  animation: pre-auto-release 6.5s forwards;
}

@keyframes pre-auto-release {
  0%, 92% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; pointer-events: none; }
}

#preloader .pre-inner {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  text-align: center;
}

#preloader .pre-mark {
  width: clamp(64px, 10vw, 96px);
  height: auto;
  filter: drop-shadow(0 0 24px rgba(201, 169, 97, 0.35));
  /* Visible by default — JS animates FROM hidden INTO this state.
     If JS/GSAP never runs, the mark is still shown, not blank. */
  opacity: 1;
}

#preloader .pre-word {
  overflow: hidden;
  padding: 0 0.2em;
}

#preloader .pre-word span {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 4.2rem);
  letter-spacing: 0.05em;
  color: var(--ink);
  transform: translateY(0);
}

#preloader .pre-tag {
  font-size: 0.68rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-dim);
  opacity: 1;
}

#preloader .pre-bar-track {
  width: clamp(160px, 24vw, 240px);
  height: 1px;
  background: var(--line);
  margin-top: 0.6rem;
  position: relative;
  overflow: hidden;
}

#preloader .pre-bar-fill {
  position: absolute;
  inset: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold-bright));
}

#preloader .pre-count {
  position: absolute;
  bottom: clamp(1.5rem, 4vw, 3rem);
  right: clamp(1.5rem, 4vw, 3rem);
  z-index: 5;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}

/* The two panels are the ONLY opaque layer in the preloader. Combined
   (left shows its left half, right shows its right half) they cover
   the full viewport at rest, sitting BEHIND the logo/wordmark so the
   intro content is always visible on top of them. At exit they clip
   apart, which is what actually reveals the page underneath. */
#preloader .pre-panel {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: #08080a;
}

#preloader .pre-panel.left {
  clip-path: inset(0 50% 0 0);
}

#preloader .pre-panel.right {
  clip-path: inset(0 0 0 50%);
}

body:not(.preloading) #preloader {
  display: none;
}

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding-block: 1.4rem;
  transition: padding 0.5s var(--ease-out), background-color 0.5s var(--ease-out), border-color 0.5s var(--ease-out), backdrop-filter 0.5s var(--ease-out);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  padding-block: 0.85rem;
  background: rgba(8, 8, 8, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 2;
}

.brand img {
  height: 34px;
  width: auto;
}

.brand-word {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.05em;
}

.brand-word .lower {
  color: var(--gold);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 2.4vw, 2.4rem);
}

.main-nav a {
  position: relative;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  padding-block: 0.3rem;
  transition: color 0.4s var(--ease-out);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right 0.4s var(--ease-out);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--ink);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  right: 0;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.header-cta .btn {
  padding: 0.75rem 1.4rem;
  font-size: 0.72rem;
}

.nav-toggle {
  display: none;
  width: 30px;
  height: 22px;
  position: relative;
  z-index: 501;
}

.nav-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: transform 0.45s var(--ease-in-out), opacity 0.3s ease, top 0.45s var(--ease-in-out);
}

.nav-toggle span:nth-child(1) {
  top: 0;
}

.nav-toggle span:nth-child(2) {
  top: 10px;
}

.nav-toggle span:nth-child(3) {
  top: 20px;
}

.nav-toggle.open span:nth-child(1) {
  top: 10px;
  transform: rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  top: 10px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(8, 8, 7, 0.98);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease-out), visibility 0.5s;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.mobile-menu.open a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu a:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu a:nth-child(2) { transition-delay: 0.14s; }
.mobile-menu a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu a:nth-child(4) { transition-delay: 0.26s; }
.mobile-menu a:nth-child(5) { transition-delay: 0.32s; }
.mobile-menu a:nth-child(6) { transition-delay: 0.38s; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding-top: 7rem;
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
  padding-inline: var(--gutter);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 24%;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(6, 6, 5, 0.96) 0%, rgba(6, 6, 5, 0.62) 32%, rgba(6, 6, 5, 0.18) 58%, rgba(6, 6, 5, 0.42) 100%),
    linear-gradient(90deg, rgba(6, 6, 5, 0.55) 0%, rgba(6, 6, 5, 0.05) 45%, rgba(6, 6, 5, 0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 46rem;
}

.hero .eyebrow {
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  color: var(--ink);
  margin-bottom: 1.2rem;
}

.hero h1 .accent {
  color: var(--gold);
}

.hero-sub {
  font-size: clamp(0.96rem, 1.3vw, 1.14rem);
  color: var(--ink-dim);
  max-width: 32rem;
  margin-bottom: 1.9rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.9rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.hero-tags span {
  position: relative;
  padding-left: 1rem;
}

.hero-tags span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  transform: translateY(-50%);
  background: var(--crimson-bright);
  border-radius: 50%;
}

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: 2.2rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-faint);
  writing-mode: vertical-rl;
}

.scroll-cue .line {
  width: 1px;
  height: 46px;
  background: var(--ink-faint);
  position: relative;
  overflow: hidden;
}

.scroll-cue .line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: scrollcue 2.2s var(--ease-in-out) infinite;
}

@keyframes scrollcue {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
  overflow: hidden;
  padding-block: 1.1rem;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.4rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-inline: 1.4rem;
  white-space: nowrap;
}

.marquee-track span.gold {
  color: var(--gold);
}

.marquee-track span::after {
  content: "\2726";
  margin-left: 1.4rem;
  color: var(--crimson-bright);
  font-size: 0.8rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   MANIFESTO
   ========================================================================== */
.manifesto {
  background: var(--bg);
}

.manifesto .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.manifesto-mark {
  display: flex;
  justify-content: center;
}

.manifesto-mark img {
  width: min(280px, 70%);
  filter: drop-shadow(0 0 40px rgba(201, 169, 97, 0.16));
}

.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.18;
  color: var(--ink);
  text-transform: none;
  margin-bottom: 1.8rem;
}

.manifesto-quote::before {
  content: "\201C";
  color: var(--gold);
}

.manifesto-quote::after {
  content: "\201D";
  color: var(--gold);
}

.manifesto p.body-text {
  color: var(--ink-dim);
  max-width: 34rem;
  margin-bottom: 1rem;
}

.manifesto .signature {
  font-family: var(--font-mark);
  color: var(--gold);
  font-size: 1.3rem;
  margin-top: 1.2rem;
}

/* ==========================================================================
   PRODUCT GRID (Collection + Sweatsuits)
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
}

.product-grid.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.product-card:hover {
  border-color: var(--line-bright);
  transform: translateY(-6px);
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #0d0c0a;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}

.product-card:hover .product-media img {
  transform: scale(1.07);
}

.product-tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.4rem 0.7rem;
  background: rgba(8, 8, 7, 0.7);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line-bright);
  color: var(--gold);
}

.product-swatch {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(243, 237, 226, 0.6);
}

.product-info {
  padding: 1.3rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.product-info h3 {
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.product-info p {
  color: var(--ink-dim);
  font-size: 0.88rem;
  line-height: 1.55;
  flex: 1;
}

.product-info .product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  transition: gap 0.4s var(--ease-out), color 0.4s var(--ease-out);
}

.product-card:hover .product-link {
  gap: 0.85rem;
  color: var(--gold);
}

.product-card.feature {
  grid-column: span 2;
  grid-row: span 1;
}

.product-card.feature .product-media {
  aspect-ratio: unset;
  height: 100%;
  min-height: 320px;
}

.product-card.feature .product-info {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  background: linear-gradient(0deg, rgba(6, 6, 5, 0.92) 10%, transparent 100%);
  padding-top: 4rem;
}

/* ==========================================================================
   CRAFT / ANATOMY
   ========================================================================== */
.craft {
  background: var(--bg-alt);
}

.craft .craft-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.craft-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}

.craft-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}

.craft-list {
  display: flex;
  flex-direction: column;
}

.craft-item {
  display: flex;
  gap: 1.4rem;
  padding-block: 1.6rem;
  border-top: 1px solid var(--line);
}

.craft-item:last-child {
  border-bottom: 1px solid var(--line);
}

.craft-num {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold-dim);
  flex-shrink: 0;
  width: 2.4rem;
}

.craft-item h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
  color: var(--ink);
}

.craft-item p {
  color: var(--ink-dim);
  font-size: 0.92rem;
  max-width: 30rem;
}

/* ==========================================================================
   LOOKBOOK
   ========================================================================== */
.lookbook-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 12vw;
  gap: 0.7rem;
}

.lookbook-item {
  position: relative;
  overflow: hidden;
  background: #0d0c0a;
}

.lookbook-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out), filter 0.6s ease;
  filter: grayscale(0.25) contrast(1.05);
}

.lookbook-item:hover img {
  transform: scale(1.06);
  filter: grayscale(0) contrast(1.05);
}

.lookbook-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 6, 5, 0.55), transparent 55%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.lookbook-item:hover::after {
  opacity: 1;
}

.lookbook-item .lb-cap {
  position: absolute;
  left: 0.9rem;
  bottom: 0.8rem;
  z-index: 2;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.lookbook-item:hover .lb-cap {
  opacity: 1;
  transform: translateY(0);
}

.lb-a { grid-column: span 2; grid-row: span 2; }
.lb-b { grid-column: span 2; grid-row: span 1; }
.lb-c { grid-column: span 2; grid-row: span 1; }
.lb-d { grid-column: span 2; grid-row: span 1; }
.lb-e { grid-column: span 2; grid-row: span 1; }
.lb-f { grid-column: span 2; grid-row: span 2; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about {
  background: var(--bg);
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.about-copy p {
  color: var(--ink-dim);
  margin-bottom: 1.1rem;
  max-width: 34rem;
}

.about-marks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid var(--line);
  position: relative;
}

.about-marks::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid var(--line);
  pointer-events: none;
}

.about-marks img {
  max-height: clamp(70px, 9vw, 110px);
  width: auto;
}

.about-stats {
  display: flex;
  gap: clamp(1.6rem, 4vw, 3rem);
  margin-top: 2rem;
  flex-wrap: wrap;
}

.about-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--gold);
}

.about-stat span {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ==========================================================================
   WAITLIST
   ========================================================================== */
.waitlist {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.waitlist .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.waitlist h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  margin-bottom: 1.1rem;
}

.waitlist p {
  color: var(--ink-dim);
  max-width: 30rem;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.form-row {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.field {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field label {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.field input {
  border: 1px solid var(--line);
  border-bottom: 1px solid var(--ink-faint);
  padding: 0.9rem 0.2rem;
  background: transparent;
  transition: border-color 0.4s ease;
}

.field input:focus {
  border-color: var(--gold);
  outline: none;
}

.field input::placeholder {
  color: var(--ink-faint);
}

.waitlist-form .btn {
  margin-top: 0.6rem;
  align-self: flex-start;
}

.form-note {
  font-size: 0.76rem;
  color: var(--ink-faint);
  margin-top: 0.3rem;
}

.form-status {
  font-size: 0.82rem;
  min-height: 1.2rem;
  margin-top: 0.2rem;
}

.form-status.success { color: var(--gold-bright); }
.form-status.error { color: var(--crimson-bright); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #060605;
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(2rem, 5vw, 3rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
}

.footer-brand .brand {
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--ink-faint);
  font-size: 0.9rem;
  max-width: 22rem;
  margin-bottom: 1.3rem;
}

.footer-socials {
  display: flex;
  gap: 0.8rem;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.4s ease, color 0.4s ease;
  color: var(--ink-dim);
}

.footer-socials a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-socials svg {
  width: 16px;
  height: 16px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1.1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col a,
.footer-col span {
  font-size: 0.88rem;
  color: var(--ink-faint);
  transition: color 0.4s ease;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.8rem;
  font-size: 0.76rem;
  color: var(--ink-faint);
}

.footer-bottom .tags {
  display: flex;
  gap: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

/* ---------- Site credit (Joe Design Group) ---------- */
.site-credit {
  margin-top: clamp(2rem, 5vw, 3rem);
  padding-block: 1.4rem;
  border-top: 1px solid var(--line);
  background: #040403;
}

.site-credit .container {
  display: flex;
  justify-content: center;
}

.site-credit a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.96rem;
  color: var(--ink-dim);
  letter-spacing: 0.01em;
  transition: color 0.4s var(--ease-out);
}

.site-credit a span {
  color: var(--ink);
  font-weight: 600;
  transition: color 0.4s var(--ease-out);
}

.site-credit a:hover {
  color: var(--ink-dim);
}

.site-credit a:hover span {
  color: var(--gold);
}

.credit-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.85rem;
  height: 0.85rem;
  transition: transform 0.4s var(--ease-out);
}

.credit-arrow svg {
  width: 100%;
  height: 100%;
}

.site-credit a .credit-arrow {
  color: var(--gold);
}

.site-credit a:hover .credit-arrow {
  transform: translate(3px, -3px);
}

@media (max-width: 480px) {
  .site-credit a {
    font-size: 0.85rem;
    text-align: center;
  }
}

/* ==========================================================================
   SCROLL REVEAL UTILITY
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(46px);
}

.reveal-fade {
  opacity: 0;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .main-nav,
  .header-cta .btn-outline {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .manifesto .container,
  .craft .craft-wrap,
  .about .container,
  .waitlist .container {
    grid-template-columns: 1fr;
  }

  .manifesto-mark {
    order: 2;
  }

  .craft-media {
    order: -1;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid.grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card.feature {
    grid-column: span 2;
  }

  .lookbook-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 22vw;
  }

  .lb-a, .lb-f { grid-column: span 4; grid-row: span 1; aspect-ratio: 16/9; height: auto; }
}

@media (max-width: 720px) {
  .container {
    padding-inline: 1.25rem;
  }

  section {
    padding-block: clamp(3.5rem, 12vw, 5rem);
  }

  .hero {
    align-items: flex-end;
    padding-top: 6.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    justify-content: center;
  }

  .product-grid,
  .product-grid.grid-3 {
    grid-template-columns: 1fr;
  }

  .product-card.feature {
    grid-column: span 1;
  }

  .lookbook-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 42vw;
  }

  .lb-a, .lb-f {
    grid-column: span 2;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .scroll-cue {
    display: none;
  }

  .about-marks {
    flex-wrap: wrap;
  }

  .form-row {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: span 1;
  }
}
