:root {
  color-scheme: light;
  --ink: #142117;
  --muted: #667064;
  --paper: #f2efe7;
  --paper-2: #e8e2d5;
  --panel: #fffdf7;
  --line: rgba(20, 33, 23, 0.1);
  --green: #183b27;
  --green-soft: #dfe9dc;
  --gold: #d8b52f;
  --red: #b64237;
  --white: #fffaf0;
  --container: 1180px;
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(20, 33, 23, 0.055) 1px, transparent 1px) 0 0 / 72px 72px,
    var(--paper);
  font-family:
    "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: 18px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--gold);
  color: #1c2217;
  font-weight: 950;
  text-decoration: none;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  align-items: center;
  min-height: 84px;
  padding: 0 max(22px, calc((100vw - var(--container)) / 2));
  border-bottom: 1px solid rgba(255, 250, 240, 0.22);
  background: rgba(20, 33, 23, 0.82);
  color: var(--white);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  background: rgba(20, 33, 23, 0.94);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 5px 12px rgba(0, 0, 0, 0.16));
}

.brand span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.brand strong {
  font-size: 14px;
  letter-spacing: 0.18em;
}

.brand small {
  max-width: 330px;
  overflow: hidden;
  color: rgba(255, 250, 240, 0.66);
  font-size: 12px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  height: 84px;
  border-inline: 1px solid rgba(255, 250, 240, 0.18);
}

.site-nav a,
.header-cta {
  min-width: 112px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: rgba(255, 250, 240, 0.78);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.mobile-only {
  display: none !important;
}

.site-nav a + a {
  border-left: 1px solid rgba(255, 250, 240, 0.18);
}

.site-nav a:hover,
.header-cta:hover {
  background: rgba(255, 250, 240, 0.12);
  color: var(--white);
}

.site-nav a[aria-current="page"],
.site-nav a[aria-current="location"] {
  background: rgba(255, 250, 240, 0.12);
  color: var(--white);
}

.header-cta {
  min-height: 84px;
  background: var(--gold);
  color: #1c2217;
}

.header-actions {
  display: flex;
  min-height: 84px;
}

.header-actions .header-cta + .header-cta {
  border-left: 1px solid rgba(255, 250, 240, 0.16);
}

.header-cta.secondary {
  background: rgba(255, 250, 240, 0.08);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 250, 240, 0.26);
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns:
    minmax(22px, 1fr)
    minmax(0, 590px)
    minmax(0, 590px)
    minmax(22px, 1fr);
  align-items: stretch;
  overflow: hidden;
  padding-top: 84px;
  background: var(--paper);
}

.hero::before {
  content: "GDSG";
  position: absolute;
  left: max(18px, calc((100vw - var(--container)) / 2));
  bottom: -0.18em;
  z-index: 2;
  color: rgba(20, 33, 23, 0.055);
  font-size: clamp(150px, 24vw, 350px);
  font-weight: 950;
  line-height: 0.75;
  pointer-events: none;
}

.hero-media {
  position: relative;
  z-index: 1;
  grid-column: 3 / 5;
  grid-row: 1;
  min-height: calc(100svh - 84px);
  clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(242, 239, 231, 0.42), transparent 32%),
    linear-gradient(0deg, rgba(20, 33, 23, 0.24), transparent 48%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 3;
  grid-column: 2 / 3;
  grid-row: 1;
  min-width: 0;
  align-self: center;
  padding: 58px 48px 64px 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
p,
li,
summary {
  overflow-wrap: break-word;
}

h1 {
  max-width: 640px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 6vw, 86px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h1 span {
  display: block;
  white-space: nowrap;
}

.hero-copy {
  width: 100%;
  max-width: 520px;
  margin-bottom: 32px;
  color: #435044;
  font-size: clamp(18px, 1.7vw, 20px);
  line-height: 1.6;
  overflow-wrap: break-word;
}

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

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

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

.button.primary {
  border-color: var(--gold);
  background: var(--gold);
  color: #1c2217;
}

.button.portal {
  background: var(--ink);
  color: var(--white);
}

.button.ghost {
  background: transparent;
  color: var(--ink);
}

.section-actions {
  min-width: 0;
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.section-actions .button {
  max-width: 100%;
}

.hero-card {
  position: absolute;
  right: max(22px, calc((100vw - var(--container)) / 2));
  bottom: 34px;
  z-index: 4;
  width: min(360px, calc(100vw - 44px));
  padding: 18px;
  border: 1px solid rgba(255, 250, 240, 0.3);
  border-radius: var(--radius);
  background: rgba(20, 33, 23, 0.72);
  color: var(--white);
  backdrop-filter: blur(14px);
}

.hero-card span {
  display: block;
  margin-bottom: 8px;
  color: #f1d557;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-card strong {
  font-size: 20px;
  line-height: 1.22;
}

.section {
  width: min(100% - 44px, var(--container));
  margin: 0 auto;
  padding: 88px 0;
}

.section[id] {
  scroll-margin-top: 104px;
}

.intro {
  width: 100%;
  display: grid;
  grid-template-columns:
    minmax(22px, 1fr)
    repeat(3, minmax(0, calc(var(--container) / 3)))
    minmax(22px, 1fr);
  gap: 0;
  padding: 0;
  border-block: 1px solid var(--line);
  background: var(--green);
  color: var(--white);
}

.intro-item {
  min-height: 142px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px;
  border-left: 1px solid rgba(255, 250, 240, 0.18);
}

.intro-item:nth-child(1) {
  grid-column: 2;
}

.intro-item:last-child {
  border-right: 1px solid rgba(255, 250, 240, 0.18);
}

.intro-item strong {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 4.8vw, 54px);
  line-height: 1;
}

.intro-item span {
  color: rgba(255, 250, 240, 0.74);
  font-weight: 800;
  text-transform: uppercase;
}

.gymnastics-about {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 56px;
  align-items: start;
}

.gymnastics-copy {
  min-width: 0;
  display: grid;
  gap: 18px;
  max-width: 720px;
}

.gymnastics-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.section-head {
  min-width: 0;
  max-width: 900px;
  margin-bottom: 50px;
}

.section-head.compact {
  margin-inline: auto;
  text-align: center;
}

.support-head,
.utility-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.support-head h2,
.utility-head h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
}

.utility-head .eyebrow {
  margin-bottom: 12px;
}

h2 {
  max-width: 920px;
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 5vw, 70px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
}

.section-head p,
.contact p {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.program-kicker {
  margin-bottom: 8px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.program-detail {
  display: grid;
  gap: 16px;
  padding-top: 56px;
}

.program-detail-block {
  min-width: 0;
  scroll-margin-top: 104px;
  padding: 0;
  border: 1px solid rgba(20, 33, 23, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.54);
  overflow: hidden;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.program-detail-block.featured-detail {
  background: rgba(223, 233, 220, 0.72);
}

.program-detail-block[open] {
  border-color: rgba(20, 33, 23, 0.22);
  background: rgba(255, 253, 247, 0.84);
  box-shadow: 0 28px 70px rgba(20, 33, 23, 0.08);
}

.program-detail-block.featured-detail[open] {
  background: rgba(223, 233, 220, 0.82);
}

.program-detail-summary {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 26px 30px;
  cursor: pointer;
  list-style: none;
}

.program-detail-summary::-webkit-details-marker {
  display: none;
}

.detail-toggle {
  flex: 0 0 auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.program-detail-block[open] .detail-toggle {
  background: var(--ink);
  color: var(--white);
}

.program-detail-block[open] .detail-toggle::before {
  content: "Zapri";
}

.program-detail-block[open] .detail-toggle {
  font-size: 0;
}

.program-detail-block[open] .detail-toggle::before {
  font-size: 12px;
}

.program-detail-head {
  min-width: 0;
  max-width: 940px;
}

.program-detail-head h3 {
  max-width: 860px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.02;
}

.program-detail-head p {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.detail-meta span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(20, 33, 23, 0.14);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.8);
  color: #485347;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.program-detail-body {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  gap: 44px;
  align-items: start;
  padding: 0 30px 30px;
}

.rich-copy {
  min-width: 0;
  display: grid;
  gap: 18px;
}

.rich-copy p {
  margin: 0;
  color: #485347;
  font-size: 17px;
  line-height: 1.78;
}

.detail-lists {
  min-width: 0;
  display: grid;
  gap: 14px;
}

.detail-lists div {
  padding: 24px;
  border: 1px solid rgba(20, 33, 23, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.82);
}

.detail-lists h3 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  line-height: 1.05;
}

.detail-lists ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.detail-lists li {
  position: relative;
  padding-left: 18px;
  line-height: 1.45;
}

.detail-lists li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.news {
  padding-top: 64px;
}

.news-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.news-card {
  min-width: 0;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid rgba(20, 33, 23, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.78);
  box-shadow: 0 18px 44px rgba(20, 33, 23, 0.055);
}

.news-card time {
  margin-bottom: 28px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.news-card h3 {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.05;
}

.news-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.news-card a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: auto;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.news-card a:hover {
  color: var(--red);
}

.trainers {
  padding-top: 64px;
}

.trainer-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.trainer-card {
  min-width: 0;
  min-height: 250px;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 24px;
  border: 1px solid rgba(20, 33, 23, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.78);
  box-shadow: 0 18px 44px rgba(20, 33, 23, 0.055);
}

.trainer-avatar {
  width: 132px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(20, 33, 23, 0.12);
  border-radius: var(--radius);
  background: var(--green);
  color: var(--gold);
  font-size: 20px;
  font-weight: 950;
}

.trainer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trainer-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.trainer-card h3 {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 2.8vw, 34px);
  line-height: 1.06;
}

.trainer-card p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.trainer-card p:last-child {
  margin-bottom: 0;
}

.trainer-card a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.trainer-card a:hover {
  color: var(--red);
}

.subpage-main {
  padding-top: 84px;
}

.subpage-hero {
  padding-top: 84px;
}

.subpage-hero .section-head {
  margin-bottom: 0;
}

.subpage-hero h1 {
  font-size: clamp(46px, 5.2vw, 72px);
}

.practical {
  min-width: 0;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 58px;
  align-items: start;
}

.flow-grid article,
.practical-list div {
  min-width: 0;
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(20, 33, 23, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.72);
}

.flow-grid h3,
.practical-list h3 {
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.08;
}

.flow-grid p,
.practical-list p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.pricing {
  width: 100%;
  padding-inline: max(22px, calc((100vw - var(--container)) / 2));
  background: var(--ink);
  color: var(--white);
}

.pricing .eyebrow {
  color: var(--gold);
}

.pricing .section-head p {
  margin-inline: auto;
  color: rgba(255, 250, 240, 0.72);
}

.membership-banner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 26px;
  border: 1px solid rgba(255, 250, 240, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.06);
}

.membership-banner span,
.membership-banner p {
  margin: 0;
  color: rgba(255, 250, 240, 0.72);
  font-weight: 900;
}

.membership-banner strong {
  color: var(--gold);
  font-size: 30px;
  line-height: 1;
}

.price-list {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.price-card {
  min-width: 0;
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 250, 240, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.055);
}

.price-card-head,
.annual-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.price-card h3 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.1;
}

.price-card p,
.annual-line span {
  margin: 0;
  color: rgba(255, 250, 240, 0.68);
  font-size: 17px;
}

.price-card-head > strong {
  flex: 0 0 auto;
  color: var(--white);
  font-size: clamp(32px, 4vw, 42px);
  line-height: 1;
}

.price-card-head > strong span {
  color: rgba(255, 250, 240, 0.62);
  font-size: 16px;
}

.annual-line {
  min-height: 86px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 250, 240, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.045);
}

.annual-line strong {
  display: block;
  margin-top: 4px;
  color: var(--white);
  font-size: 24px;
}

.saving-pill {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  background: #e8f8ee;
  color: #00733f !important;
  font-size: 16px !important;
  font-weight: 950;
  white-space: nowrap;
}

.price-notes {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.price-notes article {
  padding: 22px 24px;
  border: 1px solid rgba(255, 250, 240, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.045);
}

.price-notes h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.price-notes p {
  margin: 0;
  color: rgba(255, 250, 240, 0.68);
  font-size: 16px;
}

.flow-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.flow-grid article {
  min-height: 260px;
  display: grid;
  align-content: start;
}

.flow-grid strong {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 34px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  line-height: 1;
}

.form-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.form-links a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(20, 33, 23, 0.16);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.form-links a:hover {
  background: var(--green);
  color: var(--white);
}

.practical {
  padding-top: 64px;
}

.practical-main {
  min-width: 0;
}

.practical-main p {
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.practical-list {
  min-width: 0;
  display: grid;
  gap: 14px;
}

.practical-list div {
  min-height: 0;
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 22px;
  align-items: start;
}

.faq {
  padding-top: 70px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  min-width: 0;
  border: 1px solid rgba(20, 33, 23, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.8);
}

.faq-list summary {
  cursor: pointer;
  padding: 22px 24px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.18;
}

.faq-list p {
  max-width: 760px;
  margin: 0;
  padding: 0 24px 24px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 46px;
  align-items: center;
}

.contact-card {
  min-width: 0;
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.contact-card a,
.contact-card span {
  min-height: 76px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.contact-card a + a,
.contact-card span {
  border-top: 1px solid var(--line);
}

.contact-card a:hover {
  background: var(--green-soft);
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 34px 22px;
  border-top: 1px solid var(--line);
  background: var(--panel);
}

footer img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

footer p {
  margin: 0;
  color: var(--muted);
}

footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav,
  .header-actions {
    display: none;
  }

  .site-nav.is-open {
    position: fixed;
    inset: 84px 0 auto;
    display: grid;
    height: auto;
    border: 0;
    border-top: 1px solid rgba(255, 250, 240, 0.18);
    background: rgba(20, 33, 23, 0.98);
  }

  .site-nav.is-open a {
    min-height: 58px;
    justify-content: flex-start;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 250, 240, 0.14);
  }

  .site-nav.is-open .mobile-only {
    display: flex !important;
  }

  .hero {
    grid-template-columns: 22px minmax(0, 1fr) 22px;
    min-height: auto;
    padding-top: 84px;
  }

  .hero-media {
    grid-column: 1 / -1;
    grid-row: 1;
    height: 40svh;
    min-height: 40svh;
    clip-path: none;
  }

  .hero-content {
    grid-column: 2;
    grid-row: 2;
    padding: 44px 0 42px;
  }

  .hero-card {
    display: none;
  }

  .program-detail-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact,
  .practical,
  .gymnastics-about,
  .program-detail-body {
    grid-template-columns: 1fr;
  }

  .gymnastics-about {
    gap: 26px;
  }

  .gymnastics-copy {
    max-width: none;
  }

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

@media (max-width: 700px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    min-height: 74px;
    padding-inline: 16px;
  }

  .brand img {
    width: 52px;
    height: 52px;
  }

  .brand small {
    display: none;
  }

  .hero {
    grid-template-columns: 16px minmax(0, 1fr) 32px;
    padding-top: 74px;
  }

  .hero-media {
    height: 30svh;
    min-height: 220px;
    max-height: 260px;
  }

  .hero-media img {
    object-position: 58% center;
  }

  .hero-content {
    width: 100%;
    max-width: calc(100vw - 48px);
    padding-block: 30px 38px;
  }

  h1 {
    max-width: min(100%, 340px);
    margin-bottom: 18px;
    font-size: clamp(38px, 10.5vw, 48px);
    line-height: 0.98;
  }

  h2 {
    font-size: clamp(34px, 9vw, 44px);
    line-height: 1;
  }

  .support-head h2,
  .utility-head h2 {
    font-size: clamp(28px, 7vw, 34px);
    line-height: 1.08;
  }

  .subpage-hero h1 {
    font-size: clamp(40px, 10vw, 52px);
  }

  .hero-actions,
  .hero-copy {
    max-width: min(100%, 340px);
  }

  .hero-copy,
  .gymnastics-copy p,
  .section-head p,
  .practical-main p,
  .contact p {
    width: 100%;
    max-width: 100%;
    font-size: 16px;
  }

  .hero-copy {
    max-width: min(100%, 340px);
  }

  .button {
    width: 100%;
  }

  .section {
    width: min(100% - 32px, var(--container));
    padding: 64px 0;
  }

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

  .intro-item,
  .intro-item:nth-child(1) {
    grid-column: 1;
    min-height: 110px;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 250, 240, 0.18);
  }

  .intro-item:last-child {
    border-right: 0;
    border-bottom: 0;
  }

  .program-detail {
    padding-top: 42px;
  }

  .program-detail-summary {
    padding: 22px;
  }

  .program-detail-head h3 {
    font-size: clamp(25px, 7.8vw, 34px);
  }

  .detail-meta span {
    min-height: 30px;
    font-size: 11px;
    letter-spacing: 0.04em;
  }

  .detail-toggle {
    width: 100%;
  }

  .program-detail-body {
    gap: 24px;
    padding: 0 22px 22px;
  }

  .rich-copy p {
    font-size: 16px;
    line-height: 1.68;
  }

  .detail-lists h3,
  .flow-grid h3,
  .practical-list h3 {
    font-size: 23px;
  }

  .news-card h3,
  .trainer-card h3,
  .faq-list summary {
    font-size: 24px;
  }

  .flow-grid,
  .price-list,
  .price-notes,
  .news-grid,
  .trainer-grid {
    grid-template-columns: 1fr;
  }

  .trainer-card {
    grid-template-columns: 1fr;
  }

  .trainer-avatar {
    width: 100%;
    max-width: 170px;
  }

  .flow-grid article {
    min-height: 0;
  }

  .practical-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .membership-banner,
  .price-card-head,
  .annual-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .membership-banner {
    padding: 18px;
  }

  .saving-pill {
    width: 100%;
    justify-content: center;
  }

  footer {
    flex-wrap: wrap;
  }
}
