/* ============ Design tokens ============ */
  :root {
    --color-cream: #FDF1EE;
    --color-primary: #885784;
    --color-deep-purple: #602B7A;
    --color-white: #FFFFFF;
    --color-ink: #222941;
    --color-slate: #5C6378;
    --color-border: #E8DED1;
    --color-muted: #878BAE54;

    --font-heading: 'Roboto Slab', Georgia, serif;
    --font-body: 'Rubik', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-pill: 9999px;
    --radius-lg: 24px;
    --radius-md: 16px;

    --shadow-card: 0px 4px 3px rgba(0,0,0,0.1), 0px 2px 2px rgba(0,0,0,0.1);
    --shadow-soft: 0px 4px 20px -10px rgba(0,0,0,0.08);

    --container-max: 1280px;
    --gutter: clamp(20px, 6vw, 96px);

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --dur-md: 0.6s;
  }

  /* ============ Reset ============ */
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: auto; overflow-x: clip; width: 100%; }
  body, h1, h2, h3, h4, p, ul, figure { margin: 0; }
  ul { padding: 0; list-style: none; }
  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
  svg { display: block; }

  /* One continuous canvas instead of stacked colored blocks: cream/white
     wash blended across the whole document, positioned by percentage so it
     lines up with section boundaries at any viewport size. --page-gradient
     is page-specific — each page measures its own section boundaries (see
     rules.txt "Background System") and sets it in a small inline <style>
     block in its own <head>. This default is the homepage's measured
     gradient, used only if a page forgets to set its own. */
  :root {
    --page-gradient: linear-gradient(180deg,
      var(--color-cream) 0%,
      var(--color-cream) 14%,
      var(--color-white) 17.5%,
      var(--color-white) 25.5%,
      var(--color-cream) 29%,
      var(--color-cream) 63%,
      var(--color-white) 66.5%,
      var(--color-white) 70%,
      var(--color-cream) 73.5%,
      var(--color-cream) 91.5%,
      var(--color-white) 95%,
      var(--color-white) 100%
    );
  }

  body {
    font-family: var(--font-body);
    color: var(--color-slate);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    background-image: var(--page-gradient);
    background-repeat: no-repeat;
  }

  h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-ink); font-weight: 400; }

  .container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--gutter);
    min-width: 0;
  }

  /* Prevent CSS Grid/Flexbox "blowout": tracks and flex items default to an
     automatic minimum size equal to their content's min-content width, which
     can force a track (and everything sharing its row) wider than the
     viewport. Resetting min-width: 0 lets text wrap normally instead. */
  .hero__grid, .hero__grid > *,
  .interlude__grid, .interlude__grid > *,
  .features, .features > *,
  .services__grid, .services__grid > *,
  .team-grid, .team-grid > *,
  .privacy-grid, .privacy-grid > *,
  .steps, .steps > *,
  .testi-track, .testi-track > *,
  .footer-grid, .footer-grid > *,
  .hero__content, .hero__actions, .hero__badges, .hero__visual {
    min-width: 0;
  }

  /* Focus visibility */
  a:focus-visible, button:focus-visible {
    outline: 2px solid var(--color-deep-purple);
    outline-offset: 3px;
    border-radius: 4px;
  }

  .skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--color-white);
    color: var(--color-primary);
    padding: 12px 20px;
    z-index: 2000;
    border-radius: 0 0 8px 0;
  }
  .skip-link:focus { left: 0; }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }

  /* ============ Eyebrow / kicker ============ */
  .eyebrow {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--color-primary);
    display: block;
    margin-bottom: 16px;
  }
  .eyebrow--deep { color: var(--color-deep-purple); }

  /* Section heading sizes (fluid, matched to Figma desktop values) */
  .h-72 { font-size: clamp(2.2rem, 1.2rem + 4.4vw, 4.5rem); line-height: 1.05; font-weight: 400; }
  .h-48 { font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3rem); line-height: 1.15; font-weight: 400; }
  .h-40 { font-size: clamp(1.6rem, 1.1rem + 2.1vw, 2.5rem); line-height: 1.15; font-weight: 600; }
  .h-36 { font-size: clamp(1.5rem, 1.1rem + 1.7vw, 2.25rem); line-height: 1.2; font-weight: 400; }
  .h-30 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.875rem); line-height: 1.2; font-weight: 400; }

  .lede { font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem); line-height: 1.6; color: var(--color-slate); }

  /* ============ Buttons ============ */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 32px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    white-space: nowrap;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease);
  }
  .btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
  }
  .btn-primary .btn-icon {
    background: var(--color-white);
    border-radius: var(--radius-pill);
    padding: 4px;
    display: inline-flex;
  }
  .btn-primary:hover { background: var(--color-deep-purple); transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(96,43,122,0.45); }
  .btn-outline {
    background: var(--color-white);
    color: var(--color-deep-purple);
    border: 1px solid var(--color-deep-purple);
  }
  .btn-outline:hover { background: var(--color-deep-purple); color: var(--color-white); transform: translateY(-2px); }

  /* ============ Header / Nav (self-contained, matches existing navbar component) ============ */
  .navbar, .navbar *, .mobile-menu, .mobile-menu * { box-sizing: border-box; }
  .navbar, .mobile-menu { font-family: var(--font-body); }

  .site-header {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 1100;
    background: transparent;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    box-shadow: 0 1px 0 0 rgba(96,43,122,0);
    transition: background-color 0.5s var(--ease), backdrop-filter 0.5s var(--ease), box-shadow 0.5s var(--ease);
  }
  .site-header.is-scrolled {
    background: rgba(253, 241, 238, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 0 rgba(96,43,122,0.08);
  }

  .navbar {
    position: relative;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    padding: 20px var(--gutter);
    width: 100%;
    transition: padding 0.4s var(--ease);
  }
  .site-header.is-scrolled .navbar { padding-block: 14px; }

  .navbar__logo { display: flex; align-items: center; flex-shrink: 0; }
  .navbar__logo a { display: flex; align-items: center; }
  .navbar__logo img { height: 44px; width: auto; }

  .navbar__links { display: none; list-style: none; align-items: center; gap: 32px; }
  .navbar__links a {
    position: relative;
    font-size: 15px;
    font-weight: 400;
    color: var(--color-primary);
    padding-bottom: 4px;
    transition: opacity 0.2s ease;
  }
  .navbar__links a::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 2px;
    background: var(--color-deep-purple);
    border-radius: 2px;
    transition: width 0.25s ease;
  }
  .navbar__links a:hover, .navbar__links a:focus-visible { opacity: 0.85; }
  .navbar__links a:hover::after, .navbar__links a:focus-visible::after,
  .navbar__links a[aria-current="page"]::after { width: 100%; }

  .navbar__toggle {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px; height: 44px;
    border-radius: 50%;
    transition: background-color 0.25s ease;
  }
  .navbar__toggle.is-active { background-color: rgba(136,87,132,0.12); }
  .navbar__toggle span {
    display: block; width: 18px; height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .navbar__toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .navbar__toggle.is-active span:nth-child(2) { opacity: 0; }
  .navbar__toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-menu {
    position: fixed; inset: 0; width: 100%; height: 100vh;
    background: var(--color-cream);
    overflow: hidden;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.65,0,0.35,1);
    z-index: 1050;
    padding: 110px 32px 32px;
  }
  .mobile-menu.is-open { transform: translateY(0); }
  .mobile-menu::before, .mobile-menu::after {
    content: ''; position: absolute; border-radius: 50%;
    filter: blur(60px); pointer-events: none; z-index: 0;
  }
  .mobile-menu::before { width: 260px; height: 260px; background: var(--color-muted); top: -80px; right: -80px; }
  .mobile-menu::after { width: 220px; height: 220px; background: rgba(136,87,132,0.25); bottom: -60px; left: -60px; }
  .mobile-menu__brandmark {
    position: absolute; bottom: 40px; right: -20px; width: 220px;
    opacity: 0.08; pointer-events: none; z-index: 0;
  }
  .mobile-menu__links { position: relative; display: flex; flex-direction: column; gap: 26px; z-index: 1; }
  .mobile-menu__links li { opacity: 0; transform: translateY(14px); transition: opacity 0.4s ease, transform 0.4s ease; }
  .mobile-menu.is-open .mobile-menu__links li { opacity: 1; transform: translateY(0); }
  .mobile-menu.is-open .mobile-menu__links li:nth-child(1) { transition-delay: .12s; }
  .mobile-menu.is-open .mobile-menu__links li:nth-child(2) { transition-delay: .18s; }
  .mobile-menu.is-open .mobile-menu__links li:nth-child(3) { transition-delay: .24s; }
  .mobile-menu.is-open .mobile-menu__links li:nth-child(4) { transition-delay: .3s; }
  .mobile-menu.is-open .mobile-menu__links li:nth-child(5) { transition-delay: .36s; }
  .mobile-menu__links a {
    position: relative; display: inline-block; font-size: 20px; font-weight: 500;
    color: var(--color-primary); transition: color 0.2s ease, transform 0.2s ease;
  }
  .mobile-menu__links a::after {
    content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px;
    background: var(--color-deep-purple); border-radius: 2px; transition: width 0.25s ease;
  }
  .mobile-menu__links a:hover, .mobile-menu__links a:focus-visible { color: var(--color-deep-purple); transform: translateX(4px); }
  .mobile-menu__links a:hover::after, .mobile-menu__links a:focus-visible::after { width: 100%; }

  @media (min-width: 960px) {
    .navbar__links { display: flex; }
    .navbar__toggle { display: none; }
  }

  /* ============ Hero ============ */
  .hero {
    position: relative;
    padding-top: 130px;
    padding-bottom: 96px;
    overflow: clip;
  }

  .hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
  }

  .hero__content { position: relative; z-index: 2; max-width: 660px; }

  .hero__heading { color: var(--color-primary); margin-bottom: 24px; }

  .hero__kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
  }
  .hero__kicker svg { flex-shrink: 0; }
  .hero__kicker span {
    font-size: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--color-primary);
  }

  .hero__sub { font-size: 18px; line-height: 1.55; color: var(--color-slate); margin-bottom: 16px; }
  .hero__body { font-size: 18px; line-height: 1.55; color: var(--color-slate); margin-bottom: 32px; max-width: 512px; }

  .hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }

  .hero__badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(136,87,132,0.15);
  }
  .hero__badge { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--color-ink); }
  .hero__badge img { width: 22px; height: 22px; object-fit: contain; }

  .hero__visual {
    position: relative;
    z-index: 1;
    justify-self: center;
    width: min(100%, 480px);
  }
  .hero__visual img {
    width: 100%;
    height: auto;
    will-change: transform;
  }

  .hero__wave {
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    line-height: 0;
    z-index: 0;
  }
  .hero__wave img { width: 100%; height: auto; }

  @media (min-width: 860px) {
    .hero { padding-top: 150px; padding-bottom: 130px; }
    .hero__grid { grid-template-columns: 1.15fr 1fr; gap: 32px; }
    .hero__visual { justify-self: end; width: 100%; max-width: 560px; }
  }

  /* ============ Space-to-be + Approach ============ */
  .interlude {
    position: relative;
    padding-block: clamp(56px, 8vw, 96px);
    overflow: clip;
  }
  .interlude::before {
    content: '';
    position: absolute;
    top: -10%;
    left: 50%;
    width: min(900px, 140%);
    aspect-ratio: 1 / 0.95;
    background: radial-gradient(closest-side, rgba(136,87,132,0.16), rgba(136,87,132,0) 72%);
    transform: translateX(-50%);
    filter: blur(4px);
    pointer-events: none;
    z-index: 0;
  }

  .interlude__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(40px, 6vw, 64px);
    align-items: start;
  }

  .space-block { text-align: center; }
  .space-block__heading { font-weight: 600; margin-bottom: 20px; }
  .space-block__heading em { font-style: normal; color: var(--color-primary); display: block; }
  .space-block__rule {
    width: 96px; height: 4px;
    background: var(--color-primary);
    border-radius: 4px;
    margin: 0 auto 32px;
  }
  .space-block__graphic { max-width: 260px; margin-inline: auto; opacity: 0.9; }

  .approach-block__intro { max-width: 480px; margin-bottom: 40px; }
  .approach-block .lede { margin-top: 20px; }

  .features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }
  .feature { text-align: center; }
  .feature__icon {
    width: 48px; height: 48px;
    margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
  }
  .feature__icon img { width: 32px; height: 32px; object-fit: contain; }
  .feature__title { font-size: 14px; font-weight: 600; color: var(--color-ink); margin-bottom: 8px; font-family: var(--font-body); }
  .feature__text { font-size: 12px; line-height: 1.5; color: var(--color-slate); }

  @media (min-width: 720px) {
    .features { grid-template-columns: repeat(4, 1fr); }
    .feature:nth-child(3) { border-left: 1px solid var(--color-border); padding-left: 16px; }
  }
  @media (min-width: 960px) {
    .interlude__grid { grid-template-columns: 0.9fr 1.1fr; text-align: left; }
    .space-block { text-align: left; }
    .space-block__rule { margin: 0 0 32px; }
    .space-block__graphic { margin-inline: 0; }
  }

  /* ============ Services ============ */
  .services {
    position: relative;
    padding-block: clamp(64px, 8vw, 112px);
    overflow: clip;
  }
  .services::before {
    content: '';
    position: absolute;
    top: 6%;
    right: -8%;
    width: min(620px, 60%);
    aspect-ratio: 1;
    background: radial-gradient(closest-side, rgba(96,43,122,0.09), rgba(96,43,122,0) 70%);
    pointer-events: none;
    z-index: 0;
  }
  .services > .container { position: relative; z-index: 1; }
  .services__banner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    padding: 10px 28px;
    border-radius: var(--radius-pill);
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
  }
  .services__banner span {
    font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--color-deep-purple);
  }
  .services__head { text-align: center; max-width: 760px; margin: 0 auto 48px; }

  .services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }
  @media (min-width: 700px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1080px) { .services__grid { grid-template-columns: repeat(3, 1fr); } }

  .service-card {
    background: var(--color-white);
    border: 1px solid rgba(136,87,132,0.1);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 32px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  }
  .service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 32px -18px rgba(96,43,122,0.28); }

  .service-card__icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
  }
  .service-card__icon img { width: 32px; height: 32px; }
  .service-card__title { font-size: 22px; font-weight: 500; margin-bottom: 12px; }
  .service-card__text { font-size: 16px; line-height: 1.6; color: var(--color-slate); margin-bottom: 20px; }
  .service-card__list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; flex-grow: 1; }
  .service-card__list li { display: flex; align-items: baseline; gap: 8px; font-size: 14px; color: var(--color-slate); }
  .service-card__list li::before { content: '✓'; color: var(--color-primary); font-size: 14px; line-height: 1; }
  .service-card__link {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 500; color: var(--color-primary);
    margin-top: auto;
    transition: gap 0.25s ease;
  }
  .service-card__link img { width: 16px; height: 16px; transition: transform 0.25s ease; }
  .service-card:hover .service-card__link img { transform: translateX(4px); }

  /* ============ Section shell (Team / Privacy / How-it-works) ============ */
  .section { position: relative; padding-block: clamp(56px, 8vw, 80px); }
  .section__head { text-align: center; max-width: 780px; margin: 0 auto clamp(32px, 5vw, 64px); }

  /* ============ Team ============ */
  .team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1024px;
    margin: 0 auto;
  }
  @media (min-width: 780px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
  .team-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    padding: 32px;
    text-align: center;
  }
  .team-card__icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(136,87,132,0.1);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
  }
  .team-card__icon img { width: 32px; height: 32px; }
  .team-card__title { font-size: 18px; font-weight: 600; }
  .team-note { text-align: center; max-width: 760px; margin: 40px auto 0; font-size: 16px; }

  /* ============ Privacy ============ */
  .privacy-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
  }
  .privacy-copy { max-width: 584px; }
  .privacy-copy .lede { margin-top: 24px; }
  .privacy-card {
    background: var(--color-cream);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .privacy-item { display: flex; align-items: flex-start; gap: 16px; }
  .privacy-item__icon {
    width: 48px; height: 48px; flex-shrink: 0;
    background: var(--color-white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
  }
  .privacy-item__icon img { width: 24px; height: 24px; }
  .privacy-item p { font-size: 18px; color: var(--color-slate); padding-top: 10px; }

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

  .section--white::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    top: -6%;
    left: -6%;
    width: min(500px, 50%);
    aspect-ratio: 1;
    background: radial-gradient(closest-side, rgba(136,87,132,0.07), rgba(136,87,132,0) 70%);
    pointer-events: none;
    z-index: 0;
  }

  /* ============ How it works ============ */
  .steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }
  @media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); } }

  .step {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    padding: 32px;
  }
  .step__num {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 16px;
  }
  .step__title { font-size: 20px; font-weight: 600; margin-bottom: 12px; }
  .step__text { font-size: 16px; line-height: 1.5; color: var(--color-slate); }
  .step__connector {
    display: none;
    position: absolute;
    right: -20px; top: 50%;
    transform: translateY(-50%);
    width: 32px; height: 32px;
    z-index: 2;
  }
  @media (min-width: 1080px) {
    .step:not(:last-child) .step__connector { display: block; }
  }

  /* ============ Testimonials ============ */
  .testimonials { overflow: clip; }
  .testimonials::before {
    content: '';
    position: absolute;
    bottom: -12%;
    left: 50%;
    width: min(700px, 90%);
    aspect-ratio: 1 / 0.7;
    background: radial-gradient(closest-side, rgba(96,43,122,0.08), rgba(96,43,122,0) 72%);
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 0;
  }
  .testimonials > .container { position: relative; z-index: 1; }
  .testimonials__head { text-align: center; max-width: 600px; margin: 0 auto 40px; }

  .testi-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 8px;
  }
  .testi-track::-webkit-scrollbar { display: none; }

  .testi-card {
    scroll-snap-align: start;
    background: var(--color-white);
    border: 1px solid rgba(232,222,209,0.5);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 33px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .testi-card__quote { font-family: var(--font-heading); font-size: 36px; color: var(--color-deep-purple); line-height: 1; }
  .testi-card__text { font-size: 14px; line-height: 1.6; color: var(--color-ink); flex-grow: 1; }
  .testi-card__person { display: flex; align-items: center; gap: 12px; }
  .testi-card__person img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
  .testi-card__name { font-size: 14px; color: var(--color-ink); }
  .testi-card__role { font-size: 12px; color: var(--color-slate); }

  .testi-dots { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
  .testi-dots button {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--color-border);
    transition: background-color 0.25s ease, transform 0.25s ease;
  }
  .testi-dots button[aria-current="true"] { background: var(--color-deep-purple); transform: scale(1.15); }

  @media (min-width: 960px) {
    .testi-track { grid-auto-flow: row; grid-auto-columns: unset; grid-template-columns: repeat(3, 1fr); overflow: visible; }
    .testi-dots { display: none; }
  }

  /* ============ Footer ============ */
  .site-footer { position: relative; border-top: 1px solid var(--color-border); padding-top: clamp(48px, 7vw, 80px); }
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 48px;
  }
  .footer-brand__logo { height: 74px; width: auto; margin-bottom: 16px; }
  .footer-brand p { font-size: 14px; color: var(--color-slate); max-width: 320px; margin-bottom: 20px; }
  .footer-social { display: flex; gap: 12px; }
  .footer-social a {
    width: 32px; height: 32px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--color-ink);
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
  }
  .footer-social a:hover { background: var(--color-primary); color: var(--color-white); transform: translateY(-2px); }
  .footer-social svg { width: 15px; height: 15px; }

  .footer-heading { font-family: var(--font-body); font-size: 14px; color: var(--color-ink); font-weight: 500; margin-bottom: 16px; }
  .footer-links { display: flex; flex-direction: column; gap: 8px; }
  .footer-links a { font-size: 14px; color: var(--color-slate); transition: color 0.2s ease; }
  .footer-links a:hover { color: var(--color-primary); }

  .footer-contact { display: flex; flex-direction: column; gap: 12px; }
  .footer-contact li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--color-slate); }
  .footer-contact img { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }

  .footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-block: 24px;
    font-size: 12px;
    color: var(--color-slate);
  }

  @media (min-width: 720px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }

  /* ============ Scroll reveal ============
     Base hidden state only — no `transition` here. When GSAP drives this
     (the normal path), GSAP tweens opacity/transform via inline styles on
     every frame; a competing CSS transition on the same properties would
     fight those per-frame writes and read as laggy, mushy motion. The
     `.no-gsap` fallback (added by JS only if GSAP fails to load) re-enables
     a plain CSS-transition version so the reveal still works without JS. */
  .reveal {
    opacity: 0;
    transform: translateY(28px);
  }
  .reveal.is-visible { opacity: 1; transform: translateY(0); }

  .reveal-stagger > * {
    opacity: 0;
    transform: translateY(24px);
  }
  .reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }

  .no-gsap .reveal {
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  }
  .no-gsap .reveal-stagger > * {
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }
  .no-gsap .reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.02s; }
  .no-gsap .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.09s; }
  .no-gsap .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.16s; }
  .no-gsap .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.23s; }
  .no-gsap .reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.30s; }
  .no-gsap .reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.37s; }

  @media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
  }

  /* ============ Split-word heading reveal (GSAP-driven) ============ */
  .split-line { overflow: clip; display: block; }
  .split-word {
    display: inline-block;
    overflow: clip;
    vertical-align: top;
    padding-bottom: 0.12em;
    margin-bottom: -0.12em;
  }
  .split-word-inner {
    display: inline-block;
    will-change: transform;
  }
  .js-split:not(.js-split-ready) { opacity: 0; }

  /* ============ Card depth (tilt interaction) ============ */
  .service-card, .team-card, .step, .testi-card {
    transform-style: preserve-3d;
    will-change: transform;
  }
  .services__grid, .team-grid, .steps { perspective: 1000px; }

  /* When JS drives cursor-tilt via GSAP quickTo, the transform value is set
     on the inline style every frame; a CSS transition on the same property
     would fight that per-frame write and read as laggy. Box-shadow keeps
     its CSS transition; transform is fully handed over to JS/GSAP. */
  .tilt-enhanced { transition: box-shadow 0.4s var(--ease) !important; }
  @media (pointer: coarse) {
    .service-card, .team-card, .step, .testi-card, .info-card { will-change: auto; }
  }

  /* ============ Long-form hero copy (About-page intro variant) ============
     .hero__body caps at 512px for a short blurb (home page); this modifier
     widens the measure and stacks multiple paragraphs for a longer intro. */
  .hero__body--long {
    max-width: 620px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
  }

  /* Secondary decorative accent (About hero's ribbon graphic) — same layer
     convention as .hero__wave (z-index: 0, sits behind the visual/content). */
  .hero__ribbon {
    position: absolute;
    right: -6%;
    bottom: -14%;
    width: 42%;
    max-width: 420px;
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
  }

  /* ============ 4-up grid modifier (Mission & Values reuses .team-card) ====
     Same card component as Team on the homepage; only the grid column count
     differs, so this stays a modifier rather than a new component. */
  .team-grid--quad { grid-template-columns: 1fr; }
  @media (min-width: 600px) { .team-grid--quad { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1100px) { .team-grid--quad { grid-template-columns: repeat(4, 1fr); } }

  /* ============ Checklist (Our Philosophy) ============ */
  .checklist { display: flex; flex-direction: column; gap: 16px; margin: 24px 0 0; }
  .checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 18px; color: var(--color-slate); }
  .checklist img { width: 20px; height: 20px; margin-top: 4px; flex-shrink: 0; }
  .checklist-close { font-size: 18px; font-weight: 500; color: var(--color-slate); margin-top: 24px; }

  /* ============ Info card (Why Choose Athisa Health) ============
     Simpler sibling of .service-card: no icon chip, list, or link — just a
     heading + paragraph on a white shadow card. Included in the same
     card-tilt JS query as service/team/step cards (see site.js). */
  .info-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    padding: 32px;
    transform-style: preserve-3d;
    will-change: transform;
  }
  .info-card__title { font-size: 20px; font-weight: 500; margin-bottom: 12px; }
  .info-card__text { font-size: 16px; line-height: 1.6; color: var(--color-slate); }

  /* ============ Why Choose: growing accent bar (About page only) ============
     A real element (injected by site.js, not a ::before) so GSAP can
     scroll-scrub its scaleY directly — distinct entrance flourish from
     Services' card-tilt and Home's card-blur, page-appropriate since these
     are plain text cards with no icon to animate instead. */
  .why-choose__grid .info-card {
    position: relative;
    overflow: hidden;
    padding-left: 40px;
  }
  .info-card__accent {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--color-primary), var(--color-deep-purple));
    transform-origin: top;
  }
  .why-choose__grid { perspective: 1000px; }

  /* ============ CTA (Ready to Begin Your Healing Journey) ============ */
  .cta__card {
    position: relative;
    max-width: 848px;
    margin: 0 auto;
    background: var(--color-white);
    border: 1px solid rgba(136,87,132,0.1);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px -20px rgba(0,0,0,0.18);
    padding: clamp(32px, 5vw, 64px);
    text-align: center;
  }
  .cta__glow {
    position: absolute;
    inset: -12%;
    z-index: -1;
    filter: blur(64px);
    border-radius: 9999px;
    background: linear-gradient(160deg, rgba(233,212,255,0.35), rgba(252,206,232,0.28), rgba(190,219,255,0.28));
    pointer-events: none;
  }
  .cta__title { margin-bottom: 16px; }
  .cta__text { margin-bottom: 32px; }

  /* ============ Pill list (Our Approach — Services page) ============
     Rounded white "pill" rows with a small brand-colored dot, used for
     therapeutic-modality and priority lists. Distinct from .checklist
     (plain rows with a check icon) — Figma renders these as individual
     soft-shadowed cards, not a bare list. */
  .pill-list { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
  .pill-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--color-white);
    border-radius: 28px;
    padding: 16px;
    box-shadow: 0px 1px 1.5px rgba(0,0,0,0.1), 0px 1px 1px rgba(0,0,0,0.1);
    font-size: 16px;
    color: var(--color-slate);
  }
  .pill-item::before {
    content: '';
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--color-primary);
    flex-shrink: 0;
  }

  /* ============ Approach split (photo + copy) ============ */
  .approach-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(32px, 5vw, 48px);
    align-items: start;
  }
  .approach-split__photo {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0px 20px 25px -5px rgba(0,0,0,0.1), 0px 8px 10px -6px rgba(0,0,0,0.1);
  }
  .approach-split__photo img { width: 100%; height: auto; display: block; }
  @media (min-width: 960px) {
    .approach-split { grid-template-columns: 1fr 1fr; }
    .approach-split__photo { margin-top: clamp(0px, 4vw, 64px); }
  }

  /* ============ Per-card scroll-scrubbed settle ============
     Keyframes are driven by GSAP (see site.js .card-scroll-fx), continuously
     scrubbed to scroll position on every pointer type — so unlike
     .tilt-enhanced (added only for fine pointers on mousemove), this strips
     the competing CSS transform transition unconditionally at rest. */
  .card-scroll-fx {
    transform-origin: center bottom;
    transition: box-shadow 0.4s var(--ease) !important;
  }

  /* ============ Contact info items (Contact page) ============ */
  .contact-item { display: flex; gap: 16px; align-items: flex-start; }
  .contact-item__icon {
    width: 48px; height: 48px; flex-shrink: 0;
    border-radius: 50%;
    background: rgba(136,87,132,0.1);
    display: flex; align-items: center; justify-content: center;
    transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .contact-item__icon img { width: 20px; height: 20px; }
  .contact-item:hover .contact-item__icon { background: var(--color-primary); transform: scale(1.08); }
  .contact-item:hover .contact-item__icon img { filter: brightness(0) invert(1); }
  .contact-item__label { font-family: var(--font-heading); font-size: 18px; font-weight: 600; color: var(--color-ink); }
  .contact-item__value { font-size: 16px; color: var(--color-slate); margin-top: 4px; }
  .contact-item__meta { font-size: 14px; color: rgba(92,99,120,0.7); margin-top: 4px; }

  /* ============ Contact form ============ */
  .form-card {
    background: var(--color-white);
    border: 1px solid rgba(136,87,132,0.1);
    border-radius: var(--radius-lg);
    box-shadow: 0px 20px 12.5px rgba(0,0,0,0.1), 0px 8px 5px rgba(0,0,0,0.1);
    padding: clamp(24px, 4vw, 33px);
  }
  .form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
  .form-label { font-size: 14px; font-weight: 500; color: var(--color-slate); }
  .form-control {
    width: 100%;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-ink);
    background: var(--color-white);
    border: 1px solid rgba(136,87,132,0.2);
    border-radius: 28px;
    padding: 12px 16px;
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  }
  .form-control::placeholder { color: rgba(92,99,120,0.5); }
  .form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(136,87,132,0.12);
  }
  textarea.form-control { border-radius: 20px; min-height: 130px; resize: vertical; }
  .form-select-wrap { position: relative; }
  .form-select-wrap::after {
    content: '';
    position: absolute; right: 20px; top: 50%;
    width: 10px; height: 10px;
    border-right: 2px solid var(--color-slate);
    border-bottom: 2px solid var(--color-slate);
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
  }
  select.form-control { appearance: none; cursor: pointer; }
  .form-submit { width: 100%; }

  .form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 48px 24px;
  }
  .form-success.is-active { display: flex; }
  .form-success__icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
  }

  /* ============ Map card (Contact page) ============ */
  .map-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 24px;
    min-height: 320px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0px 20px 25px -5px rgba(0,0,0,0.1), 0px 8px 10px -6px rgba(0,0,0,0.1);
    background: linear-gradient(163deg, rgba(233,212,255,0.3) 0%, rgba(252,206,232,0.2) 50%, rgba(190,219,255,0.2) 100%);
    padding: 32px;
    text-align: center;
  }
  .map-card__pin {
    width: 64px; height: 64px;
    animation: pin-pulse 2.4s ease-in-out infinite;
  }
  @keyframes pin-pulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }
  @media (prefers-reduced-motion: reduce) {
    .map-card__pin { animation: none; }
  }
  .map-card__text { font-size: 18px; color: var(--color-slate); max-width: 320px; }

  /* ============ CTA highlight line (bold accent statement above button) ============ */
  .cta__highlight {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 20px;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 32px;
  }

  /* ============ Accordion (FAQ) ============
     Built on native <details>/<summary> so it works correctly with zero
     JS (instant open/close via the browser's own toggle behavior and the
     [open] rule below). site.js progressively enhances this with a
     prevented-default + GSAP height animation and single-open behavior;
     the CSS here is what makes the un-enhanced version function at all,
     not just a decorative shell. */
  .accordion { display: flex; flex-direction: column; gap: 16px; }
  .accordion-item {
    background: var(--color-white);
    border: 1px solid rgba(136,87,132,0.1);
    border-radius: var(--radius-md);
    box-shadow: 0px 1px 3px rgba(0,0,0,0.1), 0px 1px 2px -1px rgba(0,0,0,0.1);
    overflow: hidden;
  }
  .accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 24px;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--color-ink);
    transition: color 0.25s var(--ease);
  }
  .accordion-trigger::-webkit-details-marker { display: none; }
  .accordion-trigger::marker { content: ''; }
  .accordion-item:hover .accordion-trigger { color: var(--color-primary); }
  .accordion-icon { flex-shrink: 0; width: 20px; height: 20px; transition: transform 0.3s var(--ease); }
  .accordion-item[open] .accordion-icon { transform: rotate(180deg); }
  .accordion-panel {
    height: 0;
    overflow: hidden;
    padding: 0 24px;
  }
  .accordion-item[open] .accordion-panel { height: auto; padding-bottom: 24px; }
  .accordion-panel p { font-size: 16px; line-height: 1.6; color: var(--color-slate); }
