/* ===================================================================
   FORE-TITUDE STRENGTH & GOLF PERFORMANCE — STYLESHEET
   ===================================================================
   Organized in sections:
     1. Variables & reset
     2. Typography helpers
     3. Layout / nav
     4. Hero
     5. Sections (about, how-it-works, pricing, credentials, contact)
     6. Buttons & forms
     7. Scroll-reveal animation
     8. Footer
     9. Responsive (mobile) adjustments
     10. Reduced-motion support
   =================================================================== */

/* ---------- 1. Variables & reset ---------- */
:root {
  --pine: #1C3829;
  --pine-dark: #142a1e;
  --brass: #A8823C;
  --cream: #F6F2E7;
  --cream-dim: #d8d3c4;

  --font-head: 'Fraunces', serif;
  --font-body: 'Space Grotesk', sans-serif;

  --max-width: 1140px;
  --pad: clamp(20px, 5vw, 64px);

  --transition-fast: 0.2s ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--pine);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brass);
  color: var(--pine);
  padding: 12px 20px;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

/* ---------- 2. Typography helpers ---------- */
.eyebrow {
  color: var(--brass);
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 20px;
}

.prose { max-width: 640px; font-size: 17px; }
.prose p:last-child { margin-bottom: 0; }

/* ---------- 3. Layout / nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
}
.nav.is-scrolled {
  background: var(--pine);
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--cream);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__links a {
  color: var(--cream);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  opacity: 0.9;
  transition: opacity var(--transition-fast);
}
.nav__links a:hover { opacity: 1; }
.nav__cta {
  border: 1.5px solid var(--brass);
  padding: 8px 18px;
  border-radius: 2px;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  width: 22px;
  height: 2px;
  background: var(--cream);
  display: block;
}

.nav__mobile {
  display: none;
  flex-direction: column;
  background: var(--pine);
  padding: 8px var(--pad) 24px;
}
.nav__mobile a {
  color: var(--cream);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid rgba(246,242,231,0.1);
  font-size: 16px;
}
.nav__mobile.is-open { display: flex; }

/* ---------- 4. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px var(--pad) 80px;
  background: var(--pine);
  color: var(--cream);
  overflow: hidden;
  margin-top: -76px; /* pulls hero up under the transparent sticky nav */
}

.hero__graphic {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.9;
  will-change: transform;
}
.hero__graphic svg { width: 100%; height: 100%; }

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 72px);
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: italic;
  color: var(--brass);
}

.hero__sub {
  font-size: 13px;
  letter-spacing: 1px;
  color: rgba(246,242,231,0.55);
  margin-bottom: 24px;
}

.hero__lede {
  font-size: 19px;
  color: var(--cream-dim);
  margin-bottom: 36px;
}

.hero__scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(246,242,231,0.6);
}
.hero__scroll-cue span {
  width: 1px;
  height: 28px;
  background: rgba(246,242,231,0.4);
  animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ---------- 5. Sections ---------- */
.section {
  padding: 100px var(--pad);
}
.section--pine {
  background: var(--pine);
  color: var(--cream);
}
.section--pine .prose { color: var(--cream-dim); }

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.section__inner--narrow { max-width: 640px; }

.section h2 {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 40px;
}

/* Stat callout (About section) */
.stat-callout { margin: 40px 0 48px; }
.stat-callout__row {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.stat-callout__item { flex: 1; min-width: 200px; }
.stat-callout__num {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  color: var(--cream);
}
.stat-callout__num--brass { color: var(--brass); }
.stat-callout__label {
  font-size: 14px;
  color: var(--cream-dim);
}
.stat-callout__divider {
  font-family: var(--font-head);
  font-style: italic;
  color: var(--brass);
  font-size: 20px;
}

/* How It Works */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.steps__item {
  border-top: 2px solid var(--brass);
  padding-top: 20px;
}
.steps__num {
  display: block;
  font-family: var(--font-head);
  color: var(--brass);
  font-size: 22px;
  margin-bottom: 10px;
}
.steps__item h3 { font-size: 20px; margin-bottom: 10px; }
.steps__item p { font-size: 15px; color: #3d5647; }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.price-card {
  background: rgba(246,242,231,0.06);
  border: 1px solid rgba(168,130,60,0.35);
  border-radius: 4px;
  padding: 28px 24px;
}
.price-card--feature {
  grid-column: span 3;
  background: rgba(168,130,60,0.12);
}
.price-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--cream);
}
.price-card__price {
  font-family: var(--font-head);
  font-size: 26px;
  color: var(--brass);
  margin-bottom: 8px;
}
.price-card__price span {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--cream-dim);
  margin-top: 4px;
}
.price-card__desc { font-size: 14px; color: var(--cream-dim); margin: 0; }

.price-note {
  font-size: 14px;
  font-style: italic;
  color: var(--cream-dim);
  max-width: 560px;
}

/* Credentials */
.credentials { margin-bottom: 32px; }
.credentials__name {
  font-family: var(--font-head);
  font-size: 22px;
  margin-bottom: 4px;
}
.credentials__primary {
  color: var(--brass);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 28px;
}
.credentials__secondary p {
  margin: 0 0 4px;
  font-size: 16px;
}

/* Contact */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 40px;
}
.contact-details a {
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  color: var(--cream);
}
.contact-details a:hover { color: var(--brass); }

/* ---------- 6. Buttons & forms ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.3px;
  padding: 15px 32px;
  border-radius: 2px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}
.btn:hover { transform: translateY(-2px); }
.btn--brass { background: var(--brass); color: var(--pine); }
.btn--outline { border-color: var(--cream); color: var(--cream); background: transparent; }

.btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 480px;
}
.contact-form label {
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-top: 12px;
}
.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 16px;
  padding: 12px 14px;
  border-radius: 2px;
  border: 1px solid rgba(246,242,231,0.3);
  background: rgba(246,242,231,0.06);
  color: var(--cream);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}
.contact-form button { margin-top: 20px; align-self: flex-start; }
.hidden-field { position: absolute; left: -9999px; }

.form-status {
  margin-top: 16px;
  font-size: 14px;
}
.form-status--success { color: var(--brass); }
.form-status--error { color: #e3b7a4; }

/* ---------- 7. Scroll-reveal animation ---------- */
/* Elements start slightly lower and transparent; js/main.js adds
   .is-visible via IntersectionObserver when they scroll into view. */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger children inside a revealed group slightly for a nicer feel */
.steps__item:nth-child(2) { transition-delay: 0.08s; }
.steps__item:nth-child(3) { transition-delay: 0.16s; }
.steps__item:nth-child(4) { transition-delay: 0.24s; }

/* ---------- 8. Footer ---------- */
.footer {
  background: var(--pine-dark);
  color: var(--cream-dim);
  text-align: center;
  padding: 28px var(--pad);
  font-size: 13px;
}

/* ---------- 9. Responsive (mobile) ---------- */
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }

  .steps { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .price-card--feature { grid-column: span 2; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card--feature { grid-column: span 1; }
  .stat-callout__divider { display: none; }
  .hero { padding-top: 140px; }
}

/* ---------- 10. Reduced-motion support ---------- */
/* Respects the visitor's OS-level "reduce motion" setting: content still
   appears, it just doesn't animate in or parallax. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero__graphic { transform: none !important; }
  .hero__scroll-cue span { animation: none; }
}
