/*
Theme Name: Claytown
Theme URI: https://claytowncrossfit.com
Author: ClickUpLocal
Author URI: https://clickuplocal.com
Description: Custom theme for Claytown CrossFit, built from the claytown-homepage-v2 design.
Version: 1.3.7
Requires PHP: 7.4
Text Domain: claytown
*/

:root {
  --clay: #E85F0D;
  --clay-dark: #C24E08;
  --charcoal: #171717;
  --warm-white: #F8F7F4;
  --white: #FFFFFF;
  --warm-gray: #6D6D6D;
  --sand: #D8C5AF;
  --r-btn: 14px;
  --r-card: 16px;
  --r-base: 12px;
  --container: 1280px;
  --section-space: 120px;
  --grid-space: 32px;
}
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--charcoal);
  -webkit-font-smoothing: antialiased;
}
h2 { white-space: nowrap; }
h1, h2, h3, .display {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 0.95;
}
.container { max-width: var(--container); margin: 0 auto; padding: 0 48px; }
section { padding: var(--section-space) 0; }
img, .ph { display:block; width:100%; }
.ph { background: repeating-linear-gradient(115deg, #d9d3c8 0px, #d9d3c8 34px, #cfc7b9 34px, #cfc7b9 68px); border-radius: var(--r-card); }
img.ph { object-fit: cover; }
.ph.dark { background: repeating-linear-gradient(115deg, #2a2a2a 0px, #2a2a2a 34px, #232323 34px, #232323 68px); }
a { text-decoration:none; color:inherit; }
ul { list-style:none; }

/* fade-up reveal */
.reveal { opacity:0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity:1; transform: translateY(0); }

/* ===== BUTTONS ===== */
.btn {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16.5px;
  padding: 18px 36px;
  border-radius: var(--r-btn);
  display: inline-block;
  cursor: pointer;
  border: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-clay { background: var(--clay); color: var(--white); box-shadow: 0 8px 24px rgba(232,95,13,0.35); }
.btn-clay:hover { background: var(--clay-dark); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(232,95,13,0.45); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.55); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.9); }
.btn-outline.on-light { color: var(--charcoal); border-color: rgba(23,23,23,0.25); }
.btn-outline.on-light:hover { background: rgba(23,23,23,0.05); border-color: rgba(23,23,23,0.5); }

.eyebrow { font-size: 14.5px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--clay); margin-bottom: 18px; }
.eyebrow.on-dark { color: var(--sand); }

/* ===== NAV ===== */
nav.site-nav {
  position: absolute; top:0; left:0; right:0; z-index: 100;
  background: transparent;
  padding: 56px 0 28px;
}
nav.site-nav .container { display:flex; align-items:center; justify-content:space-between; }
.nav-logo { font-family:'Bebas Neue',sans-serif; font-size: 22px; letter-spacing: 1.5px; color: var(--white); }
.nav-logo img { height: 64px; width: auto; display: block; }
.nav-links { display:flex; gap: 40px; }
.nav-links a { font-family:'Inter',sans-serif; font-weight:600; font-size: 17px; color: rgba(255,255,255,0.88); transition: color .2s; }
.nav-links a:hover { color: var(--sand); }
.nav-cta { background: var(--clay); color:#fff; font-weight:700; font-size:16.5px; padding:16px 32px; border-radius: var(--r-btn); }
.nav-cta:hover { background: var(--clay-dark); }

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: repeating-linear-gradient(115deg, #3a3630 0px, #3a3630 46px, #2f2c27 46px, #2f2c27 92px);
  padding-top: 0;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.5s ease;
  transform: scale(1.04);
}
.hero-slide.on { opacity: 1; transform: scale(1); transition: opacity 1.5s ease, transform 7s ease; }
/* Lighter overlay so the photo pops; a focused radial keeps the centered text
   readable without flattening the whole image to grey. */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 90% 62% at 50% 46%, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.22) 55%, rgba(0,0,0,0) 80%),
    linear-gradient(180deg, rgba(23,23,23,0.28) 0%, rgba(23,23,23,0.14) 42%, rgba(23,23,23,0.5) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 1000px; margin: 0 auto; text-align: center; padding: 180px 0 100px; }
/* Drop shadows so the content pops off the brighter photo. */
.hero-content .eyebrow { text-shadow: 0 2px 12px rgba(0,0,0,0.55); }
.hero h1 {
  color: var(--white);
  font-size: 116px;
  margin-bottom: 28px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.6), 0 2px 6px rgba(0,0,0,0.45);
}
.hero p.sub {
  color: #fff;
  font-size: 20px;
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto 40px;
  font-weight: 400;
  text-shadow: 0 2px 16px rgba(0,0,0,0.7);
}
.hero .btn-row .btn { box-shadow: 0 14px 34px rgba(0,0,0,0.45); }
.hero .btn-row .btn-outline { background: rgba(0,0,0,0.28); backdrop-filter: blur(3px); }
.hero .btn-row { display:flex; gap: 18px; justify-content: center; }
.scroll-cue {
  position:absolute; bottom:40px; left:50%; transform: translateX(-50%); z-index: 2;
  color: rgba(255,255,255,0.6); font-size:12px; letter-spacing:2px; text-transform:uppercase;
  display:flex; flex-direction:column; align-items:center; gap:8px;
}
.scroll-cue .line { width:1px; height:36px; background: rgba(255,255,255,0.4); animation: scrollpulse 2s ease-in-out infinite; }
@keyframes scrollpulse { 0%,100%{opacity:.3} 50%{opacity:1} }

/* ===== THE CLAYTOWN WAY ===== */
.way { background: var(--charcoal); position: relative; overflow:hidden; }
.way::before {
  content:""; position:absolute; inset:0; opacity:0.05;
  background-image: radial-gradient(circle at 20% 30%, transparent 60px, var(--sand) 61px, transparent 62px),
    radial-gradient(circle at 70% 60%, transparent 90px, var(--sand) 91px, transparent 92px),
    radial-gradient(circle at 40% 80%, transparent 120px, var(--sand) 121px, transparent 122px);
  background-size: 800px 800px;
}
.way .container { position:relative; }
.way-head { text-align:center; margin-bottom: 72px; }
.way h2 { color: var(--white); font-size: 112px; }
.way-grid { display:grid; grid-template-columns: repeat(4,1fr); gap: var(--grid-space); }
.way-card { padding: 40px 28px; transition: transform .25s ease; }
.way-card:hover { transform: translateY(-6px); }
.way-card .icon { color: var(--clay); margin-bottom: 22px; }
.way-card h3 { color: var(--white); font-family:'Inter',sans-serif; font-size:20px; font-weight:700; letter-spacing:0; margin-bottom:10px; }
.way-card p { color: rgba(255,255,255,0.55); font-size:16px; line-height:1.6; }

/* ===== FREE TRIAL SPLIT ===== */
.trial { background: var(--warm-white); }
.trial-grid { display:grid; grid-template-columns: 1.1fr 0.9fr; gap: 90px; align-items:start; }
.trial h2 { font-size: 104px; }
.trial > .container > .trial-grid > .trial-left > p { color: var(--warm-gray); font-size:17.5px; line-height:1.7; max-width: 460px; margin-bottom: 44px; }
.benefit-list { display:flex; flex-direction:column; gap: 22px; }
.benefit-item { display:flex; align-items:center; gap:16px; }
.benefit-item .dot { width:8px; height:8px; border-radius:50%; background: var(--clay); flex-shrink:0; }
.benefit-item span { font-weight:600; font-size:16.5px; }

.trial-form {
  background: var(--white);
  border-radius: var(--r-card);
  padding: 44px;
  box-shadow: 0 20px 60px rgba(23,23,23,0.08);
}
.trial-form label { display:block; font-size:13.5px; font-weight:700; letter-spacing:0.5px; text-transform:uppercase; color: var(--warm-gray); margin-bottom:8px; }
.trial-form input, .trial-form select {
  width:100%; padding:15px 16px; border:1.5px solid #e7e2d9; border-radius: var(--r-base);
  font-size:16px; font-family:'Inter',sans-serif; margin-bottom: 22px; background: var(--warm-white);
}
.trial-form .btn-clay { width:100%; text-align:center; border:none; }

/* ===== WHY CLAYTOWN (3 large photo cards) ===== */
.why { background: var(--white); }
.why-head { margin-bottom: 64px; }
.why h2 { font-size: 104px; }
.why-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: var(--grid-space); }
.why-card { position:relative; border-radius: var(--r-card); overflow:hidden; }
.why-card .ph { height: 420px; transition: transform .5s ease; border-radius:0; }
.why-card:hover .ph { transform: scale(1.03); }
.why-card .overlay {
  position:absolute; inset:0; background: linear-gradient(0deg, rgba(23,23,23,0.75) 0%, rgba(23,23,23,0) 55%);
  display:flex; align-items:flex-end; padding: 28px;
}
.why-card .overlay h3 { color:#fff; font-size: 30px; letter-spacing:0.5px; }

/* ===== PROGRAMS ===== */
.programs { background: var(--warm-white); }
.programs-head { text-align:center; margin-bottom: 90px; }
.programs h2 { font-size: 104px; }
.program-row { display:grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items:center; margin-bottom: 110px; }
.program-row:last-child { margin-bottom:0; }
.program-row.rev .ph { order:2; }
.program-row.rev .p-text { order:1; }
.program-row .ph { height: 460px; }
.p-text .eyebrow { margin-bottom: 12px; }
.p-text h3 { font-size: 46px; margin-bottom: 14px; }
.p-text .who { font-size: 18px; font-weight: 600; color: var(--charcoal); margin-bottom: 18px; max-width: 440px; }
.p-text ul { margin-bottom: 32px; }
.p-text li { font-size:17px; color: var(--warm-gray); padding-left:22px; position:relative; margin-bottom:12px; }
.p-text li::before { content:""; position:absolute; left:0; top:9px; width:8px; height:8px; border-radius:50%; background: var(--clay); }

/* ===== MEMBERSHIP ===== */
.membership { background: var(--charcoal); text-align:center; }
.membership h2 { color: var(--white); font-size: 104px; margin-bottom:14px; }
.membership .sub { color: rgba(255,255,255,0.55); font-size:16.5px; margin-bottom: 64px; }
.price-grid { display:grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin:0 auto; }
.price-card {
  background: #262626; border-radius: var(--r-card); padding: 36px 30px; text-align:left; position:relative;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 14px 36px rgba(0,0,0,0.5);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.price-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.32); box-shadow: 0 20px 48px rgba(0,0,0,0.6); }
.price-card.featured { border-color: var(--clay); box-shadow: 0 0 60px rgba(232,95,13,0.35); transform: scale(1.05); background: #2b2523; }
.price-card.featured:hover { transform: scale(1.05) translateY(-4px); }
.price-card.featured .amount { font-size: 60px; }
.price-card .badge {
  position:absolute; top:-14px; left:30px; background: var(--clay); color:#fff; font-size:11px; font-weight:800;
  letter-spacing:1px; padding:6px 14px; border-radius: 20px;
}
.price-card h3 { color:#fff; font-family:'Inter',sans-serif; font-size:18px; font-weight:700; letter-spacing:0; margin-bottom:18px; }
.price-card .amount { color:#fff; font-size:48px; font-family:'Bebas Neue',sans-serif; margin-bottom:6px; }
.price-card .amount span { font-size:15px; color:#a8a8a8; font-family:'Inter',sans-serif; }
.price-card ul { margin: 24px 0 32px; }
.price-card li { color:#c9c9c9; font-size:15px; margin-bottom:10px; padding-left:20px; position:relative; font-family:'Inter',sans-serif; }
.price-card li::before { content:"—"; color: var(--clay); position:absolute; left:0; }
.price-card .btn { width:100%; text-align:center; }

/* Secondary pricing button. The old style (transparent on a #3a3a3a border)
   was effectively invisible against the dark section. Scoped to .price-card
   only, so the global .btn-outline used in the hero/programs is untouched. */
.price-card:not(.featured) .btn {
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.6);
  color: #fff;
  box-shadow: none;
}
.price-card:not(.featured) .btn:hover {
  background: #fff;
  color: var(--charcoal);
  border-color: #fff;
}

/* ===== SCHEDULE ===== */
.schedule { background: var(--white); }
.schedule-head { text-align:center; margin-bottom: 70px; }
.schedule-head .sub { color: var(--warm-gray); font-size:16.5px; margin-top: 4px; }
.schedule h2 { font-size: 104px; }
.week-grid { display:grid; grid-template-columns: repeat(7,1fr); gap: 14px; }
.day-col { background: var(--warm-white); border-radius: var(--r-card); padding: 22px 14px; }
.day-col.today { background: var(--clay); }
.day-col .day-name { font-family:'Bebas Neue',sans-serif; font-size: 22px; letter-spacing:1px; margin-bottom: 16px; color: var(--charcoal); }
.day-col.today .day-name { color:#fff; }
.day-col .time { font-size: 15px; color: var(--warm-gray); padding: 8px 0; border-top: 1px solid rgba(0,0,0,0.06); }
.day-col .time:first-of-type { border-top:none; }
.day-col.today .time { color: rgba(255,255,255,0.85); border-top-color: rgba(255,255,255,0.2); }
.schedule-cta { text-align:center; margin-top: 56px; }

/* ===== GALLERY ===== */
.gallery { background: var(--warm-white); }
.gallery-head { display:flex; justify-content:space-between; align-items:flex-end; margin-bottom: 56px; }
.gallery h2 { font-size: 104px; }
.gallery-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.g-item { border-radius: var(--r-base); overflow:hidden; }
.g-item.wide { grid-column: span 2; }
.g-item .ph { height: 340px; border-radius:0; transition: transform .5s ease; }
.g-item:hover .ph { transform: scale(1.06); }

/* ===== COACH ===== */
.coach { background: var(--white); }
.coach-grid { display:grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items:center; }
.coach .ph { height: 460px; }
.coach h2 { font-size: 104px; }
.coach blockquote { font-size:17px; color: var(--warm-gray); line-height:1.8; margin-bottom:16px; }
.coach blockquote:last-of-type { margin-bottom: 36px; }

/* ===== FAQ ===== */
.faq { background: var(--warm-white); }
.faq-head { text-align:center; margin-bottom: 64px; }
.faq h2 { font-size: 104px; }
.faq-list { max-width: 1280px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(23,23,23,0.1); padding: 30px 0; cursor:pointer; }
.faq-q { display:flex; justify-content:space-between; align-items:center; }
.faq-q span.q { font-size: 33px; font-weight:600; }
.faq-q .plus { font-size: 26px; color: var(--clay); font-weight:300; transition: transform .3s ease; line-height:1; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { max-height:0; overflow:hidden; transition: max-height .3s ease, padding-top .3s ease; }
.faq-item.open .faq-a { max-height: 200px; padding-top: 16px; }
.faq-a p { color: var(--warm-gray); font-size: 16.5px; line-height:1.7; max-width: 640px; }

/* ===== FINAL CTA ===== */
.final-cta { background: linear-gradient(120deg, var(--clay) 0%, var(--clay-dark) 100%); text-align:center; }
.final-cta h2 { color:#fff; font-size: 104px; margin-bottom: 18px; }
.final-cta p { color: rgba(255,255,255,0.85); font-size:18.5px; margin-bottom: 40px; }
.final-cta .btn-outline { color:#fff; border-color: rgba(255,255,255,0.6); }
.final-cta .btn-outline:hover { background: rgba(255,255,255,0.15); }

/* ===== FOOTER ===== */
footer { background: var(--charcoal); padding: 70px 0 30px; }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-logo { font-family:'Bebas Neue',sans-serif; font-size: 24px; color:#fff; letter-spacing:1px; margin-bottom:14px; }
.footer-logo img { height: 108px; width: auto; display: block; }
.footer-grid p { color: rgba(255,255,255,0.5); font-size:15px; line-height:1.8; }
.footer-grid h4 { color:#fff; font-family:'Inter',sans-serif; font-size:14px; letter-spacing:0.5px; margin-bottom:16px; text-transform:uppercase; }
.footer-grid li a { color: rgba(255,255,255,0.55); font-size:15px; line-height:2.1; }
.footer-grid li a:hover { color: var(--sand); }
.footer-grid .serving { margin-top: 14px; color: var(--sand); font-size: 14px; }
.social-row { display:flex; gap:14px; margin-top:18px; }
.social-row div { width:36px; height:36px; border-radius:50%; border:1px solid rgba(255,255,255,0.2); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
  color: rgba(255,255,255,0.4); font-size:13.5px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.footer-login {
  color: rgba(255,255,255,0.75); font-weight: 700; font-size: 14px;
  border: 1.5px solid rgba(255,255,255,0.3); border-radius: var(--r-btn);
  padding: 8px 18px; transition: color .2s ease, border-color .2s ease;
}
.footer-login:hover { color: var(--white); border-color: rgba(255,255,255,0.7); }
@media (max-width: 560px) { .footer-bottom { justify-content: center; text-align: center; } }


.trial-head, .why-cf-head, .coach-head { margin-bottom: 64px; }

/* ===== HOW IT WORKS ===== */
.how { background: var(--white); }
.how-head { text-align:center; margin-bottom: 72px; }
.how h2 { font-size: 104px; }
.how-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: var(--grid-space); }
.how-step { background: var(--warm-white); border-radius: var(--r-card); padding: 44px 36px; position: relative; }
.how-step .step-num {
  font-family: 'Bebas Neue', sans-serif; font-size: 64px; color: var(--clay);
  line-height: 1; margin-bottom: 18px;
}
.how-step h3 { font-family:'Inter',sans-serif; font-size: 21px; font-weight: 700; letter-spacing: 0; margin-bottom: 12px; }
.how-step p { color: var(--warm-gray); font-size: 16px; line-height: 1.65; }

/* ===== WHY CROSSFIT ===== */
.why-cf { background: var(--warm-white); }
.why-cf-grid { display:grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items:center; }
.why-cf h2 { font-size: 104px; }
.why-cf .lead { color: var(--warm-gray); font-size: 18px; line-height: 1.7; max-width: 520px; margin-bottom: 32px; }
.why-cf .cf-points { margin-bottom: 36px; }
.why-cf .cf-points li { font-size: 16.5px; color: var(--warm-gray); line-height: 1.6; padding-left: 26px; position: relative; margin-bottom: 16px; }
.why-cf .cf-points li strong { color: var(--charcoal); }
.why-cf .cf-points li::before { content:""; position:absolute; left:0; top:8px; width:10px; height:10px; border-radius:50%; background: var(--clay); }
.why-cf img.ph { height: 560px; }

/* ===== LIGHTBOX ===== */
.g-item { cursor: pointer; }
.lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(13,13,13,0.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 88vw; max-height: 88vh; width: auto; height: auto;
  border-radius: var(--r-base); box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.lightbox button {
  position: absolute; background: none; border: none; color: rgba(255,255,255,0.8);
  cursor: pointer; font-family: 'Inter', sans-serif; line-height: 1; transition: color .2s ease;
}
.lightbox button:hover { color: var(--clay); }
.lb-close { top: 24px; right: 32px; font-size: 48px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); font-size: 72px; padding: 20px; }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-count {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.6); font-size: 14px; letter-spacing: 1px;
}

/* ===== MOBILE ===== */
.mobile-cta {
  display:none; position:fixed; bottom:0; left:0; right:0; z-index:200;
  background: var(--charcoal); padding: 10px 20px; box-shadow: 0 -8px 24px rgba(0,0,0,0.25);
  text-align: center;
}
.mobile-cta .btn { width:auto; padding: 11px 28px; font-size: 14.5px; }

@media (max-width: 860px) {
  .container { padding: 0 24px; }
  .hero h1 { font-size: 64px; }
  .hero-content { padding-top: 120px; }
  .nav-links { display:none; }
  .way-grid, .why-grid, .price-grid, .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .how-grid { grid-template-columns: 1fr; }
  .why-cf-grid { grid-template-columns: 1fr; gap: 44px; }
  .price-card.featured { transform: none; }
  .trial-grid, .program-row, .program-row.rev, .coach-grid { grid-template-columns: 1fr; gap: 44px; }
  .program-row.rev .ph, .program-row.rev .p-text { order: initial; }
  .week-grid { grid-template-columns: repeat(2,1fr); }
  section { padding: 70px 0; }
  .final-cta h2 { font-size: 42px; }
  h2 { white-space: normal; }
  .way h2, .trial h2, .why h2, .programs h2, .membership h2, .schedule h2, .gallery h2, .coach h2, .faq h2, .how h2, .why-cf h2 { font-size: 48px; }
  .mobile-cta { display:block; }
  body { padding-bottom: 76px; }
}

/* ---------- Trial form notices (Get Started page) ---------- */
.trial-notice {
  max-width: 760px;
  margin: 0 auto 2rem;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-size: .98rem;
  line-height: 1.5;
}
.trial-notice-ok {
  background: rgba(226, 64, 28, .1);
  border: 1.5px solid rgba(226, 64, 28, .55);
  color: #fff;
}
.trial-notice-err {
  background: rgba(255, 255, 255, .06);
  border: 1.5px solid rgba(255, 255, 255, .3);
  color: #fff;
}

/* ---------- Get Started page hero ----------
   The site nav is position:absolute with a 190px logo and white links, so any
   page whose first section is light both collides with it and hides the links.
   This dark band gives the nav a backdrop and the clearance it needs. */
/* Padding clears the absolutely-positioned nav (190px logo). Text colour is
   deliberately NOT set here: the hero contains a white form card, and a
   blanket color:#fff made that card's own heading invisible. */
.gs-hero {
  background: var(--charcoal);
  padding: clamp(230px, 21vw, 320px) 0 90px;
}
.trial-head { text-align: center; }
@media (max-width: 900px) {
  .gs-hero { padding: 200px 0 60px; }
}

/* ===== SOCIAL / STAY CONNECTED ===== */
.social { background: var(--warm-white); padding: 110px 0; }
.social-head { text-align:center; max-width: 62ch; margin: 0 auto 54px; }
.social-head h2 { font-size: clamp(44px, 6vw, 92px); line-height:.95; margin-bottom: 16px; }
.social-head p { color: var(--warm-gray); font-size: 17.5px; line-height:1.7; }

.social-btns { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; max-width: 900px; margin: 0 auto; }
.social-btn {
  display:flex; align-items:center; gap:20px;
  padding: 30px 34px; border-radius: var(--r-card);
  color:#fff; text-decoration:none;
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.social-btn:hover { transform: translateY(-5px); box-shadow: 0 22px 48px rgba(0,0,0,.3); filter: brightness(1.06); }
.social-btn svg { width: 46px; height: 46px; flex: 0 0 46px; }
.social-btn span { display:flex; flex-direction:column; gap:4px; }
.social-btn strong { font-family:'Bebas Neue',sans-serif; font-size: 30px; letter-spacing:.5px; line-height:1; }
.social-btn em { font-style:normal; font-size:14.5px; opacity:.85; }
.social-btn.fb { background: linear-gradient(135deg, #1877F2 0%, #0b5fd0 100%); }
.social-btn.ig { background: linear-gradient(135deg, #F58529 0%, #DD2A7B 45%, #8134AF 75%, #515BD4 100%); }

.social-admin-note { max-width:760px; margin: 26px auto 0; text-align:center; font-size:13.5px; color: var(--warm-gray); line-height:1.9; }
.social-admin-note code { background: rgba(23,23,23,.07); padding: 3px 8px; border-radius:5px; font-size:12.5px; }

.social-connect {
  display:flex; align-items:center; justify-content:space-between; gap: 30px; flex-wrap:wrap;
  max-width: 900px; margin: 54px auto 0; padding: 34px 38px;
  background: var(--charcoal); border-radius: var(--r-card);
}
.social-connect h3 { color:#fff; font-family:'Inter',sans-serif; font-size:20px; font-weight:700; margin-bottom:6px; }
.social-connect p { color: rgba(255,255,255,.6); font-size:15.5px; margin:0; }

@media (max-width: 820px) {
  .social { padding: 80px 0; }
  .social-btns { grid-template-columns: 1fr; }
  .social-connect { flex-direction:column; align-items:flex-start; text-align:left; }
}

/* ===== GET STARTED HERO (form in the hero) ===== */
.gs-hero { position: relative; overflow: hidden; }
.gs-hero .gs-slides { position:absolute; inset:0; z-index:0; }
.gs-hero .gs-slide {
  position:absolute; inset:0; background-size:cover; background-position:center;
  opacity:0; transform: scale(1.05); transition: opacity 1.5s ease;
}
.gs-hero .gs-slide.on { opacity:1; transform: scale(1); transition: opacity 1.5s ease, transform 8s ease; }
.gs-hero::after {
  content:""; position:absolute; inset:0; z-index:1;
  background: linear-gradient(100deg, rgba(15,15,15,.94) 0%, rgba(15,15,15,.86) 42%, rgba(15,15,15,.62) 100%);
}
.gs-hero > .container { position:relative; z-index:2; }
.gs-grid { display:grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items:center; text-align:left; }
.gs-copy .eyebrow { margin-bottom: 14px; }
.gs-copy h1 { color:#fff; font-size: clamp(50px, 6.4vw, 104px); line-height:.92; margin:0 0 20px; }
.gs-copy .gs-sub { color: rgba(255,255,255,.78); font-size:18px; line-height:1.7; max-width:52ch; margin:0 0 28px; }
.gs-benefits { display:flex; flex-direction:column; gap:14px; }
.gs-benefits div { display:flex; align-items:center; gap:12px; color:#fff; font-weight:600; font-size:15.5px; }
.gs-benefits i { width:9px; height:9px; border-radius:50%; background: var(--clay); flex:0 0 9px; box-shadow:0 0 0 5px rgba(232,95,13,.22); }

/* Flashy form card */
.gs-form {
  background:#fff; border-radius: 20px; padding: 34px 32px;
  box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.1);
  position:relative;
}
.gs-form::before {
  content:""; position:absolute; inset:-2px; border-radius:22px; z-index:-1;
  background: linear-gradient(135deg, var(--clay), #ffb35c, var(--clay));
  filter: blur(14px); opacity:.55;
}
.gs-form .gs-form-badge {
  display:inline-block; background: var(--clay); color:#fff; font-size:11.5px; font-weight:800;
  letter-spacing:1.2px; text-transform:uppercase; padding:7px 14px; border-radius:20px; margin-bottom:16px;
}
.gs-form h2 { font-size:34px; line-height:1; margin-bottom:6px; }
.gs-form .gs-form-sub { color: var(--warm-gray); font-size:14.5px; margin-bottom:20px; }
.gs-form label { display:block; font-size:12px; font-weight:700; letter-spacing:.8px; text-transform:uppercase; color:#555; margin:14px 0 6px; }
.gs-form input, .gs-form select {
  width:100%; padding:14px 16px; border:1.5px solid #e2e2e2; border-radius:10px;
  font-family:'Inter',sans-serif; font-size:15.5px; background:#fafafa;
}
.gs-form input:focus, .gs-form select:focus { outline:none; border-color: var(--clay); background:#fff; box-shadow:0 0 0 4px rgba(232,95,13,.14); }
.gs-form .btn { width:100%; margin-top:22px; font-size:17px; padding:17px 24px; }
.gs-form .gs-fineprint { text-align:center; color:#999; font-size:12.5px; margin-top:14px; }

@media (max-width: 940px) {
  .gs-grid { grid-template-columns: 1fr; gap: 40px; }
  .gs-hero::after { background: linear-gradient(180deg, rgba(15,15,15,.9) 0%, rgba(15,15,15,.88) 100%); }
}

/* The theme sets a global h2 { white-space: nowrap } for the big display
   headings; these newer sections use sentence-length headings that must wrap. */
.social-head h2, .gs-form h2, .gs-copy h1 { white-space: normal; }

/* =====================================================================
   MOBILE FIXES
   The theme shipped with a single 860px breakpoint. Two elements had no
   mobile rule at all and were forcing the DOCUMENT wider than the phone
   viewport — which clipped the right edge of every section on the page:
     1. .footer-grid — four fixed columns whose content can't shrink.
     2. the nav row  — a 90px-tall (≈207px wide) logo plus a full-size CTA.
   Fixed at source below, plus a safety net so a single wide element can
   never break the whole mobile layout again.
   ===================================================================== */
html, body { max-width: 100%; overflow-x: hidden; }
img, svg, video, iframe { max-width: 100%; }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-logo img { height: 76px; }

  nav.site-nav { padding: 20px 0 16px; }
  .nav-logo img { height: 60px; }
  .nav-cta { font-size: 14px; padding: 12px 18px; }

  /* Mobile navigation: the theme hid .nav-links entirely and never added a
     hamburger, so phones had no way to reach any section. Show them as a
     compact wrapped row under the logo instead — no JS needed. */
  nav.site-nav .container { flex-wrap: wrap; row-gap: 12px; }
  .nav-links {
    display: flex; order: 3; width: 100%;
    gap: 18px; flex-wrap: wrap; justify-content: center;
    padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.16);
  }
  .nav-links a { font-size: 14px; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }

  /* Two columns of pricing/feature cards are too cramped on a phone. */
  .price-grid, .way-grid, .why-grid, .gallery-grid { grid-template-columns: 1fr; }
  .week-grid { grid-template-columns: 1fr 1fr; }

  .nav-logo img { height: 52px; }
  .nav-cta { font-size: 13px; padding: 11px 14px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 13.5px; }

  .gs-copy h1 { font-size: 42px; }
  .gs-form { padding: 26px 20px; }
  .gs-form h2 { font-size: 28px; }

  .social-btn { padding: 22px 20px; gap: 14px; }
  .social-btn strong { font-size: 24px; }
  .social-btn svg { width: 36px; height: 36px; flex: 0 0 36px; }
  .social-connect { padding: 26px 22px; }
}

/* Grid/flex children default to min-width:auto and refuse to shrink below their
   content, which blows the track wider than the phone viewport (the real cause
   of the right-edge clipping on mobile). Let them shrink. */
.gs-grid > *, .trial-grid > *, .week-grid > *, .price-grid > *,
.footer-grid > *, .social-btns > *, .social-connect > *,
.way-grid > *, .why-grid > *, .how-grid > *, .program-row > * {
  min-width: 0;
}
.gs-form input, .gs-form select,
.trial-form input, .trial-form select { max-width: 100%; }

/* Final-CTA button: solid black for high contrast on the orange band
   (was orange-on-orange / low-contrast outline). Covers both templates,
   which use .btn-clay and .btn-outline respectively. */
.final-cta .btn,
.final-cta .btn-clay,
.final-cta .btn-outline {
  background: #111;
  color: #fff;
  border: 2px solid #111;
  box-shadow: 0 10px 26px rgba(0,0,0,.28);
}
.final-cta .btn:hover,
.final-cta .btn-clay:hover,
.final-cta .btn-outline:hover {
  background: #000;
  border-color: #000;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0,0,0,.4);
}

/* ===== Reusable dark page header (Schedule / Pricing / About / Contact) =====
   Clears the absolutely-positioned nav and gives white nav links a backdrop. */
.page-head { background: var(--charcoal); color:#fff; text-align:center; position:relative; overflow:hidden;
  padding: clamp(200px, 20vw, 300px) 0 80px; }
.page-head .eyebrow { color: var(--sand); }
.page-head h1 { color:#fff; font-size: clamp(50px, 8vw, 104px); line-height:.95; margin:0; white-space:normal; }
.page-head p { color: rgba(255,255,255,.72); font-size:18px; max-width:60ch; margin: 20px auto 0; line-height:1.65; }

/* Contact page */
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items:start; }
.contact-info h3 { font-size:20px; font-family:'Inter',sans-serif; font-weight:700; margin-bottom:6px; }
.contact-info .row { display:flex; gap:14px; padding:18px 0; border-bottom:1px solid rgba(0,0,0,.08); }
.contact-info .row:last-child { border-bottom:none; }
.contact-info .row .lbl { font-size:12px; font-weight:700; letter-spacing:.6px; text-transform:uppercase; color:var(--warm-gray); min-width:84px; padding-top:3px; }
.contact-info .row a, .contact-info .row span { font-size:17px; color:var(--charcoal); }
.contact-map { border:0; width:100%; height:340px; border-radius:var(--r-card); box-shadow:0 14px 34px rgba(0,0,0,.12); }
@media (max-width: 860px){ .contact-grid { grid-template-columns:1fr; gap:40px; } .contact-grid > *{min-width:0;} }

/* ===== Sub-page spacing + pricing card alignment fixes ===== */
/* A dark page-head already provides the top intro, so the section right after
   it doesn't need a full 120px top pad (was leaving a big empty band). */
.page-head + section { padding-top: 64px; }

/* Equal-height pricing cards with the button pinned to the bottom, so every
   "Start Free Week" button lines up regardless of how many bullets a plan has. */
.price-card { display: flex; flex-direction: column; }
.price-card ul { flex: 1 0 auto; }
.price-card .btn { margin-top: auto; }
.price-grid { align-items: stretch; }

/* Compact informational band (schedule "how it works") — no giant empty gap. */
.section-tight { padding-top: 24px !important; padding-bottom: 72px !important; }




