/* =========================================
   Simple Nimble: Shared Stylesheet
   ========================================= */

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

:root {
  --cream:       #F2EDE7;
  --cream-dark:  #E5DDD5;
  --terra:       #C4714A;
  --terra-light: #EDD5C8;
  --navy:        #1E2D3D;
  --slate:       #6B7F8F;
  --plum:        #3D5166;
  --text-muted:  #6B7F8F;
  --white:       #FDFAF7;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  background: var(--white);
  color: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  line-height: 1.15;
}
h1 { font-size: clamp(2.6rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 400; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 400; }

p { font-size: 16px; color: var(--text-muted); line-height: 1.85; }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra);
  font-weight: 500;
  font-family: 'Outfit', sans-serif;
  display: block;
  margin-bottom: 0.75rem;
}

.divider {
  width: 36px;
  height: 2px;
  background: var(--terra);
  margin: 0 0 1.75rem;
}

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 6rem 0; }
section.tight { padding: 4rem 0; }
section.flush { padding: 0; }

/* ---- NAV ---- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(242,237,231,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cream-dark);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(28,43,58,0.08); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  padding: 0 2rem;
  max-width: 1140px;
  margin: 0 auto;
}

.nav-logo img { height: 80px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1.5px;
  background: var(--terra);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}
.nav-links a:hover { color: var(--terra); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--terra); }

.nav-links .nav-cta {
  background: var(--navy);
  color: var(--cream);
  padding: 0.55rem 1.3rem;
  border-radius: 6px;
  transition: background 0.2s;
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover { background: var(--terra); color: white; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  padding: 0.85rem 1.9rem;
  font-size: 13px;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.2s;
}
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--navy); color: var(--cream); }
.btn-primary:hover { background: var(--terra); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(28,43,58,0.3);
}
.btn-outline:hover { border-color: var(--navy); background: var(--cream); }

.btn-terra { background: var(--terra); color: white; }
.btn-terra:hover { background: #A8533A; }

.btn-ghost {
  background: transparent;
  color: var(--terra);
  padding-left: 0;
  letter-spacing: 0.04em;
}
.btn-ghost:hover { color: var(--navy); }

/* ---- Page top offset for fixed nav ---- */
.page-top { padding-top: 100px; }

/* ---- Hero ---- */
.hero {
  min-height: calc(100vh - 100px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 5rem 2rem;
  max-width: 1140px;
  margin: 0 auto;
}
.hero-text { max-width: 540px; }
.hero-text h1 { margin-bottom: 1.5rem; color: var(--navy); }
.hero-text p { font-size: 16px; margin-bottom: 2.5rem; max-width: 420px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-img {
  position: relative;
}
.hero-img img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  border-radius: 24px;
}
.hero-mark {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  width: 100px;
  opacity: 0.18;
}

/* ---- Section backgrounds ---- */
.bg-cream  { background: var(--cream); }
.bg-navy   { background: var(--navy); }
.bg-white  { background: var(--white); }

/* ---- Services grid ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.service-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  border: 1px solid var(--cream-dark);
  transition: box-shadow 0.25s, transform 0.25s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  box-shadow: 0 8px 40px rgba(28,43,58,0.1);
  transform: translateY(-4px);
}
.service-card .service-icon {
  width: 40px;
  height: 40px;
  background: var(--terra-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.service-card .service-icon svg { width: 20px; height: 20px; stroke: var(--terra); fill: none; stroke-width: 1.5; }
.service-card h3 { margin-bottom: 0.75rem; }
.service-card p  { font-size: 14px; flex: 1; }
.service-card .card-link {
  margin-top: 1.5rem;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terra);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.service-card .card-link:hover { color: var(--navy); }

/* ---- Two-col split ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.split-img img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 20px;
}

.split-text h2 { margin-bottom: 1.25rem; }
.split-text p  { margin-bottom: 1.25rem; }
.split-text .divider { margin-top: 0.5rem; }

/* ---- Stats / numbers ---- */
.stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  color: var(--terra);
  line-height: 1;
}
.stat-label { font-size: 12px; color: var(--text-muted); margin-top: 0.25rem; letter-spacing: 0.04em; }

/* ---- Client logos ---- */
.clients-section { text-align: center; }
.clients-section h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-weight: 500;
}
.clients-grid {
  display: flex;
  gap: 2rem 3.5rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.client-logo {
  height: 44px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  opacity: 0.7;
  mix-blend-mode: multiply;
  transition: opacity 0.25s;
  display: block;
}
.client-logo:hover { opacity: 1; }

/* ---- Quote / pullquote ---- */
.pullquote {
  background: var(--navy);
  color: var(--white);
  padding: 5rem 2rem;
  text-align: center;
}
.pullquote blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  max-width: 700px;
  margin: 0 auto 1.5rem;
  color: var(--cream);
}
.pullquote cite { font-size: 13px; color: var(--terra-light); letter-spacing: 0.08em; text-transform: uppercase; }

/* ---- Coach cards ---- */
.coach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}
.coach-card-lg {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--cream-dark);
}
.coach-card-lg img {
  width: auto;
  max-width: 100%;
  max-height: 380px;
  display: block;
  margin: 0 auto;
}
.coach-card-body { padding: 2rem; }
.coach-card-body .eyebrow { margin-bottom: 0.4rem; }
.coach-card-body h3 { margin-bottom: 0.5rem; }
.coach-card-body .coach-style-tag {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 500;
  margin-bottom: 1rem;
  display: block;
}
.coach-card-body p { font-size: 14px; }

/* ---- Quiz (coaching page) ---- */
.quiz-wrap {
  max-width: 640px;
  margin: 0 auto;
}
.quiz-card {
  background: var(--white);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 4px 40px rgba(28,43,58,0.08);
  position: relative;
  overflow: hidden;
}
.quiz-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--terra), var(--navy));
}

.quiz-screen { display: none; }
.quiz-screen.active { display: block; animation: fadeUp 0.35s ease both; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.quiz-dots { display: flex; gap: 6px; margin-bottom: 2rem; }
.quiz-dot  { height: 6px; border-radius: 3px; background: var(--cream-dark); width: 6px; transition: all 0.3s; }
.quiz-dot.done   { background: var(--terra); }
.quiz-dot.active { background: var(--navy); width: 20px; }

.q-label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terra); font-weight: 500; margin-bottom: 0.6rem; }
.q-text  { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 400; color: var(--navy); line-height: 1.35; margin-bottom: 1.75rem; }

.q-opts { display: flex; flex-direction: column; gap: 0.75rem; }
.q-opt {
  display: flex; align-items: flex-start; gap: 0.9rem;
  padding: 1rem 1.1rem;
  border: 1.5px solid #E5DDD8; border-radius: 12px;
  cursor: pointer; transition: all 0.2s; background: white;
}
.q-opt:hover { border-color: var(--navy); }
.q-opt.selected { border-color: var(--terra); background: var(--terra-light); }
.q-radio {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid #C4B9B0; flex-shrink: 0; margin-top: 2px;
  transition: all 0.2s; display: flex; align-items: center; justify-content: center;
}
.q-opt.selected .q-radio { background: var(--terra); border-color: var(--terra); }
.q-opt.selected .q-radio::after { content: ''; width: 6px; height: 6px; background: white; border-radius: 50%; }
.q-opt-text { font-size: 14px; color: var(--navy); line-height: 1.6; }

.quiz-result-card {
  background: var(--cream);
  border-radius: 14px;
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--cream-dark);
}
.result-tag {
  display: inline-block; font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; background: var(--terra); color: white;
  padding: 3px 10px; border-radius: 4px; margin-bottom: 0.75rem; font-weight: 500;
}
.result-name { font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: var(--navy); margin-bottom: 0.25rem; }
.result-style { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); font-weight: 500; margin-bottom: 0.9rem; display: block; }
.result-bio { font-size: 14px; color: #4A5568; line-height: 1.8; margin: 0; }

.quiz-btn-row { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 2rem; align-items: center; }

/* ---- Team page ---- */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.team-member img {
  width: auto;
  max-width: 260px;
  height: auto;
  display: block;
  border-radius: 20px;
  margin: 0 auto 2rem;
}
.team-member h3 { margin-bottom: 0.5rem; }
.team-member .team-title { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); font-weight: 500; margin-bottom: 1rem; display: block; }
.team-member p { font-size: 14px; }

/* ---- Work / Case studies ---- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}
.case-card {
  background: var(--cream);
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid var(--cream-dark);
  transition: box-shadow 0.25s;
}
.case-card:hover { box-shadow: 0 6px 30px rgba(28,43,58,0.08); }
.case-client { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--terra); font-weight: 500; margin-bottom: 0.5rem; }
.case-card h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.case-card p  { font-size: 14px; }
.case-tag {
  display: inline-block;
  font-size: 11px;
  background: var(--navy);
  color: var(--cream);
  padding: 3px 10px;
  border-radius: 4px;
  margin-top: 1.25rem;
  letter-spacing: 0.05em;
}

/* ---- Testimonials ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 20px;
  padding: 2.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.testimonial-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  color: var(--terra);
  opacity: 0.3;
  line-height: 0.6;
  margin-bottom: 0.5rem;
  display: block;
}

.testimonial-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--navy);
  line-height: 1.55;
  font-style: italic;
  font-weight: 300;
  flex: 1;
}

.testimonial-author {
  border-top: 1px solid var(--cream-dark);
  padding-top: 1.25rem;
}

.testimonial-name {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.testimonial-role {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 960px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ---- Footer ---- */
footer {
  background: var(--navy);
  color: var(--cream);
  padding: 4rem 0 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo img { height: 40px; filter: brightness(0) invert(1); margin-bottom: 1rem; opacity: 0.9; }
.footer-tagline { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--cream); opacity: 0.7; font-style: italic; line-height: 1.5; }
.footer-col h5 { font-family: 'Outfit', sans-serif; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--terra-light); font-weight: 500; margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.65rem; }
.footer-col ul li a { font-size: 14px; color: var(--cream); opacity: 0.65; text-decoration: none; transition: opacity 0.2s; }
.footer-col ul li a:hover { opacity: 1; }
.footer-col p { font-size: 14px; color: var(--cream); opacity: 0.65; margin-bottom: 0.5rem; }
.footer-col a.footer-email { font-size: 14px; color: var(--terra-light); text-decoration: none; }
.footer-col a.footer-email:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 12px; color: var(--cream); opacity: 0.4; }
.footer-bottom a { color: var(--terra-light); text-decoration: none; opacity: 1; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .hero           { grid-template-columns: 1fr; min-height: auto; padding: 3rem 1.5rem 4rem; }
  .hero-img       { order: -1; }
  .hero-img img   { height: 320px; }
  .split          { grid-template-columns: 1fr; gap: 3rem; }
  .split.reverse  { direction: ltr; }
  .services-grid  { grid-template-columns: 1fr; }
  .coach-grid     { grid-template-columns: 1fr; }
  .case-grid      { grid-template-columns: 1fr; }
  .team-grid      { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  section { padding: 4rem 0; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100px; left: 0; right: 0; background: var(--cream); border-bottom: 1px solid var(--cream-dark); padding: 1.5rem 2rem; gap: 1.25rem; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-img img { height: 260px; }
  .split-img img { height: 300px; }
  .quiz-card { padding: 2rem 1.5rem; }
}
