/* ═══════════════════════════════════════
   AMH Performance — Base Styles
   Fonts, reset, tokens, shared classes
   ═══════════════════════════════════════ */


/* ── 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;
}


/* ═══════════════════════════════════════
   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.8rem, 6vw, 8rem);
  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: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.7;
  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;
}

.section__inner > .body-text:first-of-type {
  font-weight: 500;
  font-style: normal;
}


/* ═══════════════════════════════════════
   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 — BASE
   ═══════════════════════════════════════ */
.section {
  position: relative;
  padding: 25vh 8vw;
}

.section__inner {
  max-width: 640px;
}

.section__inner::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
  opacity: 0.2;
  margin-bottom: 48px;
}


/* ═══════════════════════════════════════
   EDITORIAL IMAGES — BASE
   ═══════════════════════════════════════ */
.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);
}

.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;
}


/* ═══════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════ */
.editorial-image {
  cursor: pointer;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.95);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  filter: grayscale(100%) contrast(1.1) brightness(0.75);
}


/* ═══════════════════════════════════════
   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 — BIG MONITOR ≥1441px
   ═══════════════════════════════════════ */
@media (min-width: 1441px) {
  body {
    font-size: 18px;
  }

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

  .section-headline {
    font-size: clamp(3.5rem, 6vw, 9rem);
  }

  .section {
    padding: 30vh 10vw;
  }

  .section__inner {
    max-width: 720px;
  }

  .editorial-image {
    height: 110vh;
  }

  .pull-quote {
    font-size: clamp(22px, 2.5vw, 30px);
  }

  .cta-btn {
    padding: 22px 64px;
    font-size: 16px;
  }
}


/* ═══════════════════════════════════════
   RESPONSIVE — LAPTOP 1025–1440px
   ═══════════════════════════════════════ */
@media (min-width: 1025px) and (max-width: 1440px) {
  .section {
    padding: 25vh 8vw;
  }

  .section__inner {
    max-width: 640px;
  }

  .editorial-image {
    height: 100vh;
  }
}


/* ═══════════════════════════════════════
   RESPONSIVE — TABLET 769–1024px
   ═══════════════════════════════════════ */
@media (min-width: 769px) and (max-width: 1024px) {
  .headline {
    font-size: clamp(3rem, 8vw, 6rem);
  }

  .section-headline {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  }

  .section {
    padding: 18vh 6vw;
  }

  .section__inner {
    max-width: 560px;
  }

  .editorial-image {
    height: 80vh;
  }

  .editorial-image picture {
    width: 75%;
  }

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

  .pull-quote {
    font-size: 18px;
  }

  .cta-btn {
    padding: 18px 52px;
  }

  .kicker {
    font-size: 12px;
  }
}


/* ═══════════════════════════════════════
   RESPONSIVE — ≤768px (shared classes only)
   ═══════════════════════════════════════ */
@media (max-width: 768px) {
  .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: 15vh 8vw;
  }

  .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) {
    .section {
      padding: 5vh 8vw;
    }

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

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

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