/* Pool landing (roof.quotingcrew.org): extra blocks on top of qc.css. */

/* Proof bar */
.proof { padding-top: 70px; }
.proof__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.proof__item { padding: 26px 26px 28px; }
.proof__n { font-size: clamp(36px, 4vw, 54px); font-weight: 770; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink); }
.proof__item:first-child .proof__n, .proof__item:nth-child(2) .proof__n { color: var(--blue); }
.proof__item p { margin-top: 10px; color: var(--ink-2); font-size: 15.5px; line-height: 1.45; }
.proof__note { margin-top: 16px; text-align: center; font-size: 14px; color: var(--muted); }
.proof__note a { color: var(--blue); }

/* Case studies */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.case { display: flex; flex-direction: column; overflow: hidden; }
.case--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 0.95fr 1.05fr; }
.case__ph { position: relative; height: 230px; overflow: hidden; background: linear-gradient(140deg, #A34D22 0%, #E1682C 55%, #FB8D57 100%); color: #fff; display: flex; align-items: flex-end; padding: 22px 24px; isolation: isolate; }
.case--wide .case__ph { height: auto; min-height: 100%; }
.case__ph::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(260px 180px at 85% 10%, rgba(255, 255, 255, 0.28), transparent 70%),
  repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px 26px); }
.case__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.case__ph--teal { background: linear-gradient(140deg, #0E6E7A 0%, #1597A6 55%, #6FD3DC 100%); }
.case__ph--warm { background: linear-gradient(140deg, #8A3B12 0%, #D0661F 55%, #F4A35C 100%); }
.case__ph--green { background: linear-gradient(140deg, #146C43 0%, #1F9D63 55%, #7FD6A4 100%); }
.case__ph--sky { background: linear-gradient(140deg, #8E3D20 0%, #CD5833 55%, #FB8660 100%); }
.case__svc { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 13.5px; font-weight: 600; letter-spacing: -0.005em; }
.case__svc svg { width: 16px; height: 16px; }
.case__body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.case__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--muted); }
.case__meta span { display: inline-flex; align-items: center; gap: 6px; }
.case__meta svg { width: 15px; height: 15px; color: var(--faint); }
.case h3 { margin-top: 12px; font-size: 23px; line-height: 1.22; letter-spacing: -0.03em; font-weight: 700; }
.case--wide h3 { font-size: 28px; }
.case__kpis { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kpi { padding: 14px 16px; border-radius: 14px; background: var(--bg); }
.kpi__n { font-size: 28px; font-weight: 760; letter-spacing: -0.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.kpi__l { margin-top: 3px; font-size: 13px; color: var(--muted); line-height: 1.35; }
.kpi--hl { background: linear-gradient(160deg, #FEEDE4, #F7F9FF); box-shadow: inset 0 0 0 1px var(--blue-100); }
.kpi--hl .kpi__n { color: var(--blue); }
.case__foot { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.case__foot span { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 11px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; color: var(--muted); }
.case__foot b { color: var(--ink); font-weight: 650; font-variant-numeric: tabular-nums; }
.case__foot .roas { background: var(--green-50); box-shadow: none; color: var(--green); }
.case__foot .roas b { color: var(--green); }
.case details { margin-top: auto; padding-top: 18px; }
.case summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; font-weight: 600; font-size: 15px; color: var(--blue); padding: 8px 0; }
.case summary::-webkit-details-marker { display: none; }
.case summary svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.case details[open] summary svg { transform: rotate(180deg); }
.case__story { padding-top: 6px; display: grid; gap: 14px; }
.case details[open] .case__story { animation: storyIn 0.5s var(--ease); }
@keyframes storyIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.case__story h4 { margin: 0; font-size: 14px; font-weight: 650; color: var(--ink); }
.case__story p { margin-top: 4px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }

/* Pool jobs */
.jobs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.job { grid-column: span 2; padding: 26px 26px 24px; display: flex; flex-direction: column; }
.job:nth-child(4), .job:nth-child(5) { grid-column: span 3; }
.job h3 { font-size: 21px; letter-spacing: -0.025em; font-weight: 680; line-height: 1.2; }
.job > p { margin-top: 8px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }

/* Seasons */
.seasons { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.season { padding: 24px 24px 26px; position: relative; }
.season__when { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--blue); background: var(--blue-50); padding: 5px 11px; border-radius: 999px; }
.season h3 { margin-top: 14px; font-size: 21px; letter-spacing: -0.025em; font-weight: 680; }
.season p { margin-top: 8px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.seasons__note { margin-top: 18px; text-align: center; color: var(--muted); font-size: 15px; }

/* Hero report as a funnel */
.p-rep .rep__funnel { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 22px 24px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); }
.rep__row { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 14px; font-size: 13.5px; color: var(--ink-2); }
.rep__bar { height: 34px; border-radius: 10px; background: var(--bg); overflow: hidden; }
.rep__bar i { display: flex; align-items: center; height: 100%; padding-left: 12px; border-radius: 10px; background: linear-gradient(90deg, #A34D22, #FA7E40); color: #fff; font-style: normal; font-weight: 650; font-family: var(--mono); font-size: 12.5px; white-space: nowrap; transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); }
.p-rep.is-played .rep__bar i { transform: scaleX(1); }
.rep__row:nth-child(2) i { transition-delay: 0.15s; }
.rep__row:nth-child(3) i { transition-delay: 0.3s; }
.rep__row:nth-child(4) i { transition-delay: 0.45s; background: linear-gradient(90deg, #168455, #3CC383); }

/* Calculator with three presets */
.seg--3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 1080px) {
  .proof__grid { grid-template-columns: 1fr 1fr; }
  .seasons { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .cases { grid-template-columns: 1fr; }
  .case--wide { display: flex; }
  .case--wide .case__ph { height: 230px; min-height: 0; }
  .jobs { grid-template-columns: 1fr 1fr; }
  .job:nth-child(n) { grid-column: auto; }
  .job:nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .proof { padding-top: 56px; }
  .proof__grid { gap: 12px; }
  .proof__item { padding: 20px 18px 22px; border-radius: 22px; }
  .proof__item p { font-size: 14px; }
  .case__ph { height: 190px; padding: 18px; }
  .case--wide .case__ph { height: 190px; }
  .case__body { padding: 22px 20px 24px; }
  .case h3, .case--wide h3 { font-size: 21px; }
  .kpi { padding: 12px 13px; }
  .kpi__n { font-size: 23px; }
  .jobs { grid-template-columns: 1fr; }
  .job:nth-child(5) { grid-column: auto; }
  .seasons { grid-template-columns: 1fr; }
  .seg--3 button { font-size: 13.5px; padding: 0 6px; }
  .rep__row { grid-template-columns: 96px 1fr; font-size: 12px; }
}
@media (max-width: 400px) {
  .proof__grid { grid-template-columns: 1fr; }
}

/* ===== v2: pool builders and remodelers ===== */
.btn > svg:not(.btn__arrow) { width: 18px; height: 18px; flex: none; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 650; color: var(--ink); text-decoration: none; white-space: nowrap; transition: color 0.2s; }
.nav__phone svg { width: 17px; height: 17px; color: var(--blue); }
.nav__phone:hover { color: var(--blue); }

/* Hero visual: photo with real results */
.hv { position: relative; max-width: 1110px; margin: 56px auto 0; padding: 0 24px; }
.hv__img { height: 540px; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-pop), 0 0 0 1px rgba(18, 21, 27, 0.06); }
.hv__img picture, .hv__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hv__cards { position: absolute; inset: 0 24px; pointer-events: none; }
.hv__card { position: absolute; min-width: 250px; padding: 16px 18px; border-radius: 18px; text-align: left; background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 24px 50px -24px rgba(18, 21, 27, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.6); animation: float 7s ease-in-out infinite; }
.hv__card .label { font-size: 11px; }
.hv__n { margin-top: 6px; font-size: 32px; font-weight: 770; letter-spacing: -0.045em; line-height: 1.1; color: var(--blue); }
.hv__card p { margin-top: 2px; font-size: 13.5px; color: var(--ink-2); }
.hv__card--1 { left: -20px; top: 48px; }
.hv__card--2 { right: -20px; top: 200px; animation-delay: -2.3s; }
.hv__card--3 { left: 48px; bottom: 36px; animation-delay: -4.6s; }

/* Value of more projects */
.value { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value__item { padding: 26px; }
.value__n { margin-top: 14px; font-size: clamp(28px, 3vw, 40px); font-weight: 770; letter-spacing: -0.045em; line-height: 1.05; color: var(--blue); }
.value__item p { margin-top: 10px; color: var(--ink-2); font-size: 15.5px; line-height: 1.45; }
.value__wide { grid-column: 1 / -1; padding: 32px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: center; color: #fff; background: radial-gradient(420px 260px at 90% 0%, rgba(255, 255, 255, 0.16), transparent 70%), linear-gradient(135deg, #A34D22, #E1682C); }
.value__wide .label { color: rgba(255, 255, 255, 0.72); }
.value__math { margin-top: 10px; display: flex; flex-direction: column; gap: 2px; }
.value__math span { font-size: 19px; font-weight: 600; opacity: 0.9; }
.value__math b { font-size: clamp(30px, 3.6vw, 48px); font-weight: 780; letter-spacing: -0.045em; line-height: 1.1; }
.value__wide p { margin-top: 10px; opacity: 0.75; font-size: 14px; }
.value__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.value__list li { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.12); font-size: 15.5px; }
.value__list li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--blue); font-size: 12px; font-weight: 800; }

/* Projects */

/* Why start now */
.now { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.now__item { padding: 28px 26px; }
.now__n { font-family: var(--mono); font-size: 13px; color: var(--blue); }
.now__item h3 { margin-top: 12px; font-size: 21px; letter-spacing: -0.025em; font-weight: 680; }
.now__item p { margin-top: 8px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.timeline { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.timeline li { padding: 16px 18px; font-size: 14.5px; line-height: 1.45; color: var(--muted); border-left: 1px solid var(--line-2); }
.timeline li:first-child { border-left: 0; }
.timeline b { display: block; margin-bottom: 2px; font-size: 14px; color: var(--blue); }

/* How we help */
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.start { margin-top: 48px; display: grid; grid-template-columns: 1fr 1.25fr; padding: 0; overflow: hidden; }
.start__need { padding: 30px; background: linear-gradient(160deg, #F3F6FF, #fff 75%); }
.start__inc { padding: 30px; border-left: 1px solid var(--line-2); }
.start h3 { font-size: 20px; font-weight: 680; letter-spacing: -0.02em; }
.start ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.start li { display: flex; gap: 10px; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.start li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--green-50); color: var(--green); font-size: 12px; font-weight: 800; }
.start__need li::before { background: var(--blue-50); color: var(--blue); }
.start__need p { margin-top: 16px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* CTAs, proof, booking */
.cta-row { margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.proof__grid--in { margin-bottom: 20px; }
.end__alt { margin-top: 22px; font-size: 15px; color: var(--muted); }
.end__alt a { color: var(--blue); }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); text-decoration: underline; cursor: pointer; }
.booking { max-width: 780px; margin: 30px auto 0; padding: 10px; border-radius: 24px; background: #fff; box-shadow: var(--shadow-card), 0 0 0 1px rgba(18, 21, 27, 0.05); }
.booking iframe { display: block; width: 100%; min-height: 660px; border: 0; border-radius: 16px; }

/* Sticky call bar on phones (kept clear of the chat bubble on the right) */
.callbar { display: none; }

@media (max-width: 1080px) {
}
@media (max-width: 900px) {
  .nav__phone { display: none; }
  .hv { margin-top: 44px; padding: 0 16px; }
  .hv__img { height: 300px; border-radius: 22px; }
  .hv__cards { position: relative; inset: auto; display: grid; gap: 10px; margin-top: -48px; padding: 0 12px; }
  .hv__card { position: static; min-width: 0; animation: none; }
  .value { grid-template-columns: 1fr; }
  .value__wide { grid-template-columns: 1fr; gap: 20px; }
  .now { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline li:nth-child(3) { border-left: 0; }
  .timeline li:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .start { grid-template-columns: 1fr; }
  .start__inc { border-left: 0; border-top: 1px solid var(--line-2); }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; z-index: 55; left: 12px; right: 88px; bottom: calc(14px + env(safe-area-inset-bottom)); padding: 6px; border-radius: 18px; background: rgba(255, 255, 255, 0.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 16px 36px -14px rgba(18, 21, 27, 0.4), 0 0 0 1px rgba(18, 21, 27, 0.06); }
  .callbar .btn { height: 46px; padding: 0 10px; font-size: 15px; border-radius: 13px; }
  body { padding-bottom: 84px; }
}
@media (max-width: 640px) {
  .steps--3 { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .timeline li { border-left: 0; }
  .timeline li + li { border-top: 1px solid var(--line-2); }
  .start__need, .start__inc { padding: 24px 20px; }
  .cta-row .btn { flex: 1 1 100%; }
}
@media (max-width: 360px) {
  .callbar { right: 80px; }
  .callbar .btn { font-size: 14px; }
}

/* ---------- Clickable result cards on the hero photo ---------- */
a.hv__card { display: block; pointer-events: auto; text-decoration: none; color: inherit; cursor: pointer; transition: box-shadow 0.3s var(--ease), background-color 0.3s; }
a.hv__card:hover { background: #fff; box-shadow: 0 28px 54px -22px rgba(163, 77, 34, 0.6), 0 0 0 2px rgba(250, 110, 42, 0.55); }
.hv__go { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 13px; font-weight: 650; color: var(--blue); }
.hv__go svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
a.hv__card:hover .hv__go svg { transform: translateY(3px); }
.case:target { animation: caseHit 2.2s var(--ease) 0.5s; }
@keyframes caseHit { 0%, 100% { box-shadow: var(--shadow-card), 0 0 0 1px rgba(18, 21, 27, 0.04); } 25%, 60% { box-shadow: var(--shadow-card), 0 0 0 3px rgba(250, 110, 42, 0.75), 0 0 0 10px rgba(250, 110, 42, 0.16); } }

/* ---------- Count-up numbers ---------- */
.value__math b .cu { font-size: inherit; font-weight: inherit; opacity: 1; }
.cu { display: inline-block; text-align: left; font-variant-numeric: tabular-nums; }

/* ---------- Project cards: inquiry + animated scene ---------- */
.feats--pj { margin-top: 20px; }
.feats--pj .feat { min-height: 0; }
.pj { position: relative; z-index: 1; width: 100%; display: flex; flex-direction: column; align-items: center; transition: opacity 0.45s var(--ease); }
.pj.is-out .scene, .pj.is-out .ba, .pj.is-out .inq { opacity: 0; }
.inq { position: relative; z-index: 3; width: 100%; max-width: 300px; padding: 12px 14px 13px; border-radius: 16px; background: #fff; box-shadow: 0 18px 36px -18px rgba(18, 21, 27, 0.35), 0 0 0 1px rgba(18, 21, 27, 0.06); text-align: left; transition: opacity 0.45s var(--ease), transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }
.inq__top { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.inq__top .dot { color: var(--green); }
.inq__top small { margin-left: auto; font-weight: 400; color: var(--faint); font-size: 11.5px; }
.inq__t { display: block; margin-top: 6px; min-height: 24px; font-size: 18px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.3; color: var(--ink); }
.inq__t.caret::after { content: ""; display: inline-block; width: 2px; height: 0.95em; margin-left: 2px; vertical-align: -0.12em; background: var(--blue-2); animation: caretBlink 0.9s steps(1) infinite; }
@keyframes caretBlink { 50% { opacity: 0; } }
.inq__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; min-height: 25px; }
.inq__tags span { padding: 4px 9px; border-radius: 8px; background: var(--blue-50); color: var(--blue); font-size: 12px; font-weight: 550; transition: opacity 0.35s var(--ease), transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.pj.is-armed .inq:not(.is-in) { opacity: 0; transform: translateX(-30px); }
.pj.is-armed .inq__tags span:not(.is-in) { opacity: 0; transform: translateY(6px) scale(0.9); }
.scene { display: block; width: 100%; max-width: 420px; height: auto; margin-top: -6px; overflow: visible; transition: opacity 0.45s var(--ease); }

/* stage-driven parts (only hidden when JS runs the sequence) */
.pj.is-armed [class*="a1"], .pj.is-armed [class*="a2"], .pj.is-armed [class*="a3"], .pj.is-armed [class*="a4"], .pj.is-armed [class*="a5"] { opacity: 0; transform: translateY(-12px); transition: opacity 0.45s var(--ease), transform 0.6s cubic-bezier(0.34, 1.4, 0.64, 1); transition-delay: calc(var(--i, 0) * 45ms); }
.pj.is-armed.st1 .a1, .pj.is-armed.st2 .a2, .pj.is-armed.st3 .a3, .pj.is-armed.st4 .a4, .pj.is-armed.st5 .a5 { opacity: 1; transform: none; }
.pj.is-armed .soft { transform: none; transition: opacity 1.1s ease; }
.pj.is-armed .pile { transform: translateY(8px); }
.pj.is-armed.st4 .pile { opacity: 0; transition-delay: 0s; }
.pj.is-armed .spa { transform: translateY(14px); }
.pj.is-armed .draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s ease, opacity 0.4s; }
.pj.is-armed.st1 .draw { stroke-dashoffset: 0; }
.pj.is-armed.st3 .draw { opacity: 0; }
.pj.is-armed .drop { opacity: 0; transform: translateY(-70px); transition: opacity 0.35s ease, transform 0.9s cubic-bezier(0.34, 1.25, 0.64, 1); }
.pj.is-armed.st3 .drop { opacity: 1; transform: none; }
.pj.is-armed .rise { transform: translateY(30px); opacity: 0; transition: transform 1.3s ease-in-out, opacity 0.3s; }
.pj.is-armed.st4 .rise { transform: none; opacity: 1; }
.pj.is-armed .rise2 { transform: translateY(30px); opacity: 0; transition: transform 1.3s ease-in-out, opacity 0.3s; }
.pj.is-armed.st2 .rise2 { transform: none; opacity: 1; }
.fall { stroke-dasharray: 5 4; animation: fall 0.7s linear infinite; }
@keyframes fall { to { stroke-dashoffset: -9; } }
.night { opacity: 0; transition: opacity 1.4s ease; pointer-events: none; }
.pj.st3 .night { opacity: 0.6; }
.pj.is-armed .lit { transform: none; transition: opacity 1.2s ease; }
.pj.is-armed.st3 .lit { opacity: 0.85; }
.pj:not(.is-armed) .lit { opacity: 0; }
.pj.is-armed .glow { transform: none; transition: opacity 0.7s ease; }
.pj.st4 .glow { animation: glow 2.6s ease-in-out infinite; }
@keyframes glow { 50% { opacity: 0.7; } }
.pj.st5 .spark-s { animation: twinkle 1.8s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 160ms); transform-box: fill-box; transform-origin: center; }
@keyframes twinkle { 50% { transform: scale(0.6); opacity: 0.5; } }

/* before / after */
.ba { position: relative; width: 100%; max-width: 420px; margin-top: -6px; transition: opacity 0.45s var(--ease); }
.ba .scene { margin-top: 0; max-width: none; }
.ba__new { position: absolute; inset: 0; }
.ba__bar { position: absolute; top: 4%; bottom: 2%; left: 100%; width: 3px; margin-left: -1.5px; border-radius: 3px; background: #fff; box-shadow: 0 0 0 1px rgba(163, 77, 34, 0.35), 0 6px 16px rgba(18, 21, 27, 0.3); opacity: 0; }
.ba__bar::after { content: ""; position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A34D22' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 15px no-repeat; box-shadow: 0 0 0 1px rgba(163, 77, 34, 0.3), 0 6px 14px rgba(18, 21, 27, 0.3); }
.ba__tag { position: absolute; bottom: 0; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 650; background: #fff; color: var(--ink-2); box-shadow: 0 0 0 1px rgba(18, 21, 27, 0.07), 0 8px 18px -10px rgba(18, 21, 27, 0.35); transition: opacity 0.4s var(--ease); }
.ba__tag--b { left: 4px; }
.ba__tag--a { right: 4px; background: var(--blue); color: #fff; }
.pj.is-armed .ba__new { clip-path: inset(-20% 100% -20% 0); transition: clip-path 2s cubic-bezier(0.65, 0, 0.35, 1); }
.pj.is-armed .ba__bar { left: 0; opacity: 0; transition: left 2s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.3s; }
.pj.is-armed.st1 .ba__bar { opacity: 1; }
.pj.is-armed.st2 .ba__new { clip-path: inset(-20% 0 -20% 0); }
.pj.is-armed.st2 .ba__bar { left: 100%; opacity: 0; transition: left 2s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.3s 1.9s; }
.pj.is-armed .ba__tag--a { opacity: 0; }
.pj.is-armed.st2 .ba__tag--a { opacity: 1; transition-delay: 1.6s; }
.pj.is-armed .ba__tag--b { opacity: 0; }
.pj.is-armed.st1 .ba__tag--b { opacity: 1; }
.pj.no-anim, .pj.no-anim * { transition: none !important; }
@media (max-width: 640px) {
  .inq { max-width: 280px; }
  .inq__t { font-size: 17px; }
}

/* ---------- How we help: four steps under a rule ---------- */
.how__head { max-width: 820px; text-align: left; }
.how__head .label { display: inline-flex; align-items: center; gap: 12px; color: var(--blue); }
.how__head .label::before { content: ""; width: 36px; height: 2px; border-radius: 2px; background: var(--grad); }
.how__head .h2 { margin-top: 16px; text-align: left; }
.flow { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.flow__step { position: relative; padding-top: 30px; border-top: 1px solid var(--line); }
.flow__step::before { content: ""; position: absolute; left: 0; top: -1.5px; width: 56px; height: 2px; border-radius: 2px; background: var(--blue-2); transform: scaleX(0); transform-origin: left; transition: transform 0.9s var(--ease) 0.35s; transition-delay: calc(var(--d, 0s) + 0.35s); }
.flow__step.is-visible::before, html:not(.js) .flow__step::before { transform: none; }
.flow__n { font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em; color: var(--blue-2); }
.flow__step h3 { margin-top: 22px; font-size: 21px; font-weight: 680; letter-spacing: -0.025em; line-height: 1.25; }
.flow__step p { margin-top: 10px; color: var(--muted); font-size: 16px; line-height: 1.6; }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr 1fr; gap: 36px 24px; margin-top: 44px; } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; gap: 28px; } .flow__step { padding-top: 22px; } .flow__step h3 { margin-top: 12px; } }

/* ---------- Book a Call popup ---------- */
.bk { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 50px 100px -30px rgba(18, 21, 27, 0.55), 0 0 0 1px rgba(18, 21, 27, 0.06); overflow: auto; overscroll-behavior: contain; }
.bk::backdrop { background: rgba(24, 31, 38, 0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.bk[open] { animation: bkIn 0.4s var(--ease); }
@keyframes bkIn { from { opacity: 0; transform: translateY(18px) scale(0.97); } }
.bk__form, .bk__done { position: relative; padding: 28px; }
.bk h2 { font-size: 26px; font-weight: 750; letter-spacing: -0.035em; line-height: 1.15; padding-right: 40px; }
.bk__sub { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.bk__x { position: absolute; right: 16px; top: 16px; width: 40px; height: 40px; border: 0; border-radius: 12px; background: var(--bg); color: var(--ink-2); cursor: pointer; display: grid; place-items: center; transition: background 0.2s; }
.bk__x:hover { background: var(--blue-50); color: var(--blue); }
.bk__x svg { width: 18px; height: 18px; }
.bk__label { margin-top: 20px; font-size: 13px; font-weight: 650; color: var(--ink-2); }
.bk__days { display: flex; gap: 8px; margin-top: 8px; padding: 2px 2px 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
.bk__day { flex: none; width: 62px; padding: 8px 0 9px; border: 0; border-radius: 14px; background: var(--bg); color: var(--ink); cursor: pointer; text-align: center; font: inherit; scroll-snap-align: start; transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
.bk__day small { display: block; font-size: 11.5px; color: var(--muted); }
.bk__day b { display: block; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.bk__day:hover, .bk__slot:hover { background: var(--blue-50); }
.bk__day[aria-pressed="true"], .bk__slot[aria-pressed="true"] { background: var(--blue); color: #fff; }
.bk__day[aria-pressed="true"] small { color: rgba(255, 255, 255, 0.8); }
.bk__slots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; }
.bk__slot { padding: 10px 0; border: 0; border-radius: 11px; background: var(--bg); color: var(--ink); font: inherit; font-size: 14px; font-weight: 550; cursor: pointer; white-space: nowrap; transition: background 0.2s, color 0.2s; }
.bk__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.bk__fields label { display: block; font-size: 13px; font-weight: 650; color: var(--ink-2); }
.bk__fields small { font-weight: 400; color: var(--faint); }
.bk__fields input { display: block; width: 100%; margin-top: 6px; height: 46px; padding: 0 14px; border: 0; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font: inherit; font-size: 16px; color: var(--ink); transition: box-shadow 0.2s; }
.bk__fields input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--blue-2); }
.bk__fields input.is-bad { box-shadow: inset 0 0 0 2px #D9463B; }
.bk__wide { grid-column: 1 / -1; }
.bk__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bk__err { margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: #FDECEA; color: #A32C22; font-size: 14.5px; }
.bk__go { width: 100%; margin-top: 18px; justify-content: center; }
.bk__go[disabled] { opacity: 0.6; pointer-events: none; }
.bk__note { margin-top: 12px; font-size: 12.5px; line-height: 1.5; color: var(--faint); text-align: center; }
.bk__note a, .bk__done a { color: var(--blue); }
.bk__done { text-align: center; padding: 40px 28px 32px; }
.bk__done h2 { padding: 0; margin-top: 18px; }
.bk__done p { margin-top: 10px; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.bk__done p b { font-size: 19px; color: var(--blue); }
.bk__done .btn { margin-top: 22px; }
.bk__ok { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--green-50); color: var(--green); animation: bkIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }
.bk__ok svg { width: 30px; height: 30px; }
@media (max-width: 520px) {
  .bk__form, .bk__done { padding: 22px 18px; }
  .bk h2 { font-size: 23px; }
  .bk__slots { grid-template-columns: repeat(4, 1fr); }
  .bk__fields { grid-template-columns: 1fr; }
}

/* ---------- Project cards, compact layout: inquiry top-left, scene fills the card ---------- */
@media (min-width: 901px) { .feats--pj .feat:nth-child(n) { grid-column: span 6; } }
.feats--pj .feat__vis { margin-top: 20px; padding-bottom: 16px; align-items: stretch; }
.feats--pj .pj { align-items: stretch; }
.feats--pj .inq { position: absolute; left: 0; top: 0; width: auto; min-width: 232px; max-width: 280px; transition: opacity 0.4s var(--ease), transform 0.7s var(--ease); }
.feats--pj .scene { max-width: none; margin-top: 62px; }
.feats--pj .ba { max-width: none; margin-top: 62px; }
.feats--pj .ba .scene { margin-top: 0; }
@media (max-width: 640px) {
  .feats--pj .scene, .feats--pj .ba { margin-top: 100px; }
  .feats--pj .ba .scene { margin-top: 0; }
}

/* ---------- No rubber-band gap above the page ---------- */
html, body { overscroll-behavior-y: none; }
html { background: #F8E5DC; }

/* ---------- Result cards land on the hero photo like a stamp (each one when it comes into view) ---------- */
.js .hv__card { opacity: 0; }
.js .hv__card.is-on { opacity: 1; animation: stamp 0.55s cubic-bezier(0.5, 0, 0.75, 0.6) var(--sd, 0s) both, float 7s ease-in-out calc(var(--sd, 0s) + 0.7s) infinite; }
@keyframes stamp {
  0% { opacity: 0; transform: translateY(-90px) scale(var(--sc, 1.6)) rotate(var(--rot, -8deg)); }
  35% { opacity: 1; }
  100% { opacity: 1; transform: rotate(var(--rest, 0deg)); }
}
@media (max-width: 900px) {
  .js .hv__card.is-on { animation: stamp 0.55s cubic-bezier(0.5, 0, 0.75, 0.6) var(--sd, 0s) both; }
}

/* ---------- Cases as a swipeable row ---------- */
.cslider { position: relative; margin-top: 8px; }
.cslider__nav { display: flex; justify-content: flex-end; gap: 10px; margin-bottom: 14px; }
.ctrack { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 4px; padding: 6px 4px 34px; margin: 0 -4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.ctrack::-webkit-scrollbar { display: none; }
.ctrack:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 4px; border-radius: 28px; }
.ctrack .case { flex: 0 0 calc((100% - 20px) / 2 - 34px); scroll-snap-align: start; }
.ctrack .case__ph { height: 190px; }
.ctrack .case h3 { font-size: 22px; min-height: 2.44em; }
.case__more { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border: 0; border-radius: 12px; background: var(--blue-50); color: var(--blue); font: inherit; font-size: 15px; font-weight: 650; cursor: pointer; transition: background 0.2s, color 0.2s; }
.case__foot + .case__more { margin-top: 20px; }
.case__body .case__more { margin-top: auto; }
.case__foot { margin-bottom: 20px; }
.cases .case__foot { margin-bottom: 0; }
.case__more:hover { background: var(--blue); color: #fff; }
@media (max-width: 900px) { .ctrack .case { flex-basis: min(440px, 84%); } }
@media (max-width: 640px) { .ctrack { gap: 14px; } .ctrack .case { flex-basis: 88%; } .ctrack .case h3 { font-size: 20px; min-height: 0; } .cslider__nav { display: none; } }

/* Case popup */
.cs { width: min(760px, calc(100vw - 24px)); }
.cs .bk__x { position: sticky; float: right; top: 14px; margin: 14px 14px -54px 0; z-index: 3; background: rgba(255, 255, 255, 0.92); box-shadow: 0 0 0 1px rgba(18, 21, 27, 0.08); }
.cs__body .case__ph { height: 170px; }
.cs__body .case__body { padding: 26px 28px 8px; }
.cs__body h3 { margin-top: 12px; font-size: 26px; line-height: 1.2; letter-spacing: -0.03em; font-weight: 720; }
.cs__body .case__kpis { grid-template-columns: repeat(4, 1fr); }
.cs__body .case__story { padding-top: 8px; gap: 18px; }
.cs__body .case__story h4 { font-size: 16px; }
.cs__body .case__story p { font-size: 16px; }
.cs__cta { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 28px 28px; }
@media (max-width: 640px) {
  .cs__body .case__body { padding: 20px 18px 6px; }
  .cs__body .case__kpis { grid-template-columns: 1fr 1fr; }
  .cs__body h3 { font-size: 22px; }
  .cs__cta { padding: 12px 18px 22px; }
  .cs__cta .btn { flex: 1; justify-content: center; }
}
.ctrack .case__meta span:nth-child(n+3) { display: none; }

/* ---------- Why start now: sticky copy + season cards ---------- */
.now2__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.q { position: relative; }
.q .stat__n { margin-top: 18px; }
.q__here { position: absolute; right: 18px; top: 22px; padding: 5px 11px; border-radius: 999px; background: #fff; color: var(--blue); font-size: 12px; font-weight: 700; }
.q.is-now { color: #fff; background: radial-gradient(260px 180px at 90% 0%, rgba(255, 255, 255, 0.2), transparent 70%), linear-gradient(135deg, #A34D22, #E1682C); box-shadow: var(--shadow-pop); }
.q.is-now .label { color: rgba(255, 255, 255, 0.78); }
.q.is-now p { color: rgba(255, 255, 255, 0.88); }
.why { grid-column: 1 / -1; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 8px 28px; align-items: start; padding: 26px 28px; }
.why.stat--svc h3 { margin-top: 0; font-size: 21px; }
.why p { margin-top: 0; font-size: 15.5px; line-height: 1.55; }
@media (max-width: 640px) {
  .why { grid-template-columns: 1fr; padding: 20px 18px; }
  .q__here { right: 12px; top: 16px; font-size: 11px; padding: 4px 9px; }
  .now2 .stats__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) { .now2 .stats__grid { grid-template-columns: 1fr; } }

/* Why start now: the three reasons as a pipeline under the subheading */
.pipe { list-style: none; margin: 30px 0 0; padding: 0; position: relative; max-width: 480px; }
.pipe li:not(:last-child)::after { content: ""; position: absolute; left: 8px; top: 12px; bottom: -8px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, #A34D22, #FB8D57); transform: scaleY(0); transform-origin: top; transition: transform 0.8s var(--ease) 0.4s; }
.pipe li:nth-child(2)::after { transition-delay: 1s; }
.pipe.is-visible li::after, html:not(.js) .pipe li::after { transform: none; }
.pipe li { position: relative; padding: 0 0 24px 38px; }
.pipe li:last-child { padding-bottom: 0; }
.pipe li::before { content: ""; position: absolute; z-index: 1; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 5px var(--blue), 0 0 0 5px var(--bg); }
.pipe h3 { font-size: 19px; font-weight: 680; letter-spacing: -0.02em; line-height: 1.3; }
.pipe p { margin-top: 5px; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.now2 .stats__copy .sub { margin-top: 16px; }
@media (max-width: 900px) { .pipe { max-width: none; } }

/* Sticky bottom Call/Book bar on phones: switched off at the user's request (markup stays in the footer) */
.callbar { display: none !important; }
body { padding-bottom: 0 !important; }
/* Slider cards are always visible, so the next card peeks in from the right */
@media (max-width: 640px) { .ctrack .case { flex-basis: 86%; } }

/* ---------- Phone and tablet: first result on the photo, the other two under it ---------- */
@media (max-width: 900px) {
  .hv { padding-bottom: 56px; }                 /* room for the last card's shadow inside the hero */
  .hv__img { height: 340px; }
  .hv__cards { position: static; margin-top: -44px; }
  .hv__card { box-shadow: 0 16px 30px -18px rgba(18, 21, 27, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.6); }
  a.hv__card--1 { position: absolute; z-index: 2; left: 28px; top: 14px; max-width: calc(100% - 96px); --rot: 8deg; }
  #value.sec { padding-top: 56px; }
}
@media (min-width: 560px) and (max-width: 900px) { .hv__cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 380px) { .hv__n { font-size: 28px; } a.hv__card--1 { max-width: calc(100% - 72px); } }

/* ---------- Calculator: no min/max captions under the sliders ---------- */
.fld__minmax { display: none; }

/* ---------- FAQ: plain list on desktop, tap-to-open questions on phones and tablets ---------- */
.qa__q { display: block; width: 100%; margin: 0; padding: 0; border: 0; background: none; font: inherit; letter-spacing: inherit; line-height: inherit; color: inherit; text-align: left; cursor: default; }
.qa__q svg { display: none; }
@media (max-width: 900px) {
  .js .faq .qa { padding: 0; border-bottom: 1px solid var(--line); }
  .js .faq .qa:first-child { border-top: 1px solid var(--line); }
  .js .qa__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .js .qa__q svg { display: block; flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--blue-50); color: var(--blue); transition: transform 0.35s var(--ease), background-color 0.25s, color 0.25s; }
  .js .qa.is-open .qa__q svg { transform: rotate(180deg); background: var(--blue); color: #fff; }
  .js .qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
  .js .qa.is-open .qa__a { grid-template-rows: 1fr; }
  .js .qa__a > div { min-height: 0; overflow: hidden; visibility: hidden; transition: visibility 0s 0.4s; }
  .js .qa.is-open .qa__a > div { visibility: visible; transition-delay: 0s; }
  .js .qa__a p { margin-top: 0; padding-bottom: 18px; }
}

/* Phones: the cards are wide, so they fly in less enlarged; calculator fields sit closer together */
@media (max-width: 900px) { .hv__card { --sc: 1.25; } }
@media (max-width: 640px) { .calc__in { gap: 22px; } }

/* ---------- Phone and tablet: top card sits on the RIGHT, pokes out above the photo and leans right;
   the two lower cards lean left. All three keep swaying gently. ---------- */
@keyframes floatL { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-5px) rotate(-1.5deg); } }
@keyframes floatR { 0%, 100% { transform: translateY(0) rotate(2deg); } 50% { transform: translateY(-5px) rotate(3.5deg); } }
@media (max-width: 900px) {
  .hv { margin-top: 56px; }
  .hv__cards { gap: 14px; }
  a.hv__card--1 { left: auto; right: 26px; top: -22px; --rot: 9deg; --rest: 2deg; transform: rotate(2deg); }
  .js .hv__card.is-on { animation: stamp 0.55s cubic-bezier(0.5, 0, 0.75, 0.6) var(--sd, 0s) both, floatL 7s ease-in-out calc(var(--sd, 0s) + 0.6s) infinite; }
  .js a.hv__card--1.is-on { animation-name: stamp, floatR; }
}

/* ---------- Case photos (a real picture instead of the colored placeholder) ---------- */
.case__ph picture { display: contents; }
.case__ph img { object-position: var(--pos, center); }
.case__ph--photo { background: #1E2630; }
.case__ph--photo::before { display: none; }
.case__ph--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(17, 22, 27, 0.62) 0%, rgba(17, 22, 27, 0.16) 44%, transparent 70%); }
.case__ph--photo .case__svc { background: rgba(18, 24, 30, 0.5); }
.cs__body .case__ph--photo { height: 240px; }
@media (max-width: 640px) { .cs__body .case__ph--photo { height: 190px; } }

/* ---------- Totals row: card widths must not change while the numbers count up ----------
   An invisible copy of the final number sits under the live one and holds the width from the first paint. */
.proof__n[data-final] { display: grid; justify-items: start; }
.proof__n[data-final]::after { content: attr(data-final); height: 0; visibility: hidden; pointer-events: none; }
