/* === GLOBAL RESET === */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 100px);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  overflow-y: auto;
  max-width: 100%;
  background-color: #0c0c0d;
  color: #f0f1f3;
  font-family: var(--oyb-font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
}

::selection {
  background: rgba(255, 69, 0, 0.28);
  color: #fff;
}

/* === CSS CUSTOM PROPERTIES === */
:root {
  --oyb-font-body:    'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --oyb-font:         var(--oyb-font-body);
  --oyb-font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --oyb-font-size:    12px;
  --oyb-padding-v:    10px;
  --oyb-padding-h:    18px;
  --oyb-icon-size:    17px;
  --oyb-gap:          8px;
  --oyb-radius:       8px;
  --oyb-color:        #FF4500;
  --oyb-surface:      #121213;
  --oyb-surface-2:    #18181a;
  --oyb-border:       rgba(255, 255, 255, 0.08);
  --oyb-muted:        rgba(240, 241, 243, 0.62);
  --oyb-max:          1120px;
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .athlete-card {
    animation: none;
  }

  .athlete-card:hover .athlete-card__photo {
    transform: scale(0.96);
  }

  .athlete-card__live-dot {
    animation: none;
  }

  .ath-img-wrap img {
    animation: none;
  }
}

/* === SKIP LINK === */
.skip-link {
  position: fixed;
  top: 0;
  left: 16px;
  z-index: 10001;
  padding: 10px 18px;
  background: var(--oyb-color);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 0 0 8px 8px;
  transform: translateY(-120%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* === UI DIVIDER === */
.ui-divider {
  width: min(88%, var(--oyb-max));
  height: 1px;
  border: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 69, 0, 0.35) 20%,
    rgba(255, 69, 0, 0.35) 80%,
    transparent
  );
  margin: clamp(28px, 4vw, 44px) auto;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  min-height: calc(68px + env(safe-area-inset-top, 0px));
  height: auto;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: env(safe-area-inset-top, 0px);
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-bottom: 0;
  backdrop-filter: blur(18px) saturate(220%) contrast(120%);
  -webkit-backdrop-filter: blur(18px) saturate(220%) contrast(120%);
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--oyb-border);
  transition: transform 0.22s ease-out, background 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
  overflow: visible;
}

.navbar .logo {
  color: #f0f1f3;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  flex-shrink: 0;
}

.favicon-logo-img {
  height: 36px;
  width: auto;
  max-width: 100%;
  display: inline-block;
  margin-right: 8px;
}

.navbar nav {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  justify-content: center;
  flex: 1;
}

.navbar nav > div:first-child {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  flex-wrap: wrap;
  gap: 2px;
  min-width: 0;
}

.navbar nav a:not(.oyb-cta) {
  color: rgba(240, 241, 243, 0.88);
  font-weight: 600;
  font-size: 0.875rem;
  position: relative;
  padding: 8px 12px;
  letter-spacing: 0.02em;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.navbar nav > div:first-child a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.navbar nav a:not(.oyb-cta)::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--oyb-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.navbar nav a:not(.oyb-cta):hover::after {
  transform: scaleX(1);
}

/* === Nav icon buttons === */
.nav-icons {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.support-icon,
.shop-icon {
  position: relative;
  background: #111;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
  box-shadow: 0 0 0 1px #1a1a1a;
}

.support-icon i,
.shop-icon i {
  font-size: 19px;
  color: #fff;
  line-height: 1;
  overflow: visible;
}

.support-icon::after,
.shop-icon::after {
  display: none;
}

.icon-tooltip {
  position: absolute;
  top: 120%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: #F5F5F5;
  opacity: 0;
  transition: opacity 0.3s ease;
  white-space: nowrap;
  pointer-events: none;
}

.support-icon:hover .icon-tooltip,
.shop-icon:hover .icon-tooltip {
  opacity: 1;
}

/* === NAVBAR CTA BUTTON === */
.oyb-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--oyb-gap);
  padding: var(--oyb-padding-v) var(--oyb-padding-h);
  background-color: var(--oyb-color);
  color: #fff !important;
  font-family: var(--oyb-font);
  font-size: var(--oyb-font-size);
  font-weight: 600;
  letter-spacing: 0.05em;
  border: none;
  border-radius: var(--oyb-radius);
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.oyb-cta::after {
  display: none !important;
}

.oyb-cta:hover {
  transform: translateX(5px);
  box-shadow: -4px 3px 14px rgba(255, 69, 0, 0.4);
}

.oyb-cta:active {
  transform: translateX(3px);
  box-shadow: -2px 2px 6px rgba(255, 69, 0, 0.25);
  transition-duration: 0.07s;
}

.oyb-cta svg {
  width: var(--oyb-icon-size);
  height: var(--oyb-icon-size);
  flex-shrink: 0;
  stroke: rgba(255, 255, 255, 0.88);
  fill: none;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.16s ease;
}

.oyb-cta:hover svg {
  transform: translateY(-1px);
}

/* === FOOTER CTA (smaller variant) === */
.oyb-cta--sm {
  --oyb-font-size:  10px;
  --oyb-padding-v:  6px;
  --oyb-padding-h:  12px;
  --oyb-icon-size:  14px;
  --oyb-gap:        6px;
  background-color: transparent;
  border: 1px solid rgba(235, 62, 0, 0.45);
  color: #EB3E00;
  border-radius: 999px;
  box-shadow: none;
}

.oyb-cta--sm svg {
  stroke: #EB3E00;
}

.oyb-cta--sm:hover {
  background-color: rgba(235, 62, 0, 0.08);
  border-color: rgba(235, 62, 0, 0.7);
  box-shadow: -4px 3px 14px rgba(235, 62, 0, 0.18);
  color: #fff;
}

.oyb-cta--sm:hover svg {
  stroke: #fff;
}

/* === FOOTER BRAND CTA === */
.footer-brand .oyb-cta--sm {
  width: 100%;
  max-width: 100%;
  justify-content: center;
  margin-top: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
}

/* ============================================================
   HERO
   ============================================================ */
.ath-hero {
  position: relative;
  height: clamp(240px, 40vw, 340px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: calc(68px + env(safe-area-inset-top, 0px));
  padding: 0 16px;
}

#athHeroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ath-hero-content {
  position: relative;
  z-index: 2;
}

.ath-eyebrow {
  font-size: 9px;
  letter-spacing: 0.6em;
  text-transform: uppercase;
  color: #FF4500;
  margin-bottom: 14px;
}

.ath-title {
  font-family: Georgia, serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.03em;
  line-height: 1;
  color: #F5F5F5;
}

.ath-sub {
  margin-top: 12px;
  font-size: 0.78rem;
  color: #666;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ============================================================
   SEARCH
   ============================================================ */
.ath-search-wrap {
  padding: 20px clamp(16px, 4vw, 40px);
  max-width: 1200px;
  margin: 0 auto;
}

.ath-search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #2a2a2a;
  background: #111111;
  padding: 0 18px;
  height: 48px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.ath-search-bar:focus-within,
.ath-search-bar:hover {
  border-color: #a83200;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.ath-search-bar svg {
  width: 16px;
  height: 16px;
  stroke: #444;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  flex-shrink: 0;
}

.ath-search-bar input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  color: #F5F5F5;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  font-family: Helvetica, sans-serif;
}

.ath-search-bar input::placeholder {
  color: #2a2a2a;
}

.ath-search-count {
  font-size: 8px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #FF4500;
  flex-shrink: 0;
}

/* ============================================================
   ROSTER STRIP
   ============================================================ */
.ath-roster-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 0 clamp(16px, 4vw, 40px);
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.ath-rc {
  width: 100%;
  padding: 22px clamp(16px, 3vw, 28px);
  border: 1px solid #1a1a1a;
  background: #080808;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  gap: 12px;
  transition: border-color 0.3s, background 0.3s;
}

.ath-rc:hover {
  border-color: rgba(255, 69, 0, 0.45);
  background: #0d0d0d;
}

.ath-rc-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.ath-rc-num {
  font-family: Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 69, 0, 0.3);
  line-height: 1;
  flex-shrink: 0;
}

.ath-rc-name {
  font-family: Georgia, serif;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 300;
  font-style: italic;
  color: #F5F5F5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ath-rc-role {
  font-size: 7.5px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #555;
  margin-top: 4px;
}

.ath-rc-right {
  text-align: right;
  flex-shrink: 0;
}

.ath-rc-flag {
  font-size: 1.6rem;
  line-height: 1;
  margin-bottom: 4px;
}

.ath-rc-country {
  font-size: 7.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #444;
}

.ath-no-results {
  display: none;
  text-align: center;
  padding: 50px clamp(16px, 4vw, 40px);
}

.ath-no-results p {
  font-family: Georgia, serif;
  font-size: 1.2rem;
  font-style: italic;
  color: #2a2a2a;
}

/* ============================================================
   PROFILE
   ============================================================ */
.ath-profile {
  padding: clamp(32px, 6vw, 56px) clamp(16px, 4vw, 40px) clamp(24px, 4vw, 36px);
  max-width: 1200px;
  margin: 0 auto;
}

.ath-profile-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
  padding-bottom: 16px;
  border-bottom: 1px solid #1a1a1a;
}

.ath-ghost-num {
  font-family: Georgia, serif;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 69, 0, 0.08);
  line-height: 0.9;
  margin-bottom: -4px;
}

.ath-profile-name {
  font-family: Georgia, serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 300;
  font-style: italic;
  color: #F5F5F5;
  line-height: 1.1;
}

.ath-profile-title {
  font-size: 8px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: #FF4500;
  margin-top: 8px;
}

.ath-profile-header-right {
  text-align: right;
}

.ath-profile-flag {
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 4px;
}

.ath-profile-country {
  font-size: 8px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #444;
}

/* Profile grid — two column on desktop, stacked on mobile */
.ath-profile-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  align-items: stretch;
}

.ath-profile-grid-flip {
  direction: rtl;
}

.ath-profile-grid-flip > * {
  direction: ltr;
}

/* Image column */
.ath-img-col {
  display: flex;
  flex-direction: column;
}

.ath-img-wrap {
  flex: 1;
  min-height: 280px;
  overflow: hidden;
  position: relative;
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  cursor: pointer;
}

.ath-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(35%);
  animation: athKenBurns 10s ease-in-out infinite alternate;
  transition: filter 0.6s ease;
}

.ath-img-wrap:hover img {
  filter: grayscale(0%);
}

@keyframes athKenBurns {
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.08) translate(-2%, 1%); }
}

.ath-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
  z-index: 1;
  transition: background 0.4s;
}

.ath-img-wrap:hover .ath-img-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.96) 0%, rgba(0,0,0,0.4) 65%, rgba(0,0,0,0.08) 100%);
}

.ath-img-scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.04) 3px,
    rgba(0, 0, 0, 0.04) 4px
  );
  z-index: 2;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.ath-img-wrap:hover .ath-img-scan {
  opacity: 1;
}

.ath-img-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 14px;
  z-index: 3;
}

.ath-img-disc {
  font-size: 7.5px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: #FF4500;
  margin-bottom: 4px;
}

.ath-img-hover-name {
  font-family: Georgia, serif;
  font-size: 1rem;
  font-style: italic;
  color: #F5F5F5;
  opacity: 0;
  transform: translateY(7px);
  transition: opacity 0.3s ease 0.05s, transform 0.3s ease 0.05s;
}

.ath-img-wrap:hover .ath-img-hover-name {
  opacity: 1;
  transform: translateY(0);
}

/* Mini stats */
.ath-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid #1a1a1a;
  border-top: 2px solid #FF4500;
}

.ath-mini-stat {
  padding: 12px 6px;
  text-align: center;
  border-right: 1px solid #1a1a1a;
}

.ath-mini-stat:last-child {
  border-right: none;
}

.ath-mini-val {
  font-family: Georgia, serif;
  font-size: 1.2rem;
  font-style: italic;
  color: #F5F5F5;
  line-height: 1;
  margin-bottom: 3px;
}

.ath-mini-label {
  font-size: 7px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #3a3a3a;
}

/* Info column */
.ath-info-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.ath-disc-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.ath-tag {
  padding: 4px 11px;
  border: 1px solid rgba(255, 69, 0, 0.4);
  font-size: 8px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #FF4500;
}

.ath-bio {
  font-size: 0.84rem;
  color: #999;
  line-height: 1.82;
}

/* Meta grid */
.ath-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #1a1a1a;
}

.ath-meta-cell {
  padding: 13px 15px;
  border-bottom: 1px solid #1a1a1a;
  border-right: 1px solid #1a1a1a;
}

.ath-meta-cell:nth-child(even) {
  border-right: none;
}

.ath-meta-cell:nth-last-child(-n+2) {
  border-bottom: none;
}

.ath-meta-label {
  font-size: 7px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: #303030;
  margin-bottom: 4px;
}

.ath-meta-val {
  font-size: 0.86rem;
  color: #DEDEDE;
  font-weight: 300;
}

/* Records */
.ath-records {
  display: flex;
  flex-direction: column;
}

.ath-records-header {
  font-size: 7.5px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: #444;
  margin-bottom: 11px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.ath-records-header::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #1a1a1a;
}

.ath-record-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid #0e0e0e;
  transition: border-color 0.2s;
  gap: 8px;
}

.ath-record-row:hover {
  border-bottom-color: rgba(255, 69, 0, 0.3);
}

.ath-record-event {
  font-size: 0.79rem;
  color: #666;
  min-width: 0;
}

.ath-record-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.ath-record-pb {
  font-size: 7px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #FF4500;
  padding: 2px 6px;
  border: 1px solid rgba(255, 69, 0, 0.3);
}

.ath-record-val {
  font-family: Georgia, serif;
  font-size: 0.98rem;
  font-style: italic;
  color: #EBEBEB;
  letter-spacing: 0.04em;
}

/* Quote */
.ath-quote {
  border-left: 2px solid #FF4500;
  padding: 16px 24px;
  background: #070707;
  margin-top: 30px;
}

.ath-quote-text {
  font-family: Georgia, serif;
  font-size: 0.96rem;
  font-style: italic;
  font-weight: 300;
  color: #B0B0B0;
  line-height: 1.55;
}

.ath-quote-attr {
  font-size: 7.5px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: #FF4500;
  margin-top: 9px;
}

/* ============================================================
   MORE SECTION
   ============================================================ */
.ath-more-section {
  padding: clamp(32px, 6vw, 52px) clamp(16px, 4vw, 40px);
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.ath-more-eyebrow {
  font-size: 8.5px;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: #FF4500;
  margin-bottom: 12px;
}

.ath-more-title {
  font-family: Georgia, serif;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-style: italic;
  font-weight: 300;
  color: #F5F5F5;
  margin-bottom: 28px;
}

.ath-slots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.ath-slot {
  position: relative;
  height: clamp(140px, 20vw, 190px);
  overflow: hidden;
  border: 1px solid #1a1a1a;
  cursor: default;
}

.ath-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  opacity: 0.2;
  transition: opacity 0.5s, filter 0.5s;
}

.ath-slot:hover img {
  opacity: 0.35;
  filter: grayscale(50%);
}

.ath-slot-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.2) 100%);
}

.ath-slot-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px;
  z-index: 2;
}

.ath-slot-flag {
  font-size: 1.4rem;
  line-height: 1;
  margin-bottom: 5px;
}

.ath-slot-disc {
  font-size: 7.5px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #FF4500;
  margin-bottom: 3px;
}

.ath-slot-label {
  font-family: Georgia, serif;
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(245, 245, 245, 0.38);
}

/* ============================================================
   APPLY SECTION
   ============================================================ */
.ath-apply-section {
  background: #080808;
  padding: clamp(40px, 8vw, 70px) clamp(16px, 4vw, 40px);
  text-align: center;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
}

.ath-apply-eyebrow {
  font-size: 9px;
  letter-spacing: 0.6em;
  text-transform: uppercase;
  color: #FF4500;
  margin-bottom: 14px;
}

.ath-apply-title {
  font-family: Georgia, serif;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-style: italic;
  font-weight: 300;
  color: #F5F5F5;
  margin-bottom: 12px;
}

.ath-apply-desc {
  font-size: 0.84rem;
  color: #6a6a6a;
  line-height: 1.8;
  max-width: 540px;
  margin: 0 auto 36px;
}

.ath-apply-criteria {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 800px;
  margin: 0 auto 38px;
}

.ath-criterion {
  padding: 24px 20px;
  border: 1px solid #1a1a1a;
  text-align: left;
  transition: border-color 0.3s, background 0.3s;
}

.ath-criterion:hover {
  border-color: rgba(255, 69, 0, 0.28);
  background: #0d0d0d;
}

.ath-criterion-icon {
  width: 30px;
  height: 30px;
  border: 1px solid #1f1f1f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.ath-criterion-icon svg {
  width: 13px;
  height: 13px;
  stroke: #FF4500;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.ath-criterion-label {
  font-size: 8px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: #FF4500;
  margin-bottom: 5px;
}

.ath-criterion-text {
  font-size: 0.79rem;
  color: #6a6a6a;
  line-height: 1.6;
}

.ath-apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 34px;
  border: 1.5px solid rgba(255, 69, 0, 0.45);
  color: #FF4500;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.25s;
}

.ath-apply-btn:hover {
  border-color: #FF4500;
  box-shadow: 0 0 20px 5px rgba(255, 69, 0, 0.12);
}

.ath-apply-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  transition: transform 0.2s;
}

.ath-apply-btn:hover svg {
  transform: translateX(3px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #09090a;
  color: rgba(200, 202, 208, 0.92);
  padding-top: clamp(40px, 8vw, 72px);
  padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
  padding-left: max(env(safe-area-inset-left, 0px), clamp(16px, 5vw, 48px));
  padding-right: max(env(safe-area-inset-right, 0px), clamp(16px, 5vw, 48px));
  border-top: 1px solid var(--oyb-border);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
  min-width: 0;
}

.footer-brand,
.footer-links,
.footer-contact {
  min-width: 0;
  flex: 1 1 220px;
}

.footer address {
  font-style: normal;
}

.footer address p,
.footer .phone-link {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer h3,
.footer h4,
.footer h5 {
  color: #F5F5F5;
}

.footer h5:hover {
  color: #FF4500;
}

.footer p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-v-divider {
  width: 2px;
  background-color: #E24A2A;
  opacity: 0.3;
  margin: 0 12px;
}

.footer-links a {
  display: block;
  color: #ccc;
  margin-bottom: 8px;
  font-size: 0.95rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
  color: #FF4500;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid #1a1a1a;
  margin-top: 40px;
  padding-top: 15px;
  text-align: center;
  font-size: 0.85rem;
  color: #777;
}

/* ============================================================
   SOCIAL LINKS
   ============================================================ */
.phone-link {
  color: inherit;
  cursor: pointer;
  transition: color 0.25s ease;
}

.phone-link:hover {
  color: #E24A2A;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}

.social-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #ccc;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: color 0.25s ease, opacity 0.25s ease;
  min-width: 0;
}

.social-item span {
  overflow-wrap: anywhere;
  min-width: 0;
}

.social-item i {
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.social-item:hover {
  color: #FF4500;
  opacity: 0.75;
}

.social-item img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: grayscale(100%) brightness(1.1);
  transition: filter 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
}

.social-item:hover img {
  filter: grayscale(0%) brightness(1.1);
  transform: scale(1.1);
}

/* ============================================================
   DEVELOPER INFO
   ============================================================ */
.dev-info {
  border-top: 1px solid #1a1a1a;
  margin-top: 40px;
  padding-top: 15px;
  text-align: center;
  font-size: 0.85rem;
  color: #777;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.dev-info:hover {
  color: #FF4500;
  opacity: 0.75;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* — Small mobile (up to 479px) — */
@media (max-width: 479px) {
  .navbar nav a:not(.oyb-cta) {
    font-size: 0.78rem;
    padding: 6px 8px;
  }

  .oyb-cta {
    --oyb-font-size: 10px;
    --oyb-padding-v: 8px;
    --oyb-padding-h: 12px;
  }

  .ath-profile-grid {
    grid-template-columns: 1fr;
  }

  .ath-profile-grid-flip {
    direction: ltr;
  }

  .ath-img-wrap {
    min-height: 220px;
  }

  .ath-apply-criteria {
    grid-template-columns: 1fr;
  }

  .ath-slots {
    grid-template-columns: 1fr;
  }

  .ath-meta-grid {
    grid-template-columns: 1fr;
  }

  .ath-meta-cell:nth-child(even) {
    border-right: 1px solid #1a1a1a;
  }

  .ath-meta-cell:nth-last-child(-n+2) {
    border-bottom: 1px solid #1a1a1a;
  }

  .ath-meta-cell:last-child {
    border-bottom: none;
  }
}

/* — Tablet portrait (480px–559px) — */
@media (min-width: 480px) and (max-width: 559px) {
  .ath-profile-grid {
    grid-template-columns: 1fr;
  }

  .ath-profile-grid-flip {
    direction: ltr;
  }

  .ath-apply-criteria {
    grid-template-columns: 1fr 1fr;
  }

  .ath-slots {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* — Roster grid breakpoints — */
@media (min-width: 560px) {
  .ath-roster-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 840px) {
  .ath-roster-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .ath-slots {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* — Mid-range tablet (560px–839px) — */
@media (min-width: 560px) and (max-width: 839px) {
  .ath-profile-grid {
    grid-template-columns: 200px 1fr;
    gap: 24px;
  }

  .ath-apply-criteria {
    grid-template-columns: 1fr 1fr;
  }
}

/* — Desktop (840px+) — */
@media (min-width: 840px) {
  .ath-profile-grid {
    grid-template-columns: 240px 1fr;
    gap: 36px;
  }

  .ath-apply-criteria {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* — Footer stacking (up to 1024px) — */
@media (max-width: 1024px) {
  .footer-container {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .footer-v-divider {
    display: none;
  }

  .footer-brand,
  .footer-links,
  .footer-contact {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .footer-links {
    text-align: center;
  }

  .footer-contact {
    text-align: center;
  }

  .social-links {
    align-items: center;
  }

  .social-item {
    justify-content: center;
    text-align: left;
  }
}

/* — Navbar collapse for very small screens — */
@media (max-width: 600px) {
  .navbar nav > div:first-child {
    gap: 0;
  }

  .navbar nav a:not(.oyb-cta) {
    padding: 6px 7px;
    font-size: 0.75rem;
  }
}
