/* ==========================================================================
   Riptopia — strength gym landing page
   Scoped to .rt-landing. Other templates keep the XSimply styling.
   ========================================================================== */

.rt-landing {
  --bone: #f4f3ef;
  --bone-2: #e8e6df;
  --white: #ffffff;
  --black: #101010;
  --black-2: #1c1c1c;
  --black-3: #2a2a2a;
  --ink: #171717;
  --muted: #6d6d68;
  --lime: #c8f04a;
  --lime-2: #b3da35;
  --lime-soft: #eef8cf;
  --edge: #dad7ce;
  --edge-dark: rgba(244, 243, 239, 0.14);

  --display: "Anton", "Helvetica Neue", Arial, sans-serif;
  --body: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gutter: 24px;

  background: var(--bone);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.rt-landing img { max-width: 100%; height: auto; display: block; }
.rt-landing p { margin: 0; }

.rt-landing h1,
.rt-landing h2,
.rt-landing h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin: 0;
  color: var(--black);
}

.rt-wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.rt-kicker {
  display: inline-block;
  background: var(--lime);
  color: var(--black);
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  padding: 7px 14px;
}
.rt-kicker--outline { background: transparent; color: var(--lime); border: 1px solid var(--lime); }

/* ---------- Buttons ---------- */
.rt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 32px;
  font-family: var(--body);
  font-size: 14.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.rt-btn--lime { background: var(--lime); color: var(--black); }
.rt-btn--lime:hover { background: var(--lime-2); color: var(--black); }
.rt-btn--black { background: var(--black); color: var(--bone); }
.rt-btn--black:hover { background: var(--black-3); color: var(--bone); }
.rt-btn--line { border-color: var(--black); color: var(--black); }
.rt-btn--line:hover { background: var(--black); color: var(--bone); }
.rt-btn--line-light { border-color: var(--edge-dark); color: var(--bone); }
.rt-btn--line-light:hover { border-color: var(--lime); color: var(--lime); }
.rt-btn--sm { padding: 12px 22px; font-size: 13px; }

/* ---------- Ticker bar ---------- */
.rt-bar {
  background: var(--black); color: var(--bone);
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: 11px 20px; text-align: center;
}
.rt-bar strong { color: var(--lime); font-weight: 700; }

/* ---------- Header ---------- */
.rt-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(244, 243, 239, .95);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 2px solid var(--black);
}
.rt-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; height: 76px; }
.rt-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.rt-logo__mark {
  width: 38px; height: 38px; flex: none;
  background: var(--black); color: var(--lime);
  display: grid; place-items: center;
  font-family: var(--display); font-size: 20px;
}
.rt-logo__name {
  font-family: var(--display); font-size: 25px; text-transform: uppercase;
  color: var(--black); line-height: 1; letter-spacing: .01em;
}
.rt-logo__sub {
  display: block; font-family: var(--body); font-size: 9.5px; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-top: 5px;
}
.rt-nav { display: flex; gap: 28px; }
.rt-nav a {
  font-size: 13px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
}
.rt-nav a:hover { color: var(--black); }

/* ---------- Hero ---------- */
.rt-hero { padding: 76px 0 0; position: relative; overflow: hidden; }
.rt-hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 54px; align-items: center; }
.rt-hero h1 {
  font-size: clamp(3.2rem, 8.2vw, 6.4rem);
  margin: 22px 0 0;
}
.rt-hero h1 span {
  display: inline-block;
  background: var(--lime);
  padding: 0 .12em;
}
.rt-hero__lede { font-size: 18.5px; color: var(--muted); max-width: 46ch; margin-top: 26px; }
.rt-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.rt-hero__micro {
  margin-top: 24px; font-size: 12.5px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.rt-hero__media { position: relative; }
.rt-hero__media::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  background: var(--lime); z-index: 0;
}
.rt-hero__media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Stat strip ---------- */
.rt-strip {
  margin-top: 72px;
  background: var(--black);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.rt-strip__item { padding: 34px 30px; border-left: 1px solid var(--black-3); }
.rt-strip__item:first-child { border-left: 0; }
.rt-strip__v { font-family: var(--display); font-size: 40px; color: var(--lime); line-height: 1; }
.rt-strip__l {
  margin-top: 10px; font-size: 12px; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; color: rgba(244,243,239,.62);
}

/* ---------- Sections ---------- */
.rt-section { padding: 100px 0; }
.rt-section--tint { background: var(--bone-2); }
.rt-section--black { background: var(--black); color: rgba(244,243,239,.72); }
.rt-section--black h2, .rt-section--black h3 { color: var(--bone); }

.rt-head { max-width: 760px; margin-bottom: 56px; }
.rt-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.rt-head h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin: 18px 0 16px; }
.rt-head p { font-size: 18px; color: var(--muted); }
.rt-section--black .rt-head p { color: rgba(244,243,239,.66); }

/* ---------- Programs ---------- */
.rt-programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rt-program {
  background: var(--white); border: 2px solid var(--black);
  padding: 34px 30px;
  display: flex; flex-direction: column;
  transition: background-color .18s ease;
}
.rt-program:hover { background: var(--lime-soft); }
.rt-program__n {
  font-family: var(--display); font-size: 15px; color: var(--muted);
  letter-spacing: .12em; margin-bottom: 18px;
}
.rt-program h3 { font-size: 28px; margin-bottom: 12px; }
.rt-program p { color: var(--muted); font-size: 15.5px; flex: 1; }
.rt-program__meta {
  margin-top: 22px; padding-top: 16px; border-top: 2px solid var(--black);
  display: flex; justify-content: space-between; gap: 14px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.rt-program__meta span:last-child { color: var(--muted); }

/* ---------- Timetable ---------- */
.rt-table-wrap { border: 2px solid var(--bone); overflow: hidden; }
.rt-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.rt-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.rt-table th, .rt-table td {
  padding: 15px 16px; text-align: left;
  border-bottom: 1px solid var(--black-3); border-right: 1px solid var(--black-3);
}
.rt-table th:last-child, .rt-table td:last-child { border-right: 0; }
.rt-table thead th {
  background: var(--black-2);
  font-family: var(--body); font-size: 11.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--lime);
}
.rt-table tbody th {
  font-weight: 700; color: var(--bone); white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.rt-table td { color: rgba(244,243,239,.68); }
.rt-table td.is-full { color: var(--lime); font-weight: 600; }
.rt-table tr:last-child th, .rt-table tr:last-child td { border-bottom: 0; }
.rt-timetable__note { margin-top: 22px; font-size: 14px; color: rgba(244,243,239,.55); text-align: center; }

/* ---------- Memberships ---------- */
.rt-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.rt-plan { background: var(--white); border: 2px solid var(--black); padding: 34px 30px; display: flex; flex-direction: column; }
.rt-plan--feature { background: var(--black); color: rgba(244,243,239,.74); position: relative; }
.rt-plan--feature h3 { color: var(--bone); }
.rt-plan--feature .rt-plan__price { color: var(--lime); }
.rt-plan--feature li { color: rgba(244,243,239,.8); }
.rt-plan--feature ul { border-top-color: var(--black-3); }
.rt-plan__tag {
  position: absolute; top: -13px; left: 28px;
  background: var(--lime); color: var(--black);
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 12px;
}
.rt-plan h3 { font-size: 26px; margin-bottom: 8px; }
.rt-plan__for { font-size: 14.5px; color: var(--muted); }
.rt-plan--feature .rt-plan__for { color: rgba(244,243,239,.6); }
.rt-plan__price { font-family: var(--display); font-size: 46px; color: var(--black); line-height: 1; margin: 22px 0 4px; }
.rt-plan__price small { font-family: var(--body); font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.rt-plan ul {
  list-style: none; margin: 24px 0 28px; padding: 22px 0 0;
  border-top: 2px solid var(--black); display: grid; gap: 11px; flex: 1;
}
.rt-plan li { position: relative; padding-left: 20px; font-size: 15px; }
.rt-plan li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 9px; height: 2px; background: var(--lime-2);
}
.rt-plan--feature li::before { background: var(--lime); }

/* ---------- Coaches ---------- */
.rt-coaches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rt-coach { background: var(--white); border: 2px solid var(--black); padding: 30px; }
.rt-coach__initials {
  width: 72px; height: 72px; margin-bottom: 20px;
  background: var(--lime); color: var(--black);
  display: grid; place-items: center;
  font-family: var(--display); font-size: 26px;
}
.rt-coach h3 { font-size: 23px; margin-bottom: 6px; }
.rt-coach__role {
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.rt-coach p { margin-top: 14px; color: var(--muted); font-size: 15px; }

/* ---------- Facility ---------- */
.rt-facility { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.rt-facility img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.rt-kit { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; }
.rt-kit li { border-top: 2px solid var(--lime); padding-top: 13px; }
.rt-kit strong {
  display: block; font-family: var(--display); font-size: 21px;
  color: var(--bone); margin-bottom: 3px;
}
.rt-kit span { font-size: 14px; color: rgba(244,243,239,.6); }

/* ---------- FAQ ---------- */
.rt-faq { max-width: 880px; margin: 0 auto; }
.rt-faq details { border-bottom: 2px solid var(--black); }
.rt-faq summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0;
  font-family: var(--display); font-size: 22px; text-transform: uppercase; color: var(--black);
}
.rt-faq summary::-webkit-details-marker { display: none; }
.rt-faq summary::after {
  content: "+"; font-family: var(--body); font-size: 26px; font-weight: 400;
  color: var(--muted); flex: none; transition: transform .2s ease;
}
.rt-faq details[open] summary::after { transform: rotate(45deg); }
.rt-faq details p { padding: 0 0 24px; color: var(--muted); font-size: 16px; max-width: 70ch; }

/* ---------- CTA ---------- */
.rt-cta { background: var(--lime); padding: 96px 0; }
.rt-cta__box { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.rt-cta h2 { color: var(--black); font-size: clamp(2.5rem, 5.4vw, 4.2rem); margin-bottom: 18px; }
.rt-cta p { color: rgba(16,16,16,.75); font-size: 18px; max-width: 44ch; }
.rt-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.rt-contact { display: grid; gap: 18px; }
.rt-contact__row { display: flex; gap: 14px; align-items: flex-start; }
.rt-contact__row svg { flex: none; margin-top: 3px; color: var(--black); }
.rt-contact__row span {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(16,16,16,.55); margin-bottom: 3px;
}
.rt-contact__row a, .rt-contact__row strong { color: var(--black); font-size: 16px; font-weight: 700; text-decoration: none; }
.rt-contact__row a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.rt-footer { background: var(--black); color: rgba(244,243,239,.55); padding: 54px 0 30px; font-size: 15px; }
.rt-footer__cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid var(--black-3); }
.rt-footer .rt-logo__name { color: var(--bone); }
.rt-footer h4 {
  font-family: var(--body); font-size: 11.5px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--bone); margin-bottom: 16px;
}
.rt-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rt-footer a { color: rgba(244,243,239,.64); text-decoration: none; }
.rt-footer a:hover { color: var(--lime); }
.rt-footer__blurb { margin-top: 16px; max-width: 32ch; font-size: 14.5px; }
.rt-footer__base { padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13.5px; }
.rt-footer__legal { margin-top: 18px; font-size: 12.5px; line-height: 1.6; color: rgba(244,243,239,.4); max-width: 98ch; }
.rt-footer__credit { margin-top: 12px; font-size: 12px; color: rgba(244,243,239,.32); }
.rt-footer__credit a { color: rgba(244,243,239,.46); text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .rt-hero__grid, .rt-facility, .rt-cta__box { grid-template-columns: 1fr; gap: 42px; }
  .rt-hero__media::before { inset: 14px -14px -14px 14px; }
  .rt-strip { grid-template-columns: repeat(2, 1fr); }
  .rt-strip__item:nth-child(3) { border-left: 0; }
  .rt-programs, .rt-plans, .rt-coaches { grid-template-columns: 1fr; }
  .rt-footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  .rt-nav { display: none; }
  .rt-header__inner { height: 66px; }
  .rt-section, .rt-cta { padding: 70px 0; }
  .rt-hero { padding-top: 52px; }
  .rt-strip { grid-template-columns: 1fr; }
  .rt-strip__item { border-left: 0; border-bottom: 1px solid var(--black-3); padding: 24px; }
  .rt-kit { grid-template-columns: 1fr; }
  .rt-footer__cols { grid-template-columns: 1fr; }
  .rt-hero__actions .rt-btn, .rt-cta__actions .rt-btn { flex: 1 1 100%; }

  /* Timetable scrolls sideways rather than collapsing */
  .rt-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .rt-table { min-width: 660px; }
}

@media (prefers-reduced-motion: reduce) {
  .rt-landing * { transition: none !important; }
}
