/* Home page. Shared tokens (including the spacing scale), header, footer, form, FAQ and dialog live in /styles.css.
   Every giant heading is sized with clamp() against the viewport so its longest line always fits.
   Spacing uses only the scale: --space-1 8, -2 16, -3 24, -4 40, -5 64, -6 104, -7 168 (px); --section between sections.
   Red is kept for what deserves attention: the listing, and the two buttons that start a check. */

@font-face {
  font-family: 'Mrs Saint Delafield';
  src: url('/fonts/mrs-saint-delafield-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

main > * { overflow: hidden; }
.home main > section, .home main > figure { margin-top: var(--section); }
.home main > .hero { margin-top: 0; }
.home main > .lead-art { margin-top: 0; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.dot-ground { fill: var(--paper); }
.dot-ink { fill: var(--ink); }
.hatch-line { stroke: var(--ink); stroke-width: 0.9; opacity: 0.35; }
.home p { text-wrap-style: pretty; }

/* The red call to action: the hero button and the form's submit */
.hero-cta .button, .form-button { background: var(--red); border-color: var(--red); color: var(--paper); }
.hero-cta .button:hover, .form-button:hover { background: var(--red-deep); border-color: var(--red-deep); color: var(--paper); }

/* A drawn card: solid black rule and an offset solid shadow, used for the hero intro, price, map viewer and form */
.card { background: var(--paper); border: 2px solid var(--ink); box-shadow: var(--space-1) var(--space-1) 0 var(--ink); }
@media (min-width: 760px) { .card { box-shadow: var(--space-2) var(--space-2) 0 var(--ink); } }

/* 1. Hero: three set lines on wide screens, seven on phones. Longest lines: 11.14em and 5.55em. */
.hero { position: relative; padding: var(--space-5) 0 var(--space-6); }
.hero::before { content: ''; position: absolute; inset: 0 0 0 30%; background: url('/img/street-light.png') right top / cover no-repeat; image-rendering: pixelated; -webkit-mask-image: linear-gradient(to right, transparent, #000 45%); mask-image: linear-gradient(to right, transparent, #000 45%); pointer-events: none; }
.hero > * { position: relative; }
.hero h1 { font-size: clamp(34px, calc((100vw - 2 * var(--gutter)) / 5.9), 92px); line-height: 0.86; padding: 0 var(--gutter); }
.hero h1 .ml { display: block; white-space: nowrap; }
.hero-bar { margin-top: var(--space-4); height: var(--space-2); width: 72%; background: var(--ink); }
.hero-card { margin: var(--space-5) calc(var(--gutter) + var(--space-1)) 0 var(--gutter); max-width: 36rem; display: grid; gap: var(--space-3); padding: var(--space-3); font-size: 18px; }
.hero-card > p { max-width: 58ch; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); }
.hero-cta .button { width: 100%; }
.hero-cta p { font-size: 15px; font-weight: 600; }
@media (min-width: 480px) { .hero-cta .button { width: auto; } }
@media (min-width: 700px) {
  .hero h1 { font-size: min(calc((100vw - 2 * var(--gutter)) / 11.7), 168px); line-height: 0.84; }
  .hero h1 .dl { display: block; white-space: nowrap; }
  .hero h1 .ml { display: inline; }
}
@media (min-width: 760px) {
  .hero { padding: var(--space-6) 0 var(--space-7); }
  .hero-bar { margin-top: var(--space-5); width: 50%; }
  .hero-card { margin: var(--space-5) calc(var(--gutter) + var(--space-2)) 0 auto; padding: var(--space-4); font-size: 19px; }
}

/* 2. The street map, full bleed, drawn as a shaded site plan: grey ground, white roads,
   dotted roofs with a cast shadow, your contacts solid black. The same classes style any suburb map app.js swaps in. */
.map-frame { position: relative; overflow: hidden; height: 470px; background: #EFEFEF; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.map-frame svg.map { position: absolute; top: 0; left: 50%; height: 100%; width: auto; max-width: none; aspect-ratio: 1200 / 680; transform: translateX(-39.2%); }
@media (min-width: 600px) {
  .map-frame { height: 56.6vw; }
  .map-frame svg.map { left: 0; width: 100%; height: auto; top: 50%; transform: translateY(-50%); }
}
@media (min-width: 960px) { .map-frame { height: clamp(560px, 78vh, 780px); } }
.map-frame.is-pending svg.map { visibility: hidden; }
.m-land { fill: #EFEFEF; }
.m-trees, .m-park, .m-sonar, .m-key, .m-attrib, .m-ring-dash, .m-pin-shadow, .m-label-park, .m-label-creek { display: none; }
.m-water-area, .m-creek, .m-creek-bank, .m-water-fill { fill: #D4D4D4; stroke: none; }
.m-lots path { fill: none; stroke: #C8C8C8; stroke-width: 0.8; }
.m-houses, .m-yours { filter: drop-shadow(3px 3px 0 #8F8F8F); }
.m-houses path { fill: url(#fk-roof); stroke: var(--ink); stroke-width: 0.9; }
.m-casings use { stroke: var(--ink); fill: none; }
.m-roads use { stroke: var(--paper); fill: none; }
.m-labels text { font: 600 12.5px var(--font); fill: var(--ink); dominant-baseline: central; letter-spacing: 0.01em; }
.m-labels text.main { font-weight: 760; font-size: 14px; }
.m-ring-fill { fill: url(#fk-ring); stroke: none; }
.m-ring-line { fill: none; stroke: var(--ink); stroke-width: 3; }
.m-ring-ticks { stroke: var(--ink); stroke-width: 3; }
.m-ring-pill rect { fill: var(--paper); stroke: var(--ink); stroke-width: 2; }
.m-ring-pill text { font: 760 14px var(--font); fill: var(--ink); text-anchor: middle; dominant-baseline: central; }
.m-yours-house { fill: var(--ink); stroke: none; }
.m-listing-house { fill: var(--red); stroke: none; }
.m-marker circle { fill: #E4E4E4; stroke: var(--ink); stroke-width: 2.5; }
.m-marker text { font: 760 13px var(--font); fill: var(--ink); text-anchor: middle; dominant-baseline: central; }
.m-marker use { fill: var(--ink); }
.m-pin path { fill: var(--red); stroke: var(--paper); stroke-width: 2.5; }
.m-pin circle { fill: var(--paper); }
.m-dim line { stroke: var(--ink); stroke-width: 1.6; }
.m-dim path { fill: var(--ink); }
.m-dim text { font: 760 14px var(--font); fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 5px; stroke-linejoin: round; }
.m-callout rect:first-child { fill: var(--paper); stroke: var(--ink); stroke-width: 2; }
.m-callout-tip { fill: var(--paper); stroke: var(--ink); stroke-width: 2; stroke-dasharray: 0 18 30; }
.m-tag { fill: var(--red); }
.m-tag-text { font: 700 12.5px var(--font); fill: var(--paper); text-anchor: middle; dominant-baseline: central; }
.m-callout-time { font: 700 13px var(--font); fill: var(--ink); text-anchor: end; dominant-baseline: central; }
.m-callout-address { font: 760 18px var(--font); fill: var(--ink); }
.m-callout-meta { font: 500 12.5px var(--font); fill: var(--ink); }
.map-key { position: absolute; left: var(--gutter); top: var(--space-2); display: flex; align-items: flex-end; gap: var(--space-2); padding: var(--space-1) var(--space-1) 6px; background: var(--paper); border: 1px solid var(--ink); }
@media (min-width: 960px) { .map-key { top: auto; bottom: var(--space-2); } }
.north { width: 22px; height: 32px; }
.north circle { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.north path { fill: var(--ink); }
.north text { font: 760 10px var(--font); text-anchor: middle; fill: var(--ink); }
.scale { --s50: 65.7px; width: var(--s50); font-size: 12px; line-height: 1; }
@media (min-width: 600px) { .scale { --s50: 7.9167vw; } }
.scale-bar { display: flex; height: 7px; border: 1.5px solid var(--ink); }
.scale-bar i { flex: 1; }
.scale-bar i:first-child { background: var(--ink); }
.scale-nums { display: flex; justify-content: space-between; margin: 4px -8px 0 -2px; white-space: nowrap; gap: 6px; }

/* 3. The caption as the drawing's title block, hung off the bottom of the map:
   time, what happens, and the small print. app.js rewrites the same three parts for the visitor's suburb. */
.lead-art figcaption { margin: 0 var(--gutter); display: grid; border: 2px solid var(--ink); border-top: 0; font-size: 15px; line-height: 1.45; }
.lead-art figcaption > * { padding: var(--space-2); }
.lead-art figcaption strong { background: var(--ink); color: var(--paper); font-size: 20px; line-height: 1.1; font-weight: 820; font-stretch: 125%; letter-spacing: -0.02em; }
.lead-art figcaption .cap-text { border-top: 1px solid var(--ink); max-width: 60ch; }
.lead-art figcaption .cap-note { border-top: 1px solid var(--ink); font-size: 13.5px; color: var(--muted); }
@media (min-width: 760px) {
  .lead-art figcaption { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr) minmax(0, 1.2fr); }
  .lead-art figcaption > * { padding: var(--space-2) var(--space-3); }
  .lead-art figcaption .cap-text, .lead-art figcaption .cap-note { border-top: 0; border-left: 1px solid var(--ink); }
  .lead-art figcaption strong { font-size: 24px; }
}

/* 4. The call list, as an email arriving on a phone */
.calllist { padding: 0 var(--gutter); display: grid; gap: var(--space-5); justify-items: center; }
.cl-side { justify-self: stretch; display: grid; gap: var(--space-3); align-content: start; }
.cl-count { font-size: 44vw; font-weight: 820; font-stretch: 125%; letter-spacing: -0.06em; line-height: 0.74; margin-left: -0.04em; }
.cl-lede { font-size: 21px; line-height: 1.3; font-weight: 640; max-width: 24ch; text-wrap-style: balance; }
.cl-side .dict { margin-top: var(--space-3); }
.phone-figure { display: grid; gap: var(--space-3); justify-items: center; width: 100%; }
.cl-more { max-width: 380px; font-size: 14px; color: var(--muted); text-align: center; }
@media (min-width: 900px) {
  .calllist { grid-template-columns: minmax(0, 560px) auto; justify-content: center; column-gap: var(--space-6); align-items: center; }
  .cl-count { font-size: min(26vw, 380px); }
  .cl-lede { font-size: 28px; }
}

/* The phone: iPhone proportions (393 by 852 points, 55 point screen radius, a 12 point bezel), all sized in
   points (--pt) off the phone's own width so it stays true at any size. System font inside, as on the device. */
.phone { container-type: inline-size; width: min(100%, 380px); aspect-ratio: 417 / 876; }
.phone-body { --pt: calc(100cqi / 417); position: relative; height: 100%; padding: calc(12 * var(--pt)); border-radius: calc(67 * var(--pt)); background: #1C1C1E; box-shadow: inset 0 0 0 calc(2 * var(--pt)) #4A4A4C, var(--space-2) var(--space-2) 0 #E4E4E4; }
.phone-screen { position: relative; height: 100%; overflow: hidden; border-radius: calc(55 * var(--pt)); background: #FFFFFF; color: #000; font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; font-stretch: 100%; letter-spacing: 0; font-size: calc(15 * var(--pt)); line-height: 1.3; }
.ios-island { position: absolute; z-index: 3; top: calc(11 * var(--pt)); left: 50%; width: calc(126 * var(--pt)); height: calc(37 * var(--pt)); margin-left: calc(-63 * var(--pt)); border-radius: calc(19 * var(--pt)); background: #000; }
.ios-status { height: calc(54 * var(--pt)); display: flex; justify-content: space-between; align-items: center; padding: calc(4 * var(--pt)) calc(30 * var(--pt)) 0 calc(48 * var(--pt)); }
.ios-time { font-size: calc(17 * var(--pt)); font-weight: 600; letter-spacing: -0.02em; }
.ios-sys { width: calc(78 * var(--pt)); height: calc(14 * var(--pt)); fill: #000; }
.ios-sys .ios-wifi { fill: none; stroke: #000; stroke-width: 2.2; stroke-linecap: round; }
.ios-sys .ios-batt { fill: none; stroke: #8E8E93; stroke-width: 1.1; }
.ios-nav { height: calc(44 * var(--pt)); display: flex; justify-content: space-between; align-items: center; padding: 0 calc(16 * var(--pt)) 0 calc(8 * var(--pt)); color: #007AFF; font-size: calc(17 * var(--pt)); }
.ios-back { display: flex; align-items: center; gap: calc(6 * var(--pt)); }
.ios-nav svg { fill: none; stroke: #007AFF; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ios-back svg { width: calc(12 * var(--pt)); height: calc(21 * var(--pt)); }
.ios-updown { display: flex; gap: calc(22 * var(--pt)); }
.ios-updown svg { width: calc(21 * var(--pt)); height: calc(12 * var(--pt)); }
.ios-progress { height: calc(2.5 * var(--pt)); background: #007AFF; transform-origin: 0 50%; transform: scaleX(0); opacity: 0; }
.ios-mail { padding: calc(8 * var(--pt)) calc(16 * var(--pt)) 0; border-top: 0.5px solid #C6C6C8; }
.ph-from { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: calc(12 * var(--pt)); align-items: center; }
.ios-avatar { width: calc(40 * var(--pt)); height: calc(40 * var(--pt)); border-radius: 50%; display: grid; place-items: center; background: linear-gradient(#A5A5AA, #86868B); color: #FFF; font-size: calc(16 * var(--pt)); font-weight: 600; }
.ph-from p { display: grid; line-height: 1.25; }
.ph-from strong { font-size: calc(17 * var(--pt)); font-weight: 600; }
.ph-from p span, .ph-from time, .ios-date { font-size: calc(15 * var(--pt)); color: #6C6C70; }
.ph-from time { align-self: start; padding-top: calc(2 * var(--pt)); }
.cl-title { margin: calc(14 * var(--pt)) 0 0; font-family: inherit; font-size: calc(20 * var(--pt)); line-height: 1.22; font-weight: 700; font-stretch: 100%; letter-spacing: -0.015em; color: #000; text-wrap-style: balance; }
.ios-date { margin-top: calc(2 * var(--pt)); padding-bottom: calc(10 * var(--pt)); border-bottom: 0.5px solid #C6C6C8; }
.cl-checks { list-style: none; padding: calc(10 * var(--pt)) 0 0; display: grid; gap: calc(3 * var(--pt)); font-size: calc(13 * var(--pt)); color: #3C3C43; }
.cl-checks li { display: grid; grid-template-columns: calc(14 * var(--pt)) minmax(0, 1fr) auto; gap: calc(6 * var(--pt)); align-items: center; }
.cl-checks li::before { content: ''; width: calc(9 * var(--pt)); height: calc(5 * var(--pt)); margin-top: calc(-3 * var(--pt)); border-left: calc(2 * var(--pt)) solid #000; border-bottom: calc(2 * var(--pt)) solid #000; transform: rotate(-45deg); }
.cl-checks time { color: #6C6C70; }
.cl-rows { list-style: none; padding: 0; margin: calc(12 * var(--pt)) calc(-16 * var(--pt)) 0; padding: calc(12 * var(--pt)) calc(16 * var(--pt)) calc(80 * var(--pt)); background: #F2F2F7; }
.cl-rows li { position: relative; display: grid; grid-template-columns: calc(30 * var(--pt)) minmax(0, 1fr) auto; gap: 0 calc(12 * var(--pt)); padding: calc(9 * var(--pt)) calc(16 * var(--pt)); align-items: baseline; background: #FFF; }
.cl-rows li:first-child { border-radius: calc(10 * var(--pt)) calc(10 * var(--pt)) 0 0; }
.cl-rows li:last-child { border-radius: 0 0 calc(10 * var(--pt)) calc(10 * var(--pt)); }
.cl-rows li + li::before { content: ''; position: absolute; top: 0; right: 0; left: calc(58 * var(--pt)); border-top: 0.5px solid #C6C6C8; }
.cl-n { grid-row: span 2; align-self: center; width: calc(30 * var(--pt)); height: calc(30 * var(--pt)); border-radius: 50%; background: #E4E4E4; border: 1.5px solid #000; display: grid; place-items: center; font-size: calc(13 * var(--pt)); font-weight: 600; }
.cl-who { display: grid; min-width: 0; }
.cl-who strong { font-size: calc(17 * var(--pt)); font-weight: 400; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-who > span { font-size: calc(13 * var(--pt)); color: #6C6C70; }
.cl-dist { font-size: calc(15 * var(--pt)); font-weight: 600; text-align: right; white-space: nowrap; }
.cl-contact { grid-column: 2 / 4; font-size: calc(13 * var(--pt)); color: #3C3C43; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-contact span { color: #6C6C70; margin-left: 0.5em; }
.ios-home { position: absolute; z-index: 3; left: 50%; bottom: calc(8 * var(--pt)); width: calc(134 * var(--pt)); height: calc(5 * var(--pt)); margin-left: calc(-67 * var(--pt)); border-radius: calc(3 * var(--pt)); background: #000; }
.phone-screen::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: calc(64 * var(--pt)); background: linear-gradient(rgba(242, 242, 247, 0), #F2F2F7 70%); z-index: 2; pointer-events: none; }

/* The arrival: armed by home.js, played when the phone scrolls into view, finished within about 3.6 seconds.
   .calllist itself never fades. With reduced motion home.js never arms it, so everything shows at once. */
.calllist.is-armed .ph-from, .calllist.is-armed .cl-title, .calllist.is-armed .ios-date, .calllist.is-armed .cl-checks li, .calllist.is-armed .cl-rows li { opacity: 0; transform: translateY(calc(10 * var(--pt))); }
.calllist.is-playing .ph-from, .calllist.is-playing .cl-title, .calllist.is-playing .ios-date, .calllist.is-playing .cl-checks li, .calllist.is-playing .cl-rows li { opacity: 1; transform: none; transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1); }
.calllist.is-playing .ios-progress { opacity: 1; transform: scaleX(1); transition: transform 2.9s cubic-bezier(0.3, 0.6, 0.4, 1) 0.1s, opacity 0.2s; }
.calllist.is-done .ios-progress { opacity: 0; transition: opacity 0.4s; }
.calllist.is-playing .ph-from { transition-delay: 0.3s; }
.calllist.is-playing .cl-title { transition-delay: 0.55s; }
.calllist.is-playing .ios-date { transition-delay: 0.7s; }
.calllist.is-playing .cl-checks li:nth-child(1) { transition-delay: 0.95s; }
.calllist.is-playing .cl-checks li:nth-child(2) { transition-delay: 1.15s; }
.calllist.is-playing .cl-checks li:nth-child(3) { transition-delay: 1.35s; }
.calllist.is-playing .cl-checks li:nth-child(4) { transition-delay: 1.55s; }
.calllist.is-playing .cl-rows li:nth-child(1) { transition-delay: 1.85s; }
.calllist.is-playing .cl-rows li:nth-child(2) { transition-delay: 2s; }
.calllist.is-playing .cl-rows li:nth-child(3) { transition-delay: 2.15s; }
.calllist.is-playing .cl-rows li:nth-child(4) { transition-delay: 2.3s; }
.calllist.is-playing .cl-rows li:nth-child(5) { transition-delay: 2.45s; }
.calllist.is-playing .cl-rows li:nth-child(6) { transition-delay: 2.6s; }
.calllist.is-playing .cl-rows li:nth-child(7) { transition-delay: 2.75s; }
.calllist.is-playing .cl-rows li:nth-child(8) { transition-delay: 2.9s; }

/* 5. How it works: a real sequence. Numerals share a baseline and the drawings a top and height (subgrid).
   On wide screens the heading runs up the left edge, sized so all of it fits inside the section. */
.how { --hf: clamp(40px, calc((100vw - 2 * var(--gutter)) / 3.5), 140px); position: relative; padding: 0 var(--gutter); }
.how-title { font-size: var(--hf); line-height: 0.84; }
.how-title span { display: block; }
.how-body { margin-top: var(--space-3); }
.how-bar { height: var(--space-2); background: var(--ink); margin-right: calc(var(--gutter) * -1); }
.steps { list-style: none; padding: 0; display: grid; gap: var(--space-5); margin-top: var(--space-4); }
.step { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-3) var(--space-2); align-items: end; }
.num { font-size: 30vw; font-weight: 820; font-stretch: 125%; letter-spacing: -0.04em; line-height: 0.72; }
.step-text { grid-column: 2; grid-row: 1; display: grid; gap: var(--space-1); align-self: start; }
.step-text p { max-width: 46ch; }
.plan { grid-column: 1 / -1; grid-row: 2; display: block; width: 100%; height: auto; aspect-ratio: 360 / 240; overflow: visible; border: 0; padding: 0; }
.how-fine { margin-top: var(--space-5); max-width: 62ch; }
@media (min-width: 960px) {
  .how { --hf: clamp(90px, 10.2vw, 150px); display: grid; grid-template-columns: calc(0.96 * var(--hf)) minmax(0, 1fr); column-gap: var(--space-5); min-height: calc(6.75 * var(--hf)); padding-left: var(--gutter); }
  .how-title { position: relative; }
  .how-title span { position: absolute; left: 0.1em; top: 100%; transform: rotate(-90deg); transform-origin: 0 0; white-space: nowrap; }
  .how-body { margin-top: 0; padding: 4px 0 var(--space-6); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto auto; column-gap: var(--space-5); row-gap: 0; margin-top: var(--space-4); }
  .step { grid-row: span 3; grid-template-columns: 1fr; grid-template-rows: subgrid; row-gap: var(--space-3); }
  .num { grid-row: 1; font-size: min(13vw, 200px); }
  .plan { grid-column: 1; grid-row: 2; align-self: start; }
  .step-text { grid-column: 1; grid-row: 3; }
}
/* One drawing set: 2 for boundaries, 1 for context, light grey zones, red for the listing only. */
.plan text { font: 760 13px var(--font); fill: var(--ink); }
.p-street line { stroke: var(--ink); stroke-width: 2; }
.p-street text { font-weight: 600; font-size: 12px; }
.p-context { fill: none; stroke: var(--ink); stroke-width: 1; }
.p-boundary { fill: #EDEDED; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 14 4 2 4; }
.p-house { fill: var(--red); }
.p-drive { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 4 3; }
.r-zone, .s-zone { fill: #EDEDED; }
.r-ring { fill: none; stroke: var(--ink); stroke-width: 2; }
.r-dim line { stroke: var(--ink); stroke-width: 1; }
.r-dim path { fill: var(--ink); }
.r-listing, .s-listing { fill: var(--red); }
.r-in circle { fill: var(--ink); }
.r-dnc circle, .r-out circle { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; }
.r-dnc path { stroke: var(--ink); stroke-width: 1.5; }
.s-edge { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 14 4 2 4; }
.s-split { fill: none; stroke: var(--ink); stroke-width: 1; stroke-dasharray: 4 3; }
.s-ring { fill: none; stroke: var(--ink); stroke-width: 1; }

/* 6. Built with a Brisbane office: a real note from Mitch, then the still life as a big image */
.proof h2 { font-size: clamp(32px, calc((100vw - 2 * var(--gutter)) / 5), 150px); line-height: 0.86; padding: 0 var(--gutter); text-wrap-style: balance; }
.proof-row { margin-top: var(--space-5); padding: 0 calc(var(--gutter) + var(--space-1)); display: grid; gap: var(--space-5); }
.note { position: relative; max-width: 38rem; padding: var(--space-4) var(--space-3) var(--space-3); background: #FFFFFE; border: 1px solid #E2E2E2; transform: rotate(-1.2deg); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.16), 0 14px 30px rgba(0, 0, 0, 0.14); font-size: 18px; line-height: 1.6; }
.note::before { content: ''; position: absolute; top: calc(var(--space-2) * -1); left: 50%; width: 120px; height: 28px; margin-left: -60px; background: rgba(0, 0, 0, 0.09); transform: rotate(2deg); }
.note p { max-width: 60ch; }
.note p + p { margin-top: var(--space-2); }
.note .note-date { text-align: right; font-size: 15px; color: var(--muted); max-width: none; }
.note .note-sign { display: grid; gap: 2px; margin-top: var(--space-3); font-size: 15px; color: var(--muted); }
.signature { font-family: 'Mrs Saint Delafield', cursive; font-size: 56px; line-height: 1; color: var(--ink); transform: rotate(-3deg); transform-origin: 0 50%; }
@media (min-width: 760px) {
  .proof-row { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; gap: var(--space-5); }
  .note { padding: var(--space-5) var(--space-5) var(--space-4); font-size: 19px; }
}
.still { position: relative; margin-top: var(--space-6); }
.still-image { height: min(60vw, 780px); background: url('/img/solids.png') center 78% / cover no-repeat; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.price { margin: calc(var(--space-4) * -1) calc(var(--gutter) + var(--space-1)) 0 var(--gutter); position: relative; display: grid; gap: var(--space-2); padding: var(--space-3); max-width: 30rem; }
.price h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 820; font-stretch: 125%; letter-spacing: -0.03em; line-height: 1; }
.price p:last-child { margin-top: var(--space-1); }
@media (min-width: 760px) {
  .price { position: absolute; left: var(--gutter); bottom: var(--space-5); margin: 0; padding: var(--space-4); }
}

/* 7. One agency per suburb: a bold dithered suburb, the heading pasted over its edge */
.band { height: 64vw; background: url('/img/suburb-band.png') center / cover no-repeat; image-rendering: pixelated; position: relative; }
.band figcaption { position: absolute; right: 0; top: 0; background: var(--paper); padding: 3px var(--space-1); font-size: 12px; white-space: nowrap; }
@media (min-width: 760px) { .band { height: 34vw; } }
.exclusive-title { position: relative; margin-top: -0.42em; font-size: clamp(32px, calc((100vw - 2 * var(--gutter)) / 6.7), 180px); line-height: 0.86; padding: 0 var(--gutter); }
.exclusive-title span { display: table; background: var(--paper); padding: 0.04em 0.1em 0 0; white-space: nowrap; }
@media (min-width: 760px) { .exclusive-title { font-size: min(11vw, calc((100vw - 2 * var(--gutter)) / 6.7), 180px); } }
.exclusive-row { padding: var(--space-4) var(--gutter) 0; display: grid; gap: var(--space-4); }
.exclusive-copy { display: grid; gap: var(--space-2); max-width: 44ch; font-size: 19px; }
@media (min-width: 760px) { .exclusive-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-5); } }

/* 8. Pick your suburb: the city as type, and the picked suburb's real streets in a drawn frame */
.city { margin-top: var(--space-6); }
.city-label { padding: 0 var(--gutter); margin-bottom: var(--space-2); font-size: 18px; font-weight: 720; font-stretch: 100%; letter-spacing: 0; }
.wall, .pick { font-stretch: 125%; font-weight: 820; letter-spacing: -0.04em; line-height: 0.98; font-size: clamp(26px, 8.4vw, 44px); }
.wall { white-space: nowrap; color: #DADADA; margin-left: -0.6em; user-select: none; }
.city-grid { display: grid; gap: var(--space-4); padding: var(--space-1) var(--gutter); }
.pick { display: flex; flex-wrap: wrap; gap: 0 0.28em; align-content: start; }
.sub { font: inherit; letter-spacing: inherit; line-height: inherit; color: var(--ink); background: none; border: 0; padding: 0.02em 0.06em 0.06em; text-align: left; }
.sub:hover { text-decoration: underline; text-decoration-thickness: 0.07em; text-underline-offset: 0.08em; }
.sub[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.viewer { container-type: inline-size; display: grid; gap: var(--space-2); align-content: start; margin-right: var(--space-1); }
.viewer[hidden] { display: none; }
.viewer-name { font-size: clamp(28px, 12cqi, 96px); font-weight: 820; font-stretch: 125%; letter-spacing: -0.045em; line-height: 0.9; }
.viewer-map { position: relative; aspect-ratio: 1200 / 680; overflow: hidden; background: #EFEFEF; }
.viewer-map.is-loading::after { content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 40%; background: var(--ink); }
.viewer-map svg { display: block; width: 100%; height: 100%; }
.viewer-map .m-ring, .viewer-map .m-markers, .viewer-map .m-pin, .viewer-map .m-callout, .viewer-map .m-dim { display: none; }
.viewer-map .m-yours-house, .viewer-map .m-listing-house { fill: url(#fk-roof); stroke: var(--ink); stroke-width: 0.9; }
.viewer-credit { font-size: 13px; color: var(--muted); }
.viewer-cta { justify-self: start; margin-top: var(--space-1); }
.city-note { padding: var(--space-3) var(--gutter) 0; font-size: 15px; color: var(--muted); max-width: 62ch; }
@media (min-width: 760px) {
  .viewer { margin-right: var(--space-2); }
  .wall { font-size: 5.4vw; }
  .pick { font-size: clamp(28px, 3.7vw, 60px); }
  .city-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-5); align-items: start; padding-top: var(--space-2); padding-bottom: var(--space-2); }
}

/* 9. The question, then the enquiry as one sentence to fill in: one focused column. Red only on the submit. */
.walkthrough { padding: 0 var(--gutter); }
.walkthrough-inner { max-width: 40rem; margin: 0 auto; display: grid; justify-items: center; text-align: center; }
.walkthrough h2 { font-size: clamp(34px, calc((100vw - 2 * var(--gutter)) / 4.9), 112px); line-height: 0.88; text-wrap-style: balance; }
.walkthrough-lede { margin-top: var(--space-3); max-width: 46ch; font-size: 19px; }
/* The enquiry as one sentence to fill in: underlined blanks in the page's type, no boxes. */
.sentence-form { width: 100%; max-width: 46rem; margin-top: var(--space-2); }
#form-heading p { font-size: 16px; color: var(--muted); }
.sentence { margin: var(--space-4) 0 0; font-size: clamp(22px, 3.1vw, 36px); line-height: 1.75; font-weight: 700; font-stretch: 112%; letter-spacing: -0.01em; text-wrap: pretty; }
.sentence input { field-sizing: content; min-width: 7ch; max-width: 100%; height: 1.2em; margin: 0 0.06em; padding: 0 0.08em; line-height: 1.2; border: 0; border-bottom: 3px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); font: inherit; letter-spacing: inherit; text-align: center; vertical-align: baseline; }
.sentence input::placeholder { color: #767676; font-weight: 500; }
.sentence input:focus { outline: none; border-bottom-color: var(--red); background: #F2F2F2; }
.sentence input:focus-visible { outline: none; }
.sentence input:user-invalid { border-bottom-color: var(--red-deep); }
@supports not (field-sizing: content) {
  .sentence #name, .sentence #agency, .sentence #phone { width: 9.5ch; }
  .sentence #suburb { width: 8ch; }
  .sentence #email { width: 13ch; }
}
.sentence-form .consent { justify-content: center; grid-template-columns: 22px auto; margin: var(--space-4) auto 0; max-width: 34rem; text-align: left; }
.sentence-form .form-button { width: auto; min-width: 16rem; margin-top: var(--space-4); padding: 0 var(--space-5); font-size: 20px; }
.sentence-form .form-privacy { margin-top: var(--space-2); }
.sentence-form .form-status { margin-top: var(--space-2); }
.sentence-form .form-success { margin-top: var(--space-4); }
.sentence-form .form-success h3 { font-size: clamp(30px, 4vw, 48px); }
@media (max-width: 599px) {
  .sentence { text-align: left; }
  .sentence-form .form-button { width: 100%; }
}
@media (min-width: 760px) {
  .walkthrough h2 { font-size: min(9vw, 112px); }
}
