.home-landing,
.team-landing{
  padding-bottom: 14px;
}

.home-landing .hero,
.team-landing .hero{
  padding-top: 28px;
}

.top-nav{
  align-items:center;
}

.top-nav-social{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-left:4px;
  flex:0 0 auto;
}

.top-nav-social-link{
  position:relative;
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  width:42px;
  min-width:42px;
  height:42px;
  padding:0 !important;
  line-height:0;
}

.top-nav-social-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.top-nav-social-icon svg{
  display:block;
  width:18px;
  height:18px;
  fill:currentColor;
}

.top-nav-social-badge{
  position:absolute;
  right:-3px;
  bottom:-3px;
  min-width:16px;
  height:16px;
  padding:0 4px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:var(--royal-soft);
  color:var(--white);
  font-size:.62rem;
  font-weight:800;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
}

.home-hero-grid,
.team-hero-grid,
.home-honors-grid,
.home-pathway-grid,
.team-detail-grid{
  display:grid;
  gap:18px;
}

.home-hero-grid{
  grid-template-columns:minmax(0, 1.15fr) minmax(360px, .85fr);
  align-items:stretch;
}

.team-hero-grid{
  grid-template-columns:minmax(0, 1.02fr) minmax(380px, .98fr);
  align-items:start;
}

.home-hero-stack{
  display:grid;
  gap:16px;
  align-content:start;
}

.home-hero-stack-card{
  min-height:0;
}

.home-hero-copy,
.team-hero-copy,
.home-hero-photo,
.team-hero-photo,
.home-pulse-card,
.home-culture-band,
.home-team-card,
.home-honors-photo,
.home-honors-summary,
.home-record-card,
.home-social-card,
.home-recruiting-card,
.team-kpi-card,
.team-honors-card,
.team-photo-card,
.team-links-card,
.team-story-card{
  position:relative;
  overflow:hidden;
}

.home-hero-copy::before,
.team-hero-copy::before,
.home-honors-summary::before,
.home-social-card::before,
.home-recruiting-card::before,
.team-honors-card::before,
.team-links-card::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:5px;
  background:linear-gradient(180deg, rgba(45,111,202,.95), rgba(178,179,178,.55));
}

.home-hero-copy,
.team-hero-copy{
  padding:34px;
  background:
    radial-gradient(circle at top right, rgba(45,111,202,.25), transparent 32%),
    linear-gradient(135deg, rgba(0,81,186,.26), rgba(10,22,48,.98) 48%, rgba(5,12,24,.99));
}

.home-hero-copy h1,
.team-hero-copy h1{
  margin:12px 0 14px;
  font-family:Barlow, Inter, Arial, sans-serif;
  font-size:clamp(2.5rem, 5vw, 4.7rem);
  line-height:.92;
  letter-spacing:.01em;
  text-transform:uppercase;
}

.team-hero-copy h1{
  font-size:clamp(2.15rem, 4vw, 3.7rem);
}

.home-hero-copy p,
.team-hero-copy p,
.home-pulse-card p,
.home-team-copy p,
.home-honors-summary p,
.home-record-card p,
.home-social-card p,
.home-recruiting-card p,
.team-kpi-card p,
.team-honors-card p,
.team-story-card p,
.team-links-card p{
  color:var(--muted);
  line-height:1.65;
}

.home-hero-badges,
.team-chip-row,
.home-team-badges,
.home-program-tags,
.team-calendar-links,
.team-link-row,
.home-social-links,
.home-honor-pills,
.team-audience-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.home-hero-badges{
  margin:20px 0 0;
}

.home-hero-badge,
.team-chip,
.home-tag,
.home-program-tag,
.team-link-chip,
.team-calendar-chip,
.home-social-link,
.home-honor-pill{
  display:inline-flex;
  align-items:center;
  min-height:36px;
  padding:8px 13px;
  border-radius:999px;
  border:1px solid rgba(178,179,178,.22);
  background:rgba(255,255,255,.05);
  color:var(--white);
  font-weight:700;
  font-size:.92rem;
  line-height:1.2;
}

.home-hero-note,
.team-hero-note{
  margin-top:20px;
  padding:16px 18px;
  border-radius:18px;
  border:1px solid rgba(178,179,178,.18);
  background:rgba(255,255,255,.04);
}

.home-hero-note strong,
.team-hero-note strong{
  display:block;
  margin-bottom:6px;
  font-size:1.03rem;
  text-transform:uppercase;
  letter-spacing:.03em;
}

.home-hero-actions,
.team-hero-actions,
.home-team-actions,
.home-record-actions,
.team-card-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:22px;
}

.home-hero-photo,
.team-hero-photo,
.home-honors-photo,
.team-photo-card{
  padding:0;
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
}

.team-hero-photo{
  display:grid;
  align-content:start;
  padding:18px;
}

.home-hero-photo img,
.team-hero-photo img,
.home-team-media img,
.home-honors-photo img,
.team-photo-card img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.home-hero-photo img,
.home-team-media img{
  aspect-ratio:16 / 9;
}

.team-hero-photo img{
  height:auto;
  max-height:420px;
  object-fit:contain;
  aspect-ratio:auto;
  border-radius:16px;
}

.team-landing--girls .team-hero-grid,
.team-landing--boys .team-hero-grid{
  grid-template-columns:minmax(0, .94fr) minmax(430px, 1.06fr);
  align-items:stretch;
}

.team-landing--girls .team-hero-photo,
.team-landing--boys .team-hero-photo{
  padding:0;
  min-height:100%;
}

.team-landing--girls .team-hero-photo img,
.team-landing--boys .team-hero-photo img{
  width:100%;
  min-height:360px;
  max-height:none;
  height:100%;
  aspect-ratio:16 / 10;
  object-fit:cover;
  border-radius:0;
}

.team-landing--girls .team-hero-photo img{
  object-position:center 34%;
}

.team-landing--boys .team-hero-photo img{
  object-position:center 28%;
}

.home-honors-photo img,
.team-photo-card img{
  aspect-ratio:4 / 5;
  object-position:center top;
}

.home-honors-photo img{
  aspect-ratio:4 / 4.6;
}

.home-photo-caption,
.team-photo-caption{
  position:absolute;
  inset:auto 18px 18px 18px;
  padding:16px 18px;
  border-radius:18px;
  background:linear-gradient(180deg, rgba(6,16,31,.26), rgba(6,16,31,.92));
  border:1px solid rgba(178,179,178,.2);
}

.home-photo-caption strong,
.team-photo-caption strong{
  display:block;
  margin-top:6px;
  font-size:1.22rem;
  text-transform:uppercase;
  letter-spacing:.02em;
}

.team-photo-caption--compact{
  inset:auto 18px 18px 18px;
  max-width:calc(100% - 36px);
  padding:14px 16px;
}

.team-photo-caption--compact strong{
  font-size:1.08rem;
}

.home-pulse-grid,
.home-record-grid,
.team-kpi-grid{
  display:grid;
  gap:16px;
}

.home-pulse-grid{
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

.home-record-grid,
.team-kpi-grid{
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

.home-pulse-card,
.home-record-card,
.team-kpi-card,
.team-honors-card,
.team-links-card,
.team-story-card,
.home-social-card,
.home-recruiting-card{
  padding:24px;
  background:linear-gradient(180deg, rgba(14,29,57,.94), rgba(8,18,37,.98));
}

.home-pulse-card h3,
.home-team-copy h2,
.home-honors-summary h2,
.home-record-card h3,
.home-social-card h2,
.home-recruiting-card h2,
.team-kpi-card h2,
.team-honors-card h2,
.team-story-card h2,
.team-links-card h2{
  margin:.45rem 0 .7rem;
  font-family:Barlow, Inter, Arial, sans-serif;
  text-transform:uppercase;
  letter-spacing:.01em;
}

.home-pulse-card h3,
.home-record-card h3,
.team-kpi-card h2{
  font-size:1.34rem;
}

.home-pulse-meta,
.team-snapshot-meta,
.home-team-microcopy,
.home-record-note,
.team-link-note{
  display:block;
  margin:0 0 12px;
  color:var(--silver);
  font-size:.95rem;
  line-height:1.5;
}

.home-next-up-topbar,
.home-next-up-meta-row,
.home-next-up-actions,
.home-honors-columns,
.home-team-metrics,
.team-honor-stack,
.team-story-points{
  display:grid;
  gap:12px;
}

.home-next-up-topbar{
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
}

.home-next-up-meta-row{
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  margin-top:12px;
}

.home-next-up-nav{
  display:flex;
  gap:10px;
}

.home-next-up-arrow{
  width:38px;
  height:38px;
  border-radius:50%;
  border:1px solid rgba(178,179,178,.22);
  background:rgba(255,255,255,.04);
  color:var(--white);
  font-size:1.2rem;
  cursor:pointer;
  transition:transform .18s ease, background .18s ease, border-color .18s ease;
}

.home-next-up-arrow:hover{
  transform:translateY(-1px);
  background:rgba(0,81,186,.24);
  border-color:rgba(178,179,178,.38);
}

.home-next-up-calendar-label{
  font-size:1.02rem;
}

.home-next-up-position,
.home-next-up-status{
  color:var(--silver);
  font-size:.9rem;
}

.home-next-up-body{
  margin-top:16px;
  min-height:150px;
}

.home-next-up-event h3{
  margin:0 0 10px;
  font-size:1.25rem;
  text-transform:none;
}

.home-next-up-chip-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:12px;
}

.home-next-up-chip,
.home-metric-chip,
.team-honor-label{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(178,179,178,.2);
  background:rgba(255,255,255,.04);
  color:var(--ink);
  font-size:.85rem;
  font-weight:700;
}

.home-next-up-empty strong,
.team-empty-state strong{
  display:block;
  margin-bottom:6px;
  font-size:1.05rem;
}

.home-next-up-actions{
  grid-template-columns:repeat(2, minmax(0, 1fr));
  margin-top:16px;
}

.home-next-up-actions .calendar-inline-link{
  display:inline-flex;
  justify-content:center;
  min-height:42px;
  align-items:center;
  border-radius:999px;
  padding:0 14px;
  border:1px solid rgba(178,179,178,.2);
  background:rgba(255,255,255,.03);
  text-decoration:none;
}

.home-culture-band{
  padding:26px 28px;
  display:grid;
  gap:18px;
  background:
    linear-gradient(135deg, rgba(0,81,186,.22), rgba(8,18,37,.98) 50%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
}

.home-culture-band h2{
  margin:.45rem 0 .7rem;
  font-family:Barlow, Inter, Arial, sans-serif;
  text-transform:uppercase;
  letter-spacing:.01em;
  font-size:clamp(1.55rem, 3vw, 2.45rem);
}

.home-culture-band p{
  margin:0;
  max-width:840px;
  color:var(--muted);
  line-height:1.7;
}

.home-team-grid{
  display:grid;
  gap:16px;
}

.home-team-card{
  display:grid;
  grid-template-columns:minmax(260px, .92fr) minmax(0, 1.08fr);
  gap:18px;
  padding:0;
}

.home-team-media{
  min-height:100%;
}

.home-team-copy{
  padding:26px;
}

.home-team-copy p{
  margin:0 0 18px;
}

.home-team-metrics{
  grid-template-columns:repeat(2, minmax(0, 1fr));
  margin-top:18px;
}

.home-metric-box,
.team-metric-box{
  padding:16px;
  border-radius:18px;
  border:1px solid rgba(178,179,178,.18);
  background:rgba(255,255,255,.04);
}

.home-metric-box strong,
.team-metric-box strong{
  display:block;
  margin-bottom:4px;
  font-size:1.04rem;
}

.home-metric-box span,
.team-metric-box span{
  display:block;
  color:var(--muted);
  font-size:.92rem;
  line-height:1.45;
}

.home-honors-grid,
.home-pathway-grid,
.team-detail-grid{
  grid-template-columns:minmax(300px, .84fr) minmax(0, 1.16fr);
}

.home-honors-summary,
.team-honors-card,
.team-links-card,
.team-story-card{
  padding:28px;
}

.home-honors-columns{
  grid-template-columns:repeat(2, minmax(0, 1fr));
  margin:20px 0 0;
}

.home-honors-columns h3,
.team-honors-card h3{
  margin:0 0 12px;
  font-size:1.04rem;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:var(--silver);
}

.home-name-list,
.team-name-list,
.team-honor-list,
.team-story-points,
.home-standard-list{
  margin:0;
  padding-left:18px;
  display:grid;
  gap:10px;
}

.home-name-list li,
.team-name-list li,
.team-honor-list li,
.team-story-points li,
.home-standard-list li{
  line-height:1.55;
}

.home-record-card span,
.team-kpi-card span{
  display:block;
  color:var(--silver);
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:.78rem;
}

.home-record-card h3,
.team-kpi-card h2{
  margin:.7rem 0 .55rem;
}

.home-pathway-grid{
  grid-template-columns:repeat(2, minmax(0, 1fr));
}

.home-social-links{
  margin-top:20px;
}

.home-social-link{
  text-decoration:none;
}

.team-kpi-grid{
  margin-top:0;
}

.team-kpi-card{
  min-height:100%;
}

.team-kpi-card .team-metric-box{
  margin-top:12px;
}

.team-honors-card,
.team-links-card,
.team-story-card{
  display:grid;
  gap:16px;
}

.team-honor-stack{
  margin-top:8px;
}

.team-honor-row{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(178,179,178,.16);
  background:rgba(255,255,255,.035);
}

.team-honor-row strong{
  font-size:1rem;
}

.team-link-row{
  margin-top:4px;
}

.team-link-chip,
.team-calendar-chip,
.home-social-link{
  text-decoration:none;
}

.team-link-chip:hover,
.team-calendar-chip:hover,
.home-social-link:hover{
  border-color:rgba(178,179,178,.38);
  background:rgba(0,81,186,.24);
}

.team-story-card p,
.team-links-card p{
  margin:0;
}

.team-empty-state,
.home-empty-state{
  padding:18px;
  border-radius:18px;
  border:1px dashed rgba(178,179,178,.24);
  background:rgba(255,255,255,.03);
}

.home-note-strong,
.team-note-strong{
  color:var(--white);
  font-weight:800;
}

@media (max-width: 1180px){
  .home-hero-grid,
  .team-hero-grid,
  .home-honors-grid,
  .home-pathway-grid,
  .team-detail-grid,
  .home-team-card,
  .home-pulse-grid,
  .home-record-grid,
  .team-kpi-grid,
  .home-honors-columns,
  .home-team-metrics{
    grid-template-columns:1fr;
  }

  .home-team-media{
    max-height:420px;
  }
}

@media (max-width: 720px){
  .home-hero-copy,
  .team-hero-copy,
  .home-pulse-card,
  .home-team-copy,
  .home-honors-summary,
  .home-record-card,
  .home-social-card,
  .home-recruiting-card,
  .team-kpi-card,
  .team-honors-card,
  .team-links-card,
  .team-story-card{
    padding:22px;
  }

  .home-next-up-actions{
    grid-template-columns:1fr;
  }

  .home-hero-actions,
  .team-hero-actions,
  .home-team-actions,
  .team-card-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .home-hero-copy h1,
  .team-hero-copy h1{
    font-size:clamp(2rem, 9vw, 3.4rem);
  }

  .home-culture-band,
  .home-honors-summary{
    padding:22px;
  }

  .top-nav-social{
    width:100%;
    justify-content:flex-start;
    margin-left:0;
  }

  .team-hero-photo{
    padding:14px;
  }

  .team-hero-photo img{
    max-height:none;
  }

  .team-landing--girls .team-hero-photo,
  .team-landing--boys .team-hero-photo{
    padding:0;
  }

  .team-landing--girls .team-hero-photo img,
  .team-landing--boys .team-hero-photo img{
    min-height:260px;
    aspect-ratio:16 / 11;
  }
}
