:root {
  --bg: #050505;
  --surface: #111111;
  --surface-soft: #181818;
  --text-main: #f5f5f5;
  --text-soft: #a0a0a0;
  --accent: #f5f5f5;
  --accent-soft: #d0d0d0;
  --border-subtle: #262626;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 18px 45px rgba(0,0,0,0.55);
  --shadow-subtle: 0 6px 18px rgba(0,0,0,0.55);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
               "Segoe UI", sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at top, #141414 0, #050505 55%, #000 100%);
}

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

/* HEADER / NAV */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5,5,5,0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 4px;
}

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

.brand-main {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.brand-sub {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-soft);
}

/* desktop nav links */

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--text-soft);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-links .nav-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* mobile nav toggle – mountain icon based on logo */

.nav-toggle {
  display: none; /* enabled on small screens via media query */
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  animation: mountainPulse 3s ease-in-out infinite;
}

/* hide the original spans; we draw with pseudo-elements */
.nav-toggle span {
  display: none;
}

/* left slope of the mountain */
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 2px;
  background: var(--text-main);
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease, width 0.25s ease;
}

/* left slope */
.nav-toggle::before {
  transform: translate(-4px, 4px) rotate(-32deg);
  box-shadow: 0 -8px 0 rgba(245,245,245,0.16); /* subtle inner ridge */
}

/* right slope */
.nav-toggle::after {
  transform: translate(4px, 4px) rotate(32deg);
}

/* subtle pulse echo around the icon when closed */
@keyframes mountainPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(245,245,245,0.0);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(245,245,245,0.08);
    transform: scale(1.04);
  }
}

/* when menu is open: lines cross into an X and pulse stops */

body.nav-open .nav-toggle {
  animation: none;
}

body.nav-open .nav-toggle::before {
  box-shadow: none;
  width: 20px;
  transform: rotate(45deg);
}

body.nav-open .nav-toggle::after {
  width: 20px;
  transform: rotate(-45deg);
}


/* HERO */

.hero {
  border-bottom: 1px solid var(--border-subtle);
  background: radial-gradient(circle at top, #141414 0, #050505 55%, #000 100%);
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 18px 56px;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 32px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--accent-soft);
  margin: 0 0 8px;
}

.hero h1 {
  font-size: clamp(38px, 5vw, 52px);
  line-height: 1.02;
  text-transform: uppercase;
  font-weight: 900;
  margin: 0 0 12px;
}

.hero-subtitle {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 460px;
  margin: 0 0 24px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: #f5f5f5;
  color: #050505;
  box-shadow: var(--shadow-subtle);
}

.btn-primary:hover {
  background: #cfcfcf;
}

.btn-ghost {
  background: transparent;
  color: var(--text-main);
  border-color: var(--border-subtle);
}

.btn-ghost:hover {
  border-color: #f5f5f5;
}

/* HERO EMBLEM */

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero-logo-wrap {
  position: relative;
  width: 230px;
  height: 230px;
  border-radius: 999px;
  background: #ffffff;           /* white circle behind emblem */
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-logo-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 15% 0%, rgba(255,255,255,0.35) 0, transparent 55%),
    radial-gradient(circle at 80% 120%, rgba(90,90,90,0.75) 0, transparent 65%);
  opacity: 0.4;
  pointer-events: none;
}

.hero-logo {
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-logo-animated {
  animation:
    heroPopIn 0.7s ease-out both,
    heroFloat 4s ease-in-out infinite;
  transform-origin: center;
}

.hero-tagline {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--text-soft);
  margin: 0;
}

@keyframes heroPopIn {
  0% { opacity: 0; transform: scale(0.88) translateY(18px); }
  60% { opacity: 1; transform: scale(1.02) translateY(0); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.02); }
}

/* GENERIC SECTIONS */

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 18px;
}

.section-header {
  margin-bottom: 24px;
}

.section-header h1,
.section-header h2 {
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 900;
  margin: 0 0 6px;
}

.section-header p {
  margin: 0;
  color: var(--text-soft);
}

/* HOME PHOTO ROW – slow carousel */

.home-photo-row {
  margin: 0 auto 40px auto;
  max-width: 1120px;
  overflow: hidden;
}

.home-photo-track {
  display: flex;
  gap: 16px;
  animation: photoScroll 30s linear infinite;
}

.home-photo {
  flex: 0 0 32%;
  max-width: 32%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

.home-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* slow leftward scroll for carousel */
@keyframes photoScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* TODAY SNAPSHOT */

.today-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 500px;
}

.today-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-soft);
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.today-time {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
  width: 120px;
}

.today-name {
  font-size: 14px;
  font-weight: 700;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.dot-blue    { background: #f5f5f5; }
.dot-yellow  { background: #c4c4c4; }
.dot-red     { background: #9b9b9b; }
.dot-purple  { background: #777777; }
.dot-green   { background: #a0a0a0; }

/* CONTACT GRID */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  font-size: 14px;
}

.contact-grid h3 {
  margin-top: 0;
  margin-bottom: 6px;
}

.contact-grid p {
  margin-top: 0;
  color: var(--text-soft);
}

/* FOOTER */

.site-footer {
  text-align: center;
  padding: 20px 16px 26px;
  font-size: 12px;
  color: var(--text-soft);
}

.footer-small {
  margin-top: 4px;
  font-size: 11px;
}

/* SCHEDULE PAGE */

.schedule-hero {
  background: #000;
  color: #f5f5f5;
  padding: 30px 16px;
  margin-bottom: 10px;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.schedule-hero-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.schedule-hero h1 {
  margin: 0 0 6px;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.schedule-hero p {
  margin: 0;
  font-size: 14px;
  color: #c4c4c4;
}

.calendar-container {
  max-width: 1120px;
  margin: 0 auto 40px;
  padding: 0 18px 40px;
}

.week-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
}

.day-col h3 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
}

.class-card {
  background: var(--surface-soft);
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 10px;
  border-left: 4px solid #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.7);
}

.class-card .time {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
}

.class-card .name {
  font-size: 15px;
  font-weight: 800;
}

/* grayscale accent borders */

.blue      { border-color: #f5f5f5; }
.yellow    { border-color: #d0d0d0; }
.red       { border-color: #a6a6a6; }
.purple    { border-color: #808080; }
.green     { border-color: #b3b3b3; }
.brown     { border-color: #6b6b6b; }
.lavender  { border-color: #8f8f8f; }
.black     { border-color: #ffffff; }

.no-sessions {
  background: var(--surface-soft);
  padding: 18px 10px;
  border-radius: 10px;
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #5f5f5f;
  border: 1px dashed #3b3b3b;
}

.schedule-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-soft);
}

.schedule-note .highlight {
  color: #f5f5f5;
  font-weight: 700;
}

/* COACHES PAGE */

.coach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.coach-card {
  background: var(--surface-soft);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 26px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.coach-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.coach-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coach-body {
  padding: 14px 16px 16px;
}

.coach-body h2 {
  margin: 0 0 4px;
  font-size: 18px;
}

.coach-role {
  margin: 0 0 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
}

.coach-bio,
.coach-focus {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--text-soft);
}

/* SOCIAL PAGE */

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

.social-card {
  background: var(--surface-soft);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 18px 16px 20px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.5);
}

.social-card h2 {
  margin: 0 0 6px;
  font-size: 18px;
}

.social-card p {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--text-soft);
}

/* RESPONSIVE – minimal changes so mobile looks like desktop, just narrower */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  }

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

@media (max-width: 700px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    margin-top: 12px; /* brings emblem slightly higher on mobile */
  }

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

  /* show belt button on mobile */
  .nav-toggle {
    display: inline-flex;
  }

  /* dropdown menu with slide-down animation */
  .nav-links {
    position: absolute;
    top: 60px;
    right: 18px;
    background: rgba(5,5,5,0.98);
    border-radius: 14px;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    padding: 10px 14px;
    flex-direction: column;
    gap: 10px;
    min-width: 190px;

    opacity: 0;
    transform: translateY(-8px);
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    transition:
      opacity 0.18s ease-out,
      transform 0.18s ease-out,
      max-height 0.22s ease-out;
  }

  body.nav-open .nav-links {
    opacity: 1;
    transform: translateY(0);
    max-height: 420px;
    pointer-events: auto;
  }

  .home-photo {
    flex: 0 0 80%;
    max-width: 80%;
  }

  .week-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .section {
    padding: 32px 14px;
  }

  .week-grid {
    grid-template-columns: 1fr;
  }
}
