/* McKinley Group — components & layout */

/* ---------- reveal ---------- */
[data-reveal] { opacity: 1; transform: none; }
html.js-reveal [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
html.js-reveal [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- focus (a11y) ---------- */
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 1px; }
.hero :focus-visible, .band--ink :focus-visible, .foot :focus-visible { outline-color: var(--champagne); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans); font-size: var(--cap); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.26em;
  padding: 1.15em 2.4em; border: 1px solid currentColor;
  transition: all .5s var(--ease); cursor: pointer; background: transparent;
}
.btn--light { color: var(--white); }
@media (hover: hover) { .btn--light:hover { background: var(--white); color: var(--ink); } }
.btn--ink { color: var(--ink); }
@media (hover: hover) { .btn--ink:hover { background: var(--ink); color: var(--white); } }
.btn--solid { background: var(--green); color: var(--white); border-color: var(--green); }
@media (hover: hover) { .btn--solid:hover { background: var(--green-deep); border-color: var(--green-deep); } }
.btn--ghost-light { color: var(--champagne); border-color: rgba(228,223,216,.45); }
@media (hover: hover) { .btn--ghost-light:hover { background: rgba(228,223,216,.12); color: var(--white); border-color: var(--champagne); } }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.6rem var(--gutter);
  transition: background .5s var(--ease), padding .5s var(--ease), box-shadow .5s var(--ease);
}
.nav--solid { background: rgba(255,255,255,0.96); box-shadow: 0 1px 0 var(--line); padding-top: 1.1rem; padding-bottom: 1.1rem; }
.nav__brand { font-family: var(--serif); font-size: 1.3rem; letter-spacing: 0.02em; color: var(--white); transition: color .5s var(--ease); text-shadow: 0 1px 20px rgba(0,0,0,0.4); display: inline-flex; align-items: center; }
.nav--solid .nav__brand { color: var(--ink); text-shadow: none; }
.nav__logo { height: 34px; width: auto; display: block; transition: opacity .4s var(--ease); }
.nav__logo--dark { display: none; }
.nav--solid .nav__logo--light { display: none; }
.nav--solid .nav__logo--dark { display: block; }
@media (max-width: 600px) { .nav__logo { height: 28px; } }
.nav__links { display: flex; align-items: center; gap: 2.4rem; }
.nav__links a { white-space: nowrap; }
@media (max-width: 1180px) { .nav__links { gap: 1.6rem; } .nav__phone { padding-left: 1.6rem; } }
.nav__links a, .nav__phone {
  font-size: var(--cap); font-weight: 500; text-transform: uppercase; letter-spacing: 0.22em;
  color: rgba(255,255,255,0.94); transition: color .5s var(--ease); position: relative;
  text-shadow: 0 1px 16px rgba(0,0,0,0.45);
}
.nav--solid .nav__links a, .nav--solid .nav__phone { color: rgba(28,26,24,0.78); text-shadow: none; }
@media (hover: hover) { .nav__links a:hover, .nav__phone:hover { color: var(--green); } }
.nav__phone { border-left: 1px solid var(--line-light); padding-left: 2.2rem; }
.nav--solid .nav__phone { border-color: var(--line); }
.nav__burger { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; min-width: 44px; min-height: 44px; }
.nav__burger span { width: 26px; height: 1.5px; background: var(--white); transition: background .5s var(--ease); }
.nav--solid .nav__burger span { background: var(--ink); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
/* The poster sits under the one video; the video shows only once it is playing (v9, 9/25) */
.hero__media picture, .hero__media .hero__poster, .hero__media .hero__video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
/* The video stays visible to the browser at all times: iPhones will not start a muted autoplay
   video that is invisible, and v9 kept it at opacity 0 until it played, so on an iPhone it never
   did (JJ 9/28). The still photo sits over it instead and fades off once the video is playing. */
.hero__media picture { z-index: 1; transition: opacity .5s ease; }
.hero__media.is-playing picture { opacity: 0; }
.hero__media::after { z-index: 2; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,14,12,.62) 0%, rgba(16,14,12,.30) 32%, rgba(16,14,12,.46) 62%, rgba(16,14,12,.92) 100%); }
.hero__inner { position: relative; z-index: 1; padding: 0 var(--gutter) clamp(3.5rem,7vw,6.5rem); max-width: 1000px; }
.hero .eyebrow { color: #fff; font-weight: 700; letter-spacing: 0.34em; text-shadow: 0 2px 18px rgba(0,0,0,0.65); }
.hero h1 { font-family: var(--display-sans); font-weight: 800; letter-spacing: -0.012em; color: var(--white); font-size: var(--hero); line-height: 1.02; margin: 1rem 0 1.4rem; text-shadow: 0 3px 30px rgba(0,0,0,0.6), 0 1px 4px rgba(0,0,0,0.45); }
.hero__sub { color: #fff; font-size: 1.15rem; font-weight: 500; max-width: 38ch; margin-bottom: 2.2rem; text-shadow: 0 2px 20px rgba(0,0,0,0.7); }

/* ---------- section frame ---------- */
.band { padding: var(--band) var(--gutter); }
.band--paper { background: var(--paper); }
/* Two bands of one color stacked on each other both kept their full padding and left a
   280px hole (JJ, 9/25). The second one takes a short top instead. #homeFeat wraps the
   home page listings, so it needs naming. The listings pair (feat-lead then feat-more)
   sets its own gap in match.css and is left alone. */
.band--paper + .band--paper:not(.feat-more),
.band--ink + .band--ink,
.band:not(.band--paper):not(.band--ink) + .band:not(.band--paper):not(.band--ink),
#homeFeat + .band--paper { padding-top: calc(var(--band) * .35); }
.band--paper:has(+ .band--paper:not(.feat-more)),
.band--ink:has(+ .band--ink),
.band:not(.band--paper):not(.band--ink):has(+ .band:not(.band--paper):not(.band--ink)),
#homeFeat > .band--paper:last-child { padding-bottom: calc(var(--band) * .6); }
/* A heading block that ends a band was adding its 64px bottom margin to the padding. */
.band > .section-head:last-child { margin-bottom: 0; }
.band--ink { background: var(--ink); color: var(--champagne); }
.band--ink h2 { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem,5vw,4rem); }
.section-head h2 { margin: 0.9rem 0 0; }
.section-head p { margin-top: 1.1rem; color: var(--grey); max-width: 52ch; }
.band--ink .section-head p { color: rgba(228,223,216,0.7); }
.section-head[style*="text-align:center"] .eyebrow,
.section-head[style*="text-align:center"] p {
  /* the paragraph carries its own 52ch box. Without auto margins that box hugs
     the left edge, so centred text inside it still reads off-centre, and any
     button in a paragraph sits left of true centre. */
  margin-left: auto; margin-right: auto;
}

/* ---------- recognition strip (honest credentials; Jade-style validation band) ---------- */
.recog { text-align: center; padding-top: clamp(3rem,5vw,4.5rem); padding-bottom: clamp(3rem,5vw,4.5rem); }
.recog__eye { text-align: center; margin-bottom: clamp(1.8rem,3vw,2.6rem); }
.recog__row { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1.5rem,4vw,3rem); max-width: 1100px; margin: 0 auto; }
.recog__item { display: flex; flex-direction: column; gap: 0.55rem; padding: 0 1.2rem; position: relative; }
.recog__item + .recog__item::before { content: ""; position: absolute; left: 0; top: 8%; height: 84%; width: 1px; background: var(--line); }
.recog__lead { font-family: var(--serif); font-size: clamp(1.15rem,1.9vw,1.55rem); color: var(--ink); line-height: 1.18; }
.recog__sub { font-size: var(--cap); text-transform: uppercase; letter-spacing: 0.2em; color: var(--grey); }
@media (max-width:880px){ .recog__row { grid-template-columns: 1fr; gap: 2.4rem 1.5rem; } .recog__item + .recog__item::before { display: none; } }

/* ---------- numbers band ---------- */
.numbers { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(1.5rem,4vw,3rem); text-align: center; }
.numbers__n { font-family: var(--serif); font-size: clamp(2.4rem,4.4vw,3.6rem); color: var(--white); line-height: 1; }
.numbers__l { display: block; margin-top: 1rem; font-size: var(--cap); text-transform: uppercase; letter-spacing: 0.24em; color: rgba(228,223,216,0.66); }

/* ---------- story (asymmetric) ---------- */
.story { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem,6vw,6rem); align-items: center; }
.story__img { aspect-ratio: 4/5; overflow: hidden; }
.story__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
@media (hover: hover) { .story__img:hover img { transform: scale(1.04); } }
.story__body h2 { margin: 0.9rem 0 1.6rem; }
.story__body p { margin-bottom: 1.2rem; color: rgba(28,26,24,0.74); }
.story__sig { margin-top: 1.8rem; }
.story__btns { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.8rem; }
.story--reverse .story__img { order: 2; }
.story--reverse .story__body { order: 1; }
.story--team .story__img { aspect-ratio: 3/2; }
/* A portrait keeps its own shape on phones and crops from the top: the 4:3 phone crop cut off Josh's head on About (JJ 9/28) */
.story__img--portrait img { object-position: 50% 12%; }
@media (max-width: 880px) { .story .story__img--portrait { aspect-ratio: 4/5; } }

/* ---------- listings ---------- */
.listings { display: grid; grid-template-columns: repeat(2,1fr); gap: clamp(2rem,4.5vw,4.5rem) clamp(2rem,4.5vw,4.4rem); }
.card { display: block; }
.card__img { aspect-ratio: 3/2; overflow: hidden; background: var(--paper); position: relative; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s var(--ease); }
@media (hover: hover) { .card:hover .card__img img { transform: scale(1.05); } }
.card__status { position: absolute; top: 1rem; left: 1rem; background: rgba(255,255,255,0.92); color: var(--ink); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; padding: 0.5em 0.9em; }
.card__idx { position: absolute; bottom: 0.7rem; right: 0.8rem; font-size: 0.55rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.9); background: rgba(28,26,24,0.5); padding: 0.35em 0.6em; }
.card__price { font-family: var(--serif); font-size: 1.65rem; color: var(--ink); margin: 1.2rem 0 0.4rem; }
.card__addr { font-size: 1rem; color: rgba(28,26,24,0.82); }
.card__meta { font-size: var(--cap); text-transform: uppercase; letter-spacing: 0.18em; color: var(--grey); margin-top: 0.7rem; }

/* ---------- communities ---------- */
.tiles { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); }
.tile { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--ink); }
.tile img { width: 100%; height: 100%; object-fit: cover; opacity: 0.62; transition: opacity .6s var(--ease), transform 1.4s var(--ease); }
@media (hover: hover) { .tile:hover img { opacity: 0.8; transform: scale(1.05); } }
.tile__name { position: absolute; inset: auto 0 0 0; padding: 1.3rem; font-family: var(--serif); font-size: 1.35rem; color: var(--white); z-index: 1; }

/* ---------- area guides (AEO content) ---------- */
.guides { display: grid; grid-template-columns: repeat(2,1fr); gap: clamp(1.6rem,3.5vw,3rem) clamp(2rem,5vw,4.5rem); }
.guide { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.guide__name { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem,2.4vw,1.9rem); color: var(--ink); line-height: 1.1; }
.guide__band { display: block; margin-top: 0.45rem; font-size: var(--cap); text-transform: uppercase; letter-spacing: 0.18em; color: var(--green); }
.guide p { margin-top: 0.9rem; color: rgba(28,26,24,0.74); font-size: 1rem; }
@media (max-width:880px){ .guides { grid-template-columns: 1fr; } }

/* ---------- mag builders band ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,5rem); align-items: center; }
.feature__img { aspect-ratio: 5/4; overflow: hidden; }
.feature__img img { width: 100%; height: 100%; object-fit: cover; }
.feature__body h2 { margin: 0.9rem 0 1.4rem; }
.feature__body p { color: rgba(28,26,24,0.74); margin-bottom: 1.4rem; }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(2,1fr); gap: clamp(2rem,4vw,3.5rem); }
.quote { padding: 2.6rem; background: var(--white); border: 1px solid var(--line); }
.quote p { font-family: var(--serif); font-size: 1.3rem; line-height: 1.5; color: var(--ink); }
.quote cite { display: block; margin-top: 1.5rem; font-style: normal; font-size: var(--cap); text-transform: uppercase; letter-spacing: 0.22em; color: var(--green); }

/* ---------- connect form ---------- */
.connect { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem,6vw,6rem); align-items: start; }
/* Home: intro top left, form down the right, the testimonials' heading bottom left level
   with the submit button, and the reviews straight under the form (JJ 9/25) */
.connect { grid-template-rows: auto 1fr; }
.connect__intro { grid-column: 1; grid-row: 1; }
.connect > .form { grid-column: 2; grid-row: 1 / span 2; }
.connect__thead { grid-column: 1; grid-row: 2; align-self: end; margin-bottom: 0; }
#connect { padding-bottom: clamp(2rem, 4vw, 3rem); }
#connect + #testimonials { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.connect__intro h2 { margin: 0.9rem 0 1.3rem; }
.connect__intro p { color: rgba(228,223,216,0.74); max-width: 40ch; }
.form { display: grid; gap: 1.1rem; }
.form input, .form textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-light);
  padding: 0.9rem 0; color: var(--white); font-family: var(--sans); font-size: 1rem; font-weight: 300;
}
.form input::placeholder, .form textarea::placeholder { color: rgba(228,223,216,0.6); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.72rem; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--champagne); }
.form#enquire { scroll-margin-top: 96px; }
/* the contact page's "what this is about" line, filled from the button that sent them (9/28) */
.form__about { display: flex; flex-direction: column; gap: .25rem; padding: .9rem 1rem; border-left: 2px solid var(--green); background: var(--paper); margin-bottom: .4rem; }
.form__about span { font-size: var(--cap); font-weight: 500; text-transform: uppercase; letter-spacing: .2em; color: var(--green); }
.form__about strong { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; color: var(--ink); line-height: 1.2; }
.form__consent { font-size: 0.72rem; color: rgba(228,223,216,0.55); line-height: 1.5; }

/* ---------- footer ---------- */
.foot { background: #fff; color: var(--grey); padding: clamp(3.5rem,6vw,5.5rem) var(--gutter) 2.5rem; border-top: 1px solid var(--line); }
.foot__top { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr) 1.3fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line); }
/* Four link groups plus Connect, the same four as the menu (JJ 9/27). Narrower screens put the logo on its own row. */
@media (max-width: 1100px) { .foot__top { grid-template-columns: repeat(5, 1fr); } .foot__top > div:first-child { grid-column: 1 / -1; } }
.foot__brand { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); }
.foot__logo { height: 42px; width: auto; display: block; margin-bottom: 1rem; }
.foot__brand span { display: block; font-family: var(--sans); font-size: var(--cap); letter-spacing: 0.24em; text-transform: uppercase; color: var(--grey); margin-top: 0.6rem; }
.foot h4 { font-family: var(--sans); font-size: var(--cap); font-weight: 500; text-transform: uppercase; letter-spacing: 0.22em; color: var(--ink); margin-bottom: 1.2rem; }
.foot a { display: block; padding: 0.3rem 0; color: var(--grey); transition: color .4s var(--ease); }
@media (hover: hover) { .foot a:hover { color: var(--green); } }
.foot__legal a { display: inline; padding: 0; text-decoration: underline; text-underline-offset: 2px; }  /* the Privacy Policy link sits inside the sentence (9/27) */
.foot :focus-visible { outline-color: var(--green); }
.foot__legal { padding-top: 2.2rem; font-size: 0.72rem; line-height: 1.7; color: var(--grey); }
.foot__legal .ehl { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; color: var(--champagne); font-size: var(--cap); letter-spacing: 0.18em; text-transform: uppercase; }
.foot__legal .ehl svg { width: 18px; height: 18px; }

/* ==================== INNER PAGES ==================== */

/* ---------- page head (inner hero band) ---------- */
.page-head { position: relative; display: flex; align-items: flex-end; min-height: 46vh; padding-top: 7rem; overflow: hidden; background: var(--ink); }  /* the top padding keeps a long title clear of the nav */
.page-head__media { position: absolute; inset: 0; z-index: 0; }
.page-head__media img { width: 100%; height: 100%; object-fit: cover; }
.page-head__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,16,14,.58) 0%, rgba(18,16,14,.30) 40%, rgba(18,16,14,.78) 100%); }
.page-head__inner { position: relative; z-index: 1; padding: 0 var(--gutter) clamp(2.8rem,5vw,4.5rem); max-width: 1000px; }
.page-head h1 { color: var(--white); font-size: clamp(2.4rem,5.6vw,4.6rem); margin: 0.9rem 0 0; text-shadow: 0 2px 34px rgba(0,0,0,0.34); }
.page-head__sub { color: rgba(255,255,255,0.9); font-weight: 300; max-width: 46ch; margin-top: 1.1rem; text-shadow: 0 1px 20px rgba(0,0,0,0.4); }
/* The first section under a page's photo header starts close under it, so the homes, guides
   and forms show on the first screen instead of a band of blank (JJ 9/28). The photo header
   dropped from 56vh to 46vh for the same reason, and to 42vh on phones. */
.page-head + .band, .page-head + .fin-nav + .band, .t-hero + .band { padding-top: calc(var(--band) * .5); }
@media (max-width: 600px) {
  .page-head { min-height: 42vh; }
  /* the listing photo sits under the details on a phone, so its badge no longer has a nav to clear */
  .lp-hero .lp-hero__badge { top: 1.1rem; }
  .page-head__inner { padding-bottom: 2rem; }
}

/* ---------- properties grid (full portfolio) ---------- */
.filterbar { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: clamp(2rem,4vw,3rem); }
.filterbar button { font-family: var(--sans); font-size: var(--cap); font-weight: 500; text-transform: uppercase; letter-spacing: 0.2em; padding: 0.7em 1.4em; border: 1px solid var(--line); background: transparent; color: rgba(28,26,24,0.7); cursor: pointer; transition: all .4s var(--ease); }
.filterbar button.is-active { background: var(--green); border-color: var(--green); color: var(--white); }
@media (hover: hover) { .filterbar button:hover { background: var(--green); border-color: var(--green); color: var(--white); } }

/* ---------- listing detail ---------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 1fr; gap: 8px; }
.gallery a:first-child { grid-column: 1; grid-row: 1 / span 2; }
.gallery a { position: relative; overflow: hidden; aspect-ratio: 4/3; background: var(--paper); }
.gallery a:first-child { aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
@media (hover: hover) { .gallery a:hover img { transform: scale(1.04); } }
.detail { display: grid; grid-template-columns: 1fr 360px; gap: clamp(2rem,5vw,5rem); align-items: start; }
.detail__main h2 { margin-bottom: 1.4rem; }
.detail__main p { color: rgba(28,26,24,0.74); margin-bottom: 1.2rem; }
.specs { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin: 2rem 0; padding: 2rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.specs div span { display: block; }
.specs .spec-n { font-family: var(--serif); font-size: 1.8rem; color: var(--ink); }
.specs .spec-l { font-size: var(--cap); text-transform: uppercase; letter-spacing: 0.2em; color: var(--grey); margin-top: 0.4rem; }
.detail__aside { position: sticky; top: 100px; background: var(--paper); padding: 2.4rem; }
.detail__aside .price { font-family: var(--serif); font-size: 2.2rem; color: var(--ink); }
.detail__aside .addr { color: rgba(28,26,24,0.74); margin: 0.5rem 0 1.6rem; }
.detail__aside .agent { display: flex; align-items: center; gap: 1rem; margin: 1.6rem 0; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.detail__aside .agent img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.detail__aside .agent b { font-family: var(--serif); font-weight: 400; font-size: 1.1rem; }
.detail__aside .agent span { display: block; font-size: var(--cap); text-transform: uppercase; letter-spacing: 0.18em; color: var(--grey); margin-top: 0.2rem; }
.detail__aside .btn { width: 100%; text-align: center; margin-top: 0.6rem; }
.idx-note { font-size: 0.72rem; color: var(--grey); line-height: 1.6; margin-top: 1.4rem; }

/* ---------- team (about) ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: clamp(1.8rem,3.5vw,3rem); }
.member__img { aspect-ratio: 4/5; overflow: hidden; background: var(--paper); margin-bottom: 1.2rem; }
.member__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
@media (hover: hover) { .member:hover .member__img img { transform: scale(1.04); } }
.member h3 { font-size: 1.5rem; }
.member .role { font-size: var(--cap); text-transform: uppercase; letter-spacing: 0.2em; color: var(--green); margin: 0.5rem 0; }
.member p { font-size: 0.95rem; color: rgba(28,26,24,0.7); margin-top: 0.6rem; }
.member .lic { font-size: 0.7rem; color: var(--grey); margin-top: 0.8rem; }

/* ---------- journal ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: clamp(2rem,4vw,3.5rem); }
.post__img { aspect-ratio: 3/2; overflow: hidden; background: var(--paper); margin-bottom: 1.3rem; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
@media (hover: hover) { .post:hover .post__img img { transform: scale(1.05); } }
.post .date { font-size: var(--cap); text-transform: uppercase; letter-spacing: 0.2em; color: var(--grey); }
.post h3 { font-size: 1.5rem; margin: 0.7rem 0; }
.post p { font-size: 0.95rem; color: rgba(28,26,24,0.7); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem,6vw,6rem); align-items: start; }
.contact-info .row { padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.contact-info .row span { display: block; font-size: var(--cap); text-transform: uppercase; letter-spacing: 0.2em; color: var(--grey); margin-bottom: 0.4rem; }
.contact-info .row a, .contact-info .row p { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); }
.form--light input, .form--light textarea { border-bottom-color: var(--line); color: var(--ink); }
.form--light input::placeholder, .form--light textarea::placeholder { color: var(--grey); }
.form--light input:focus, .form--light textarea:focus { border-color: var(--green); }

/* ---------- typographic market tiles + text journal cards (provenance-safe: no photo asserts a place) ---------- */
.tile--type { display: flex; align-items: flex-end; background: var(--ink); transition: background .5s var(--ease); }
.tile--type .tile__name { position: static; }
.tiles .tile--type:nth-child(2n) { background: var(--green-deep); }
@media (hover: hover) { .tiles .tile--type:hover { background: var(--green); } }
.post--text { display: flex; flex-direction: column; min-height: 230px; background: var(--white); border: 1px solid var(--line); padding: 2.2rem; transition: border-color .4s var(--ease), transform .5s var(--ease); }
@media (hover: hover) { .post--text:hover { border-color: var(--green); transform: translateY(-3px); } }
.post--text h3 { margin: 0.8rem 0 auto; }
.post--text .more { margin-top: 1.6rem; font-size: var(--cap); text-transform: uppercase; letter-spacing: 0.2em; color: var(--green); }

/* ---------- neighborhood guides (Jade-style index + detail) ---------- */
.nbhd-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: clamp(1.4rem,2.6vw,2.2rem); }
.nbhd-card { position: relative; display: block; aspect-ratio: 3/2; overflow: hidden; background: var(--ink); }
.nbhd-card img { width: 100%; height: 100%; object-fit: cover; opacity: 0.82; transition: opacity .6s var(--ease), transform 1.6s var(--ease); }
@media (hover: hover) { .nbhd-card:hover img { opacity: 0.95; transform: scale(1.05); } }
.nbhd-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,24,16,0) 28%, rgba(20,24,16,.55) 64%, rgba(20,24,16,.9) 100%); }
.nbhd-card__body { position: absolute; inset: auto 0 0 0; z-index: 1; padding: clamp(1.5rem,3vw,2.6rem); }
.nbhd-card__name { font-family: var(--serif); font-size: clamp(1.7rem,3vw,2.5rem); color: var(--white); line-height: 1.05; }
.nbhd-card__teaser { color: rgba(255,255,255,0.88); font-size: 0.98rem; font-weight: 300; line-height: 1.5; max-width: 44ch; margin: 0.6rem 0 1rem; }
.nbhd-card__more { font-size: var(--cap); font-weight: 500; text-transform: uppercase; letter-spacing: 0.24em; color: var(--champagne); transition: color .4s var(--ease); }
@media (hover: hover) { .nbhd-card:hover .nbhd-card__more { color: var(--white); } }
/* Neighborhoods: where the team is selling now (JJ 9/25), filled by js/nbhd-now.js */
.nbhd-grid.nbhd-grid--now { grid-template-columns: repeat(3, 1fr); }
.nbhd-card--now { aspect-ratio: 4/3; }
.nbhd-card--now .nbhd-card__name { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.nbhd-card--now .nbhd-card__teaser { margin: .4rem 0 .7rem; }
.nbn-group { margin-top: clamp(2.4rem, 5vw, 3.6rem); scroll-margin-top: 110px; }
.nbn-group:first-child { margin-top: 0; }
.nbn-group__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap;
  border-bottom: 1px solid var(--line); padding-bottom: .8rem; margin-bottom: 1.4rem; }
.nbn-group__head h3 { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--ink); }
.nbn-group__head a { font-size: var(--cap); font-weight: 500; text-transform: uppercase; letter-spacing: .2em; color: var(--green); }
.nbn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.4vw, 2rem); }
.nbn-card { display: block; background: #fff; color: var(--ink); border: 1px solid var(--line); transition: border-color .4s var(--ease); }
@media (hover: hover) { .nbn-card:hover { border-color: var(--ink); } }
.nbn-card__img { position: relative; aspect-ratio: 3/2; overflow: hidden; background: var(--champagne); }
.nbn-card .nbn-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nbn-card__status { position: absolute; top: .8rem; left: .8rem; background: var(--ink); color: #fff; font-size: .62rem;
  letter-spacing: .18em; text-transform: uppercase; padding: .4em .7em; }
.nbn-card__body { padding: 1.1rem 1.2rem 1.3rem; }
.nbn-card__price { font-family: var(--serif); font-size: 1.5rem; color: var(--green); line-height: 1; }
.nbn-card h4 { font-family: var(--sans); font-size: 1rem; font-weight: 500; margin-top: .5rem; }
.nbn-card__area, .nbn-card__spec { font-size: .85rem; color: var(--grey); margin-top: .2rem; }
.nbn-card__nc { display: inline-block; margin-top: .6rem; padding: .3em .6em; border: 1px solid var(--line); font-size: .62rem;
  font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.nbn-card--build { position: relative; overflow: hidden; display: flex; align-items: flex-end; background: var(--ink); color: var(--champagne); min-height: 100%; }
.nbn-card--build .nbn-card__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.nbn-card--build::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,14,12,.15) 0%, rgba(16,14,12,.45) 45%, rgba(16,14,12,.9) 100%); }
@media (hover: hover) { .nbn-card--build:hover .nbn-card__bg { transform: scale(1.04); } }
.nbn-card--build .nbn-card__body { position: relative; z-index: 1; }
.nbn-mark { display: flex; flex-direction: column; gap: .35rem; margin: 0; }
.nbn-mark__name { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.nbn-mark__place { font-family: var(--sans); font-size: var(--cap); font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--champagne); }
.nbn-card--build .nbn-card__nc { color: var(--champagne); border-color: rgba(228,223,216,.4); margin: 0 0 .8rem; }
.nbn-card--build .nbn-card__area { color: rgba(228,223,216,.75); }
.nbn-card__more { display: inline-block; margin-top: 1rem; font-size: var(--cap); letter-spacing: .2em; text-transform: uppercase; }
@media (max-width: 1000px) { .nbhd-grid.nbhd-grid--now, .nbn-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .nbhd-grid.nbhd-grid--now, .nbn-grid { grid-template-columns: 1fr; } }

/* detail page */
.nbhd-cta-pair { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.nbhd-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1.4rem,3.5vw,3rem); }
.nbhd-stats div { border-top: 2px solid var(--green); padding-top: 1.1rem; }
.nbhd-stats .s-n { font-family: var(--serif); font-size: clamp(1.5rem,2.6vw,2.1rem); color: var(--ink); line-height: 1.12; }
.nbhd-stats .s-l { display: block; font-size: var(--cap); text-transform: uppercase; letter-spacing: 0.2em; color: var(--grey); margin-top: 0.55rem; }
.nbhd-prose { max-width: 62ch; }
.nbhd-prose p { color: rgba(28,26,24,0.78); margin-bottom: 1.2rem; }
.nbhd-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,5rem); align-items: start; }
.nbhd-split h3, .nbhd-block h3 { font-family: var(--serif); font-weight: 400; font-size: var(--h3); color: var(--ink); margin-bottom: 1rem; }
.nbhd-split p { color: rgba(28,26,24,0.78); }
.nbhd-block { max-width: 70ch; }
.nbhd-block p { color: rgba(28,26,24,0.78); margin-bottom: 1.1rem; }
.nbhd-note { font-size: 0.72rem; color: var(--grey); line-height: 1.6; margin-top: 1.6rem; max-width: 60ch; }
.nbhd-nav { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.nbhd-nav a { font-size: var(--cap); font-weight: 500; text-transform: uppercase; letter-spacing: 0.2em; color: var(--green); }
@media (hover: hover) { .nbhd-nav a:hover { color: var(--ink); } }
@media (max-width:880px){ .nbhd-grid { grid-template-columns: 1fr; } .nbhd-stats { grid-template-columns: 1fr; gap: 1.6rem; } .nbhd-split { grid-template-columns: 1fr; } }

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  .btn { padding-top: 1.35em; padding-bottom: 1.35em; }
  .numbers { grid-template-columns: repeat(2,1fr); gap: 2.5rem 1.5rem; }
  .story, .feature, .connect { grid-template-columns: 1fr; }
  .connect__intro, .connect > .form, .connect__thead { grid-column: auto; grid-row: auto; }
  .connect__thead { margin-top: clamp(2.4rem, 8vw, 3.4rem); }
  .story--reverse .story__img, .story--reverse .story__body { order: 0; }
  .listings, .quotes { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2,1fr); }
  .foot__top { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .story__img, .feature__img { aspect-ratio: 4/3; }
  .detail, .contact-grid { grid-template-columns: 1fr; }
  .detail__aside { position: static; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery a:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4/3; }
  .specs { grid-template-columns: repeat(3,1fr); gap: 0.8rem; }
}
@media (max-width: 480px) {
  .hero { min-height: 100svh; }
  .hero h1 { font-size: clamp(2.3rem, 11vw, 2.8rem); }
  .hero__sub { font-size: 1rem; }
}

/* ---------- hamburger + full-screen overlay menu (Jade Mills style, white) ---------- */
.nav__right { display: flex; align-items: center; gap: clamp(1.1rem, 2vw, 2rem); }
.nav__burger span { transition: transform .35s var(--ease), opacity .2s var(--ease), background .5s var(--ease); }
body.menu-open { overflow: hidden; }
body.menu-open .nav { background: transparent; box-shadow: none; z-index: 100; }
body.menu-open .nav__logo--light { display: none; }
body.menu-open .nav__logo--dark { display: block; }
body.menu-open .nav__phone { color: var(--ink); }
body.menu-open .nav__burger span { background: var(--ink); }
body.menu-open .nav__burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav__burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.navmenu { position: fixed; inset: 0; z-index: 90; background: var(--white); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s var(--ease); }
body.menu-open .navmenu { opacity: 1; visibility: visible; }
.navmenu__inner { height: 100%; max-width: 1240px; margin: 0 auto; display: flex; flex-direction: column; justify-content: center; padding: clamp(6rem,14vh,9rem) var(--gutter) clamp(2.5rem,6vh,4rem); }
/* The menu is four groups, the same four as the footer (JJ 9/27). scripts/set_nav.py writes the markup. */
.navmenu__links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.6rem, 3vw, 3rem); }
.navmenu__group { display: flex; flex-direction: column; align-items: flex-start; row-gap: .2rem; }
.navmenu__head { font-family: var(--sans); font-size: var(--cap); font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--grey); margin: 0 0 .9rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); align-self: stretch; }
.navmenu__links a { font-family: var(--serif); color: var(--ink); font-size: clamp(1.3rem, 1.9vw, 1.75rem); line-height: 1.2; letter-spacing: .01em; padding: .3rem 0; max-width: 100%; opacity: 0; transform: translateY(14px); transition: color .3s var(--ease), opacity .5s var(--ease), transform .6s var(--ease); }
@media (hover: hover) { .navmenu__links a:hover { color: var(--green); } }
body.menu-open .navmenu__links a { opacity: 1; transform: none; }
body.menu-open .navmenu__group:nth-child(1) a { transition-delay: .10s; }
body.menu-open .navmenu__group:nth-child(2) a { transition-delay: .16s; }
body.menu-open .navmenu__group:nth-child(3) a { transition-delay: .22s; }
body.menu-open .navmenu__group:nth-child(4) a { transition-delay: .28s; }
@media (max-width: 880px) {
  .navmenu__inner { justify-content: flex-start; overflow-y: auto; padding-top: clamp(5.5rem, 12vh, 7rem); }
  .navmenu__links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 1.4rem; }
  .navmenu__head { margin-bottom: .4rem; padding-bottom: .5rem; letter-spacing: .14em; white-space: nowrap; }
  .navmenu__links a { font-size: 1.3rem; min-height: 44px; display: flex; align-items: center; padding: 0; }
}
@media (max-width: 360px) {
  .navmenu__links { gap: 1.4rem 1rem; }
  .navmenu__head { letter-spacing: .06em; font-size: .62rem; }
  .navmenu__links a { font-size: 1.12rem; }
}
.navmenu__foot { margin-top: clamp(2.4rem,6vh,4rem); display: flex; flex-wrap: wrap; align-items: center; gap: .5rem clamp(1.4rem,3vw,2.6rem); font-family: var(--sans); font-size: .82rem; letter-spacing: .03em; color: rgba(28,26,24,.62); }
.navmenu__foot a { color: rgba(28,26,24,.80); transition: color .3s var(--ease); }
@media (hover: hover) { .navmenu__foot a:hover { color: var(--green); } }
.navmenu__social { display: inline-flex; gap: clamp(1.2rem,2.5vw,2rem); }
.navmenu__social a { font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
@media (max-width: 600px) { .nav__right .nav__phone { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .navmenu, .navmenu__links a { transition: opacity .2s ease; }
  body.menu-open .navmenu__group a { transition-delay: 0s; }
  body.menu-open .navmenu__links a { transform: none; transition-delay: 0s; }
}

/* phone number bold + clickable everywhere */
a[href^="tel:"] { font-weight: 700; }

/* ---------- footer compliance logos ---------- */
.compliance { display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-start; gap: 1.1rem; margin-top: 1.8rem; }
/* The two badges side by side at one height (JJ 9/25), the Compass wordmark under them across the column */
.cbadge { height: 46px; width: auto; opacity: 1; }
.foot__compass { display: block; width: 100%; max-width: 300px; height: auto; margin-top: 1.6rem; }

/* ---------- neighborhood: 4-up demographics + empty state ---------- */
.nbhd-stats--four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) { .nbhd-stats--four { grid-template-columns: 1fr 1fr; } }
.nbhd-empty { text-align: center; max-width: 60ch; margin: 0 auto; }
.nbhd-empty p { color: var(--grey); margin-bottom: 1.4rem; line-height: 1.6; }

/* inline top-nav links beside the hamburger (desktop only; overlay covers mobile) */
@media (max-width: 1000px) { .nav__right .nav__links { display: none; } }
body.menu-open .nav__links { display: none; }

/* ---------- homepage full-screen New Construction (MAG) band ---------- */
.nc-hero { position: relative; height: clamp(560px, 88vh, 940px); display: flex; align-items: center; justify-content: center;
           text-align: center; overflow: hidden; isolation: isolate; }
.nc-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.nc-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,19,17,.5) 0%, rgba(20,19,17,.3) 45%, rgba(20,19,17,.58) 100%); }
.nc-hero__inner { display: flex; flex-direction: column; align-items: center; gap: 1.05rem; padding: var(--gutter); color: #fff; }
.nc-hero__logo { width: 74px; height: 74px; display: block; margin-bottom: .2rem; box-shadow: 0 10px 34px rgba(0,0,0,.32); }
.nc-hero__h { font-family: var(--serif); color: #fff; font-size: clamp(2rem, 6vw, 5rem); line-height: 1; margin: 0;
  white-space: nowrap; text-shadow: 0 2px 30px rgba(0,0,0,.45); }
.nc-hero__sub { font-family: var(--sans); font-weight: 700; font-size: clamp(1rem, 1.7vw, 1.3rem); letter-spacing: .03em;
  color: #fff; max-width: 34ch; line-height: 1.5; text-shadow: 0 2px 22px rgba(0,0,0,.78), 0 1px 4px rgba(0,0,0,.55); }
.nc-hero__cta { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1rem; font-family: var(--sans);
  font-size: var(--cap); font-weight: 600; text-transform: uppercase; letter-spacing: .22em; color: #fff;
  border: 1px solid rgba(255,255,255,.6); padding: 1.05em 2.2em; transition: all .5s var(--ease); }
@media (hover: hover) { .nc-hero__inner:hover .nc-hero__cta { background: #fff; color: var(--ink); border-color: #fff; } }
.nc-hero__arrow { font-size: 1.25em; line-height: 1; }

/* ---------- journal article ---------- */
.article { max-width: 68ch; }
.article h2 { font-family: var(--serif); font-weight: 400; font-size: var(--h3); color: var(--ink); margin: 2.8rem 0 1rem; }
.article h2:first-child { margin-top: 0; }
.article h3 { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; color: var(--ink); margin: 1.9rem 0 0.7rem; }
.article p, .article li { color: rgba(28,26,24,0.78); line-height: 1.8; margin-bottom: 1.2rem; }
.article ul { margin: 0 0 1.5rem 1.2rem; }
.article li { margin-bottom: 0.6rem; }
.article a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
@media (hover: hover) { .article a:hover { color: var(--ink); } }
.article__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.2rem; max-width: 68ch; margin-top: 3.4rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.article__back { font-size: var(--cap); font-weight: 500; text-transform: uppercase; letter-spacing: 0.2em; color: var(--green); }
@media (hover: hover) { .article__back:hover { color: var(--ink); } }
@media (max-width: 640px) { .article__foot { flex-direction: column; align-items: flex-start; } }

/* ---------- MAG project pages ---------- */
.magh-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 2.4vw, 2.2rem); }
.magh-card { display: block; background: var(--white); border: 1px solid var(--line-light); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
@media (hover: hover) { .magh-card:hover { transform: translateY(-6px); box-shadow: 0 18px 50px rgba(28,26,24,0.13); } }
.mag-card__img { aspect-ratio: 4/3; overflow: hidden; }
.mag-card__img img { width: 100%; height: 100%; object-fit: cover; }
.mag-card__body { padding: 1.5rem 1.6rem 1.8rem; }
.mag-card__loc { font-size: var(--cap); text-transform: uppercase; letter-spacing: 0.2em; color: var(--grey); margin-bottom: 0.6rem; }
.mag-card__body h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: var(--ink); margin-bottom: 0.5rem; }
.mag-card__spec { font-size: 0.9rem; color: rgba(28,26,24,0.72); margin-bottom: 1rem; }

.magh-lead { max-width: 70ch; }
.magh-specs { list-style: none; margin: 0 0 1.8rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; }
.magh-specs li { font-family: var(--sans); font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.magh-lead p { color: rgba(28,26,24,0.78); line-height: 1.8; margin-bottom: 1.2rem; }
.magh-note { font-size: 0.85rem; color: var(--grey); line-height: 1.7; margin-top: 1.4rem; }
.magh-h2 { font-family: var(--serif); font-weight: 400; font-size: var(--h2); color: var(--ink); margin-bottom: 2rem; }

.magh-plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.magh-plan { display: block; border: 1px solid var(--line-light); background: var(--white); }
.magh-plan img { width: 100%; height: auto; display: block; }

.magh-hood { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.magh-hood h3 { font-family: var(--sans); font-weight: 600; font-size: 1rem; color: var(--ink); margin: 0 0 0.7rem; }
.magh-hood h3 + p { margin-bottom: 1.8rem; }
.magh-hood p { color: rgba(28,26,24,0.78); line-height: 1.8; }
.magh-amen { list-style: none; margin: 0; padding: 0; }
.magh-amen li { padding: 0.6rem 0; border-bottom: 1px solid var(--line-light); font-size: 0.95rem; color: rgba(28,26,24,0.78); }
.magh-form { max-width: 56ch; }
.magh-form p { color: rgba(28,26,24,0.78); margin-bottom: 1.6rem; }
.magh-back { margin-top: 2.4rem; }
.magh-back a { font-size: var(--cap); font-weight: 500; text-transform: uppercase; letter-spacing: 0.2em; color: var(--green); }

@media (max-width: 980px) { .magh-grid { grid-template-columns: repeat(2, 1fr); } .magh-hood { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .magh-grid, .magh-plans { grid-template-columns: 1fr; } }

/* ---------- concierge / valuation / past transactions ---------- */
.lead-big { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem,2.6vw,2.1rem); line-height: 1.42; color: var(--ink); margin-bottom: 1.6rem; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.6rem,3vw,2.8rem); }
.pillars--three { grid-template-columns: repeat(3, 1fr); }
.pillars h3 { font-family: var(--sans); font-weight: 600; font-size: 1.02rem; color: var(--ink); margin-bottom: 0.7rem; padding-top: 1rem; border-top: 2px solid var(--green); }
.pillars p { color: rgba(28,26,24,0.75); line-height: 1.7; font-size: 0.96rem; }

.cov-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.6rem,3vw,3rem); }
.cov-grid ul { list-style: none; margin: 0; padding: 0; }
.cov-grid li { padding: 0.62rem 0; border-bottom: 1px solid var(--line-light); font-size: 0.95rem; color: rgba(28,26,24,0.78); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.6rem,3vw,2.6rem); }
.steps > div { border-top: 2px solid var(--green); padding-top: 1.1rem; }
.steps__n { font-family: var(--serif); font-size: 1.5rem; color: var(--green); display: block; margin-bottom: 0.5rem; }
.steps p { color: rgba(28,26,24,0.75); line-height: 1.7; font-size: 0.96rem; }

.sold-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem,2.4vw,2.2rem); }
.sold-card { background: var(--white); border: 1px solid var(--line-light); }
.sold-card__img { aspect-ratio: 4/3; overflow: hidden; background: var(--paper); }
.sold-card__img img { width: 100%; height: 100%; object-fit: cover; }
.sold-card__body { padding: 1.4rem 1.5rem 1.7rem; }
.sold-card__price { font-family: var(--serif); font-size: 1.6rem; color: var(--ink); margin-bottom: 0.35rem; }
.sold-card__body h3 { font-family: var(--sans); font-weight: 500; font-size: 0.98rem; color: rgba(28,26,24,0.82); margin-bottom: 0.5rem; line-height: 1.45; }
.sold-card__spec { font-size: 0.86rem; color: var(--grey); letter-spacing: 0.02em; }
.sold-card__note { font-size: 0.78rem; color: var(--grey); margin-top: 0.6rem; font-style: italic; }

@media (max-width: 980px) { .pillars, .steps, .cov-grid, .sold-grid { grid-template-columns: repeat(2, 1fr); } .pillars--three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pillars, .pillars--three, .steps, .cov-grid, .sold-grid { grid-template-columns: 1fr; } }

/* ---------- legal note (third-party program disclaimers) ---------- */
.legal-note { max-width: 78ch; }
.legal-note p { font-size: 0.78rem; line-height: 1.65; color: var(--grey); margin-bottom: 0.9rem; }

/* ---------- listing QR: take it with you ----------
   A quiet strip, never a section. The visitor is already on the page, so this
   is a way to carry it, not a pitch. Hidden under 780px on purpose: a QR code
   on the phone you are already holding is nothing. */
.lp-qr { padding: 0 var(--gutter); border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.lp-qr__in {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(1.1rem, 2.4vw, 1.8rem);
  padding: clamp(1.6rem, 3vw, 2.2rem) 0;
}
.lp-qr__code {
  flex: 0 0 auto; width: 96px; height: 96px; display: block;
  background: #fff; padding: 6px; border: 1px solid var(--line);
}
.lp-qr__txt { min-width: 0; }
.lp-qr__txt .eyebrow { display: block; margin-bottom: .4rem; }
.lp-qr__txt h3 {
  font-family: var(--serif); font-weight: 400; color: var(--ink);
  font-size: clamp(1.15rem, 1.9vw, 1.45rem); line-height: 1.15;
}
.lp-qr__txt p { font-size: .9rem; line-height: 1.6; color: var(--grey); margin-top: .35rem; max-width: 42ch; }
@media (max-width: 780px) { .lp-qr { display: none; } }

/* ---------- thumb-sized taps (JJ 9/28) ----------
   These links are 18 to 21px tall and the testimonial dots 9px, so a thumb missed them and
   the tap read as a button that does nothing. An invisible pad widens what counts as a hit
   without moving anything on the page. The dots' spacing is in match.css. */
.lp-hero__back, .pd-back, .article__back, .tcar__dot { position: relative; }
.lp-hero__back::after, .pd-back::after, .article__back::after { content: ""; position: absolute; inset: -13px -10px; }
.tcar__dot::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; }
