:root {
  --bg: #070708;
  --bg-soft: #101114;
  --panel: #17191d;
  --text: #d7dae0;
  --muted: #a5aab3;
  --brand: #b7bdc8;
  --brand-2: #7f8794;
  --border: #2c3038;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: radial-gradient(circle at top right, #121212 0%, var(--bg) 46%);
  color: var(--text);
}

body {
  position: relative;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(6, 8, 12, 0.68), rgba(6, 8, 12, 0.58));
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(6, 6, 6, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(64, 64, 64, 0.7);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

nav a {
  color: #a8adb5;
  font-weight: 600;
}

nav a:hover {
  color: #cfd3da;
}

.hero {
  position: relative;
  padding: 5rem 0 2.5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("images/TS logo wallpaper.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(0.9) contrast(0.96) brightness(0.46);
  opacity: 0.3;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(9, 10, 14, 0.8) 0%, rgba(9, 10, 14, 0.72) 45%, rgba(9, 10, 14, 0.95) 100%);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.2fr 0.8fr;
}

.badge {
  display: inline-block;
  margin: 0;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.85rem;
}

h1 {
  margin: 1rem 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.1;
}

.lead {
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #616876;
  background: linear-gradient(135deg, #a7afbb, #7e8796);
  color: #14171d;
  font-weight: 800;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
}

.btn:hover {
  filter: brightness(1.03);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-sm {
  padding: 0.45rem 0.75rem;
  border-radius: 0.6rem;
}

.hero-card {
  background: linear-gradient(180deg, rgba(24, 24, 24, 0.92), rgba(10, 10, 10, 0.95));
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem 1.15rem;
}

.hero-card-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}


.hero-logo {
  width: 76px;
  height: 76px;
  object-fit: contain;
  margin-bottom: 0.4rem;
}

.hero-card h2 {
  margin-top: 0.1rem;
  font-size: 1.15rem;
}

.hero-card ul {
  padding-left: 1.1rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.section {
  padding: 3.2rem 0;
}

.section-alt {
  background: rgba(18, 18, 18, 0.7);
  border-top: 1px solid rgba(58, 58, 58, 0.75);
  border-bottom: 1px solid rgba(58, 58, 58, 0.75);
}

#coaches {
  position: relative;
  overflow: hidden;
}

#coaches::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("images/TS logo wallpaper.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(1) brightness(0.4);
  opacity: 0.18;
  pointer-events: none;
}

#coaches .container {
  position: relative;
  z-index: 1;
}

h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin: 0 0 0.8rem;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.cards,
.coach-grid {
  margin-top: 1.2rem;
  display: grid;
  gap: 1rem;
}

.cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.coach-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: rgba(10, 10, 10, 0.92);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem;
}

.card h3 {
  margin-top: 0;
}

.coach-card {
  display: flex;
  flex-direction: column;
}

.coach-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.75rem;
  margin-bottom: 0.9rem;
  border: 1px solid #4a5260;
  box-shadow: 0 0 0 1px rgba(185, 195, 210, 0.12), 0 12px 24px rgba(0, 0, 0, 0.28);
  filter: saturate(0.9) contrast(0.94) brightness(0.92);
}

.coach-photo:hover {
  filter: saturate(0.95) contrast(0.97) brightness(0.95);
}

.coach-role {
  margin-top: -0.2rem;
  margin-bottom: 0.35rem;
  color: #d1d6de;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-size: 0.8rem;
}

.coach-tag {
  margin-top: -0.3rem;
  color: #b8bec8;
  font-size: 0.9rem;
}

.coach-links {
  display: flex;
  gap: 0.8rem;
  margin: 0.25rem 0 0.9rem;
}

.coach-links a {
  color: #f1f1f1;
  font-size: 0.86rem;
  border: 1px solid #393939;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
}

.card ul {
  color: #aeb4be;
  margin-bottom: 0;
  padding-left: 1.1rem;
}

.pb-slider {
  margin-top: 0.6rem;
  margin-bottom: 0.9rem;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 360px);
  gap: 0.75rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
}

.pb-slide {
  scroll-snap-align: start;
  background: rgba(15, 15, 15, 0.9);
  border: 1px solid #303030;
  border-radius: 0.8rem;
  padding: 0.55rem;
}

.pb-slide video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0.6rem;
  background: #000;
}

.pb-slide p {
  margin: 0.5rem 0 0.1rem;
  color: #d4d4d4;
  font-size: 0.84rem;
}

.coach-apply {
  margin-top: auto;
  align-self: flex-start;
}

.resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0.5rem 0 1.1rem;
}

.resource-links a {
  border: 1px solid #3a3a3a;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  color: #ececec;
  font-weight: 600;
  font-size: 0.86rem;
}

.mini-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.mini-actions a {
  border: 1px solid #404040;
  border-radius: 999px;
  padding: 0.3rem 0.72rem;
  color: #f1f1f1;
  font-size: 0.83rem;
}

.availability-note {
  margin: 0;
  color: #d9dee8;
  font-size: 0.86rem;
  align-self: center;
}

.is-hidden {
  display: none;
}

.choice-grid {
  display: grid;
  gap: 0.9rem;
  margin: 1rem 0 1.15rem;
}

.choice-card {
  background: rgba(12, 12, 12, 0.92);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 0.95rem;
}

.choice-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.8rem;
}

.choice-head h3 {
  margin: 0;
  font-size: 1rem;
}

.choice-price {
  margin: 0;
  color: #e5e9f0;
  font-weight: 700;
  white-space: nowrap;
}

.choice-meta {
  margin: 0.45rem 0 0;
  color: #b8bec8;
  font-size: 0.92rem;
}

.choice-btn {
  margin-top: 0.85rem;
}

.video-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(290px, 360px);
  gap: 1rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.4rem;
}

.video-item {
  scroll-snap-align: start;
  background: rgba(12, 12, 12, 0.92);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 0.7rem;
}

.video-item video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0.7rem;
  background: #000;
}

.video-item p {
  margin: 0.65rem 0 0.2rem;
  color: #bcc2cc;
  font-size: 0.92rem;
}

.form-wrap {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.coaching-form {
  background: linear-gradient(180deg, rgba(15, 18, 24, 0.92), rgba(12, 14, 19, 0.95));
  border: 1px solid #303540;
  border-radius: 1rem;
  padding: 1rem;
  display: grid;
  gap: 0.9rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 12px 30px rgba(0, 0, 0, 0.28);
}

.coaching-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: #bcc2cc;
}

.coaching-form[aria-label*="Tally"] {
  position: relative;
  overflow: hidden;
}

.coaching-form[aria-label*="Tally"]::before {
  content: "";
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  height: 48px;
  pointer-events: none;
  border-radius: 0.6rem 0.6rem 0 0;
  background: linear-gradient(to bottom, rgba(9, 12, 17, 0.4), rgba(9, 12, 17, 0));
  z-index: 2;
}

.inline-fieldset {
  border: 1px solid #353535;
  border-radius: 0.7rem;
  padding: 0.65rem 0.8rem;
  margin: 0;
}

.inline-fieldset legend {
  color: #d4d4d4;
  padding: 0 0.3rem;
  font-size: 0.88rem;
}

.inline-option {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  margin: 0.3rem 0;
}

.inline-option input {
  width: auto;
}

.conditional-fields {
  border: 1px dashed #4b4b4b;
  border-radius: 0.8rem;
  padding: 0.8rem;
  background: rgba(20, 20, 20, 0.72);
}

.guardian-disclosure {
  margin: 0 0 0.5rem;
  color: #f0f0f0;
  font-size: 0.88rem;
}

.setup-steps {
  color: var(--muted);
  padding-left: 1.1rem;
  margin: 0.8rem 0 1rem;
  line-height: 1.65;
}

.guardian-policy-note {
  margin: 0.55rem 0 0;
  padding: 0.6rem 0.75rem;
  border: 1px dashed #4a4a4a;
  border-radius: 0.7rem;
  color: #ececec;
  font-size: 0.88rem;
  background: rgba(20, 20, 20, 0.65);
}

.tally-frame {
  width: 100%;
  min-height: 760px;
  border: 1px solid #3a404b;
  border-radius: 0.8rem;
  background: #0d1118;
  filter: brightness(0.93) saturate(0.88) contrast(0.95);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #3a3f4a;
  border-radius: 0.6rem;
  padding: 0.72rem;
  background: #12151c;
  color: #d8dde6;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(161, 172, 190, 0.38);
  border-color: transparent;
}

.form-message {
  min-height: 1.2rem;
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.fine-print {
  font-size: 0.88rem;
}

.site-footer {
  border-top: 1px solid rgba(64, 64, 64, 0.7);
  padding: 1.25rem 0;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.socials a {
  color: #b9bfca;
}

@media (max-width: 980px) {
  .hero-grid,
  .cards,
  .coach-grid,
  .form-wrap {
    grid-template-columns: 1fr;
  }

  .video-rail {
    grid-auto-columns: minmax(280px, 88vw);
  }

  nav {
    gap: 0.7rem;
  }

  .brand span {
    display: none;
  }
}
