:root {
  --dark: #202126;
  --panel: #303137;
  --blue: #1f4b86;
  --blue-deep: #193f73;
  --text: #f2f2f3;
  --muted: #d4d4d8;
  --line: rgba(255, 255, 255, 0.18);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
  padding: 0 clamp(16px, 4vw, 56px);
  background: rgba(20, 21, 26, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 260ms ease;
}

.nav.scrolled {
  background: rgba(20, 21, 26, 0.97);
}

.nav-logo {
  flex-shrink: 0;
  font-size: clamp(15px, 1.4vw, 22px);
  font-weight: 820;
  letter-spacing: 0.14em;
  color: #e8e8ea;
  text-decoration: none;
  white-space: nowrap;
}

.nav-logo span {
  color: var(--blue);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.8vw, 32px);
}

.nav-link {
  font-size: clamp(13px, 1vw, 17px);
  font-weight: 620;
  letter-spacing: 0.04em;
  color: #cacacd;
  text-decoration: none;
  padding: 4px 0;
  position: relative;
  transition: color 180ms ease;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: width 200ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  padding: 8px 20px;
  background: var(--blue);
  color: #fff !important;
  border-radius: 5px;
  font-weight: 720;
  transition: background 180ms ease, transform 160ms ease;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: #2558a0;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #e0e0e2;
  border-radius: 2px;
  transition: transform 260ms ease, opacity 200ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 260ms ease;
}

.nav-backdrop.open {
  opacity: 1;
}

@media (max-width: 820px) {
  .nav-toggle {
    display: flex;
  }

  .nav-backdrop {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 999;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 0 24px;
    background: rgba(20, 21, 26, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 240ms ease, transform 240ms ease;
  }

  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-link {
    padding: 14px clamp(20px, 6vw, 40px);
    font-size: 17px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-link::after {
    display: none;
  }

  .nav-cta {
    margin: 16px clamp(20px, 6vw, 40px) 0;
    padding: 13px 20px;
    text-align: center;
    border-radius: 6px;
  }
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding-top: 64px;
  overflow-x: hidden;
  background: var(--dark);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(16px, 1.35vw, 24px);
  line-height: 1.55;
}

main,
section,
div,
article,
blockquote,
form {
  min-width: 0;
}

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

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

button,
input,
textarea {
  max-width: 100%;
  font: inherit;
}

.section {
  min-height: 100svh;
  width: 100%;
  padding: clamp(56px, 7vw, 132px) clamp(18px, 5.3vw, 128px);
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.035), transparent 35%),
    linear-gradient(90deg, #1f2024, #303137);
}

.blue {
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.035), transparent 36%),
    linear-gradient(90deg, var(--blue), var(--blue-deep));
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
  overflow-wrap: anywhere;
}

h1,
h2 {
  letter-spacing: 0.04em;
  line-height: 1.16;
  font-weight: 750;
}

h1 {
  font-size: clamp(34px, 3.7vw, 68px);
  color: #d8d8da;
}

h2 {
  font-size: clamp(32px, 4vw, 72px);
  color: #dedee1;
}

h3 {
  font-size: clamp(21px, 2vw, 34px);
  line-height: 1.22;
  color: #e9e9eb;
}

p {
  color: var(--muted);
  letter-spacing: 0.02em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  max-width: 100%;
  padding: 14px 32px;
  border: 0;
  border-radius: 6px;
  background: #eeeeef;
  color: #15161a;
  font-weight: 760;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.16);
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible,
.program-card:hover,
.contact-action:hover,
.text-button:hover {
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(40px, 7vw, 140px);
  text-align: center;
}

.hero-copy {
  width: min(100%, 820px);
  justify-self: center;
}

.hero-copy p {
  margin-bottom: 34px;
  font-weight: 520;
}

.hero-logo {
  width: min(100%, 720px);
  justify-self: center;
  filter: contrast(1.05);
}

.uniqueness {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(48px, 8vw, 130px);
}

.intro-copy {
  text-align: center;
}

.belief-card,
.program-card,
.quote-card,
.faq-item,
.contact-action,
.contact-details div {
  background: rgba(35, 36, 42, 0.86);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.belief-card {
  padding: clamp(24px, 3.2vw, 48px);
  border-radius: 12px;
}

.belief-card h3 {
  margin-bottom: 24px;
}

.belief-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.belief-grid article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0 16px;
}

.belief-grid span {
  grid-row: span 2;
  color: #cbccd1;
  font-size: 40px;
  line-height: 1;
}

.belief-grid h4 {
  margin-bottom: 12px;
  font-size: clamp(20px, 1.8vw, 31px);
}

.belief-grid .wide {
  grid-column: 1 / -1;
}

.section-heading {
  max-width: 1320px;
  margin: 0 auto clamp(46px, 5vw, 92px);
  text-align: center;
}

.section-heading p {
  font-size: clamp(18px, 1.65vw, 30px);
}

.philosophy .section-heading p {
  font-size: clamp(28px, 3vw, 54px);
  font-style: italic;
  font-weight: 780;
  color: #eeeeef;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(42px, 5vw, 96px) clamp(48px, 8vw, 150px);
}

.icon {
  margin-bottom: 24px;
  color: #d7d7da;
  font-size: clamp(36px, 3vw, 58px);
  line-height: 1;
}

.feature p {
  max-width: 900px;
}

.programs {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  width: 100%;
  min-height: 120svh;
}

.program-content {
  padding: clamp(56px, 6vw, 120px) clamp(18px, 5.3vw, 128px);
}

.program-content > p {
  max-width: 1180px;
  margin-bottom: 34px;
}

.program-list {
  display: grid;
  gap: 28px;
  max-width: 1240px;
}

.program-card {
  display: block;
  padding: clamp(22px, 2.6vw, 38px);
  border-radius: 6px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.program-card:hover {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(48, 49, 55, 0.96);
}

.program-card h3 {
  margin-bottom: 8px;
}

.program-card p {
  margin-bottom: 0;
}

.gym-image {
  min-height: 100%;
  background: linear-gradient(rgba(13, 22, 34, 0.16), rgba(13, 22, 34, 0.16)), url("/assets/gym-space.png") center / cover;
}

.coach {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(56px, 8vw, 150px);
}

.coach-photo {
  width: min(100%, 680px);
  max-height: none;
  object-fit: contain;
  justify-self: center;
  filter: grayscale(1);
}

.eyebrow {
  margin-bottom: 22px;
  text-transform: uppercase;
  color: #e2e2e5;
  font-size: clamp(14px, 1.2vw, 20px);
  letter-spacing: 0.08em;
}

.coach-copy {
  max-width: 1060px;
}

.stats {
  display: grid;
  max-width: 620px;
  margin: 42px auto 0;
  gap: 36px;
  text-align: center;
}

.stats strong {
  display: block;
  font-size: clamp(48px, 5vw, 96px);
  line-height: 1;
  color: #e6e6e8;
}

.stats span {
  color: var(--muted);
  font-weight: 650;
}

.testimonials {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-grid,
.blog-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 44px);
}

.quote-card {
  position: relative;
  min-height: 300px;
  margin: 0;
  padding: clamp(32px, 4vw, 60px);
  border-radius: 4px;
}

.quote-card::before,
.quote-card::after {
  position: absolute;
  color: #dddde0;
  font-size: 72px;
  line-height: 1;
}

.quote-card::before {
  content: "“";
  top: -20px;
  left: -10px;
}

.quote-card::after {
  content: "”";
  right: -10px;
  bottom: -38px;
}

.quote-card cite {
  display: block;
  color: #f1f1f3;
  font-style: normal;
  font-size: clamp(20px, 1.9vw, 33px);
  font-weight: 760;
}

.faq h2 {
  margin-bottom: 54px;
}

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

.faq-item {
  border-radius: 4px;
  padding: 0;
}

.faq-item summary {
  padding: 28px 34px 12px;
  color: #dedee1;
  font-size: clamp(20px, 1.8vw, 32px);
  font-weight: 730;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0;
  padding: 0 34px 28px;
}

.blog {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  justify-items: center;
  height: 100%;
  text-align: center;
}

.blog-image-frame {
  width: min(100%, 460px);
  aspect-ratio: 1 / 1;
  margin: 0 auto 28px;
  overflow: hidden;
  border-radius: 12px;
  background: #1a1b20;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.22);
}

.blog-card h3 {
  width: 100%;
  min-height: 2.5em;
  margin-bottom: 12px;
}

.blog-card p {
  max-width: 520px;
  margin-bottom: 18px;
}

.blog-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  transition: transform 260ms ease, filter 260ms ease;
}

.blog-card:hover .blog-image-frame img {
  transform: scale(1.035);
  filter: contrast(1.04);
}

.text-button {
  border: 0;
  background: transparent;
  color: #fff;
  font-weight: 780;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 5px;
  transition: transform 160ms ease;
}

.contact {
  background: linear-gradient(90deg, #424348, #505156);
  text-align: center;
}

.contact-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 2.4vw, 34px);
  max-width: 560px;
  margin: 0 auto 40px;
  text-align: center;
}

.contact-action {
  display: grid;
  gap: 12px;
  min-height: 150px;
  align-content: center;
  padding: clamp(28px, 3vw, 44px);
  border-radius: 10px;
  border-color: rgba(255, 255, 255, 0.09);
  transition: transform 160ms ease, background 160ms ease;
}

.contact-action:hover {
  background: rgba(35, 36, 42, 0.96);
}

.contact-action strong,
.contact-details strong {
  color: #eeeeef;
  font-size: clamp(22px, 1.8vw, 34px);
}

.contact-action span,
.contact-details span {
  color: #d6d6da;
  overflow-wrap: anywhere;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.contact-details div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 130px;
  padding: 22px 24px;
  border-radius: 8px;
}

#article-dialog {
  width: min(720px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #27282e;
  color: #fff;
  padding: 34px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
}

#article-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.dialog-close {
  float: right;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  font-size: 28px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .uniqueness,
  .programs,
  .coach {
    grid-template-columns: minmax(0, 1fr);
  }

  .section {
    min-height: auto;
  }

  .programs {
    min-height: 0;
  }

  .gym-image {
    min-height: 56svh;
    order: -1;
  }

  .feature-grid,
  .faq-grid,
  .testimonial-grid,
  .blog-grid,
  .contact-actions,
  .contact-details {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-logo {
    width: min(100%, 560px);
    margin: 0 auto;
  }

  .coach-photo {
    width: min(100%, 520px);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .section {
    padding: 48px 16px;
  }

  h1 {
    font-size: clamp(31px, 11vw, 45px);
  }

  h2 {
    font-size: clamp(30px, 10vw, 42px);
  }

  .hero {
    gap: 28px;
  }

  .hero-copy p {
    margin-bottom: 26px;
  }

  .button {
    width: 100%;
    padding: 14px 18px;
  }

  .belief-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .belief-grid article {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .belief-grid span {
    font-size: 30px;
  }

  .program-content {
    padding: 48px 16px;
  }

  .program-card,
  .quote-card,
  .faq-item summary,
  .contact-action,
  .contact-details div {
    padding-left: 20px;
    padding-right: 20px;
  }

  .faq-item p {
    padding-left: 20px;
    padding-right: 20px;
  }

  .quote-card::before,
  .quote-card::after {
    font-size: 50px;
  }

  .blog-image-frame {
    width: min(100%, 340px);
    margin-bottom: 22px;
  }

  .blog-card h3 {
    min-height: 0;
  }

  #article-dialog {
    padding: 24px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .button,
  .program-card,
  .contact-action,
  .text-button {
    transition: none;
  }
}
