/* 500 Valley Airport Drive, Cotter AR - single-listing page.
   Kit: MOVA ("lines that draw the page", ~/Dev/parts KITS.md): a ruled page whose lines draw themselves as you
   scroll, photos that settle as they arrive, big confident type, nothing bounces. Transformed for a river house
   with a boat dock at one end and a hangar at the other: limestone page, tarmac charcoal ink, river green,
   cedar, and ONE bright accent, marking yellow.
   Type: Lateral (Schick Toikka, variable: condensed heavy for headlines, extended caps for plates and labels)
   + GT Era Text Light (Grilli Type) for reading.
   Signature: "the line". One painted centreline (yellow dashes on a strip of tarmac) runs down the page from
   the hangar to the dock, where the tarmac stops and the line turns river green. Each stop hangs off it with
   a plate. Without JS the line is fully painted; with JS it paints itself down as you walk the page. */

@font-face{font-family:"Lateral";src:url(fonts/lateral-var-latin.woff2) format("woff2");font-weight:600 800;font-style:normal;font-display:swap}
@font-face{font-family:"Era";src:url(fonts/gt-era-text-light.woff2) format("woff2");font-weight:300;font-style:normal;font-display:swap}

:root{
  --stone:#ebe7de; --stone-2:#e2ddd1; --stone-3:#d3ccbe; --stone-hi:#f4f1ea;
  --ink:#212426; --ink-2:#34383a; --ink-3:#5d6164;
  --tarmac:#2a2d2f; --tarmac-2:#373a3c;
  --yellow:#f2bf1b; --yellow-hi:#f8cf3e; --yellow-deep:#c99a06;
  --river:#1f4a3e; --river-2:#28594b; --river-lt:#6db095; --river-pale:#cfdcd3;
  --cedar:#98582f;
  --line:rgb(33 36 38 / .16); --line-lt:rgb(235 231 222 / .2);

  --display:"Lateral","Arial Narrow",Arial,sans-serif;
  --text:"Era","Helvetica Neue",Arial,sans-serif;

  --navh:64px;
  --frame:1600px;
  --pad-nav:28px;     /* tier 1: nav + footer hug the edges */
  --pad-hero:72px;    /* tier 2: hero */
  --lx:128px;         /* the line's centre, from the frame's left edge */
  --lw:24px;          /* width of the tarmac strip */
  --dw:6px;           /* width of the painted dashes */
  --dl:30px; --dp:54px; /* dash length, dash + gap */
  --tile:40px;
  --cx:200px;         /* tier 3: body content starts here, beside the line */
  --pr:72px;
  --gap:24px;
  --sec-pt:120px; --sec-pb:40px;
  --ease:cubic-bezier(.16,1,.3,1);
  --r:3px;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:calc(var(--navh) + 16px);background:var(--stone)}
body{margin:0;background:var(--stone);color:var(--ink);font:300 18px/1.6 var(--text);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
figure{margin:0}
h1,h2,h3,p,dl,dd,ol,ul{margin:0}
ol,ul{padding:0;list-style:none}
strong{font-weight:inherit;color:var(--ink)}
.nw{white-space:nowrap}
:focus-visible{outline:2px solid var(--river);outline-offset:3px;border-radius:2px}
.skip{position:absolute;left:12px;top:-60px;z-index:100;background:var(--tarmac);color:var(--stone);padding:10px 16px;border-radius:var(--r);text-decoration:none}
.skip:focus{top:12px}

/* ---------- type ---------- */
.h2{font-family:var(--display);font-weight:700;font-size:clamp(44px,4.7vw,78px);line-height:.96;letter-spacing:-.004em;color:var(--ink)}
.h2--quote .q{color:var(--ink-3)}
.h3{font-family:var(--display);font-weight:700;font-size:clamp(30px,2.6vw,42px);line-height:1;color:var(--ink)}
.body{color:var(--ink-2);max-width:60ch}
.body--lg{font-size:clamp(18px,1.5vw,21px);line-height:1.55}
.label,.cite{font-family:var(--display);font-weight:600;font-variation-settings:"wdth" 720;font-size:11.5px;line-height:1.2;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3)}
.cite{margin-top:14px}
.link{display:inline-flex;gap:10px;align-items:center;font-family:var(--display);font-weight:600;font-variation-settings:"wdth" 720;font-size:12px;letter-spacing:.1em;text-transform:uppercase;text-decoration:none;color:var(--ink);padding:6px 0;background:linear-gradient(currentColor,currentColor) 0 100%/100% 1px no-repeat;transition:background-size .4s var(--ease)}
.link:hover{background-size:30% 1px}

/* ---------- buttons: marking yellow with charcoal letters, square like a painted plate; they press in ---------- */
.btn{--bg:var(--yellow);--fg:var(--ink);--bd:var(--yellow-deep);
  display:inline-flex;align-items:center;justify-content:center;gap:12px;
  padding:15px 24px;min-height:48px;border-radius:var(--r);
  background:var(--bg);color:var(--fg);border:1px solid var(--bd);
  font-family:var(--display);font-weight:650;font-variation-settings:"wdth" 430;font-size:16px;line-height:1.1;letter-spacing:.01em;
  text-decoration:none;white-space:nowrap;cursor:pointer;
  box-shadow:0 2px 0 var(--yellow-deep),0 6px 14px -6px rgb(33 36 38 / .35);
  transition:transform .12s ease,box-shadow .12s ease,background-color .2s ease}
.btn:hover{background:var(--yellow-hi);transform:translateY(1px);box-shadow:0 1px 0 var(--yellow-deep),0 3px 8px -4px rgb(33 36 38 / .35)}
.btn:active{transform:translateY(2px);box-shadow:0 0 0 var(--yellow-deep);transition-duration:.06s}
.btn--sm{min-height:40px;padding:10px 16px;font-size:14.5px}
.btn--lg{min-height:56px;padding:17px 26px;font-size:17px}
.btn--line{--bg:transparent;--fg:var(--ink);--bd:rgb(33 36 38 / .35);box-shadow:none}
.btn--line:hover{background:rgb(33 36 38 / .06);box-shadow:none}
.btn__arrow{transition:transform .3s var(--ease)}
.btn:hover .btn__arrow{transform:translateX(4px)}
.cta-tel{display:none!important}

/* ---------- nav ---------- */
.nav{position:fixed;inset:0 0 auto 0;z-index:50;height:var(--navh);display:flex;align-items:center;justify-content:space-between;gap:24px;
  padding:0 var(--pad-nav);background:rgb(235 231 222 / .94);backdrop-filter:blur(12px) saturate(1.1);-webkit-backdrop-filter:blur(12px) saturate(1.1);
  box-shadow:0 1px 0 var(--line);transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.nav.is-hidden{transform:translateY(-101%)}
.nav__mark{display:flex;align-items:center;gap:12px;text-decoration:none}
.nav__glyph{display:block;width:10px;height:30px;flex:none}
.nav__name{font-family:var(--display);font-weight:700;font-variation-settings:"wdth" 320;font-size:20px;line-height:1;letter-spacing:.005em}
.nav__links{display:flex;gap:34px;position:absolute;left:50%;transform:translateX(-50%)}
.nav__links a,.nav__tel,.nav__photos{font-family:var(--display);font-weight:600;font-variation-settings:"wdth" 700;font-size:12px;letter-spacing:.1em;text-transform:uppercase;text-decoration:none;color:var(--ink);position:relative;padding:6px 0}
.nav__links a::after,.nav__tel::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--yellow);transform:scaleX(0);transform-origin:right;transition:transform .35s var(--ease)}
.nav__links a:hover::after,.nav__tel:hover::after{transform:scaleX(1);transform-origin:left}
.nav__act{display:flex;align-items:center;gap:24px}
.nav__photos{display:none}

/* ---------- hero ---------- */
.hero{padding-top:var(--navh)}
.hero__photo{max-width:2048px;margin:0 auto;height:clamp(280px,calc(100svh - var(--navh) - 214px - min(12.4vw,212px)),640px);overflow:hidden;background:var(--stone-3)}
.hero__photo a{display:block;height:100%;cursor:zoom-in}
.hero__photo img{width:100%;height:100%;object-fit:cover;object-position:50% 62%}
.hero__body{max-width:var(--frame);margin:0 auto;padding:22px var(--pad-hero) 26px}
.hero__title{font-family:var(--display);font-weight:760;font-size:clamp(60px,6.9vw,118px);line-height:.9;letter-spacing:-.006em;color:var(--ink)}
.ht{display:flex;align-items:center;gap:.2em}
.ht--b{justify-content:flex-end}
.ht__t{flex:0 1 auto;text-wrap:balance}
/* the leader: a short stretch of tarmac with the painted centreline, filling the rest of the line */
.ht__lead{flex:1 1 0;min-width:1.1em;height:.19em;margin-top:.06em;background:repeating-linear-gradient(90deg,var(--yellow) 0 .4em,transparent .4em .64em) 0 50%/100% .055em no-repeat var(--tarmac)}
@media (prefers-reduced-motion:no-preference){
  .ht__lead{animation:paint 1s var(--ease) .25s both}
  .ht--b .ht__lead{animation-delay:.7s}
}
@keyframes paint{from{background-size:0 .055em}to{background-size:100% .055em}}

.hero__row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:48px;align-items:end;margin-top:26px}
.hero__lede{font-size:17.5px;line-height:1.5;color:var(--ink-2);max-width:21em}
.hero__lede span{display:block;text-wrap:balance}
.hero__addr{font-family:var(--display);font-weight:600;font-variation-settings:"wdth" 700;font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3)}
.hero__price{font-family:var(--display);font-weight:700;font-variation-settings:"wdth" 300;font-size:46px;line-height:1;margin-top:8px;font-variant-numeric:lining-nums}
.hero__mls{margin-top:8px;font-size:14.5px;color:var(--ink-3)}
.hero__mls i,.foot__line i{font-style:normal;margin:0 6px;color:var(--yellow-deep)}
.hero__act{display:grid;justify-items:start;gap:12px}
.hero__agent{font-size:15px;color:var(--ink-2)}

/* ---------- the line's map: a strip of tarmac across the page, six stops ---------- */
.map{background:var(--tarmac);color:var(--stone)}
.map__in{max-width:var(--frame);margin:0 auto;padding:46px var(--pr) 52px calc(var(--lx) - var(--tile) / 2);position:relative}
.map__head{display:flex;align-items:baseline;gap:22px;margin-bottom:34px}
.map__k{font-family:var(--display);font-weight:600;font-variation-settings:"wdth" 720;font-size:12px;line-height:1.2;letter-spacing:.12em;text-transform:uppercase;color:var(--yellow)}
.map__t{font-family:var(--display);font-weight:650;font-variation-settings:"wdth" 300;font-size:clamp(26px,2.3vw,34px);line-height:1.05;color:var(--stone)}
.map__stops{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0 20px;position:relative}
/* the painted line through the six tiles; its last stretch (lower level to the dock) turns river green */
.map__stops::before,.map__stops::after{content:"";position:absolute;top:calc(var(--tile) / 2 - var(--dw) / 2);height:var(--dw);pointer-events:none}
.map__stops::before{left:calc(var(--tile) / 2);right:calc((100% - 100px) / 6 - var(--tile) / 2);
  background:repeating-linear-gradient(90deg,var(--yellow) 0 var(--dl),transparent var(--dl) var(--dp))}
.map__stops::after{left:calc(((100% - 100px) / 6 + 20px) * 4 + var(--tile));right:calc((100% - 100px) / 6 - var(--tile) / 2);
  background:var(--tarmac) repeating-linear-gradient(90deg,var(--river-lt) 0 var(--dl),transparent var(--dl) var(--dp))}
.stop{display:flex;flex-direction:column;align-items:flex-start;gap:16px;text-decoration:none;color:var(--stone);position:relative;z-index:1}
.stop__t{font-family:var(--display);font-weight:600;font-variation-settings:"wdth" 620;font-size:12px;line-height:1.35;letter-spacing:.08em;text-transform:uppercase;color:rgb(235 231 222 / .86);text-wrap:balance;transition:color .25s ease}
@media (min-width:1181px){.stop__t{white-space:nowrap}}
.stop:hover .stop__t{color:var(--yellow)}
.stop:hover .tile{transform:translateY(-3px)}
.stop--end:hover .stop__t{color:var(--river-lt)}

/* a tile: the small square plate that marks a stop on the line */
.tile{display:inline-grid;place-items:center;flex:none;width:var(--tile);height:var(--tile);border-radius:var(--r);background:var(--yellow);color:var(--ink);
  font-family:var(--display);font-weight:760;font-variation-settings:"wdth" 400;font-size:calc(var(--tile) * .46);line-height:1;
  box-shadow:0 0 0 2px var(--tarmac);transition:transform .3s var(--ease)}
.tile--river{background:var(--river);color:var(--stone);box-shadow:0 0 0 2px var(--stone)}
.map .tile--river{background:var(--river-lt);color:var(--tarmac);box-shadow:0 0 0 2px var(--tarmac)}

/* ---------- the walk: the line itself ---------- */
.walk{position:relative}
.walk__lane{position:absolute;top:0;bottom:0;z-index:0;width:var(--lw);background:var(--tarmac);
  left:calc(max(0px,(100% - var(--frame)) / 2) + var(--lx) - var(--lw) / 2)}
.walk__paint{position:absolute;top:calc(var(--sec-pt) * .45);bottom:0;left:50%;width:var(--dw);transform:translateX(-50%);
  background:repeating-linear-gradient(to bottom,var(--yellow) 0 var(--dl),transparent var(--dl) var(--dp));
  clip-path:inset(0 0 calc(100% - var(--paint,100%)) 0)}
.dock__head{position:relative}
.dock__line{position:absolute;top:0;z-index:0;width:var(--dw);height:calc(var(--sec-pt) + var(--tile) / 2);
  left:calc(max(0px,(100% - var(--frame)) / 2) + var(--lx) - var(--dw) / 2);
  background:repeating-linear-gradient(to bottom,var(--river-2) 0 var(--dl),transparent var(--dl) var(--dp));
  clip-path:inset(0 0 calc(100% - var(--paint,100%)) 0)}

/* ---------- sections hanging off the line ---------- */
.sec{position:relative;padding:var(--sec-pt) 0 var(--sec-pb)}
.walk .sec{padding-bottom:0}
.wrap{position:relative;z-index:1;max-width:var(--frame);margin:0 auto;padding:0 var(--pr) 0 var(--cx)}
.plate{display:flex;align-items:center;gap:calc(var(--cx) - var(--lx) - var(--tile) / 2);margin-left:calc(var(--lx) - var(--cx) - var(--tile) / 2)}
.plate__t{flex:none;font-family:var(--display);font-weight:650;font-variation-settings:"wdth" 720;font-size:12.5px;line-height:1.2;letter-spacing:.12em;text-transform:uppercase;color:var(--ink)}
.plate::after{content:"";flex:1;height:1px;background:var(--line);margin-left:6px}
.plate--river .plate__t{color:var(--river)}

.head{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:28px 64px;align-items:end;margin:40px 0 48px}
.head__side .body{max-width:44ch}
.head--end{grid-template-columns:minmax(0,1fr);margin-bottom:0;gap:0}
.head--end .cite{margin-top:18px}

.ph a{display:block;overflow:hidden;background:var(--stone-3);border-radius:2px;cursor:zoom-in}
.ph img{width:100%;height:100%;object-fit:cover;object-position:var(--pos,50% 50%);transition:transform 1.1s var(--ease)}
.ph a:hover img{transform:scale(1.025)}
.ph figcaption,.grow__cap{margin-top:12px;font-size:14px;line-height:1.4;color:var(--ink-3)}

.pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--gap)}
.pair .ph a{aspect-ratio:4/3}
.duo{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:var(--gap);align-items:start}
.duo--flip{grid-template-columns:minmax(0,1fr) minmax(0,2fr);margin-top:var(--gap)}
.duo .ph--wide a{aspect-ratio:3/2}
.duo .ph--tall a{aspect-ratio:3/4}
.ph--band a{aspect-ratio:21/9}
.sub{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:var(--gap) 64px;align-items:end;margin-top:96px}
.sub__txt{padding-bottom:40px}
.sub__txt .body{margin-top:18px;max-width:40ch}
.sub .ph a{aspect-ratio:3/2}
.sub--flip{grid-template-columns:minmax(0,7fr) minmax(0,5fr)}
.sub--flip .sub__txt{order:2}
.trio{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--gap);margin-top:var(--gap)}
.trio .ph a{aspect-ratio:4/3}
.chips{display:flex;flex-wrap:wrap;gap:10px}
.chips li{font-family:var(--display);font-weight:600;font-variation-settings:"wdth" 520;font-size:15px;line-height:1.2;padding:9px 14px;border:1px solid var(--line);border-radius:var(--r);background:var(--stone-hi);color:var(--ink-2);text-wrap:nowrap}

/* the dock: the tarmac has stopped; the line is river green */
.sec--dock{padding-top:0;padding-bottom:120px}
.dock__head{padding-top:var(--sec-pt)}
.dock__head .h2{color:var(--river)}
.dock__head .h2 .q{color:var(--river-2)}
.grow{--grow-top:48px}
.after{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:var(--gap) 64px;align-items:end;margin-top:72px}
.after .ph a{aspect-ratio:3/2}
.after__txt{padding-bottom:36px}
.after__txt .body{max-width:34ch}
.after__txt .link{margin-top:28px}

/* ---- GROW: a photo that grows to fill the screen as you scroll (Eric 11-22: "one image trick that would work well
   sometimes is the one where a scroll expands the image to full screen"). See tools/property-page/parts/grow/README.md.
   --gw / --gh = the pixel size of the largest image FILE. The frame never gets bigger than that, so the photo is
   never upscaled: on a screen larger than the photo it stops as a large plate with the page colour around it.
   With no JS, or under reduced motion, it is a plain full-width photo with its caption. ---- */
.grow{position:relative;--p:1}
.grow__pin{display:grid;justify-items:center;margin:0}
.grow__frame{display:block;overflow:hidden;width:min(100vw,calc(var(--gw)*1px));aspect-ratio:var(--gw)/var(--gh);max-height:min(100svh,calc(var(--gh)*1px));cursor:zoom-in}
.grow__frame img{display:block;width:100%;height:100%;object-fit:cover;object-position:var(--gpos,50% 50%)}
.grow__cap{margin-top:12px;padding:0 20px;text-align:center;text-wrap:balance}

/* wide screens, JS on, motion allowed: the photo is pinned and grows from a framed plate to the full screen */
@media (min-width:900px){
  /* the negative top margin lifts the small plate up under whatever comes before it (--grow-top = the gap left) */
  .grow.is-live{height:calc(100svh + var(--grow-run,105vh));margin-top:calc(-1*(100svh - min(100svh,calc(var(--gh)*1px))*var(--g0,.56))/2 + var(--grow-top,72px))}
  .grow.is-live .grow__pin{position:sticky;top:0;height:100svh;align-content:center;overflow:hidden}
  .grow.is-live .grow__frame{aspect-ratio:auto;max-height:none;height:min(100svh,calc(var(--gh)*1px));
    transform:scale(calc(var(--g0,.56) + (1 - var(--g0,.56))*var(--p)));border-radius:calc((1 - var(--p))*var(--grow-r,0px));will-change:transform}
  .grow.is-live .grow__cap{position:absolute;left:0;right:0;top:calc(50% + min(100svh,calc(var(--gh)*1px))*var(--g0,.56)/2 + var(--grow-cap-gap,24px));margin:0;opacity:calc(1 - var(--p)*3.2);pointer-events:none}
}
/* phones and small tablets: no pin (a pinned screen feels stuck under a thumb). The photo widens from an inset
   card to edge to edge as it comes into view, at a taller crop so it has some height. */
@media (max-width:899px){
  .grow__frame{aspect-ratio:var(--gm,4/3);max-height:none}
  .grow.is-live .grow__frame{transform:scale(calc(.86 + .14*var(--p)));border-radius:calc((1 - var(--p))*var(--grow-r,0px));will-change:transform}
}

/* ---------- key facts ---------- */
.sec--facts{background:var(--river);color:var(--stone);padding:112px 0}
.facts{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:48px 80px;align-items:start}
.facts__lead{position:sticky;top:calc(var(--navh) + 32px)}
.facts__lead .h2{color:var(--stone)}
.facts__price{margin-top:28px;font-family:var(--display);font-weight:700;font-variation-settings:"wdth" 300;font-size:clamp(48px,4.4vw,68px);line-height:1;color:var(--yellow)}
.facts__addr{margin:12px 0 32px;font-size:17px;color:rgb(235 231 222 / .82)}
.facts__list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 40px}
.facts__list>div{padding:18px 0 20px;border-top:1px solid var(--line-lt)}
.facts__list .wide{grid-column:1/-1}
.facts__list dt{font-family:var(--display);font-weight:600;font-variation-settings:"wdth" 700;font-size:11.5px;line-height:1.2;letter-spacing:.1em;text-transform:uppercase;color:var(--river-lt)}
.facts__list dd{margin-top:8px;font-size:18px;line-height:1.45;color:var(--stone)}

/* ---------- Gary ---------- */
.sec--agent{padding:112px 0}
.agent{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:0 80px;align-items:stretch}
.agent__ph{background:var(--cedar);border-radius:var(--r);display:grid;place-items:center;padding:40px;min-height:100%}
.agent__ph img{width:200px;height:200px;object-fit:cover;border-radius:2px;box-shadow:0 0 0 6px rgb(235 231 222 / .16)}
.agent__card{padding:8px 0}
.agent__card .h2{margin-top:16px}
.agent__role{margin-top:16px;font-size:19px;color:var(--ink)}
.agent__office{margin-top:4px;font-size:16px;color:var(--ink-3)}
.agent__lines{margin-top:30px;border-top:1px solid var(--line)}
.agent__lines>div{display:grid;grid-template-columns:110px 1fr;align-items:baseline;padding:13px 0;border-bottom:1px solid var(--line)}
.agent__lines dt{font-family:var(--display);font-weight:600;font-variation-settings:"wdth" 700;font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3)}
.agent__lines dd{font-size:19px;color:var(--ink)}
.agent__lines a{text-decoration:none;background:linear-gradient(var(--yellow),var(--yellow)) 0 100%/0 2px no-repeat;transition:background-size .35s var(--ease)}
.agent__lines a:hover{background-size:100% 2px}
.agent__act{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
.agent__note{margin-top:18px;font-size:15.5px;color:var(--ink-3)}

/* ---------- all photos ---------- */
.sec--photos{background:var(--stone-2);padding:104px 0 112px}
.photos__head{display:flex;align-items:baseline;justify-content:space-between;gap:24px;margin-bottom:36px}
.photos__head .h2{font-size:clamp(40px,4vw,64px)}
.grid50{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:6px}
.thumb{display:block;aspect-ratio:4/3;overflow:hidden;border-radius:2px;background:var(--stone-3);cursor:zoom-in}
.thumb img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease)}
.thumb:hover img{transform:scale(1.06)}

/* ---------- footer ---------- */
.foot{background:var(--tarmac);color:var(--stone)}
.foot__in{padding:72px var(--pad-nav) 28px}
.foot__top{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;padding-bottom:36px;border-bottom:1px solid var(--line-lt)}
.foot__mark{font-family:var(--display);font-weight:700;font-size:clamp(44px,5.6vw,92px);line-height:.92;color:var(--stone)}
.foot__line{font-family:var(--display);font-weight:600;font-variation-settings:"wdth" 700;font-size:12px;line-height:1.6;letter-spacing:.1em;text-transform:uppercase;color:rgb(235 231 222 / .78);text-align:right}
.foot__cols{display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:40px;padding:36px 0;font-size:15.5px;line-height:1.6;color:rgb(235 231 222 / .86)}
.foot__cols a{color:var(--stone)}
.foot__k{font-family:var(--display);font-weight:600;font-variation-settings:"wdth" 700;font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--yellow);margin-bottom:12px}
.foot__legal p{max-width:74ch}
.foot__legal p+p{margin-top:10px}
.eho{display:flex;align-items:center;gap:10px;margin-top:16px!important;color:var(--stone)}
.eho svg{width:26px;height:26px;flex:none}
.foot__base{display:flex;justify-content:flex-end;padding-top:20px;border-top:1px solid var(--line-lt)}
.foot__toplink{font-family:var(--display);font-weight:600;font-variation-settings:"wdth" 700;font-size:12px;letter-spacing:.1em;text-transform:uppercase;text-decoration:none;color:var(--stone)}

/* phone contact bar */
.dock{display:none}

/* ---------- full-screen viewer ---------- */
.lb{width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:rgb(26 28 29 / .97);color:var(--stone)}
.lb::backdrop{background:rgb(26 28 29 / .7)}
.lb[open]{display:grid;grid-template-rows:auto 1fr}
.lb__bar{display:flex;justify-content:space-between;align-items:center;padding:16px var(--pad-nav)}
.lb__count{font-family:var(--display);font-weight:600;font-variation-settings:"wdth" 700;font-size:12px;letter-spacing:.12em}
.lb__x{appearance:none;background:transparent;color:var(--stone);border:1px solid rgb(235 231 222 / .4);border-radius:var(--r);padding:10px 16px;font:600 14px/1 var(--display);cursor:pointer}
.lb__fig{display:grid;place-items:center;padding:0 80px 24px;min-height:0}
.lb__fig img{max-width:100%;max-height:calc(100dvh - 140px);width:auto;height:auto;object-fit:contain;border-radius:2px}
.lb__fig figcaption{margin-top:12px;font-size:14px;color:rgb(235 231 222 / .75);text-align:center}
.lb__nav{position:absolute;top:50%;transform:translateY(-50%);appearance:none;width:52px;height:52px;border-radius:50%;border:1px solid rgb(235 231 222 / .35);background:rgb(235 231 222 / .06);color:var(--stone);font:400 20px/1 var(--text);cursor:pointer}
.lb__nav:hover{background:rgb(235 231 222 / .16)}
.lb__nav--prev{left:16px}.lb__nav--next{right:16px}

/* motion: headings rise and photos settle as they arrive (JS marks only what starts below the fold; body text never hides) */
@media (prefers-reduced-motion:no-preference){
  .js .rise{opacity:0;transform:translateY(28px);transition:opacity .9s var(--ease),transform 1.1s var(--ease)}
  .js .rise.is-in{opacity:1;transform:none}
  .js .settle img{transform:scale(1.08);transition:transform 1.8s var(--ease)}
  .js .settle.is-in img{transform:none}
  .js .settle.is-in a:hover img{transform:scale(1.025)}
}

/* ---------- tablet ---------- */
@media (max-width:1180px){
  :root{--pad-hero:52px;--lx:100px;--cx:156px;--pr:44px;--pad-nav:24px}
  .nav__links{gap:24px}
  .nav__tel{display:none}
  .hero__row{grid-template-columns:minmax(0,1fr) auto;gap:28px 40px}
  .hero__lede{grid-column:1/-1;max-width:40em}
  .head{gap:24px 40px}
  .sub{gap:var(--gap) 40px}
  .facts{gap:48px}
  .agent{gap:0 48px}
  .grid50{grid-template-columns:repeat(10,minmax(0,1fr))}
}

/* ---------- phones ---------- */
@media (max-width:899px){
  :root{--navh:56px;--pad-nav:16px;--pad-hero:16px;--lx:22px;--lw:14px;--dw:4px;--dl:18px;--dp:32px;--tile:28px;--cx:52px;--pr:16px;--gap:12px;--sec-pt:76px;--sec-pb:32px}
  body{font-size:16.5px;padding-bottom:calc(68px + env(safe-area-inset-bottom))}
  .cta-mail{display:none!important}
  .cta-tel{display:inline-flex!important}
  .nav__links,.nav__act .btn,.nav__tel{display:none}
  .nav__photos{display:inline;font-size:11.5px}
  .nav__name{font-size:18px}
  .nav__glyph{height:26px;width:9px}

  .hero__photo{height:218px}
  .hero__photo img{object-position:47% 62%;transform:scale(1.42);transform-origin:47% 61%}
  .hero__body{padding:16px var(--pad-hero) 22px}
  .hero__title{font-size:12.6vw;line-height:.9}
  .ht{display:block}
  .ht--a .ht__lead{display:none}
  .ht--b{display:flex;flex-direction:column;align-items:flex-end}
  .ht--b .ht__lead{flex:none;align-self:stretch;height:.19em;margin:.2em 0 .22em}
  .ht--b .ht__t{text-align:right}
  .hero__row{grid-template-columns:1fr;gap:14px;margin-top:14px}
  .hero__lede{font-size:15.5px;line-height:1.45;grid-column:auto;max-width:19.6em}
  .hero__addr{display:none}
  .hero__deal{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap}
  .hero__price{font-size:34px;margin-top:0}
  .hero__mls{margin-top:0;font-size:14px}
  .hero__act{gap:10px;justify-items:stretch}
  .hero__act .btn{width:100%}
  .hero__agent{font-size:14px}

  .map__in{padding:40px var(--pr) 44px calc(var(--lx) - var(--tile) / 2)}
  .map__head{display:block;margin-bottom:26px;padding-left:calc(var(--cx) - var(--lx) + var(--tile) / 2)}
  .map__t{margin-top:8px;font-size:26px}
  .map__stops{grid-template-columns:1fr;gap:18px}
  .map__stops::before,.map__stops::after{top:calc(var(--tile) / 2);left:calc(var(--tile) / 2 - var(--dw) / 2);width:var(--dw);height:auto;right:auto}
  .map__stops::before{bottom:calc(var(--tile) / 2);background:repeating-linear-gradient(to bottom,var(--yellow) 0 var(--dl),transparent var(--dl) var(--dp))}
  .map__stops::after{top:calc((var(--tile) + 18px) * 4 + var(--tile));bottom:calc(var(--tile) / 2);background:var(--tarmac) repeating-linear-gradient(to bottom,var(--river-lt) 0 var(--dl),transparent var(--dl) var(--dp))}
  .stop{flex-direction:row;align-items:center;gap:calc(var(--cx) - var(--lx) - var(--tile) / 2)}
  .stop__t{font-size:12px}

  .head{grid-template-columns:1fr;gap:18px;margin:28px 0 28px}
  .h2{font-size:40px;line-height:.98}
  .h3{font-size:30px}
  .head__side .body{max-width:none}
  .plate__t{font-size:11.5px}
  .pair{grid-template-columns:1fr;gap:20px}
  .duo,.duo--flip{grid-template-columns:1fr;gap:20px}
  .duo .ph--tall a{aspect-ratio:4/5}
  .ph--band a{aspect-ratio:4/3}
  .sub,.sub--flip{grid-template-columns:1fr;gap:20px;margin-top:56px}
  .sub--flip .sub__txt{order:0}
  .sub__txt{padding-bottom:0}
  .sub__txt .body{margin-top:12px;max-width:none}
  .trio{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px;margin-top:20px}
  .trio .ph:first-child{grid-column:1/-1}
  .trio .ph:first-child a{aspect-ratio:3/2}
  .trio .ph figcaption{font-size:13px}
  .chips{gap:8px}
  .chips li{font-size:14px;padding:8px 11px}

  .sec--dock{padding-bottom:72px}
  .after{grid-template-columns:1fr;gap:16px;margin-top:36px}
  .after__txt{padding-bottom:0}
  .sec--dock>.wrap{padding-left:var(--pr)}

  .sec--facts{padding:76px 0}
  .sec--facts .wrap,.sec--agent .wrap,.sec--photos .wrap{padding-left:var(--pr)}
  .facts{grid-template-columns:1fr;gap:32px}
  .facts__lead{position:static}
  .facts__price{margin-top:18px}
  .facts__addr{margin-bottom:24px}
  .facts__lead .btn{width:100%}
  .facts__list{gap:0 20px}
  .facts__list dd{font-size:16.5px}

  .sec--agent{padding:72px 0}
  .agent{grid-template-columns:1fr;gap:28px}
  .agent__ph{padding:32px;min-height:0}
  .agent__ph img{width:160px;height:160px}
  .agent__lines>div{grid-template-columns:84px 1fr}
  .agent__lines dd{font-size:17px}
  .agent__act .btn{width:100%}

  .sec--photos{padding:72px 0 76px}
  .photos__head{flex-direction:column;gap:8px;margin-bottom:24px}
  .grid50{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}

  .foot__in{padding:56px var(--pad-nav) 24px}
  .foot__top{flex-direction:column;align-items:flex-start;gap:16px}
  .foot__mark{font-size:44px}
  .foot__line{text-align:left;display:flex;flex-direction:column;gap:2px}
  .foot__line i{display:none}
  .foot__cols{grid-template-columns:1fr;gap:26px}

  .lb__fig{padding:0 12px 80px}
  .lb__nav{top:auto;bottom:18px;transform:none}

  .dock{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:8px;position:fixed;left:0;right:0;bottom:0;z-index:60;
    height:calc(68px + env(safe-area-inset-bottom));padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:var(--tarmac);box-shadow:0 -1px 0 rgb(0 0 0 / .25)}
  .dock__b{display:flex;align-items:center;justify-content:center;gap:8px;height:48px;border-radius:var(--r);background:var(--tarmac-2);color:var(--stone);
    font-family:var(--display);font-weight:650;font-variation-settings:"wdth" 430;font-size:15.5px;line-height:1;text-decoration:none;border:1px solid rgb(235 231 222 / .14)}
  .dock__b--main{background:var(--yellow);color:var(--ink);border-color:var(--yellow-deep)}
  .dock__b svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}
  .dock__b:active{transform:translateY(2px)}
}
@media (max-width:899px) and (min-width:600px){
  .grid50{grid-template-columns:repeat(5,minmax(0,1fr))}
  .hero__photo{height:340px}
  .hero__title{font-size:9.6vw}
}

@media (prefers-reduced-motion:reduce){
  .nav{transition:none}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

/* ---- Line-length pass (Eric 11-22: "make sure we run a visual pass on each for the line length issue").
   Short blocks of text are set to even lines, so none ends on a stray word or two. long-blocks.js in site.js
   switches blocks over six lines to "pretty". Re-measure with tools/property-page/lines.mjs after any copy change. ---- */
p,li,dd,dt,figcaption,blockquote,h1,h2,h3,h4{text-wrap:balance}
