/* ====================================================================
   NOXUZ — The Fitness Empire
   Editorial dark luxe — pulled directly from their actual brand assets:
   pure black canvas, paper-white surface, signature gold reserved as
   the only accent. Stencil military display matching their post graphics.
   No warm cream. No brown. Custom-coded throughout.
   ==================================================================== */

:root {
  /* CORE — clinical neutral palette, no warm tints */
  --black:      #0a0a0a;       /* primary anchor */
  --jet:        #141416;       /* secondary surface */
  --steel:      #1c1c1f;       /* card surface on dark */
  --graphite:   #2a2a2d;       /* hover surface */
  --paper:      #f4f4f6;       /* body surface — cool neutral, not cream */
  --paper-2:    #eaeaec;       /* secondary paper */
  --bone:       #dcdce0;
  --ink:        #0a0a0a;       /* text on paper */
  --ink-soft:   #2c2c30;
  --ink-muted:  #5a5a60;
  --silver:     #b8b8bc;       /* text on dark */
  --silver-2:   #88888c;       /* muted text on dark */

  /* SIGNATURE — the only accent. Used like jewelry. */
  --gold:       #e8b835;       /* the X colour — for DARK backgrounds */
  --gold-warm:  #d4a02a;       /* deeper gold for hover / fills */
  --gold-pale:  #f0cb6b;       /* light tint */
  --gold-ink:   #8a6105;       /* deep antique gold — readable text/accents on LIGHT bg (passes WCAG AA) */

  /* LINES */
  --line-paper:  rgba(10,10,10,0.10);
  --line-paper-strong: rgba(10,10,10,0.20);
  --line-dark:   rgba(245,245,244,0.12);
  --line-dark-strong: rgba(245,245,244,0.22);
  --line-gold:   rgba(232,184,53,0.32);

  /* TYPE */
  --display:    'Big Shoulders Stencil Display', 'Big Shoulders Display', system-ui, sans-serif;
  --display-clean: 'Big Shoulders Display', system-ui, sans-serif;
  --serif:      'Zodiak', 'Cormorant Garamond', serif;
  --body:       'General Sans', 'Inter', system-ui, sans-serif;
  --mono:       'JetBrains Mono', ui-monospace, monospace;

  --nav-h:      72px;
  --gutter:     clamp(20px, 4.5vw, 64px);
  --container:  1340px;
  --container-sm: 980px;

  --radius:     0;
  --radius-md:  4px;
  --radius-lg:  8px;

  --shadow-sm:  0 1px 2px rgba(10,10,10,0.06), 0 4px 14px rgba(10,10,10,0.05);
  --shadow-md:  0 8px 28px rgba(10,10,10,0.10);
  --shadow-lg:  0 32px 80px rgba(10,10,10,0.18), 0 8px 24px rgba(10,10,10,0.10);
  --shadow-glow: 0 0 0 1px var(--gold), 0 16px 40px rgba(232,184,53,0.25);

  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--paper);
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, select, textarea { font: inherit; }
::selection { background: var(--gold); color: var(--black); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 2;
}
.container-sm {
  width: 100%;
  max-width: var(--container-sm);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 2;
}

/* ============== TYPOGRAPHY ============== */
h1, h2, h3, h4, h5 {
  font-family: var(--display);
  font-weight: 800;
  color: inherit;
  line-height: 0.92;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}
.title-xl { font-family: var(--display-clean); font-weight: 800; font-size: clamp(56px, 10vw, 168px); line-height: 0.86; letter-spacing: -0.005em; }
.title-lg { font-family: var(--display-clean); font-weight: 800; font-size: clamp(40px, 6vw, 104px); line-height: 0.88; letter-spacing: -0.005em; }
.title-md { font-family: var(--display-clean); font-weight: 800; font-size: clamp(28px, 3.2vw, 52px); line-height: 0.95; }
.title-sm { font-family: var(--display-clean); font-weight: 700; font-size: clamp(22px, 2vw, 32px); line-height: 1.0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 32px; height: 1px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }
.dark-bg .eyebrow { color: var(--gold); }
.paper-bg .eyebrow { color: var(--gold-ink); }
.paper-bg .eyebrow::before { background: var(--gold-warm); }

.serif-italic {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  text-transform: none;
  letter-spacing: -0.015em;
}

.lede {
  font-size: clamp(15.5px, 1.05vw, 18.5px);
  line-height: 1.65;
  max-width: 62ch;
}
.dark-bg .lede { color: var(--silver); }
.paper-bg .lede { color: var(--ink-soft); }

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 17px 28px;
  border: 1px solid transparent;
  transition: transform .35s var(--ease-out), background .25s, color .25s, border-color .25s, box-shadow .25s;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
  border-radius: 0;
}
.btn .ic { width: 16px; height: 16px; stroke-width: 1.8; }
.btn-gold {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-warm);
  border-color: var(--gold-ink);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--black);
  color: var(--paper);
  border-color: var(--black);
}
.btn-dark:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.btn-paper {
  background: var(--paper);
  color: var(--black);
  border-color: var(--paper);
}
.btn-paper:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline-dark:hover { background: var(--ink); color: var(--paper); }
.btn-outline-light {
  background: transparent;
  color: var(--paper);
  border-color: rgba(245,245,244,0.5);
}
.btn-outline-light:hover { background: var(--paper); color: var(--black); border-color: var(--paper); }
.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}
.btn-whatsapp:hover { background: #1eb957; border-color: #1eb957; transform: translateY(-2px); }

/* ============== NAV (consistent on every page) ============== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(10,10,10,0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(245,245,244,0.04);
  transition: background .3s, border-color .3s;
  color: var(--paper);
}
.nav.scrolled {
  background: rgba(10,10,10,0.92);
  border-bottom-color: rgba(245,245,244,0.10);
}
.nav.on-paper {
  background: rgba(245,245,244,0.78);
  color: var(--ink);
  border-bottom-color: var(--line-paper);
}
.nav.on-paper.scrolled {
  background: rgba(245,245,244,0.96);
  border-bottom-color: var(--line-paper);
}
.nav-inner {
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* OFFICIAL LOGO — sourced from noxuz.in/assets/img/logo/logo.png */
.brand { display: inline-flex; align-items: center; gap: 14px; color: inherit; }
.wordmark {
  display: inline-flex; align-items: center;
  background-image: url("assets/brand/logo.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
  width: 124px;
  height: 32px;
  font-size: 0;
  -webkit-user-select: none;
  user-select: none;
}
/* Bigger variant in footer + hero crown */
.wordmark.lg { width: 180px; height: 46px; }
.wordmark.xl { width: 320px; height: 80px; }
.foot-brand .wordmark { width: 220px; height: 56px; margin-bottom: 18px; }
.wordmark-stack {
  display: inline-flex; flex-direction: column; gap: 4px;
  align-items: flex-start;
}
.wordmark-stack .empire {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.32em;
  font-weight: 500;
  color: currentColor;
  opacity: 0.62;
  text-transform: uppercase;
}

.nav-links {
  display: flex; align-items: center; gap: 36px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.nav-links a {
  color: inherit;
  opacity: 0.78;
  position: relative;
  padding: 8px 0;
  transition: opacity .25s, color .25s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .3s var(--ease-out);
}
.nav-links a:hover, .nav-links a.active { opacity: 1; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  background: var(--gold);
  color: var(--black);
  font-size: 11.5px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  font-weight: 700;
  transition: background .25s, transform .25s;
  font-family: var(--body);
}
.nav-cta:hover { background: var(--gold-warm); transform: translateY(-1px); }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  color: inherit;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--black);
  color: var(--paper);
  z-index: 99;
  padding: calc(var(--nav-h) + 32px) var(--gutter) 32px;
  transform: translateY(-100%);
  transition: transform .5s var(--ease-out);
  display: flex; flex-direction: column;
  gap: 28px;
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav a {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--paper);
  letter-spacing: 0.005em;
  line-height: 0.92;
}
.mobile-nav a.cta { color: var(--gold); }

/* ============== SECTIONS ============== */
.section {
  padding: clamp(80px, 12vh, 160px) 0;
  position: relative;
}
.section-tight { padding: clamp(56px, 9vh, 100px) 0; }
.dark-bg { background: var(--black); color: var(--paper); }
.dark-bg h1, .dark-bg h2, .dark-bg h3, .dark-bg h4 { color: var(--paper); }
.paper-bg { background: var(--paper); color: var(--ink); }
.paper-bg h1, .paper-bg h2, .paper-bg h3, .paper-bg h4 { color: var(--ink); }
.bone-bg { background: var(--paper-2); color: var(--ink); }
.jet-bg { background: var(--jet); color: var(--paper); }
.jet-bg h1, .jet-bg h2, .jet-bg h3, .jet-bg h4 { color: var(--paper); }

.section-head {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: end;
  margin-bottom: clamp(40px, 7vh, 88px);
}
.section-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: block;
  font-weight: 500;
  opacity: 0.65;
}
.dark-bg .section-num { color: var(--silver); }
.paper-bg .section-num { color: var(--ink-muted); }
.section-title { margin-top: 18px; }

/* ============== HERO — used on home page ============== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--black);
  color: var(--paper);
  display: flex;
  flex-direction: column;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg .image {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  filter: contrast(1.04) saturate(1.05);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.35) 35%, rgba(10,10,10,0.55) 70%, rgba(10,10,10,0.94) 100%);
}
.hero-inner {
  position: relative;
  z-index: 3;
  flex: 1;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 48px;
  padding: calc(var(--nav-h) + 40px) var(--gutter) 40px;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
}
.hero-top { display: grid; grid-template-columns: 1fr; gap: 28px; align-content: end; }
.hero-crown {
  display: block !important;
  width: clamp(220px, 28vw, 380px) !important;
  height: clamp(56px, 7vw, 96px) !important;
  margin-bottom: 4px;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 4px;
}
.hero-tag .dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--gold);
}
.hero-tag .sep { width: 28px; height: 1px; background: var(--gold); }

.hero-headline {
  font-family: var(--display-clean);
  font-weight: 800;
  font-size: clamp(58px, 11.5vw, 184px);
  line-height: 0.86;
  color: var(--paper);
  letter-spacing: -0.012em;
  text-transform: uppercase;
}
.hero-headline .row { display: block; }
.hero-headline .gold { color: var(--gold); }
.hero-headline em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.025em;
  color: var(--gold);
}

.hero-sub {
  font-size: clamp(15.5px, 1.05vw, 19px);
  color: rgba(245,245,244,0.85);
  max-width: 60ch;
  line-height: 1.65;
}
.hero-sub strong { color: var(--gold); font-weight: 600; }

.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
  margin-top: 6px;
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(245,245,244,0.16);
}
.hero-meta div {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(245,245,244,0.55);
  line-height: 1.4;
}
.hero-meta strong {
  font-family: var(--display);
  font-size: clamp(26px, 2.4vw, 38px);
  font-weight: 800;
  color: var(--paper);
  display: block;
  margin-bottom: 8px;
  letter-spacing: 0.005em;
  line-height: 1;
}
.hero-meta strong em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  color: var(--gold);
  text-transform: none;
}

/* ============== PAGE HEADER (interior pages) ============== */
.page-head {
  background: var(--black);
  color: var(--paper);
  padding: calc(var(--nav-h) + 80px) 0 96px;
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: "X";
  position: absolute;
  top: 50%;
  right: -4vw;
  transform: translateY(-50%);
  font-family: var(--display);
  font-size: clamp(280px, 38vw, 580px);
  font-weight: 800;
  color: var(--gold);
  opacity: 0.04;
  pointer-events: none;
  line-height: 0.7;
}
.page-head .crumbs {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--silver-2);
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 12px;
}
.page-head .crumbs a { color: var(--silver); transition: color .2s; }
.page-head .crumbs a:hover { color: var(--gold); }
.page-head .crumbs .sep { color: var(--gold); }
.page-head h1 {
  font-family: var(--display-clean);
  font-weight: 800;
  font-size: clamp(48px, 9vw, 160px);
  letter-spacing: -0.012em;
  line-height: 0.88;
  margin-bottom: 24px;
  color: var(--paper);
}
.page-head h1 em { font-family: var(--serif); font-style: italic; font-weight: 700; text-transform: none; color: var(--gold); }
.page-head .lede {
  color: rgba(245,245,244,0.78);
  max-width: 64ch;
}

/* ============== TRUST MARQUEE ============== */
.marquee {
  background: var(--black);
  color: var(--paper);
  padding: 22px 0;
  overflow: hidden;
  border-block: 1px solid rgba(245,245,244,0.08);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: scroll 38s linear infinite;
}
.marquee-track span {
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 32px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  display: flex; align-items: center; gap: 60px;
  white-space: nowrap;
  color: var(--paper);
}
.marquee-track span::after {
  content: "";
  width: 22px; height: 22px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><g transform='rotate(45 50 50)'><polygon fill='%23e8b835' points='50,2 60,16 60,84 50,98 40,84 40,16'/></g><g transform='rotate(-45 50 50)'><polygon fill='%23e8b835' points='50,2 60,16 60,84 50,98 40,84 40,16'/></g></svg>");
  background-size: contain;
}
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============== PILLARS / WHAT WE PROVIDE ============== */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-paper);
  border: 1px solid var(--line-paper);
}
.dark-bg .pillar-grid { background: var(--line-dark); border-color: var(--line-dark); }
.pillar {
  background: var(--paper);
  padding: 44px 36px 40px;
  position: relative;
  transition: background .3s;
}
.dark-bg .pillar { background: var(--black); }
.pillar:hover {
  background: var(--paper-2);
}
.dark-bg .pillar:hover { background: var(--jet); }
.pillar .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.30em;
  color: var(--gold-ink);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
  font-weight: 500;
}
.dark-bg .pillar .num { color: var(--gold); }
.pillar .ic-wrap {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 26px;
  color: var(--gold-ink);
}
.dark-bg .pillar .ic-wrap { color: var(--gold); }
.pillar .ic-wrap .ic { width: 28px; height: 28px; stroke-width: 1.4; }
.pillar h3 { font-family: var(--display-clean); font-weight: 700; font-size: clamp(22px, 2vw, 30px); margin-bottom: 14px; letter-spacing: 0; }
.pillar p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.65; }
.dark-bg .pillar p { color: var(--silver); }
.pillar ul {
  list-style: none;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line-paper);
  display: flex; flex-direction: column; gap: 10px;
}
.dark-bg .pillar ul { border-top-color: var(--line-dark); }
.pillar li {
  font-size: 13px;
  color: var(--ink-soft);
  display: flex; align-items: start; gap: 10px;
}
.dark-bg .pillar li { color: var(--silver); }
.pillar li::before {
  content: "—";
  color: var(--gold-ink);
  font-weight: 700;
  margin-top: 0;
}
.dark-bg .pillar li::before { color: var(--gold); }

/* ============== EDITORIAL GALLERY GRID ============== */
.gal-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}
.gal-tile {
  position: relative;
  overflow: hidden;
  background: var(--jet);
  isolation: isolate;
}
.gal-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.gal-tile:hover img { transform: scale(1.06); }
.gal-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,10,10,0.85) 100%);
  pointer-events: none;
}
.gal-tile .meta {
  position: absolute;
  z-index: 2;
  left: 22px; right: 22px; bottom: 18px;
  color: var(--paper);
}
.gal-tile .meta .num {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.28em;
  color: var(--gold);
  text-transform: uppercase;
}
.gal-tile .meta h4 {
  font-family: var(--display);
  font-size: clamp(18px, 1.6vw, 26px);
  margin-top: 6px;
  text-transform: uppercase;
  color: var(--paper);
  letter-spacing: 0.005em;
}
.gal-tile .meta p {
  color: rgba(245,245,244,0.75);
  font-size: 12px;
  line-height: 1.5;
  margin-top: 4px;
  max-width: 36ch;
}
.t-7 { grid-column: span 7; aspect-ratio: 16/10; }
.t-5 { grid-column: span 5; aspect-ratio: 4/5; grid-row: span 2; }
.t-4 { grid-column: span 4; aspect-ratio: 1/1; }
.t-6 { grid-column: span 6; aspect-ratio: 16/9; }
.t-3 { grid-column: span 3; aspect-ratio: 3/4; }
.t-12 { grid-column: span 12; aspect-ratio: 21/9; }

/* ============== ARCHIVE — IG feed ============== */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
}
.archive-tile {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--jet);
  position: relative;
  transition: transform .35s var(--ease-out), box-shadow .25s, z-index .01s;
}
.archive-tile:hover { transform: scale(1.06); z-index: 2; box-shadow: var(--shadow-md); }
.archive-tile img { width: 100%; height: 100%; object-fit: cover; }

/* ============== EQUIPMENT CARDS ============== */
.eq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.eq-card {
  background: var(--paper);
  border: 1px solid var(--line-paper);
  overflow: hidden;
  transition: transform .5s var(--ease-out), border-color .25s;
}
.dark-bg .eq-card { background: var(--jet); border-color: var(--line-dark); }
.eq-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.eq-card .img { aspect-ratio: 4/3; overflow: hidden; }
.eq-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.eq-card:hover .img img { transform: scale(1.06); }
.eq-card .body { padding: 28px 28px 32px; }
.eq-card .label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.28em;
  color: var(--gold-ink);
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 500;
}
.dark-bg .eq-card .label { color: var(--gold); }
.eq-card h3 { font-family: var(--display-clean); font-weight: 700; letter-spacing: 0; margin-bottom: 12px; font-size: clamp(20px, 1.8vw, 28px); }
.eq-card p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.65; }
.dark-bg .eq-card p { color: var(--silver); }
.eq-card .brands {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 18px;
  border-top: 1px solid var(--line-paper);
  padding-top: 16px;
}
.dark-bg .eq-card .brands { border-top-color: var(--line-dark); }
.eq-card .brands span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid var(--line-paper);
  color: var(--ink-soft);
}
.dark-bg .eq-card .brands span { border-color: var(--line-dark); color: var(--silver); }

/* ============== RECOVERY RAIL ============== */
.rec-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.rec-tile {
  aspect-ratio: 3/4;
  background: var(--paper);
  border: 1px solid var(--line-paper);
  padding: 28px 22px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  transition: transform .5s, border-color .25s, background .25s;
}
.dark-bg .rec-tile { background: var(--jet); border-color: var(--line-dark); }
.rec-tile:hover { transform: translateY(-6px); border-color: var(--gold); background: var(--paper-2); }
.dark-bg .rec-tile:hover { background: var(--graphite); }
.rec-tile .num {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.28em;
  color: var(--gold-ink);
  text-transform: uppercase;
}
.dark-bg .rec-tile .num { color: var(--gold); }
.rec-tile .ic-wrap {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  margin: 28px 0 24px;
  color: var(--gold-ink);
}
.dark-bg .rec-tile .ic-wrap { color: var(--gold); }
.rec-tile .ic-wrap .ic { width: 30px; height: 30px; stroke-width: 1.4; }
.rec-tile h4 { font-family: var(--display-clean); font-weight: 700; letter-spacing: 0; font-size: clamp(20px, 1.6vw, 26px); margin-bottom: 10px; line-height: 1.05; }
.rec-tile p { color: var(--ink-soft); font-size: 13.5px; line-height: 1.55; }
.dark-bg .rec-tile p { color: var(--silver); }

/* ============== MANIFESTO WALL ============== */
.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.quote-card {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--black);
  border: 1px solid rgba(232,184,53,0.18);
  transition: transform .5s var(--ease-out), border-color .3s, box-shadow .3s;
}
.quote-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.quote-card img { width: 100%; height: 100%; object-fit: cover; }

/* ============== LOCATIONS ============== */
.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.loc-card {
  background: var(--paper);
  border: 1px solid var(--line-paper);
  display: flex; flex-direction: column;
  transition: transform .5s, border-color .25s;
}
.dark-bg .loc-card { background: var(--jet); border-color: var(--line-dark); }
.loc-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.loc-card .img {
  height: 320px;
  position: relative;
  overflow: hidden;
}
.loc-card .img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s;
}
.loc-card:hover .img img { transform: scale(1.04); }
.loc-card .img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.1) 0%, transparent 35%, rgba(10,10,10,0.85) 100%);
}
.loc-card .img .label {
  position: absolute; top: 22px; left: 22px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.28em;
  color: var(--gold);
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid rgba(232,184,53,0.4);
  background: rgba(10,10,10,0.6);
  backdrop-filter: blur(8px);
  z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
}
.loc-card .img .label .dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold);
}
.loc-card .img .city {
  position: absolute; bottom: 22px; left: 22px; right: 22px;
  font-family: var(--display);
  font-size: clamp(40px, 4vw, 64px);
  font-weight: 800;
  color: var(--paper);
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 0.9;
  z-index: 2;
}
.loc-card .body { padding: 32px; display: flex; flex-direction: column; flex: 1; }
.loc-card .body p { color: var(--ink-soft); margin-bottom: 22px; font-size: 15px; line-height: 1.65; }
.dark-bg .loc-card .body p { color: var(--silver); }
.loc-card .body .row {
  display: flex; flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
  border-top: 1px solid var(--line-paper);
  padding-top: 22px;
}
.dark-bg .loc-card .body .row { border-top-color: var(--line-dark); }
.loc-card .body .row a {
  display: inline-flex; align-items: center; gap: 12px;
  color: inherit;
  font-size: 14.5px;
  transition: color .25s;
  font-weight: 500;
}
.loc-card .body .row a:hover { color: var(--gold-ink); }
.dark-bg .loc-card .body .row a:hover { color: var(--gold); }
.loc-card .body .row a .ic { width: 16px; height: 16px; color: var(--gold-ink); }
.dark-bg .loc-card .body .row a .ic { color: var(--gold); }
.loc-card .body .actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }

/* ============== LEAD FORM ============== */
.lead-form {
  background: var(--steel);
  border: 1px solid var(--line-dark);
  padding: clamp(28px, 4vw, 48px);
}
.paper-bg .lead-form {
  background: var(--paper);
  border-color: var(--line-paper);
}
.lead-form h3 { font-size: 28px; margin-bottom: 6px; }
.lead-form .sub {
  color: var(--silver);
  font-size: 14px;
  margin-bottom: 28px;
}
.paper-bg .lead-form .sub { color: var(--ink-muted); }
.lead-form .field { margin-bottom: 18px; }
.lead-form label {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 8px;
  font-weight: 500;
}
.paper-bg .lead-form label { color: var(--ink-muted); }
.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  background: rgba(245,245,244,0.04);
  border: 1px solid var(--line-dark);
  color: var(--paper);
  padding: 14px 16px;
  font-family: var(--body);
  font-size: 15px;
  transition: border-color .2s, background .2s;
  border-radius: 0;
}
.paper-bg .lead-form input,
.paper-bg .lead-form select,
.paper-bg .lead-form textarea {
  background: var(--paper-2);
  border-color: var(--line-paper);
  color: var(--ink);
}
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 0;
  border-color: var(--gold);
  background: rgba(245,245,244,0.08);
}
.paper-bg .lead-form input:focus,
.paper-bg .lead-form select:focus,
.paper-bg .lead-form textarea:focus {
  background: var(--paper);
}
.lead-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form .submit-row {
  display: flex; gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.lead-form .submit-row .btn { flex: 1; justify-content: center; }
.lead-form .privacy {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--silver-2);
  line-height: 1.55;
}
.paper-bg .lead-form .privacy { color: var(--ink-muted); }

/* ============== CTA BAND ============== */
.cta-band {
  background: var(--black);
  color: var(--paper);
  padding: clamp(80px, 14vh, 160px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "X";
  position: absolute;
  inset: 0;
  font-family: var(--display);
  font-size: 72vh;
  font-weight: 800;
  color: var(--gold);
  opacity: 0.04;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  line-height: 1;
}
.cta-band .container { max-width: 980px; }
.cta-band .eyebrow { color: var(--gold); justify-content: center; }
.cta-band h2 {
  font-size: clamp(48px, 8vw, 128px);
  margin: 24px 0 24px;
  color: var(--paper);
  line-height: 0.86;
}
.cta-band h2 em { color: var(--gold); font-family: var(--serif); font-style: italic; font-weight: 700; text-transform: none; }
.cta-band p {
  color: rgba(245,245,244,0.8);
  font-size: clamp(15px, 1.05vw, 18px);
  max-width: 60ch;
  margin: 0 auto 32px;
  line-height: 1.65;
}
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============== FOOTER ============== */
footer {
  background: var(--black);
  color: var(--paper);
  padding: clamp(60px, 10vh, 100px) 0 28px;
  border-top: 1px solid var(--line-dark);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}
.foot-brand .wordmark { font-size: 44px; margin-bottom: 18px; color: var(--paper); }
.foot-brand p {
  color: rgba(245,245,244,0.6);
  font-size: 14px;
  line-height: 1.7;
  max-width: 38ch;
}
.foot-col h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.30em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 500;
}
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.foot-col a {
  color: rgba(245,245,244,0.78);
  font-size: 14px;
  transition: color .25s;
}
.foot-col a:hover { color: var(--gold); }
.foot-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(245,245,244,0.5);
  text-transform: uppercase;
}

/* ============== STICKY MOBILE CTA ============== */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 80;
  background: var(--black);
  border-top: 1px solid var(--gold);
  box-shadow: 0 -8px 24px rgba(0,0,0,0.4);
  padding: 12px 14px;
  display: none;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  transform: translateY(100%);
  transition: transform .4s var(--ease-out);
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta a {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 10px 8px;
  color: var(--paper);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  gap: 4px;
  border: 1px solid rgba(245,245,244,0.15);
  text-transform: uppercase;
}
.sticky-cta a .ic { width: 18px; height: 18px; color: var(--gold); stroke-width: 2; }
.sticky-cta a.whatsapp .ic { display: none; }
.sticky-cta a.whatsapp::before {
  content: "";
  width: 20px; height: 20px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%2325d366'><path d='M27.2 4.6C24.2 1.6 20.2 0 16 0 7.3 0 .2 7.1.2 15.8c0 2.8.7 5.5 2.1 7.9L0 32l8.6-2.3c2.3 1.3 4.9 1.9 7.5 1.9 8.7 0 15.8-7.1 15.8-15.8 0-4.2-1.6-8.2-4.7-11.2zM16 29c-2.4 0-4.7-.6-6.7-1.9l-.5-.3-5.1 1.3 1.4-5-.3-.5c-1.4-2.2-2.2-4.7-2.2-7.3 0-7.5 6.1-13.6 13.6-13.6 3.6 0 7.1 1.4 9.6 4 2.6 2.6 4 6 4 9.6-.1 7.6-6.2 13.7-13.8 13.7zm7.5-10.2c-.4-.2-2.4-1.2-2.8-1.3-.4-.2-.7-.2-.9.2-.3.4-1.1 1.3-1.3 1.6-.2.3-.5.3-.9.1-.4-.2-1.7-.6-3.3-2-1.2-1.1-2.1-2.4-2.3-2.8-.2-.4 0-.6.2-.8.2-.2.4-.5.6-.7.2-.2.3-.4.4-.6.1-.3.1-.5 0-.7-.1-.2-.9-2.2-1.3-3-.3-.8-.7-.7-.9-.7h-.8c-.3 0-.7.1-1.1.5-.4.4-1.5 1.4-1.5 3.4s1.5 3.9 1.7 4.2c.2.3 2.9 4.4 7 6.1.9.4 1.7.6 2.3.8 1 .3 1.8.3 2.5.2.8-.1 2.4-1 2.7-1.9.3-.9.3-1.7.2-1.9-.1-.2-.4-.3-.7-.4z'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
}
.sticky-cta a.book { background: var(--gold); color: var(--black); border-color: var(--gold); }
.sticky-cta a.book .ic { color: var(--black); }

/* Inline WhatsApp button glyph — for any .btn-whatsapp */
.btn-whatsapp .ic { display: none; }
.btn-whatsapp::before {
  content: "";
  width: 16px; height: 16px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%23ffffff'><path d='M27.2 4.6C24.2 1.6 20.2 0 16 0 7.3 0 .2 7.1.2 15.8c0 2.8.7 5.5 2.1 7.9L0 32l8.6-2.3c2.3 1.3 4.9 1.9 7.5 1.9 8.7 0 15.8-7.1 15.8-15.8 0-4.2-1.6-8.2-4.7-11.2zM16 29c-2.4 0-4.7-.6-6.7-1.9l-.5-.3-5.1 1.3 1.4-5-.3-.5c-1.4-2.2-2.2-4.7-2.2-7.3 0-7.5 6.1-13.6 13.6-13.6 3.6 0 7.1 1.4 9.6 4 2.6 2.6 4 6 4 9.6-.1 7.6-6.2 13.7-13.8 13.7zm7.5-10.2c-.4-.2-2.4-1.2-2.8-1.3-.4-.2-.7-.2-.9.2-.3.4-1.1 1.3-1.3 1.6-.2.3-.5.3-.9.1-.4-.2-1.7-.6-3.3-2-1.2-1.1-2.1-2.4-2.3-2.8-.2-.4 0-.6.2-.8.2-.2.4-.5.6-.7.2-.2.3-.4.4-.6.1-.3.1-.5 0-.7-.1-.2-.9-2.2-1.3-3-.3-.8-.7-.7-.9-.7h-.8c-.3 0-.7.1-1.1.5-.4.4-1.5 1.4-1.5 3.4s1.5 3.9 1.7 4.2c.2.3 2.9 4.4 7 6.1.9.4 1.7.6 2.3.8 1 .3 1.8.3 2.5.2.8-.1 2.4-1 2.7-1.9.3-.9.3-1.7.2-1.9-.1-.2-.4-.3-.7-.4z'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  flex-shrink: 0;
}

/* Floating WhatsApp (desktop) — perfectly round, real WhatsApp logo */
.float-wa {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background-color: #25d366;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%23ffffff'><path d='M27.2 4.6C24.2 1.6 20.2 0 16 0 7.3 0 .2 7.1.2 15.8c0 2.8.7 5.5 2.1 7.9L0 32l8.6-2.3c2.3 1.3 4.9 1.9 7.5 1.9 8.7 0 15.8-7.1 15.8-15.8 0-4.2-1.6-8.2-4.7-11.2zM16 29c-2.4 0-4.7-.6-6.7-1.9l-.5-.3-5.1 1.3 1.4-5-.3-.5c-1.4-2.2-2.2-4.7-2.2-7.3 0-7.5 6.1-13.6 13.6-13.6 3.6 0 7.1 1.4 9.6 4 2.6 2.6 4 6 4 9.6-.1 7.6-6.2 13.7-13.8 13.7zm7.5-10.2c-.4-.2-2.4-1.2-2.8-1.3-.4-.2-.7-.2-.9.2-.3.4-1.1 1.3-1.3 1.6-.2.3-.5.3-.9.1-.4-.2-1.7-.6-3.3-2-1.2-1.1-2.1-2.4-2.3-2.8-.2-.4 0-.6.2-.8.2-.2.4-.5.6-.7.2-.2.3-.4.4-.6.1-.3.1-.5 0-.7-.1-.2-.9-2.2-1.3-3-.3-.8-.7-.7-.9-.7h-.8c-.3 0-.7.1-1.1.5-.4.4-1.5 1.4-1.5 3.4s1.5 3.9 1.7 4.2c.2.3 2.9 4.4 7 6.1.9.4 1.7.6 2.3.8 1 .3 1.8.3 2.5.2.8-.1 2.4-1 2.7-1.9.3-.9.3-1.7.2-1.9-.1-.2-.4-.3-.7-.4z'/></svg>");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 32px 32px;
  z-index: 70;
  box-shadow: 0 10px 28px rgba(37,211,102,0.42), 0 0 0 0 rgba(37,211,102,0.45);
  transition: transform .3s, box-shadow .3s;
  animation: pulse-wa 2.6s infinite;
}
.float-wa:hover { transform: scale(1.08); }
.float-wa > * { display: none; }
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 10px 28px rgba(37,211,102,0.42), 0 0 0 0 rgba(37,211,102,0.5); }
  50%      { box-shadow: 0 10px 28px rgba(37,211,102,0.42), 0 0 0 14px rgba(37,211,102,0); }
}

/* ============== UTILITY ============== */
.text-center { text-align: center; }
.mt-md { margin-top: clamp(40px, 6vh, 64px); }
.mt-lg { margin-top: clamp(56px, 8vh, 96px); }
.flex-center { display: flex; justify-content: center; }
.divider {
  height: 1px;
  background: var(--line-paper);
  margin: 0;
}
.dark-bg .divider, .jet-bg .divider { background: var(--line-dark); }

/* Stat strip */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-paper);
  border: 1px solid var(--line-paper);
}
.dark-bg .stat-strip { background: var(--line-dark); border-color: var(--line-dark); }
.stat-strip .stat {
  background: var(--paper);
  padding: 32px 24px;
}
.dark-bg .stat-strip .stat { background: var(--black); }
.stat-strip .stat strong {
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 800;
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  line-height: 0.92;
}
.dark-bg .stat-strip .stat strong { color: var(--paper); }
.stat-strip .stat strong em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  color: var(--gold-ink);
  text-transform: none;
}
.dark-bg .stat-strip .stat strong em { color: var(--gold); }
.stat-strip .stat span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}
.dark-bg .stat-strip .stat span { color: var(--silver); }

/* Pull quote */
.pull-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.45;
  border-left: 3px solid var(--gold);
  padding-left: 24px;
  max-width: 56ch;
}

/* ============== RESPONSIVE ============== */
@media (max-width: 1100px) {
  .archive-grid { grid-template-columns: repeat(6, 1fr); }
  .eq-grid { grid-template-columns: repeat(2, 1fr); }
  .rec-rail { grid-template-columns: repeat(3, 1fr); }
  .manifesto-grid { grid-template-columns: repeat(3, 1fr); }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .foot-grid .foot-col:nth-child(4) { grid-column: 2 / 4; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .section-head { grid-template-columns: 1fr; }
  .gal-12 { grid-template-columns: 1fr 1fr; }
  .gal-tile { grid-column: span 1 !important; aspect-ratio: 4/5 !important; grid-row: span 1 !important; }
  .archive-grid { grid-template-columns: repeat(4, 1fr); }
  .manifesto-grid { grid-template-columns: repeat(2, 1fr); }
  .eq-grid { grid-template-columns: 1fr; }
  .rec-rail { grid-template-columns: 1fr 1fr; }
  .pillar-grid { grid-template-columns: 1fr; }
  .loc-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid .foot-brand { grid-column: 1 / -1; }
  .foot-grid .foot-col:nth-child(4) { grid-column: auto; }
  .lead-form .row { grid-template-columns: 1fr; }
  .sticky-cta { display: grid; }
  .float-wa { display: none; }
  body { padding-bottom: 84px; }
  /* Belt-and-braces collapse for any inline 2-column section grid on small screens */
  section [style*="grid-template-columns:1fr 1.15fr"],
  section [style*="grid-template-columns:1fr 1.1fr"],
  section [style*="grid-template-columns:1fr 1.2fr"] { grid-template-columns: 1fr !important; }
  /* Founder photo and similar 'reveal-left' elements should never overflow on mobile */
  .reveal-left, .reveal-right { will-change: transform; }
}
@media (max-width: 520px) {
  .archive-grid { grid-template-columns: repeat(3, 1fr); }
  .rec-rail { grid-template-columns: 1fr; }
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
}

/* ============================================================
   SCROLL REVEAL — fail-open. Content is visible by default.
   It is only hidden once <html> gets .js-anim (added inline,
   pre-paint, and ONLY when motion is allowed). A hard failsafe
   (.reveal-all) guarantees everything shows even if JS dies.
   ============================================================ */
html.js-anim :is(
  .section-head .section-num, .section-head .eyebrow, .section-title, .section-head .lede,
  .pillar, .eq-card, .rec-tile, .gal-tile, .quote-card, .archive-tile,
  .loc-card, .stat, .reveal-up, .reveal-left, .reveal-right,
  .cta-band .eyebrow, .cta-band h2, .cta-band p, .cta-band .cta-actions,
  .people-photo, .people-body > *
) {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}
html.js-anim :is(
  .section-head .section-num, .section-head .eyebrow, .section-title, .section-head .lede,
  .pillar, .eq-card, .rec-tile, .gal-tile, .quote-card, .archive-tile,
  .loc-card, .stat, .reveal-up, .reveal-left, .reveal-right,
  .cta-band .eyebrow, .cta-band h2, .cta-band p, .cta-band .cta-actions,
  .people-photo, .people-body > *
).in {
  opacity: 1;
  transform: none;
}
/* Hard failsafe — if the observer never armed, reveal everything */
html.reveal-all :is(
  .section-head .section-num, .section-head .eyebrow, .section-title, .section-head .lede,
  .pillar, .eq-card, .rec-tile, .gal-tile, .quote-card, .archive-tile,
  .loc-card, .stat, .reveal-up, .reveal-left, .reveal-right,
  .cta-band .eyebrow, .cta-band h2, .cta-band p, .cta-band .cta-actions,
  .people-photo, .people-body > *
) {
  opacity: 1 !important;
  transform: none !important;
}

/* ============== SCROLL PROGRESS BAR ============== */
.scroll-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-pale));
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 101;
  pointer-events: none;
  transition: transform .1s linear;
}

/* ============== PRELOADER ============== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: opacity .6s ease, visibility .6s ease;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader .pl-logo {
  width: min(280px, 62vw);
  height: 78px;
  background: url("assets/brand/logo.png") center/contain no-repeat;
  opacity: 0;
  animation: plLogoIn .9s cubic-bezier(.22,1,.36,1) forwards;
}
.preloader .pl-track {
  width: min(220px, 50vw);
  height: 2px;
  background: rgba(245,245,244,0.12);
  overflow: hidden;
  position: relative;
}
.preloader .pl-track::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-pale));
  transform: translateX(-100%);
  animation: plSweep 1.4s cubic-bezier(.5,0,.2,1) infinite;
}
@keyframes plLogoIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes plSweep { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) {
  .preloader { display: none; }
  .preloader .pl-logo { opacity: 1; animation: none; }
}

/* Guarantee legibility for any text sitting over photography */
.loc-card .img .city { text-shadow: 0 2px 18px rgba(0,0,0,0.65), 0 1px 3px rgba(0,0,0,0.5); }
.gal-tile .meta h4, .gal-tile .meta .num, .gal-tile .meta p { text-shadow: 0 1px 12px rgba(0,0,0,0.7); }
.loc-card .img .label { text-shadow: 0 1px 8px rgba(0,0,0,0.5); }

/* ============== PEOPLE / TEAM SECTION ============== */
.people-wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.people-photo {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: var(--jet);
}
.dark-bg .people-photo { border-color: var(--line-dark); }
.paper-bg .people-photo { border-color: var(--line-paper); }
.people-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.people-photo .tag {
  position: absolute; top: 22px; left: 22px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--gold);
  padding: 8px 14px; background: rgba(10,10,10,0.72);
  border: 1px solid rgba(232,184,53,0.4); backdrop-filter: blur(8px); font-weight: 500;
}
.people-body .pull-quote { margin: 26px 0 30px; }
.people-creds {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line-paper);
}
.dark-bg .people-creds { border-top-color: var(--line-dark); }
.people-creds .c strong {
  font-family: var(--display-clean); font-weight: 800; font-size: clamp(26px,3vw,40px);
  color: var(--gold-ink); display: block; line-height: 1; margin-bottom: 6px;
}
.dark-bg .people-creds .c strong { color: var(--gold); }
.people-creds .c span {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-muted);
}
.dark-bg .people-creds .c span { color: var(--silver-2); }
@media (max-width: 820px) {
  .people-wrap { grid-template-columns: 1fr; }
}
