/* ============================================================
   Coach Cam — Camilla Willows · Brand stylesheet
   Palette sampled from supplied logo/flyer artwork
   ============================================================ */

:root {
  --cream:        #F3E3D2;   /* exact logo background */
  --cream-soft:   #F8EDE0;
  --cream-deep:   #EAD7BF;
  --gold:         #A87F3D;
  --gold-light:   #BF9651;
  --gold-dark:    #8F6C2F;
  --ink:          #211A12;
  --coffee:       #221912;
  --coffee-soft:  #2E2318;

  --font-display: "Oswald", sans-serif;
  --font-serif:   "Cormorant Garamond", serif;
  --font-body:    "Jost", sans-serif;
  --font-script:  "Dancing Script", cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
}

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

a { color: var(--gold-dark); text-decoration: none; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Type helpers ---------- */

.eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

h1, h2, h3 { font-family: var(--font-display); text-transform: uppercase; line-height: 1.12; }

h1 { font-size: clamp(38px, 5vw, 62px); font-weight: 700; letter-spacing: 1px; }
h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 600; letter-spacing: 1px; }
h3 { font-size: 20px; font-weight: 600; letter-spacing: 2px; }

.script {
  font-family: var(--font-script);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  color: var(--gold);
  text-transform: none;
  line-height: 1.3;
}

.gold-rule {
  width: 72px; height: 2px;
  background: var(--gold);
  border: 0;
  margin: 22px 0;
}

.center { text-align: center; }
.center .gold-rule { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 15px 34px;
  background: var(--gold);
  color: var(--cream-soft);
  border: 1px solid var(--gold);
  border-radius: 2px;
  transition: background .25s, color .25s;
  cursor: pointer;
}
.btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--gold); color: var(--cream-soft); }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }

.text-link {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
}
.text-link:hover { color: var(--ink); }

/* ---------- Header ---------- */

.site-header { background: var(--cream); }

.logo-row { padding: 26px 0 18px; display: flex; justify-content: center; }
.logo-row img { height: 108px; width: auto; }

.nav-bar {
  border-top: 1px solid rgba(159, 121, 58, .35);
  border-bottom: 1px solid rgba(159, 121, 58, .35);
  position: sticky;
  top: 0;
  background: var(--cream);
  z-index: 50;
}

.nav-inner { display: flex; justify-content: center; align-items: center; position: relative; }

.nav-links { display: flex; list-style: none; gap: 6px; }

.nav-links a {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink);
  padding: 16px 16px;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-dark); }

.nav-bar.scrolled { box-shadow: 0 4px 18px rgba(33, 26, 18, .12); }

.nav-toggle {
  display: none;
  background: none; border: 0;
  font-family: var(--font-display);
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--ink);
  padding: 16px 0;
  cursor: pointer;
}

/* ---------- Hero ---------- */

.hero { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 76vh; }

.hero-copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: 70px 60px 70px max(24px, calc((100vw - 1180px) / 2 + 24px));
}

.hero-copy p.lead { font-size: 19px; max-width: 480px; }

.hero-copy .script { margin-top: 26px; }

.hero-media { position: relative; min-height: 420px; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; position: absolute; inset: 0; }

.hero-curve {
  position: absolute; left: -1px; top: 0; height: 100%; width: 110px;
  pointer-events: none;
}

/* ---------- Page title (simple inner pages) ---------- */

.page-title { padding: 74px 0 10px; text-align: center; }
.page-title h1 { font-size: clamp(34px, 4.2vw, 52px); }
.page-title .gold-rule { margin: 22px auto; }
.page-title .lead { max-width: 620px; margin: 0 auto; font-size: 18px; }

/* ---------- Bands & sections ---------- */

section { padding: 90px 0; }

.band-deep { background: var(--cream-deep); }
.band-dark { background: var(--coffee); color: var(--cream); }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head .gold-rule { margin: 22px auto; }

/* ---------- Benefits (flyer icons) ---------- */

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }

.benefit { text-align: center; }

.icon-ring {
  width: 84px; height: 84px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.icon-ring svg { width: 38px; height: 38px; stroke: var(--gold); fill: none; stroke-width: 1.6; }

.benefit h3 { margin-bottom: 10px; }
.benefit p { max-width: 300px; margin: 0 auto; }

/* ---------- Path cards ---------- */

.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

.path-card { background: var(--cream-soft); border: 1px solid rgba(159, 121, 58, .3); }

.path-card .media { position: relative; aspect-ratio: 5 / 4; overflow: hidden; }
.path-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.path-card:hover .media img { transform: scale(1.04); }

.path-card .body { padding: 36px 38px 42px; }
.path-card h3 { font-size: 24px; margin-bottom: 6px; }
.path-card .sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 19px;
  color: var(--gold-dark);
  margin-bottom: 14px;
}
.path-card p { margin-bottom: 22px; }

/* ---------- About ---------- */

.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 70px; align-items: center; }

.framed { position: relative; }
.framed img { position: relative; z-index: 1; width: 100%; }
.framed::after {
  content: "";
  position: absolute; inset: 18px -18px -18px 18px;
  border: 2px solid var(--gold);
  z-index: 0;
}

.about-text p { margin-bottom: 18px; }
.about-text .script { display: block; margin-top: 8px; }

/* ---------- Testimonials ---------- */

.band-dark .eyebrow { color: var(--gold-light); }

.feature-quote {
  max-width: 780px; margin: 0 auto 60px; text-align: center;
}
.feature-quote blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.5;
  color: var(--cream);
}
.feature-quote cite {
  display: block; margin-top: 18px;
  font-family: var(--font-display); font-style: normal;
  font-size: 14px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold-light);
}

.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.quote-card {
  border: 1px solid rgba(191, 150, 81, .4);
  padding: 30px 28px;
  display: flex; flex-direction: column;
}
.quote-card p { font-size: 15.5px; color: rgba(243, 227, 210, .92); flex: 1; }
.quote-card cite {
  margin-top: 20px;
  display: flex; align-items: center; gap: 13px;
  font-family: var(--font-display); font-style: normal;
  font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold-light);
}

/* Client avatars on quotes */
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold-light);
  flex: none;
}
.feature-quote .avatar-lg {
  width: 68px; height: 68px;
  margin: 26px auto 0;
  border-width: 2px;
}
.feature-quote cite { margin-top: 12px; }

/* ---------- Testimonial stories ---------- */

.story {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid rgba(159, 121, 58, .28);
}
.story:last-of-type { border-bottom: 0; }

.story .media { position: relative; }
.story .media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 22%;
  border: 1px solid rgba(159, 121, 58, .35);
}
.story .media::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--gold);
  z-index: 0;
}
.story.flip { grid-template-columns: 7fr 5fr; }
.story.flip .media { order: 2; }
.story.flip .media::after { inset: 18px 18px -18px -18px; }

.story .tag {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.story h3 { font-size: 26px; margin-bottom: 16px; }
.story p { margin-bottom: 14px; }
.story .check-list { margin: 20px 0; }
.story cite {
  display: block; margin-top: 6px;
  font-family: var(--font-display); font-style: normal;
  font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold-dark);
}

/* ---------- Location ---------- */

.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

.loc-card {
  background: var(--cream-soft);
  border: 1px solid rgba(159, 121, 58, .3);
  padding: 44px 42px;
}
.loc-card .icon-ring { margin: 0 0 22px; }
.loc-card h3 { margin-bottom: 12px; }
.loc-card address { font-style: normal; margin-bottom: 8px; }
.loc-card iframe {
  width: 100%; height: 230px; border: 1px solid rgba(159, 121, 58, .3);
  margin-top: 22px; filter: sepia(.25);
}

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 70px; align-items: start; }

.contact-form { display: grid; gap: 16px; }
.contact-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.contact-form label {
  font-family: var(--font-display);
  font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold-dark);
  display: block; margin-bottom: 6px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--cream-soft);
  border: 1px solid rgba(159, 121, 58, .4);
  border-radius: 2px;
  padding: 13px 15px;
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--gold);
}

.parq-note { margin-top: 26px; font-size: 15px; }

/* ---------- Page hero (inner pages) ---------- */

.page-hero { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 58vh; }
.page-hero .hero-copy { padding-top: 60px; padding-bottom: 60px; }

/* ---------- Steps ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: step; }

.step { text-align: center; counter-increment: step; }
.step::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--font-serif);
  font-size: 54px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 14px;
}
.step h3 { margin-bottom: 10px; }
.step p { max-width: 300px; margin: 0 auto; }

/* ---------- Checklist ---------- */

.check-list { list-style: none; display: grid; gap: 14px; margin-top: 6px; }
.check-list li { padding-left: 34px; position: relative; }
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

/* ---------- CTA band ---------- */

.cta-band { text-align: center; }
.cta-band .script { display: block; margin-bottom: 10px; }
.cta-band .btn { margin-top: 28px; }

/* ---------- Animations ---------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

/* Above the fold — staggered entrance on page load */
.logo-row { animation: rise .7s ease-out both; }

.hero-copy > * { animation: rise .8s cubic-bezier(.22, .61, .36, 1) both; }
.hero-copy > :nth-child(1) { animation-delay: .15s; }
.hero-copy > :nth-child(2) { animation-delay: .25s; }
.hero-copy > :nth-child(3) { animation-delay: .35s; }
.hero-copy > :nth-child(4) { animation-delay: .45s; }
.hero-copy > :nth-child(5) { animation-delay: .55s; }
.hero-copy > :nth-child(6) { animation-delay: .65s; }

/* Scroll reveals — elements are tagged .reveal by JS, shown when in view */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--rd, 0s);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .logo-row, .hero-copy > * { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Back to top ---------- */

.back-top {
  position: fixed;
  right: 26px; bottom: 100px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--gold);
  border: 1px solid var(--gold-dark);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(33, 26, 18, .25);
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s, visibility .3s, background .25s;
  z-index: 60;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--gold-dark); }
.back-top svg { width: 20px; height: 20px; stroke: var(--cream-soft); stroke-width: 2.2; fill: none; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--coffee);
  color: rgba(243, 227, 210, .8);
  padding: 60px 0 40px;
  text-align: center;
}

.footer-mark {
  font-family: var(--font-serif);
  font-size: 26px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold-light);
}
.footer-mark span {
  display: block;
  font-size: 13px; letter-spacing: 5px;
  color: rgba(243, 227, 210, .7);
  margin-top: 4px;
}

.footer-nav { margin: 28px 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 26px; list-style: none; }
.footer-nav a {
  font-family: var(--font-display);
  font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(243, 227, 210, .75);
}
.footer-nav a:hover { color: var(--gold-light); }

.footer-small { font-size: 13.5px; }
.footer-small a { color: var(--gold-light); }

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

@media (max-width: 960px) {
  section { padding: 64px 0; }

  .hero, .page-hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 56px 24px; }
  .hero-media { min-height: 60vw; }
  .hero-curve { display: none; }
  .hero .hero-media img { object-position: 50% 0% !important; }

  .page-title { padding-left: 24px; padding-right: 24px; }

  .benefits, .steps, .quote-grid { grid-template-columns: 1fr; gap: 32px; }
  .story, .story.flip { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; }
  .story.flip .media { order: 0; }
  .story .media::after,
  .story.flip .media::after { inset: 13px -13px -13px 13px; }
  .paths, .location-grid { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .framed::after { inset: 14px -14px -14px 14px; }

  .logo-row img { height: 112px; }

  .nav-toggle { display: block; }
  .nav-inner { justify-content: flex-start; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(159, 121, 58, .35);
    flex-direction: column;
    padding: 8px 0 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 24px; }
}
