/* Prospect homepage template — structure, rhythm and motion measured from smilifye.webflow.io.
   Brand lives ONLY in the :root tokens (injected per client by build.mjs). Don't hardcode colors below. */

:root {
  --ink: #011f23; --deep: #022f34; --accent: #24a3b1; --accent-soft: #587d81;
  --mist: #ddebec; --sand: #fef5ec; --muted: #6e7677;
  --tint-1: #f3f6ff; --tint-2: #fef5ec; --tint-3: #effff7; --tint-4: #f7efff;
  --white: #fff;
  --line: color-mix(in srgb, var(--ink) 12%, transparent);
  --font: "Sora", system-ui, sans-serif;
  --container: 1160px;
  --gutter: 20px;
  --section: 120px;
  --r-card: 16px; --r-pill: 99px; --r-panel: 24px;
  --ease: cubic-bezier(.25, .1, .25, 1);          /* Webflow "ease" */
  --ease-out: cubic-bezier(.215, .61, .355, 1);   /* outCubic */
  --ease-sine: cubic-bezier(.61, 1, .88, 1);      /* outSine */
  --ease-quad: cubic-bezier(.5, 1, .89, 1);       /* outQuad */
  --ease-quint: cubic-bezier(.86, 0, .07, 1);     /* inOutQuint */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.45; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }

/* ---------- type ---------- */
.h1 { font-size: 72px; line-height: 1.1; font-weight: 500; letter-spacing: -0.05em; text-wrap: balance; }
.h2 { font-size: 56px; line-height: 1.15; font-weight: 500; letter-spacing: -0.05em; text-wrap: balance; }
.h3 { font-size: 24px; line-height: 1.35; font-weight: 500; letter-spacing: -0.04em; }
.lead { font-size: 18px; letter-spacing: -0.02em; }
.hl {
  background: linear-gradient(94deg, var(--accent-soft), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.on-dark .hl { background: linear-gradient(94deg, color-mix(in srgb, var(--accent) 55%, #fff), var(--accent)); -webkit-background-clip: text; background-clip: text; }
.muted { color: var(--muted); }

.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px;
  font-size: 14px; border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--deep) 10%, transparent);
  border: 1px solid rgba(255, 255, 255, .2);
}
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.on-dark .tag { background: rgba(255, 255, 255, .1); color: var(--white); }

.head { margin-bottom: 56px; }
.head .tag { margin-bottom: 12px; }
.head .h2 { margin-bottom: 16px; }
.head--center { text-align: center; max-width: 920px; margin-inline: auto; }
.head--center p { max-width: 560px; margin-inline: auto; }
.head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.head--row > div { max-width: 620px; }

/* ---------- buttons: text + circled arrow that swaps diagonally on hover ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
  padding: 12px 10px 12px 20px; border-radius: var(--r-pill);
  border: 1px solid var(--accent-soft); font-size: 16px; line-height: 1.45;
  background: var(--white); color: var(--deep);
  transition: background-color .3s var(--ease), color .3s var(--ease);
  min-height: 44px;
}
.btn__icon {
  position: relative; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--deep); color: var(--white); overflow: hidden;
}
.btn__icon svg { position: absolute; inset: 0; margin: auto; width: 10px; height: 10px; transition: transform .3s var(--ease); }
.btn__icon svg + svg { transform: translate(-20px, 20px); }
.btn:hover .btn__icon svg:first-child { transform: translate(20px, -20px); }
.btn:hover .btn__icon svg + svg { transform: translate(0, 0); }
.btn--dark { background: var(--deep); color: var(--white); border-color: var(--deep); }
.btn--dark .btn__icon { background: var(--white); color: var(--deep); }

/* ---------- nav ---------- */
.nav { position: absolute; inset: 0 0 auto; z-index: 20; color: var(--white); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.nav__bar { display: flex; align-items: center; gap: 40px; min-height: 71px; }
.nav__logo img { height: 36px; width: auto; max-width: 190px; object-fit: contain; }
.nav__logo--text { font-size: 22px; font-weight: 600; letter-spacing: -0.04em; }
.is-invert img { filter: brightness(0) invert(1); }
.nav__logo.is-badge { background: var(--white); border-radius: 12px; padding: 5px 10px; box-shadow: 0 6px 20px -8px rgba(0, 0, 0, .4); }
.nav__logo.is-badge img { height: 46px; }
.nav__links { display: flex; align-items: center; margin-right: auto; }
.nav__links a { display: block; padding: 24px 16px; font-size: 16px; line-height: 20px; letter-spacing: -0.02em; color: rgba(255, 255, 255, .9); transition: box-shadow .3s var(--ease); }
.nav__links a:hover, .nav__links a[aria-current] { box-shadow: inset 0 -2px 0 var(--white); color: var(--white); }
.nav__phone { font-size: 15px; opacity: .9; }
.nav__burger { display: none; width: 44px; height: 44px; position: relative; }
.nav__call { display: none; width: 44px; height: 44px; border-radius: 50%; place-items: center; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .2); }
.nav__call svg { width: 18px; height: 18px; }
.nav__burger span { position: absolute; left: 11px; width: 22px; height: 2px; background: currentColor; transition: transform .4s var(--ease-quint), opacity .4s var(--ease-quint); }
.nav__burger span:nth-child(1) { top: 14px; } .nav__burger span:nth-child(2) { top: 21px; } .nav__burger span:nth-child(3) { top: 28px; }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: max(760px, 100svh); background: var(--ink); color: var(--white); overflow: hidden; display: flex; flex-direction: column; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); filter: blur(5px); transition: transform 2s var(--ease), filter 2s var(--ease); }
.is-loaded .hero__media img { transform: scale(1); filter: blur(0); }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(157deg, color-mix(in srgb, var(--ink) 90%, transparent) 16%, transparent 47%, var(--ink)); }
.hero__overlay::before { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--accent) 6%, transparent); }
.hero__overlay::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--ink) 55%, transparent) 0%, color-mix(in srgb, var(--ink) 25%, transparent) 45%, transparent 65%); }
.hero__copy { text-shadow: 0 1px 18px color-mix(in srgb, var(--ink) 45%, transparent); }
.hero__content { position: relative; margin-top: auto; padding-top: 120px; padding-bottom: 48px; display: grid; grid-template-columns: minmax(0, 1fr) 392px; gap: 48px; align-items: end; }
.hero__content .h1 { max-width: 700px; margin-bottom: 16px; }
.hero__content .lead { max-width: 620px; margin-bottom: 28px; color: rgba(255, 255, 255, .92); }
.hero__call { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; color: rgba(255, 255, 255, .9); min-height: 44px; }
.hero__call svg { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); flex: none; }
.hero__call strong { font-weight: 600; color: var(--white); }
.hero__call:hover strong { text-decoration: underline; text-underline-offset: 3px; }

/* quick-quote form — always in the hero, above the fold */
.qform { position: relative; background: var(--white); color: var(--ink); border-radius: var(--r-card); padding: 24px; display: grid; gap: 10px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); scroll-margin-top: 24px; }
.qform__head { margin-bottom: 6px; }
.qform__title { font-size: 24px; line-height: 1.25; font-weight: 500; letter-spacing: -0.04em; }
.qform__text { font-size: 14px; color: var(--muted); margin-top: 4px; }
.qform__field input, .qform__field select {
  width: 100%; height: 48px; padding: 0 16px; border-radius: 10px; font: inherit; font-size: 16px; color: var(--ink);
  background: color-mix(in srgb, var(--mist) 45%, #fff); border: 1px solid transparent; outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.qform__field input::placeholder { color: var(--muted); }
.qform__field select:invalid { color: var(--muted); }
.qform__field input:focus, .qform__field select:focus { border-color: var(--accent); background: #fff; }
.qform__field [aria-invalid="true"] { border-color: #d93025; }
.qform__field--select { position: relative; }
.qform__field--select::after { content: ""; position: absolute; right: 18px; top: 20px; width: 7px; height: 7px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); pointer-events: none; }
.qform__submit { justify-content: space-between; width: 100%; margin-top: 4px; min-height: 50px; }
.qform__note { font-size: 12px; color: var(--muted); text-align: center; }
.qform__done { position: absolute; inset: 0; border-radius: inherit; background: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px; }
.qform__done[hidden] { display: none; }
.qform__check { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--deep); margin-bottom: 16px; }
.qform__check svg { width: 26px; height: 26px; }
.hero__info { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255, 255, 255, .14); }
.hero__info-item { padding: 28px 24px; background: rgba(200, 200, 200, .12); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-right: 1px solid rgba(255, 255, 255, .14); display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-content: start; }
.hero__info-item:last-child { border-right: 0; }
.hero__info-item svg { width: 28px; height: 28px; grid-row: span 2; margin-top: 4px; opacity: .9; }
.hero__info-title { font-size: 28px; line-height: 1.3; font-weight: 500; letter-spacing: -0.03em; }
.hero__info-lines { color: rgba(255, 255, 255, .82); font-size: 15px; }
.hero__info-lines a { text-decoration: underline; text-underline-offset: 3px; }
.hero__info-lines .row { display: flex; justify-content: space-between; gap: 16px; }

/* ---------- story: auto-scrolling stat cards ---------- */
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.marquee__track { display: flex; gap: 24px; width: max-content; animation: marquee var(--marquee-dur, 30s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 12px)); } }
.story-card { position: relative; width: 410px; height: 480px; flex: none; border-radius: var(--r-card); overflow: hidden; background: var(--ink); color: var(--white); }
.story-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, color-mix(in srgb, var(--ink) 85%, transparent)); }
.story-card__body { position: absolute; inset: auto 24px 24px; z-index: 1; }
.story-card__stat { display: flex; align-items: center; gap: 20px; margin-bottom: 12px; }
.story-card__num { font-size: 44px; line-height: 1.15; font-weight: 500; letter-spacing: -0.04em; }
.story-card__label { flex: 1; font-size: 14px; line-height: 1.3; display: flex; align-items: center; gap: 12px; }
.story-card__label::after { content: ""; flex: 1; border-top: 1px dashed rgba(255, 255, 255, .6); }
.story-card .h3 { font-size: 20px; }

/* ---------- services: pinned horizontal scroll ---------- */
.services { padding-block: var(--section) 0; }
.services__pin { position: relative; }
.services__sticky { position: sticky; top: 9px; min-height: calc(100vh - 18px); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.services__track { display: flex; gap: 24px; will-change: transform; }
.svc { flex: none; width: min(1044px, 90%); display: grid; grid-template-columns: 1fr 1.5fr; gap: 24px; padding: 40px; border-radius: var(--r-card); background: var(--tint-1); min-height: 480px; }
.svc:nth-child(4n+2) { background: var(--tint-2); } .svc:nth-child(4n+3) { background: var(--tint-3); } .svc:nth-child(4n+4) { background: var(--tint-4); }
.svc__info { display: flex; flex-direction: column; }
.svc__num { font-size: 40px; line-height: 1.3; font-weight: 500; letter-spacing: -0.05em; color: var(--muted); margin-bottom: auto; }
.svc__title { font-size: 24px; line-height: 1.2; font-weight: 500; letter-spacing: -0.04em; margin: 32px 0 12px; }
.svc__text { color: var(--muted); margin-bottom: 24px; max-width: 320px; }
.svc__info .btn { align-self: flex-start; }
.svc__media { position: relative; border-radius: 12px; overflow: hidden; min-height: 400px; }
.svc__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-sine); }
.svc:hover .svc__media img { transform: scale(1.15); }
.svc__tags { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-wrap: wrap; gap: 8px; z-index: 1; }
.svc__tags li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 14px; color: var(--ink); }
.svc__tags li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat; }
.services__end { height: var(--section); }

/* ---------- process: "how it works", 3 numbered steps (service-card language) ---------- */
.process__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.step { display: flex; flex-direction: column; padding: 40px; border-radius: var(--r-card); background: var(--tint-1); }
.step:nth-child(2) { background: var(--tint-2); } .step:nth-child(3) { background: var(--tint-3); }
.step__num { display: flex; align-items: center; gap: 16px; font-size: 40px; line-height: 1.3; font-weight: 500; letter-spacing: -0.05em; color: var(--muted); }
.step__num::after { content: ""; flex: 1; border-top: 1px dashed color-mix(in srgb, var(--muted) 60%, transparent); }
.step__title { font-size: 24px; line-height: 1.2; font-weight: 500; letter-spacing: -0.04em; margin: 56px 0 12px; text-wrap: balance; }
.step__text { color: var(--muted); }

/* ---------- team / crew ---------- */
.team { background: var(--mist); }
.team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.member { position: relative; height: 500px; border-radius: var(--r-card); overflow: hidden; padding: 20px; display: flex; align-items: flex-end; background: var(--deep); }
.member__img { position: absolute; inset: 0; overflow: hidden; }
.member__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-sine); }
.member:hover .member__img img { transform: scale(1.15); }
.member__card { position: relative; width: 100%; background: var(--white); border-radius: var(--r-card); padding: 16px 20px; }
.member__name { font-size: 20px; line-height: 1.3; font-weight: 500; letter-spacing: -0.03em; }
.member__role { font-size: 14px; color: var(--muted); }

/* ---------- value: accordion + image ---------- */
.value__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: stretch; }
.value__grid .head { margin-bottom: 40px; }
.acc-item { border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 20px; }
.acc-item:last-child { margin-bottom: 0; }
.acc-item__btn { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; font-size: 24px; line-height: 1.35; font-weight: 500; letter-spacing: -0.04em; color: #222; min-height: 44px; }
.acc-item__btn svg { width: 16px; height: 16px; flex: none; color: var(--deep); transition: transform .4s var(--ease); }
.acc-item.is-open .acc-item__btn svg { transform: rotate(90deg); }
.acc-panel { height: 0; overflow: hidden; transition: height .4s var(--ease); }
.acc-panel__inner { padding-top: 8px; color: var(--muted); opacity: 0; transform: scale(.9); transform-origin: top left; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.is-open > .acc-panel .acc-panel__inner { opacity: 1; transform: none; }
.value__media { border-radius: var(--r-card); overflow: hidden; min-height: 560px; position: relative; }
.value__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- testimonials: photo backdrop, dark block, white slider ---------- */
.testi { position: relative; padding-block: 100px; overflow: hidden; }
.testi__bg { position: absolute; inset: 0; }
.testi__bg img { width: 100%; height: 100%; object-fit: cover; }
.testi__bg::after { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--ink) 25%, transparent); }
.testi__block { position: relative; max-width: 700px; margin-inline: auto; background: linear-gradient(180deg, var(--deep), color-mix(in srgb, var(--deep) 80%, var(--accent))); border-radius: var(--r-card); padding: 40px 32px 32px; color: var(--white); text-align: center; }
.testi__block .h2 { margin: 12px 0 32px; }
.slider { position: relative; background: var(--white); border-radius: 12px; color: var(--ink); overflow: hidden; }
.slider__track { display: flex; transition: transform .5s var(--ease); }
.slide { flex: 0 0 100%; padding: 32px 40px 24px; }
.slide__avatar { width: 88px; height: 88px; border-radius: 20px; object-fit: cover; margin: 0 auto 14px; }
.slide__initials { width: 88px; height: 88px; border-radius: 20px; margin: 0 auto 14px; display: grid; place-items: center; font-size: 28px; font-weight: 600; background: var(--mist); color: var(--deep); }
.slide__stars { display: flex; justify-content: center; gap: 3px; margin-bottom: 10px; color: #f5b301; }
.slide__stars svg { width: 16px; height: 16px; }
.slide__name { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.slide__meta { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.slide__quote { font-size: 24px; line-height: 1.35; font-weight: 500; letter-spacing: -0.04em; }
.slider__dots { display: flex; justify-content: center; gap: 6px; padding: 18px 0 22px; }
.slider__dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background-color .3s, width .3s; position: relative; }
.slider__dots button::before { content: ""; position: absolute; inset: -12px; }
.slider__dots button[aria-current="true"] { background: var(--deep); width: 20px; border-radius: 8px; }

/* ---------- area / blog cards ---------- */
.cards__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { position: relative; height: 480px; border-radius: var(--r-card); overflow: hidden; background: #000; color: var(--white); display: flex; align-items: flex-end; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .75)); }
.card__body { position: relative; z-index: 1; padding: 24px; transform: translateY(50px); transition: transform .6s var(--ease); }
.card__title { font-size: 24px; line-height: 1.3; font-weight: 500; letter-spacing: -0.04em; margin-bottom: 16px; }
.card__cta { display: inline-flex; align-items: center; gap: 8px; opacity: 0; transition: opacity .7s var(--ease); font-size: 15px; }
.card__cta svg { width: 10px; height: 10px; }
.card:hover img { transform: scale(1.3); }
.card:hover .card__body { transform: none; }
.card:hover .card__cta { opacity: 1; }
.cards__more { display: none; margin-top: 32px; }

/* ---------- FAQ ---------- */
.faq { background: var(--sand); }
.faq__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.faq__info { position: sticky; top: 40px; }
.faq__info .head { margin-bottom: 40px; }
.faq-cta { background: var(--white); border-radius: var(--r-card); padding: 24px 20px; max-width: 476px; }
.faq-cta__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--deep); margin-bottom: 20px; }
.faq-cta__icon svg { width: 18px; height: 18px; }
.faq-cta__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.faq-cta__title { font-size: 24px; line-height: 1.35; font-weight: 500; letter-spacing: -0.04em; margin-bottom: 6px; }
.faq-cta p { color: var(--muted); font-size: 15px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 28px 0; }
.faq-item:first-child { padding-top: 0; }
.faq-item__btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; text-align: left; font-size: 24px; line-height: 1.35; font-weight: 500; letter-spacing: -0.04em; color: #222; min-height: 44px; }
.pm { position: relative; flex: none; width: 16px; height: 16px; transition: transform .4s var(--ease); }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--muted); transition: transform .4s var(--ease), background-color .4s var(--ease); }
.pm::after { transform: rotate(90deg); }
.faq-item.is-open .pm { transform: rotate(180deg); }
.faq-item.is-open .pm::before, .faq-item.is-open .pm::after { background: var(--ink); }
.faq-item.is-open .pm::after { transform: rotate(0); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--deep); color: var(--white); border-radius: var(--r-panel) var(--r-panel) 0 0; text-align: center; padding-block: 110px; isolation: isolate; }
.cta__blob { position: absolute; width: 738px; height: 310px; border-radius: 99px; background: var(--accent); filter: blur(102px); opacity: .55; z-index: -1; }
.cta__blob--tr { top: -220px; right: -260px; }
.cta__blob--br { bottom: -230px; right: -120px; }
.cta .h2 { margin: 12px 0 16px; }
.cta p { color: rgba(255, 255, 255, .85); margin-bottom: 32px; }
.cta__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.cta__actions .btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .35); }
.cta__actions .btn--ghost .btn__icon { background: var(--white); color: var(--deep); }

/* ---------- footer ---------- */
.footer { background: var(--sand); padding: 72px 0 32px; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer__logo.nav__logo--text { font-size: 26px; font-weight: 600; letter-spacing: -0.04em; }
.footer__logo img { height: 40px; width: auto; max-width: 220px; object-fit: contain; }
.footer__contact { min-width: 0; max-width: 100%; text-align: right; font-size: 40px; line-height: 1.25; font-weight: 500; letter-spacing: -0.04em; }
.footer__contact a { display: block; overflow-wrap: anywhere; transition: color .3s var(--ease); }
.footer__contact a:hover { color: var(--accent); }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding: 40px 0 56px; }
.footer__blurb p { max-width: 360px; margin-bottom: 20px; }
.footer__blurb address { font-style: normal; color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.footer__col h3 { font-size: 16px; font-weight: 600; margin-bottom: 14px; }
.footer__col li { margin-bottom: 8px; font-size: 15px; color: var(--muted); }
.footer__col a:hover { color: var(--ink); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--muted); padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- motion primitives (states toggled by site.js) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(25px); filter: blur(5px); transition: opacity .7s var(--ease) var(--d, .1s), transform .7s var(--ease) var(--d, .1s), filter .7s var(--ease) var(--d, .1s); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.js [data-reveal-img] img { transform: scale(1.5); filter: blur(10px); transition: transform 1.6s var(--ease-quad), filter 1.4s var(--ease-quad); }
.js [data-reveal-img].is-in img { transform: scale(1); filter: none; }
.js .member:hover [data-reveal-img].is-in img, .js .member:hover .member__img.is-in img { transform: scale(1.15); transition-duration: .6s; }
.split-word { display: inline-block; white-space: nowrap; }
.split-char { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-char > span { display: inline-block; transform: translateY(50px); opacity: 0; transition: transform .6s var(--ease-out), opacity .6s var(--ease-out); transition-delay: var(--cd, 0s); }
.is-loaded .split-char > span { transform: none; opacity: 1; }
.js [data-split] { visibility: hidden; }
.js [data-split].is-split { visibility: visible; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js [data-reveal-img] img, .split-char > span, .hero__media img { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* ---------- tablet ---------- */
@media (max-width: 991px) {
  :root { --section: 80px; }
  .h1 { font-size: 56px; } .h2 { font-size: 44px; }
  .nav__call { display: grid; margin-left: auto; }
  .nav__burger { display: block; }
  .nav__bar { gap: 12px; }
  .nav__logo { margin-right: auto; }
  .nav.is-open { background: var(--deep); }
  .nav__menu { position: absolute; top: 100%; left: 0; right: 0; background: var(--deep); padding: 8px var(--gutter) 24px; display: none; }
  .nav.is-open .nav__menu { display: block; }
  .nav__menu .nav__links { display: block; }
  .nav__menu .nav__links a, .nav__menu .nav__phone { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 18px; box-shadow: none; }
  .nav__menu .btn { margin-top: 20px; }
  .hero__content { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .qform { max-width: 520px; }
  .hero__info { grid-template-columns: 1fr 1fr; }
  .hero__info-item:last-child { display: none; }
  .head--row { flex-direction: column; align-items: flex-start; }
  .services__pin { height: auto !important; }
  .services__sticky { position: static; min-height: 0; overflow: visible; }
  .services__track { flex-direction: column; transform: none !important; }
  .svc { width: 100%; }
  .services__end { height: var(--section); }
  .team__grid, .cards__grid { grid-template-columns: 1fr 1fr; }
  .team__grid > :nth-child(3), .cards__grid > :nth-child(3) { display: none; }
  .value__grid, .faq__grid { grid-template-columns: 1fr; gap: 48px; }
  .process__grid { grid-template-columns: 1fr; gap: 16px; }
  .value__media { min-height: 420px; }
  .faq__info { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__contact { font-size: 28px; }
}
@media (min-width: 992px) { .nav__menu { display: contents; } }

/* ---------- mobile ---------- */
@media (max-width: 767px) {
  :root { --section: 64px; --gutter: 16px; }
  .h1 { font-size: 40px; letter-spacing: -0.04em; } .h2 { font-size: 32px; letter-spacing: -0.04em; }
  .lead { font-size: 16px; }
  .hero { min-height: 0; }
  .hero__content { padding-top: 92px; padding-bottom: 32px; gap: 20px; }
  .hero__content .h1 { margin-bottom: 10px; }
  .hero__content .lead { font-size: 15px; margin-bottom: 0; }
  .hero__call { display: none; }
  .qform { padding: 18px; gap: 8px; }
  .qform__title { font-size: 20px; }
  .qform__head { margin-bottom: 2px; }
  .qform__field input, .qform__field select { height: 46px; }
  .qform__field--select::after { top: 19px; }
  .hero__info { display: none; }
  .hero__overlay { background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 75%, transparent), color-mix(in srgb, var(--ink) 55%, transparent) 45%, var(--ink)); }
  .hero__info { grid-template-columns: 1fr; }
  .hero__info-item { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); padding: 20px 16px; }
  .hero__info-item:nth-child(n+2) { display: none; }
  .hero__info-title { font-size: 22px; }
  .head { margin-bottom: 36px; }
  .story-card { width: 300px; height: 400px; }
  .svc { grid-template-columns: 1fr; padding: 20px; min-height: 0; }
  .svc__num { font-size: 32px; margin-bottom: 0; }
  .svc__title { margin-top: 12px; }
  .svc__media { min-height: 260px; order: -1; }
  .step { padding: 20px; }
  .step__num { font-size: 32px; }
  .step__title { margin-top: 16px; }
  .team__grid, .cards__grid { grid-template-columns: 1fr; }
  .team__grid > :nth-child(3), .cards__grid > :nth-child(3) { display: flex; }
  .member { height: 420px; }
  .card { height: 380px; }
  .card__body { transform: none; } .card__cta { opacity: 1; }
  .acc-item__btn, .faq-item__btn { font-size: 20px; }
  .testi { padding-block: 64px; }
  .testi__block { padding: 28px 14px 14px; }
  .slide { padding: 24px 18px 8px; }
  .slide__quote { font-size: 19px; }
  .faq-cta__row { flex-direction: column; align-items: flex-start; }
  .cta { padding-block: 80px; }
  .footer__top { flex-direction: column; }
  .footer__contact { text-align: left; font-size: clamp(20px, 6.4vw, 24px); }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
}
