/* ==========================================================================
   The Gordon Brothers Team — site styles
   Static rebuild of livebythelake.ca (-> thegordonbrothers.ca).
   Shares the structural system of the lauramcbride.ca rebuild; Gordon Brothers
   palette + typography (Playfair Display SC / Merriweather / Kalam).
   TODO before cutover: self-host the fonts as woff2.
   ========================================================================== */

:root {
  --paper: #ffffff;
  --paper-2: #f4f5f6;
  --ink: #222831;
  --ink-soft: #4c545e;
  --navy: #1e2a38;
  --navy-deep: #16202b;
  --blue: #3c6b8d;
  --green: #4f7a5c;
  --gold: #bfa06a;
  --line: #e3e4e7;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(22, 32, 43, .06), 0 4px 14px rgba(22, 32, 43, .05);
  --shadow-md: 0 2px 6px rgba(22, 32, 43, .07), 0 12px 34px rgba(22, 32, 43, .07);
  --maxw: 1180px;
  --gap: clamp(1rem, 4vw, 3rem);
  --serif: "Playfair Display SC", "Playfair Display", Georgia, "Times New Roman", serif;
  --accent: "Merriweather", Georgia, "Times New Roman", serif;
  --script: "Kalam", "Bradley Hand", "Segoe Script", cursive;
  --sans: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.18; color: var(--navy-deep); margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
h4 { font-size: 1.1rem; letter-spacing: .01em; }

p { margin: 0 0 1.15em; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--navy-deep); }
img { max-width: 100%; height: auto; display: block; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 .8em;
}

.container { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gap); }

section { padding-block: clamp(3rem, 8vw, 6rem); }
section.tint { background: var(--paper-2); border-block: 1px solid var(--line); }
section.navy { background: var(--navy-deep); color: #e9e3d8; }
section.navy h2, section.navy h3, section.navy h4 { color: #fff; }
section.navy a { color: #cfe0ec; }

.lede { font-size: 1.22rem; line-height: 1.75; max-width: 64ch; color: var(--ink-soft); }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .8rem;
  padding: .85em 1.6em;
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid var(--navy-deep);
  background: var(--navy-deep);
  color: #fff;
  transition: background .15s, color .15s;
}
.btn:hover { background: transparent; color: var(--navy-deep); }
.btn--ghost { background: transparent; color: var(--navy-deep); }
.btn--ghost:hover { background: var(--navy-deep); color: #fff; }
section.navy .btn,
.testimonial-strip .btn { border-color: #fff; background: #fff; color: var(--navy-deep); }
section.navy .btn:hover,
.testimonial-strip .btn:hover { background: transparent; color: #fff; }

/* Header --------------------------------------------------------------- */
/* One sticky bar: wordmark left, nav right. Larger on arrival, compact once scrolled. */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  padding-block: clamp(1rem, 2.4vw, 1.5rem); position: relative;
  transition: padding-block .22s ease;
}
.site-header__logo { display: block; flex: none; line-height: 0; }
.site-header__logo img {
  height: clamp(52px, 6.4vw, 76px); width: auto; display: block;
  transition: height .22s ease;
}
.site-header.is-scrolled .container { padding-block: .5rem; }
.site-header.is-scrolled .site-header__logo img { height: 38px; }

/* Nav is a hamburger menu at every width; Contact stays visible beside the toggle */
.site-header__actions { display: flex; align-items: center; gap: .75rem; flex: none; }
.site-header__cta { color: #fff; padding: .55rem 1.1rem; font-size: .72rem; }
.nav-toggle { display: block; background: none; border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--navy-deep); }
.site-nav {
  position: absolute; top: calc(100% + 4px); right: var(--gap);
  display: none; flex-direction: column; align-items: stretch; gap: .1rem;
  min-width: 240px; max-width: min(88vw, 340px);
  background: var(--paper); border: 1px solid var(--line); border-top: 0;
  border-radius: 0 0 10px 10px; box-shadow: var(--shadow-md);
  padding: .9rem 1.25rem 1.1rem;
}
.site-nav.open { display: flex; }
.site-nav a {
  font-family: var(--sans); font-weight: 600; font-size: .78rem;
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--navy-deep); white-space: nowrap;
  padding: .62rem .25rem; border-bottom: 1px solid var(--line);
}
.site-nav a:last-child { border-bottom: 0; }
.site-nav a:hover { color: var(--gold); }

@media (max-width: 900px) {
  .site-header__logo img { height: clamp(42px, 10vw, 54px); }
  .site-header.is-scrolled .site-header__logo img { height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header .container, .site-header__logo img { transition: none; }
}

/* Testimonial strip -------------------------------------------------------- */
.testimonial-strip { background: var(--navy-deep); color: #ece5d9; text-align: center; }
.testimonial-strip .eyebrow { color: var(--gold); }
.testimonial-strip blockquote { margin: 0 auto; max-width: 60ch; font-family: var(--accent); font-size: 1.15rem; line-height: 1.75; }
.testimonial-strip cite { display: block; margin-top: 1.2rem; font-style: normal; font-family: var(--sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #b9c6d2; }

/* Hero ----------------------------------------------------------------- */
.hero__media { max-width: 860px; margin: 0 auto 2.5rem; }
.hero__media img { border-radius: 3px; width: 100%; }
.hero__text { max-width: 64ch; margin-inline: auto; }
.hero__text h1 { margin-bottom: .5em; }

/* Feature grid (listings, guides, etc.) --------------------------------- */
.grid { display: grid; gap: 1.8rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
/* Phone / small tablet: stack listing cards one on top of the other */
@media (max-width: 820px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }
/* Recently Sold: compact, stays 3-across like the original site */
.grid--sold { grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.grid--sold .card__body { padding: .9rem 1rem 1.1rem; }
.grid--sold .card__body h3 { font-size: 1rem; }
.grid--sold .card__body p { font-size: .85rem; margin-bottom: .7rem; }
@media (max-width: 560px) {
  .grid--sold .status { font-size: .58rem; }
  .grid--sold .card__body h3 { font-size: .82rem; }
  .grid--sold .card__body p { font-size: .72rem; }
  .grid--sold .btn { font-size: .58rem; padding: .55em .8em; }
}

.card { background: var(--white); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: box-shadow .16s, transform .16s; }
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: .35em; }
.card__body p { font-size: .97rem; color: var(--ink-soft); }
.card__body .btn { margin-top: auto; align-self: flex-start; }
.status {
  align-self: flex-start;
  font-family: var(--sans); font-weight: 700; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .3em .7em; border-radius: 2px; margin-bottom: .8em;
}
.status--sale { background: #e4ede4; color: var(--green); }
.status--sold { background: #efe3d6; color: var(--gold); }
.status--conditional { background: #e5e9ee; color: var(--blue); }

/* Quick facts ----------------------------------------------------------- */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem 2.5rem; max-width: 62rem; margin: 2rem 0 0; }
@media (max-width: 620px) { .facts { grid-template-columns: 1fr; } }
.facts > div { border-top: 2px solid var(--gold); padding-top: .55rem; }
.facts dt { font-family: var(--sans); font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 .2rem; }
.facts dd { margin: 0; font-size: 1.02rem; line-height: 1.6; }

/* Listing detail page --------------------------------------------------- */
.listing-hero { padding-block: 1.5rem 0; }
.listing-hero__media { border-radius: 6px; overflow: hidden; background: var(--paper-2); margin-bottom: 1.6rem; box-shadow: var(--shadow-md); }
.listing-hero__media img { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.listing-hero h1 { margin: .3rem 0 .4rem; }
.listing-hero__sub { font-size: 1.15rem; color: var(--ink-soft); max-width: 62ch; }
.listing-facts.facts { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .listing-facts.facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .listing-facts.facts { grid-template-columns: 1fr; } }

.rooms-wrap { overflow-x: auto; margin-top: 1.2rem; }
.rooms { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 34rem; }
.rooms th { text-align: left; font-family: var(--sans); font-weight: 700; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); border-bottom: 2px solid var(--gold); padding: .5rem .8rem; }
.rooms td { border-bottom: 1px solid var(--line); padding: .6rem .8rem; }
.rooms tr:last-child td { border-bottom: 0; }

/* Listing photo tour */
.listing-gallery { padding-block: clamp(2.4rem, 6vw, 4rem); }
.gal-label { font-family: var(--script); font-weight: 400; font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.1; color: var(--gold); margin: 2.6rem 0 1rem; }
.gal-lead { margin: 0 0 1rem; }
.gal-lead img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; box-shadow: var(--shadow-md); }
.gal-lead--mid { max-width: 760px; margin-inline: auto; }
.gal-lead--mid img { aspect-ratio: 3 / 2; }
.gal-grid { display: grid; gap: 1rem; margin-bottom: 1rem; }
.gal-grid.gal-2 { grid-template-columns: 1fr 1fr; }
.gal-grid.gal-3 { grid-template-columns: repeat(3, 1fr); }
.gal-grid figure { margin: 0; }
.gal-grid img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; box-shadow: var(--shadow-sm); display: block; }
.listing-gallery figcaption { margin-top: .4rem; font-size: .8rem; color: var(--ink-soft); }
.listing-gallery .tartan-divider { height: 40px; margin: 2rem 0 .5rem; border-radius: 3px; }
@media (max-width: 820px) { .gal-grid.gal-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .gal-grid.gal-2, .gal-grid.gal-3 { grid-template-columns: 1fr; } }
/* portrait variant: keep faces in frame */
.gal-grid.gal-3--portrait img { aspect-ratio: 4 / 5; object-position: top center; }

/* Lakeside neighbourhood map */
.lakeside-map-figure { margin: clamp(1.6rem, 4vw, 2.6rem) auto 0; max-width: 920px; }
.lakeside-map-figure img { width: 100%; height: auto; border-radius: 6px; box-shadow: var(--shadow-md); display: block; }
.lakeside-map-figure figcaption { margin-top: .5rem; font-size: .82rem; color: var(--ink-soft); text-align: center; }

/* Guide download offer */
.guide-offer { display: grid; grid-template-columns: 240px 1fr; gap: clamp(1.4rem, 4vw, 2.6rem); align-items: start; margin-top: 1.4rem; }
.guide-offer__cover { width: 100%; height: auto; border-radius: 4px; box-shadow: var(--shadow-md); }
.guide-offer__body .lede { margin-top: 0; }
.guide-form__note { font-size: .8rem; color: var(--ink-soft); margin: .6rem 0 0; }
.guide-form__done { max-width: 32rem; background: var(--paper-2); border-left: 3px solid var(--gold); border-radius: 3px; padding: 1.2rem 1.4rem; margin-top: 1.4rem; }
.guide-form__done p:last-child { margin-bottom: 0; }
@media (max-width: 620px) { .guide-offer { grid-template-columns: 1fr; } .guide-offer__cover { max-width: none; width: 100%; } }

/* Guides index grid */
.guides-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 2.2rem 1.6rem; margin-top: 2.4rem; }
.guides-grid--narrow { max-width: 460px; }
.guide-card { display: flex; flex-direction: column; align-items: stretch; text-align: left; text-decoration: none; color: inherit; }
.guide-card__img { width: 100%; aspect-ratio: 1236 / 1600; object-fit: cover; border-radius: 4px; box-shadow: var(--shadow-md); transition: transform .16s ease, box-shadow .16s ease; }
.guide-card:hover .guide-card__img, .guide-card:focus-visible .guide-card__img { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(22,32,43,.12), 0 20px 44px rgba(22,32,43,.14); }
.guide-card__title { font-family: var(--serif); font-size: 1.05rem; color: var(--navy-deep); margin: .95rem 0 .3rem; }
.guide-card__blurb { font-size: .89rem; line-height: 1.55; color: var(--ink-soft); margin: 0 0 .5rem; }
.guide-card__cta { font-family: var(--sans); font-weight: 700; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }

/* FAQ ----------------------------------------------------------------------- */
.faq { max-width: 62rem; margin-top: 2rem; }
.faq details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq summary { font-family: var(--serif); font-size: 1.18rem; color: var(--navy-deep); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); color: var(--gold); font-weight: 700; flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > p { margin: .9rem 0 0; color: var(--ink-soft); font-size: 1.02rem; }

/* Steps -------------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 1.4rem; max-width: 62ch; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--serif); font-size: 1.1rem; font-weight: 600;
  width: 2.2rem; height: 2.2rem; display: grid; place-items: center;
  border: 1.5px solid var(--gold); color: var(--gold); border-radius: 50%;
}
.step h4 { margin: .15em 0 .3em; }
.step p { margin: 0; font-size: .97rem; color: var(--ink-soft); }
section.navy .step p { color: #cdd6de; }

/* Commission tiers ------------------------------------------------------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
@media (max-width: 820px) { .tiers { grid-template-columns: 1fr; } }
.tier { border: 1px solid var(--line); background: var(--white); border-radius: 4px; padding: 1.8rem 1.6rem; box-shadow: var(--shadow-sm); }
.tier__name { font-family: var(--sans); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; color: var(--ink-soft); }
.tier__rate { font-family: var(--serif); font-size: 2rem; color: var(--navy-deep); margin: .2em 0 .1em; }
.tier__tag { font-family: var(--sans); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.tier--gold { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }
.fine { font-size: .88rem; color: var(--ink-soft); max-width: 70ch; }

/* Split media rows ----------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 5vw, 4rem); align-items: center; }
/* When the split pairs copy with a tall form card, keep the heading at the top instead of vertically centred */
.split:has(.lead-card) { align-items: start; }
.split--flip .split__media { order: 2; }
@media (max-width: 820px) { .split, .split--flip { grid-template-columns: 1fr; } .split--flip .split__media { order: 0; } }
.bio .split__media img { aspect-ratio: 4 / 5; object-fit: cover; object-position: top center; border-radius: 4px; box-shadow: var(--shadow-sm); }
.bio .split__text h2 { margin-bottom: .2em; }
.split.bio:has(.bio__gallery) { align-items: start; }
.split--flip.bio .bio__gallery { order: 3; }
@media (max-width: 820px) { .bio .split__media img { max-width: 420px; margin-inline: auto; } }
.bio__extra { margin: 1.5rem 0; }
.bio__extra img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; box-shadow: var(--shadow-sm); }
/* Key takeaways block + article byline (guide articles) */
.key-points { max-width: 74ch; margin: 1.8rem 0 0; padding: 1.3rem 1.5rem 1.4rem; background: var(--paper-2); border-left: 3px solid var(--gold); border-radius: 4px; }
.key-points h2 { margin: 0 0 .6rem; font-family: var(--sans); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.key-points ul { margin: 0; padding-left: 1.1rem; }
.key-points li { margin-bottom: .4rem; color: var(--ink); }
.key-points li:last-child { margin-bottom: 0; }
.article-byline { font-size: .9rem; color: var(--ink-soft); margin: .2rem 0 1.1rem; }
.article-byline a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

.recognition { margin: 1.2rem 0 1.4rem; padding-left: 1rem; border-left: 2px solid var(--gold); }
.recognition__label { font-family: var(--sans, inherit); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin: 0 0 .4rem; }
.recognition ul { list-style: none; margin: 0; padding: 0; }
.recognition li { font-size: .95rem; color: var(--ink-soft); margin-bottom: .4rem; line-height: 1.55; }
.recognition li:last-child { margin-bottom: 0; }
.recognition a { color: var(--navy-deep); text-decoration: underline; text-underline-offset: 2px; }

/* Homepage recognition / press list ---------------------------------- */
.press-list__label { max-width: 46rem; margin: 2rem auto .2rem; text-align: left; font-family: var(--sans); font-weight: 700; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.press-list { list-style: none; padding: 0; margin: .6rem auto 0; max-width: 46rem; display: grid; gap: .9rem; text-align: left; }
.press-list li > a,
.press-list li > span { display: block; border: 1px solid var(--line); border-radius: 4px; padding: 1rem 1.25rem; background: var(--white); box-shadow: var(--shadow-sm); color: inherit; text-decoration: none; transition: box-shadow .15s ease, transform .15s ease; }
.press-list li > a:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.press-list__outlet { display: block; font-family: var(--sans); font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.press-list__title { display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--navy-deep); margin: .12rem 0; }
.press-list__meta { display: block; font-size: .82rem; color: var(--ink-soft); }
.press-figure { max-width: 46rem; margin: 1.8rem auto 0; }
.press-figure img { width: 100%; height: auto; border-radius: 4px; box-shadow: var(--shadow-sm); display: block; }
.press-figure figcaption { margin-top: .55rem; font-size: .82rem; color: var(--ink-soft); text-align: left; }

.bio__social { display: flex; gap: .8rem; align-items: center; margin: .2rem 0 1rem; }
.bio__social a { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; color: var(--navy-deep); transition: background .15s, color .15s, border-color .15s; }
.bio__social a:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.bio__social svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.bio__extra figcaption { margin-top: .5rem; font-size: .82rem; color: var(--ink-soft); }

/* Doug's paired supporting images: full-width row, tops aligned */
.bio__gallery { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3vw, 2rem); margin-top: .5rem; }
.bio__gallery figure { margin: 0; }
.bio__gallery img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; box-shadow: var(--shadow-sm); }
.bio__gallery figcaption { margin-top: .5rem; font-size: .82rem; color: var(--ink-soft); }
@media (max-width: 820px) { .bio__gallery { grid-template-columns: 1fr; } }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.ba figure { margin: 0; }
.ba figcaption { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-top: .4rem; }

/* Meet Laura lifestyle photo row */
.meet-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: .7rem; }
.meet-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; box-shadow: var(--shadow-sm); }

/* Forms -------------------------------------------------------------------- */
.form { display: grid; gap: 1rem; max-width: 30rem; }
.form label { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.form input, .form textarea {
  width: 100%; font: inherit; padding: .75em .9em;
  border: 1px solid var(--line); border-radius: 2px; background: var(--white); color: var(--ink);
}
.form textarea { min-height: 7rem; resize: vertical; }
section.navy .form input, section.navy .form textarea { background: rgba(255,255,255,.95); }

/* Mortgage calculator -------------------------------------------------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; max-width: 46rem; }
@media (max-width: 620px) { .calc { grid-template-columns: 1fr; } }
.calc__field { margin-bottom: 1rem; }
.calc__field label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .3rem; }
.calc__field input { width: 100%; font: inherit; padding: .7em .9em; border: 1px solid var(--line); border-radius: 2px; background: var(--white); }
.calc__out { background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 1.6rem; box-shadow: var(--shadow-sm); }
.calc__payment { font-family: var(--serif); font-size: 2.4rem; color: var(--navy-deep); }
.calc__note { font-size: .82rem; color: var(--ink-soft); }

/* Instagram grid ----------------------------------------------------------- */
.ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
@media (max-width: 620px) { .ig-grid { grid-template-columns: repeat(2, 1fr); } }
.ig-grid img { aspect-ratio: 1; object-fit: cover; border-radius: 2px; }

/* Footer -------------------------------------------------------------------- */
.site-footer { background: var(--navy-deep); color: #c9d2da; padding-block: clamp(3rem, 7vw, 5rem) 2rem; }
.site-footer h2 { color: #fff; font-size: 1.4rem; }
.site-footer p { color: #b9c3cc; font-size: .95rem; max-width: 65ch; }
.site-footer a { color: #dbe5ec; }
.site-footer__cols { display: grid; grid-template-columns: 2fr 1fr; gap: 2.5rem; }
@media (max-width: 720px) { .site-footer__cols { grid-template-columns: 1fr; } }
.site-footer__contact div { margin-bottom: .35rem; font-size: .95rem; }
.site-footer__revel { width: 168px; height: auto; display: block; margin-bottom: 1rem; }
.site-footer__social { display: flex; gap: 1rem; margin-top: 1rem; }
.site-footer__social img { height: 30px; width: 30px; }
.site-footer__mark { width: 200px; height: auto; margin: .5rem 0 1.5rem; filter: brightness(0) invert(1); opacity: .92; }
.site-footer__legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.5rem; font-size: .82rem; color: #93a0aa; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.site-footer__legal a { color: #cfd6dc; }
.site-footer__legal span + span { display: inline-flex; gap: 1.2rem; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Gordon Brothers tartan section divider — sits flush against the section above */
.tartan-divider { display: block; width: 100%; height: 92px; object-fit: cover; object-position: center; margin: 0; }
section:has(+ .tartan-divider),
section:has(+ .brand-band),
section:has(+ .gb-hero) { padding-bottom: 0; }
.tartan-divider + section, .brand-band + section { padding-top: clamp(2.4rem, 6vw, 4rem); }

/* Gordon Brothers brand band: the lakeside house image capped by the tartan stripe.
   A recurring identity device — large on the homepage, slim on interior pages. */
.brand-band { margin: 0; display: block; }
.brand-band img { display: block; width: 100%; }
.brand-band__house { max-height: 62vh; object-fit: cover; object-position: center 62%; }
.brand-band figcaption { text-align: center; padding: .85rem var(--gap) 0; font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.brand-band--slim .brand-band__house { max-height: 26vh; }
.brand-band .tartan-divider { height: 72px; }

/* Full-bleed graphic page header (whole image always visible, no crop) */
.page-banner { margin: 0; display: block; }
.page-banner img { display: block; width: 100%; height: auto; }

/* Decorative star flourish */
.stars { color: var(--gold); font-size: 1.35rem; letter-spacing: .28em; line-height: 1; margin: .6rem 0 0; }

/* Full-width image, edge to edge, natural ratio, no box */
.fullwidth { margin: clamp(1.6rem, 5vw, 3rem) calc(-1 * var(--gap)) 0; }
.fullwidth img { display: block; width: 100%; height: auto; }
.fullwidth figcaption { padding: .6rem var(--gap) 0; font-size: .82rem; letter-spacing: .04em; color: var(--ink-soft); }

/* Ripple / contour watermark on navy + testimonial layers */
.navy, .testimonial-strip { position: relative; overflow: hidden; }
.navy::before, .testimonial-strip::before {
  content: ""; position: absolute; inset: 0;
  background: url("/assets/img/gordon-brothers-bg-contact.jpg") center / cover no-repeat;
  filter: invert(1); opacity: .07; pointer-events: none;
}
.navy > *, .testimonial-strip > * { position: relative; z-index: 1; }

/* Gordon Brothers stacked hero: tartan -> wordmark -> team -> lakeside house */
.gb-hero { text-align: center; background: var(--paper); padding: 0 0 clamp(1.5rem, 4vw, 2.5rem); }
.gb-hero__intro { max-width: 48rem; margin-inline: auto; padding-inline: var(--gap); }
.gb-hero__intro h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); margin-bottom: .5em; }
.gb-hero__intro .lede { margin-inline: auto; }
.gb-hero__intro .cta-pair { justify-content: center; margin-top: 1.7rem; }
.gb-hero__team { display: block; width: min(560px, 88%); height: auto; margin: clamp(1.8rem, 4.5vw, 3.2rem) auto clamp(1.2rem, 3vw, 2rem); }

/* flush utilities */
.pb-0 { padding-bottom: 0 !important; }
.bleed.mt-0 { margin-top: 0; }

/* Sell / Buy lead CTA pair */
.cta-pair { display: flex; flex-wrap: wrap; gap: .8rem; }
.center .cta-pair, section.center .cta-pair { justify-content: center; }
section.navy .cta-pair .btn { border-color: #fff; }
section.navy .cta-pair .btn--ghost { background: transparent; color: #fff; }
section.navy .cta-pair .btn--ghost:hover { background: #fff; color: var(--navy-deep); }

/* Lead form cards on the contact page */
.lead-forms { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-top: 2rem; }
@media (max-width: 780px) { .lead-forms { grid-template-columns: 1fr; } }
.lead-card { border: 1px solid var(--line); border-radius: 5px; padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow-sm); background: var(--white); scroll-margin-top: 90px; }
.lead-card h2 { margin-top: 0; }
.lead-card.is-target { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold) inset, var(--shadow-md); }

/* Reviews page */
.reviews { display: grid; gap: 1.6rem; margin-top: 2rem; max-width: 68ch; }
.reviews blockquote { margin: 0; padding: 1.6rem 1.8rem; background: var(--paper-2); border-left: 3px solid var(--gold); border-radius: 3px; }
.reviews blockquote p { margin: 0; }
.reviews cite { display: block; margin-top: 1rem; font-style: normal; font-family: var(--serif); color: var(--navy-deep); }

/* Footer: office address to the left of the Revel logo + team wording */
.site-footer__contact { display: flex; flex-wrap: wrap; gap: 1.6rem 2.5rem; }
.site-footer__addr { font-size: .95rem; line-height: 1.7; }
.site-footer__addr b { display: block; font-family: var(--serif); font-weight: 700; color: #fff; margin-bottom: .3rem; }
.site-footer__brand { }
.site-footer__areas { display: flex; flex-direction: column; gap: .35rem; font-size: .9rem; }
.site-footer__areas a { color: #cfd6dc; text-decoration: none; }
.site-footer__areas a:hover { color: #fff; text-decoration: underline; }

/* ==== Listing pages ===================================================== */
.breadcrumb { font-size: .82rem; letter-spacing: .04em; color: var(--ink-soft); padding: 1rem 0 0; }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy-deep); }
.breadcrumb [aria-current] { color: var(--navy-deep); }

.listing-hero { padding-block: 2rem 0; }
.listing-hero__media { border-radius: 4px; overflow: hidden; background: var(--paper-2); margin-bottom: 1.6rem; box-shadow: var(--shadow-md); }
.listing-hero__media img { width: 100%; display: block; }
.listing-hero__media figcaption { padding: .7rem 1rem; font-size: .82rem; color: var(--ink-soft); background: var(--white); }
.listing-hero h1 { margin: 0 0 .5rem; }
.listing-hero__sub { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }

.sold-banner {
  background: var(--navy-deep); color: #fff; border-radius: 3px;
  padding: 1.1rem 1.4rem; margin: 1.4rem 0 0;
  display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: baseline;
}
.sold-banner strong { font-family: var(--sans); letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; color: var(--gold); }
.sold-banner a { color: #fff; }

.listing-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem 1.6rem; margin: 1.8rem 0 0; padding: 0; list-style: none; }
.listing-facts li { border-top: 2px solid var(--gold); padding-top: .5rem; }
.listing-facts b { display: block; font-family: var(--sans); font-weight: 700; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .15rem; }

.prose { max-width: 68ch; }
.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 1.8rem; }
.prose ul { padding-left: 1.1rem; }
.prose li { margin-bottom: .3rem; }

.listing-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.related-listings { margin-top: 1rem; }

/* Feature blocks -------------------------------------------------------- */
.feature { padding-block: clamp(2.4rem, 6vw, 4rem); }

/* Every image in a cluster stacks full-width at its natural ratio, never cropped. */
.feature__media { display: flex; flex-direction: column; gap: .8rem; max-width: 1000px; margin-inline: auto; }
.feature__media img { width: 100%; height: auto; border-radius: 4px; display: block; box-shadow: var(--shadow-sm); }
/* opt-in: show a tall photo as a horizontal full-width band */
.feature__media img.crop-landscape { aspect-ratio: 3 / 2; height: auto; object-fit: cover; object-position: center; }
.feature__media--pair { /* kept for markup compatibility */ }
.feature__text { max-width: 68ch; margin: 1.8rem auto 0; }

/* A feature with a single image sits side-by-side with its text, alternating sides. */
.feature:has(.feature__media img:only-child) {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(1.6rem, 4vw, 3.5rem); align-items: center;
}
.feature:has(.feature__media img:only-child) .feature__media { max-width: none; margin: 0; }
.feature:has(.feature__media img:only-child) .feature__text { margin: 0; }
.feature--flip:has(.feature__media img:only-child) .feature__media { order: 2; }
@media (max-width: 860px) {
  .feature:has(.feature__media img:only-child) { grid-template-columns: 1fr; gap: 1.4rem; }
  .feature--flip:has(.feature__media img:only-child) .feature__media { order: 0; }
}
.feature__label {
  font-family: var(--script); font-weight: 400;
  font-size: clamp(1.9rem, 3.8vw, 2.7rem); line-height: 1.05;
  color: var(--gold); margin: 0 0 .35rem;
}
.feature__text h3 { margin: 0 0 .5rem; }
.feature__text p { max-width: 48ch; }
.feature__text p:last-child { margin-bottom: 0; }
.feature__text ul { max-width: 48ch; padding-left: 1.1rem; margin: 0; }

/* full-bleed image break */
.bleed { margin: clamp(1.5rem, 5vw, 3rem) calc(-1 * var(--gap)) 0; }
.bleed img { width: 100%; max-height: 68vh; object-fit: cover; display: block; }
.bleed figcaption { padding: .6rem var(--gap) 0; font-size: .82rem; letter-spacing: .06em; color: var(--ink-soft); }

/* graphic panels (floor plans, deets, area features, HoodQ) */
.panel { margin-top: clamp(2rem, 5vw, 3.5rem); }
.panel__img { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm); }
.panel__img img { width: 100%; display: block; }
.panel__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
@media (max-width: 760px) { .panel__grid { grid-template-columns: 1fr; } }

/* full-frame image: shown whole, never cropped (diagrams, lot lines, floor plans, marketing graphics) */
.frame { margin-top: clamp(1.4rem, 4vw, 2.4rem); border: 1px solid var(--line); border-radius: 4px; background: var(--white); box-shadow: var(--shadow-sm); overflow: hidden; }
.frame img { width: 100%; height: auto; display: block; object-fit: contain; }
.frame figcaption { padding: .6rem 1rem; font-size: .82rem; color: var(--ink-soft); border-top: 1px solid var(--line); }

/* embedded iGUIDE 3D tour */
.iguide { margin-top: clamp(1.4rem, 4vw, 2.4rem); position: relative; padding-bottom: 62%; border-radius: 4px; overflow: hidden; box-shadow: var(--shadow-md); background: var(--paper-2); }
.iguide iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* LISTED app callout — full image, then copy (never cropped, never side-by-side) */
.app-callout { margin-top: clamp(2rem, 5vw, 3.5rem); padding: clamp(1.4rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 4px; box-shadow: var(--shadow-sm); }
.app-callout img { width: 100%; height: auto; border-radius: 3px; display: block; margin-bottom: 1.4rem; }
.app-callout p { max-width: 64ch; }

/* compact extras strip */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin-top: 1.5rem; }
@media (max-width: 820px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 2px; background: var(--paper-2); }
.gallery figure { margin: 0; }
.gallery figcaption { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-top: .35rem; }

/* Community: small portrait tiles so people aren't cropped */
.gallery--portrait { grid-template-columns: repeat(5, 1fr); gap: .6rem; max-width: 820px; margin-inline: auto; }
.gallery--portrait img { aspect-ratio: 3 / 4; }
@media (max-width: 820px) { .gallery--portrait { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 460px) { .gallery--portrait { grid-template-columns: repeat(2, 1fr); } }

/* Team headshots: portrait profile crop, heads kept in frame */
.grid--team .card__media { aspect-ratio: 4 / 5; }
.grid--team .card__media img { object-position: top center; }

/* Supporting team members: smaller portraits than Doug & Rich */
.grid--team .card--member { align-self: start; justify-self: center; max-width: 80%; }
.grid--team .card--member .card__media { aspect-ratio: 1 / 1; }
@media (max-width: 820px) { .grid--team .card--member { max-width: 100%; } }

.bio--member { grid-template-columns: 0.58fr 1fr; }
.bio--member.split--flip { grid-template-columns: 1fr 0.58fr; }
.bio--member .split__media img { max-width: 320px; }
.bio--member.split--flip .split__media img { margin-inline-start: auto; }
@media (max-width: 820px) {
  .bio--member, .bio--member.split--flip { grid-template-columns: 1fr; }
  .bio--member .split__media img { max-width: 280px; margin-inline: auto; }
}
