/* ═══════════════════════════════════════
   AMH Performance — v2 Stylesheet
   Dark Refined Brutalism · Editorial
   Complete rebuild: 2026-03-29
   ═══════════════════════════════════════ */


/* ── FONTS ── */
@font-face {
  font-family: 'Highsens';
  src: url('../fonts/HIGHSENS.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'TT Lakes Neue';
  src: url('../fonts/TT Lakes Neue Trial Variable.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Progress';
  src: url('../fonts/ProgressPersonalUse-EaJdz.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}


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


/* ── TOKENS ── */
:root {
  --bg: #050505;
  --bg-elevated: #111111;
  --text: #F0EDE8;
  --text-muted: #9A9590;
  --accent: #C8A96E;
  --accent-hover: #D4B97E;
  --font-heading: 'Highsens', 'Bebas Neue', sans-serif;
  --font-body: 'TT Lakes Neue', 'Inter', sans-serif;
  --font-accent: 'Progress', cursive;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  overflow-x: hidden;
}

/* Dynamic viewport height for iOS */
@supports (min-height: 100dvh) {
  .hero { min-height: 100dvh; }
}


/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: grayscale(100%) contrast(1.1) brightness(0.3);
  z-index: 0;
}

#heroFallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: none;
}

#heroFallback img,
.hero__fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.1) brightness(0.35);
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      var(--bg) 0%,
      rgba(10, 10, 10, 0.85) 30%,
      rgba(10, 10, 10, 0.15) 65%,
      rgba(10, 10, 10, 0.05) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 12vw 15vh;
  max-width: 720px;
}

.hero__sub {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text);
  max-width: 460px;
  margin-top: 48px;
  letter-spacing: 0.015em;
}


/* ═══════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════ */
.headline {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 7vw, 10rem);
  font-weight: 400;
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
}

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

.section-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 6rem);
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  margin-bottom: 56px;
}

.clause-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  margin-bottom: 20px;
}

.kicker {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.5;
  margin-bottom: 48px;
}


/* ═══════════════════════════════════════
   BODY TEXT
   ═══════════════════════════════════════ */
.body-text {
  font-size: 17px;
  font-weight: 300;
  line-height: 2;
  color: var(--text);
  letter-spacing: 0.02em;
}

.body-text + .body-text {
  margin-top: 28px;
}

.body-text strong {
  color: var(--text);
  font-weight: 500;
}


/* ═══════════════════════════════════════
   PULL QUOTE
   ═══════════════════════════════════════ */
.pull-quote {
  font-family: var(--font-accent);
  font-size: clamp(18px, 2.2vw, 26px);
  color: var(--text);
  line-height: 1.55;
  padding-left: 32px;
  border-left: 1px solid rgba(200, 169, 110, 0.25);
  max-width: 460px;
  margin-top: 48px;
}


/* ═══════════════════════════════════════
   LINKS + CTA
   ═══════════════════════════════════════ */
.text-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 169, 110, 0.25);
  padding: 12px 0;
  display: inline-block;
  min-height: 44px;
  transition: border-color 0.2s;
  font-size: 12px;
  font-family: var(--font-heading);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.text-link:hover {
  border-color: var(--accent);
}

.nda-link {
  margin-top: 36px;
}

.cta-btn {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 18px 56px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

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

.cta-btn:focus-visible,
.text-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}


/* ═══════════════════════════════════════
   SECTIONS — VERTICAL FLOW
   Narrow centered column, generous spacing
   ═══════════════════════════════════════ */
.section {
  position: relative;
  padding: 20vh 8vw;
}

.section__inner {
  max-width: 640px;
}

/* ── Per-section text placement ── */
#architecture-of-silence .section__inner {
  margin-left: 12%;
}

#the-arena .section__inner {
  margin-left: 55%;
}

#nda-clauses .section__inner {
  margin-left: 12%;
}

#the-session .section__inner {
  margin-left: 15%;
}

#engineering-irrelevance .section__inner {
  margin-left: 50%;
}

#the-origin .section__inner {
  margin-left: 10%;
}

#philosophy .section__inner {
  margin-left: 55%;
}

#cta .section__inner {
  margin: 0 auto;
  text-align: center;
}

#faq .section__inner {
  margin-left: 12%;
}


/* ═══════════════════════════════════════
   EDITORIAL IMAGES
   Absolute-positioned within viewport sections
   Each image placed deliberately, not flowed
   ═══════════════════════════════════════ */
.editorial-image {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.editorial-image picture {
  position: absolute;
  display: block;
  overflow: hidden;
}

.editorial-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.1) brightness(0.75);
  border: 1px solid rgba(240, 237, 232, 0.08);
  box-shadow:
    0 4px 40px rgba(200, 169, 110, 0.06),
    0 0 120px rgba(200, 169, 110, 0.03);
}

/* ── Orientation aspect ratios ── */
.editorial-image--square picture {
  width: 62%;
  max-width: 880px;
  aspect-ratio: 1 / 1;
}

.editorial-image--landscape picture {
  width: 55%;
  max-width: 780px;
  aspect-ratio: 3 / 2;
}

.editorial-image--wide picture {
  width: 62%;
  max-width: 880px;
  aspect-ratio: 16 / 9;
}

/* ── Per-image placement ── */

/* Image 1: seated-rack — right side, vertically centered */
#img-seated-rack picture {
  right: 12%;
  top: 50%;
  transform: translateY(-50%);
}

/* Image 2: deadlift-lockout — left side, slightly above center */
#img-deadlift-lockout picture {
  left: 10%;
  top: 45%;
  transform: translateY(-50%);
}

/* Image 3: standing-barbell — dead center */
#img-standing-barbell picture {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* Image 4: shoulder-press — left of center, slightly below center */
#img-shoulder-press picture {
  left: 30%;
  top: 55%;
  transform: translate(-50%, -50%);
}

/* Image 5: bench-press — right side, upper third */
#img-bench-press picture {
  right: 8%;
  top: 25%;
}

/* Image 6: physique-composite — centered, no filter (cutout on black bg) */
#img-physique-composite picture {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
#img-physique-composite img {
  filter: none;
  border: none;
  box-shadow: none;
  mix-blend-mode: multiply;
}


/* ═══════════════════════════════════════
   NDA CLAUSE CARDS
   Vertical stack with horizontal rules
   Each clause gets its own moment
   ═══════════════════════════════════════ */
.section--clauses {
  padding-top: 8vh;
  padding-bottom: 20vh;
}

.nda-clause {
  padding: 6vh 0;
  border-top: 1px solid rgba(200, 169, 110, 0.1);
}

.nda-clause:first-child {
  border-top: none;
  padding-top: 0;
}

.nda-clause:last-child {
  padding-bottom: 0;
}

.nda-clause .body-text {
  max-width: 540px;
}


/* ═══════════════════════════════════════
   CTA BLOCK
   ═══════════════════════════════════════ */
.section--cta {
  padding: 18vh 8vw;
}

.cta-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  margin-bottom: 20px;
}

.cta-subtext {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 48px;
}


/* ═══════════════════════════════════════
   FAQ
   ═══════════════════════════════════════ */
.section--faq {
  padding-top: 10vh;
  padding-bottom: 10vh;
}

.faq__item {
  margin-bottom: 48px;
}

.faq__item:last-child {
  margin-bottom: 0;
}

.faq__q {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.faq__a {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.95;
  color: var(--text);
  max-width: 480px;
}


/* ═══════════════════════════════════════
   DIVIDER
   ═══════════════════════════════════════ */
.divider {
  padding: 6vh 0;
  display: flex;
  justify-content: center;
}

.divider__line {
  width: 40px;
  height: 1px;
  background: var(--accent);
  opacity: 0.2;
}


/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.footer {
  padding: 56px 8vw;
  text-align: center;
  border-top: 1px solid rgba(200, 169, 110, 0.06);
}

.footer__text {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.footer__text a {
  color: var(--text-muted);
  text-decoration: none;
}

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


/* ═══════════════════════════════════════
   RESPONSIVE — ≤768px
   ═══════════════════════════════════════ */
@media (max-width: 768px) {
  .hero__content {
    padding: 0 8vw 10vh;
  }

  .headline {
    font-size: clamp(2.8rem, 10vw, 5rem);
  }

  .section-headline {
    font-size: clamp(1.8rem, 7vw, 3rem);
  }

  .clause-headline {
    font-size: clamp(1.1rem, 5vw, 1.5rem);
  }

  .section {
    padding: 12vh 8vw;
  }

  .section--cta {
    padding: 12vh 8vw;
  }

  .section--clauses {
    padding-top: 4vh;
    padding-bottom: 12vh;
  }

  .nda-clause {
    padding: 5vh 0;
  }

  .editorial-image {
    height: auto;
    min-height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8vh 6vw;
  }

  .editorial-image picture {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 85%;
    max-width: none;
  }

  .editorial-image--square picture,
  .editorial-image--landscape picture,
  .editorial-image--wide picture {
    width: 85%;
  }

  .pull-quote {
    font-size: 17px;
    padding-left: 24px;
  }

  .cta-btn {
    padding: 16px 44px;
  }

  /* Landscape phones — short viewports */
  @media (max-height: 500px) and (orientation: landscape) {
    .hero {
      min-height: 100svh;
    }

    .section {
      padding: 5vh 8vw;
    }

    .section--cta {
      padding: 8vh 8vw;
    }

    .editorial-image {
      min-height: 50vh;
    }

    .editorial-image--square picture {
      max-height: 45vh;
    }

    .editorial-image--wide picture {
      max-height: 30vh;
    }
  }
}
