/* ==========================================================
   Tidy Touch Niagara — Notus-style layout, Tidy Touch brand
   Palette + type from the brand kit (Tidy Green, Mint, Citrus)
   ========================================================== */
:root {
  --bg: #fafaf9;
  --tint: #eef6f0;
  --surface: #ffffff;
  --ink: #1c1917;
  --ink-2: #44403c;
  --ink-3: #6b6560;
  --line: rgba(28, 25, 23, 0.1);

  --green: #22961d;        /* logo green */
  --green-btn: #1b7f17;    /* button/text-safe green (AA on white) */
  --green-deep: #0f5a1a;
  --mint: #9dccb0;         /* logo mint */
  --mint-soft: #dff0e4;
  --citrus: #f97316;       /* brand accent */
  --night: #12301a;
  --teal: #1d7f73;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.05), 0 2px 8px rgba(0,0,0,.04);
  --shadow-md: 0 2px 4px rgba(0,0,0,.04), 0 14px 34px rgba(18,48,26,.1);
  --shadow-lg: 0 6px 12px rgba(0,0,0,.05), 0 30px 70px rgba(18,48,26,.2);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.45, .64, 1);

  --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --nav-h: 68px;
  --slant: clamp(26px, 4.2vw, 60px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.6;
  color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
svg { flex: none; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--green) 55%, white); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1140px, 100% - 48px); margin-inline: auto; }
.wrap--narrow { width: min(760px, 100% - 48px); }

/* ---------- type ---------- */
.display { font-family: var(--font-display); font-size: clamp(2.3rem, 5.6vw, 4.1rem); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; text-wrap: balance; }
.display .soft { color: var(--ink-3); font-weight: 700; }
.h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.12; letter-spacing: -0.028em; font-weight: 800; text-wrap: balance; }
.lede { font-size: clamp(1.05rem, 1.7vw, 1.2rem); line-height: 1.55; color: var(--ink-2); max-width: 44ch; }
.lede strong { color: var(--ink); }
.sub { font-size: 1.0625rem; color: var(--ink-2); max-width: 52ch; margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-btn); }
.stars { display: inline-flex; gap: 2px; color: #f5b82e; }
.stars svg { width: 14px; height: 14px; }

/* ---------- buttons ---------- */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--h); padding: 0 24px;
  border-radius: 12px; border: 1px solid transparent; font-family: var(--font-display); font-weight: 700; font-size: .9375rem; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap;
  transition: transform .14s var(--ease), translate .45s var(--ease), background-color .25s, box-shadow .25s, border-color .25s, color .25s;
  will-change: transform; -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg:last-child:not(:first-child) { transform: translateX(3px); }
.btn:active { transform: scale(.965); transition-duration: 60ms; }
.btn--sm { --h: 38px; padding: 0 16px; font-size: .875rem; border-radius: 10px; }
.btn--lg { --h: 52px; padding: 0 28px; font-size: 1rem; }
.btn--primary { background: var(--green-btn); color: #fff; box-shadow: 0 6px 16px rgba(27,127,23,.28); }
.btn--primary:hover { background: #166c13; box-shadow: 0 10px 24px rgba(27,127,23,.36); }
.btn--ink { background: var(--night); color: #fff; box-shadow: 0 6px 16px rgba(18,48,26,.22); }
.btn--ink:hover { background: #0b2012; }
.btn--ghost { background: rgba(28,25,23,.06); color: var(--ink); }
.btn--ghost:hover { background: rgba(28,25,23,.1); }
.btn[disabled] { opacity: .4; pointer-events: none; }
.linkbtn { background: none; border: 0; color: var(--green-btn); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; padding: 8px; }

/* ---------- scroll progress ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 100; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); background: linear-gradient(90deg, var(--green), var(--mint), var(--citrus)); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--nav-h);
  background: rgba(250,250,249,.6); -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px);
  transition: background-color .3s, box-shadow .3s;
}
.nav.is-scrolled { background: rgba(250,250,249,.82); box-shadow: 0 1px 0 var(--line); }
.nav__inner { width: min(1140px, 100% - 40px); height: 100%; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 40px; height: 40px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; white-space: nowrap; font-family: var(--font-display); font-weight: 800; font-size: 1.1875rem; letter-spacing: -0.03em; color: var(--ink); }
.brand__text small { font-size: .625rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--green-btn); margin-top: 4px; }
.nav__links { display: flex; gap: 4px; }
.nav__links a { position: relative; padding: 8px 12px; font-size: .9375rem; font-weight: 600; color: var(--ink-2); text-decoration: none; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--green); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__phone { display: inline-flex; align-items: center; gap: 7px; font-size: .9375rem; font-weight: 700; text-decoration: none; }
.nav__phone svg { width: 18px; height: 18px; color: var(--green-btn); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- pattern (generated from the logo geometry) ---------- */
[data-pattern] svg, .tp { display: block; width: 100%; height: auto; overflow: visible; }
.tp-cell {
  transform-box: fill-box; transform-origin: center;
  rotate: var(--r, 0deg); scale: .55; opacity: 0;
  transition: opacity .6s var(--ease) calc(var(--i) * 38ms), scale .9s var(--ease-spring) calc(var(--i) * 38ms), rotate .7s var(--ease-spring) 0ms;
}
.tp.in .tp-cell { opacity: 1; scale: 1; }
.tp.in .tp-cell:hover { rotate: calc(var(--r, 0deg) + 90deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + clamp(36px, 5vw, 72px)) 0 calc(clamp(52px, 7vw, 96px) + var(--slant)); min-height: 560px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 48%; transform: translateY(var(--by, 0px)) scale(1.08); will-change: transform; animation: bgIn 1.6s var(--ease) both; }
@keyframes bgIn { from { opacity: 0; transform: translateY(var(--by, 0px)) scale(1.16); } to { opacity: 1; transform: translateY(var(--by, 0px)) scale(1.08); } }
.hero__art { z-index: 1; position: absolute; top: 0; right: -3%; width: min(1300px, 66vw); transform: translateY(var(--py, 0px)); will-change: transform; }
.hero__art [data-pattern] { filter: drop-shadow(0 14px 22px rgba(18,48,26,.1)); }
.hero__copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; max-width: 520px; padding-top: clamp(8px, 3vw, 36px); }
.hero__copy .display, .hero__copy .lede { color: #fff; text-shadow: 0 2px 24px rgba(10,28,14,.55), 0 1px 3px rgba(10,28,14,.35); }
.hero__copy .display .soft { color: rgba(255,255,255,.82); }
.hero__copy .lede { color: rgba(255,255,255,.92); }
.hero__copy .lede strong { color: #fff; }
.hero__copy .eyebrow { color: #f5b82e; font-size: .8125rem; font-weight: 800; letter-spacing: .14em; text-shadow: 0 1px 2px rgba(0,0,0,.7), 0 0 18px rgba(0,0,0,.55), 0 0 4px rgba(0,0,0,.4); }
.hero__copy .eyebrow .stars svg { width: 16px; height: 16px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.55)); }
.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }

/* ---------- bands (slanted, like Notus) ---------- */
.band { position: relative; padding-block: clamp(44px, 5.5vw, 76px); }
.band--tint { background: var(--tint); }
.band--slant-top { margin-top: calc(var(--slant) * -1); z-index: 1; clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%); padding-top: calc(var(--slant) + clamp(26px, 3.5vw, 48px)); }
.band--slant-both { clip-path: polygon(0 var(--slant), 100% 0, 100% calc(100% - var(--slant)), 0 100%); padding-block: calc(var(--slant) + clamp(22px, 3vw, 44px)); }
.band--dark { background: var(--night); color: #fff; padding-bottom: calc(var(--slant) + 140px); overflow: hidden; }
.section { padding-block: clamp(36px, 5vw, 68px); }
.section--tight { padding-top: clamp(8px, 1.5vw, 20px); }
.section__head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: clamp(20px, 3vw, 36px); }

/* ---------- split rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--why { grid-template-columns: .9fr 1fr; }
.copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.copy__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--mint-soft); color: var(--green-btn); box-shadow: var(--shadow-sm); }
.copy__icon svg { width: 22px; height: 22px; }
.copy__icon--light { background: rgba(255,255,255,.12); color: #fff; }
.copy__p { color: var(--ink-2); max-width: 46ch; }
.copy--light .copy__p { color: rgba(255,255,255,.78); }
.tags { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 6px; }
.tags li { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: .875rem; font-weight: 700; letter-spacing: -0.005em; }
.tags li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%231b7f17' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; box-shadow: inset 0 0 0 1px rgba(34,150,29,.25); }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-family: var(--font-display); font-weight: 800; text-decoration: none; color: var(--green-btn); }
.more svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.more:hover svg { transform: translateX(5px); }
.ticks { display: grid; gap: 10px; margin-top: 4px; }
.ticks li { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-weight: 500; }
.ticks svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--mint-soft); color: var(--green-btn); }

/* ---------- why: photo + feats ---------- */
.photo { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; background: var(--night); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transition: transform 1.4s var(--ease); }
.photo:hover img { transform: scale(1.04); }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(18,48,26,.78)); }
.photo__card { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 28px; color: #fff; }
.photo__card h3 { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.photo__card p { font-size: .9375rem; color: rgba(255,255,255,.85); }
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 32px; }
.feat__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--green-btn); box-shadow: var(--shadow-md); margin-bottom: 16px; transition: transform .5s var(--ease-spring); }
.feat:hover .feat__icon { transform: translateY(-4px) rotate(-6deg); }
.feat__icon svg { width: 22px; height: 22px; }
.feat h3 { font-family: var(--font-display); font-size: 1.0625rem; letter-spacing: -0.015em; margin-bottom: 6px; }
.feat p { color: var(--ink-2); font-size: .9375rem; }

/* ---------- collage (overlapping cards) ---------- */
.collage { position: relative; width: 100%; max-width: 480px; height: 420px; margin-inline: auto; }
.cc { position: absolute; border-radius: var(--r-md); padding: 20px; box-shadow: var(--shadow-md); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s; }
.cc:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow-lg); }
.cc strong { display: block; font-family: var(--font-display); letter-spacing: -0.01em; font-size: 1rem; line-height: 1.25; }
.cc p { font-size: .8125rem; line-height: 1.5; margin-top: 6px; opacity: .8; }
.cc__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.14); margin-bottom: 12px; }
.cc__icon svg { width: 18px; height: 18px; }
.cc__icon--sun { background: var(--mint-soft); color: var(--green-btn); }
.cc em { display: inline-block; margin-top: 12px; padding: 4px 10px; border-radius: 6px; font-style: normal; font-size: .6875rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.14); }
.cc em.pill { background: var(--citrus); color: #fff; }
.cc--dark { left: 0; top: 56px; width: 62%; background: var(--night); color: #fff; z-index: 1; }
.cc--profile { right: 0; top: 0; width: 56%; background: #fff; text-align: center; z-index: 2; }
.cc--profile .avatar { width: 72px; height: 72px; margin: 4px auto 12px; border-radius: 50%; background: var(--mint-soft); display: grid; place-items: center; }
.cc--profile .avatar { overflow: hidden; }
.cc--profile .avatar img { width: 100%; height: 100%; object-fit: cover; }
.cc--profile span { font-size: .75rem; color: var(--ink-3); }
.badges { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.badges i { font-style: normal; font-size: .8125rem; font-weight: 800; color: var(--ink); }
.cc--float { left: 12%; bottom: 62px; width: 58%; background: #fff; z-index: 3; }
.cc--float em.pill { margin-top: 12px; }
.cc--bar { left: 6%; right: 0; bottom: 0; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; background: var(--green-btn); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: .75rem; letter-spacing: .1em; z-index: 4; }
.cc__bar-r { display: inline-flex; align-items: center; gap: 8px; letter-spacing: .02em; }
.cc__bar-r svg { width: 16px; height: 16px; }

/* ---------- spotlight on hover ---------- */
.spot::before { content: ""; position: absolute; inset: 0; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(157,204,176,.4), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; z-index: 0; }
.spot:hover::before { opacity: 1; }

/* ---------- spaces: coloured stack ---------- */
.stack { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: 36px; }
.tile {
  --stage: rgba(34,150,29,.12);
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 200px; padding: 20px;
  border-radius: var(--r-md); text-decoration: none; color: var(--ink); background: var(--tile-bg, #fff);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px rgba(28,25,23,.05); overflow: hidden;
  transition: transform .5s var(--ease-spring), box-shadow .5s;
}
.tile__scene { position: absolute; top: 0; right: 0; width: 70%; height: 74%; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent);
  transition: transform .9s var(--ease); transform-origin: 80% 20%; }
.tile:hover .tile__scene { transform: scale(1.05); }
.tile:nth-child(even) { transform: translateY(36px); }
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tile:nth-child(even):hover { transform: translateY(30px); }
.tile:active { transform: scale(.97); transition-duration: 60ms; }
.tile .tile__buddy { --size: 80px; position: absolute; top: 22px; right: 46px; z-index: 1; }
.tile__text { position: relative; z-index: 1; display: grid; gap: 2px; max-width: 70%; }
.tile__text strong { font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; letter-spacing: -0.02em; line-height: 1.15; }
.tile__text small { font-size: .875rem; color: var(--ink-2); }
.tile__go { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-family: var(--font-display); font-weight: 800; font-size: .8125rem; color: var(--green-btn); }
.tile__go svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.tile:hover .tile__go svg { transform: translateX(4px); }
.tile--res    { --tile-bg: #e6f4e8; --stage: rgba(34,150,29,.14); }
.tile--str    { --tile-bg: #fff0e3; --stage: rgba(249,115,22,.16); }
.tile--deep   { --tile-bg: #e2f3f1; --stage: rgba(29,127,115,.16); }
.tile--office { --tile-bg: #eeece9; --stage: rgba(28,25,23,.1); }
.tile--build  { --tile-bg: #fff5d6; --stage: rgba(245,184,46,.26); }
.tile--move   { --tile-bg: #e8eef8; --stage: rgba(66,104,170,.14); }

/* ---------- pricing tilt card ---------- */
.tilt { position: relative; perspective: 1400px; max-width: 460px; margin-inline: auto; width: 100%; }
.tilt__card {
  position: relative; z-index: 1; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden;
  transform: rotateX(var(--rx, 8deg)) rotateY(var(--ry, -14deg)) rotateZ(var(--rz, 2deg));
  transition: transform .9s var(--ease); will-change: transform;
}
.tilt.is-active .tilt__card { transition-duration: .15s; }
.tilt__bar { display: flex; align-items: center; gap: 6px; padding: 14px 18px; background: var(--tint); border-bottom: 1px solid var(--line); }
.tilt__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); }
.tilt__bar i:first-child { background: var(--citrus); }
.tilt__bar i:nth-child(2) { background: #f5b82e; }
.tilt__bar span { margin-left: 10px; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.tilt__body { padding: 26px; }
.tilt__price { font-family: var(--font-display); font-size: 3.4rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--green-btn); }
.tilt__range { color: var(--ink-3); font-size: .875rem; margin-top: 6px; }
.tilt__body ul { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.tilt__body li { display: flex; justify-content: space-between; font-size: .9375rem; }
.tilt__body li span { color: var(--ink-3); }
.tilt__chips { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 18px; }
.tilt__chips i { display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: .8125rem; font-weight: 700; color: var(--ink); }
.tilt__chips i::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%231b7f17' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat; }
.tilt__dots { position: absolute; z-index: 0; right: -46px; bottom: -50px; width: 52%; }

/* ---------- Tidy buddy (logo character) ---------- */
.buddy { --size: 56px; position: relative; display: inline-block; width: var(--size); height: var(--size); vertical-align: middle; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.buddy__roll, .buddy__hop, .buddy__idle { position: absolute; inset: 0; display: block; }
.buddy__hop, .buddy__idle { transform-origin: 50% 92%; }
.buddy__svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 4px 6px rgba(18,48,26,.18)); }
.buddy:not(.is-in) .buddy__roll, .buddy:not(.is-in) .buddy__shadow { opacity: 0; }
.buddy__shadow { position: absolute; left: 14%; right: 14%; bottom: -9%; height: 12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(18,48,26,.32), rgba(18,48,26,0)); }
.buddy.is-idle .buddy__idle { animation: buddyBreathe 3.6s ease-in-out infinite; }
.buddy__eyes { transform-box: fill-box; transform-origin: 50% 50%; }
.buddy.is-idle .buddy__eyes { animation: buddyBlink 4.6s var(--blink-delay, 0s) infinite; }
.buddy__pupils { transition: transform .25s var(--ease); }
@keyframes buddyBreathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.03, .97); } }
@keyframes buddyBlink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.buddy__say {
  position: absolute; left: calc(100% + 10px); bottom: 62%; white-space: nowrap;
  padding: 7px 12px; border-radius: 14px 14px 14px 4px; background: #fff; color: var(--night);
  font-family: var(--font-display); font-weight: 800; font-size: .8125rem; letter-spacing: -0.01em;
  box-shadow: var(--shadow-md); transform-origin: 0% 100%; transform: scale(.4); opacity: 0; pointer-events: none;
  transition: transform .55s var(--ease-spring), opacity .25s;
}
.buddy.is-said .buddy__say { transform: scale(1); opacity: 1; }
.buddy.say-left .buddy__say { left: auto; right: calc(100% + 10px); border-radius: 14px 14px 4px 14px; transform-origin: 100% 100%; }
.buddy--perch { position: absolute; z-index: 3; top: -50px; left: 28px; }
.section__head .buddy { margin-bottom: 4px; }
@media (prefers-reduced-motion: reduce) {
  .buddy.is-idle .buddy__idle { animation: none; }
}

/* ---------- Residential: house the buddy pops out of ---------- */
.house-scene { position: relative; width: 210px; height: 120px; margin-bottom: 2px; }
.house { position: absolute; left: 0; bottom: 6px; width: 118px; height: auto; overflow: visible; filter: drop-shadow(0 8px 12px rgba(18,48,26,.12)); }
.house__door { transform-box: fill-box; transform-origin: 0% 50%; }
.house-scene .buddy { position: absolute; left: 134px; bottom: 8px; }
.house-scene::after { content: ""; position: absolute; left: -8px; right: 0; bottom: 4px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--mint), rgba(157,204,176,0)); }

/* ---------- Pricing: phone mockup ---------- */
.tilt .phone { width: min(300px, 80vw); margin-inline: auto; aspect-ratio: 300 / 612; padding: 11px; border-radius: 50px; overflow: visible;
  background: linear-gradient(150deg, #24342a, #0b140e 60%, #18251c);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.1), inset 0 0 0 5px #0b140e, var(--shadow-lg); }
.tilt .phone { transform: rotateX(var(--rx, 8deg)) rotateY(var(--ry, -16deg)) rotateZ(var(--rz, 2deg)); transition: transform 1s var(--ease), box-shadow 1s var(--ease); outline: 1px solid transparent; }
.tilt.is-active .phone { transition-duration: .25s; }
.phone__btn { position: absolute; width: 4px; border-radius: 3px; background: linear-gradient(90deg, #2f4136, #16221a); transition: left 1s var(--ease), right 1s var(--ease), transform 1s var(--ease); }
.tilt.is-active .phone__btn { transition-duration: .25s; }
.phone__btn--power { right: calc(-3px - max(var(--sx, 0px), 0px)); top: 27%; height: 70px; transform: translateY(calc(var(--sy, 0px) * .5)); }
.phone__btn--vol1 { left: calc(-3px + min(var(--sx, 0px), 0px)); top: 22%; height: 46px; transform: translateY(calc(var(--sy, 0px) * .5)); }
.phone__btn--vol2 { left: calc(-3px + min(var(--sx, 0px), 0px)); top: 32%; height: 46px; transform: translateY(calc(var(--sy, 0px) * .5)); }
.tilt .buddy--perch .buddy__say, .tilt .buddy--perch.say-left .buddy__say { left: auto; right: -4px; bottom: calc(100% + 8px); border-radius: 14px 14px 4px 14px; transform-origin: 100% 100%; }
.phone__screen { position: relative; height: 100%; border-radius: 40px; background: var(--bg); overflow: hidden; padding: 46px 16px 0; display: flex; flex-direction: column; gap: 11px; font-size: 12px; line-height: 1.3; }
.phone__island { position: absolute; top: 11px; left: 50%; width: 86px; height: 25px; margin-left: -43px; border-radius: 14px; background: #0b140e; }
.ph-status { position: absolute; top: 13px; left: 26px; right: 24px; display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 11px; }
.ph-bars { display: flex; align-items: flex-end; gap: 2px; }
.ph-bars i { width: 3px; border-radius: 1px; background: var(--ink); }
.ph-bars i:nth-child(1) { height: 5px; } .ph-bars i:nth-child(2) { height: 7px; } .ph-bars i:nth-child(3) { height: 9px; }
.ph-head { display: flex; align-items: center; gap: 7px; }
.ph-logo { width: 22px; height: 22px; }
.ph-head b { font-family: var(--font-display); font-size: 13px; letter-spacing: -0.02em; }
.ph-head span { margin-left: auto; font-size: 10.5px; font-weight: 700; color: var(--ink-3); }
.ph-prog { height: 4px; border-radius: 4px; background: rgba(28,25,23,.08); overflow: hidden; }
.ph-prog span { display: block; height: 100%; width: 40%; border-radius: 4px; background: linear-gradient(90deg, var(--green), var(--mint)); transition: width .7s var(--ease); }
.ph-title { font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: -0.03em; line-height: 1.15; margin-top: 2px; }
.ph-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ph-seg i, .ph-freq i { font-style: normal; text-align: center; padding: 8px 4px; border-radius: 10px; background: #fff; border: 1.5px solid var(--line); font-weight: 700; font-size: 10.5px; transition: background-color .35s, border-color .35s, color .35s, transform .35s var(--ease-spring); }
.ph-seg i.on, .ph-freq i.on { background: var(--mint-soft); border-color: var(--green); color: var(--green-deep); transform: scale(1.03); }
.ph-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; border-radius: 12px; background: #fff; border: 1.5px solid var(--line); font-weight: 700; }
.ph-step { display: flex; align-items: center; gap: 9px; }
.ph-step i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-style: normal; font-weight: 800; }
.ph-step b { min-width: 14px; text-align: center; font-family: var(--font-display); font-size: 15px; }
.ph-field { display: grid; gap: 7px; }
.ph-field__top { display: flex; justify-content: space-between; font-weight: 700; }
.ph-field__top b { color: var(--green-btn); }
.ph-range { position: relative; height: 6px; border-radius: 6px; background: rgba(28,25,23,.1); }
.ph-range span { position: absolute; left: 0; top: 0; bottom: 0; width: 6%; border-radius: 6px; background: var(--green); transition: width .8s var(--ease); }
.ph-range span::after { content: ""; position: absolute; right: -9px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25), 0 4px 10px rgba(0,0,0,.15); }
.ph-freq { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ph-freq em { display: block; font-style: normal; font-size: 9.5px; color: var(--green-btn); margin-top: 1px; }
.ph-est { margin: auto -16px 0; padding: 12px 16px 26px; background: #fff; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ph-est__l { display: grid; }
.ph-est small { font-size: 9.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.ph-est b { font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; color: var(--ink); font-variant-numeric: tabular-nums; }
.ph-est em { font-style: normal; font-size: 10px; font-weight: 800; color: var(--green-btn); min-height: 12px; }
.ph-btn { padding: 10px 16px; border-radius: 12px; background: var(--green-btn); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 12px; }
.phone__home { position: absolute; left: 50%; bottom: 8px; width: 104px; height: 4px; margin-left: -52px; border-radius: 4px; background: rgba(28,25,23,.35); }
.ph-bump { animation: bump .4s var(--ease-spring); }
.tilt .buddy--perch { top: 6px; left: auto; right: calc(50% - min(150px, 40vw) - 74px); }
.tilt .tilt__dots { right: -20px; bottom: -30px; width: 46%; }

/* ---------- Tile buddies: still until hovered ---------- */
.buddy__face--happy { opacity: 0; }
.buddy__face--rest, .buddy__face--happy { transition: opacity .12s; }
.tile:hover .buddy__face--rest, .tile:focus-visible .buddy__face--rest { opacity: 0; }
.tile:hover .buddy__face--happy, .tile:focus-visible .buddy__face--happy { opacity: 1; }
.buddy__prop { transform-box: fill-box; transform-origin: 50% 100%; }
.tile:hover .buddy__prop { animation: propWiggle .5s ease-in-out infinite alternate; }
.buddy__mop { transform-origin: 85% 0%; }
.tile:hover .buddy__mop { animation: mopSwish .45s ease-in-out infinite alternate; }
@keyframes mopSwish { from { transform: rotate(-9deg); } to { transform: rotate(9deg); } }
.tile:hover .buddy__bubbles { animation: bubbleUp 1.4s ease-in infinite; transform-origin: 50% 100%; }
.buddy__lift { transform-box: fill-box; transition: transform .45s var(--ease-spring); }
.tile:hover .buddy__lift { transform: translateY(-34px); }
@keyframes propWiggle { from { transform: rotate(-10deg); } to { transform: rotate(10deg); } }
@keyframes bubbleUp { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(-60px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .tile:hover .buddy__prop, .tile:hover .buddy__bubbles { animation: none; }
  .tile:hover .buddy__lift { transform: none; }
}

/* ---------- Services carousel ---------- */
.spaces-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.spaces-head .copy { max-width: 620px; }
.carousel__nav { display: flex; gap: 10px; flex: none; }
.carousel__btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--ink);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); transition: transform .15s var(--ease), background-color .2s, color .2s, opacity .2s; }
.carousel__btn svg { width: 20px; height: 20px; }
.carousel__btn:first-child svg { transform: rotate(180deg); }
.carousel__btn:hover { background: var(--green-btn); color: #fff; }
.carousel__btn:active { transform: scale(.9); transition-duration: 60ms; }
.carousel__btn[disabled] { opacity: .35; pointer-events: none; }
.carousel { position: relative; margin-inline: -24px; }
.carousel__track {
  position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: clamp(270px, 28vw, 340px); gap: 18px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 24px; scroll-behavior: smooth;
  padding: 14px 24px 26px; scrollbar-width: none; cursor: grab; outline: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 56px), transparent);
          mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 56px), transparent);
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.is-drag { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; }
.carousel__track.is-auto { scroll-snap-type: none; scroll-behavior: auto; }
.carousel__track.is-drag .tile { pointer-events: none; }
.carousel__track:focus-visible { box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--green) 45%, white); border-radius: var(--r-md); }
.carousel .tile { scroll-snap-align: start; min-height: 400px; padding: 22px; -webkit-user-drag: none; user-select: none; }
.carousel .tile:nth-child(even) { transform: none; }
.carousel .tile:hover, .carousel .tile:nth-child(even):hover { transform: translateY(-6px); }
.carousel .tile__scene { width: 100%; height: 66%; transform-origin: 50% 30%; }
.carousel .tile .tile__buddy { --size: 128px; top: 52px; left: 50%; right: auto; margin-left: calc(var(--size) / -2); }
.carousel .tile__text { max-width: 100%; }
.carousel .tile__text strong { font-size: 1.375rem; }
.carousel .tile__text small { font-size: .9375rem; }
.carousel__dots { display: flex; justify-content: center; gap: 10px; margin-top: 2px; }
.carousel__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(28,25,23,.18); transition: transform .3s var(--ease-spring), background-color .2s; }
.carousel__dots button[aria-selected="true"] { background: var(--green); transform: scale(1.35); }
@media (max-width: 680px) {
  .spaces-head { flex-direction: column; align-items: flex-start; }
  .carousel { margin-inline: -16px; }
  .carousel__track { grid-auto-columns: 80vw; padding-inline: 16px; scroll-padding-inline: 16px; }
  .carousel .tile { min-height: 360px; }
  .carousel .tile .tile__buddy { --size: 112px; top: 46px; }
}
@media (prefers-reduced-motion: reduce) { .carousel__track { scroll-behavior: auto; } }

.eyebrow--light { color: var(--mint); }
.copy .eyebrow { margin-bottom: -6px; }
.cc strong { margin-top: 2px; }

/* ==========================================================
   QUOTE BUILDER
   ========================================================== */
.qb { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.qb__form { background: var(--surface); border-radius: var(--r-xl); border: 1px solid var(--line); box-shadow: var(--shadow-md); padding: clamp(22px, 4vw, 44px); display: flex; flex-direction: column; gap: 28px; min-height: 560px; }
.qb__progress { display: flex; align-items: center; gap: 14px; }
.qb__bar { flex: 1; height: 6px; border-radius: 6px; background: rgba(28,25,23,.08); overflow: hidden; }
.qb__bar span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--green), var(--mint)); border-radius: 6px; transform-origin: 0 50%; transform: scaleX(.2); transition: transform .7s var(--ease); }
.qb__stepno { font-size: .875rem; font-weight: 700; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.qb__stage { position: relative; flex: 1; }
.qstep { border: 0; padding: 0; margin: 0; min-inline-size: 0; display: none; flex-direction: column; gap: 24px; }
.qstep.is-active { display: flex; animation: stepIn .55s var(--ease) both; }
.qstep.from-back.is-active { animation-name: stepInBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes stepInBack { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
.qstep__title { padding: 0; margin-bottom: 24px; font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 1.8rem); font-weight: 800; letter-spacing: -0.028em; line-height: 1.15; outline: none; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.card-opt { position: relative; display: block; cursor: pointer; }
.card-opt input, .chip input, .freq__opt input, .addon input, .toggle input, .check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.card-opt__body { display: flex; flex-direction: column; gap: 6px; padding: 18px; height: 100%; border-radius: var(--r-md); background: var(--bg); border: 1.5px solid var(--line); transition: transform .2s var(--ease), border-color .25s, background-color .25s, box-shadow .3s; }
.card-opt__body svg { width: 30px; height: 30px; color: var(--green); margin-bottom: 8px; transition: transform .45s var(--ease-spring); }
.card-opt__body strong { font-family: var(--font-display); letter-spacing: -0.015em; font-size: 1rem; line-height: 1.2; }
.card-opt__body small { color: var(--ink-3); font-size: .875rem; line-height: 1.3; }
.card-opt:hover .card-opt__body { transform: translateY(-2px); border-color: rgba(34,150,29,.45); }
.card-opt:active .card-opt__body { transform: scale(.975); transition-duration: 60ms; }
.card-opt input:checked + .card-opt__body { border-color: var(--green); background: var(--mint-soft); box-shadow: 0 0 0 3px rgba(34,150,29,.18); }
.card-opt input:checked + .card-opt__body svg { transform: scale(1.12) rotate(-4deg); }
.card-opt input:focus-visible + .card-opt__body, .chip input:focus-visible + span, .freq__opt input:focus-visible + span, .addon input:focus-visible + .addon__body, .toggle input:focus-visible ~ .toggle__track { outline: 3px solid color-mix(in srgb, var(--green) 55%, white); outline-offset: 2px; }

.steppers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: var(--r-md); background: var(--bg); border: 1.5px solid var(--line); }
.stepper__label { font-weight: 700; letter-spacing: -0.01em; }
.stepper__ctl { display: flex; align-items: center; gap: 12px; }
.stepper__val { min-width: 2.4ch; text-align: center; font-family: var(--font-display); font-size: 1.375rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.stepper__val.bump { animation: bump .35s var(--ease-spring); }
@keyframes bump { 40% { transform: scale(1.25); } }
.round { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); transition: transform .14s var(--ease), background-color .2s, opacity .2s; }
.round svg { width: 18px; height: 18px; }
.round:hover { background: var(--mint-soft); }
.round:active { transform: scale(.88); transition-duration: 50ms; }
.round[disabled] { opacity: .35; pointer-events: none; }

.field { display: flex; flex-direction: column; gap: 10px; }
.field__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.field__label { font-weight: 700; letter-spacing: -0.01em; font-size: 1rem; }
.field__val { font-weight: 700; color: var(--green-btn); font-variant-numeric: tabular-nums; }
.opt { font-weight: 400; color: var(--ink-3); font-size: .875rem; margin-left: 6px; }
.hint { font-size: .875rem; color: var(--ink-3); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.input { width: 100%; min-height: 52px; padding: 0 16px; font: inherit; font-size: 1.0625rem; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--r-md); transition: border-color .2s, box-shadow .25s, background-color .2s; appearance: none; -webkit-appearance: none; }
textarea.input { padding: 14px 16px; min-height: 96px; resize: vertical; }
.input:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(34,150,29,.16); }
.input.invalid { border-color: #d93025; box-shadow: 0 0 0 4px rgba(217,48,37,.12); }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.error { color: #c5221f; font-size: .875rem; font-weight: 600; }

.range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; --p: 0%; }
.range::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--green) var(--p), rgba(28,25,23,.1) var(--p)); }
.range::-moz-range-track { height: 8px; border-radius: 8px; background: rgba(28,25,23,.1); }
.range::-moz-range-progress { height: 8px; border-radius: 8px; background: var(--green); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 1px 3px rgba(0,0,0,.25), 0 6px 14px rgba(0,0,0,.16); transition: transform .2s var(--ease-spring); }
.range::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 1px 3px rgba(0,0,0,.25), 0 6px 14px rgba(0,0,0,.16); }
.range:active::-webkit-slider-thumb { transform: scale(1.14); }
.range__ticks { display: flex; justify-content: space-between; font-size: .75rem; color: var(--ink-3); margin-top: -2px; padding-inline: 4px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 12px; background: var(--bg); border: 1.5px solid var(--line); font-weight: 600; cursor: pointer; transition: transform .14s var(--ease), background-color .2s, border-color .2s, color .2s; user-select: none; }
.chip span:hover { border-color: rgba(34,150,29,.5); }
.chip span:active { transform: scale(.95); transition-duration: 50ms; }
.chip input:checked + span { background: var(--night); border-color: var(--night); color: #fff; }
.chips--tight .chip span { padding: 0 14px; }

.toggle { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: var(--r-md); background: var(--bg); border: 1.5px solid var(--line); cursor: pointer; }
.toggle__track { position: relative; flex: none; width: 52px; height: 32px; border-radius: 32px; background: rgba(28,25,23,.18); transition: background-color .3s var(--ease); }
.toggle__knob { position: absolute; top: 2px; left: 2px; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.25); transition: transform .45s var(--ease-spring), width .2s; }
.toggle:active .toggle__knob { width: 34px; }
.toggle input:checked ~ .toggle__track { background: var(--green); }
.toggle input:checked ~ .toggle__track .toggle__knob { transform: translateX(20px); }
.toggle:active input:checked ~ .toggle__track .toggle__knob { transform: translateX(14px); }
.toggle__text strong { display: block; letter-spacing: -0.01em; }
.toggle__text small { color: var(--ink-3); font-size: .875rem; }

.freq { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.freq__opt span { display: flex; flex-direction: column; gap: 4px; padding: 16px; height: 100%; border-radius: var(--r-md); background: var(--bg); border: 1.5px solid var(--line); cursor: pointer; transition: transform .2s var(--ease), border-color .25s, background-color .25s, box-shadow .3s; }
.freq__opt strong { font-family: var(--font-display); letter-spacing: -0.015em; line-height: 1.2; }
.freq__opt small { color: var(--ink-3); font-size: .875rem; }
.freq__opt em { font-style: normal; font-size: .8125rem; font-weight: 800; color: var(--green-btn); }
.freq__opt span:hover { transform: translateY(-2px); border-color: rgba(34,150,29,.45); }
.freq__opt span:active { transform: scale(.97); transition-duration: 60ms; }
.freq__opt input:checked + span { border-color: var(--green); background: var(--mint-soft); box-shadow: 0 0 0 3px rgba(34,150,29,.18); }

.addons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.addon__body { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-md); background: var(--bg); border: 1.5px solid var(--line); cursor: pointer; transition: transform .2s var(--ease), border-color .25s, background-color .25s; }
.addon__body > svg { width: 24px; height: 24px; color: var(--green); }
.addon__body > span { flex: 1; min-width: 0; }
.addon__body strong { display: block; letter-spacing: -0.01em; line-height: 1.2; }
.addon__body small { color: var(--ink-3); font-size: .8125rem; }
.addon__body em { font-style: normal; font-weight: 800; font-size: .9375rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.addon__body:hover { border-color: rgba(34,150,29,.45); }
.addon__body:active { transform: scale(.975); transition-duration: 60ms; }
.addon input:checked + .addon__body { border-color: var(--green); background: var(--mint-soft); }
.addon input:checked + .addon__body em { color: var(--green-btn); }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; color: var(--ink-2); cursor: pointer; }
.check a { color: var(--green-btn); }
.check__box { flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; border-radius: 8px; border: 1.5px solid rgba(28,25,23,.28); background: #fff; color: transparent; transition: background-color .2s, border-color .2s, color .2s, transform .3s var(--ease-spring); }
.check__box svg { width: 15px; height: 15px; }
.check input:checked + .check__box { background: var(--green); border-color: var(--green); color: #fff; transform: scale(1.05); }
.check input:focus-visible + .check__box { outline: 3px solid color-mix(in srgb, var(--green) 55%, white); outline-offset: 2px; }

.qb__nav { display: flex; justify-content: space-between; gap: 12px; padding-top: 4px; }
.qb__nav .btn { min-width: 120px; }
.qb__form.is-done .qb__nav, .qb__form.is-done .qb__top { display: none; }

.qresult { align-items: center; text-align: center; gap: 14px; padding-block: 24px; }
.tick { width: 84px; height: 84px; }
.tick circle { stroke: var(--green); stroke-width: 2.5; stroke-dasharray: 160; stroke-dashoffset: 160; }
.tick path { stroke: var(--green); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 50; stroke-dashoffset: 50; }
.qstep.is-active .tick circle { animation: draw .7s .05s var(--ease) forwards; }
.qstep.is-active .tick path { animation: draw .5s .55s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.qresult__sub { color: var(--ink-2); max-width: 46ch; }
.qresult__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }

.qb__summary { position: sticky; top: calc(var(--nav-h) + 20px); }
.sum__card { position: relative; border-radius: var(--r-xl); padding: 20px 28px 28px; background: var(--night); color: #fff; box-shadow: var(--shadow-lg); overflow: hidden; }
.sum__art { margin: 8px 0 18px; overflow: hidden; }
.sum__art .tp { overflow: hidden; }
.sum__eyebrow { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.sum__price { font-family: var(--font-display); font-size: clamp(3rem, 5.4vw, 3.8rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1.05; margin-top: 4px; font-variant-numeric: tabular-nums; }
.sum__price.custom { font-size: 2rem; letter-spacing: -0.03em; line-height: 1.15; }
.sum__range { color: rgba(255,255,255,.7); font-size: .9375rem; margin-top: 2px; }
.sum__save { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: #b7eac5; font-size: .9375rem; font-weight: 700; animation: swapIn .5s var(--ease) both; }
.sum__save::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: rgba(157,204,176,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%23b7eac5' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
@keyframes swapIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.sum__lines { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); display: grid; gap: 10px; }
.sum__lines li { display: flex; justify-content: space-between; gap: 14px; font-size: .9375rem; color: rgba(255,255,255,.82); animation: swapIn .4s var(--ease) both; }
.sum__lines li span:last-child { color: #fff; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.sum__fine { margin-top: 20px; font-size: .8125rem; line-height: 1.5; color: rgba(255,255,255,.55); }

.mbar { position: fixed; z-index: 80; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: none; align-items: center; gap: 12px; padding: 12px 20px; border-radius: 18px; background: rgba(18,48,26,.86); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); color: #fff; box-shadow: 0 12px 34px rgba(0,0,0,.28); transform: translateY(140%); transition: transform .6s var(--ease); }
.mbar.show { transform: none; }
.mbar__label { font-size: .8125rem; color: rgba(255,255,255,.7); }
.mbar__price { flex: 1; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.mbar__note { font-size: .75rem; color: rgba(255,255,255,.55); }

/* ---------- plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { display: block; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-decoration: none; transition: transform .6s var(--ease), box-shadow .6s; }
.plan:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.plan:active { transform: scale(.985); transition-duration: 60ms; }
.plan__art { aspect-ratio: 4 / 3; overflow: hidden; background: var(--tint); }
.plan__art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.plan:hover .plan__art img { transform: scale(1.06); }
.plan__body { padding: 20px 22px 24px; display: grid; gap: 4px; }
.plan__body h3 { font-family: var(--font-display); font-size: 1.1875rem; letter-spacing: -0.02em; }
.plan__body p { color: var(--ink-3); font-size: .9375rem; }
.plan__price { margin-top: 10px; font-family: var(--font-display); font-weight: 800; color: var(--green-btn); }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.015em; cursor: pointer; list-style: none; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--green-btn); }
.faq summary svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: rgba(28,25,23,.06); transition: transform .5s var(--ease-spring), background-color .3s, color .3s; }
.faq details.is-open summary svg { transform: rotate(135deg); background: var(--green); color: #fff; }
.faq__a { overflow: hidden; }
.faq__a p { padding: 0 4px 24px; color: var(--ink-2); max-width: 60ch; }

/* ---------- promise (dark) ---------- */
.watermark { position: absolute; right: -6%; top: 50%; width: min(620px, 60vw); height: auto; aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; }
.band--dark .wrap { position: relative; }
.pills { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px 18px; max-width: 580px; margin: 4px 0 12px; }
.pills li { display: flex; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 700; color: #fff; }
.pills li::before { content: ""; flex: none; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s7-6.2 7-11.5A7 7 0 0 0 5 9.5C5 14.8 12 21 12 21zM12 12a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5z' fill='%239dccb0'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- CTA card ---------- */
.cta { position: relative; z-index: 2; margin-top: -120px; padding-bottom: 44px; }
.cta__card { text-align: center; background: #fff; border-radius: var(--r-lg); padding: clamp(32px, 5vw, 56px); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cta__mark { width: 56px; height: 56px; transition: transform .8s var(--ease-spring); }
.cta__card:hover .cta__mark { transform: rotate(90deg); }
.cta__title { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.03em; font-weight: 800; }
.cta__card p { color: var(--ink-2); max-width: 46ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 10px; }

/* ---------- footer ---------- */
.footer { padding: 8px 0 24px; background: var(--bg); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-block: 24px; }
.footer__about h3 { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -0.03em; margin-top: 22px; }
.footer__about p { color: var(--ink-3); margin-top: 6px; }
.footer__icons { display: flex; gap: 10px; margin-top: 18px; }
.roundlink { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--green-btn); box-shadow: var(--shadow-md); transition: transform .4s var(--ease-spring); }
.roundlink:hover { transform: translateY(-3px) scale(1.06); }
.roundlink svg { width: 18px; height: 18px; }
.footer__col { display: flex; flex-direction: column; gap: 8px; }
.footer__col h4 { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.footer__col a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .9375rem; }
.footer__col a:hover { color: var(--green-btn); }
.footer__copy { text-align: center; color: var(--ink-3); font-size: .875rem; padding-top: 24px; border-top: 1px solid var(--line); width: min(1140px, 100% - 48px); margin-inline: auto; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 960px) {
  .qb { grid-template-columns: 1fr; }
  .qb__summary { display: none; }
  .mbar { display: flex; }
  .nav__links { display: none; }
  .split, .split--why { grid-template-columns: 1fr; }
  .split--rev .copy { order: -1; }
  .photo { aspect-ratio: 16 / 11; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero__art { position: relative; order: 2; top: auto; right: auto; width: min(560px, 100% - 48px); margin: 44px auto 0; transform: none; }
  .hero__copy { max-width: none; padding-top: 0; }
}
@media (max-width: 680px) {
  .wrap, .wrap--narrow { width: min(1140px, 100% - 32px); }
  .nav__inner { gap: 10px; width: min(1140px, 100% - 28px); }
  .nav__cta { gap: 8px; }
  .nav__phone span { display: none; }
  .nav__phone { width: 40px; height: 40px; justify-content: center; border-radius: 50%; background: rgba(28,25,23,.06); }
  .hero__art { width: calc(100% - 32px); }
  .hero__actions .btn { flex: 1; }
  .feats { grid-template-columns: 1fr; gap: 28px; }
  .collage { height: 440px; }
  .cards, .freq { grid-template-columns: 1fr 1fr; }
  .steppers, .grid2, .addons { grid-template-columns: 1fr; }
  .stack { gap: 12px; }
  .tile { min-height: 176px; padding: 16px; }
  .tile .tile__buddy { --size: 60px; top: 16px; right: 34px; }
  .tile__text strong { font-size: 1rem; }
  .qb__nav .btn { flex: 1; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  body { padding-bottom: 76px; }
}

/* ==========================================================
   Accessibility preferences
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .15s !important; transition-delay: 0ms !important; }
  .reveal { transform: none; }
  .tp-cell { scale: 1; opacity: 1; }
  .hero__art, .tilt__card, .hero__bg img { transform: none !important; animation: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav, .mbar { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav { background: var(--bg); }
  .mbar { background: var(--night); }
}
@media (prefers-contrast: more) {
  :root { --line: rgba(0,0,0,.4); --ink-3: #46413d; }
}
