/* 455 Anne Road, Mayne Island. Kits: MOVA (hairlines that draw in, photos that settle) + San Felice (the slow long-glide
   curve); display face Publico Headline Light Italic (from the MORPHO teardown), a lane-like slant, transformed for a Gulf Islands winter homestead. Palette from the photos:
   winter-field straw page, pond slate ink and deep bands, grey-blue siding panels, fir green only on the actions. */

/* Publico Headline Light Italic (Commercial Type): the page's one display cut, declared as the family's regular so every display line uses it as drawn */
@font-face { font-family: "Publico Headline LI"; src: url("fonts/publico-headline-light-italic.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Unica"; src: url("fonts/unica-light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Unica"; src: url("fonts/unica-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --straw: #eadfc0;        /* the dry winter grass, as paper */
  --straw-hi: #f3ecd7;
  --straw-lo: #e0d2aa;
  --hay: #a89260;
  --slate: #26343e;        /* the pond */
  --slate-deep: #1c272f;
  --slate-mid: #3d4d58;
  --pond: #55708a;
  --siding: #c9d2d5;       /* the farmhouse siding */
  --siding-lo: #b9c4c8;
  --roof: #a3a8ac;         /* the metal roof */
  --fir: #2f5240;          /* the firs: actions only */
  --fir-hi: #284636;
  --gravel: #827c64;       /* the lane */
  --ink: #26343e;
  --ink-2: #51606a;
  --rule: rgba(38, 52, 62, .2);
  --rule-lt: rgba(243, 236, 215, .2);
  --f-d: "Publico Headline LI", "Iowan Old Style", Georgia, serif;
  --f-t: "Unica", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --nav-h: 64px;
  --body-w: 1200px;
  --hero-w: 1320px;
  --pad: 18px;
  --sec-y: clamp(88px, 9vw, 148px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --glide: cubic-bezier(.12, 0, .48, 1);
  --shadow-rgb: 28 39 47;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--straw); color: var(--ink); font: 400 17px/1.55 var(--f-t); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
p, h1, h2, h3, figure, blockquote, dl, dd, ol, ul { margin: 0; padding: 0; }
p, li, dd, dt, figcaption, blockquote, h1, h2, h3, td, th { text-wrap: balance; }
sup { font-size: .55em; line-height: 0; vertical-align: .62em; margin-left: .04em; }
.nw { white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--slate); color: var(--straw-hi); border-radius: 3px; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--pond); outline-offset: 3px; }

.wrap { width: min(100% - 2 * var(--pad), var(--body-w)); margin-inline: auto; }

/* ---------- type ---------- */
.label { font: 400 12px/1.3 var(--f-t); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); display: flex; align-items: center; gap: 14px; }
.label::before { content: ""; width: 34px; height: 1px; background: currentColor; transform-origin: left; }
.label--c { justify-content: center; }
.label--c::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.h2 { font: 400 clamp(36px, 4.7vw, 66px)/1.04 var(--f-d); letter-spacing: -.008em; font-synthesis: none; margin-top: 22px; }
.h3 { font: 400 clamp(28px, 2.7vw, 36px)/1.12 var(--f-d); letter-spacing: 0; }
.body { font-size: 17px; line-height: 1.6; max-width: 62ch; }
.body--lg { font: 300 clamp(18px, 1.45vw, 21px)/1.55 var(--f-t); }
.hq { margin-left: -.34em; }  /* hanging opening quote */
.link { display: inline-flex; align-items: center; gap: 10px; font: 400 14px/1 var(--f-t); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; padding: 10px 0; border-bottom: 1px solid currentColor; transition: gap .2s var(--ease), color .2s; }
.link svg { width: 10px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .25s var(--ease); }
.link:hover svg { transform: translateY(3px); }
.link:active { color: var(--fir); }

/* ---------- buttons: fir green, square-ish, they press in ---------- */
.btn { --bg: var(--fir); --fg: #f3ecd7; display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 15px 24px; border-radius: 3px; background: var(--bg); color: var(--fg); font: 400 15px/1.1 var(--f-t); letter-spacing: .03em; text-decoration: none; border: 1px solid color-mix(in oklab, #fff 12%, var(--bg)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 2px rgb(var(--shadow-rgb) / .16), 0 6px 14px rgb(var(--shadow-rgb) / .12); transition: transform .14s var(--ease), box-shadow .14s var(--ease), background .14s; white-space: nowrap; }
.btn:hover { --bg: var(--fir-hi); transform: translateY(1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 1px 2px rgb(var(--shadow-rgb) / .2), 0 3px 8px rgb(var(--shadow-rgb) / .12); }
.btn:active { transform: translateY(3px); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .2); transition-duration: .07s; }
.btn:focus-visible { outline: 2px solid var(--pond); outline-offset: 3px; }
.btn--lg { padding: 17px 26px; font-size: 16px; }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--line { --bg: transparent; --fg: var(--ink); border: 1px solid var(--ink); box-shadow: none; }
.btn--line:hover { --bg: rgba(38, 52, 62, .06); box-shadow: none; }
.btn__arrow { width: 20px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .25s var(--ease); flex: none; }
.btn:hover .btn__arrow { transform: translateX(3px); }
.cta-tel { display: none; }
@media (max-width: 899px) { .cta-mail { display: none; } .cta-tel { display: inline-flex; } }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); display: flex; align-items: center; gap: 32px; padding: 0 22px; background: rgba(234, 223, 192, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: transform .42s var(--ease), border-color .3s; }
.nav.is-solid { border-color: var(--rule); }
.nav.is-hidden { transform: translateY(-101%); }
@media (prefers-reduced-motion: reduce) { .nav { transition: none; } }
.nav__mark { display: flex; align-items: baseline; gap: 14px; text-decoration: none; font: 400 22px/1 var(--f-d); letter-spacing: 0; white-space: nowrap; }
.nav__mark small { font: 400 11px/1 var(--f-t); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); padding-left: 14px; border-left: 1px solid var(--rule); }
.mark { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; flex: none; }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a, .nav__photos, .nav__tel { font: 400 13px/1 var(--f-t); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 8px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease); }
.nav__links a:hover, .nav__photos:hover, .nav__tel:hover { background-size: 100% 1px; }
.nav__tel { letter-spacing: .06em; }
.nav__act { display: flex; align-items: center; gap: 22px; }
.nav__photos { display: none; }

/* ---------- hero ---------- */
.hero { display: flex; min-height: 100svh; padding: calc(var(--nav-h) + 20px) 0 34px; }
.hero__in { width: min(100% - 120px, var(--hero-w)); margin: 0 auto; display: grid; grid-template-columns: 420px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 48px; }
.hero__meta { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-bottom: 14px; position: relative; font: 400 12px/1.4 var(--f-t); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.hero__meta::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--rule); transform-origin: left; animation: rule .7s var(--glide) both; }
.hero__where { display: flex; gap: 22px; }
.hero__sale { color: var(--fir); }
.hero__mls { letter-spacing: .14em; }
.hero__title { grid-column: 1 / -1; font: 400 clamp(48px, 7.2vw, 104px)/1.02 var(--f-d); letter-spacing: -.012em; margin: 26px 0 30px; animation: rise .7s var(--ease) both; }
.hero__side { grid-column: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-width: 0; }
.hero__price { font: 400 clamp(40px, 3.8vw, 54px)/1 var(--f-d); letter-spacing: -.005em; }
.hero__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.hero__facts div { display: flex; flex-direction: column-reverse; gap: 8px; padding: 16px 0 14px; }
.hero__facts div + div { padding-left: 18px; border-left: 1px solid var(--rule); }
.hero__facts dd { font: 400 34px/1 var(--f-d); letter-spacing: 0; }
.hero__facts dt { font: 400 11px/1 var(--f-t); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.hero__lede { font: 300 19px/1.5 var(--f-t); color: var(--ink); }
.hero__lede span { display: block; text-wrap: balance; }
.hero__act { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 24px; }
.hero__agent { font-size: 14px; color: var(--ink-2); letter-spacing: .01em; }
.hero__agent strong { font-weight: 400; color: var(--ink); }
.hero__plate { grid-column: 2; position: relative; min-height: 380px; overflow: hidden; margin-right: calc((min(100vw - 120px, var(--hero-w)) - 100vw) / 2); background: var(--straw-lo); }
.hero__plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 52% 58%; cursor: zoom-in; animation: settle 2.4s cubic-bezier(.37, 0, .13, 1) both; }
.hero__plate figcaption { position: absolute; left: 16px; bottom: 16px; padding: 8px 12px; background: var(--straw-hi); font: 400 11px/1 var(--f-t); letter-spacing: .18em; text-transform: uppercase; color: var(--ink); border-radius: 2px; }

@keyframes rule { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }

/* ---------- sections ---------- */
.sec { padding: var(--sec-y) 0; position: relative; }
.ph { position: relative; overflow: hidden; background: var(--straw-lo); }
.ph img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform 1.2s var(--ease); }
.ph--43 { aspect-ratio: 4 / 3; }
.ph--32 { aspect-ratio: 3 / 2; }
.ph--45 { aspect-ratio: 4 / 5; }
.ph:hover img { transform: scale(1.02); }
.js .settle img { transform: scale(1.06); }
.js .settle.is-in img { transform: scale(1); transition: transform 2.2s cubic-bezier(.37, 0, .13, 1); }

/* ---------- UP THE DRIVEWAY ---------- */
.lane { padding-bottom: clamp(96px, 9vw, 150px); }
.lane__head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; align-items: end; }
.lane__head .h2 { font-size: clamp(44px, 5.9vw, 84px); }
.lane__intro { display: grid; gap: 18px; padding-bottom: 8px; }
.lane__intro .body--lg { max-width: 52ch; }
.lane__note { font: 400 13px/1.5 var(--f-t); color: var(--ink-2); max-width: 52ch; padding-left: 16px; border-left: 1px solid var(--hay); }

.field { position: relative; width: min(100% - 2 * var(--pad), var(--body-w)); margin: clamp(48px, 5vw, 80px) auto 0; padding-top: 112px; }
.lane__svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.lane__bed { fill: none; stroke: var(--straw-lo); stroke-linecap: round; stroke-linejoin: round; }
.lane__trk { fill: none; stroke: var(--gravel); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.lane__ahead { opacity: .42; }
.stops { list-style: none; position: relative; z-index: 1; }
.lane__fallback { position: absolute; top: 0; bottom: 0; left: 50%; width: 16px; transform: translateX(-50%); border-left: 2px solid var(--gravel); border-right: 2px solid var(--gravel); opacity: .55; pointer-events: none; }
.js .lane__fallback { display: none; }

.stop { position: relative; width: 45%; }
.stop--r { margin-left: auto; }
.stop + .stop { margin-top: -48px; }
.stop--words { width: max-content; max-width: 45%; padding: 40px 0 24px; }
.stop--3 { margin-top: 0 !important; }
.stop--4 { margin-top: -24px !important; }
.stop__q { font: 400 clamp(32px, 3.4vw, 48px)/1.08 var(--f-d); letter-spacing: -.005em; margin-bottom: 22px; padding-left: .34em; }
.stop__q--big { font-size: clamp(52px, 6.2vw, 88px); margin-bottom: 14px; }
.stop__cap, .stop__two figcaption { display: block; font: 400 14px/1.45 var(--f-t); color: var(--ink-2); margin-top: 12px; letter-spacing: .01em; }
.stop__note { font: 400 13px/1.45 var(--f-t); letter-spacing: .14em; text-transform: uppercase; color: #6b5a33; margin-top: 8px; }
.stop--words .stop__note { padding-left: .34em; }
.stop__pair { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: end; margin-top: 28px; }
.ph--pond { aspect-ratio: 860 / 540; }
.stop__side .stop__cap { margin-top: 0; }
.stop__two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.stop__two .ph { aspect-ratio: 3 / 2; }
.stop__two figcaption { position: static; }

.arrive { position: relative; z-index: 1; width: 62%; margin-top: 72px; }
.arrive__ph { aspect-ratio: 4 / 3; }
.arrive__txt { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 6px 32px; margin-top: 4px; }
.arrive__txt .stop__cap { grid-column: 1 / -1; }
.arrive__line { font: 400 clamp(26px, 2.4vw, 33px)/1.2 var(--f-d); margin-top: 18px; }
.arrive__txt .link { margin-bottom: 4px; }

/* ---------- INSIDE (on pond slate) ---------- */
.inside { background: var(--slate); color: var(--straw-hi); }
.inside .label, .place .label { color: #c7b98f; }
.inside .ph { background: var(--slate-mid); }
.inside__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; }
.inside__intro { color: rgba(243, 236, 215, .86); }
.rooms { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 56px; margin-top: clamp(56px, 6vw, 96px); }
.r-foyer { grid-column: 1 / 6; }
.r-living { grid-column: 6 / 13; align-self: end; }
.room figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; margin-top: 16px; }
.tag { display: inline-flex; align-items: baseline; gap: 14px; }
.tag b { font: 400 12px/1 var(--f-t); letter-spacing: .2em; text-transform: uppercase; }
.tag span { font: 400 21px/1 var(--f-d); letter-spacing: 0; color: #d9cba3; }
.cap { flex-basis: 100%; font: 400 14.5px/1.45 var(--f-t); color: rgba(243, 236, 215, .7); }
.inside__quote { margin-top: clamp(80px, 8vw, 130px); display: flex; flex-direction: column; align-items: center; text-align: center; }
.pull { font: 400 clamp(34px, 4.5vw, 64px)/1.08 var(--f-d); letter-spacing: -.005em; max-width: 19ch; }
.pull__by { margin-top: 18px; font: 400 12px/1 var(--f-t); letter-spacing: .2em; text-transform: uppercase; color: #c7b98f; }
.band { margin: clamp(44px, 5vw, 72px) auto 0; max-width: 1600px; }
.band__ph { overflow: hidden; }
.band img { width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; object-position: 50% 55%; cursor: zoom-in; transition: transform 1.2s var(--ease); }
.band figcaption { margin-top: 14px; font-size: 14.5px; color: rgba(243, 236, 215, .7); }
.rooms--three .room { grid-column: span 4; }
.rooms--dining { align-items: center; }
.r-dining { grid-column: 1 / 8; }
.beds { grid-column: 8 / 13; padding-left: clamp(0px, 3vw, 40px); }
.beds .body { margin-top: 18px; color: rgba(243, 236, 215, .86); }
.sizes { margin-top: 26px; border-top: 1px solid var(--rule-lt); }
.sizes div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--rule-lt); }
.sizes dt { font: 400 12px/1.3 var(--f-t); letter-spacing: .16em; text-transform: uppercase; color: rgba(243, 236, 215, .72); }
.sizes dd { font: 400 21px/1 var(--f-d); white-space: nowrap; }
.rooms--bath { align-items: start; }
.r-bath { grid-column: 1 / 8; }
.r-stack { grid-column: 8 / 13; display: grid; gap: 32px; }

/* ---------- OUTSIDE ---------- */
.out__head { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px; align-items: end; }
.out__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; margin-top: clamp(56px, 6vw, 88px); }
.o-front { grid-column: 1 / 9; }
.o-deck { grid-column: 9 / 13; align-self: end; }
.o-patio { grid-column: 1 / 7; }
.o-field { grid-column: 7 / 13; margin-top: 72px; }
.out figcaption.stop__cap { margin-top: 14px; }

/* ---------- MINERS BAY ---------- */
.place { background: var(--slate-deep); color: var(--straw-hi); text-align: center; }
.place__in { display: flex; flex-direction: column; align-items: center; }
.place__q { margin-top: 34px; font: 400 clamp(34px, 4.3vw, 62px)/1.1 var(--f-d); letter-spacing: -.005em; max-width: 25ch; }
.place__q p { padding-left: .34em; }
.place .pull__by { margin-top: 22px; }
.place__more { margin-top: 34px; color: rgba(243, 236, 215, .8); max-width: 54ch; }

/* ---------- KEY FACTS (siding panel) ---------- */
.facts { background: var(--siding); }
.facts__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; }
.facts__lead { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: end; column-gap: 48px; padding-bottom: 40px; border-bottom: 1px solid var(--ink); }
.facts__price { font: 400 clamp(52px, 5.8vw, 86px)/1 var(--f-d); letter-spacing: -.008em; margin-top: 22px; }
.facts__addr { font-size: 16px; color: var(--ink-2); padding-bottom: 18px; }
.facts__lead .btn { margin-bottom: 4px; }
.facts__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
.facts__list div { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.facts__list .wide { grid-template-columns: 11em minmax(0, 1fr); }
.facts__list .wide { grid-column: 1 / -1; }
.facts__list dt { font: 400 12px/1.5 var(--f-t); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); padding-top: 2px; }
.facts__list dd { font-size: 16px; line-height: 1.45; }
.rooms-t { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 56px; align-items: start; }
.rooms-t table { grid-column: 2; }
.rooms-t__k { font: 400 clamp(28px, 2.6vw, 36px)/1.15 var(--f-d); letter-spacing: 0; color: var(--ink); max-width: 12ch; }
.rooms-t table { width: 100%; border-collapse: collapse; font-size: 16px; }
.rooms-t th { text-align: left; font: 400 11.5px/1 var(--f-t); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); padding: 0 0 12px; border-bottom: 1px solid var(--ink); }
.rooms-t td { padding: 11px 0; border-bottom: 1px solid var(--rule); vertical-align: baseline; }
.rooms-t .t-lvl { font: 400 21px/1 var(--f-d); width: 22%; vertical-align: top; padding-top: 13px; }
.rooms-t .t-size { font: 400 21px/1 var(--f-d); text-align: right; white-space: nowrap; }
.rooms-t th:last-child { text-align: right; }
.rooms-t tr.lvl td { border-top: 1px solid var(--ink); }

/* ---------- DEANNA ---------- */
.agent { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); align-items: stretch; }
.agent__ph { position: relative; overflow: hidden; background: var(--siding); min-height: 420px; }
.agent__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.agent__card { padding: 8px 0 6px; }
.agent__card .h2 { font-size: clamp(42px, 5vw, 72px); }
.agent__role { margin-top: 14px; font: 300 19px/1.45 var(--f-t); }
.agent__lines { margin-top: 30px; border-top: 1px solid var(--rule); max-width: 640px; }
.agent__lines div { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.agent__lines dt { font: 400 12px/1.6 var(--f-t); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.agent__lines dd { font-size: 17px; }
.agent__lines a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: color .2s; }
.agent__lines a:hover { color: var(--fir); }
.agent__site { display: flex; flex-wrap: wrap; gap: 10px 28px; max-width: 640px; padding: 14px 0; border-bottom: 1px solid var(--rule); font: 400 16.5px/1.5 var(--f-t); }
.agent__site a { color: var(--fir); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-wrap: balance; }
.agent__site a:hover { color: var(--fir-hi); text-decoration-thickness: 2px; }
.agent__act { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.agent__note { margin-top: 22px; font-size: 15px; color: var(--ink-2); max-width: 52ch; }

/* ---------- ALL PHOTOS ---------- */
.photos { padding-top: 0; }
.photos__head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-top: var(--sec-y); border-top: 1px solid var(--rule); }
.photos__head .h2 { margin-top: 0; font-size: clamp(30px, 3.2vw, 44px); }
.photos__head .body { color: var(--ink-2); font-size: 15px; }
.grid40 { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 36px; }
.thumb { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--straw-lo); cursor: zoom-in; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.thumb:hover img { transform: scale(1.04); }
.thumb:focus-visible { outline-offset: 2px; }

/* ---------- footer ---------- */
.foot { background: var(--slate-deep); color: var(--straw-hi); padding: 72px 22px 26px; }
.foot__top { display: flex; justify-content: space-between; align-items: end; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--rule-lt); flex-wrap: wrap; }
.foot__mark { display: flex; align-items: center; gap: 16px; font: 400 clamp(44px, 5.9vw, 88px)/1.04 var(--f-d); letter-spacing: -.008em; }
.foot__mark .mark { width: clamp(34px, 3.6vw, 52px); height: auto; aspect-ratio: 1; stroke-width: 1.3; }
.foot__line { display: flex; flex-wrap: wrap; gap: 8px 0; font: 400 13px/1.3 var(--f-t); letter-spacing: .16em; text-transform: uppercase; color: rgba(243, 236, 215, .76); padding-bottom: 8px; }
.foot__line span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 14px 2px; border-radius: 50%; background: #c7b98f; vertical-align: middle; }
.foot__cols { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 3fr) minmax(0, 6fr); gap: 40px; padding-top: 36px; }
.foot__cols p { font-size: 15px; line-height: 1.55; color: rgba(243, 236, 215, .86); }
.foot__k { font: 400 11.5px/1.3 var(--f-t) !important; letter-spacing: .2em; text-transform: uppercase; color: #c7b98f !important; margin-bottom: 12px; }
.foot__cols a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }
.foot__cols a:hover { color: #fff; }
.foot__legal p { font-size: 13px; line-height: 1.6; color: rgba(243, 236, 215, .7); max-width: 74ch; }
.foot__legal p + p { margin-top: 10px; }
.foot__base { display: flex; justify-content: flex-end; margin-top: 44px; }
.foot__toplink { display: inline-flex; align-items: center; gap: 10px; font: 400 12px/1 var(--f-t); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: rgba(243, 236, 215, .8); padding: 10px 0; }
.foot__toplink svg { width: 10px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .25s var(--ease); }
.foot__toplink:hover svg { transform: translateY(-3px); }

/* ---------- phone dock ---------- */
.dock { display: none; }

/* ---------- viewer ---------- */
.lb { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--slate-deep); color: var(--straw-hi); }
.lb::backdrop { background: rgba(28, 39, 47, .9); }
.lb[open] { display: grid; grid-template-rows: auto 1fr; }
.lb__bar { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; }
.lb__count { font: 400 13px/1 var(--f-t); letter-spacing: .16em; }
.lb__x { font: 400 13px/1 var(--f-t); letter-spacing: .18em; text-transform: uppercase; color: inherit; background: none; border: 1px solid var(--rule-lt); border-radius: 3px; padding: 11px 16px; cursor: pointer; }
.lb__x:hover { border-color: var(--straw-hi); }
.lb__fig { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 0; padding: 0 76px 24px; }
.lb__fig img { max-width: min(100%, 1600px); max-height: calc(100svh - 150px); width: auto; height: auto; object-fit: contain; }
.lb__fig figcaption { margin-top: 14px; font-size: 15px; color: rgba(243, 236, 215, .78); min-height: 1.4em; text-align: center; }
.lb__nav { position: absolute; top: 50%; translate: 0 -50%; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--rule-lt); background: rgba(28, 39, 47, .6); color: var(--straw-hi); cursor: pointer; display: grid; place-items: center; transition: border-color .2s, background .2s; }
.lb__nav:hover { border-color: var(--straw-hi); background: rgba(28, 39, 47, .9); }
.lb__nav:active { translate: 0 calc(-50% + 2px); }
.lb__nav svg { width: 20px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.lb__nav--prev { left: 14px; }
.lb__nav--next { right: 14px; }

/* ---------- reveals (below the fold only; never the headline, price or contact) ---------- */
.js .draw::before { transform: scaleX(0); transition: transform 1.4s var(--glide); }
.js .draw.is-in::before { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  .hero__title, .hero__plate img, .hero__meta::after { animation: none; }
  .js .settle img, .ph img, .thumb img { transform: none !important; transition: none !important; }
  .js .draw::before { transform: none; transition: none; }
}

/* =================== desktop, narrower =================== */
@media (max-width: 1240px) {
  .hero__in { grid-template-columns: 380px minmax(0, 1fr); column-gap: 40px; }
}

/* =================== phones and small tablets =================== */
@media (max-width: 899px) {
  :root { --nav-h: 56px; --pad: 18px; }
  body { font-size: 16px; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .nav { padding: 0 16px; gap: 16px; }
  .nav__mark { font-size: 19px; }
  .mark { width: 22px; height: 22px; }
  .nav__links, .nav__tel, .nav__act .btn { display: none; }
  .nav__act { margin-left: auto; }
  .nav__photos { display: inline-block; font-size: 12px; }

  .hero { min-height: 0; padding: calc(var(--nav-h) + 14px) 0 40px; }
  .hero__in { width: calc(100% - 32px); grid-template-columns: minmax(0, 1fr); grid-template-rows: none; column-gap: 0; }
  .hero__meta { font-size: 11px; letter-spacing: .14em; padding-bottom: 10px; }
  .hero__where { gap: 0; }
  .hero__sale, .hero__street, .hero__mls { display: none; }
  .hero__title { font-size: 9.02vw; line-height: 1.08; letter-spacing: -.01em; margin: 16px 0 18px; }
  .hero__plate { grid-column: 1; grid-row: 3; margin: 0 -16px; min-height: 0; aspect-ratio: 3 / 2; }
  .hero__plate img { object-position: 52% 52%; }
  .hero__plate figcaption { left: 12px; bottom: 12px; font-size: 10px; padding: 7px 10px; }
  .hero__side { grid-column: 1; grid-row: 4; margin-top: 18px; gap: 14px; }
  .hero__deal { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
  .hero__price { font-size: 35px; }
  .hero__facts { display: flex; gap: 0; margin-top: 0; border: 0; }
  .hero__facts div, .hero__facts div + div { flex-direction: row; align-items: baseline; gap: 5px; padding: 0; border: 0; }
  .hero__facts dd { order: 1; }
  .hero__facts dt { order: 2; }
  .hero__facts div + div::before { content: ""; order: 0; align-self: center; width: 4px; height: 4px; margin: 0 7px 0 12px; border-radius: 50%; background: var(--hay); }
  .hero__facts dd, .hero__facts dt { font: 400 13px/1.3 var(--f-t); letter-spacing: .03em; text-transform: lowercase; color: var(--ink-2); }
  .hero__facts div:last-child { display: none; }
  .nav__mark small { display: none; }
  .hero__lede { font-size: 14px; font-weight: 400; line-height: 1.5; }
  .hero__act { margin-top: 14px; gap: 12px; align-items: stretch; }
  .hero__act .btn { width: 100%; }
  .hero__agent { font-size: 13px; text-align: center; }

  .h2 { font-size: 33px; }
  .lane__head, .inside__head, .out__head { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .lane__head .h2 { font-size: 44px; }
  .field { width: auto; margin: 44px 18px 0 0; padding: 28px 0 0 56px; }
  .lane__fallback { left: -30px; transform: none; width: 10px; }
  .stop, .stop--words { width: auto; max-width: none; }
  .stop + .stop { margin-top: 64px; }
  .stop--3, .stop--4 { margin-top: 56px !important; }
  .stop--words { padding: 0; }
  .stop--r { margin-left: 0; }
  .stop__q { font-size: 30px; margin-bottom: 16px; }
  .stop__q--big { font-size: 50px; }
  .stop__pair { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 22px; }
  .stop__two { gap: 10px; }
  .arrive { width: auto; margin-top: 64px; }
  .arrive__txt { grid-template-columns: minmax(0, 1fr); }
  .arrive__line { font-size: 26px; }
  .arrive__txt .link { justify-self: start; }

  .rooms { grid-template-columns: minmax(0, 1fr); row-gap: 40px; margin-top: 44px; }
  .rooms > *, .r-foyer, .r-living, .r-dining, .beds, .r-bath, .r-stack, .rooms--three .room { grid-column: 1 / -1; }
  .r-stack { gap: 40px; }
  .rooms--three .ph--45 { aspect-ratio: 4 / 3; }
  .r-foyer .ph--45 { aspect-ratio: 4 / 4.4; }
  .band img { aspect-ratio: 4 / 3; }
  .band figcaption { width: calc(100% - 36px); }
  .inside__quote { margin-top: 72px; }
  .pull { font-size: 33px; }
  .out__grid { grid-template-columns: minmax(0, 1fr); row-gap: 36px; margin-top: 44px; }
  .o-front, .o-deck, .o-patio, .o-field { grid-column: 1 / -1; margin-top: 0; }
  .o-deck .ph--45 { aspect-ratio: 4 / 3; }
  .place__q { font-size: 32px; }
  .facts__in { gap: 32px; }
  .facts__lead { grid-template-columns: minmax(0, 1fr); row-gap: 16px; padding-bottom: 32px; }
  .facts__addr { padding-bottom: 6px; }
  .facts__price { font-size: 50px; }
  .rooms-t { grid-template-columns: minmax(0, 1fr); row-gap: 18px; margin-top: 44px; }
  .rooms-t table { grid-column: 1; }
  .facts__lead .btn { width: 100%; }
  .facts__list { grid-template-columns: minmax(0, 1fr); }
  .facts__list div, .facts__list .wide { grid-template-columns: 8.2em minmax(0, 1fr); gap: 12px; }
  .rooms-t .t-lvl { font-size: 16px; }
  .rooms-t .t-size { font-size: 17px; }
  .agent { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .agent__ph { width: min(100%, 300px); min-height: 0; aspect-ratio: 3 / 4; }
  .agent__lines div { grid-template-columns: 5.4em minmax(0, 1fr); }
  .agent__lines dd { font-size: 16px; overflow-wrap: anywhere; }
  .agent__act .btn { flex: 1 1 100%; }
  .photos__head { flex-direction: column; gap: 10px; }
  .grid40 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 26px; }
  .foot { padding: 56px 18px 22px; }
  .foot__cols { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .foot__base { justify-content: flex-start; margin-top: 32px; }

  .dock { display: grid; grid-template-columns: 1.5fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: calc(64px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--slate-deep); }
  .dock__b { display: flex; align-items: center; justify-content: center; gap: 9px; color: var(--straw-hi); text-decoration: none; font: 400 15px/1 var(--f-t); letter-spacing: .03em; border-left: 1px solid var(--rule-lt); }
  .dock__b:active { background: rgba(243, 236, 215, .08); }
  .dock__b--main { background: var(--fir); border-left: 0; }
  .dock__b svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
  .lb__fig { padding: 0 12px 76px; }
  .lb__nav { top: auto; bottom: 18px; translate: none; }
  .lb__nav:active { translate: 0 2px; }
  .lb__nav--prev { left: calc(50% - 64px); }
  .lb__nav--next { right: calc(50% - 64px); }
  .lb__fig img { max-height: calc(100svh - 200px); }
}
