/* ═══════════════════════════════════════════════════════════════
   TALENTED — Shared Styles (mobile-first)
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* palette */
  --navy:        #0F1A3A;
  --navy-deep:   #070D21;
  --cream:       #FFF5EC;
  --cream-deep:  #FCE9D2;
  --ivory:       #FAF7F2;
  --orange:      #F97316;
  --orange-deep: #C2410C;
  --orange-glow: #FDBA74;
  --ink:         #0A0F24;
  --muted:       #5B6478;
  --line:        rgba(15, 26, 58, 0.08);

  /* fonts */
  --font-display: 'Unbounded', system-ui, sans-serif;
  --font-serif:   'Instrument Serif', 'Times New Roman', serif;
  --font-body:    'Geist', system-ui, sans-serif;
}

/* ═══ reset ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  height: -webkit-fill-available;
}
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.5;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--orange); color: white; }

/* ═══ texture overlay ═══ */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.3;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' seed='5'/%3E%3CfeColorMatrix values='0 0 0 0 0.15 0 0 0 0 0.1 0 0 0 0 0.05 0 0 0 0.12 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ═══ minimal header ═══ */
.site-header {
  position: relative;
  z-index: 10;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--navy);
}
.logo img { width: 26px; height: 26px; }

.back-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.back-link:hover, .back-link:active { color: var(--navy); }

/* ═══ HERO (landing page) ═══ */
.hero {
  position: relative;
  isolation: isolate;
  padding: 24px 24px 48px;
  min-height: calc(100svh - 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* gradient mesh background — splash DNA */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 90% 50% at 50% 110%, rgba(249, 115, 22, 0.32), transparent 65%),
    radial-gradient(ellipse 70% 45% at 15% 100%, rgba(253, 186, 116, 0.38), transparent 65%),
    radial-gradient(ellipse 60% 45% at 88% 105%, rgba(251, 146, 60, 0.28), transparent 65%),
    linear-gradient(180deg, var(--ivory) 0%, var(--cream) 70%, var(--cream-deep) 100%);
}

/* floating orbs */
.orbs {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.55;
  animation: drift 22s ease-in-out infinite;
}
.orb-1 { width: 110px; height: 110px; left: 12%; bottom: -8%; background: radial-gradient(circle, #FDBA74, transparent 70%); animation-delay: 0s; }
.orb-2 { width: 160px; height: 160px; left: 38%; bottom: -18%; background: radial-gradient(circle, #FB923C, transparent 70%); animation-delay: -6s; animation-duration: 26s; }
.orb-3 { width: 90px;  height: 90px;  left: 70%; bottom: -6%;  background: radial-gradient(circle, #F97316, transparent 70%); animation-delay: -12s; animation-duration: 18s; }
.orb-4 { width: 130px; height: 130px; left: 20%; bottom: -12%; background: radial-gradient(circle, #FDBA74, transparent 70%); animation-delay: -16s; animation-duration: 24s; }
.orb-5 { width: 70px;  height: 70px;  left: 82%; bottom: -3%;  background: radial-gradient(circle, #FB923C, transparent 70%); animation-delay: -3s;  animation-duration: 20s; }

@keyframes drift {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  10%  { opacity: 0.6; }
  50%  { transform: translateY(-65vh) translateX(15px) scale(1.1); opacity: 0.4; }
  90%  { opacity: 0.15; }
  100% { transform: translateY(-100vh) translateX(-15px) scale(0.85); opacity: 0; }
}

/* ═══ hero content ═══ */
.hero-content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(15, 26, 58, 0.04);
  border: 1px solid rgba(15, 26, 58, 0.08);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 28px;
  opacity: 0;
  animation: fade-up 0.8s 0.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.brand-pill .dot {
  width: 5px; height: 5px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--orange);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.4); opacity: 0.6; }
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 17vw, 132px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: var(--navy);
}
.hero-headline .line {
  display: block;
  overflow: hidden;
}
.hero-headline .line span {
  display: inline-block;
  transform: translateY(110%);
  animation: reveal 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-headline .line:nth-child(1) span { animation-delay: 0.20s; }
.hero-headline .line:nth-child(2) span { animation-delay: 0.32s; }
.hero-headline .line:nth-child(3) span { animation-delay: 0.44s; }
.hero-headline em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
  letter-spacing: -0.005em;
}

@keyframes reveal { to { transform: translateY(0); } }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  margin: 22px auto 0;
  max-width: 460px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
  opacity: 0;
  animation: fade-up 0.8s 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ═══ store buttons (coming soon state) ═══ */
.stores {
  margin: 36px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 360px;
  opacity: 0;
  animation: fade-up 0.8s 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.store-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  border-radius: 18px;
  width: 100%;
  font-family: var(--font-body);
  cursor: not-allowed;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s;
}
.store-btn:hover { transform: translateY(-2px); }
.store-btn:active { transform: translateY(0); }

.store-btn .logo-mark {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.store-btn .logo-mark svg { width: 100%; height: 100%; fill: currentColor; }

.store-btn .text { text-align: left; line-height: 1.15; flex: 1; }
.store-btn .small {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
  display: block;
}
.store-btn .big {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin-top: 2px;
}

.store-btn .soon-tag {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  font-weight: 400;
  opacity: 0.85;
  flex-shrink: 0;
}

.store-btn.apple {
  background: linear-gradient(135deg, #1A2550 0%, #0F1A3A 100%);
  color: var(--cream);
  box-shadow: 0 14px 30px -12px rgba(15, 26, 58, 0.45);
}
.store-btn.apple:hover { box-shadow: 0 22px 42px -12px rgba(15, 26, 58, 0.6); }

.store-btn.google {
  background: linear-gradient(135deg, #F97316 0%, #C2410C 100%);
  color: white;
  box-shadow: 0 14px 30px -12px rgba(249, 115, 22, 0.5);
}
.store-btn.google:hover { box-shadow: 0 22px 42px -12px rgba(249, 115, 22, 0.7); }

/* status indicator: a tiny pulse */
.store-btn::after {
  content: '';
  position: absolute;
  top: 12px; right: 14px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange-glow);
  box-shadow: 0 0 0 0 var(--orange-glow);
  animation: ring 2s ease-out infinite;
}
.store-btn.google::after { background: white; box-shadow: 0 0 0 0 white; }

@keyframes ring {
  0%   { box-shadow: 0 0 0 0 rgba(253, 186, 116, 0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(253, 186, 116, 0); }
  100% { box-shadow: 0 0 0 0 rgba(253, 186, 116, 0); }
}

.stores-caption {
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
  text-align: center;
  opacity: 0;
  animation: fade-up 0.8s 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.stores-caption strong { color: var(--navy); font-weight: 600; }

/* tagline strip */
.tagline-strip {
  margin: 40px auto 0;
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.4;
  font-weight: 500;
}
.tagline-strip span { position: relative; }
.tagline-strip span:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -14px; top: 50%;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--orange);
  transform: translateY(-50%);
}

/* ═══ desktop refinements ═══ */
@media (min-width: 720px) {
  .site-header { padding: 28px 40px; }
  .hero { padding: 40px 40px 60px; min-height: calc(100vh - 80px); }
  .brand-pill { font-size: 12px; padding: 8px 16px; margin-bottom: 36px; }
  .hero-sub { margin-top: 28px; font-size: 18px; max-width: 520px; }

  .stores {
    flex-direction: row;
    max-width: none;
    justify-content: center;
    gap: 16px;
    margin-top: 44px;
  }
  .store-btn { width: auto; min-width: 240px; padding: 16px 26px; }
  .store-btn .big { font-size: 19px; }
  .store-btn .small { font-size: 11px; }
  .stores-caption { margin-top: 28px; font-size: 14px; }
  .tagline-strip { font-size: 11px; gap: 32px; margin-top: 56px; }
  .tagline-strip span:not(:last-child)::after { right: -18px; width: 4px; height: 4px; }
}

/* ═══ FOOTER ═══ */
footer {
  background: var(--navy);
  color: rgba(255, 245, 236, 0.65);
  padding: 44px 24px 28px;
  position: relative;
  z-index: 2;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 245, 236, 0.08);
}
.footer-col h5 {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange-glow);
  font-weight: 600;
  margin-bottom: 14px;
}
.footer-col a, .footer-col span {
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
  transition: color 0.2s;
  line-height: 1.4;
}
.footer-col a:hover { color: var(--cream); }

/* iOS / Android rows in the App column: keep label and "Soon" badge on one
   row with consistent spacing, no awkward float at narrow widths. */
.footer-col > span {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.footer-col .soon-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: rgba(253, 186, 116, 0.15);
  color: var(--orange-glow);
  padding: 2px 8px;
  border-radius: 100px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.footer-col a.soon-pill {
  text-decoration: none;
  margin-bottom: 0;
}

/* Mobile: keep "Android Notify me" on one line at 390px viewports without
   crowding the neighbouring footer columns. */
@media (max-width: 719px) {
  .footer-grid { gap: 16px; }
  .footer-col > span { font-size: 12px; gap: 6px; }
  .footer-col .soon-pill {
    font-size: 8px;
    letter-spacing: 0.04em;
    padding: 2px 6px;
  }
}

.footer-bottom {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255, 245, 236, 0.5);
}
.footer-bottom .tagline {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--orange-glow);
  font-size: 13px;
  letter-spacing: 0.01em;
}

@media (min-width: 720px) {
  footer { padding: 60px 40px 32px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 40px; }
  .footer-col.brand { display: block; }
  .footer-col.brand .logo { color: var(--cream); margin-bottom: 14px; }
  .footer-col.brand p { font-size: 13px; line-height: 1.55; max-width: 280px; color: rgba(255, 245, 236, 0.6); }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; margin-top: 32px; }
}

@media (max-width: 719px) {
  .footer-col.brand { display: none; }
}

/* ═══ CONTENT PAGES (about, athletes, scouts, contact, press, terms, privacy) ═══ */
.content-page {
  position: relative;
  isolation: isolate;
  padding: 8px 24px 80px;
  min-height: calc(100svh - 60px);
}
.content-page::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 30% at 50% 0%, rgba(253, 186, 116, 0.18), transparent 60%),
    var(--ivory);
}

.content-inner {
  max-width: 680px;
  margin: 0 auto;
  padding-top: 32px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--orange);
  border-radius: 50%;
}

.page-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 11vw, 80px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 16px;
}
.page-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
}

.page-lede {
  font-size: 18px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 36px;
}
.page-lede em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--navy);
  font-size: 19px;
}

.prose {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  max-width: 580px;
}
.prose > * + * { margin-top: 18px; }
.prose h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin-top: 36px;
}
.prose h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-top: 28px;
}
.prose ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.prose li {
  position: relative;
  padding-left: 22px;
}
.prose li::before {
  content: '→';
  position: absolute;
  left: 0; top: 0;
  color: var(--orange);
  font-family: var(--font-display);
  font-weight: 400;
}
.prose a {
  color: var(--orange-deep);
  text-decoration: underline;
  text-decoration-color: rgba(194, 65, 12, 0.3);
  text-underline-offset: 3px;
  font-weight: 500;
}
.prose a:hover { text-decoration-color: var(--orange-deep); }
.prose strong { color: var(--navy); font-weight: 600; }
.prose em.serif {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--orange-deep);
  font-size: 1.08em;
}

.prose .legal-note {
  margin-top: 36px;
  padding: 16px 20px;
  background: rgba(249, 115, 22, 0.06);
  border-left: 3px solid var(--orange);
  font-size: 13px;
  color: #5B4328;
  font-style: italic;
}

.contact-block {
  margin-top: 24px;
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.contact-block h3 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.contact-block .email {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.01em;
  word-break: break-all;
}
.contact-block .email:hover { color: var(--orange-deep); }

@media (min-width: 720px) {
  .content-page { padding: 16px 40px 100px; }
  .content-inner { padding-top: 56px; }
  .page-lede { font-size: 20px; }
  .prose { font-size: 17px; }
  .prose h2 { font-size: 26px; }
  .contact-block { padding: 36px; }
  .contact-block .email { font-size: 28px; }
}

/* ═══ Reduced motion ═══ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .orbs { display: none; }
}
