/* ============================================
   &friends Splash Page Styles
   ============================================ */

/* Fonts */
@font-face {
  font-family: 'FeatureDeck';
  src: url('../assets/typography/feature-deck/FeatureDeck-Regular-Web.woff2') format('woff2'),
       url('../assets/typography/feature-deck/FeatureDeck-Regular-Web.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'FeatureDeck';
  src: url('../assets/typography/feature-deck/FeatureDeck-Medium-Web.woff2') format('woff2'),
       url('../assets/typography/feature-deck/FeatureDeck-Medium-Web.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'FeatureDeck';
  src: url('../assets/typography/feature-deck/FeatureDeck-Bold-Web.woff2') format('woff2'),
       url('../assets/typography/feature-deck/FeatureDeck-Bold-Web.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'FeatureDeck';
  src: url('../assets/typography/feature-deck/FeatureDeck-Extrabold-Web.woff2') format('woff2'),
       url('../assets/typography/feature-deck/FeatureDeck-Extrabold-Web.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'FeatureDeck';
  src: url('../assets/typography/feature-deck/FeatureDeck-Light-Web.woff2') format('woff2'),
       url('../assets/typography/feature-deck/FeatureDeck-Light-Web.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'FeatureDeck';
  src: url('../assets/typography/feature-deck/FeatureDeck-LightItalic-Web.woff2') format('woff2'),
       url('../assets/typography/feature-deck/FeatureDeck-LightItalic-Web.woff') format('woff');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'FeatureDeck';
  src: url('../assets/typography/feature-deck/FeatureDeck-RegularItalic-Web.woff2') format('woff2'),
       url('../assets/typography/feature-deck/FeatureDeck-RegularItalic-Web.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'FeatureDeck';
  src: url('../assets/typography/feature-deck/FeatureDeck-BoldItalic-Web.woff2') format('woff2'),
       url('../assets/typography/feature-deck/FeatureDeck-BoldItalic-Web.woff') format('woff');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'FeatureDeck';
  src: url('../assets/typography/feature-deck/FeatureDeck-ExtraboldItalic-Web.woff2') format('woff2'),
       url('../assets/typography/feature-deck/FeatureDeck-ExtraboldItalic-Web.woff') format('woff');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'FeatureDeck';
  src: url('../assets/typography/feature-deck/FeatureDeck-MediumItalic-Web.woff2') format('woff2'),
       url('../assets/typography/feature-deck/FeatureDeck-MediumItalic-Web.woff') format('woff');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: #EAE9E2;
  font-family: 'FeatureDeck', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #000;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   Layout
   ============================================ */

.splash {
  position: relative;
  width: 100%;
}

/* ============================================
   Hero Section (first viewport)
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

/* ============================================
   Collage Section (second viewport)
   ============================================ */

.collage-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ============================================
   Wordmark
   ============================================ */

.wordmark {
  width: 100%;
  padding: 20px 24px 0;
  position: relative;
  z-index: 20;
}


.wordmark__svg {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* ============================================
   Body Copy
   ============================================ */

.body-copy {
  padding: clamp(20px, 5vh, 100px) 24px 100px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.body-copy__headline {
  font-family: 'FeatureDeck', sans-serif;
  font-weight: 300;
  font-size: clamp(1.5rem, 4.5vw, 65px);
  line-height: 0.94;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 1170px;
}

.body-copy__headline em {
  font-style: italic;
}

.body-copy__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  font-size: clamp(0.85rem, 1.8vw, 28px);
  line-height: 1.27;
  letter-spacing: -0.03em;
  font-weight: 400;
  max-width: 1170px;
  text-align: left;
  text-wrap: pretty;
}

/* ============================================
   Collage Area
   ============================================ */

.collage {
  position: relative;
  width: 100%;
  height: 45vw;
  min-height: 400px;
  overflow: visible;
}

/* ============================================
   Tagline
   ============================================ */

.tagline {
  position: relative;
  z-index: 150;
  padding: 40px 24px;
  text-align: center;
}

.tagline__text {
  font-family: 'FeatureDeck', sans-serif;
  font-weight: 300;
  font-size: 45px;
  line-height: 0.94;
  letter-spacing: -0.02em;
  max-width: 1170px;
  margin: 0 auto;
}

.tagline__text em {
  font-style: italic;
}

/* ============================================
   Stickers (Draggable Elements)
   ============================================ */

.sticker {
  position: absolute;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  transition: filter 0.15s ease;
  will-change: transform;
  touch-action: none;
  z-index: 5;
  filter: none;
}

.sticker:hover {
  filter: none;
}

.sticker.dragging {
  cursor: grabbing;
  filter: drop-shadow(8px 8px 16px rgba(0, 0, 0, 0.4));
}

.sticker img {
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* ============================================
   Marquee Banner
   ============================================ */

.marquee-banner {
  position: relative;
  z-index: 200;
  width: 100%;
  overflow: hidden;
  padding: 0;
  white-space: nowrap;
  pointer-events: none;
  margin-top: auto;
  margin-bottom: 5vh;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  will-change: transform;
}

.marquee-pill {
  height: auto;
  width: clamp(120px, 18vw, 260px);
  flex-shrink: 0;
  user-select: none;
  -webkit-user-drag: none;
}

/* ============================================
   Credit Bar
   ============================================ */

.credit-bar {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  padding: 40px 24px 10px;
  font-weight: 400;
  pointer-events: none;
  margin-top: auto;
}

.credit-bar__wordmark {
  pointer-events: auto;
}

.credit-bar__wordmark img {
  width: 280px;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.credit-bar__center {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
  align-self: center;
  opacity: 0.8;
  font-size: clamp(12px, 1.4vw, 20px);
  pointer-events: auto;
}

.credit-bar__center a {
  color: inherit;
  text-decoration: none;
}

.credit-bar__center a:hover {
  text-decoration: underline;
}

.credit-bar__logos {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  pointer-events: auto;
}

.credit-logo {
  height: 90px;
  width: auto;
  opacity: 0.85;
}

.credit-logo--athletics {
  height: 90px;
  margin-left: 18px;
}

.credit-logo--nycfooty {
  height: 90px;
}

.credit-logo--partner {
  height: 72px;
}

/* ============================================
   Responsive — Mobile & Tablet (consolidated)
   ============================================ */

@media (max-width: 1024px) {
  html, body {
    overflow-x: hidden;
  }

  .hero, .collage-section {
    overflow-x: clip;
  }

  .wordmark {
    padding: 14px 16px 0;
  }

  /* Marquee pills */
  .marquee-pill { width: clamp(140px, 36vw, 440px); }

  /* Body copy */
  .body-copy {
    padding: 20px clamp(35px, 11vw, 88px) 12px;
  }

  .body-copy__headline {
    font-size: clamp(32px, 5vw, 48px);
    margin-top: 35px;
    margin-bottom: 65px;
  }

  .body-copy__columns {
    grid-template-columns: 1fr;
    gap: 22px;
    font-size: clamp(18px, 3.75vw, 36px);
    text-align: center;
    padding: 0;
  }

  /* Collage */
  .collage {
    height: 130vw;
    min-height: 400px;
    max-height: none;
  }

  /* Tagline */
  .tagline {
    padding: 30px 16px;
  }

  .tagline__text {
    font-size: clamp(18px, 3vw, 32px);
  }

  /* Footer */
  .credit-bar {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 10px 10px;
    padding: 8px 16px 0;
    overflow: hidden;
  }

  .credit-bar__center {
    text-align: center;
    font-size: 16px;
    margin: 10px 0 30px;
    line-height: 1.1;
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .credit-bar__logos {
    grid-column: 1 / -1;
    grid-row: 2;
    padding: 40px 0 10px;
    justify-content: center;
    gap: 20px;
  }

  .credit-bar__wordmark {
    grid-column: 1 / -1;
    grid-row: 1;
    overflow: hidden;
    height: auto;
    margin-bottom: -20px;
  }

  .credit-bar__wordmark img {
    width: 100%;
  }

  .credit-logo,
  .credit-logo--athletics,
  .credit-logo--nycfooty {
    height: 50px;
  }

  .credit-logo--partner {
    height: 40px;
  }
}

/* ============================================
   Skip Link
   ============================================ */

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 8px 16px;
  background: #000;
  color: #EAE9E2;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
}

.skip-link:focus {
  top: 16px;
}

/* ============================================
   Utilities
   ============================================ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   Focus Styles
   ============================================ */

.credit-bar__center a:focus-visible,
.credit-bar__logos a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* ============================================
   Reduced Motion
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  .sticker { transition: none; }
  .marquee-track { animation: none; transform: none !important; }
}

/* Smaller tablet landscape (≤1024px) — reduce body text & margins 30% from portrait */
@media (max-width: 1024px) and (orientation: landscape) {
  .body-copy {
    padding: 20px clamp(35px, 7.7vw, 62px) 12px;
  }

  .body-copy__columns {
    font-size: clamp(18px, 2.625vw, 25px);
  }
}

/* Larger tablet landscape (iPad Pro etc.) — reduce body text & content width 30% from desktop */
@media (min-width: 1025px) and (max-width: 1366px) and (orientation: landscape) {
  html, body {
    overflow-x: hidden;
  }

  .hero, .collage-section {
    overflow-x: clip;
  }

  .body-copy__headline {
    font-size: clamp(1.05rem, 3.15vw, 45px);
    max-width: 820px;
  }

  .body-copy__columns {
    font-size: clamp(0.85rem, 1.9vw, 26px);
    max-width: 820px;
  }
}
