/* =========================================================================
   Landing page — implemented from Claude Design "Website Landing Page.dc.html"
   (project 0c14a601). Tokens live in tokens.css. No inline styles anywhere:
   the site CSP (Site/_headers) has no 'unsafe-inline'.
   ========================================================================= */

body { background: #fff; color: var(--text-primary); }
a { color: var(--bank-green); }
a:hover { color: var(--cash-grey); }
img { max-width: 100%; }

.lp { width: 100%; max-width: 100%; overflow-x: hidden; }

@keyframes riseIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Shared type ---------- */
.lp-eyebrow { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--bank-green); }
.lp-h2 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 1.6rem + 1.4vw, 2.9rem); line-height: 1.1; color: var(--cash-grey); text-wrap: pretty; }
.lp-h2--cta { max-width: 760px; font-size: clamp(2rem, 1.7rem + 1.6vw, 3.2rem); line-height: 1.06; }
.lp-h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.25; color: var(--cash-grey); }

/* ---------- Layout ---------- */
.lp-section { background: #fff; padding: 80px 24px; }
.lp-section--sunken { background: var(--surface-sunken); }
.lp-section--cta { padding: 88px 24px; }
.lp-wrap { margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.lp-wrap--1200 { max-width: 1200px; }
.lp-wrap--880 { max-width: 880px; }
.lp-wrap--820 { max-width: 820px; }

.lp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.lp-head__text { display: flex; flex-direction: column; gap: 12px; max-width: 620px; }
.lp-head--center { flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.lp-aside { margin: 0; max-width: 300px; padding-left: 16px; border-left: 3px solid var(--money-green); font-size: 14px; line-height: 1.6; color: var(--text-secondary); text-wrap: pretty; }

/* ---------- Top bar ---------- */
.lp-topbar { position: relative; z-index: 3; border-bottom: 1px solid var(--border-subtle); }
.lp-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; width: 100%; max-width: 1200px; margin: 0 auto; padding: 16px 24px; }
.lp-topbar__logo { display: inline-flex; }
.lp-topbar__logo img { height: 42px; width: auto; object-fit: contain; display: block; }
.lp-topbar__nav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.lp-navlink { font-size: 14px; font-weight: 600; color: var(--cash-grey); }
.lp-navlink:hover { color: var(--bank-green); }
.lp-topbar__cta .lp-label--mid, .lp-topbar__cta .lp-label--short { display: none; }
/* Narrow phones: shorten the top-bar button so logo + Service areas + button fit one row */
@media (max-width: 420px) {
  .lp-topbar__cta .lp-label--full { display: none; }
  .lp-topbar__cta .lp-label--mid { display: inline; }
}
@media (max-width: 350px) {
  .lp-topbar__cta .lp-label--mid { display: none; }
  .lp-topbar__cta .lp-label--short { display: inline; }
}

/* ---------- Hero ---------- */
.lp-hero { position: relative; width: 100%; aspect-ratio: 2500 / 1020; overflow: hidden; }
.lp-hero__img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.15); transform-origin: 60% 55%; }
.lp-hero__copy { position: absolute; left: 0; top: 0; bottom: 0; padding: 0 4vw; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: clamp(14px, 2.2vw, 32px); text-align: left; }
.lp-hero__title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 3.8vw, 4.4rem); line-height: 1.05; color: #fff; }
.lp-hero__cta { display: inline-flex; align-items: center; justify-content: center; min-height: clamp(40px, 3.6vw, 52px); padding: 0 clamp(16px, 1.8vw, 26px); border: 1.5px solid #fff; border-radius: var(--radius-pill); background: transparent; color: #fff; font-family: var(--font-body); font-weight: 700; font-size: clamp(13px, 1.1vw, 16px); text-decoration: none; transition: background 200ms ease-out; }
.lp-hero__cta:hover { background: rgba(255, 255, 255, 0.14); color: #fff; text-decoration: none; }

/* Phones: the wide team photo leaves no clear space for the headline, so it sat
   over the team's faces. Stack instead — a square crop centred on the team, then
   the headline + CTA on a cash-grey band underneath. The top bar also collapses to
   one row (logo, Service areas, estimate button); Our work stays in the footer. */
@media (max-width: 640px) {
  .lp-topbar__inner { flex-wrap: nowrap; gap: 10px; padding: 12px 16px; }
  .lp-topbar__logo { flex: none; }
  .lp-topbar__logo img { height: 30px; }
  .lp-topbar__nav { flex-wrap: nowrap; gap: 14px; }
  .lp-topbar__nav .lp-navlink { font-size: 13px; white-space: nowrap; }
  .lp-topbar__nav .lp-navlink--work { display: none; }
  .lp-topbar__nav .ds-btn { padding: 9px 14px; font-size: 13px; white-space: nowrap; }

  .lp-hero { aspect-ratio: auto; display: flex; flex-direction: column; }
  .lp-hero__img { position: relative; inset: auto; aspect-ratio: 1 / 1; height: auto; transform: none; object-position: 46% 50%; }
  .lp-hero__copy { position: static; padding: 28px 20px 32px; gap: 18px; background: var(--cash-grey); }
  .lp-hero__title { font-size: clamp(2rem, 9vw, 2.6rem); }
  .lp-hero__cta { min-height: 48px; padding: 0 24px; font-size: 15px; }
}

/* ---------- Service inclusions (zones) ---------- */
.lp-zones { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
@media (max-width: 360px) { .lp-zones { grid-template-columns: 1fr; } }
.lp-zone { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; border: 1px solid var(--border-subtle); box-shadow: var(--shadow-s); cursor: pointer; background: var(--surface-sunken); }
.lp-zone:focus-visible { outline: 2px solid var(--bank-green); outline-offset: 2px; }
.lp-zone > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-zone > img.lp-zone__img--restock { object-position: 50% 63%; }
.lp-zone__label { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 18px; background: linear-gradient(to top, rgba(70, 93, 79, 0.85), rgba(70, 93, 79, 0)); pointer-events: none; font-family: var(--font-display); font-weight: 700; font-size: 22px; color: #fff; }
.lp-zone__panel { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: safe center; gap: 12px; padding: 24px 26px; background: var(--cash-grey); transition: opacity 240ms ease-out, transform 240ms ease-out; pointer-events: none; opacity: 0; transform: translateY(8px); overflow-y: auto; }
.lp-zone__name { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: #fff; }
.lp-zone__panel ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; }
.lp-zone__panel li { display: grid; grid-template-columns: 14px 1fr; gap: 8px; font-size: 13.5px; line-height: 1.45; color: #fff; }
.lp-zone__panel li::before { content: "•"; color: var(--money-green); font-weight: 700; }
.lp-zone.is-open .lp-zone__panel,
.lp-zone:focus-visible .lp-zone__panel { opacity: 1; transform: none; }
@media (hover: hover) { .lp-zone:hover .lp-zone__panel { opacity: 1; transform: none; } }

/* ---------- Before / after carousel ---------- */
.lp-arrows { display: flex; align-items: center; gap: 10px; }
.lp-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-subtle); background: #fff; font-size: 18px; color: var(--cash-grey); cursor: pointer; font-family: var(--font-body); }
.lp-arrow:hover { background: var(--green-100); border-color: var(--bank-green); }

.lp-track { position: relative; width: 100%; overflow: hidden; }
/* --i (index) and --per (slides per view) are set by landing.js */
.lp-track__rail { --i: 0; --per: 2; display: flex; gap: 20px; width: 100%; transform: translateX(calc(var(--i) * -1 * (100% + 20px) / var(--per))); transition: transform 320ms ease-out; }
.lp-track__rail.no-anim { transition: none; }
.lp-slide { flex: 0 0 calc(50% - 10px); min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.lp-track.is-single .lp-slide { flex-basis: 100%; }
.lp-slide__text { display: flex; flex-direction: column; gap: 4px; padding: 0 4px; }
.lp-slide__text p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--text-secondary); text-wrap: pretty; }

/* --r is the reveal fraction (0–1), set by landing.js while dragging */
.lp-compare { --r: 0.5; position: relative; width: 100%; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; touch-action: pan-y; cursor: ew-resize; background: var(--surface-sunken); user-select: none; -webkit-user-select: none; }
.lp-compare__layer { position: absolute; inset: 0; overflow: hidden; }
.lp-compare__after { opacity: min(1, calc(0.3 + 1.4 * (1 - var(--r)))); }
.lp-compare__before { opacity: min(1, calc(0.3 + 1.4 * var(--r))); clip-path: inset(0 calc((1 - var(--r)) * 100%) 0 0); }
.lp-compare__rot { position: absolute; inset: 0; }
.lp-compare__rot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; -webkit-user-drag: none; }

/* Per-photo straighten / zoom / nudge, baked from the design's locked photo-adjust values */
.lp-compare--t1 .lp-compare__before .lp-compare__rot { transform: translate(0%, 1%) rotate(-6deg) scale(1.1792); }
.lp-compare--t1 .lp-compare__after .lp-compare__rot { transform: translate(0%, -5.5%) scale(1.24); }
.lp-compare--t2 .lp-compare__before .lp-compare__rot { transform: translate(1%, -4.5%) scale(1.23); }
.lp-compare--t2 .lp-compare__after .lp-compare__rot { transform: translate(-2.5%, 0%) rotate(3.5deg) scale(1.3278); }
.lp-compare--t3 .lp-compare__rot img { object-fit: contain; }
.lp-compare--t3 .lp-compare__before .lp-compare__rot { transform: scale(1.48); }
.lp-compare--t3 .lp-compare__after .lp-compare__rot { transform: scale(1.78); }

.lp-compare__handle { position: absolute; top: 0; bottom: 0; left: calc(var(--r) * 100%); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: var(--shadow-m); pointer-events: none; }
.lp-compare__knob { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-m); font-size: 15px; font-weight: 700; color: var(--cash-grey); }

.lp-pill { position: absolute; top: 14px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--text-secondary); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; pointer-events: none; transition: background 200ms ease-out, color 200ms ease-out; }
.lp-pill--before { left: 14px; }
.lp-pill--after { right: 14px; }
.lp-compare.is-before .lp-pill--before,
.lp-compare:not(.is-before) .lp-pill--after { background: var(--money-green); color: var(--cash-grey); }

.lp-dots { display: flex; align-items: center; justify-content: center; gap: 10px; }
.lp-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: var(--border-subtle); }
.lp-dot.is-active { background: var(--cash-grey); }

/* ---------- Estimate CTA ---------- */
.lp-cta { align-items: center; gap: 22px; text-align: center; }
.lp-cta__lede { margin: 0; max-width: 540px; font-size: 16px; line-height: 1.6; color: var(--text-secondary); text-wrap: pretty; }

/* ---------- FAQ ---------- */
.lp-faq { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border-subtle); border-radius: 12px; overflow: hidden; }
.lp-faq__item + .lp-faq__item { border-top: 1px solid var(--border-subtle); }
.lp-faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; border: 0; background: none; cursor: pointer; text-align: left; font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.3; color: var(--cash-grey); }
.lp-faq__q:hover { color: var(--bank-green); }
.lp-faq__icon { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border-subtle); font-family: var(--font-body); font-size: 18px; line-height: 1; color: var(--bank-green); transition: transform 240ms ease-out; }
.lp-faq__item.is-open .lp-faq__icon { transform: rotate(45deg); }
.lp-faq__a { margin: 0; padding: 0 24px 22px; max-width: 660px; font-size: 15px; line-height: 1.65; color: var(--text-secondary); text-wrap: pretty; animation: riseIn 240ms ease-out both; }

/* ---------- Footer ---------- */
.lp-footer { background: var(--cash-grey); padding: 20px 24px; }
.lp-footer__inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; }
/* The source logo PNG is mostly transparent padding — zoom/offset match the design's crop (s≈1.985, y≈+2.07%) */
.lp-footer__logo { position: relative; width: 288px; max-width: 100%; height: 86px; flex: none; overflow: hidden; }
.lp-footer__logo img { position: absolute; left: 50%; top: 52.07%; height: 198.5%; width: auto; max-width: none; transform: translate(-50%, -50%); }
.lp-footer__nav { display: flex; align-items: center; gap: 14px 28px; flex-wrap: wrap; }
.lp-footer__nav a { font-size: 14px; font-weight: 600; color: #fff; }
.lp-footer__nav a:hover { color: var(--money-green); text-decoration: none; }
.lp-ghost-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border: 1.5px solid #fff; border-radius: var(--radius-pill); background: transparent; color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 14px; cursor: pointer; transition: background 200ms ease-out; }
.lp-ghost-btn:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------- Sticky estimate bar ---------- */
.lp-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; transform: translateY(110%); transition: transform 280ms ease-out; background: #fff; border-top: 1px solid var(--border-subtle); box-shadow: 0 -8px 28px rgba(70, 93, 79, 0.12); }
.lp-sticky.is-on { transform: translateY(0); }
.lp-sticky__mobile { display: none; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
.lp-sticky__desktop { max-width: 1200px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.lp-sticky__msg { font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.15; color: var(--cash-grey); min-width: 0; }
.lp-sticky__btn { flex: none; align-self: flex-start; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: var(--radius-pill); background: var(--money-green); color: var(--cash-grey); font-family: var(--font-body); font-weight: 700; font-size: 15px; text-decoration: none; }
.lp-sticky__desktop .lp-sticky__btn { align-self: center; }
.lp-sticky__btn:hover { background: var(--accent-primary-hover); color: var(--cash-grey); text-decoration: none; }
.lp-sticky__btn--full { display: flex; width: 100%; min-height: 52px; font-size: 16px; }
@media (max-width: 640px) {
  .lp-sticky__mobile { display: block; }
  .lp-sticky__desktop { display: none; }
}

/* ---------- Enquiry modal ---------- */
.lp-modal { position: fixed; inset: 0; z-index: 60; background: oklch(18% 0.02 150 / 0.45); display: flex; align-items: center; justify-content: center; padding: 24px; }
.lp-modal[hidden] { display: none; }
.lp-modal__dialog { position: relative; width: 100%; max-width: 560px; max-height: 100%; overflow-y: auto; background: #fff; border-radius: 16px; box-shadow: var(--shadow-l); padding: 32px 28px; display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 640px) {
  .lp-modal { padding: 0; }
  .lp-modal__dialog { max-width: 100%; height: 100%; border-radius: 0; }
}
.lp-modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.lp-modal__titles { display: flex; flex-direction: column; gap: 6px; }
.lp-modal__title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1.1; color: var(--cash-grey); }
.lp-modal__sub { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-secondary); text-wrap: pretty; }
.lp-modal__close { flex: none; width: 44px; height: 44px; border: 0; border-radius: 6px; background: transparent; color: var(--cash-grey); font-size: 24px; line-height: 1; cursor: pointer; }
.lp-modal__close:hover { background: var(--surface-sunken); }
.lp-modal__done { display: flex; flex-direction: column; gap: 14px; padding: 12px 0; }
.lp-modal__done[hidden] { display: none; }
.lp-modal__done p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-secondary); }
.lp-modal__done-title { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--cash-grey); }

.lp-form { display: flex; flex-direction: column; gap: 14px; }
.lp-form[hidden] { display: none; }
.lp-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.lp-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--cash-grey); }
.lp-field input, .lp-field select, .lp-field textarea { min-height: 46px; padding: 0 14px; border: 1px solid var(--border-subtle); border-radius: 10px; font: inherit; font-weight: 500; font-size: 15px; color: var(--cash-grey); background: #fff; }
.lp-field textarea { padding: 12px 14px; line-height: 1.5; resize: vertical; }
.lp-field input:focus, .lp-field select:focus, .lp-field textarea:focus { outline: 2px solid var(--bank-green); outline-offset: 1px; }
.lp-form__error { margin: 0; font-size: 13.5px; color: var(--danger); }
.lp-submit { min-height: 52px; border: 0; border-radius: var(--radius-pill); background: var(--money-green); color: var(--cash-grey); font-family: var(--font-body); font-weight: 700; font-size: 16px; cursor: pointer; transition: background 200ms ease-out; }
.lp-submit:hover { background: var(--accent-primary-hover); }
.lp-submit:disabled { opacity: 0.6; cursor: progress; }

body.lp-noscroll { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .lp-track__rail, .lp-zone__panel, .lp-sticky, .lp-faq__icon { transition: none; }
  .lp-faq__a { animation: none; }
}
