/* ==========================================================================
   HOME PAGE — /assets/css/pages/home.css
   Loads after design-system.css. Page-specific only — no system resets,
   no tokens redeclaration, no button/nav/footer rules.
   ========================================================================== */


/* --------------------------------------------------------------------------
   HERO — full-bleed cinematic, content centered
   -------------------------------------------------------------------------- */
#home-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.home-hero-bg { position: absolute; inset: 0; z-index: 0; }
.home-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 70% center;
}
.home-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(95deg, rgba(11,11,13,0.85) 0%, rgba(11,11,13,0.55) 25%, rgba(11,11,13,0.18) 55%, rgba(11,11,13,0.4) 100%),
    linear-gradient(180deg, rgba(11,11,13,0.45) 0%, rgba(11,11,13,0.15) 35%, rgba(11,11,13,0.55) 70%, rgba(11,11,13,0.96) 100%);
  pointer-events: none;
}
.home-hero-inner {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 84px 64px 0;
}
.home-hero-content {
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding-bottom: 40px;
}
.home-hero-eyebrow {
  font-size: 12px; letter-spacing: 0.36em;
  text-transform: uppercase; color: var(--gold);
  font-weight: 600; margin-bottom: 22px;
  display: block;
}
.home-hero-title { display: block; margin: 0 0 28px; }
.home-hero-logo {
  display: block;
  width: clamp(360px, 48vw, 760px);
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.75));
}
.home-hero-tag {
  font-family: var(--display); font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1; color: var(--white);
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
.home-hero-tag em { color: var(--gold); font-style: normal; }
.home-hero-sub {
  font-size: 15px; line-height: 1.7;
  color: var(--mid);
  margin: 0 auto 30px;
  max-width: 50ch;
}
.home-hero-ctas {
  display: flex; gap: 12px;
  flex-wrap: wrap; justify-content: center;
  margin-bottom: 36px;
}

/* AS SEEN ON strip — pinned to bottom of hero */
.home-hero-seenon {
  display: flex; align-items: center; justify-content: center;
  gap: 28px; flex-wrap: wrap;
  padding: 22px 64px 28px;
  margin: 0 -64px;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: rgba(11,11,13,0.55);
  backdrop-filter: blur(6px);
}
.home-hero-seenon-label {
  font-size: 11px; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--muted);
}
.home-hero-seenon-divider { width: 32px; height: 1px; background: var(--border); }
.home-hero-seenon-logo {
  font-family: var(--display); font-weight: 800;
  text-transform: uppercase;
  color: rgba(245,245,242,0.6);
  font-size: 12px; letter-spacing: 0.06em;
}

/* Scroll-reveal nav (homepage only) */
body.home-cinematic .site-header {
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
body.home-cinematic.nav-revealed .site-header {
  transform: translateY(0);
  pointer-events: auto;
}
body.home-cinematic .nav-right-mobile { pointer-events: auto; }


/* --------------------------------------------------------------------------
   BIO — image left, text right; mobile stacked text-first
   -------------------------------------------------------------------------- */
#bio {
  padding: var(--section-pad-first) 0 var(--section-pad);
  background: var(--black);
}
.bio-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 0;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  background: var(--surf1);
  box-shadow: var(--card-shadow);
}
.bio-img-wrap {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #12141a;
  border-radius: var(--card-radius) 0 0 var(--card-radius);
}
.bio-img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.bio-copy {
  padding: 64px 52px;
  display: flex; flex-direction: column;
  justify-content: center;
  align-self: start;
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  border-radius: 0 var(--card-radius) var(--card-radius) 0;
}
.bio-copy h2 {
  font-family: var(--display); font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 0.95; letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 18px;
}
.bio-body {
  font-size: 16px; line-height: 1.75;
  color: rgba(245,245,242,0.74);
  max-width: 50ch;
  margin-bottom: 22px;
}
.bio-quote {
  background: rgba(11,11,13,0.65);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 22px 26px;
  max-width: 44ch;
}
.bio-quote-text {
  font-family: var(--display); font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1;
  color: var(--gold);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.bio-quote-attr { font-size: 13px; letter-spacing: 0.04em; color: var(--mid); line-height: 1.5; }


/* --------------------------------------------------------------------------
   VIDEO
   -------------------------------------------------------------------------- */
#video { padding: var(--section-pad) 0; background: var(--black); }
.video-wrap { text-align: center; max-width: 100%; margin: 0 auto; }
.video-title {
  font-family: var(--display); font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 0.96; color: var(--white); margin-bottom: 28px;
}
.video-frame {
  position: relative; display: block;
  width: 100%; aspect-ratio: 16/9;
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
  background: #000;
  cursor: pointer; padding: 0;
}
.video-thumb { width: 100%; height: 100%; object-fit: cover; opacity: 0.82; transition: opacity 0.2s; }
.video-frame:hover .video-thumb { opacity: 0.65; }
.video-play-btn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 92px; height: 92px;
  border-radius: 50%;
  background: var(--gold);
  display: grid; place-items: center;
  box-shadow: 0 18px 60px rgba(245,184,0,0.4);
  transition: transform 0.2s;
}
.video-frame:hover .video-play-btn { transform: translate(-50%,-50%) scale(1.06); }
.video-play-icon {
  width: 0; height: 0;
  border-style: solid;
  border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent var(--black);
  margin-left: 5px;
}


/* --------------------------------------------------------------------------
   SHOW PILLARS
   -------------------------------------------------------------------------- */
#show-pillars { padding: var(--section-pad) 0; background: var(--black); }
.pillars-header {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 40px; align-items: end; margin-bottom: 40px;
}
.pillars-header h2 {
  font-family: var(--display); font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 0.95; letter-spacing: -0.02em; color: var(--white);
}
.pillars-desc { font-size: 16px; line-height: 1.7; color: var(--mid); max-width: 56ch; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar {
  background: var(--surf1);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 32px 28px;
}
.pillar-num {
  font-family: var(--display); font-weight: 900;
  font-size: 56px; line-height: 1;
  color: rgba(245,184,0,0.18); margin-bottom: 12px;
}
.pillar-name {
  font-family: var(--display); font-weight: 900;
  text-transform: uppercase; font-size: 22px;
  color: var(--white); margin-bottom: 10px;
}
.pillar-body { font-size: 14px; line-height: 1.65; color: var(--mid); }


/* --------------------------------------------------------------------------
   INSTAGRAM
   -------------------------------------------------------------------------- */
#instagram { padding: var(--section-pad) 0; background: var(--black); }
.insta-header {
  display: flex; justify-content: space-between;
  gap: 24px; align-items: end; margin-bottom: 28px; flex-wrap: wrap;
}
.insta-header h2 {
  font-family: var(--display); font-weight: 900;
  text-transform: uppercase; font-size: clamp(28px, 3.4vw, 40px); color: var(--white);
}
.insta-follow {
  color: var(--gold); font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
}
.insta-follow:hover { text-decoration: underline; }
.behold-wrap {
  min-height: 320px;
  position: relative;
  border-radius: 18px;
  background: var(--surf1);
  border: 1px solid var(--border);
  padding: 16px;
  overflow: hidden;
}
.behold-wrap::before {
  content: "Instagram feed loading…";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 12px;
  letter-spacing: 0.24em; text-transform: uppercase;
  pointer-events: none; z-index: 0;
}
.behold-wrap > div { position: relative; z-index: 1; }


/* --------------------------------------------------------------------------
   PICK YOUR LANE — 3-card section replacing pillars
   -------------------------------------------------------------------------- */
#pick-your-lane { padding: var(--section-pad) 0; background: var(--black); }
.lane-header { text-align: center; margin-bottom: 40px; }
.lane-title {
  font-family: var(--display); font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 0.95; letter-spacing: -0.02em; color: var(--white);
}
.lane-title em { color: var(--gold); font-style: normal; }
.lane-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.lane-card {
  display: flex; flex-direction: column;
  background: rgba(245,184,0,0.04);
  border: 1px solid rgba(245,184,0,0.14);
  border-radius: var(--card-radius);
  padding: 36px 32px;
  text-decoration: none; color: inherit;
  transition: transform 0.15s, border-color 0.2s, background 0.2s;
}
.lane-card:hover {
  border-color: rgba(245,184,0,0.38);
  transform: translateY(-2px);
  background: rgba(245,184,0,0.08);
}
.lane-card--featured {
  background: rgba(245,184,0,0.07);
  border-color: rgba(245,184,0,0.28);
}
.lane-num {
  font-family: var(--display); font-weight: 900;
  font-size: 52px; line-height: 1;
  color: rgba(245,184,0,0.15); margin-bottom: 10px;
}
.lane-name {
  font-family: var(--display); font-weight: 900;
  text-transform: uppercase; font-size: 24px;
  color: var(--white); margin-bottom: 4px;
}
.lane-sub {
  font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px; font-weight: 600;
}
.lane-body {
  font-size: 15px; line-height: 1.65;
  color: rgba(245,245,242,0.72);
  margin-bottom: 20px; flex: 1;
}
.lane-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.lane-pill {
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(245,245,242,0.14);
  font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(245,245,242,0.7);
}
.lane-cta {
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold); font-weight: 700;
}


/* --------------------------------------------------------------------------
   DATES LINK ROW — "View All Dates" row below show-dates-section
   -------------------------------------------------------------------------- */
.home-dates-link-row {
  text-align: center;
  padding: 0 0 var(--section-pad);
}


/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .home-hero-inner { padding: 100px 32px 0; }
  .home-hero-seenon { padding: 20px 32px 24px; margin: 0 -32px; gap: 20px; }
  .pillars-header { grid-template-columns: 1fr; gap: 18px; }
  .pillars { grid-template-columns: 1fr; }
  /* Bio: stack into one column. KEEP DOM order so mobile reads
     the same as desktop (image first → text second). No order swap. */
  .bio-wrap { grid-template-columns: 1fr; }
  .bio-img-wrap {
    min-height: 380px; aspect-ratio: 4/3;
    border-radius: var(--card-radius) var(--card-radius) 0 0;
  }
  .bio-copy {
    padding: 36px 28px;
    position: static;
    border-radius: 0 0 var(--card-radius) var(--card-radius);
  }
}

@media (max-width: 768px) {
  #home-hero { min-height: auto; }
  .home-hero-inner { min-height: auto; padding: 56px 24px 0; }
  .home-hero-content { padding-bottom: 60px; }
  .home-hero-seenon {
    flex-direction: row; flex-wrap: wrap;
    align-items: center; justify-content: center;
    row-gap: 12px; column-gap: 14px;
    padding: 28px 24px 32px; margin: 0 -24px;
    text-align: center;
  }
  .home-hero-seenon-label {
    flex: 0 0 100%; text-align: center;
    font-size: 12px; margin-bottom: 2px;
  }
  .home-hero-seenon-divider {
    flex: 0 0 100%; height: 1px; background: transparent;
    position: relative; margin: 0 0 6px;
  }
  .home-hero-seenon-divider::before {
    content: ""; display: block; width: 64px; height: 1px;
    background: var(--border); margin: 0 auto;
  }
  .home-hero-seenon-logo { font-size: 12px; flex: 0 0 auto; }
  .home-hero-logo { width: clamp(280px, 80vw, 420px); }

  /* Lane section */
  #pick-your-lane { padding: var(--section-pad-mobile) 0; }
  .lane-grid       { grid-template-columns: 1fr; gap: 14px; }
  .lane-card       { text-align: center; align-items: center; padding: 28px 22px; }
  .lane-pills      { justify-content: center; }

  #bio { padding: var(--section-pad-mobile) 0; }
  .bio-img-wrap { min-height: 0; aspect-ratio: auto; height: auto; }
  .bio-img { width: 100%; height: auto; object-fit: contain; }
  .bio-copy { text-align: center; align-items: center; }
  .bio-body { margin-left: auto; margin-right: auto; }
  .bio-quote { margin: 0 auto; max-width: 90%; }

  #video { padding: var(--section-pad-mobile) 0; }

  #show-pillars { padding: var(--section-pad-mobile) 0; }
  .pillars-header { text-align: center; }
  .pillars-desc { margin-left: auto; margin-right: auto; }
  .pillar { text-align: center; }
  .pillar-num { margin-left: auto; margin-right: auto; }

  #instagram { padding: var(--section-pad-mobile) 0; }
  .insta-header { justify-content: center; text-align: center; }
  .insta-header > div { width: 100%; }
  .insta-header .eyebrow { display: block; }
  .insta-follow { margin: 0 auto; }
}

/* Final deployment polish — homepage mobile balance + lane cleanup */
.lane-pills { display: none; }
.lane-grid { gap: 36px; }
@media (min-width: 769px) {
  .home-hero-inner { padding-top: 118px; }
}
@media (max-width: 768px) {
  #home-hero { min-height: 100svh; }
  .home-hero-bg img { object-position: 66% center; }
  .home-hero-bg::after {
    background: linear-gradient(180deg, rgba(11,11,13,.58) 0%, rgba(11,11,13,.34) 36%, rgba(11,11,13,.68) 72%, rgba(11,11,13,.96) 100%), radial-gradient(ellipse 90% 62% at 50% 34%, rgba(11,11,13,.10) 0%, rgba(11,11,13,.42) 68%, rgba(11,11,13,.88) 100%);
  }
  .home-hero-inner { min-height: 100svh; padding: max(86px, calc(env(safe-area-inset-top) + 72px)) 24px 0; }
  .home-hero-content { justify-content: center; padding-bottom: 72px; }
  .home-hero-eyebrow { font-size: 11px; line-height: 1.35; letter-spacing: .34em; margin-bottom: 24px; }
  .home-hero-title { margin-bottom: 26px; }
  .home-hero-logo { width: clamp(270px, 76vw, 380px); }
  .home-hero-tag { font-size: clamp(27px, 8vw, 38px); line-height: .96; max-width: 11ch; margin-bottom: 22px; }
  .home-hero-sub { font-size: 16px; line-height: 1.68; max-width: 30ch; margin-bottom: 34px; }
  .home-hero-ctas { width: 100%; display: grid; gap: 18px; justify-items: center; margin-bottom: 0; }
  .home-hero-ctas .btn-primary, .home-hero-ctas .btn-outline { width: min(100%, 420px); min-height: 72px; }
  .home-hero-seenon { padding-top: 42px; padding-bottom: 42px; }
  .lane-grid { gap: 28px; }
  .lane-card { padding-top: 34px; padding-bottom: 34px; }
}
