/* ===== Homepage: Loud and flat. Tokens come from styles.css. ===== */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.home section { position: relative; }
.home .container { max-width: none; }
[data-ui] { font-family: var(--font); }

/* ---------- Hero: waterline headline ---------- */
.wl {
  --seam: 50%;
  --F: clamp(72px, 10.5vw, 168px);
  position: relative;
  min-height: max(640px, calc(100svh - 72px));
  background: var(--bg);
  overflow: hidden;
}
.wl__field--low { position: absolute; left: 0; right: 0; top: var(--seam); bottom: 0; background: var(--field-black); }
.wl__top { position: relative; z-index: 2; padding-top: 28px; }
.wl__h1 { font-size: clamp(1.5rem, 1rem + 1.4vw, 2.25rem); font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; max-width: 24ch; margin: 0; }
.wl__display {
  position: absolute;
  left: 0; right: 0;
  top: calc(var(--seam) - 1.29 * var(--F));
  margin: 0;
  max-width: none;
  padding: 0 var(--margin);
  font-size: var(--F);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  pointer-events: none;
}
.wl__display--high { color: var(--ink); clip-path: inset(0 0 calc(100% - 1.29 * var(--F)) 0); }
.wl__display--low { color: var(--accent); clip-path: inset(calc(1.29 * var(--F)) 0 0 0); }
.wl__line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.wl__line > span { display: inline-block; }
/* the under-water copy is decoration; its letters come from CSS so it never duplicates the headline's text */
.wl__line > span[data-t]::before { content: attr(data-t); }
.wl__phone {
  position: absolute;
  z-index: 3;
  right: var(--margin);
  top: calc(var(--seam) - 150px);
  width: min(340px, 26vw);
  padding: 22px 16px 18px;
  background: #1A1A1A;
  color: #FFFFFF;
  border-radius: 34px;
  transform: rotate(4deg);
}
.ui-time { font-size: 2.6rem; font-weight: 500; text-align: center; margin: 0 0 14px; letter-spacing: -0.02em; line-height: 1; }
.ui-note { background: rgba(255, 255, 255, 0.14); border-radius: 18px; padding: 12px 14px; margin-bottom: 8px; font-size: 0.95rem; line-height: 1.35; }
.ui-note p { margin: 0; }
.ui-note__app { font-size: 0.8125rem; opacity: 0.75; margin-bottom: 3px !important; }
.ui-note--alert { background: var(--accent); color: var(--ink); }
.ui-note--alert .ui-note__app { opacity: 0.7; }
.wl__foot {
  position: absolute;
  z-index: 2;
  left: 0; right: 0; bottom: 40px;
  display: flex;
  align-items: flex-end;
  gap: 32px;
  color: #FFFFFF;
}
.wl__lede { font-size: var(--step-body); line-height: 1.4; max-width: 44ch; margin: 0; }
.wl__foot .btn { flex: none; }

@media (max-width: 1100px) {
  .wl__phone { width: 280px; top: auto; bottom: 150px; }
}
@media (max-width: 760px) {
  .wl { --seam: 290px; --F: 13.6vw; min-height: 850px; }
  .wl__phone { position: absolute; width: 74vw; right: 16px; top: calc(var(--seam) + 0.62 * var(--F) + 32px); bottom: auto; transform: rotate(3deg); padding: 16px 12px 12px; border-radius: 26px; }
  .ui-time { font-size: 1.8rem; margin-bottom: 10px; }
  .ui-note { font-size: 0.875rem; padding: 10px 12px; }
  .wl__phone .ui-note:nth-of-type(2) { display: none; }
  .wl__foot { flex-direction: column; align-items: stretch; gap: 16px; bottom: 24px; }
  .wl__lede { font-size: 1.0625rem; }
}

/* ---------- Leaks: one orange field ---------- */
.leaks { background: var(--field-orange); color: var(--ink); padding: clamp(80px, 10vw, 180px) 0; }
.leaks h2 { margin-bottom: 28px; }
.leaks__head { display: grid; grid-template-columns: 1fr auto; gap: var(--margin); align-items: start; }
.leaks__art { margin: 0 3vw 0 0; width: clamp(220px, 26vw, 380px); }
.bucket { display: block; width: 100%; height: auto; overflow: visible; }
@media (max-width: 760px) { .leaks__head { grid-template-columns: 1fr; } .leaks__art { width: 62vw; justify-self: center; margin: 0 0 40px; } }

/* bucket illustration: flat shapes in the page's own colours */
.bucket__shell { fill: var(--ink); }
.bucket__band { fill: #2A2A2A; }
.bucket__handle { fill: none; stroke: var(--ink); stroke-width: 10; stroke-linecap: round; }
.bucket__water { fill: var(--accent); }
.bucket__hole { fill: var(--field-orange); }
.bucket__puddle { fill: var(--accent); opacity: 0.85; }
.drop-in, .leak { fill: var(--accent); }
.drop-in { transform-box: fill-box; transform-origin: center; }
.leak { transform-box: fill-box; transform-origin: center; opacity: 0; }
.statement { font-size: var(--step-lead); font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; max-width: 34ch; margin-bottom: 64px; }
.leaks__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px var(--margin); }
.leaks__list li { font-size: var(--step-body); max-width: 34ch; }
.leaks__list strong { display: block; font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.01em; margin-bottom: 6px; }
.leaks__close { font-size: var(--step-lead); font-weight: 600; line-height: 1.25; max-width: 40ch; margin: 72px 0 0; }
@media (max-width: 900px) { .leaks__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .leaks__list { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Try it: the headline you can type ---------- */
.try { background: var(--bg); padding: clamp(80px, 10vw, 180px) 0; min-height: 88svh; }
.try__h { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.01em; margin-bottom: 8px; }
.try__line { display: flex; align-items: center; max-width: 100%; }
.try__input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  font-family: var(--font);
  font-size: clamp(48px, 8vw, 132px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--ink);
  caret-color: var(--ink);
  outline: none;
}
.try__line:focus-within { outline: 3px solid var(--ink); outline-offset: 6px; }
.try__caret { display: none; }
.try .container { display: grid; grid-template-columns: minmax(0, 560px) 1fr; column-gap: clamp(32px, 6vw, 120px); }
.try__h, .try__line, .try__examples { grid-column: 1 / -1; }
.try__answer { margin-top: 48px; display: grid; gap: 10px; align-content: start; }
.try__photo { margin: 48px 0 0; align-self: start; }
.roofjob { display: block; width: 100%; height: auto; background: var(--surface); }
.roofjob__ground { fill: var(--field-grey); }
.roofjob__wall { fill: #FFFFFF; }
.roofjob__door, .roofjob__roof, .roofjob__phone rect, .roofjob__legs, .roofjob__hat { fill: var(--ink); }
.roofjob__window { fill: var(--field-grey); }
.roofjob__ladder { fill: var(--field-orange); }
.roofjob__arm { fill: none; stroke: var(--field-orange); stroke-width: 12; stroke-linecap: round; }
.roofjob__head { fill: #C98B5E; }
.roofjob__shirt { fill: var(--field-orange); }
.roofjob__hammer { fill: #555555; transform-box: fill-box; transform-origin: 0% 50%; }
.ring { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; opacity: 0; }
.bubble rect { fill: var(--accent); }
.bubble--lead rect { fill: var(--ink); }
.bubble text { font-family: var(--font); font-size: 21px; font-weight: 600; text-anchor: middle; fill: var(--ink); }
.bubble--lead text { fill: #FFFFFF; }
.bubble { opacity: 0; transform-box: fill-box; transform-origin: 0% 50%; }
.try__photo figcaption { margin-top: 12px; font-weight: 500; }
@media (max-width: 860px) { .try .container { grid-template-columns: 1fr; } .try__photo { margin-top: 32px; } }
.sms { padding: 14px 18px; border-radius: 20px; font-size: var(--step-body); line-height: 1.4; max-width: 460px; }
.sms p { margin: 0; }
.sms__meta { font-size: 0.8125rem; color: var(--muted); margin-bottom: 4px !important; }
.sms--out { background: var(--surface); }
.sms--in { background: var(--ink); color: #FFFFFF; justify-self: end; }
.sms--in .sms__meta { color: #BBBBBB; }
.sms--alert { background: var(--accent); }
.sms--alert .sms__meta { color: #2B4A27; }
.try__examples { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 48px; }
.try__examples p { margin: 0 6px 0 0; color: var(--muted); }
.try__examples button {
  min-height: 44px; padding: 0 16px; border: 0; background: var(--surface); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; font-weight: 500; cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s var(--ease-out);
}
.try__examples button:hover { background: var(--accent); }
.try__examples button:active { transform: translateY(1px); }

/* ---------- What you get: mosaic of unlike tiles ---------- */
.mosaic-band { background: var(--bg); padding: 0 0 clamp(80px, 10vw, 180px); }
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(96px, auto); gap: 8px; }
.tile { padding: 24px; margin: 0; background: var(--surface); color: var(--ink); min-width: 0; }
.tile h3 { margin-bottom: 10px; }
.tile p { margin-bottom: 12px; }
.tile__when { font-size: var(--step-small); font-weight: 600; margin: 0; }
.tile--head { grid-column: 1 / 7; grid-row: 1 / 4; }
.tile--head h2 { font-size: var(--step-head); }
.tile--head p { font-size: var(--step-lead); line-height: 1.3; max-width: 30ch; }
.tile--response { grid-column: 7 / 13; grid-row: 1 / 7; background: var(--field-black); color: #FFFFFF; }
.tile--response > p { max-width: 46ch; }
.tile--quote { grid-column: 1 / 4; grid-row: 4 / 7; background: var(--field-mint); }
.tile--showup { grid-column: 4 / 7; grid-row: 4 / 7; background: var(--field-grey); }
.tile--site { grid-column: 1 / 7; grid-row: 7 / 12; padding: 0; position: relative; overflow: hidden; background: var(--field-grey); display: flex; flex-direction: column; }
.tile--site img { width: 100%; height: 100%; flex: 1; object-fit: cover; object-position: top left; min-height: 280px; }
.tile--site figcaption { background: var(--bg); padding: 20px 24px; }
.tile--site figcaption p { margin: 0; }
.tile--stars { grid-column: 7 / 13; grid-row: 7 / 10; }
.tile--figure { grid-column: 7 / 10; grid-row: 10 / 12; background: var(--field-orange); }
.tile__figure { font-size: var(--step-head); font-weight: 700; letter-spacing: -0.04em; line-height: 0.9; margin-bottom: 10px !important; }
.tile--referral { grid-column: 10 / 13; grid-row: 10 / 12; background: var(--field-grey); }
.tile--map { grid-column: 1 / 7; grid-row: 12 / 14; background: var(--field-mint); }
.tile--roi { grid-column: 7 / 13; grid-row: 12 / 14; background: var(--field-black); color: #FFFFFF; }
.tile__days { list-style: none; padding: 0; margin: 4px 0 16px; font-size: var(--step-lead); font-weight: 600; line-height: 1.3; }
.alert-card { background: #FFFFFF; color: var(--ink); border-radius: 18px; padding: 16px 18px; margin: 20px 0; max-width: 360px; transform: rotate(-2deg); }
.alert-card p { margin: 0 0 2px; font-size: 1rem; }
.alert-card__top { font-size: 0.8125rem !important; color: var(--muted); }
.alert-card__name { font-weight: 600; font-size: 1.125rem !important; }
.alert-card__photo { margin-top: 8px !important; display: inline-block; background: var(--accent); padding: 4px 10px; font-size: 0.875rem !important; }
.review-ask { background: #FFFFFF; border-radius: 18px; padding: 14px 16px; margin: 4px 0 16px; max-width: 460px; }
.review-ask p { margin: 0; font-size: 1rem; }
.review-ask__link { margin-top: 6px !important; text-decoration: underline; color: var(--muted); }
.mosaic__note { margin: 32px 0 0; font-weight: 500; }
@media (max-width: 900px) {
  .mosaic { grid-template-columns: 1fr 1fr; gap: 6px; }
  .tile, .tile--head, .tile--response, .tile--site, .tile--stars, .tile--map, .tile--roi { grid-column: 1 / -1; grid-row: auto; }
  .tile--quote, .tile--figure { grid-column: 1 / 2; grid-row: auto; }
  .tile--showup, .tile--referral { grid-column: 2 / 3; grid-row: auto; }
  .tile { padding: 18px; }
}

/* ---------- First 90 days: stages as one bar ---------- */
.stages { background: var(--field-grey); padding: clamp(80px, 10vw, 180px) 0; }
.stages h2 { margin-bottom: 64px; }
.stages__bar { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.stage { min-width: 0; display: flex; flex-direction: column; }
.stage--1 { flex: 7 1 0; min-width: 16%; }
.stage--2 { flex: 21 1 0; min-width: 18%; }
.stage--3 { flex: 60 1 0; }
.stage--4 { flex: 30 1 0; }
.stage__dur { height: 22vh; min-height: 150px; margin: 0; padding: 20px; font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.stage--1 .stage__dur { background: var(--field-black); color: #FFFFFF; }
.stage--2 .stage__dur { background: var(--field-orange); }
.stage--3 .stage__dur { background: var(--field-mint); }
.stage--4 .stage__dur { background: var(--bg); }
.stage__text { font-size: var(--step-body); margin: 16px 0 0; padding-right: 12px; max-width: 40ch; }
.stage__text strong { display: block; font-weight: 600; }
.stages__note { font-size: var(--step-lead); font-weight: 500; line-height: 1.3; max-width: 46ch; margin: 64px 0 0; }
@media (max-width: 860px) {
  .stages__bar { flex-direction: column; gap: 6px; }
  .stage { min-width: 0 !important; }
  .stage__dur { height: auto; min-height: 72px; font-size: 22px; padding: 16px; }
  .stage--3 .stage__dur { min-height: 160px; }
  .stage--4 .stage__dur { min-height: 100px; }
  .stage--2 .stage__dur { min-height: 88px; }
  .stage__text { margin: 10px 0 18px; font-size: 1rem; }
}

/* ---------- Pricing: one plan as a sentence ---------- */
.price { background: var(--field-mint); padding: clamp(80px, 10vw, 180px) 0; min-height: 80svh; display: flex; flex-direction: column; justify-content: center; }
.price__line { font-size: clamp(2.6rem, 1rem + 6.6vw, 8.5rem); font-weight: 700; line-height: 0.95; letter-spacing: -0.04em; max-width: 13ch; margin-bottom: 64px; }
.price__chip { display: inline-block; background: var(--ink); color: var(--accent); padding: 0.04em 0.15em 0; line-height: 1; vertical-align: baseline; }
.price__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.price__foot p { font-size: var(--step-body); line-height: 1.45; max-width: 52ch; margin: 0; }
.price__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.price__link { font-weight: 500; }
@media (max-width: 760px) {
  .price__actions { align-items: stretch; width: 100%; }
  .price__foot p { font-size: 1.0625rem; }
}

/* ---------- Guarantee: the promise, its terms, the math, and what you keep ---------- */
.promise { background: var(--bg); padding: clamp(80px, 10vw, 180px) 0; }
.promise h2 { margin-bottom: 24px; }
.promise__top { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.promise__lead { font-size: var(--step-lead); line-height: 1.35; max-width: 40ch; margin-bottom: 32px; }
.promise__terms { background: var(--field-mint); padding: clamp(24px, 3vw, 40px); }
.promise__terms h3 { margin-bottom: 16px; }
.promise__terms ul { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.promise__tiles { margin-top: clamp(48px, 6vw, 96px); }
.promise__board { margin: 0; background: var(--field-black); color: #FFFFFF; padding: clamp(24px, 3vw, 48px); display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 46ch); gap: clamp(24px, 3vw, 48px); align-items: center; }
.promise__math h3 { margin-bottom: 12px; }
.promise__math p { margin: 0; }
.board { background: #FFFFFF; color: var(--ink); border-radius: 14px; padding: 22px 24px; }
.board__title { font-weight: 600; font-size: 1.125rem; margin: 0 0 12px; display: flex; justify-content: space-between; gap: 12px; }
.board__title span { font-size: 0.8125rem; font-weight: 500; background: var(--surface); padding: 2px 8px; align-self: center; }
.board table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.board th { text-align: left; font-weight: 400; padding: 7px 0; border-bottom: 1px solid #E5E5E5; }
.board td { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; padding: 7px 0 7px 12px; border-bottom: 1px solid #E5E5E5; white-space: nowrap; }
.board tr:last-child th, .board tr:last-child td { border-bottom: 0; }
.board__total th, .board__total td { background: var(--accent); font-weight: 600; padding-left: 8px; padding-right: 8px; }
@media (max-width: 1100px) { .promise__board { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .promise__top { grid-template-columns: 1fr; }
  .promise__board { padding: 20px; }
}

/* ---------- Details: giant word, filled bar rows ---------- */
.details { background: var(--bg); padding: clamp(80px, 10vw, 180px) var(--margin) clamp(140px, 12vw, 200px); }
.details__col { max-width: 640px; margin: 0 auto; container-type: inline-size; }
.details__word { font-size: 25cqw; font-weight: 700; line-height: 0.8; letter-spacing: -0.05em; text-transform: uppercase; margin: 0 0 20px; white-space: nowrap; }
.bar { background: var(--surface); margin-bottom: 6px; }
.bar:not([open]) > :not(summary) { display: none; }
.bar summary { list-style: none; min-height: 56px; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 500; cursor: pointer; }
.bar summary::-webkit-details-marker { display: none; }
.bar summary::after { content: "+"; font-size: 1.5rem; line-height: 1; transition: transform 0.2s var(--ease-out); }
.bar[open] summary::after { transform: rotate(45deg); }
.bar summary:hover { background: var(--field-mint); }
.bar__items { list-style: none; margin: 0; padding: 4px 20px 20px; display: grid; gap: 14px; }
.bar__items li { display: flex; justify-content: space-between; gap: 20px; font-size: 1rem; }
.bar__items li > span:last-child { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bar__items--plain { list-style: disc; padding-left: 40px; gap: 8px; }
.bar__items--plain li { display: list-item; }
.bar__text { padding: 4px 20px 20px; margin: 0; font-size: 1rem; }
@media (prefers-reduced-motion: reduce) { .bar summary::after { transition: none; } }

/* ---------- The four pieces: panels of unequal width, edge to edge ---------- */
.pieces__grid { display: grid; grid-template-columns: repeat(12, 1fr); }
.piece { padding: clamp(40px, 6vw, 96px) var(--margin); min-height: 420px; }
.piece h2 { max-width: 14ch; }
.piece p { max-width: 52ch; }
.piece--grey { background: var(--field-grey); }
.piece--orange { background: var(--field-orange); }
.piece--mint { background: var(--field-mint); }
.piece--black { background: var(--field-black); color: #FFFFFF; }
@media (min-width: 761px) {
  .piece--grey { grid-column: 1 / 8; } .piece--orange { grid-column: 8 / 13; }
  .piece--mint { grid-column: 1 / 6; } .piece--black { grid-column: 6 / 13; }
}
@media (max-width: 760px) { .pieces__grid { grid-template-columns: 1fr; } .piece { min-height: 0; grid-column: auto; } }

/* ---------- Inspection coupon ---------- */
.coupon-band { background: var(--bg); padding: clamp(80px, 10vw, 160px) 0; }
.coupon {
  --notch: 14px;
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--field-orange);
  border-radius: 14px;
    -webkit-mask: radial-gradient(circle var(--notch) at 50% 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at 50% 100%, #0000 98%, #000) bottom / 100% 51% no-repeat; /* taste-skill-ignore: mask cuts the coupon notches, not a fill */
    mask: radial-gradient(circle var(--notch) at 50% 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at 50% 100%, #0000 98%, #000) bottom / 100% 51% no-repeat; /* taste-skill-ignore: mask cuts the coupon notches, not a fill */
}
.coupon__stub { padding: 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; border-right: 5px dotted var(--bg); }
.coupon__stub h2 { font-size: clamp(1.75rem, 1rem + 2vw, 2.5rem); font-weight: 700; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1; }
.coupon__stub p { margin: 0; max-width: 40ch; }
.coupon__form { padding: 32px 40px; }
.coupon__form iframe { width: 100%; min-height: 630px; border: 0; display: block; background: #FFFFFF; }
@media (max-width: 860px) {
  .coupon { grid-template-columns: 1fr; -webkit-mask: none; mask: none; }
  .coupon__stub { padding: 28px 24px; border-right: 0; border-bottom: 5px dotted var(--bg); }
  .coupon__form { padding: 20px 12px; }
}

/* ---------- Footer: the phone number is the headline ---------- */
.close { background: var(--field-orange); color: var(--ink); min-height: 90svh; display: flex; flex-direction: column; padding: 40px 0 28px; }
.close .container { display: flex; flex-direction: column; flex: 1; }
.close__top { display: flex; gap: 48px; align-items: flex-start; font-size: 0.9375rem; }
.close__top p { margin: 0; }
.close__up { margin-left: auto; font-weight: 500; }
.close__map { margin-top: 32px; width: min(520px, 100%); aspect-ratio: 16 / 9; background: var(--ink); padding: 8px; }
.close__map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1) contrast(1.1); }
.close__phone { margin-top: auto; display: block; font-size: clamp(3.4rem, 0.5rem + 12.6vw, 14rem); font-weight: 700; letter-spacing: -0.05em; line-height: 0.95; text-decoration: none; white-space: nowrap; padding: 48px 0 32px; }
.close__phone:hover { text-decoration: none; color: var(--bg); }
.close__meta { display: grid; grid-template-columns: 1fr auto auto; gap: 24px; align-items: end; font-size: 0.875rem; }
.close__meta ul { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; }
.close__meta p { margin: 0; }
@media (max-width: 760px) {
  .close__top { flex-direction: column; gap: 16px; }
  .close__up { margin-left: 0; }
  .close__phone { font-size: 12.4vw; }
  .close__meta { grid-template-columns: 1fr; gap: 12px; font-size: 0.8125rem; }
}

/* ---------- Motion ---------- */
@keyframes rise { from { transform: translateY(105%); } to { transform: translateY(0); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: scale(1.02) translateY(0); } to { transform: scale(1.08) translateY(-3%); } }
@keyframes blink { 50% { opacity: 0; } }

.js .wl__line > span { animation: rise 0.9s var(--ease-out) both; }
.js .wl__line:nth-child(2) > span { animation-delay: 0.11s; }
.js .wl__foot, .js .wl__top { animation: fade-up 0.7s var(--ease-out) 0.55s both; }
.js .wl__phone { animation: phone-in 0.9s var(--ease-out) 0.35s both; }
@keyframes phone-in { from { opacity: 0; transform: translateY(60px) rotate(9deg); } to { opacity: 1; transform: rotate(4deg); } }
.tile--site img { animation: drift 18s ease-in-out infinite alternate; transform-origin: top left; }

.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* bucket: leads fall in, jobs drip out of every hole, the puddle keeps growing and settling */
@keyframes drop-in { 0% { transform: translateY(-30px); opacity: 0; } 15% { opacity: 1; } 80% { transform: translateY(185px); opacity: 1; } 100% { transform: translateY(195px); opacity: 0; } }
@keyframes leak { 0% { transform: translate(0, 0) scale(0.4); opacity: 0; } 10% { opacity: 1; transform: translate(calc(var(--dx) * 0.12), 0) scale(1); } 45% { transform: translate(calc(var(--dx) * 0.7), calc(var(--dy) * 0.25)); } 100% { transform: translate(var(--dx), var(--dy)) scale(0.8); opacity: 0.2; } }
@keyframes puddle { 0%, 100% { transform: scaleX(0.92); } 50% { transform: scaleX(1.04); } }
@keyframes wobble { 0%, 100% { transform: rotate(-1.2deg); } 50% { transform: rotate(1.2deg); } }
.drop-in { animation: drop-in 1.2s cubic-bezier(0.45, 0, 1, 1) infinite; }
.drop-in:nth-child(2) { animation-delay: 0.4s; }
.drop-in:nth-child(3) { animation-delay: 0.8s; }
.leak { animation: leak 1.35s linear var(--delay, 0s) infinite; }
.bucket__puddle { transform-box: fill-box; transform-origin: center; animation: puddle 3.2s ease-in-out infinite; }
.bucket__body { transform-box: fill-box; transform-origin: 50% 100%; animation: wobble 4s ease-in-out infinite; }

/* roof job: the phone rings, then the text goes out and the lead lands (6s loop) */
@keyframes ring { 0%, 4% { opacity: 0; } 8%, 26% { opacity: 1; } 30%, 100% { opacity: 0; } }
@keyframes pop-sent { 0%, 30% { opacity: 0; transform: scale(0.6); } 36% { opacity: 1; transform: scale(1.06); } 40%, 88% { opacity: 1; transform: scale(1); } 94%, 100% { opacity: 0; transform: scale(1); } }
@keyframes pop-lead { 0%, 48% { opacity: 0; transform: scale(0.6); } 54% { opacity: 1; transform: scale(1.06); } 58%, 88% { opacity: 1; transform: scale(1); } 94%, 100% { opacity: 0; transform: scale(1); } }
@keyframes hammer { 0%, 100% { transform: rotate(-18deg); } 50% { transform: rotate(14deg); } }
@keyframes buzz { 0%, 4%, 30%, 100% { transform: translateX(0); } 6%, 10%, 14%, 18%, 22%, 26% { transform: translateX(-2px); } 8%, 12%, 16%, 20%, 24% { transform: translateX(2px); } }
.ring { animation: ring 6s linear infinite; }
.ring--2 { animation-delay: 0.15s; }
.roofjob__phone { animation: buzz 6s linear infinite; }
.bubble--sent { animation: pop-sent 6s var(--ease-out) infinite; }
.bubble--lead { animation: pop-lead 6s var(--ease-out) infinite; }
.roofjob__hammer { animation: hammer 0.7s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .drop-in, .leak, .bucket__puddle, .bucket__body, .ring, .roofjob__phone, .roofjob__hammer { animation: none; }
  .leak, .bubble { opacity: 1; }
  .bubble { animation: none; }
  .js .wl__line > span, .js .wl__foot, .js .wl__top, .js .wl__phone, .tile--site img { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}
