/* Bloom Path ABA — site styles
   Palette and type follow the creative brief (section 3). */

:root {
  --teal: #398F8A;
  --teal-ink: #2A706B;      /* darker teal for text/buttons: AA contrast on cream and white */
  --lav: #76539B;
  --lav-soft: #EDE6F5;
  --yellow: #F5CE67;
  --yellow-soft: #FDF3D6;
  --sage: #A9D9B3;
  --sage-soft: #E5F3E7;
  --sky-soft: #E3F0F6;
  --cream: #F9F5EE;
  --cream-2: #F2ECE0;
  --green: #315C57;         /* headlines */
  --text: #384744;
  --muted: #5B6966;
  --line: #E4DCCD;
  --white: #fff;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 32px;
  --shadow: 0 1px 2px rgba(49, 92, 87, .06), 0 10px 30px -12px rgba(49, 92, 87, .18);
  --shadow-lift: 0 2px 4px rgba(49, 92, 87, .06), 0 22px 44px -16px rgba(49, 92, 87, .28);
  --ease: cubic-bezier(.22, .8, .26, 1);
  --header-h: 84px;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-ink); text-underline-offset: .18em; }
a:hover { color: var(--lav); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 60, "WONK" 0;
  color: var(--green);
  line-height: 1.12;
  font-weight: 600;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.6rem, 5.2vw, 4.5rem); letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
h3 { font-size: 1.3rem; line-height: 1.25; }
em.bloom { font-style: italic; color: var(--lav); font-variation-settings: "SOFT" 100, "WONK" 1; font-weight: 500; }

:focus-visible {
  outline: 3px solid var(--lav);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--green); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip:focus { top: 12px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-ink);
  margin-bottom: 14px;
}
.lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--muted); }

/* placeholder facts the business still has to confirm */
.ph {
  background: var(--yellow-soft);
  border-bottom: 2px dashed #D9A62C;
  border-radius: 4px;
  padding: 0 .3em;
  color: #6A4E12;
  font-style: normal;
}
.tbc {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 700; letter-spacing: .02em;
  color: #6A4E12; background: var(--yellow-soft);
  border: 1px dashed #D9A62C; border-radius: 999px; padding: 3px 12px;
}

/* ---------- buttons ---------- */
.btn {
  --bg: var(--teal-ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 2px solid var(--bg);
  background: var(--bg); color: var(--fg);
  font: 700 1rem/1 var(--sans); letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, color .25s, border-color .25s;
  box-shadow: 0 8px 20px -10px rgba(42, 112, 107, .7);
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover { color: var(--fg); background: #225E5A; border-color: #225E5A; transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(42, 112, 107, .75); }
.btn:hover svg { transform: translateX(3px); }
.btn.ghost { --bg: transparent; --fg: var(--teal-ink); border-color: rgba(42, 112, 107, .45); box-shadow: none; background: rgba(255, 255, 255, .55); }
.btn.ghost:hover { background: #fff; color: var(--teal-ink); border-color: var(--teal-ink); }
.btn.small { min-height: 44px; padding: 0 20px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(249, 245, 238, .86);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
  view-transition-name: site-header;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(49, 92, 87, .5); background: rgba(249, 245, 238, .94); }
.nav { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: block; flex: none; line-height: 0; }
.brand img { height: 68px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav-links a {
  display: block; padding: 10px 12px; border-radius: 10px;
  font-weight: 700; font-size: .95rem; color: var(--green); text-decoration: none;
  position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--lav); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--lav); }
.nav-cta { flex: none; }
.menu-btn {
  display: none; margin-left: auto;
  width: 48px; height: 48px; border-radius: 14px; border: 1.5px solid var(--line);
  background: #fff; color: var(--green); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; position: relative;
  transition: transform .3s var(--ease), background-color .2s;
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  :root { --header-h: 72px; }
  .brand img { height: 56px; }
  .menu-btn { display: inline-flex; }
  .nav { gap: 12px; }
  .nav-cta { order: 2; margin-left: auto; }
  .menu-btn { order: 3; margin-left: 0; }
  .nav-links {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    margin: 0; padding: 12px 20px 24px;
    background: var(--cream); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(49, 92, 87, .45);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .3s var(--ease), opacity .25s, visibility 0s .3s;
  }
  .menu-open .nav-links { transform: none; opacity: 1; visibility: visible; transition: transform .35s var(--ease), opacity .25s; }
  .nav-links a { padding: 14px 12px; font-size: 1.1rem; }
  .nav-links a::after { display: none; }
}
@media (max-width: 520px) {
  .nav-cta { display: none; }
  .menu-btn { margin-left: auto; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: clamp(640px, calc(100svh - var(--header-h)), 900px);
  display: flex; align-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, var(--cream) 0%, #EEF6F2 40%, #FBF3DD 100%);
  isolation: isolate;
}
.scene { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.scene .cam { position: absolute; inset: 0; transform-origin: 62.5% 58%; will-change: transform; }
.scene .ly {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 100%;
  will-change: transform;
}
.scene .ly-front { inset: -2% -1% -3%; width: 102%; height: 105%; }
.hero-veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 44% 36% at 20% 45%, rgba(249, 245, 238, .92) 0%, rgba(249, 245, 238, .72) 50%, rgba(249, 245, 238, 0) 100%),
    linear-gradient(180deg, rgba(249, 245, 238, .7) 0%, rgba(249, 245, 238, 0) 22%);
}
@media (min-width: 821px) {
  .hero .scene .cam { right: -10%; }
}
.hero-copy { position: relative; padding: 56px 0 120px; }
.hero-copy .inner { max-width: 590px; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .line { display: block; }
.hero .lead { color: #4A5956; max-width: 34ch; margin-bottom: 32px; }
.hero-note { margin: 22px 0 0; font-size: .92rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 18px; height: 18px; color: var(--lav); flex: none; }

/* gentle arrival of the garden on first paint (copy is never hidden) */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes settle { from { opacity: 0; transform: scale(1.04); } }
.hero .cam { animation: settle 1.4s var(--ease) both; }
.hero .copy-in { animation: rise .9s var(--ease) both; }
.hero .copy-in.d2 { animation-delay: .08s; }
.hero .copy-in.d3 { animation-delay: .16s; }
.hero .copy-in.d4 { animation-delay: .24s; }

/* the hero ends in a soft wave; the path line continues into the next section */
.wave-edge { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(50px, 7vw, 110px); width: 100%; z-index: 2; pointer-events: none; }
.wave-edge path { fill: var(--cream); }

@media (max-width: 820px) {
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; background: var(--cream); }
  .hero-copy { order: -1; }
  .hero-copy { padding: 34px 0 0; text-align: left; }
  .hero h1 { font-size: clamp(2.45rem, 10.4vw, 3.3rem); }
  .hero .lead { margin-bottom: 26px; }
  .hero .btn-row .btn { flex: 1 1 220px; }
  .hero .scene { position: relative; inset: auto; z-index: 0; height: clamp(330px, 92vw, 560px); margin-top: -10px; }
  .hero .scene .ly { object-position: 64% 100%; }
  .hero .scene .cam { transform-origin: 64% 60%; }
  .hero-veil { background: linear-gradient(180deg, var(--cream) 0%, rgba(249, 245, 238, 0) 26%); }
  .hero-note { display: none; }
}

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: clamp(60px, 7vw, 100px) 0; }
.section-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px 64px; align-items: end; margin-bottom: 48px; }
.section-head p { margin: 0; color: var(--muted); }
.section-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; max-width: 760px; margin-inline: auto; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 34px; } }

/* reveal on scroll (only when JS runs; content is visible without it) */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- 02 pillars ---------- */
.pillars { padding: 40px 0 clamp(64px, 8vw, 110px); }
.pillar-wrap { position: relative; }
.pillar-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; list-style: none; margin: 0; padding: 0; }
.trail { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: auto; pointer-events: none; overflow: visible; }
.trail path { fill: none; stroke: var(--sage); stroke-width: 3; stroke-linecap: round; }
.trail .dots { stroke: var(--teal); stroke-width: 3; stroke-dasharray: 0 14; opacity: .55; }
.pillar { position: relative; text-align: center; padding: 0 6px; }
.pillar .icon { margin: 0 auto 18px; }
.pillar h3 { font-size: 1.22rem; margin-bottom: 6px; }
.pillar p { margin: 0; color: var(--muted); font-size: .98rem; }
.icon {
  width: 76px; height: 76px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c, var(--sage-soft)); color: var(--ic, var(--teal-ink));
  box-shadow: 0 0 0 8px var(--cream);
  position: relative;
}
.icon svg { width: 34px; height: 34px; }
.c-lav { --c: var(--lav-soft); --ic: var(--lav); }
.c-sage { --c: var(--sage-soft); --ic: var(--teal-ink); }
.c-yel { --c: var(--yellow-soft); --ic: #A8771A; }
.c-sky { --c: var(--sky-soft); --ic: #3E6F9A; }
@media (max-width: 900px) {
  .pillar-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .trail { display: none; }
}
@media (max-width: 380px) { .pillar-grid { gap: 34px 12px; } .pillar h3 { font-size: 1.1rem; } }

/* ---------- 03 about preview ---------- */
.about { padding-top: 40px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.split .copy p { color: var(--muted); }
.split .copy .btn { margin-top: 10px; }
.window {
  position: relative; aspect-ratio: 5 / 5.6; max-width: 540px; width: 100%;
  border-radius: 280px 280px var(--r-lg) var(--r-lg);
  overflow: hidden; isolation: isolate;
  box-shadow: var(--shadow-lift);
  background: #EAF4F1;
}
.window .ly { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 72%; transform: scale(1.5); transform-origin: 62% 60%; }
.window .ly.front { object-position: 50% 100%; transform: scale(1.15); transform-origin: 50% 100%; }
.window-wrap { position: relative; justify-self: center; width: 100%; max-width: 540px; }
.window-tag {
  position: absolute; left: -18px; bottom: 34px;
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 18px; padding: 14px 18px 14px 14px;
  box-shadow: var(--shadow-lift); max-width: 270px;
  font-size: .95rem; line-height: 1.35; color: var(--green); font-weight: 700;
}
.window-tag .icon { width: 44px; height: 44px; box-shadow: none; flex: none; }
.window-tag .icon svg { width: 22px; height: 22px; }
.sprig { position: absolute; width: 90px; right: -26px; top: 40px; color: var(--sage); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .window-wrap { max-width: 440px; }
  .window-tag { left: 0; bottom: 18px; }
  .sprig { right: -6px; width: 64px; }
}

/* ---------- 04 services preview ---------- */
.services { background: linear-gradient(180deg, var(--cream) 0%, #F4EFE4 100%); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; list-style: none; padding: 0; margin: 0; }
.card {
  position: relative; height: 100%;
  background: #fff; border-radius: var(--r); padding: 28px 24px 26px;
  border: 1px solid rgba(228, 220, 205, .8);
  box-shadow: var(--shadow);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 4px;
  background: var(--ic, var(--teal));
  opacity: .0; transition: opacity .4s;
}
.card::after {
  content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -110px; border-radius: 50%;
  background: radial-gradient(circle, var(--c, var(--sage-soft)) 0%, transparent 70%);
  opacity: .9; transition: transform .6s var(--ease);
  z-index: 0;
}
.card > * { position: relative; z-index: 1; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.card:hover::before { opacity: 1; }
.card:hover::after { transform: scale(1.25); }
.card .icon { width: 58px; height: 58px; box-shadow: none; margin-bottom: 20px; }
.card .icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }
.cards-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 36px; }
.js .card[data-reveal] { transform: translateY(30px) scale(.98); }
.js .card[data-reveal].in { transform: none; }
.js .card[data-reveal].in:hover { transform: translateY(-6px); }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; gap: 14px; } .card { padding: 22px 20px; display: grid; grid-template-columns: 52px 1fr; gap: 0 16px; } .card .icon { width: 52px; height: 52px; margin: 0; grid-row: span 2; } .card h3 { margin: 4px 0 4px; } }

/* ---------- 05 journey ---------- */
.journey { overflow: hidden; }
.journey .bg-leaf { position: absolute; width: 220px; left: -60px; top: 80px; color: var(--sage); opacity: .5; pointer-events: none; }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps-wrap { position: relative; }
.route { position: absolute; left: 0; top: 0; width: 100%; height: auto; overflow: visible; pointer-events: none; }
.route path { fill: none; stroke-linecap: round; }
.route .base { stroke: var(--line); stroke-width: 2.5; stroke-dasharray: 2 10; }
.route .live { stroke: var(--teal); stroke-width: 3; }
.step { position: relative; text-align: center; padding: 0 10px; }
.step .marker {
  position: relative; width: 120px; height: 120px; margin: 0 auto 18px;
  border-radius: 50%; background: #fff; box-shadow: 0 0 0 10px var(--cream), var(--shadow);
  display: grid; place-items: center;
}
.step .marker svg { width: 74px; height: 74px; overflow: visible; }
.step .num {
  position: absolute; top: -4px; right: -4px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; font: 800 .95rem var(--sans); color: #fff; background: var(--n, var(--teal-ink));
  box-shadow: 0 0 0 4px var(--cream);
}
.step h3 { font-size: 1.35rem; margin-bottom: 8px; }
.step p { margin: 0 auto; color: var(--muted); max-width: 30ch; }
/* botanical growth: each marker grows when the route reaches it */
.grow { transform-box: fill-box; transform-origin: 50% 100%; }
.js .step .grow { transform: scale(.35); opacity: .0; transition: transform .9s var(--ease), opacity .6s; }
.js .step .grow.g2 { transition-delay: .12s; }
.js .step .grow.g3 { transition-delay: .24s; }
.js .step.reached .grow { transform: none; opacity: 1; }
.js .step .num { transform: scale(.6); background: #B9C7C4; transition: transform .5s var(--ease), background-color .4s; }
.js .step.reached .num { transform: none; background: var(--n, var(--teal-ink)); }
.rail { display: none; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 34px; padding-left: 0; }
  .route { display: none; }
  .rail { display: block; position: absolute; left: 43px; top: 60px; bottom: 60px; width: 3px; background: var(--line); border-radius: 3px; }
  .rail i { position: absolute; inset: 0; background: var(--teal); border-radius: 3px; transform-origin: top; transform: scaleY(var(--p, 1)); }
  .js .rail i { transform: scaleY(var(--p, 0)); }
  .step { display: grid; grid-template-columns: 88px 1fr; gap: 0 22px; text-align: left; padding: 0; align-items: start; }
  .step .marker { width: 88px; height: 88px; margin: 0; grid-row: span 2; box-shadow: 0 0 0 8px var(--cream), var(--shadow); }
  .step .marker svg { width: 54px; height: 54px; }
  .step .num { width: 30px; height: 30px; font-size: .85rem; }
  .step h3 { margin-top: 8px; font-size: 1.25rem; }
  .step p { margin: 0; }
}

/* ---------- 06 commitment ---------- */
.commit { background: #fff; }
.commit .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.promise { background: var(--cream); border-radius: var(--r); padding: 28px 24px; height: 100%; }
.promise .mark { width: 40px; height: 40px; color: var(--lav); margin-bottom: 16px; }
.promise h3 { font-size: 1.15rem; margin-bottom: 8px; }
.promise p { margin: 0; color: var(--muted); font-size: .98rem; }
.trust-ph {
  margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px;
  border: 1.5px dashed #D9C79B; border-radius: var(--r); padding: 20px 24px; color: var(--muted); font-size: .97rem;
  background: #FFFCF4;
}
.trust-ph strong { color: var(--green); }
@media (max-width: 1000px) { .commit .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .commit .grid { grid-template-columns: 1fr; gap: 12px; } .promise { padding: 22px 20px; } }

/* ---------- 07 finale (garden callback) ---------- */
.finale { padding-bottom: 0; }
.finale .scene-box {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--r-lg);
  min-height: clamp(520px, 52vw, 660px);
  display: flex; align-items: flex-start; justify-content: center;
  background: linear-gradient(180deg, #EEF6F2, #FBF3DD);
}
.finale .scene { z-index: -1; }
.finale .scene .ly { object-position: 50% 100%; }
.finale .veil { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 55% at 50% 22%, rgba(249, 245, 238, .92) 0%, rgba(249, 245, 238, .6) 55%, rgba(249, 245, 238, 0) 100%); }
.finale .card-cta { text-align: center; max-width: 660px; padding: clamp(48px, 7vw, 84px) 24px 0; }
.finale h2 { margin-bottom: 14px; }
.finale p { color: #4A5956; font-size: 1.12rem; }
.finale .btn-row { justify-content: center; margin-top: 26px; }
.finale .alt { margin-top: 16px; font-size: .95rem; color: var(--muted); }
@media (max-width: 820px) {
  .finale .wrap { width: 100%; }
  .finale .scene-box { border-radius: 0; min-height: 640px; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--cream-2); padding: 72px 0 0; margin-top: clamp(56px, 7vw, 96px); color: var(--text); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: 40px; }
.foot-grid h2 { font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 16px; font-weight: 800; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a:not(.btn) { color: var(--green); text-decoration: none; font-weight: 600; }
.foot-grid a:not(.btn):hover { color: var(--lav); text-decoration: underline; }
.foot-brand img { height: 110px; width: auto; margin: 0 0 14px; }
.foot-brand p { color: var(--muted); max-width: 30ch; font-size: .98rem; }
.foot-contact li { font-size: .98rem; color: var(--muted); }
.foot-contact b { display: block; color: var(--green); font-size: .85rem; }
.foot-bottom { margin-top: 56px; border-top: 1px solid var(--line); padding: 20px 0 28px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .88rem; color: var(--muted); }
.foot-bottom a { color: var(--muted); }
.proto-note { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; gap: 32px; } .site-footer { padding-top: 52px; } }

/* ---------- inner pages ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(380px, 42vw, 500px);
  display: flex; align-items: center;
  background: linear-gradient(180deg, var(--cream), #F4F7EE);
}
.page-hero .scene .ly { object-position: 70% 100%; }
.page-hero .hero-veil { background: linear-gradient(90deg, rgba(249, 245, 238, .97) 0%, rgba(249, 245, 238, .9) 34%, rgba(249, 245, 238, .3) 60%, rgba(249, 245, 238, 0) 75%); }
.page-hero .inner { max-width: 620px; padding: 48px 0 96px; }
.page-hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.8rem); }
.page-hero .lead { margin: 0; }
@media (max-width: 820px) {
  .page-hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; background: var(--cream); }
  .page-hero > .wrap { order: -1; }
  .page-hero .inner { padding: 36px 0 0; }
  .page-hero .scene { position: relative; z-index: 0; height: clamp(220px, 60vw, 360px); }
  .page-hero .scene .ly { object-position: 64% 100%; }
  .page-hero .hero-veil { background: linear-gradient(180deg, var(--cream) 0%, rgba(249, 245, 238, 0) 35%); }
}

.prose { max-width: 720px; }
.prose p { color: var(--muted); }
.prose h2 { margin-top: 1.4em; font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.prose ul { padding-left: 1.2em; color: var(--muted); }
.prose li { margin-bottom: .4em; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.panel { background: #fff; border-radius: var(--r); padding: 30px 28px; box-shadow: var(--shadow); border: 1px solid rgba(228, 220, 205, .7); }
.panel h3 { margin-bottom: 10px; }
.panel p:last-child, .panel ul:last-child { margin-bottom: 0; }
.panel ul { margin: 0; padding-left: 1.2em; color: var(--muted); }
.panel.dashed { background: #FFFCF4; border: 1.5px dashed #D9C79B; box-shadow: none; }

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; list-style: none; padding: 0; margin: 0; }
.member { background: #fff; border-radius: var(--r); padding: 26px; text-align: center; border: 1.5px dashed #D9C79B; }
.member .avatar { width: 112px; height: 112px; border-radius: 50%; margin: 0 auto 16px; background: var(--sage-soft); display: grid; place-items: center; color: var(--teal); }
.member .avatar svg { width: 54px; height: 54px; }
.member h3 { font-size: 1.15rem; margin-bottom: 4px; }
.member p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .team { grid-template-columns: 1fr; } }

.service-list { display: grid; gap: 22px; list-style: none; padding: 0; margin: 0; }
.service-row { display: grid; grid-template-columns: 76px 1fr; gap: 24px; background: #fff; border-radius: var(--r); padding: 30px; box-shadow: var(--shadow); align-items: start; }
.service-row h3 { margin-bottom: 6px; }
.service-row p { margin: 0; color: var(--muted); }
@media (max-width: 560px) { .service-row { grid-template-columns: 1fr; padding: 24px 22px; gap: 14px; } .service-row .icon { width: 60px; height: 60px; } }

.faq { max-width: 820px; }
.faq details { background: #fff; border-radius: var(--r-sm); margin-bottom: 12px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 800; color: var(--green); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 24px 22px; color: var(--muted); }

.res-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; list-style: none; padding: 0; margin: 0; }
.res { background: #fff; border-radius: var(--r); padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.res .kind { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--lav); }
.res h3 { margin: 0; }
.res p { margin: 0; color: var(--muted); }
.res .tbc { align-self: flex-start; margin-top: 6px; }
@media (max-width: 760px) { .res-grid { grid-template-columns: 1fr; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { background: #fff; border-radius: var(--r-lg); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-lift); }
.form h2 { font-size: clamp(1.7rem, 2.4vw, 2.1rem); }
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
label, legend { font-weight: 800; color: var(--green); font-size: .97rem; }
.opt { font-weight: 600; color: var(--muted); font-size: .88rem; }
.hint { font-size: .88rem; color: var(--muted); margin: 0; }
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  padding: 14px 16px; min-height: 52px;
  border: 1.5px solid #D6CDBB; border-radius: 14px; background: #FFFEFB;
  transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(57, 143, 138, .18); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #B4483C; }
.err { color: #A33A2F; font-size: .88rem; font-weight: 700; margin: 0; }
fieldset { border: 0; padding: 0; margin: 0 0 20px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid #D6CDBB; font-weight: 700; color: var(--green); background: #FFFEFB; transition: all .2s; }
.choice input:checked + span { background: var(--teal-ink); border-color: var(--teal-ink); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--lav); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--muted); font-size: .95rem; margin-bottom: 22px; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--teal-ink); flex: none; }
.form-status { margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: var(--sage-soft); color: var(--green); font-weight: 700; display: none; }
.form-status.show { display: block; }
.side { display: grid; gap: 20px; }
.next-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: n; }
.next-steps li { counter-increment: n; display: grid; grid-template-columns: 36px 1fr; gap: 14px; color: var(--muted); }
.next-steps li::before { content: counter(n); width: 36px; height: 36px; border-radius: 50%; background: var(--lav-soft); color: var(--lav); font-weight: 800; display: grid; place-items: center; }
.next-steps b { color: var(--green); display: block; }

.cta-band { background: var(--green); color: #E8F1EF; border-radius: var(--r-lg); padding: clamp(36px, 5vw, 60px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; margin: 0 0 6px; font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.cta-band p { margin: 0; color: #CFE2DE; }
.cta-band .btn { --bg: var(--yellow); --fg: #2B3A37; border-color: var(--yellow); box-shadow: none; }
.cta-band .btn:hover { background: #FFDD85; border-color: #FFDD85; color: #2B3A37; }
.cta-band .leaf { position: absolute; right: -30px; bottom: -40px; width: 200px; color: rgba(169, 217, 179, .15); pointer-events: none; }

/* page transitions between pages (Chrome/Edge/Safari 18+; others just navigate) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .38s; animation-timing-function: var(--ease); }
::view-transition-old(root) { animation-name: vt-out; }
::view-transition-new(root) { animation-name: vt-in; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

/* reduced motion: everything visible, nothing moves */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .step .grow { opacity: 1; transform: none; }
  .js .step .num { transform: none; background: var(--n, var(--teal-ink)); }
  .js .rail i { transform: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
