/* 2 Ocean Mist, Bar Harbor, Maine. The woods by the bay.
   Palette from the listing's own photos: weathered shingle silver (the grey cedar walls, p01) for the ground,
   spruce shade (the near-black green of the woods, p20/p21) for type and the quiet section, Thomas Bay at low tide
   (pale grey-blue water, buff sand bars, p23/p24) as the second colour, and lawn-chair red (p01/p32) as a small accent.
   Type: Signifier Light (Klim) for everything set to be read, GT America Mono (Grilli) for labels, keys and buttons.
   The octagon is the house's own window (the garage gable p30, the outbuilding p33, the vaulted room p06). */

@font-face { font-family: "Signifier"; src: url(fonts/signifier-light.woff2) format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "GT America Mono"; src: url(fonts/gt-america-mono.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --silver: #e3e1dc;      /* weathered shingle, light */
  --silver-2: #d7d4cd;    /* the grounds band */
  --silver-3: #ecebe7;
  --shingle: #6a6662;
  --spruce: #1c2620;      /* type, the air section, the footer */
  --spruce-2: #49534d;    /* secondary type on silver */
  --spruce-3: #27322b;
  --bay: #aab3bd;         /* Thomas Bay at low tide: the facts ground */
  --bay-2: #c4cbd2;
  --sand: #cdb98d;        /* the sand bars: rules and the rising rail */
  --chair: #c4391d;       /* the lawn chairs: the one button, the dot, the call key */
  --chair-d: #a52f16;
  --line: rgb(28 38 32 / .17);
  --line-l: rgb(227 225 220 / .2);

  --serif: "Signifier", ui-serif, Georgia, serif;
  --mono: "GT America Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --nav-h: 64px;
  --nav-x: clamp(16px, 2vw, 28px);     /* the frame */
  --hero-x: clamp(20px, 5vw, 72px);    /* the stage */
  --body-x: clamp(20px, 7.8vw, 112px); /* the reading column */
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* the phone call bar (listing-dock part) */
  --ldock-bg: var(--spruce);
  --ldock-line: rgb(227 225 220 / .12);
  --ldock-btn-bg: #2a352e;
  --ldock-btn-ink: #eceae5;
  --ldock-btn-border: rgb(227 225 220 / .14);
  --ldock-main-bg: var(--chair);
  --ldock-main-ink: #fff8f2;
  --ldock-main-border: rgb(255 255 255 / .2);
  --ldock-font: 400 13px/1 var(--mono);
  --ldock-focus: var(--silver);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--silver); color: var(--spruce);
  font: 300 18px/1.55 var(--serif); font-kerning: normal; font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
strong, b { font-weight: inherit; }   /* one weight of Signifier: never a faux bold */
p, h1, h2, h3, figure, blockquote, dl, dd, ol, ul { margin: 0; }
h1, h2, h3 { font-weight: 300; }
.nw { white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--spruce); color: var(--silver); font: 400 12px/1 var(--mono); text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--chair); outline-offset: 3px; }

p, li, dd, dt, figcaption, blockquote, h1, h2, h3 { text-wrap: balance; }

.wrap { max-width: 1440px; margin-inline: auto; padding-inline: var(--body-x); }

/* ---------- the octagon mark ---------- */
.oct { width: 30px; height: 30px; flex: none; overflow: visible; }
.oct__o { fill: none; stroke: currentColor; stroke-width: 1.3; }
.oct text { font: 300 17px var(--serif); fill: currentColor; }

/* ---------- labels ---------- */
.label { display: flex; align-items: center; gap: 12px; font: 400 11.5px/1.3 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--spruce-2); }
.label__n { position: relative; display: inline-grid; place-items: center; width: 34px; height: 34px; flex: none; font-size: 11px; letter-spacing: .02em; color: var(--spruce); }
.label__n::before { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Cpath d='M11.2 1h11.6L33 11.2v11.6L22.8 33H11.2L1 22.8V11.2z' fill='none' stroke='%231c2620' stroke-opacity='.55'/%3E%3C/svg%3E") center / contain no-repeat; }
.label--light { color: rgb(227 225 220 / .72); }
.label--light .label__n { color: var(--silver); }
.label--light .label__n::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Cpath d='M11.2 1h11.6L33 11.2v11.6L22.8 33H11.2L1 22.8V11.2z' fill='none' stroke='%23e3e1dc' stroke-opacity='.6'/%3E%3C/svg%3E"); }

/* ---------- type ---------- */
.h2 { margin-top: 22px; font: 300 clamp(34px, 3.75vw, 56px)/1.05 var(--serif); letter-spacing: -.022em; }
.h3 { font: 300 clamp(28px, 2.4vw, 36px)/1.1 var(--serif); letter-spacing: -.015em; }
.body { font-size: clamp(17.5px, 1.32vw, 19.5px); line-height: 1.58; color: var(--spruce); }
figcaption { margin-top: 12px; font: 400 11px/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--spruce-2); }

/* ---------- buttons: red like the lawn chairs, pressed in, never ink-filled ---------- */
.btn {
  --r: 2px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 24px; min-height: 52px; border-radius: var(--r);
  background: var(--chair); color: #fff8f2; border: 1px solid color-mix(in oklab, #fff 18%, var(--chair));
  box-shadow: 0 1px 0 rgb(255 255 255 / .16) inset, 0 2px 3px rgb(28 38 32 / .18), 0 6px 14px -6px rgb(28 38 32 / .32);
  font: 400 12.5px/1.1 var(--mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; text-align: center;
  transition: transform .12s var(--ease), box-shadow .12s var(--ease), background-color .12s var(--ease);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; cursor: pointer;
}
.btn:hover { background: var(--chair-d); transform: translateY(1px); box-shadow: 0 1px 0 rgb(255 255 255 / .12) inset, 0 1px 2px rgb(28 38 32 / .22), 0 3px 8px -4px rgb(28 38 32 / .3); }
.btn:active { transform: translateY(3px); box-shadow: 0 0 0 rgb(0 0 0 / 0), inset 0 1px 2px rgb(0 0 0 / .18); transition-duration: .07s; }
.btn:focus-visible { outline: 2px solid var(--spruce); outline-offset: 3px; }
.btn--sm { min-height: 40px; padding: 11px 16px; font-size: 11px; }
.btn--line { background: transparent; color: var(--spruce); border: 1px solid rgb(28 38 32 / .45); box-shadow: none; }
.btn--line:hover { background: rgb(28 38 32 / .06); box-shadow: none; }
.btn--line:active { box-shadow: inset 0 1px 2px rgb(28 38 32 / .16); }
.cta-tel { display: none !important; }
@media (max-width: 899px) { .cta-mail { display: none !important; } .cta-tel { display: inline-flex !important; } }

/* ---------- header ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; gap: 28px; padding: 0 var(--nav-x);
  background: rgb(227 225 220 / 0); box-shadow: 0 1px 0 rgb(28 38 32 / 0);
  transition: transform .35s var(--ease), background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.nav.is-solid { background: rgb(227 225 220 / .9); -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(calc(-100% - 4px)); box-shadow: none; }
.nav__mark { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.nav__name { font: 300 20px/1 var(--serif); letter-spacing: -.01em; }
.nav__place { font: 400 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--spruce-2); padding-left: 12px; border-left: 1px solid var(--line); }
.nav__links { display: flex; gap: 26px; }
.nav__links a, .nav__tel, .nav__photos { font: 400 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--spruce); }
.nav__links a { position: relative; padding: 8px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:hover::after, .nav__links a:focus-visible::after { transform: scaleX(1); }
.nav__act { display: flex; align-items: center; gap: 22px; }
.nav__photos { display: none; }
@media (max-width: 1239px) { .nav__links { display: none; } }
@media (max-width: 1080px) { .nav__place { display: none; } }
@media (max-width: 899px) {
  :root { --nav-h: 56px; }
  .nav { background: rgb(227 225 220 / .94); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  .nav__tel, .nav__act .btn { display: none; }
  .nav__photos { display: inline-block; padding: 10px 0; }
  .nav__name { font-size: 18px; }
  .oct { width: 26px; height: 26px; }
}

/* ---------- hero ---------- */
.hero { --side-w: clamp(320px, 25vw, 520px); display: flex; flex-direction: column; min-height: 100svh; padding: calc(var(--nav-h) + clamp(22px, 3.6vh, 44px)) 0 clamp(20px, 3vh, 32px); }
.hero__inner { flex: 1; display: flex; flex-direction: column; padding-left: var(--hero-x); }
.hero__eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font: 400 11.5px/1.2 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--spruce-2); }
.hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--chair); margin-right: -6px; }
.hero__eyebrow span + span:not(.dot)::before { content: ""; display: inline-block; width: 3px; height: 3px; margin: 0 16px 0 0; vertical-align: middle; border-radius: 50%; background: currentColor; opacity: .6; }
.hero__eyebrow .dot + span::before { display: none !important; }
.hero__title { margin-top: clamp(14px, 2vh, 22px); padding-right: var(--hero-x); font: 300 clamp(40px, 6.1vw, 128px)/.99 var(--serif); letter-spacing: -.028em; }
.hero__title > span { display: block; text-wrap: balance; }
.hero__row { flex: 1; display: grid; grid-template-columns: minmax(0, var(--side-w)) minmax(0, 1fr); column-gap: 48px; margin-top: clamp(24px, 4.2vh, 48px); }
.hero__side { display: flex; flex-direction: column; gap: 28px; padding: 2px 0 2px; }
.hero__price { font: 300 clamp(40px, 3.3vw, 72px)/1 var(--serif); letter-spacing: -.02em; }
.hero__addr { margin-top: 14px; font: 400 11.5px/1.65 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--spruce-2); text-wrap: balance; }
.hero__lede { margin-top: 2px; font-size: clamp(18px, 1.25vw, 24px); line-height: 1.5; }
@media (min-width: 900px) { .hero__addr .nw { display: block; } }
.hero__lede > span { display: block; text-wrap: balance; }
.hero__act { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: auto; }
.hero__agent { font-size: clamp(16px, 1.1vw, 20px); line-height: 1.45; color: var(--spruce-2); }
.hero__agent strong { color: var(--spruce); }
.hero__photo { position: relative; align-self: stretch; min-height: 400px; max-height: calc((100vw - var(--hero-x) - var(--side-w) - 48px) / 1.5); background: var(--silver-2); overflow: hidden; }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 58%; cursor: zoom-in; }

@media (max-width: 899px) {
  .hero { display: block; min-height: 0; padding-top: calc(var(--nav-h) + 16px); padding-bottom: 8px; }
  .hero__inner { display: block; }
  .hero__inner { padding-right: var(--hero-x); }
  .hero__eyebrow { font-size: 10.5px; gap: 6px 14px; }
  .hide-s { display: none; }
  .hero__title { margin-top: 12px; padding-right: 0; font-size: clamp(38px, 11.4vw, 66px); line-height: 1; }
  .hero__row { display: flex; flex-direction: column; margin-top: 16px; }
  .hero__photo { order: -1; min-height: 0; max-height: none; margin-inline: calc(-1 * var(--hero-x)); aspect-ratio: 5 / 3; }
  .hero__side { gap: 14px; margin-top: 16px; }
  .hero__deal { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
  .hero__price { font-size: 34px; }
  .hero__addr { margin-top: 0; font-size: 10.5px; }
  .hero__lede { margin-top: 0; font-size: 15.5px; line-height: 1.45; }
  .hero__act { gap: 10px; align-items: stretch; }
  .hero__agent { font-size: 13px; line-height: 1.4; }
}

@media (min-width: 640px) and (max-width: 899px) { .hero__title { font-size: 7vw; } }

/* ---------- sections ---------- */
.sec { padding-block: clamp(84px, 10vw, 156px); }
.head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; }
.head > .label { grid-column: 1 / -1; }
.head__t { grid-column: 1 / span 6; }
.head__t--wide { grid-column: 1 / span 10; }
.head__p { grid-column: 8 / span 5; align-self: end; padding-bottom: 6px; }

.ph { position: relative; }
.ph img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--silver-2); cursor: zoom-in; }

/* 01 the lawn: a big photo and a small one, paced by size */
.lawn__ph { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; margin-top: clamp(48px, 6vw, 88px); }
.lawn__ph .ph--a { grid-column: 1 / span 8; }
.lawn__ph .ph--b { grid-column: 9 / span 4; align-self: end; }

/* 02 inside */
.band { margin: clamp(48px, 6vw, 88px) auto 0; max-width: 1600px; }
.band img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 18%; background: var(--silver-2); cursor: zoom-in; }
.band figcaption.wrap { margin-top: 12px; }
.inside__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; row-gap: clamp(56px, 7vw, 104px); margin-top: clamp(64px, 8vw, 120px); }
.inside__grid .ph--k { grid-column: 1 / span 7; grid-row: 1; }
.inside__words { grid-column: 9 / span 4; grid-row: 1; align-self: center; }
.inside__words .body { margin-top: 32px; }
.inside__grid .ph--l { grid-column: 1 / span 4; grid-row: 2; align-self: end; }
.inside__grid .ph--g { grid-column: 6 / span 7; grid-row: 2; }

.quote p { font: 300 clamp(26px, 2.3vw, 34px)/1.22 var(--serif); letter-spacing: -.012em; text-indent: -.42em; }
.quote__src { display: block; font-style: normal; margin-top: 14px; font: 400 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--spruce-2); }
.quote--sm { margin-top: 28px; }
.quote--sm p { font-size: clamp(21px, 1.7vw, 25px); line-height: 1.28; }

/* 03 around the grounds */
.sec--grounds { background: var(--silver-2); }
.sec--grounds .ph img { background: #c9c5bd; }
.stop { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; margin-top: clamp(56px, 7.5vw, 112px); }
.stop .h3 { padding-top: 18px; border-top: 1px solid var(--line); }
.stop__words .body { margin-top: 16px; }
.stop--deck .ph { grid-column: 1 / span 7; }
.stop--deck .stop__words { grid-column: 9 / span 4; align-self: center; }
.stop--out .stop__words { grid-column: 1 / span 4; align-self: start; }
.stop__pair { grid-column: 5 / span 8; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px; align-items: end; }
.stop--out .ph--port img { aspect-ratio: 2 / 3; }
.stop--garage .stop__words { grid-column: 1 / span 4; align-self: end; padding-bottom: 36px; }
.stop--garage .ph { grid-column: 6 / span 7; }

/* 04 up over the trees: the listing's aerials, roof to bay */
.sec--air { background: var(--spruce); color: var(--silver); padding-block: clamp(84px, 10vw, 140px) 0; }
.air__stage { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
.air__text .h2 { color: var(--silver); }
.air__phrases { list-style: none; padding: 0; margin-top: 30px; }
.air__phrases li { font: 300 clamp(24px, 2.05vw, 31px)/1.2 var(--serif); letter-spacing: -.012em; text-indent: -.38em; color: var(--silver); }
.air__phrases li + li { margin-top: 16px; }
.air__note { margin-top: 28px; max-width: 34ch; font: 400 11px/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgb(227 225 220 / .62); }
.air__rail { display: none; }
.air__frames { display: grid; gap: 40px; }
.air__f img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--spruce-3); cursor: zoom-in; }
.air__f figcaption, .air__cap { color: rgb(227 225 220 / .66); }
.air__cap { display: none; }
.air__after { padding-block: clamp(64px, 8vw, 112px) clamp(84px, 10vw, 140px); }
.air__acadia { max-width: 46ch; font: 300 clamp(22px, 2vw, 30px)/1.3 var(--serif); letter-spacing: -.01em; color: var(--silver); }
@media (min-width: 900px) {
  .air__stage { grid-template-columns: minmax(0, 300px) 28px minmax(0, 1fr); column-gap: 44px; align-items: start; padding-right: var(--hero-x); }
  .air__text { grid-column: 1; grid-row: 1; position: sticky; top: 96px; }
  .air__rail { grid-column: 2; grid-row: 1; }
  .air__view { grid-column: 2 / -1; grid-row: 1; }
  .air.is-live .air__view { grid-column: 3; }
}

/* live: the frame holds still and the photos climb (site.js adds .is-live) */
.air.is-live { padding-top: 0; }
.air.is-live .air__track { height: 440svh; }
.air.is-live .air__stage { position: sticky; top: 0; height: 100svh; align-items: center; align-content: center; }
.air.is-live .air__text { position: static; }
.air.is-live .air__phrases li { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.air.is-live .air__phrases li.is-past { opacity: .34; transform: none; }
.air.is-live .air__phrases li.is-on { opacity: 1; transform: none; }
.air.is-live .air__frames { display: block; position: relative; width: min(100%, calc((100svh - 190px) * 1.5)); aspect-ratio: 3 / 2; background: var(--spruce-3); }
.air.is-live .air__f { position: absolute; inset: 0; opacity: 0; will-change: opacity; }
.air.is-live .air__f[data-i="0"] { opacity: 1; }
.air.is-live .air__f img { height: 100%; }
.air.is-live .air__f figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
.air.is-live .air__cap { display: flex; justify-content: space-between; gap: 20px; margin-top: 14px; width: min(100%, calc((100svh - 190px) * 1.5)); font: 400 11px/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.air__count { white-space: nowrap; }
.air__count b { font-weight: 400; color: var(--silver); }
@media (min-width: 900px) {
  .air.is-live .air__rail { position: relative; display: block; align-self: center; height: min(56svh, 420px); width: 28px; }
  .air__rail::before { content: ""; position: absolute; left: 13px; top: 0; bottom: 0; width: 1px; background: var(--line-l); }
  .air__rail i { position: absolute; left: 7px; width: 13px; height: 1px; background: rgb(227 225 220 / .45); }
  .air__rail i:nth-child(1) { bottom: 0; } .air__rail i:nth-child(2) { bottom: 25%; } .air__rail i:nth-child(3) { bottom: 50%; } .air__rail i:nth-child(4) { bottom: 75%; } .air__rail i:nth-child(5) { bottom: 100%; }
  .air__fill { position: absolute; left: 12px; bottom: 0; width: 3px; height: 100%; background: var(--sand); transform-origin: bottom; transform: scaleY(0); }
}
@media (max-width: 899px) {
  .air.is-live .air__stage { align-content: start; padding-top: calc(var(--nav-h) + 18px); row-gap: 22px; }
  .air.is-live .air__text .h2 { margin-top: 12px; font-size: 32px; }
  .air.is-live .air__phrases { margin-top: 16px; }
  .air.is-live .air__phrases li { font-size: 22px; }
  .air.is-live .air__phrases li + li { margin-top: 10px; }
  .air.is-live .air__note { margin-top: 16px; }
  .air.is-live .air__frames { width: auto; margin-inline: calc(-1 * var(--body-x)); }
  .air.is-live .air__cap { width: 100%; }
}

/* 05 key facts: on the bay's grey-blue */
.sec--facts { background: var(--bay); }
.facts { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; }
.facts__lead { grid-column: 1 / span 4; align-self: start; position: sticky; top: 96px; }
.facts__price { font-size: clamp(48px, 5vw, 76px); line-height: 1; letter-spacing: -.025em; }
.facts__addr { margin: 16px 0 34px; font-size: 19px; line-height: 1.4; }
.facts__list { grid-column: 6 / span 7; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px; border-bottom: 1px solid rgb(28 38 32 / .22); }
.facts__list > div { padding: 15px 0 16px; border-top: 1px solid rgb(28 38 32 / .22); }
.facts__list .facts__wide { grid-column: 1 / -1; }
.facts__list dt { font: 400 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgb(28 38 32 / .72); }
.facts__list dd { margin-top: 6px; font-size: 19px; line-height: 1.38; }

/* 06 agent card (agent-card part, plate mode with the small real headshot) */
.agent { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.agent__ph { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 360px; padding: clamp(32px, 3vw, 44px); background: var(--spruce); color: var(--silver); container-type: inline-size; }
.agent__ph::before { content: ""; position: absolute; inset: 14px; pointer-events: none; box-shadow: inset 0 0 0 1px rgb(227 225 220 / .34), inset 0 0 0 5px var(--spruce), inset 0 0 0 6px rgb(227 225 220 / .16); }
.agent__face { position: relative; width: 60px; height: 70px; object-fit: cover; border: 1px solid rgb(227 225 220 / .5); }
.agent__plate-foot { position: relative; margin: 0; display: flex; flex-direction: column; gap: 22px; font: inherit; letter-spacing: 0; text-transform: none; color: var(--silver); }
.agent__plate-name { display: block; font: 300 clamp(56px, 30cqi, 150px)/.9 var(--serif); letter-spacing: -.035em; }
@supports not (font-size: 1cqi) { .agent__plate-name { font-size: clamp(56px, 8vw, 130px); } }
.agent__plate-small { display: flex; flex-direction: column; gap: 4px; font: 400 10.5px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgb(227 225 220 / .72); }
.agent__card { min-width: 0; padding-block: 4px; }
.agent__name { font-size: clamp(40px, 4.4vw, 64px); line-height: 1; }
.agent__firm { margin-top: 16px; font-size: 20px; line-height: 1.4; }
.agent__firm span { display: block; margin-top: 2px; font-size: 16.5px; color: var(--spruce-2); }
.agent__lines { margin-top: 28px; border-top: 1px solid var(--line); }
.agent__lines > div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.agent__lines dt { font: 400 11px/1.9 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--spruce-2); }
.agent__lines dd { font-size: 19px; line-height: 1.35; overflow-wrap: anywhere; }
.agent__lines a { text-decoration: none; background: linear-gradient(var(--chair), var(--chair)) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.agent__lines a:hover, .agent__lines a:focus-visible { background-size: 100% 1px; }
.agent__act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.agent__note { margin-top: 18px; max-width: 54ch; font-size: 16px; line-height: 1.5; color: var(--spruce-2); }

/* 07 all photos */
.sec--photos { padding-top: 0; }
.photos__head { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 32px; padding-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.photos__head .label { flex-basis: 100%; }
.photos__hint { color: var(--spruce-2); font-size: 17px; }
.grid36 { list-style: none; padding: 0; margin-top: 36px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.thumb { display: block; overflow: hidden; background: var(--silver-2); }
.thumb img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.thumb:hover img { transform: scale(1.04); }
.thumb:focus-visible { outline-offset: 2px; }

/* ---------- footer: spruce, with the shingle courses as a faint texture ---------- */
.foot {
  background: var(--spruce) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='28'%3E%3Cg fill='none' stroke='%23e3e1dc' stroke-opacity='.055'%3E%3Cpath d='M0 13.5h96M0 27.5h96'/%3E%3Cpath d='M14.5 0v13M33.5 0v13M47.5 0v13M70.5 0v13M84.5 0v13M6.5 14v13M24.5 14v13M41.5 14v13M58.5 14v13M77.5 14v13M92.5 14v13'/%3E%3C/g%3E%3C/svg%3E");
  color: var(--silver);
}
.foot__in { padding: clamp(64px, 7vw, 104px) var(--nav-x) 28px; }
.foot__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line-l); }
.foot__mark { display: flex; align-items: center; gap: 14px; font: 300 clamp(32px, 3.4vw, 48px)/1 var(--serif); letter-spacing: -.02em; }
.foot__mark .oct { width: 40px; height: 40px; }
.foot__line { font: 400 11.5px/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgb(227 225 220 / .72); }
.foot__line i { font-style: normal; opacity: .5; margin: 0 6px; }
.foot__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr); gap: 32px 48px; padding-top: 32px; font-size: 16px; line-height: 1.55; }
.foot__cols p + p { margin-top: 6px; }
.foot__cols a { text-decoration: none; border-bottom: 1px solid rgb(227 225 220 / .3); }
.foot__cols a:hover { border-color: var(--silver); }
.foot__k { margin-bottom: 8px; font: 400 10.5px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgb(227 225 220 / .6); }
.foot__legal { max-width: 62ch; font-size: 14px; line-height: 1.55; color: rgb(227 225 220 / .78); }
.foot__legal p + p { margin-top: 10px; }
.eho { display: flex; align-items: center; gap: 10px; font: 400 10.5px/1 var(--mono) !important; letter-spacing: .14em; text-transform: uppercase; }
.eho svg { width: 24px; height: 24px; flex: none; }
.foot__base { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line-l); font: 400 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.foot__base a { text-decoration: none; color: rgb(227 225 220 / .72); }
.foot__base a:hover { color: var(--silver); }

/* ---------- photo viewer ---------- */
.lb { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: #151c18; color: var(--silver); }
.lb::backdrop { background: #151c18; }
.lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.lb__bar { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--nav-x); }
.lb__count { font: 400 11.5px/1 var(--mono); letter-spacing: .14em; }
.lb__x { min-height: 44px; padding: 0 16px; background: transparent; color: var(--silver); border: 1px solid rgb(227 225 220 / .35); border-radius: 2px; font: 400 11.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.lb__x:hover { border-color: var(--silver); }
.lb__fig { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 0; padding: 0 96px 28px; }
.lb__fig img { max-width: min(100%, 1600px); max-height: calc(100% - 44px); width: auto; height: auto; object-fit: contain; }
.lb__fig figcaption { margin-top: 14px; max-width: 64ch; text-align: center; color: rgb(227 225 220 / .74); }
.lb__nav { position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgb(227 225 220 / .35); background: rgb(21 28 24 / .6); color: var(--silver); cursor: pointer; }
.lb__nav:hover { border-color: var(--silver); }
.lb__nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.lb__nav--prev { left: 22px; } .lb__nav--next { right: 22px; }
@media (max-width: 899px) {
  .lb__fig { padding: 0 0 96px; }
  .lb__fig figcaption { padding-inline: 20px; }
  .lb__nav { top: auto; bottom: 22px; margin-top: 0; }
  .lb__nav--prev { left: 20px; } .lb__nav--next { right: 20px; }
}

/* ---------- phone call bar (listing-dock part) ---------- */
.ldock { display: none; }
@media (max-width: 899px) {
  body:has(.ldock) { padding-bottom: calc(var(--ldock-btn-h, 48px) + 2 * var(--ldock-pad-y, 10px) + env(safe-area-inset-bottom, 0px)); }
  html:has(.ldock) { scroll-padding-bottom: calc(var(--ldock-btn-h, 48px) + 2 * var(--ldock-pad-y, 10px) + env(safe-area-inset-bottom, 0px) + 12px); }
  .ldock {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--ldock-bg); box-shadow: 0 -1px 0 var(--ldock-line);
    transition: transform .25s var(--ease), visibility 0s linear 0s;
  }
  .ldock__b {
    flex: 1 1 0; min-width: 0; height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 10px;
    border: 1px solid var(--ldock-btn-border); border-radius: 3px; background: var(--ldock-btn-bg); color: var(--ldock-btn-ink);
    font: var(--ldock-font); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  }
  .ldock__b--main { flex-grow: 1.4; background: var(--ldock-main-bg); color: var(--ldock-main-ink); border-color: var(--ldock-main-border); }
  .ldock__b > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ldock__b svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
  .ldock__b:active { transform: translateY(2px); }
  .ldock__b:focus-visible { outline: 2px solid var(--ldock-focus); outline-offset: 2px; }
  html.plb-open .ldock { transform: translateY(100%); visibility: hidden; transition: transform .25s var(--ease), visibility 0s linear .25s; }
}

/* ---------- phones and narrow screens ---------- */
@media (max-width: 1100px) {
  .grid36 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .sec { padding-block: 76px; }
  .head, .lawn__ph, .inside__grid, .stop, .facts, .agent { display: block; }
  .head__p { margin-top: 18px; padding-bottom: 0; }
  .h2 { font-size: 34px; line-height: 1.08; margin-top: 18px; }
  .ph { margin-inline: calc(-1 * var(--body-x)); }
  .ph figcaption { padding-inline: var(--body-x); }
  .band img { aspect-ratio: 3 / 2; object-position: 50% 30%; }
  .lawn__ph { margin-top: 40px; }
  .lawn__ph .ph--b { margin-top: 32px; margin-left: 30%; }
  .lawn__ph .ph--b figcaption { padding-left: 0; }
  .band { margin: 40px 0 0; }
  .inside__grid { margin-top: 0; }
  .inside__grid > * { margin-top: 48px; }
  .inside__grid .ph--l { margin-left: 30%; }
  .inside__grid .ph--l figcaption { padding-left: 0; }
  .quote p { font-size: 25px; }
  .stop { margin-top: 64px; }
  .stop > * + * { margin-top: 28px; }
  .stop__pair { display: block; }
  .stop__pair .ph--side { margin-top: 32px; }
  .stop--out .ph--port { margin-inline: 0; width: 72%; }
  .stop--out .ph--port figcaption { padding-inline: 0; }
  .stop--garage .stop__words { padding-bottom: 0; }
  .stop--deck .stop__words, .stop--garage .stop__words { margin-top: 28px; }
  .stop--garage .ph { margin-top: 28px; }
  .air__frames { gap: 32px; }
  .air__frames .air__f { margin-inline: calc(-1 * var(--body-x)); }
  .air__frames .air__f figcaption { padding-inline: var(--body-x); }
  .air.is-live .air__frames .air__f { margin-inline: 0; }
  .facts__lead { position: static; margin-bottom: 40px; }
  .facts__lead .btn { width: 100%; }
  .facts__list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 20px; }
  .facts__list dd { font-size: 17.5px; }
  .agent__ph { min-height: 300px; margin-bottom: 36px; }
  .agent__act > * { flex: 1 1 100%; }
  .agent__lines > div { grid-template-columns: 72px minmax(0, 1fr); }
  .agent__lines dd { font-size: 17px; }
  .grid36 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .foot__cols { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .photos__hint { margin-top: 10px; }
}
@media (max-width: 899px) {
  .facts__list .facts__wide-m { grid-column: 1 / -1; }
}
@media (max-width: 340px) {
  .facts__list { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .nav, .nav.is-hidden, .btn, .thumb img, .nav__links a::after, .agent__lines a, .ldock { transition: none !important; }
  .thumb:hover img { transform: none; }
}
@media print { .nav, .ldock, .lb { display: none !important; } }
