/* Satellite TFXC — design system */

:root {
  --red: #d21f10;
  --red-bright: #ef2c1b;
  --red-dark: #9e1408;
  --ink: #0e1218;
  --slate: #161d27;
  --slate-2: #212a37;
  --paper: #f5f6f8;
  --card: #ffffff;
  --text: #232a33;
  --muted: #66707d;
  --line: #e4e7ec;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(14, 18, 24, .06), 0 1px 6px rgba(14, 18, 24, .05);
  --shadow-md: 0 4px 14px rgba(14, 18, 24, .08), 0 2px 4px rgba(14, 18, 24, .05);
  --shadow-lg: 0 16px 40px rgba(14, 18, 24, .16);
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--red); }

.satx-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.satx-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}

.satx-header.is-scrolled { box-shadow: var(--shadow-md); }

.satx-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.satx-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.satx-brand img {
  width: 48px;
  height: auto;
  flex: none;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .18));
}

.satx-brand-text { display: flex; flex-direction: column; line-height: 1.1; }

.satx-brand-text strong {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.satx-brand-text em {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
}

.satx-nav { display: flex; align-items: center; gap: 4px; }

.satx-nav a {
  position: relative;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--text);
  text-decoration: none;
  border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}

.satx-nav a:hover { color: var(--red); background: rgba(210, 31, 16, .07); }

.satx-nav a.is-active { color: var(--red); }

.satx-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 3px;
  border-radius: 2px;
  background: var(--red);
}

.satx-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.satx-menu-btn span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .25s ease, opacity .2s ease;
}

.satx-menu-btn.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.satx-menu-btn.is-open span:nth-child(2) { opacity: 0; }
.satx-menu-btn.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .satx-menu-btn { display: flex; }

  .satx-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    display: none;
  }

  .satx-nav.is-open { display: flex; }

  .satx-nav a { padding: 13px 14px; font-size: 16px; }

  .satx-nav a.is-active::after { display: none; }

  .satx-nav a.is-active { background: rgba(210, 31, 16, .08); }
}

/* ---------- Hero ---------- */

.satx-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(210, 31, 16, .35), transparent 60%),
    linear-gradient(150deg, var(--ink) 0%, var(--slate) 55%, var(--slate-2) 100%);
}

.satx-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(115deg, transparent 0 62%, rgba(210, 31, 16, .16) 62% 70%, transparent 70% 76%, rgba(210, 31, 16, .1) 76% 82%, transparent 82%);
  pointer-events: none;
}

.satx-hero-inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 84px 24px 88px;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 40px;
  align-items: center;
}

.satx-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 7px 16px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #ffd6d1;
  background: rgba(210, 31, 16, .22);
  border: 1px solid rgba(239, 44, 27, .45);
  border-radius: 999px;
}

.satx-hero h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 78px);
  font-weight: 800;
  line-height: .96;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.satx-hero h1 .accent { color: var(--red-bright); }

.satx-hero p.lede {
  margin: 0 0 30px;
  max-width: 520px;
  font-size: 17.5px;
  color: #b8c0cc;
}

.satx-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.satx-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  cursor: pointer;
  border: 0;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.satx-btn:hover { transform: translateY(-2px); }

.satx-btn-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--red-bright), var(--red));
  box-shadow: 0 8px 22px rgba(210, 31, 16, .38);
}

.satx-btn-primary:hover { box-shadow: 0 12px 28px rgba(210, 31, 16, .5); }

.satx-btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .22);
}

.satx-btn-ghost:hover { background: rgba(255, 255, 255, .15); }

.satx-hero-logo { display: flex; justify-content: center; }

.satx-hero-logo img {
  width: min(320px, 70vw);
  filter: drop-shadow(0 24px 50px rgba(0, 0, 0, .5));
  animation: satx-float 7s ease-in-out infinite;
}

@keyframes satx-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(1.5deg); }
}

@media (max-width: 820px) {
  .satx-hero-inner { grid-template-columns: 1fr; padding: 56px 24px 60px; }
  .satx-hero-logo { order: -1; }
  .satx-hero-logo img { width: min(190px, 48vw); }
}

@media (prefers-reduced-motion: reduce) {
  .satx-hero-logo img { animation: none; }
}

/* ---------- Page hero (interior pages) ---------- */

.satx-page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(800px 300px at 90% -40%, rgba(210, 31, 16, .4), transparent 65%),
    linear-gradient(150deg, var(--ink), var(--slate-2));
}

.satx-page-hero .satx-container {
  position: relative;
  padding-top: 52px;
  padding-bottom: 52px;
}

.satx-page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 5.5vw, 58px);
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1;
  text-transform: uppercase;
}

.satx-page-hero .satx-crumb {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 214, 209, .9);
}

.satx-page-hero::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -70px;
  width: 260px;
  height: 260px;
  background: url("../img/logo.png") center / contain no-repeat;
  opacity: .12;
  transform: rotate(-12deg);
  pointer-events: none;
}

/* ---------- Main / sections ---------- */

.satx-main { min-height: 55vh; }

.satx-section { padding: 56px 0; }

.satx-section + .satx-section { padding-top: 0; }

.satx-section-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 26px;
}

.satx-section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 38px);
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--ink);
}

.satx-section-head .bar {
  flex: none;
  width: 40px;
  height: 6px;
  border-radius: 3px;
  background: var(--red);
  transform: translateY(-6px);
}

/* ---------- Cards / grids ---------- */

.satx-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.satx-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

a.satx-link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  color: var(--text);
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

a.satx-link-card:hover {
  transform: translateY(-3px);
  border-color: rgba(210, 31, 16, .4);
  box-shadow: var(--shadow-md);
}

.satx-link-card .icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  color: var(--red);
  background: rgba(210, 31, 16, .09);
}

.satx-link-card .icon svg { width: 21px; height: 21px; }

.satx-link-card .body { min-width: 0; }

.satx-link-card .title {
  display: block;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.35;
}

.satx-link-card .source {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

.satx-link-card .arrow {
  margin-left: auto;
  flex: none;
  color: var(--muted);
  transition: transform .15s ease, color .15s ease;
}

a.satx-link-card:hover .arrow { transform: translateX(3px); color: var(--red); }

/* ---------- Schedule timeline ---------- */

.satx-schedule { display: flex; flex-direction: column; gap: 10px; }

.satx-meet {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}

.satx-meet:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }

.satx-meet .date {
  flex: none;
  min-width: 92px;
  padding: 8px 10px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(160deg, var(--slate), var(--ink));
  border-radius: 9px;
}

.satx-meet.is-off .date { background: #8b93a0; }

.satx-meet .name { font-weight: 600; font-size: 15.5px; }

.satx-meet .tag {
  margin-left: auto;
  flex: none;
  padding: 4px 11px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(210, 31, 16, .09);
  border-radius: 999px;
}

@media (max-width: 560px) {
  .satx-meet { flex-wrap: wrap; gap: 10px; }
  .satx-meet .tag { margin-left: 0; }
}

/* ---------- Roster ---------- */

.satx-roster {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.satx-athlete {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}

.satx-athlete:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.satx-athlete .avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .04em;
  color: #fff;
  background: linear-gradient(160deg, var(--red-bright), var(--red-dark));
  border-radius: 50%;
}

.satx-athlete:nth-child(even) .avatar { background: linear-gradient(160deg, var(--slate-2), var(--ink)); }

.satx-athlete .name { font-weight: 600; font-size: 15px; }

.satx-roster-count {
  margin: 0 0 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

/* ---------- Events ---------- */

.satx-event {
  display: flex;
  gap: 18px;
  padding: 18px 20px;
}

.satx-event .cal {
  flex: none;
  width: 64px;
  text-align: center;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.satx-event .cal .m {
  display: block;
  padding: 3px 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
}

.satx-event .cal .d {
  display: block;
  padding: 6px 0;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  background: #fff;
}

.satx-event h3 { margin: 0 0 4px; font-size: 17px; }

.satx-event h3 a { color: var(--ink); text-decoration: none; }

.satx-event h3 a:hover { color: var(--red); }

.satx-event .meta { font-size: 13.5px; color: var(--muted); }

/* ---------- Prose (generic page content) ---------- */

.satx-prose {
  max-width: 780px;
  padding: 30px 34px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.satx-prose h1, .satx-prose h2, .satx-prose h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--ink);
}

.satx-prose img { border-radius: 12px; }

.satx-prose table { width: 100%; border-collapse: collapse; }

.satx-prose td, .satx-prose th { padding: 10px 12px; border: 1px solid var(--line); }

.satx-callout {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 780px;
  padding: 18px 22px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: var(--radius);
  font-size: 15px;
}

.satx-callout .icon { flex: none; color: #ea580c; margin-top: 2px; }

.satx-callout a { font-weight: 600; word-break: break-word; }

/* ---------- Quick links (home) ---------- */

.satx-quick {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

a.satx-quick-card {
  position: relative;
  overflow: hidden;
  display: block;
  padding: 26px 24px 22px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(155deg, var(--slate) 0%, var(--ink) 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: transform .18s ease, box-shadow .18s ease;
}

a.satx-quick-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

a.satx-quick-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  height: 5px;
  background: var(--red);
  border-radius: 0 0 4px 0;
}

.satx-quick-card .icon { display: block; margin-bottom: 14px; color: var(--red-bright); }

.satx-quick-card .icon svg { width: 30px; height: 30px; }

.satx-quick-card h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.satx-quick-card p { margin: 0; font-size: 13.5px; color: #9aa4b1; }

/* ---------- Footer ---------- */

.satx-footer {
  margin-top: 70px;
  color: #9aa4b1;
  background: var(--ink);
  border-top: 4px solid var(--red);
}

.satx-footer-grid {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 24px 36px;
  display: grid;
  gap: 36px;
  grid-template-columns: 1.4fr 1fr 1fr;
}

@media (max-width: 760px) {
  .satx-footer-grid { grid-template-columns: 1fr; }
}

.satx-footer .brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.satx-footer .brand img { width: 54px; }

.satx-footer .brand strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.05;
  display: block;
}

.satx-footer h4 {
  margin: 0 0 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff;
}

.satx-footer ul { margin: 0; padding: 0; list-style: none; }

.satx-footer li { margin-bottom: 9px; }

.satx-footer a { color: #9aa4b1; text-decoration: none; font-size: 14.5px; transition: color .15s ease; }

.satx-footer a:hover { color: #fff; }

.satx-footer p { font-size: 14px; }

.satx-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .09);
}

.satx-footer-bottom .satx-container {
  padding-top: 18px;
  padding-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
}

/* fallback footer (no-JS) */
.satx-footer > p { max-width: 1120px; margin: 0 auto; padding: 26px 24px; }

/* ---------- No-JS static article ---------- */

.satx-static-article {
  max-width: 820px;
  margin: 40px auto;
  padding: 0 24px;
}

/* ---------- Misc ---------- */

.satx-fade { animation: satx-fade .35s ease both; }

@keyframes satx-fade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}
