/* Global styles — calm, healing palette and soft motion */
:root {
  --sage: #b8c5b9;
  --eucalyptus: #9bb8a6;
  --forest: #2f5d50;
  --mist: #eef1ee;
  --cream: #f8f7f4;
  --ink: #1e2a2a;
  --accent: #8fb6b3;
  --lavender: #cfcdee;
  --white: #ffffff;

  --radius: 16px;
  --shadow: 0 10px 30px rgba(22, 40, 38, .08);
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0;
  touch-action: pan-y;
}

body {
  font-family: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 800px at 100% -10%, rgba(207, 205, 238, .25), transparent 60%),
    radial-gradient(800px 600px at -10% 110%, rgba(159, 182, 179, .18), transparent 60%),
    var(--cream);
  line-height: 1.65;
  letter-spacing: .15px;
  overflow-x: hidden;
}

/* Calm serif for headings */
.serif {
  font-family: 'Cormorant Garamond', ui-serif, Georgia, serif
}

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

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

a:hover {
  opacity: .9
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .8rem 1.1rem;
  border-radius: calc(var(--radius) - 6px);
  background: var(--forest);
  color: var(--white);
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, background .2s ease;
  font-weight: 600;
  letter-spacing: .2px;
}

.btn:hover {
  transform: translateY(-1px)
}

.btn.ghost {
  background: rgba(47, 93, 80, .08);
  color: var(--forest)
}

.btn.lite {
  background: var(--accent);
  color: var(--ink)
}

/* Section spacing */
.section {
  padding: 4.5rem 0
}

.section.tight {
  padding: 3rem 0
}

/* Headings */
.eyebrow {
  text-transform: uppercase;
  font-size: .76rem;
  letter-spacing: .22rem;
  color: #2f5d50cc;
}

.h1 {
  font: 700 3rem/1.1 'Cormorant Garamond', serif;
  letter-spacing: .2px
}

.h2 {
  font: 700 2.2rem/1.15 'Cormorant Garamond', serif
}

.h3 {
  font: 700 1.4rem/1.15 'Cormorant Garamond', serif
}

.lead {
  font-size: 1.12rem;
  color: #21312fCC
}

.muted {
  color: #1e2a2aa6
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease
}

.reveal.show {
  opacity: 1;
  transform: translateY(0)
}

/* About layout tweaks */
.about-grid {
  align-items: center;
}

/* centers image vs. text on desktop */
.about-portrait {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(6px, 1.2vw, 12px);
}

@media (min-width: 900px) {
  .about-portrait {
    justify-content: flex-start;
  }

  /* left-align image on desktop */
}

@media (max-width: 900px) {
  .about-portrait {
    margin-bottom: 1rem;
  }

  /* breathing room above text on mobile */
}

/* Round avatar with sage ring */
.avatar-round {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--sage);
  background: #fff;
  /* avoids halo on transparent PNGs */
  box-shadow: var(--shadow);
}

/* Make it bigger (tunable) */
.avatar-xl {
  width: clamp(220px, 34vw, 360px);
  /* mobile → desktop range */
}

/* If you ever need it slightly smaller, use avatar-lg instead */
.avatar-lg {
  width: clamp(190px, 32vw, 320px);
}

/* Bigger portrait on mobile */
@media (max-width: 900px) {

  /* make the circle noticeably larger on phones/tablets */
  .avatar-xl {
    width: clamp(260px, 72vw, 380px);
  }

  /* nudge the crop a touch higher so the face stays centered in the circle */
  .avatar-round {
    object-position: center 20%;
    border-width: 2.5px;
    /* keep ring visually balanced at larger size */
  }

  /* give the image a little extra breathing room above the text */
  .about-portrait {
    margin-bottom: 1.25rem;
  }
}

/* Ultra-small phones */
@media (max-width: 420px) {
  .avatar-xl {
    width: min(78vw, 380px);
    /* a bit bigger on very small screens */
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 76vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--ink);

  background: url('https://media.istockphoto.com/id/483795504/photo/love.webp?a=1&s=612x612&w=0&k=20&c=HCDvNGCMautpn_t7uSh3H9gR7Yrxxt95xwsWefNnBvE=') center/cover no-repeat;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(248, 247, 244, .82), rgba(248, 247, 244, .92));
  backdrop-filter: blur(2px);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: 5rem 1rem
}

.hero .h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem)
}

.hero .cta {
  margin-top: 1rem;
  display: flex;
  gap: .7rem;
  justify-content: center;
  flex-wrap: wrap
}

/* Cards */
.card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .04);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-body {
  padding: 1.2rem 1.2rem 1.3rem
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.1rem
}

.span-4 {
  grid-column: span 4
}

.span-6 {
  grid-column: span 6
}

.span-12 {
  grid-column: 1 / -1
}

@media (max-width: 900px) {

  .span-4,
  .span-6 {
    grid-column: 1 / -1
  }
}

/* Testimonials */
.testi {
  display: flex;
  gap: 1rem;
  align-items: flex-start
}

.testi img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover
}

.stars {
  font-size: 1rem;
  color: #f2b01e
}

/* Footer */
.footer {
  background: #ffffffaa;
  border-top: 1px solid rgba(0, 0, 0, .06)
}

.footer-inner {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr auto;
  padding: 1.4rem 0;
  align-items: center
}

@media (max-width: 720px) {
  .footer-inner {
    grid-template-columns: 1fr
  }
}


/* ============== NAVBAR (single merged CSS) ============== */
.nav {
  position: sticky;
  top: 0;
  z-index: 2000;
  backdrop-filter: blur(10px);
  background: rgba(248, 247, 244, .72);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 0
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--ink)
}

.brand-dot {
  width: 12px;
  height: 12px;
  background: var(--forest);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(47, 93, 80, .14)
}

.brand b {
  letter-spacing: .3px
}

/* Links — desktop defaults */
.nav-links {
  display: flex;
  align-items: center;
  gap: .8rem
}

.nav-links a {
  padding: .55rem .75rem;
  border-radius: 12px;
  white-space: nowrap;
}

.nav-links a:hover {
  background: rgba(47, 93, 80, .06)
}

/* CTA duplication control */
.nav-links .btn {
  display: none;
}

/* hide CTA in link row on desktop */
.desktop-cta {
  display: block;
}

/* desktop CTA visible */

/* Buttons */
.menu-toggle,
.menu-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
}

.menu-toggle {
  display: none;
}

.menu-close {
  display: none;
}

/* only shows when drawer is open */

/* Overlay (hidden by default) */
.nav-overlay {
  display: none;
}

/* ------------- Mobile / Tablet ------------- */
@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  /* Drawer (closed by default) */
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(84vw, 360px);
    background: #fff;
    box-shadow: -12px 0 40px rgba(0, 0, 0, .12);
    transform: translateX(100%);
    transition: transform .28s ease;
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 1.2rem 1.2rem;
    gap: .4rem;
    z-index: 2001;
    max-height: max-content;
  }

  /* Show CTA inside the drawer; hide desktop CTA */
  .nav-links .btn {
    display: inline-flex;
  }

  .nav-links .a {
    background-color: var(--lavender);
  }

  .desktop-cta {
    display: none;
  }

  /* Overlay for drawer */
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .35);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease;
    z-index: 2000;
  }
}

/* ------------- OPEN STATE (toggled by .nav--open on <nav>) ------------- */
.nav.nav--open .nav-links {
  transform: translateX(0);
  background-color: #fff;
}

.nav.nav--open .nav-overlay {
  opacity: 1;
  visibility: visible;
}

.nav.nav--open .menu-close {
  display: block;
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 2002;
}

@media (max-width: 900px) {
  .nav.nav--open .menu-toggle {
    display: none;
  }

  /* hide ☰ when open on mobile */
}

/* ============== END NAVBAR ============== */


/*steps*/
/* Steps list */
.steps {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
  margin: .8rem 0 0;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: .6rem;
  align-items: start;
  padding: .55rem 0;
  border-top: 1px solid rgba(0, 0, 0, .06);
}

.steps li:first-child {
  border-top: 0;
}

.steps li::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(47, 93, 80, .10);
  color: var(--forest);
  font-weight: 700;
}

/*How I Work */

/* Calm “chips” for focus areas */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: .6rem 0 0;
  padding: 0;
  list-style: none
}

.chips li {
  padding: .35rem .62rem;
  border-radius: 999px;
  background: rgba(47, 93, 80, .08);
  border: 1px solid rgba(47, 93, 80, .12);
  color: var(--forest);
  font-weight: 600;
  font-size: .9rem;
}

/* Contact page quote image (fixed height + graceful crop) */
.contact-quote-img {
  width: 100%;
  height: 420px;
  /* fixed desktop/tablet height */
  object-fit: cover;
  /* fill the box without distortion */
  object-position: center;
  /* tweak if the quote sits high/low */
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--cream);
}

/* Larger phones: slightly smaller height for better balance */
@media (max-width: 900px) {
  .contact-quote-img {
    height: 360px;
  }
}

/* Very small phones: tighten a bit more */
@media (max-width: 420px) {
  .contact-quote-img {
    height: 320px;
  }
}