/* ============================================================
   Ballin in Boutwell — Brand Design System (reusable base)
   Self-hosted Nike fonts, tokens, type voices, duotone, buttons.
   Drop this + assets/fonts + assets/logos into any site.
   ============================================================ */

/* ---------- Fonts (self-hosted Nike, woff2) ---------- */
/* Nike Gravity — heavy condensed sans. Impact / headlines / CTAs. */
@font-face {
  font-family: "Nike Gravity";
  src: url("../fonts/NikeGravity-Compressed.woff2") format("woff2");
  font-weight: 900; font-stretch: 75%; font-display: swap;
}
@font-face {
  font-family: "Nike Gravity";
  src: url("../fonts/NikeGravity-Condensed.woff2") format("woff2");
  font-weight: 800; font-stretch: 87%; font-display: swap;
}
@font-face {
  font-family: "Nike Gravity";
  src: url("../fonts/NikeGravity-ExtraCondensed.woff2") format("woff2");
  font-weight: 800; font-stretch: 70%; font-display: swap;
}
/* Nike Rhymes — editorial serif. Narrative / storytelling moments. */
@font-face {
  font-family: "Nike Rhymes";
  src: url("../fonts/NikeRhymesDisplay-Regular.woff2") format("woff2");
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "Nike Rhymes";
  src: url("../fonts/NikeRhymesDisplay-SemiBold.woff2") format("woff2");
  font-weight: 600; font-display: swap;
}
@font-face {
  font-family: "Nike Rhymes Text";
  src: url("../fonts/NikeRhymesText-Regular.woff2") format("woff2");
  font-weight: 400; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --black: #171717;
  --black-deep: #0e0e0e;
  --gold: #c69f66;
  --gold-bright: #d8b57e;
  --white: #ffffff;
  --ink-60: rgba(255, 255, 255, 0.6);
  --ink-40: rgba(255, 255, 255, 0.4);
  --hairline: rgba(198, 159, 102, 0.22);

  --sans: "Nike Gravity", "Arial Narrow", system-ui, sans-serif;
  --serif: "Nike Rhymes", Georgia, "Times New Roman", serif;
  --serif-text: "Nike Rhymes Text", Georgia, serif;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--serif-text);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* Film-grain overlay — lightweight SVG noise, fixed over everything. */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none; opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Type utilities ---------- */
.u-impact { /* heavy condensed sans — impact statements, headlines */
  font-family: var(--sans);
  font-weight: 900; font-stretch: 75%;
  text-transform: uppercase; line-height: 0.86; letter-spacing: 0.005em;
}
.u-serif { /* editorial serif — narrative moments */
  font-family: var(--serif); font-weight: 400; line-height: 1.02;
}
.u-eyebrow {
  font-family: var(--sans); font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.28em;
  font-size: 0.72rem; color: var(--gold);
}
.u-gold { color: var(--gold); }
.u-white { color: var(--white); }

/* ---------- Duotone image treatment ----------
   Grayscale source multiplied over gold => shadows→black, highlights→gold. */
.duotone { position: relative; background: var(--gold); overflow: hidden; }
.duotone > img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(0.92);
  mix-blend-mode: multiply;
  transition: filter 0.5s var(--ease);
}
.duotone::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(23,23,23,0) 58%, rgba(23,23,23,0.7) 100%);
}

/* ---------- Layout ---------- */
.wrap {
  width: min(100% - calc(var(--gutter) * 2), var(--maxw));
  margin-inline: auto;
}
section { position: relative; }
.section-pad { padding-block: clamp(72px, 12vw, 160px); }

.section-head { margin-bottom: clamp(36px, 6vw, 72px); }
.section-head .u-eyebrow { display: block; margin-bottom: 18px; }
.section-title {
  margin: 0;
  font-family: var(--sans); font-weight: 900; font-stretch: 75%;
  text-transform: uppercase; line-height: 0.85; letter-spacing: 0.004em;
  font-size: clamp(3.2rem, 10.5vw, 8.5rem);
}
.section-intro {
  margin: clamp(20px, 3vw, 30px) 0 0; max-width: 46ch;
  font-family: var(--serif-text);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.5;
  color: var(--white);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.7em;
  font-family: var(--sans); font-weight: 900; font-stretch: 75%;
  text-transform: uppercase; letter-spacing: 0.04em;
  font-size: 1.05rem; line-height: 1;
  padding: 1.18em 1.7em 0.92em;
  border: 1.5px solid var(--gold); border-radius: 999px;
  color: var(--black); background: var(--gold);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:hover { background: var(--gold-bright); transform: translateY(-2px); }
.btn--outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--black); }
.btn--outline-gold { background: transparent; border-color: var(--gold); color: var(--gold); }
.btn--outline-gold:hover { background: var(--gold); color: var(--black); }
.btn--dark { background: var(--black); border-color: var(--black); color: var(--gold); }
.btn--dark:hover { background: #000; color: var(--gold-bright); }
.btn__arrow { font-family: var(--sans); font-weight: 900; }

/* ---------- Reveal-on-scroll (optional; add .reveal to elements) ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
