:root {
  --lavender: #C8B4E6;
  --plum: #2A1840;
  --purple: #6B4FA0;
  --cream: #fcf5eb;
  --ink: #1E1A22;
  --sage: #b4ba8f;

  --font-head: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Rubik', system-ui, sans-serif;

  --container: 1140px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; }
ol { list-style: none; margin: 0; padding: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.center { text-align: center; }

.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-stretch: 80%;
  font-size: clamp(40px, 5.9vw, 70px);
  line-height: 0.88;
  letter-spacing: -0.005em;
}
.section-title--purple { color: var(--purple); }
.section-title--sage { color: var(--sage); }
.section-title--lavender { color: var(--lavender); }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.7em 2.2em;
  border-radius: 999px;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--dark { background: var(--plum); color: var(--cream); }
.btn--dark:hover { background: var(--purple); }
.btn--sage { background: var(--sage); color: var(--cream); letter-spacing: .04em; padding: .55em 1.6em; }
.btn--sage:hover { background: var(--purple); }

/* Logo */
.logo { display: inline-block; }
.logo img { height: 48px; width: auto; }


/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links > a:not(.btn) {
  color: var(--purple); font-size: 0.8rem; letter-spacing: .04em;
  transition: opacity .2s;
}
.nav__links > a:not(.btn):hover { opacity: .65; }
.nav__toggle { display: none; }

/* Hero */
.hero {
  background: var(--lavender) url('images/gradient-hero.webp') center / cover no-repeat;
  min-height: min(82vh, 760px);
  display: flex; align-items: center;
  padding: 100px 0;
}
.hero .container {
  width: 100%;   /* flex child would otherwise shrink to its content and center */
  padding-left: clamp(var(--gutter), 12vw, 220px);
}
.hero__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-stretch: 80%;
  font-size: clamp(2.8rem, 7.5vw, 5.6rem);
  line-height: 0.88;
  letter-spacing: -0.01em;
  color: var(--plum);
  max-width: 14ch;
}
.hero__title .accent { color: var(--cream); }
.hero__text {
  max-width: 480px;
  margin: 1.4rem 0 1.8rem;
  font-size: 1.05rem;
  color: var(--ink);
}

/* Services */
.services { padding: clamp(70px, 9vw, 120px) 0; }
.services__grid {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 56px 24px;
}
.services__grid li {
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  color: var(--purple); text-align: center; font-size: 1rem;
}
.num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--sage); color: var(--cream);
  display: grid; place-items: center;
  font-size: 1rem; font-weight: 500;
}

/* Why */
.why { background: var(--plum); padding: clamp(70px, 9vw, 120px) 0; }
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;   /* both rows the same height, so every card matches */
  gap: 22px;
  align-items: stretch;
}
.why__title { align-self: center; }
.card {
  background: var(--cream);
  border-radius: 18px;
  padding: 28px 30px;
  text-align: center;
  display: flex; flex-direction: column; justify-content: center;
}
.card h3 {
  color: var(--purple);
  font-family: var(--font-head); font-weight: 700; font-stretch: 80%;
  font-size: clamp(1.5rem, 2.3vw, 1.85rem); line-height: 1; letter-spacing: -0.005em;
  margin-bottom: .7rem;
  text-wrap: balance;
}
.card p { margin: 0; font-size: clamp(0.95rem, 1.35vw, 1.08rem); line-height: 1.45; text-wrap: pretty; }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: 43% 57%; }
.testimonials__left {
  padding: clamp(60px, 8vw, 110px) var(--gutter);
  padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
}
.testimonials__right {
  background: var(--lavender);
  padding: clamp(60px, 8vw, 110px) var(--gutter);
  padding-right: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  display: flex; flex-direction: column; justify-content: center; gap: 70px;
}
.quote { margin: 0; display: flex; align-items: center; gap: 28px; max-width: 560px; margin-left: auto; }
.quote img { width: 96px; height: 96px; flex-shrink: 0; border-radius: 50%; object-fit: cover; transform: scale(1.15); }
.quote blockquote { margin: 0 0 .6rem; font-size: 0.92rem; line-height: 1.45; }
.quote figcaption { color: var(--plum); font-size: 1rem; }

/* Process */
.process { background: var(--plum); padding: clamp(70px, 9vw, 120px) 0; }
.process__steps {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  position: relative;
}
.process__steps h3 { color: var(--sage); font-family: var(--font-head); font-weight: 700; font-stretch: 80%; font-size: 1.25rem; line-height: 1.1; letter-spacing: -0.005em; height: 32px; }
.step-line {
  display: block;
  width: 100%;                /* line ends where the step's text column ends */
  height: 22px;               /* icon size */
  margin: 8px 0 18px;
  /* icon + its short line from the image, then a thin cream line continuing to the next step */
  background:
    url('images/timeline-line.png') left center / auto 100% no-repeat,
    linear-gradient(var(--cream), var(--cream)) 11px center / calc(100% - 11px) 1.5px no-repeat;
}
.process__steps p { margin: 0; color: var(--cream); font-size: 0.88rem; line-height: 1.45; }

/* Timeline fade-in: steps appear one after another */
.process__steps.reveal li {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .8s ease, transform .8s ease;
}
.process__steps.reveal.is-visible li { opacity: 1; transform: none; }
.process__steps.reveal li:nth-child(2) { transition-delay: .4s; }
.process__steps.reveal li:nth-child(3) { transition-delay: .8s; }
.process__steps.reveal li:nth-child(4) { transition-delay: 1.2s; }
.process__steps.reveal li:nth-child(5) { transition-delay: 1.6s; }
@media (prefers-reduced-motion: reduce) {
  .process__steps.reveal li { opacity: 1; transform: none; transition: none; }
}

/* Founder */
.founder { padding: clamp(60px, 7vw, 90px) 0 0; overflow: hidden; }
.founder__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.founder__photo { align-self: end; }   /* photo sits flush on the section bottom */
.founder__photo img { width: 100%; max-width: 520px; height: auto; }
.founder__text { padding-top: 10px; padding-bottom: 60px; }
.founder__text p { font-size: 0.98rem; margin: 1.2rem 0 0; }
.founder__text .founder__name {
  font-family: var(--font-head); font-weight: 700; font-stretch: 80%;
  font-size: 1.6rem; line-height: 1.1; letter-spacing: -0.005em;
  color: var(--plum);
  margin-top: .5rem;
}

/* CTA */
.cta {
  background: var(--lavender) url('images/gradient-cta.webp') center / cover no-repeat;
  padding: clamp(140px, 20vw, 240px) 0;
}
.cta__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-stretch: 80%;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 0.9;
  letter-spacing: -0.01em;
  color: var(--plum);
  max-width: 20ch;
  margin: 0 auto 2rem;
}

/* Footer */
.footer { background: var(--plum); padding: 48px 0; }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2.5rem; }
.footer__links { display: flex; gap: 1.2rem 1.6rem; flex-wrap: wrap; }
.footer__links a { color: var(--cream); font-size: 0.8rem; letter-spacing: .04em; transition: color .2s; }
.footer__links a:hover { color: var(--sage); }
.footer__links .strong { font-weight: 600; }
.footer__contact h2 {
  font-family: var(--font-head); font-weight: 700; font-stretch: 80%;
  font-size: 1.6rem; line-height: 1; letter-spacing: -0.005em;
  color: var(--sage); margin-bottom: .8rem;
}
.footer__contact ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer__contact a {
  display: inline-flex; align-items: center; gap: .6rem;
  color: var(--cream); font-size: 0.9rem; transition: color .2s;
}
.footer__contact a:hover { color: var(--sage); }
.footer__contact svg {
  width: 18px; height: 18px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .why__grid { grid-template-columns: 1fr 1fr; }
  .why__grid { grid-auto-rows: auto; }
  .why__title { grid-column: 1 / -1; margin-bottom: 12px; }
  .process__steps { grid-template-columns: 1fr; gap: 40px; max-width: 480px; margin-left: auto; margin-right: auto; }
  .process__steps h3 { height: auto; }
  .step-line { height: 26px; margin: 10px 0 14px; }
  .testimonials { grid-template-columns: 1fr; }
  .testimonials__left { padding-bottom: 40px; padding-left: var(--gutter); }
  .testimonials__right { padding-right: var(--gutter); gap: 48px; }
  .quote { margin-left: 0; max-width: none; }
}

@media (max-width: 760px) {
  .nav__toggle {
    display: flex; flex-direction: column; gap: 5px;
    background: none; border: 0; padding: 8px; cursor: pointer;
  }
  .nav__toggle span { width: 24px; height: 2px; background: var(--purple); border-radius: 2px; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 1.2rem;
    background: var(--cream); padding: 24px var(--gutter) 32px;
    box-shadow: 0 12px 24px rgba(42, 24, 64, .08);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .services__grid { grid-template-columns: 1fr 1fr; gap: 40px 16px; }
  .why__grid { grid-template-columns: 1fr; }
  .section-title { font-size: 38px; }
  .hero .container { padding-left: var(--gutter); }
  .founder__grid { grid-template-columns: 1fr; }
  .founder__photo { order: 2; }
  .founder__photo img { margin: 0 auto; }
  .founder__text { padding-bottom: 0; }
  .quote { flex-direction: column; align-items: flex-start; gap: 20px; }
  .quote img { transform: scale(1.1); }
  .footer__inner { grid-template-columns: 1fr; justify-items: start; gap: 1.5rem; }
  .footer__contact { margin-top: .5rem; }
  .cta__title br { display: none; }
}
