/* =========================
   LOCAL FONTS (from /fonts)
   ========================= */

/* Helvetica Neue (OTF) */
@font-face {
  font-family: "HelveticaNeue";
  src: url("../fonts/HelveticaNeueLight.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HelveticaNeue";
  src: url("../fonts/HelveticaNeueMedium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HelveticaNeue";
  src: url("../fonts/HelveticaNeueBold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HelveticaNeue";
  src: url("../fonts/HelveticaNeueBlack.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Inter Variable (TTF) */
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* founders */

@font-face {
  font-family: "FoundersGrotesk";
  src: url("../fonts/Founders.ttf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* instrument */

@font-face {
  font-family: "InstrumentSerif";
  src: url("../fonts/InstrumentSerif.ttf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}



/* ================= VARIABLES ================= */
:root {
  --gold: #D2B878;
  --black: #1C1C1C;
  --max-width: 1200px;
}

/* ================= RESET ================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  color: var(--black);
}

/* ================= FONTS ================= */
.font-founders {
  font-family: "FoundersGrotesk", "Founders Grotesk Condensed", "Founders Grotesk", Helvetica, Arial, sans-serif;
}


.font-instrument {
  font-family: "InstrumentSerif", "Instrument Serif", serif;
}


.font-inter {
  font-family: "Inter", "Inter Variable", system-ui, sans-serif;
}


.back-link a {
  font-family: "Founders Grotesk Condensed", "Founders Grotesk", Helvetica, Arial, sans-serif;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--gold);
  text-decoration: none;
}

.back-link a,
.back-link a:visited,
.back-link a:hover,
.back-link a:active {
  font-family: "Founders Grotesk Condensed", "Founders Grotesk", Helvetica, Arial, sans-serif;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--gold);
  text-decoration: none;
}

.back-link a:hover {
  opacity: 0.8;
}



/* ================= HERO ================= */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-title {
  position: absolute;
  left: 56%;
  top: 64%;
  transform: translate(-20%, -50%);
  font-size: 64px;
  letter-spacing: -0.02em;
  color: var(--black);
  font-weight: 600;
}

/* ================= ABOUT ================= */
.about {
  height: 480px;
  display: flex;
  align-items: center;
  padding: 20px;
}

.about-container {
  max-width: var(--max-width);
  margin: auto;
  display: grid;
  grid-template-columns: 690px 1fr;
  gap: 64px;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 410px;
  object-fit: cover;
  display: block;
  margin-top: 40px;
  border-radius: 10px;
}

.about-plus {
  position: absolute;
  left: -50px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 50px;
  pointer-events: none;
}

.about-plus span {
  font-size: 250px;
  line-height: 0.5;
  color: var(--gold);
  font-family: "Instrument Serif", serif;
  font-weight: 400;
}

.about-heading {
  display: flex;
  align-items: baseline;
  /* baseline is more reliable than flex-end for text */
  gap: 24px;
}

.about-number {
  font-size: 96px;
  letter-spacing: -0.02em;
  color: var(--gold);
  line-height: 1;
  /* keep baseline sane */
  margin: 0;
}

.about-title {
  font-size: 128px;
  letter-spacing: -0.01em;
  color: var(--gold);
  margin: 0;
  line-height: 1;
  /* keep baseline sane */
}


/* line must be FULL width under the whole header */
.about-line {
  height: 1px;
  background: var(--gold);
  width: 100%;
  margin: 16px 0 24px;
}

.about-text {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 500px;
  font-weight: 600;
}


/* ================= SCOUTING ================= */
.scouting {
  position: relative;
  height: 740px;
  padding: 0;
  overflow: hidden;
  margin-top: 80px;
}

.scouting-bg-video {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1140px;
  height: 640px;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.30;
  pointer-events: none;
  z-index: 0;
  border-radius: 10px;
}



.scouting-container {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;

  /* centers the whole content block vertically */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ✅ FIXED HEADING ALIGNMENT */
.scouting-heading {
  display: flex;
  align-items: center;        /* was baseline */
  justify-content: center;
  gap: 24px;

  width: fit-content;         /* makes 02+title behave like one centered block */
  margin: 0 auto;             /* centers that block */
  text-align: center;
}

/* kill default margins + match mock sizing */
.scouting-heading .scouting-number,
.scouting-heading .scouting-title {
  margin: 0;
  padding: 0;
  line-height: 1;
}

/* optional: if you want the big gold look like Desktop-1 */
.scouting-heading .scouting-number {
  font-size: 72px;
  color: var(--gold);
}

.scouting-heading .scouting-title {
  font-size: 72px;
  color: var(--gold);
}

/* optional optical nudge if fonts still feel slightly off */
.scouting-heading .scouting-number {
  transform: translateY(2px);
}

.scouting-line {
  height: 1px;
  background: var(--gold);
  width: 50%;
  margin: 16px auto;
}

.scouting-text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--black);
  max-width: 600px;
  margin: 0 auto 48px;
  text-align: left;
}


/* ================= MODELS (SCOUTING CARDS) ================= */
.model-grid {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.model-card {
  position: relative;
  display: block;
  width: 230px;
  height: 308px;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
}

.model-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* overlay name (Founders 75px, #F7F5F5, rotated like mock) */
.model-overlay-name {
  position: absolute;
  left: 35px;               /* settles with 8px padding */
  top: 30%;
  transform-origin: left center;

  /* start off-screen to the left, while rotated */
  transform: translateX(-90%) translateY(50%) rotate(90deg);

  font-size: 65px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #F7F5F5;

  transition: transform 320ms ease;
  will-change: transform;
  pointer-events: none;     /* keeps whole card clickable */
}

/* interaction: slide in from left and settle */
.model-card:hover .model-overlay-name,
.model-card:focus-visible .model-overlay-name {
  transform: translateX(0) translateY(-50%) rotate(90deg);
}

/* optional: subtle affordance on hover */
.model-card:hover,
.model-card:focus-visible {
  outline: none;
}

/* ================= FOOTER ================= */
.footer {
  margin-top: 120px;
  padding: 40px 0;
  border-top: 1px solid var(--gold);
}

.footer-container {
  max-width: 1200px;      /* match your site grid */
  margin: 0 auto;         /* center it */
  padding: 0 24px;        /* safe gutter on large + small screens */

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-center {
  font-size: 14px;
  opacity: 0.85;
  white-space: nowrap;
}

.footer-center a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-center a:hover {
  opacity: 1;
  border-bottom-color: currentColor;
}


.footer-left {
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--black);
}

.footer-right {
  font-size: 14px;
  color: var(--black);
  opacity: 0.7;
}


/* Start of Mobile */

@media (max-width: 768px) {

  /* ABOUT plus marks: scale down on mobile */
  .about-plus span {
    font-size: 120px;
  }


  :root {
    --max-width: 100%;
  }

  /* GLOBAL GUTTERS */
  .about-container,
  .scouting-container,
  .footer-container {
    padding: 0 20px;
  }

  /* HERO */
  .hero-title {
    left: 50%;
    top: 60%;
    transform: translate(-50%, -50%);
    font-size: 42px;
  }

  /* ABOUT */
  .about {
    height: auto;
    padding: 80px 0;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-image img {
    height: auto;
    max-height: 320px;

  }

  .about-number {
    font-size: 64px;
  }

  .about-title {
    font-size: 128px;
  }

  @media (prefers-reduced-motion: reduce) {
  .model-overlay-name {
    transition: none;
  }
}

/* Mobile: keep layout sane */

/* ================= MOBILE / TOUCH DEVICES ================= */
@media (hover: none) and (pointer: coarse) {
  .model-overlay-name {
    /* always visible on mobile */
    transform: translateX(0) translateY(-50%) rotate(90deg);
  }
}

@media (max-width: 768px) {
  .scouting {
    height: auto;
    padding: 80px 0;
  }

  .scouting-bg-video {
    width: 100%;
    height: 100%;
    left: 50%;
    top: 50%;
  }

  .model-grid {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .model-card {
    width: 260px;
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .model-overlay-name {
    font-size: 56px;
  }
}

  @media (max-width: 768px) {
    .footer {
      padding: 48px 0 56px;
    }

    .footer-container {
      flex-direction: column;
      text-align: center;
      gap: 8px;
    }

    .footer-center {
      white-space: normal;
    }

    .footer-left {
      font-size: 18px;
      letter-spacing: -0.01em;
    }

    .footer-right {
      font-size: 13px;
      opacity: 0.6;
    }
  }

}


/* Ipad */

@media (min-width: 769px) and (max-width: 1024px) {

  .about-container,
  .scouting-container,
  .footer-container {
    padding: 0 32px;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image img {
    max-height: 380px;
  }

  .about-title {
    font-size: 128px;
  }

  .scouting-title {
    font-size: 52px;
  }

  .model-grid {
    gap: 40px;
  }
}