/* /painting/book — the DESKTOP version (2026-11-02).
   Loaded only at 1024px and wider (media attribute on the <link>), so the phone version in book.css
   is untouched. Same words, same blue, same Poppins/Inter; the layout opens up for a laptop:
   a centred hero with a bigger film and a big button under it, the phone beside its heading, the pay
   section as his reference (lock-screen phone left, cards right), the FAQ beside its heading, and the
   floating button as a centred pill instead of a full-width bar. */

:root { --wide: 1160px; --gut: max(40px, calc((100% - var(--wide)) / 2)); }

/* ---- logo bar: stays put while you scroll, frosted ---- */
.bar {
  position: sticky; top: 0; z-index: 60;
  max-width: none; height: 76px; padding-left: var(--gut); padding-right: var(--gut);
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(228, 232, 242, 0.7);
}

/* ---- the one button, desktop hover ---- */
.btn { font-size: 18px; min-height: 60px; }
.btn:hover { filter: brightness(1.07); transform: translateY(-1px); box-shadow: 0 20px 36px -16px rgba(20, 64, 239, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.btn:active { transform: translateY(0) scale(0.99); }

/* ---- hero: centred like his reference, the film as big as one screen allows ---- */
.hero {
  max-width: none; padding: 30px var(--gut) 104px;
  /* the film and the button under it share one width: as wide as the screen's height allows while
     headline + film + button all fit on the first screen, 520–860px */
  --film: clamp(520px, calc((100vh - 540px) * 1.9), 860px);
}
.hero::before {
  inset: -76px 0 auto 0; height: 820px;
  background:
    radial-gradient(46% 52% at 50% 0%, rgba(26, 71, 239, 0.13) 0%, rgba(26, 71, 239, 0) 72%),
    radial-gradient(28% 34% at 12% 30%, rgba(24, 99, 240, 0.07) 0%, rgba(24, 99, 240, 0) 70%),
    radial-gradient(28% 34% at 88% 30%, rgba(24, 99, 240, 0.07) 0%, rgba(24, 99, 240, 0) 70%);
}
/* a faint dot grid behind the headline, fading out at the edges */
.hero::after {
  content: ""; position: absolute; inset: -76px 0 auto 0; height: 640px; z-index: -1; pointer-events: none;
  background: radial-gradient(rgba(26, 71, 239, 0.16) 1px, transparent 1.4px) 0 0 / 24px 24px;
  -webkit-mask: radial-gradient(60% 70% at 50% 18%, #000 0%, transparent 75%);
          mask: radial-gradient(60% 70% at 50% 18%, #000 0%, transparent 75%);
}
.hero__eye { padding: 10px 20px; font-size: 16px; box-shadow: inset 0 0 0 1px rgba(26, 71, 239, 0.12); }
.hero__h { max-width: 1020px; margin: 20px auto 0; font-size: 56px; line-height: 1.08; letter-spacing: -0.03em; }
/* two phrases per line ("Your Winter Calendar Has a Leak—and" is ~1062px at 56px, so 1080 wide), and
   greedy, not balance: with the H1's unbreakable phrases, balance spreads it over three lines and the
   button drops below the first screen */
.hero__h { max-width: 1080px; text-wrap: wrap; }
.hero__sub { max-width: 640px; margin-top: 18px; font-size: 21px; line-height: 1.5; color: var(--mid); }
.vsl {
  width: var(--film); margin: 32px auto 0;
  border-radius: 20px;
  box-shadow: 0 0 0 1px rgba(26, 71, 239, 0.14), 0 0 0 12px rgba(26, 71, 239, 0.05), 0 48px 90px -36px rgba(11, 18, 64, 0.55), 0 24px 60px -30px rgba(20, 64, 239, 0.45);
}
.vsl__play { width: 88px; height: 88px; transition: transform 200ms var(--ease), background-color 200ms; }
.vsl__play svg { width: 38px; height: 38px; margin-left: 5px; }
.vsl.has-film .vsl__play:hover { transform: scale(1.06); background: rgba(20, 64, 239, 0.75); }
.vsl__sound { right: 14px; bottom: 16px; min-height: 36px; padding: 0 14px; font-size: 13.5px; }
.vsl__badge { top: 16px; left: 16px; }
/* the big button under the film, like his reference: as wide as the film */
.hero .btn { width: var(--film); min-height: 72px; margin: 28px auto 0; border-radius: 14px; font-size: 22px; gap: 12px; }
.hero .btn[data-book]::after { width: 22px; height: 22px; }

/* ---- shared section rhythm ---- */
.sec { padding-top: 112px; padding-bottom: 112px; }
.sec__h { font-size: 44px; line-height: 1.12; letter-spacing: -0.025em; }

/* ---- the phone section: heading on the left, the phone on the right ---- */
.ring {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 72px;
  grid-template-areas: ". phone" "h phone" "sub phone" "btn phone" ". phone";
  grid-template-rows: 1fr auto auto auto 1fr;
  padding: 104px var(--gut) 132px; text-align: left;
  overflow-x: clip; /* the phone's halo must never widen the page */
  background: linear-gradient(180deg, #FFFFFF 0%, var(--accent-tint) 18%, #EAF0FF 100%);
}
.ring > *:not(.ring__wave) { max-width: none; margin-left: 0; margin-right: 0; }
.ring .sec__h { grid-area: h; max-width: 13em; font-size: 46px; line-height: 1.12; font-weight: 800; letter-spacing: -0.025em; }
.ring__sub { grid-area: sub; margin-top: 18px; font-size: 26px; }
.ring__next svg { bottom: -11px; height: 12px; }
.ring > .btn { grid-area: btn; justify-self: start; width: auto; margin-top: 40px; padding: 0 32px; }
.iph-wrap { grid-area: phone; position: relative; isolation: isolate; margin-top: 0; justify-self: center; }
/* a soft blue halo behind the phone */
.iph-wrap::before {
  content: ""; position: absolute; left: 50%; top: 40%; width: 560px; height: 560px; margin: -280px 0 0 -280px; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(26, 71, 239, 0.2) 0%, rgba(26, 71, 239, 0.06) 55%, rgba(26, 71, 239, 0) 100%);
}
.iph { zoom: 0.95; width: 300px; }
.iph__cap { margin-top: 16px; font-size: 14px; }
.ring__wave { height: 64px; }

/* ---- how you pay: his reference — heading on top, a lock screen of booked estimates left, the three
   cards right, soft hills in the bottom corners. His green is our one blue. ---- */
.pay {
  position: relative; isolation: isolate; overflow: clip; max-width: none;
  display: grid; grid-template-columns: 380px minmax(0, 1fr); grid-template-areas: "h h" "phone list";
  column-gap: 72px; row-gap: 64px; align-items: center;
  padding-left: var(--gut); padding-right: var(--gut); padding-bottom: 136px;
}
.pay::before, .pay::after {
  content: ""; position: absolute; z-index: -1; bottom: -190px; width: 760px; height: 320px; border-radius: 50%;
  background: rgba(26, 71, 239, 0.07); pointer-events: none;
}
.pay::before { left: -300px; transform: rotate(7deg); }
.pay::after { right: -300px; transform: rotate(-7deg); }
.pay__h { grid-area: h; max-width: 1000px; margin: 0 auto; text-align: center; font-size: 56px; line-height: 1.1; letter-spacing: -0.03em; }
.pay__h .hl { white-space: nowrap; } /* "booked estimates" stays on one line */

/* the phone: the ringing phone's frame, bigger, on a lock screen over the site's own house photo */
.pay__phone.d-only { display: block; grid-area: phone; justify-self: center; }
.pay .iph { width: 320px; zoom: 1.16; } /* a little wider than the ringing phone so each booking fits on two lines */
.pay__wall { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 55%; }
.pay__phone .iph__bat { background: rgba(255, 255, 255, 0.4); }
.pay__phone .iph__batfill { width: 100%; border-radius: 4px; }
.pay__wifi { width: 15px; height: 11px; color: #fff; }
.pay__lock {
  position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column;
  padding: 62px 11px 30px; text-align: center;
  /* darker at the top so the white clock reads on a bright sky */
  background: linear-gradient(180deg, rgba(10, 18, 48, 0.62) 0%, rgba(10, 18, 48, 0.28) 36%, rgba(10, 18, 48, 0.06) 62%, rgba(10, 18, 48, 0.3) 100%);
}
.pay__clock { font-size: 66px; font-weight: 400; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.25); }
.pay__date { margin-top: 6px; font-size: 16px; font-weight: 500; }
.pay__notes { margin-top: 28px; display: flex; flex-direction: column; gap: 7px; }
.pay__note {
  display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: center;
  padding: 11px 12px; border-radius: 18px; text-align: left; color: #111;
  background: rgba(246, 246, 248, 0.9); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.pay__cal { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: #fff; color: #E5483A; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.14); }
.pay__cal svg { width: 22px; height: 22px; }
.pay__nt { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.pay__nt b { display: inline; margin: 0; font-size: 13.5px; font-weight: 700; color: #111; }
.pay__nt span { flex: none; font-size: 11px; color: rgba(0, 0, 0, 0.45); }
.pay__note p:not(.pay__nt) { margin-top: 1px; white-space: nowrap; font-size: 12.5px; line-height: 1.25; color: #333; }
/* when the section rises in, the three bookings land one after another */
.pay.rv .pay__note { opacity: 0; }
.pay.rv.is-in .pay__note { animation: note-in 600ms var(--ease) both; animation-delay: calc(500ms + var(--i) * 280ms); }

/* the cards: icon box │ divider │ big title + text, stacked */
.pay__list { grid-area: list; margin-top: 0; gap: 22px; }
.pay__list li {
  grid-template-columns: 64px 1px minmax(0, 1fr); column-gap: 30px; align-items: center;
  padding: 30px 36px 30px 30px; border-radius: 22px;
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}
.pay__list li:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(14, 16, 21, 0.04), 0 22px 40px -20px rgba(26, 53, 140, 0.35); }
.pay__ico { width: 64px; height: 64px; border-radius: 14px; font-size: 28px; }
.pay__rule { margin: 4px 0; }
.pay__list b { font-size: 26px; line-height: 1.15; letter-spacing: 0.01em; }
.pay__list p { margin-top: 8px; font-size: 19px; line-height: 1.45; }
.pay__list .pay__yes { border: 2px solid var(--accent); background: var(--accent-tint); box-shadow: 0 26px 52px -26px rgba(26, 71, 239, 0.5); }
.pay__list .pay__yes:hover { box-shadow: 0 30px 58px -26px rgba(26, 71, 239, 0.58); }
.pay__yes .pay__ico { background: #E3EAFE; color: var(--accent); font-size: 30px; }
/* the bold line ends the sentence, as in his reference, instead of sitting in its own pill */
.pay__yes b { margin-bottom: 8px; }
.pay__yes p { display: inline; }
.pay__pill { display: inline; margin: 0 0 0 0.25em; padding: 0; border-radius: 0; background: none; font: 700 19px/1.45 var(--font); color: var(--ink); }

/* ---- FAQ: heading on the left, the questions on the right ---- */
.faq {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 80px; align-items: start;
  padding-left: var(--gut); padding-right: var(--gut);
}
.faq > * { max-width: none; margin-left: 0; margin-right: 0; }
.faq .sec__h--c { position: sticky; top: 124px; text-align: left; font-size: 48px; }
.faq__list { margin-top: 0; gap: 14px; }
.faq__item { border-radius: 16px; transition: border-color 200ms, box-shadow 200ms; }
.faq__item:hover { border-color: rgba(26, 71, 239, 0.35); }
.faq__item[open] { border-color: rgba(26, 71, 239, 0.45); box-shadow: 0 1px 2px rgba(14, 16, 21, 0.04), 0 18px 36px -20px rgba(26, 53, 140, 0.35); }
.faq__item summary { padding: 24px 72px 24px 26px; font-size: 19px; }
.faq__item summary::after { right: 22px; width: 34px; height: 34px; margin-top: -17px; font-size: 24px; }
.faq__item summary:hover::after { background: #D7E1FD; }
.faq__item[open] summary:hover::after { background: var(--accent); }
.faq__item p { padding: 0 72px 26px 26px; font-size: 17.5px; line-height: 1.6; }

/* ---- footer ---- */
.foot::before { height: 420px; background: radial-gradient(46% 100% at 50% 0%, rgba(24, 99, 240, 0.4) 0%, rgba(24, 99, 240, 0) 70%); }
.foot__in { max-width: calc(var(--wide) + 80px); padding: 112px 40px 40px; }
.foot__h { max-width: 16em; margin: 28px auto 0; font-size: 48px; line-height: 1.12; letter-spacing: -0.025em; }
.foot .btn { display: inline-flex; width: auto; margin-top: 40px; padding: 0 36px; }
.foot__legal { margin-top: 96px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); text-align: left; font-size: 14px; }
.foot__c { display: inline; float: right; margin-top: 0; }

/* ---- the floating button: a centred pill, not a full-width bar ---- */
body.has-sticky { padding-bottom: 0; }
.sticky {
  left: 50%; right: auto; bottom: 24px; width: 440px; margin-left: -220px; padding: 0;
  background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none;
  transform: translateY(calc(100% + 40px));
}
.sticky .btn { max-width: none; border-radius: 16px; box-shadow: 0 22px 44px -16px rgba(20, 64, 239, 0.7), 0 6px 16px -8px rgba(11, 18, 64, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18); }

/* ---- short laptop screens (768–820px tall): tighter hero so the film still clears the button ---- */
@media (max-height: 820px) {
  .bar { height: 64px; }
  .hero { padding-top: 20px; }
  .hero__eye { padding: 8px 18px; font-size: 15px; }
  .hero__h { margin-top: 16px; font-size: 48px; }
  .hero__sub { margin-top: 14px; font-size: 19px; }
  .hero { --film: clamp(480px, calc((100vh - 470px) * 1.9), 860px); }
  .vsl { margin-top: 24px; }
  .hero .btn { min-height: 64px; margin-top: 22px; font-size: 20px; }
}

/* ---- booking popup: a slightly wider card ---- */
.pop__sheet { max-width: 520px; }
.pop__scrim { background: rgba(11, 18, 64, 0.45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
