/* =========================================================
   Erika Murray Fitness — Stylesheet
   Palette: soft pink, warm cream, sage green
   ========================================================= */

:root {
  --pink:        #f4cfc4;
  --pink-light:  #fde5dd;
  --pink-deep:   #eab9aa;
  --cream:       #fbf3e6;
  --cream-soft:  #fdf8ee;
  --sage:        #a4b89d;
  --sage-deep:   #8ba182;
  --sage-soft:   #cdd9c4;
  --ink:         #2a2620;
  --ink-soft:    #5a544c;
  --line:        rgba(0, 0, 0, 0.08);

  --serif-display: "DM Serif Display", "Cormorant Garamond", Georgia, serif;
  --serif-logo:    "Cormorant Garamond", Georgia, serif;
  --sans:          "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-pill: 999px;
  --radius-card: 22px;

  --shadow-soft: 0 14px 40px -18px rgba(70, 40, 30, 0.18);
  --shadow-img:  0 30px 60px -28px rgba(70, 40, 30, 0.35);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream-soft);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; padding: 0; margin: 0; }

/* ---------- Layout ---------- */
.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* ---------- Typography ---------- */
.display {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin: 0 0 1.4rem;
}
.section-title {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 0.9rem;
}
.lede {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 32rem;
  margin: 0 0 2rem;
}
.muted    { color: var(--ink-soft); }
.muted.small { font-size: 0.85rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 1.6px;
  font-size: 0.85rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-pill);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
}
.btn-pill { border-radius: var(--radius-pill); }
.btn-sage {
  background: var(--sage);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn-sage:hover {
  background: var(--sage-deep);
  transform: translateY(-2px);
}
.btn-cream {
  background: var(--cream);
  color: var(--ink);
  border: 1px solid rgba(0,0,0,.04);
}
.btn-cream:hover {
  background: #fff;
  transform: translateY(-2px);
}
.btn-wide { width: 100%; }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: relative;
  z-index: 20;
  background: var(--pink-light);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem 0;
}
.logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}
.logo-name {
  font-family: var(--serif-logo);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  letter-spacing: 1px;
  color: var(--ink);
}
.logo-sub {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 5px;
  margin-top: 6px;
  color: var(--ink-soft);
  text-align: center;
}

.primary-nav ul {
  display: flex;
  gap: 2.2rem;
}
.primary-nav a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--ink);
  position: relative;
  padding: 0.4rem 0;
  transition: color .2s ease;
}
.primary-nav a:hover { color: var(--sage-deep); }
.primary-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--sage);
  border-radius: 2px;
}

.nav-cta { padding: 0.85rem 1.6rem; font-size: 0.78rem; }

/* hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  background: var(--pink-light);
  padding: 1rem 0 5rem;
  overflow: hidden;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 7rem 0 2rem;
}
.hero-copy { max-width: calc(36rem + 50px); margin-left: -5%; }

/* organic photo frame */
.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-image-frame {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 4 / 5;
  border-radius: 58% 42% 55% 45% / 50% 55% 45% 50%;
  overflow: hidden;
  box-shadow: var(--shadow-img);
  background: var(--cream);
  transform: rotate(-2deg);
}
.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transform: rotate(2deg) scale(1.05);
}

/* decorative blobs */
.blob { position: absolute; pointer-events: none; }
.blob-pink-top {
  top: 0; left: 0; right: 0;
  width: 100%; height: 220px;
}
.blob-cream {
  top: 8%; left: -6%;
  width: 70%; height: 90%;
  z-index: 1;
}
.blob-sage {
  top: -4%; right: -6%;
  width: 28%; height: 38%;
  opacity: 0.85;
  z-index: 1;
}
.blob-pink-bottom {
  bottom: -2px; left: 0; right: 0;
  width: 100%; height: 220px;
}

/* =========================================================
   FEATURES
   ========================================================= */
.features {
  background: var(--cream);
  padding: 5rem 0 6rem;
  position: relative;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  text-align: center;
}
.feature { padding: 0 0.5rem; }
.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.2rem;
  color: var(--ink);
}
.feature-icon svg,
.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.feature-title {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 2.5px;
  font-size: 0.95rem;
  margin: 0 0 0.8rem;
}
.feature-text {
  color: var(--ink-soft);
  max-width: 22rem;
  margin: 0 auto;
  font-size: 0.95rem;
}

/* =========================================================
   ABOUT
   ========================================================= */
.about {
  background: var(--cream-soft);
  padding: 5rem 0;
  position: relative;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: center;
}
.about-copy p { color: var(--ink-soft); margin: 0 0 1rem; max-width: 34rem; }
.about-copy .btn { margin-top: 0.4rem; }

/* eyebrow pill badge */
.eyebrow-pill {
  background: var(--pink);
  border-radius: var(--radius-pill);
  padding: 0.45rem 1.2rem;
  color: var(--ink);
}

/* photo column */
.about-photo { display: flex; justify-content: center; }
.about-photo-wrap {
  position: relative;
  width: 460px;
  height: 560px;
}
.about-dot-pink {
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--sage-soft);
  border-radius: 50%;
  bottom: 0;
  left: 0;
}
.about-dot-sage {
  position: absolute;
  width: 100px;
  height: 100px;
  background: var(--sage-soft);
  border-radius: 50%;
  top: 0;
  right: 44px;
}
.about-img-frame {
  position: absolute;
  width: 400px;
  height: 500px;
  border-radius: 44% 56% 62% 38% / 55% 42% 58% 45%;
  overflow: hidden;
  bottom: 16px;
  left: 16px;
  box-shadow: var(--shadow-img);
}
.about-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
}

/* credentials list */
.about-creds {
  margin: 1.4rem 0 1.8rem;
  display: grid;
  gap: 0.75rem;
}
.about-creds li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: var(--ink);
}
.about-creds li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--sage-deep);
}

/* dark ink button */
.btn-ink {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn-ink:hover {
  background: #1a1612;
  transform: translateY(-2px);
}

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  background: var(--cream);
  padding: 5rem 0;
}
.faq-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 3rem;
  align-items: start;
}
.faq-heading p {
  max-width: 28rem;
  margin: 0;
}
.faq-list {
  display: grid;
  gap: 1rem;
}
.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 1.2rem 1.4rem;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.2px;
}
.faq-list summary::marker { color: var(--sage-deep); }
.faq-list p {
  color: var(--ink-soft);
  margin: 0.85rem 0 0;
}

/* =========================================================
   CTA STRIP
   ========================================================= */
.cta-strip {
  background: var(--sage);
  color: #fff;
  padding: 3.5rem 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-title {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  margin: 0;
  max-width: 36rem;
  line-height: 1.2;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: #2F241D;
  color: #f5ede6;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 2fr;
  gap: 5rem;
  padding: 5rem 0 4rem;
  align-items: start;
}

.footer-logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  margin-bottom: 1.2rem;
}
.footer-logo .logo-name { color: #f5ede6; }
.footer-logo .logo-sub  { color: rgba(245, 237, 230, 0.55); }

.footer-tagline {
  font-size: 0.92rem;
  color: rgba(245, 237, 230, 0.65);
  line-height: 1.7;
  margin: 0 0 1.8rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #f5ede6;
  transition: background .2s ease, transform .2s ease;
}
.footer-social a:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-2px);
}
.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-nav-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-nav-heading {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: #f5ede6;
  margin: 0 0 1.2rem;
}
.footer-nav-group ul { display: grid; gap: 0.75rem; }
.footer-nav-group a {
  font-size: 0.9rem;
  color: rgba(245, 237, 230, 0.6);
  transition: color .2s ease;
}
.footer-nav-group a:hover { color: #f5ede6; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.4rem 0;
}
.footer-bottom-inner p {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(245, 237, 230, 0.45);
}
.footer-legal {
  display: flex;
  gap: 1.4rem;
}
.footer-legal a {
  font-size: 0.82rem;
  color: rgba(245, 237, 230, 0.45);
  transition: color .2s ease;
}
.footer-legal a:hover { color: #f5ede6; }

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-hero {
  position: relative;
  background: var(--cream-soft);
  padding: 1rem 0 2rem;
  overflow: hidden;
  text-align: center;
}
.contact-hero-inner {
  position: relative;
  z-index: 2;
  padding: 5rem 0 1rem;
  max-width: 720px;
}
.contact-display {
  font-size: clamp(2.4rem, 5.6vw, 4.8rem);
}
.contact-lede { margin-inline: auto; }

/* decorative circles */
.contact-hero-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.contact-circle-pink-left {
  width: 208px; height: 208px;
  background: var(--pink);
  opacity: 0.45;
  top: 10px; left: 20px;
}
.contact-circle-sage-right {
  width: 247px; height: 247px;
  background: var(--sage-soft);
  opacity: 0.5;
  top: -100px; right: -100px;
}
.contact-circle-sage-left {
  width: 130px; height: 130px;
  background: var(--sage-soft);
  opacity: 0.6;
  bottom: 60px; left: 120px;
}
.contact-circle-pink-right {
  width: 100px; height: 100px;
  background: var(--pink-deep);
  opacity: 0.4;
  bottom: 100px; right: 120px;
}

.contact-section {
  background: var(--cream-soft);
  padding: 5rem 0 6rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}
.contact-card.soft {
  background: #F5EDE1;
  box-shadow: none;
}
.side-title {
  font-family: var(--serif-display);
  font-weight: 400;
  margin: 0 0 0.6rem;
  font-size: 1.4rem;
}
.contact-side { display: grid; gap: 1.6rem; }

/* form */
.contact-form { display: grid; gap: 1.2rem; margin-top: 1.4rem; }
.form-row { display: grid; gap: 0.4rem; }
.form-row label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  font: inherit;
  background: var(--cream-soft);
  color: var(--ink);
  transition: border-color .2s ease, background .2s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--sage);
  background: #fff;
}
.form-row textarea { resize: vertical; min-height: 110px; }
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form .btn:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}
.form-note {
  background: var(--sage-soft);
  color: var(--ink);
  padding: 0.9rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  margin: 0.5rem 0 0;
}
.form-note[data-status="error"] {
  background: #fde5dd;
  color: #7b2d22;
}

.contact-info { display: grid; gap: 0.9rem; margin-top: 1rem; }
.contact-info li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  align-items: baseline;
  font-size: 0.95rem;
}
.info-label {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.contact-info a { color: var(--sage-deep); }
.contact-info a:hover { text-decoration: underline; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .nav-wrap {
    flex-wrap: wrap;
    gap: 0.8rem 1rem;
  }
  .logo {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
  }
  .nav-toggle {
    display: inline-flex;
    order: 2;
    margin-left: auto;
  }
  .nav-cta { display: none; }
  .primary-nav {
    order: 4;
    flex-basis: 100%;
    max-height: 0;
    overflow: hidden;
    border-top: 1px solid transparent;
    transition: max-height .35s ease, border-color .25s ease;
  }
  .primary-nav.open {
    max-height: 320px;
    border-top-color: rgba(0,0,0,0.06);
  }
  .primary-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.7rem 0 0.35rem;
  }
  .primary-nav a {
    display: block;
    padding: 0.72rem 0;
  }
  .primary-nav a.active::after { bottom: 4px; }

  .hero-grid,
  .about-grid,
  .contact-grid,
  .features-grid,
  .faq-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-copy { margin-left: 0; max-width: 100%; }
  .hero-image-wrap { order: -1; }
  .hero-image-frame { width: min(420px, 90%); margin-inline: auto; }
  .features-grid { gap: 2.5rem; }
  .about-photo-wrap { width: 320px; height: 400px; }
  .about-dot-pink { width: 280px; height: 280px; }
  .about-dot-sage { width: 72px; height: 72px; right: 32px; }
  .about-img-frame { width: 280px; height: 355px; }

  .footer-main { grid-template-columns: 1fr; gap: 2.5rem; padding: 3.5rem 0 3rem; }
  .footer-nav-cols { grid-template-columns: repeat(3, 1fr); }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 0.75rem; }

  .cta-inner { justify-content: center; text-align: center; }
}

@media (max-width: 520px) {
  .container { width: min(100% - 2rem, 1200px); }
  .nav-wrap { padding: 1.05rem 0; }
  .logo-name { font-size: 1.2rem; }
  .logo-sub { font-size: 0.56rem; letter-spacing: 3.2px; }
  .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
    padding: 0.95rem 1.2rem;
  }

  .hero { padding: 0.5rem 0 3rem; }
  .hero-grid {
    padding: 1.5rem 0 1rem;
    text-align: center;
  }
  .hero-copy .lede { margin-inline: auto; }
  .hero-image-frame { width: min(315px, 82vw); }
  .blob-sage { opacity: 0.45; }

  .features { padding: 3.5rem 0; }
  .about { padding: 3.5rem 0; }
  .about-copy { text-align: left; }
  .faq { padding: 3.5rem 0; }
  .faq-list details { padding: 1rem 1.1rem; }
  .contact-hero-inner { padding: 3.5rem 0 0.5rem; }
  .contact-lede br { display: none; }
  .contact-section { padding: 3.5rem 0; }

  .contact-card { padding: 1.35rem; }
  .contact-info li { grid-template-columns: 1fr; gap: 0.2rem; }
  .contact-circle-sage-left,
  .contact-circle-pink-right { display: none; }

  .footer-main { text-align: center; }
  .footer-social { justify-content: center; }
  .footer-nav-cols {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 360px) {
  .logo-name { font-size: 1.05rem; }
  .logo-sub { font-size: 0.5rem; letter-spacing: 2.4px; }
  .display { font-size: 2.15rem; }
  .contact-card { padding: 1.1rem; }
}
