:root {
  --ink: #20342e;
  --sage: #789487;
  --cream: #f5f0e7;
  --paper: #fffdf8;
  --terra: #bd765c;
  --line: rgba(32, 52, 46, .14);
}

* { box-sizing: border-box; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 Manrope, sans-serif; }
body.gate-open { overflow: hidden; }
.scroll-progress { position: fixed; z-index: 100; top: 0; left: 0; right: 0; height: 3px; pointer-events: none; }
.scroll-progress span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--terra), #d8b76f); transform: scaleX(0); transform-origin: left; will-change: transform; }
a { color: inherit; text-decoration: none; }
.demo { padding: 7px 16px; color: #fff; background: var(--ink); text-align: center; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
header { height: 84px; padding: 0 clamp(20px, 5vw, 80px); display: flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--paper); }
.brand { display: inline-flex; align-items: center; gap: 11px; line-height: 1; }
.brand-mark { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid var(--ink); border-radius: 50%; }
.brand-mark svg { width: 31px; height: 31px; fill: var(--ink); }
.brand-mark.brand-image { overflow: hidden; border: 0; box-shadow: 0 4px 14px rgba(32,52,46,.15); }
.brand-image img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); }
.brand-mark .logo-cut, .review-score .logo-cut { fill: none; stroke: var(--paper); stroke-width: 2.5; stroke-linecap: round; }
.brand b { display: block; font-family: Prata, serif; font-size: 20px; font-weight: 400; }
.brand small { display: block; margin-top: 5px; font-size: 8px; letter-spacing: .18em; text-transform: uppercase; }
nav { display: flex; gap: 34px; font-size: 13px; font-weight: 600; }
nav a:hover { color: var(--terra); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 25px; border-radius: 100px; color: white; background: var(--terra); font-size: 13px; font-weight: 700; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); background: #a96049; }
.button-small { min-height: 42px; padding: 0 20px; }
.hero { position: relative; min-height: 680px; display: flex; align-items: center; overflow: hidden; }
.hero > img { position: absolute; inset: -35px 0; width: 100%; height: calc(100% + 70px); object-fit: cover; transform: translateY(var(--parallax-y, 0)) scale(1.035); will-change: transform; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(246,241,232,.98) 0%, rgba(246,241,232,.88) 37%, rgba(246,241,232,.08) 70%); }
.hero-copy { position: relative; width: min(600px, 90%); margin-left: clamp(24px, 8vw, 130px); padding: 70px 0; }
.eyebrow { display: block; margin-bottom: 16px; color: var(--terra); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: Prata, serif; font-weight: 400; line-height: 1.13; }
h1 { max-width: 590px; font-size: clamp(45px, 5.5vw, 80px); }
h2 { font-size: clamp(35px, 4vw, 56px); }
.hero-copy > p { max-width: 550px; margin: 26px 0 32px; color: #52635e; font-size: 17px; }
.actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.text-link { font-size: 13px; font-weight: 700; }
.text-link span { margin-left: 8px; color: var(--terra); font-size: 20px; }
.rating { margin-top: 55px; display: flex; align-items: center; gap: 10px; }
.rating b { font: 26px Prata, serif; }
.rating span { color: #d29a53; letter-spacing: 2px; }
.rating small { color: #6c7975; }
.hero-points { display: flex; gap: 22px; margin-top: 24px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.hero-points span { display: inline-flex; align-items: center; gap: 7px; }
.hero-points svg { width: 16px; height: 16px; fill: none; stroke: var(--terra); stroke-width: 1.7; }
.intro { padding: 110px clamp(24px, 9vw, 140px) 70px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 10vw; align-items: end; }
.intro p { margin: 0 0 5px; color: #62716d; font-size: 17px; }
.services { padding: 20px clamp(24px, 7vw, 110px) 120px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.services article { padding: 44px 38px; border: 1px solid var(--line); background: #fff; transition: transform .25s, box-shadow .25s; }
.services article:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(33,53,47,.08); }
.icon { display: grid; width: 52px; height: 52px; place-items: center; margin-bottom: 50px; border-radius: 50%; color: var(--terra); background: #f7ebe4; }
.icon svg, .step-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
h3 { margin: 0 0 12px; font: 24px Prata, serif; }
.services p { margin: 0; color: #6b7773; font-size: 14px; }
.process { padding: 110px clamp(24px, 7vw, 110px); background: #eef2ef; }
.section-heading { max-width: 620px; margin-bottom: 55px; }
.section-heading p { max-width: 520px; margin: 22px 0 0; color: #677570; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.steps article { position: relative; padding: 45px 45px 10px 0; }
.steps article + article { padding-left: 45px; border-left: 1px solid var(--line); }
.steps b { color: var(--terra); font-size: 11px; letter-spacing: .15em; }
.step-icon { display: grid; width: 58px; height: 58px; place-items: center; margin: 35px 0 28px; border-radius: 18px; color: var(--ink); background: white; box-shadow: 0 12px 35px rgba(32,52,46,.08); }
.steps p { color: #677570; font-size: 14px; }
.promise { min-height: 620px; display: grid; grid-template-columns: 1fr 1fr; }
.promise-card { padding: 90px clamp(35px, 8vw, 130px); background: var(--cream); }
.promise ul { margin: 55px 0 0; padding: 0; list-style: none; }
.promise li { padding: 20px 0; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.promise li span { margin-right: 25px; color: var(--terra); font-size: 11px; }
.quote { display: flex; padding: 10%; align-items: center; justify-content: center; background: var(--sage); color: white; }
.quote span { align-self: flex-start; font: 90px Prata, serif; opacity: .35; }
.quote p { max-width: 430px; margin: 0; font: clamp(30px, 3.5vw, 50px)/1.3 Prata, serif; }
.reviews { padding: 110px clamp(24px, 9vw, 140px); display: grid; grid-template-columns: .8fr 1.2fr; gap: 10vw; align-items: center; }
.review-score { min-height: 390px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: white; background: var(--terra); border-radius: 50% 50% 18px 18px; }
.review-score > svg { width: 75px; height: 75px; margin-bottom: 22px; fill: white; }
.review-score .logo-cut { stroke: var(--terra); }
.review-score b { font: 76px Prata, serif; line-height: 1; }
.review-score span { margin: 14px 0; color: #ffe3a8; letter-spacing: 5px; }
.review-score small { opacity: .75; }
.review-copy p { max-width: 620px; margin: 25px 0; color: #677570; }
.faq { padding: 100px clamp(24px, 9vw, 140px); display: grid; grid-template-columns: .75fr 1.25fr; gap: 8vw; background: var(--cream); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 25px 0; display: flex; justify-content: space-between; gap: 20px; cursor: pointer; font-weight: 700; list-style: none; }
.faq-list summary span { color: var(--terra); font-size: 22px; transition: transform .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list p { margin: -8px 0 25px; max-width: 650px; color: #66736f; font-size: 14px; }
.contact { padding: 95px clamp(24px, 9vw, 140px); display: grid; grid-template-columns: 1.15fr .85fr; gap: 9vw; color: white; background: var(--ink); }
.contact .eyebrow { color: #e29a7e; }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: end; }
.contact-details p { margin: 0; }
.contact-details small { display: block; margin-bottom: 8px; color: #9eb0aa; text-transform: uppercase; letter-spacing: .12em; }
.contact-details a:not(.button) { text-decoration: underline; text-underline-offset: 5px; }
.button-light { grid-column: 1/-1; color: var(--ink); background: white; }
footer { padding: 35px clamp(24px, 5vw, 80px); display: flex; align-items: center; justify-content: space-between; gap: 25px; color: #75817e; font-size: 11px; }
.brand-footer { color: var(--ink); }
.mobile-cta { display: none; }

.demo-gate { position: fixed; z-index: 999; inset: 0; display: grid; place-items: center; padding: 20px; overflow: auto; background: rgba(21,39,33,.86); backdrop-filter: blur(14px); animation: gateIn .45s ease both; }
.demo-gate::before, .demo-gate::after { content: ""; position: fixed; width: 360px; height: 360px; border-radius: 50%; filter: blur(10px); opacity: .15; }
.demo-gate::before { top: -140px; left: -100px; background: var(--terra); }
.demo-gate::after { right: -120px; bottom: -160px; background: #d9b76a; }
.gate-card { position: relative; z-index: 1; width: min(540px, 100%); padding: clamp(34px, 6vw, 64px); border: 1px solid rgba(255,255,255,.3); border-radius: 28px; background: var(--paper); text-align: center; box-shadow: 0 35px 100px rgba(0,0,0,.28); animation: cardIn .6s cubic-bezier(.2,.8,.2,1) both; }
.gate-card img { width: 112px; height: 112px; margin-bottom: 24px; border-radius: 50%; object-fit: cover; box-shadow: 0 12px 30px rgba(32,52,46,.16); }
.gate-card .eyebrow { margin-bottom: 10px; }
.gate-card h2 { font-size: clamp(34px, 6vw, 52px); }
.gate-card p { margin: 22px auto 28px; color: #65736e; }
.gate-card .button { border: 0; cursor: pointer; font-family: inherit; }
.gate-card small { display: block; margin-top: 17px; color: #8a9491; font-size: 10px; }
.demo-gate.is-leaving { animation: gateOut .55s ease both; }
.demo-gate.is-leaving .gate-card { animation: cardOut .45s ease both; }

.hero-copy > * { animation: heroRise .75s cubic-bezier(.2,.8,.2,1) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }
.hero-copy > *:nth-child(5) { animation-delay: .32s; }
.hero-copy > *:nth-child(6) { animation-delay: .4s; }
.hero > img { animation: heroZoom 1.6s cubic-bezier(.2,.8,.2,1); }
.reveal { opacity: 0; clip-path: inset(0 0 100% 0); transform: translateY(48px) scale(.985); transition: opacity .8s ease var(--delay), transform .85s cubic-bezier(.16,1,.3,1) var(--delay), clip-path .9s cubic-bezier(.16,1,.3,1) var(--delay); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal.is-visible { clip-path: inset(0 0 0 0); }
.brand-image img { transition: transform .35s ease; }
.brand:hover .brand-image img { transform: scale(1.23) rotate(-3deg); }

.build-section { position: relative; isolation: isolate; overflow: hidden; }
.build-section > * { position: relative; z-index: 1; }
.build-section::after { content: ""; position: absolute; z-index: 5; inset: 0; background: var(--wipe, var(--paper)); transform: scaleX(1); transform-origin: right; transition: transform 1.1s cubic-bezier(.76,0,.24,1); pointer-events: none; }
.build-section.is-built::after { transform: scaleX(0); }
.intro, .services, .reviews { --wipe: var(--paper); }
.process { --wipe: #eef2ef; }
.promise { --wipe: var(--sage); }
.faq { --wipe: var(--cream); }
.contact { --wipe: var(--ink); }
.services article::after, .steps article::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 3px; background: var(--terra); transition: width .8s cubic-bezier(.16,1,.3,1) calc(var(--delay) + .25s); }
.services article.is-visible::after, .steps article.is-visible::after { width: 100%; }
.services article, .steps article { position: relative; }

@keyframes gateIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes gateOut { to { opacity: 0; visibility: hidden; } }
@keyframes cardIn { from { opacity: 0; transform: translateY(30px) scale(.95); } }
@keyframes cardOut { to { opacity: 0; transform: translateY(20px) scale(.97); } }
@keyframes heroRise { from { opacity: 0; transform: translateY(24px); } }
@keyframes heroZoom { from { opacity: .4; transform: translateY(20px) scale(1.1); } to { opacity: 1; transform: translateY(var(--parallax-y, 0)) scale(1.035); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

@media (max-width: 800px) {
  header nav { display: none; }
  header { height: 72px; padding: 0 18px; }
  .button-small { display: none; }
  .hero { min-height: 720px; align-items: flex-end; }
  .hero > img { object-position: 63% center; }
  .hero-overlay { background: linear-gradient(0deg, rgba(246,241,232,.99) 8%, rgba(246,241,232,.78) 54%, rgba(246,241,232,.05) 90%); }
  .hero-copy { margin: 0; padding: 250px 24px 55px; width: 100%; }
  .hero-copy > p { font-size: 15px; }
  .rating { margin-top: 36px; flex-wrap: wrap; }
  .hero-points { gap: 14px; flex-wrap: wrap; }
  .intro, .contact { grid-template-columns: 1fr; padding: 75px 24px; gap: 35px; }
  .services { grid-template-columns: 1fr; padding: 0 18px 75px; }
  .services article { padding: 32px; }
  .icon { margin-bottom: 30px; }
  .promise { grid-template-columns: 1fr; }
  .process { padding: 75px 24px; }
  .steps { grid-template-columns: 1fr; }
  .steps article, .steps article + article { padding: 32px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .step-icon { margin: 22px 0; }
  .promise-card, .quote { min-height: 480px; padding: 70px 28px; }
  .contact-details { grid-template-columns: 1fr; }
  .reviews, .faq { grid-template-columns: 1fr; padding: 75px 24px; gap: 50px; }
  .review-score { min-height: 340px; max-width: 420px; width: 100%; margin: auto; }
  .button-light { grid-column: auto; }
  footer { flex-direction: column; text-align: center; padding-bottom: 100px; }
  .mobile-cta { position: fixed; z-index: 10; bottom: 14px; left: 18px; right: 18px; display: flex; height: 56px; align-items: center; justify-content: center; gap: 10px; border-radius: 100px; color: white; background: var(--terra); box-shadow: 0 10px 35px rgba(32,52,46,.25); font-size: 14px; font-weight: 800; opacity: 0; pointer-events: none; transform: translateY(80px); transition: opacity .25s, transform .25s; }
  .mobile-cta.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .mobile-cta svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
}
