/* ==========================================================================
   Oak Tree Gymnastics — info page (matches the Instagram posts)
   ========================================================================== */

.info {
  --post-green: #548264;
  --post-sage: #9fc5b0;
  --post-forest: #3c5d4a;
  --post-ink: #416752;
  --post-mint: #b5d4c5;
  --post-mist: #e6efe9;
  --mustard: #c9962f;
  --leaf: #3f9d63;
  --clay: #ad6b4f;
  --font-dirt: "Rubik Dirt", "Figtree", system-ui, sans-serif;

  display: block;
  background: var(--paper);
}

.wrap {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding-inline: 24px;
}

/* Top bar ----------------------------------------------------------------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px max(24px, calc((100% - 980px) / 2 + 24px));
  background: rgba(246, 243, 236, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(65, 103, 82, .12);
}
.topbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--green-deep);
  white-space: nowrap;
}
.topbar-brand img { width: 44px; height: 44px; }
.topbar-brand small { font-size: 1em; font-weight: 700; }

.pill {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--post-green);
  color: #fff;
  font: 600 .95rem/1 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, transform .2s ease;
}
.pill:hover { background: var(--post-forest); transform: translateY(-1px); }
.pill-light { background: var(--paper); color: var(--post-forest); padding: 16px 30px; font-size: 1.05rem; }
.pill-light:hover { background: #fff; }

/* Bands ------------------------------------------------------------------- */

.band { position: relative; padding: 96px 0; overflow: hidden; overflow: clip; }
.band-green  { background: var(--post-green);  color: var(--post-mint); }
.band-sage   { background: var(--post-sage);   color: var(--post-ink); }
.band-paper  { background: var(--paper);       color: var(--post-ink); }
.band-mist   { background: var(--post-mist);   color: var(--post-ink); }
.band-forest { background: var(--post-forest); color: var(--post-mint); }

.big {
  max-width: 34em;
  margin: 0 0 18px;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  line-height: 1.5;
}
.big strong { font-weight: 600; color: #fff; }

/* Titles */
.title-wrap { position: relative; display: inline-block; margin-bottom: 44px; padding-right: 150px; }

.title-sans {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(2.3rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: inherit;
}
.band-green .title-sans { color: var(--post-mint); }

.title-dirt {
  margin: 0 0 40px;
  font-family: var(--font-dirt);
  font-weight: 400;
  font-size: clamp(2.4rem, 6.5vw, 4.4rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.title-dark { color: var(--post-ink); }
.title-mint { color: var(--post-mint); }

.title-stack { margin: 0; color: var(--post-ink); }
.title-stack .title-sans { display: block; }
.title-stack .title-dirt { display: block; margin: 4px 0 0 1.6em; font-size: clamp(2.6rem, 7vw, 4.8rem); }

.dirt { font-family: var(--font-dirt); color: #fff; letter-spacing: .02em; }

/* Brush strokes */
.swoosh, .burst, .squiggle { position: absolute; fill: none; stroke-linecap: round; filter: url(#rough); pointer-events: none; }
.swoosh { left: -34px; bottom: -40px; width: 74%; stroke: var(--post-mint); stroke-width: 7; }
.burst { right: 0; top: -36px; width: 130px; stroke-width: 11; }
.burst-mint { stroke: var(--post-mint); }
.squiggle { right: 24px; bottom: -40px; width: 300px; stroke: var(--post-ink); stroke-width: 7; opacity: .9; }

/* More than just gymnastics */
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.trio li {
  padding: 28px 26px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .32);
}
.trio h3 { margin: 14px 0 6px; font: 800 1.2rem/1.2 var(--font-body); color: var(--post-ink); }
.trio p { margin: 0; font-size: 1rem; }
.dot {
  display: block;
  width: 46px; height: 10px;
  border-radius: 6px;
  background: var(--c);
  filter: url(#rough);
}

/* Classes */
.classes { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 20px; }
.class-card {
  padding: 28px;
  border-radius: 22px;
  background: var(--post-green);
  color: var(--post-mint);
}
.class-card:nth-child(2) { background: var(--post-forest); }
.class-age { margin: 0 0 14px; font: 700 .9rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.class-slot { margin: 0; font: 800 1.6rem/1.35 var(--font-body); color: #fff; letter-spacing: -0.01em; }
.class-slot b { display: inline-block; min-width: 4.6em; font-weight: 600; font-size: .7em; letter-spacing: 0; color: var(--post-mint); }

/* Calendar */
.cal-block { margin-top: 56px; }
.cal-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.cal-head h3 { margin: 0; font: 800 1.5rem/1.2 var(--font-body); color: var(--post-ink); }

.age-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.age-filter button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1.5px solid rgba(65, 103, 82, .25);
  border-radius: 999px;
  background: #fff;
  color: var(--post-ink);
  font: 600 .92rem/1 var(--font-body);
  cursor: pointer;
  transition: all .15s ease;
}
.age-filter button:hover { border-color: var(--post-green); }
.age-filter button[aria-pressed="true"] { background: var(--post-ink); border-color: var(--post-ink); color: #fff; }
.swatch { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }

.cal {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(65, 103, 82, .06), 0 20px 44px -28px rgba(65, 103, 82, .45);
  overflow: hidden;
}
.cal-month { padding: 24px; }
.cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-title { margin: 0; font: 800 1.1rem/1 var(--font-body); color: var(--post-ink); }
.cal-arrow {
  width: 38px; height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--post-mist);
  color: var(--post-ink);
  font: 600 1.3rem/1 var(--font-body);
  cursor: pointer;
}
.cal-arrow:hover:not(:disabled) { background: var(--post-sage); }
.cal-arrow:disabled { opacity: .35; cursor: default; }

.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-weekdays { margin-bottom: 6px; }
.cal-weekdays span { text-align: center; font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }

.cal-day {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  aspect-ratio: 1;
  min-height: 40px;
  border: 0;
  border-radius: 12px;
  background: none;
  color: #9aa69e;
  font: 500 .95rem/1 var(--font-body);
}
.cal-day.has-class { color: var(--post-ink); font-weight: 700; background: var(--post-mist); cursor: pointer; }
.cal-day.has-class:hover { background: #d8e7dd; }
.cal-day.past { opacity: .45; }
.cal-day.today .cal-num { text-decoration: underline; text-underline-offset: 3px; }
.cal-day.selected { background: var(--post-ink); color: #fff; }
.cal-day.selected:hover { background: var(--post-ink); }
.cal-dots { display: flex; gap: 3px; }
.cal-dots i { width: 6px; height: 6px; border-radius: 50%; }
.cal-day.selected .cal-dots i { box-shadow: 0 0 0 1.5px var(--post-ink), 0 0 0 2.5px rgba(255, 255, 255, .7); }

.cal-detail { padding: 28px 26px; background: var(--post-sage); color: var(--post-ink); }
.cal-date { margin: 0 0 18px; font: 800 1.35rem/1.2 var(--font-body); }
.cal-empty { margin: 0; }
.sessions { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.session {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-left: 5px solid var(--c);
  border-radius: 14px;
  background: rgba(255, 255, 255, .55);
  animation: rise .35s ease both;
}
.session:nth-child(2) { animation-delay: .06s; }
.session p { margin: 0; }
.session-time { font: 800 1.25rem/1.2 var(--font-body); }
.session-meta { font-size: .9rem; }
.session-btn {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--post-ink);
  color: #fff;
  font: 600 .88rem/1 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
}
.session-btn:hover { background: var(--post-forest); }

.note { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 24px 0 0; font-size: 1rem; }
.tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--mustard);
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Fees */
.step { margin: 0 0 10px; font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--post-green); }
.step-gap { margin-top: 40px; }

.join {
  max-width: 620px;
  padding: 30px 28px;
  border-left: 6px solid var(--mustard);
  border-radius: 18px;
  background: #fff;
}
.join h3, .plan h3 { margin: 0 0 6px; font: 800 1.35rem/1.2 var(--font-body); color: var(--post-ink); }
.join p:not(.step) { margin: 0 0 12px; }
.join a { font-weight: 600; color: var(--post-green); }

.pay-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin: 40px 0 18px; }
.pay-head .step { margin: 0; }

.freq { display: inline-flex; padding: 4px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(65, 103, 82, .18); }
.freq button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--post-ink);
  font: 600 .95rem/1 var(--font-body);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.freq button[aria-pressed="true"] { background: var(--post-ink); color: #fff; }
.freq-tag { padding: 4px 8px; border-radius: 999px; background: var(--mustard); color: #fff; font-size: .7rem; letter-spacing: .04em; text-transform: uppercase; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 22px;
  border: 2px solid rgba(84, 130, 100, .22);
  border-radius: 20px;
  background: rgba(255, 255, 255, .7);
  animation: rise .35s ease both;
}
.plan:nth-child(2) { animation-delay: .05s; }
.plan:nth-child(3) { animation-delay: .1s; }
.plan h3 { margin: 0 0 12px; font: 800 1.2rem/1.2 var(--font-body); color: var(--post-ink); }
.plan-price { margin: 0; font: 800 2.4rem/1 var(--font-body); letter-spacing: -0.02em; color: var(--post-ink); }
.plan-price span { margin-left: 3px; font-size: .95rem; font-weight: 600; letter-spacing: 0; color: var(--post-green); }
.plan-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 20px; color: var(--post-green); font-weight: 500; }
.save { padding: 3px 9px; border-radius: 999px; background: #e7f2e9; color: #2f7a4b; font-size: .8rem; font-weight: 700; }

.plan-nudge {
  margin: auto 0 0;
  padding: 12px 14px;
  border: 0;
  border-radius: 12px;
  background: var(--post-mist);
  color: var(--post-ink);
  font: 400 .9rem/1.35 var(--font-body);
  text-align: left;
}
.plan-nudge b { font-weight: 700; }
button.plan-nudge { cursor: pointer; transition: background .2s ease; }

.plan-badge {
  position: absolute;
  top: -12px;
  left: 22px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--post-green);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.plan-best {
  border-color: var(--post-forest);
  background: var(--post-forest);
  box-shadow: 0 24px 40px -24px rgba(60, 93, 74, .8);
  transform: translateY(-8px);
}
.plan-best { animation-name: rise-best; }
.plan-best h3, .plan-best .plan-price { color: #fff; }
.plan-best .plan-price span, .plan-best .plan-sub { color: var(--post-mint); }
.plan-best .save { background: var(--mustard); color: #fff; }
.plan-best .plan-badge { background: var(--mustard); }
.plan-best .plan-nudge { background: rgba(255, 255, 255, .12); color: #fff; }
.plan-best button.plan-nudge:hover { background: rgba(255, 255, 255, .2); }

@keyframes rise-best { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(-8px); } }

.fine-print { margin: 18px 0 0; font-size: .82rem; color: var(--muted); }

/* Values */
.values-intro { margin-bottom: 44px; }
.letters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.letters li:not(.break) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 216px;
  padding: 20px 22px;
  border: 1.5px solid rgba(181, 212, 197, .25);
  border-radius: 20px;
}
.letters .break { flex-basis: 100%; height: 0; }
.letters b {
  font-family: var(--font-dirt);
  font-weight: 400;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--c);
}
.letters span {
  margin-top: 10px;
  font: 700 .88rem/1.2 var(--font-body);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--post-mint);
}

/* CTA */
.cta { text-align: center; padding: 88px 0; }
.cta .title-sans { margin-bottom: 4px; }
.cta .big { margin: 0 auto 30px; }

/* Footer */
.info-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 48px 16px 32px;
  text-align: center;
  color: var(--post-ink);
}
.info-footer img { width: 96px; margin-bottom: 12px; }
.info-footer p { margin: 0; }
.info-footer .legal-links { margin-top: 10px; font-size: .9rem; }
.info-footer .legal-links a { color: var(--post-green); font-weight: 600; }
.info-footer .copy { margin-top: 16px; font-size: .82rem; color: var(--muted); }

/* Responsive -------------------------------------------------------------- */

@media (max-width: 760px) {
  .band { padding: 72px 0; }
  .trio, .plans { grid-template-columns: 1fr; }
  .plans { gap: 22px; }
  .plan-best { transform: none; }
  @keyframes rise-best { from { opacity: 0; } to { opacity: 1; } }
  .letters li:not(.break) { width: calc(50% - 8px); }
  .letters .break { display: none; }
  .cal { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .wrap { padding-inline: 16px; }
  .topbar { padding: 10px 16px; }
  .topbar-brand { font-size: 1rem; }
  .topbar-brand img { width: 36px; height: 36px; }
  .pill { padding: 10px 16px; font-size: .88rem; }
  .pill-light { padding: 15px 26px; font-size: 1rem; }
  .topbar-brand small { display: none; }
  .title-wrap { display: block; padding-right: 70px; }
  .burst { width: 76px; top: -30px; }
  .burst-colour { top: -44px; }
  .squiggle { display: none; }
  .freq { width: 100%; }
  .freq button { flex: 1; justify-content: center; padding: 11px 8px; white-space: nowrap; }
  .freq-tag { display: none; }
  .letters { gap: 12px; }
  .letters li:not(.break) { width: calc(50% - 6px); padding: 16px; }
  .letters span { font-size: .78rem; letter-spacing: .05em; }
  .swoosh { left: -14px; width: 90%; }
  .classes { grid-template-columns: 1fr; }
  .cal-month { padding: 18px 14px; }
  .cal-detail { padding: 22px 18px; }
  .cal-day { min-height: 0; border-radius: 10px; }
  .title-stack .title-dirt { margin-left: .6em; }
}
