/* An Uncluttered Space — Business concept: light, bright, elegant and business-like.
   Palette: the original site's colours (tan, teal, ink, grey, white) with light tints for grounds, plus one brighter,
   more saturated teal reserved for "act here". Type: Manrope, with the brand's Playfair Display italic for accents.
   Motion: quick, crisp entrances on easeOutQuart (Stripe's house curve), one item after another, ~70 ms apart. */

:root {
  /* Original palette */
  --tan: #B6A27C;
  --teal: #51A496;
  --teal-dark: #39786B;
  --teal-darker: #2D6156;
  --teal-light: #D4F2ED;
  --ink: #252525;
  --ink-soft: #575757;
  --grey: #EEEEEE;
  --white: #FFFFFF;

  /* Light grounds: tints of the palette */
  --tint: #F1FAF8;           /* teal-light, lighter */
  --tint-2: #E3F5F1;
  --warm: #FAF8F4;           /* tan at ~5% */
  --mist: #F7F7F7;           /* the grey, lighter */
  --line: #E6E6E6;
  --tan-ink: #6F5E3E;

  /* The call to action: the original teal, brighter and more saturated, with white text.
     On hover it brightens and glows rather than darkening. */
  --cta: #1EB89F;
  --cta-hover: #2CCAAE;
  --cta-ink: #FFFFFF;

  --error: #A32019;

  --f-sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --f-accent: "Playfair Display", Georgia, "Times New Roman", serif;

  /* Motion (values read from Stripe's and Linear's stylesheets) */
  --ease: cubic-bezier(.25, 1, .5, 1);           /* easeOutQuart: Stripe's --ease */
  --ease-card: cubic-bezier(.165, .84, .44, 1);  /* Stripe's --card-ease */
  --ease-acc: cubic-bezier(.65, .05, .36, 1);    /* Stripe's accordion */
  --ease-back: cubic-bezier(.34, 1.4, .64, 1);   /* a small overshoot, for number badges only */

  --shadow-sm: 0 1px 2px rgba(16, 48, 42, .06), 0 2px 8px -2px rgba(16, 48, 42, .06);
  --shadow: 0 1px 2px rgba(16, 48, 42, .05), 0 12px 32px -12px rgba(16, 48, 42, .16);
  --shadow-lg: 0 2px 6px rgba(16, 48, 42, .05), 0 28px 60px -24px rgba(16, 48, 42, .28);

  --hdr: 4.5rem;
  --gutter: clamp(1.25rem, 4.5vw, 3rem);
  --max: 78rem;
  --sec: clamp(4.5rem, 3rem + 5vw, 7.5rem);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font: 400 1.0625rem/1.65 var(--f-sans);
  color: var(--ink-soft);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
figure > picture { display: block; height: 100%; }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: var(--teal-dark); text-decoration: none; }
strong { color: var(--ink); font-weight: 700; }
:focus-visible { outline: 3px solid rgba(57, 120, 107, .55); outline-offset: 3px; border-radius: 8px; }
html[data-input="pointer"] :focus-visible { outline: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 100; padding: .8rem 1.1rem; border-radius: 10px;
  background: var(--ink); color: var(--white); font-weight: 600; transition: top .3s var(--ease);
}
.skip-link:focus { top: 1rem; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Type ---------- */
.eyebrow { font: 700 .8125rem/1.2 var(--f-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--teal-dark); }
.title {
  margin-top: .9rem; font: 700 clamp(2.1rem, 1.35rem + 2.7vw, 3.5rem)/1.08 var(--f-sans);
  letter-spacing: -.032em; color: var(--ink); text-wrap: balance;
}
.title em, .hero__title em { font: italic 500 1.04em/1 var(--f-accent); letter-spacing: -.01em; color: var(--teal-dark); }
.lead { margin-top: 1.1rem; font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.6; text-wrap: pretty; }
.lead a { font-weight: 600; text-decoration: underline; text-decoration-color: rgba(57, 120, 107, .35); text-underline-offset: .2em; }
.head { max-width: 44rem; }
.head--center { margin-inline: auto; text-align: center; }
.section { padding-block: var(--sec); }
.section--tint { background: var(--tint); }
.section--warm { background: var(--warm); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0 1.4rem; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 .9375rem/1 var(--f-sans); letter-spacing: -.005em; white-space: nowrap; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease),
              box-shadow .35s var(--ease), transform .35s var(--ease);
}
.btn--sm { min-height: 2.6rem; padding: 0 1.1rem; font-size: .875rem; }
.btn--lg { min-height: 3.5rem; padding: 0 1.75rem; font-size: 1rem; }
.btn--block { width: 100%; }
/* White text and arrow; a faint shadow under the letters keeps their edges crisp on the bright teal. */
.btn--cta { background: var(--cta); color: var(--cta-ink); box-shadow: 0 1px 2px rgba(6, 38, 33, .12); text-shadow: 0 1px 1.5px rgba(6, 60, 50, .28); }
.btn--cta .arrow { filter: drop-shadow(0 1px 1px rgba(6, 60, 50, .28)); }
.btn--cta:hover {
  background: var(--cta-hover); color: var(--cta-ink); transform: translateY(-1px);
  box-shadow: 0 0 0 4px rgba(44, 202, 174, .18), 0 12px 30px -10px rgba(30, 184, 159, .9);
}
.btn--ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--teal-dark); color: var(--teal-dark); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0) scale(.985); }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

/* Stripe's hover arrow: a chevron at rest; on hover its stem appears and the tip moves 3 px. */
.arrow { width: .65rem; height: .65rem; margin-left: .55rem; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.arrow__line { opacity: 0; transition: opacity .2s var(--ease); }
.arrow__tip { transition: transform .2s cubic-bezier(.215, .61, .355, 1); }
a:hover > .arrow .arrow__line, button:hover > .arrow .arrow__line, a:focus-visible > .arrow .arrow__line { opacity: 1; }
a:hover > .arrow .arrow__tip, button:hover > .arrow .arrow__tip, a:focus-visible > .arrow .arrow__tip { transform: translateX(3px); }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: rgba(255, 255, 255, 0);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.hdr.is-open { background: var(--white) !important; }
.hdr.is-solid, .hdr.is-open {
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 var(--line), 0 6px 24px -18px rgba(16, 48, 42, .3);
}
.hdr__in {
  height: var(--hdr); max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); }
.brand__mark { width: 2.125rem; height: 2.125rem; border-radius: 21.9%; }
.brand__name { font: 800 1.02rem/1 var(--f-sans); letter-spacing: -.02em; white-space: nowrap; }
.nav { display: none; position: relative; margin-inline: auto; }
.nav__list { display: flex; gap: .25rem; position: relative; z-index: 1; }
.nav__link {
  display: inline-flex; align-items: center; height: 2.4rem; padding: 0 .95rem; border-radius: 999px;
  font: 600 .9375rem/1 var(--f-sans); color: var(--ink); transition: color .25s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="true"] { color: var(--teal-darker); }
/* One pill glides between links: to the one under the pointer, back to the section you are reading. */
.nav__indicator {
  position: absolute; top: 0; left: 0; height: 2.4rem; width: var(--w, 0); border-radius: 999px;
  background: var(--tint-2); opacity: 0; transform: translateX(var(--x, 0));
  transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s var(--ease);
}
.nav__indicator.is-on { opacity: 1; }
.hdr__actions { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.hdr__phone { display: none; align-items: center; gap: .45rem; font: 700 .9375rem/1 var(--f-sans); color: var(--ink); white-space: nowrap; }
.hdr__phone .icon { width: 1.05rem; height: 1.05rem; color: var(--teal-dark); }
.hdr__phone:hover { color: var(--teal-dark); }
.hdr__cta { display: none; }
.menu-btn {
  width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border: 1.5px solid var(--line);
  border-radius: 999px; background: var(--white); cursor: pointer; color: var(--ink);
}
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after {
  display: block; width: 1.05rem; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform .4s var(--ease), opacity .2s ease;
}
.menu-btn__bars { position: relative; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.menu-btn__bars::before { transform: translateY(-5px); }
.menu-btn__bars::after { transform: translateY(5px); }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: rotate(45deg); background: var(--ink); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: rotate(-45deg); background: var(--ink); }
@media (min-width: 36rem) { .hdr__cta { display: inline-flex; } }
@media (min-width: 64rem) {
  .nav { display: block; }
  .menu-btn { display: none; }
  .mnav { display: none; }
}
@media (min-width: 75rem) { .hdr__phone { display: inline-flex; } }

/* Mobile menu: a panel that unfolds to its true height (0fr → 1fr), and folds back the same way. */
.mnav { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-acc); }
.hdr.is-open .mnav { grid-template-rows: 1fr; }
.mnav__clip { overflow: hidden; }
.mnav__in { padding: .25rem var(--gutter) 1.5rem; max-width: var(--max); margin-inline: auto; }
.mnav__list a {
  display: block; padding: .9rem 0; border-bottom: 1px solid var(--line);
  font: 700 1.25rem/1.2 var(--f-sans); letter-spacing: -.02em; color: var(--ink);
  opacity: 0; transform: translateY(-6px); transition: opacity .3s ease, transform .45s var(--ease);
}
.hdr.is-open .mnav__list a { opacity: 1; transform: none; transition-delay: calc(80ms + var(--i, 0) * 35ms); }
.mnav__foot { display: grid; gap: .75rem; margin-top: 1.25rem; }
.mnav__foot .btn { min-height: 3.25rem; }
.mnav [hidden] { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: clip;
  padding: calc(var(--hdr) + clamp(2rem, 5vw, 4rem)) 0 clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(58rem 36rem at 92% -8%, rgba(212, 242, 237, .95), rgba(212, 242, 237, 0) 62%),
    radial-gradient(42rem 28rem at -8% 108%, rgba(182, 162, 124, .14), rgba(182, 162, 124, 0) 60%),
    var(--white);
}
.hero__grid { display: grid; gap: clamp(2.75rem, 6vw, 4rem); align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .9rem .45rem .75rem;
  border: 1px solid rgba(57, 120, 107, .22); border-radius: 999px; background: rgba(255, 255, 255, .75);
  font: 700 .8125rem/1.2 var(--f-sans); color: var(--teal-darker);
}
.pill__dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--cta); box-shadow: 0 0 0 4px rgba(30, 184, 159, .18); }
.hero__title {
  /* On phones "Turn chaos" (5.0 em) fills the line between the margins. */
  margin-top: 1.25rem; font: 800 clamp(2.6rem, calc((100vw - 2 * var(--gutter)) / 5.2), 4.6rem)/1 var(--f-sans);
  letter-spacing: -.045em; color: var(--ink); text-wrap: balance;
}
.hero__title em { letter-spacing: -.02em; }
@media (min-width: 36rem) { .hero__title { font-size: clamp(3.4rem, 1.4rem + 5.4vw, 5.4rem); } }
.hero__lede { margin-top: 1.4rem; max-width: 34rem; font-size: clamp(1.0625rem, 1rem + .35vw, 1.2rem); line-height: 1.6; text-wrap: pretty; }
.hero__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__visual { position: relative; }
.hero__media { --r: 28px; aspect-ratio: 6 / 5; border-radius: var(--r); overflow: hidden; background: var(--grey); box-shadow: var(--shadow-lg); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 65%; }
.hero__card {
  position: absolute; left: clamp(-1.5rem, -2vw, -.5rem); bottom: clamp(-1.75rem, -2.5vw, -1rem);
  display: flex; align-items: center; gap: .85rem; padding: .9rem 1.2rem .9rem .9rem; max-width: 19rem;
  background: var(--white); border-radius: 16px; box-shadow: var(--shadow-lg);
}
.hero__card-icon { width: 2.6rem; height: 2.6rem; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--tint-2); color: var(--teal-dark); }
.hero__card strong { display: block; font-size: 1rem; line-height: 1.3; }
.hero__card span span { display: block; font-size: .875rem; line-height: 1.4; }
@media (max-width: 35.99rem) {
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__card { left: .75rem; right: .75rem; bottom: -1.5rem; max-width: none; }
}
@media (min-width: 36rem) and (max-width: 59.99rem) { .hero__media { aspect-ratio: 16 / 10; } }
@media (min-width: 60rem) {
  .hero { padding-top: calc(var(--hdr) + clamp(3rem, 7vh, 5rem)); }
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); column-gap: clamp(3rem, 5vw, 5rem); }
}

/* ---------- Facts ---------- */
.facts { border-block: 1px solid var(--line); background: var(--white); }
.facts .facts__list { display: grid; padding-inline: var(--gutter); }
.fact { display: flex; align-items: center; gap: .9rem; padding: 1.25rem 0; }
.fact + .fact { border-top: 1px solid var(--line); }
.fact__icon { width: 2.75rem; height: 2.75rem; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--tint); color: var(--teal-dark); }
.fact strong { display: block; font-size: .9875rem; line-height: 1.3; }
.fact span span { display: block; font-size: .875rem; line-height: 1.4; }
@media (min-width: 40rem) {
  .facts__list { grid-template-columns: 1fr 1fr; }
  .fact { padding: 1.5rem 1.25rem 1.5rem 0; }
  .fact + .fact { border-top: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (min-width: 75rem) {
  .facts__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fact { padding: 1.75rem 1.25rem; }
  .fact:first-child { padding-left: 0; }
  .fact:nth-child(n + 3) { border-top: 0; }
  .fact + .fact { border-left: 1px solid var(--line); }
}

/* ---------- Services ---------- */
.cards { display: grid; gap: 1.5rem; margin-top: clamp(2.5rem, 5vw, 3.75rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease-card), box-shadow .5s var(--ease-card), border-color .5s var(--ease-card);
}
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--grey); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-card); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.6rem; }
.card__title { font: 700 1.25rem/1.25 var(--f-sans); letter-spacing: -.02em; color: var(--ink); }
.card__text { margin-top: .55rem; font-size: 1rem; line-height: 1.6; }
.card__link { margin-top: auto; padding-top: 1.1rem; display: inline-flex; align-items: center; width: max-content; font: 700 .9375rem/1.2 var(--f-sans); color: var(--teal-dark); }
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
  .card:hover .card__media img { transform: scale(1.045); }
}

/* ---------- How it works ---------- */
.steps { display: grid; gap: 2rem; margin-top: clamp(2.5rem, 5vw, 4rem); --n: 2.75rem; --g: 1.5rem; }
.step { position: relative; display: grid; grid-template-columns: var(--n) 1fr; column-gap: 1.1rem; align-content: start; }
.step__num {
  grid-row: span 2; width: var(--n); height: var(--n); display: grid; place-items: center; border-radius: 50%;
  background: var(--white); color: var(--teal-dark); font: 800 1.05rem/1 var(--f-sans);
  box-shadow: inset 0 0 0 1.5px rgba(57, 120, 107, .35), var(--shadow-sm);
}
.step__title { align-self: end; font: 700 1.15rem/1.3 var(--f-sans); letter-spacing: -.015em; color: var(--ink); }
.step__text { margin-top: .35rem; font-size: 1rem; }
/* Connectors from each number to the next: down on phones, across on desktop. */
.step:not(:last-child)::after {
  content: ""; position: absolute; left: calc(var(--n) / 2 - .75px); top: calc(var(--n) + .4rem); bottom: calc(-2rem + .4rem);
  width: 1.5px; background: rgba(57, 120, 107, .3); transform-origin: top center;
}
@media (min-width: 60rem) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--g); }
  .step { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .step__num { grid-row: auto; margin-bottom: 1.25rem; }
  .step__title { align-self: auto; }
  .step__text { max-width: 15rem; }
  .step:not(:last-child)::after {
    top: calc(var(--n) / 2 - .75px); bottom: auto; width: auto; height: 1.5px;
    left: calc(50% + var(--n) / 2 + .6rem); right: calc(-50% - var(--g) + var(--n) / 2 + .6rem);
    transform-origin: left center;
  }
}

.how__cta { margin-top: clamp(2.75rem, 5vw, 3.75rem); display: flex; flex-direction: column; align-items: center; gap: .9rem; text-align: center; }
.how__cta p { font-size: .9375rem; }
.how__cta p a { font-weight: 700; color: var(--teal-dark); white-space: nowrap; }
.how__cta p a:hover { color: var(--teal-darker); text-decoration: underline; text-underline-offset: .2em; }

/* ---------- Pricing ---------- */
.plans { display: grid; gap: 1.5rem; margin-top: clamp(2.5rem, 5vw, 4rem); align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 2rem 1.75rem 1.75rem;
  background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-sm);
}
.plan--feature { background: linear-gradient(180deg, var(--tint) 0%, var(--white) 55%); border: 1.5px solid rgba(57, 120, 107, .45); box-shadow: var(--shadow); }
.plan__badge {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  padding: .4rem .9rem; border-radius: 999px; background: var(--teal-dark); color: var(--white);
  font: 700 .75rem/1.2 var(--f-sans); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.plan__icon {
  width: 3.75rem; height: 3.25rem; background: var(--tan);
  -webkit-mask: var(--icon) left bottom / contain no-repeat; mask: var(--icon) left bottom / contain no-repeat;
}
.plan__icon--4 { --icon: url("../icons/package-4h.svg"); }
.plan__icon--8 { --icon: url("../icons/package-8h.svg"); }
.plan__icon--12 { --icon: url("../icons/package-12h.svg"); }
.plan__name { margin-top: 1.25rem; font: 800 1.35rem/1.2 var(--f-sans); letter-spacing: -.02em; color: var(--ink); }
.plan__for { margin-top: .3rem; font-size: .9875rem; }
.plan__price { margin-top: 1.4rem; display: flex; align-items: baseline; gap: .45rem; }
.plan__amount { font: 800 clamp(2.8rem, 2.3rem + 1.6vw, 3.4rem)/1 var(--f-sans); letter-spacing: -.045em; color: var(--ink); }
.plan__unit { font-weight: 600; font-size: .9375rem; }
.plan__rate { margin-top: .6rem; min-height: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-weight: 700; font-size: .9375rem; color: var(--ink); }
.plan__save { padding: .2rem .55rem; border-radius: 999px; background: var(--tint-2); color: var(--teal-darker); font-size: .8125rem; }
.plan__btn { margin-top: auto; width: 100%; }
.plan__rate { margin-bottom: 1.75rem; }
.plans__note { margin: 2rem auto 0; max-width: 40rem; text-align: center; font-size: .9375rem; }
.plans__note a { font-weight: 700; text-decoration: underline; text-decoration-color: rgba(57, 120, 107, .35); text-underline-offset: .2em; }
@media (min-width: 46rem) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
@media (min-width: 46rem) and (max-width: 63.99rem) { .plan { padding: 1.9rem 1.25rem 1.4rem; } .plan__badge { font-size: .6875rem; padding-inline: .7rem; } }
@media (max-width: 45.99rem) { .plans { max-width: 28rem; margin-inline: auto; } .plan--feature { margin-top: .5rem; } }

/* ---------- About ---------- */
.about__grid { display: grid; gap: clamp(3.5rem, 7vw, 5rem); align-items: center; }
.about__media { position: relative; padding-bottom: 2.5rem; padding-right: 1.5rem; }
.about__img { overflow: hidden; background: var(--grey); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img--main { --r: 24px; aspect-ratio: 5 / 4; border-radius: var(--r); box-shadow: var(--shadow); }
.about__img--inset {
  --r: 16px; position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 4 / 3; border-radius: var(--r);
  border: 6px solid var(--white); box-shadow: var(--shadow-lg);
}
.about__lead { margin-top: 1.25rem; font: italic 500 clamp(1.3rem, 1.1rem + .6vw, 1.55rem)/1.4 var(--f-accent); color: var(--ink); }
.about__text > p:not(.eyebrow):not(.about__lead) { margin-top: 1rem; text-wrap: pretty; }
.checks { margin-top: 1.5rem; display: grid; gap: .75rem; }
.checks li { display: flex; align-items: center; gap: .75rem; font-weight: 600; color: var(--ink); }
.checks .icon { width: 1.6rem; height: 1.6rem; padding: .3rem; border-radius: 50%; background: var(--teal-light); color: var(--teal-darker); stroke-width: 2.2; }
@media (min-width: 60rem) { .about__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(3rem, 6vw, 6rem); } }

/* ---------- Team ---------- */
.people { display: grid; gap: 1.5rem; margin-top: clamp(2.5rem, 5vw, 4rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.person { background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); }
.person__media { aspect-ratio: 4 / 4.2; overflow: hidden; background: var(--grey); }
.person__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.person__media .person__img--michael { object-position: 62% 30%; }
.person__body { padding: 1.4rem 1.5rem 1.6rem; }
.person__name { font: 700 1.2rem/1.3 var(--f-sans); letter-spacing: -.015em; color: var(--ink); }
.person__role {
  display: inline-block; margin-top: .5rem; padding: .25rem .65rem; border-radius: 999px; background: var(--tint-2);
  font: 700 .75rem/1.3 var(--f-sans); letter-spacing: .05em; text-transform: uppercase; color: var(--teal-darker);
}
.person__text { margin-top: .8rem; font-size: 1rem; }
@media (max-width: 35.99rem) {
  .person { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); }
  .person__media { aspect-ratio: auto; height: 100%; min-height: 11rem; }
  .person__body { padding: 1.1rem 1.15rem 1.25rem; }
  .person__name { font-size: 1.1rem; }
  .person__text { font-size: .9375rem; }
}
.person__text a { font-weight: 600; text-decoration: underline; text-decoration-color: rgba(57, 120, 107, .35); text-underline-offset: .2em; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; gap: 2.5rem; }
.accordion { display: grid; gap: .75rem; }
.qa { background: var(--white); border: 1px solid var(--line); border-radius: 16px; transition: box-shadow .3s var(--ease), border-color .3s var(--ease); }
.qa.is-open { box-shadow: var(--shadow); border-color: transparent; }
.qa h3 { margin: 0; font: inherit; }
.qa__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.25rem 1.15rem 1.4rem; border: 0; background: none; cursor: pointer; text-align: left;
  font: 700 1.0625rem/1.4 var(--f-sans); letter-spacing: -.01em; color: var(--ink); border-radius: 16px;
}
.qa__icon { position: relative; width: 1.9rem; height: 1.9rem; flex: none; border-radius: 50%; background: var(--tint); transition: background-color .3s var(--ease); }
.qa__icon::before, .qa__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: .75rem; height: 1.6px; margin: -.8px 0 0 -.375rem;
  background: var(--teal-dark); border-radius: 2px; transition: transform .36s var(--ease-acc);
}
.qa__icon::after { transform: rotate(90deg); }
.qa__q[aria-expanded="true"] .qa__icon { background: var(--teal-light); }
.qa__q[aria-expanded="true"] .qa__icon::after { transform: rotate(0deg); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .36s var(--ease-acc); }
.qa__a > div { overflow: hidden; }
.qa__a p { padding: 0 1.4rem 1.25rem; font-size: 1rem; opacity: 0; transform: translateY(-4px); transition: opacity .3s ease, transform .36s var(--ease-acc); }
.qa__a a { font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa.is-open .qa__a p { opacity: 1; transform: none; transition-delay: .08s; }
@media (min-width: 60rem) { .faq__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(3rem, 6vw, 6rem); align-items: start; } .faq__intro { position: sticky; top: calc(var(--hdr) + 2rem); } }

/* ---------- Schedule ---------- */
.schedule { background: linear-gradient(180deg, var(--white) 0%, var(--tint) 100%); }
.schedule__grid { display: grid; gap: clamp(3rem, 6vw, 4rem); }
.next { margin-top: 2rem; display: grid; gap: 1rem; }
.next li { display: flex; gap: .9rem; align-items: flex-start; }
.next__num { width: 2rem; height: 2rem; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--teal-dark); color: var(--white); font: 800 .875rem/1 var(--f-sans); margin-top: .1rem; }
.next strong { display: block; font-size: 1rem; }
.next span span, .next li > span:last-child { font-size: .9875rem; }
.contact { margin-top: 2rem; padding-top: 1.75rem; border-top: 1px solid var(--line); display: grid; gap: .85rem; }
.contact li { display: flex; align-items: center; gap: .75rem; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.contact .icon { color: var(--teal-dark); }
.contact a { color: var(--ink); }
.contact a:hover { color: var(--teal-dark); }
@media (min-width: 64rem) { .schedule__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(3rem, 6vw, 6rem); align-items: start; } }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); padding: clamp(1.5rem, 4vw, 2.5rem); }
.form { display: grid; gap: 1.15rem 1.25rem; }
@media (min-width: 36rem) { .form { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: .4rem; align-content: start; }
.field label { font: 700 .875rem/1.3 var(--f-sans); color: var(--ink); }
.req { color: var(--teal-dark); }
.opt { font-weight: 500; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .95rem; border: 1.5px solid #DCDCDC; border-radius: 12px; background: #FCFCFC;
  font: 500 1rem/1.4 var(--f-sans); color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field ::placeholder { color: #8A8A8A; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #BDBDBD; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--white); border-color: var(--teal-dark); box-shadow: 0 0 0 4px rgba(81, 164, 150, .18); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(163, 32, 25, .12); }
.select { position: relative; }
.select select { padding-right: 2.6rem; cursor: pointer; }
.select::after {
  content: ""; position: absolute; right: 1.05rem; top: 50%; width: .5rem; height: .5rem;
  border-right: 1.8px solid var(--ink); border-bottom: 1.8px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.field__error { font-size: .875rem; font-weight: 600; color: var(--error); }
.field.is-prefilled select { border-color: var(--cta); box-shadow: 0 0 0 4px rgba(30, 184, 159, .2); }
.form__actions { margin-top: .4rem; }
.form__status { margin-top: .75rem; font-size: .9375rem; text-align: center; }
.form__status:empty { display: none; }
.form__status.is-error { color: var(--error); font-weight: 600; }
.form__status a { color: inherit; text-decoration: underline; }
.form-success { text-align: center; padding: 2.5rem 1rem; }
.form-success:focus { outline: none; }
.form-success__icon { display: block; width: 3.5rem; height: 3.5rem; margin: 0 auto 1.25rem; border-radius: 50%; background: var(--teal-light); position: relative; }
.form-success__icon::after { content: ""; position: absolute; left: 50%; top: 46%; width: .8rem; height: 1.4rem; border-right: 2.5px solid var(--teal-dark); border-bottom: 2.5px solid var(--teal-dark); transform: translate(-50%, -50%) rotate(45deg); }
.form-success h3 { font: 800 1.75rem/1.2 var(--f-sans); letter-spacing: -.03em; color: var(--ink); }
.form-success p { margin-top: .5rem; }

/* ---------- Footer ---------- */
.footer { background: var(--mist); border-top: 1px solid var(--line); padding-top: clamp(3.5rem, 6vw, 5rem); }
.footer__grid { display: grid; gap: 2.5rem; }
.footer__brand p { margin-top: 1rem; max-width: 22rem; font-size: 1rem; }
.footer__brand .btn { margin-top: 1.5rem; }
.footer__heading { margin-bottom: 1rem; font: 700 .8125rem/1.2 var(--f-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.footer__links { display: grid; gap: .6rem; font-style: normal; font-size: 1rem; overflow-wrap: anywhere; }
.footer__links a { color: var(--ink-soft); justify-self: start; max-width: 100%; transition: color .2s var(--ease); }
.footer__links a:hover { color: var(--teal-dark); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem;
  margin-top: clamp(3rem, 6vw, 4.5rem); padding-block: 1.5rem; font-size: .875rem;
  /* A rule as wide as the content, not the padded box. */
  background: linear-gradient(var(--line), var(--line)) center top / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}
@media (min-width: 40rem) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .footer__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1.25fr); column-gap: 3rem; } }

/* ---------- Simple pages (privacy, thanks, 404) ---------- */
.page { padding: calc(var(--hdr) + clamp(3rem, 7vw, 5rem)) 0 var(--sec); }
.page__inner { max-width: 46rem; margin-inline: auto; padding-inline: var(--gutter); }
.page h1 { font: 800 clamp(2.3rem, 1.6rem + 3vw, 3.6rem)/1.08 var(--f-sans); letter-spacing: -.04em; color: var(--ink); text-wrap: balance; }
.page h2 { margin-top: 2.5rem; font: 700 1.35rem/1.3 var(--f-sans); letter-spacing: -.02em; color: var(--ink); }
.page p, .page li { margin-top: 1rem; }
.page ul { padding-left: 1.2rem; }
.page li { margin-top: .5rem; }
.page a:not(.btn) { text-decoration: underline; text-underline-offset: .2em; }
.page .lede { margin-top: 1.25rem; font-size: 1.2rem; }
.page__actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.page--center { min-height: 100svh; display: grid; place-items: center; text-align: center; }
.page--center .page__actions { justify-content: center; }
.hdr--simple { background: rgba(255, 255, 255, .92); box-shadow: 0 1px 0 var(--line); }
.hdr--simple .btn { margin-left: auto; }

/* =========================================================
   Entrances: each item waits until it nears the screen, then a queue lets items in one after another.
   They stay once shown. Without JavaScript nothing here applies.
   ========================================================= */
.js [data-r="up"] { opacity: 0; transform: translateY(18px); }
.js [data-r="words"]:not(.is-split) { visibility: hidden; }
.js [data-r="words"] .wd { display: inline-block; opacity: 0; transform: translateY(.42em); filter: blur(6px); }
.js [data-r="zoom"] { clip-path: inset(7% 7% 7% 7% round var(--r, 20px)); }
.js [data-r="zoom"] img { transform: scale(1.12); }
.js .step[data-r]::after { transform: scale(0); }
.js .step[data-r] .step__num { opacity: 0; transform: scale(.6); }

.js [data-r="up"].in { opacity: 1; transform: none; transition: opacity .7s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms); }
.js [data-r="words"].in .wd {
  opacity: 1; transform: none; filter: blur(0);
  transition: opacity .7s var(--ease) calc(var(--d, 0ms) + var(--wi, 0) * 55ms),
              transform .9s var(--ease) calc(var(--d, 0ms) + var(--wi, 0) * 55ms),
              filter .7s var(--ease) calc(var(--d, 0ms) + var(--wi, 0) * 55ms);
}
.js [data-r="zoom"].in { clip-path: inset(0 0 0 0 round var(--r, 20px)); transition: clip-path 1.2s cubic-bezier(.22, 1, .36, 1) var(--d, 0ms); }
.js [data-r="zoom"].in img { transform: none; transition: transform 1.5s cubic-bezier(.22, 1, .36, 1) var(--d, 0ms); }
.js .step[data-r].in::after { transform: none; transition: transform .9s var(--ease) calc(var(--d, 0ms) + 250ms); }
.js .step[data-r].in .step__num { opacity: 1; transform: none; transition: opacity .4s ease var(--d, 0ms), transform .7s var(--ease-back) var(--d, 0ms); }

/* Safety net (main script never started) and reduced motion. */
.motion-off [data-r], .motion-off [data-r] .wd, .motion-off [data-r] img, .motion-off .step::after, .motion-off .step__num {
  opacity: 1 !important; transform: none !important; clip-path: none !important; filter: none !important; visibility: visible !important;
}
@media (prefers-reduced-motion: reduce) {
  .js [data-r="up"] { transform: none; }
  .js [data-r="up"].in { transition: opacity .5s ease var(--d, 0ms); }
  .js [data-r="words"] .wd { transform: none; filter: none; }
  .js [data-r="words"].in .wd { transition: opacity .5s ease var(--d, 0ms); }
  .js [data-r="zoom"] { clip-path: none; opacity: 0; }
  .js [data-r="zoom"] img { transform: none; }
  .js [data-r="zoom"].in { opacity: 1; transition: opacity .6s ease var(--d, 0ms); }
  .js .step[data-r]::after, .js .step[data-r] .step__num { transform: none; }
  .card, .card__media img, .btn, .mnav, .mnav__list a, .qa__a, .qa__a p, .nav__indicator { transition: none !important; }
}
