/* ==========================================================================
   Shared stylesheet — every page uses this one file.
   Sections: 1 Tokens · 2 Base · 3 Buttons & forms · 4 Header & menu ·
   5 Heroes · 6 Home sections · 7 Listings · 8 Inner pages · 9 Footer ·
   10 Modals · 11 Responsive (tablet ≤1024px, mobile ≤767px)
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --ink: #211f1f;
  --black: #000;
  --white: #fff;
  --body: rgba(0, 0, 0, 0.8);
  --muted: #6f6f6f;
  --rule: #dcdcdc;
  --tint: #f6f5f3;
  --tile: #a9a9a9;
  --accent: #c8b7a3;
  /* Cinzel is an all-caps display serif: headings, navigation and accents only. Body copy, form fields and
     buttons stay in Inter, which reads clearly at small sizes. Loaded in src/partials/layout.html. */
  --font-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --container: 1300px;
  --gutter: 40px;
  --section: 110px;
  --header-h: 110px;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.666;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.18;
}
h1 { font-size: 56px; }
h2 { font-size: 56px; }
h3 { font-size: 24px; }
.display { text-transform: uppercase; letter-spacing: 1.5px; }
.h-small { font-family: var(--font-body); font-size: 24px; font-weight: 400; line-height: 1.35; margin-bottom: 16px; }
.eyebrow { font-family: var(--font-display); font-size: 18px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 22px; }
.lead { font-weight: 700; font-style: italic; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: calc(1080px + var(--gutter) * 2); }
.container-form { max-width: calc(520px + var(--gutter) * 2); }
.section { padding: var(--section) 0; }
.section-dark { background: var(--black); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-tint { background: var(--tint); }
.section-flush { padding-bottom: 80px; }
.section-head { text-align: center; margin-bottom: 50px; }
.section-head p { font-size: 16px; margin-top: 14px; }
.section-head-spaced { margin-top: 90px; }
.center-row { text-align: center; margin-top: 50px; }
.visually-hidden, .hp {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--white); color: var(--ink); padding: 10px 16px; }
.skip-link:focus { left: 8px; }
.text-link { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { text-decoration: none; }
.notice { background: var(--tint); padding: 16px 20px; font-size: 16px; margin: 24px 0; }

/* 3. Buttons & forms -------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 17px 28px;
  border: 1px solid currentColor;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.btn-light { color: var(--white); border-color: var(--white); background: rgba(0, 0, 0, 0.25); }
.btn-light:hover { background: var(--white); color: var(--ink); }
.btn-dark { color: var(--ink); border-color: var(--ink); }
.btn-dark:hover { background: var(--ink); color: var(--white); }
.btn-block { display: block; width: 100%; }
.btn-solid { color: var(--white); background: var(--ink); border-color: var(--ink); }
.btn-solid:hover { background: var(--white); color: var(--ink); }

.arrows { display: flex; gap: 12px; }
.arrow {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--ink); color: var(--ink);
  font-size: 17px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color 0.25s, color 0.25s;
}
.arrow:hover { background: var(--ink); color: var(--white); }
.arrow-light { border-color: var(--white); color: var(--white); }
.arrow-light:hover { background: var(--white); color: var(--ink); }

.form { display: grid; gap: 18px; text-align: left; }
.field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--rule);
  border-radius: 0;
  background: var(--white);
  font: 400 15px/1.4 var(--font-body);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 1.5; color: var(--muted); }
.consent input { margin-top: 2px; flex: none; }
.form-status { font-size: 16px; margin: 0; min-height: 1em; }
.form-status.is-error { color: #a12020; }

/* 4. Header & menu ---------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  padding: 0 70px;
  display: flex; align-items: center; gap: 28px;
  color: var(--ink);
  background: var(--white);
  transition: background-color 0.3s, color 0.3s, height 0.3s;
}
/* .is-home and .has-photo-header: the header sits see-through over a full-bleed top photo until you scroll */
.is-home .site-header, .has-photo-header .site-header { background: transparent; color: var(--white); }
.site-header.is-scrolled, .is-home .site-header.is-scrolled, .has-photo-header .site-header.is-scrolled { background: var(--black); color: var(--white); height: 80px; }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.logo-mark { display: inline-flex; }
.logo-text { display: grid; line-height: 1; }
.logo-text strong { font-family: var(--font-display); font-size: 28px; font-weight: 400; letter-spacing: 2px; }
.logo-text small { font-size: 8px; font-weight: 700; letter-spacing: 3.5px; margin-top: 4px; }
.logo img { height: 58px; width: auto; filter: brightness(0); } /* the logo file is white: black on the white header */
.is-home .site-header:not(.is-scrolled) .logo img, .has-photo-header .site-header:not(.is-scrolled) .logo img, .site-header.is-scrolled .logo img { filter: none; }

.primary-nav > ul { display: flex; align-items: center; gap: 34px; }
.nav-link { font-family: var(--font-display); font-size: 17px; white-space: nowrap; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; padding: 10px 0; }
.nav-link:hover { opacity: 0.7; }
.has-sub { position: relative; }
.primary-nav .sub {
  position: absolute; top: 100%; left: -20px; min-width: 210px;
  background: var(--white); color: var(--ink);
  padding: 10px 0; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.primary-nav .has-sub:hover .sub,
.primary-nav .has-sub:focus-within .sub,
.primary-nav .has-sub.is-open .sub { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub a { display: block; padding: 10px 20px; font-size: 16px; text-decoration: none; }
.primary-nav .sub a:hover { background: var(--tint); }

.icon-btn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; }
.menu-btn {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--ink); color: var(--white);
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  transition: transform 0.25s;
}
.menu-btn:hover { transform: scale(1.06); }
.menu-btn span { display: block; height: 2px; width: 20px; background: currentColor; }
.menu-btn span:last-child { width: 13px; margin-left: 7px; }
.is-home .menu-btn, .has-photo-header .menu-btn, .site-header.is-scrolled .menu-btn { background: var(--white); color: var(--ink); }

.side-menu {
  position: fixed; inset: 0; z-index: 100;
  display: grid; grid-template-columns: 1fr 1fr;
  visibility: hidden; opacity: 0;
  transition: opacity 0.35s, visibility 0.35s;
}
.side-menu.is-open { visibility: visible; opacity: 1; }
.side-menu-media img { width: 100%; height: 100%; object-fit: cover; }
.side-menu-panel {
  background: var(--white); color: var(--ink);
  padding: 90px 70px 50px; overflow-y: auto;
  transform: translateX(40px); transition: transform 0.35s;
  position: relative;
}
.side-menu.is-open .side-menu-panel { transform: none; }
.side-menu-close { position: absolute; top: 38px; right: 70px; font-size: 16px; display: inline-flex; align-items: center; gap: 14px; }
.side-menu-close span { font-size: 30px; line-height: 1; font-weight: 300; }
.side-menu-panel > ul:first-of-type > li { border-bottom: 1px solid var(--rule); }
.side-menu-panel > ul:first-of-type > li > a,
.side-menu-panel > ul:first-of-type > li > button {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
  padding: 15px 0; text-align: left; text-decoration: none;
  font-family: var(--font-display); font-size: 26px; font-weight: 300;
}
.side-menu-panel li > a:hover, .side-menu-panel li > button:hover { opacity: 0.6; }
.side-menu-panel .has-sub ul { display: none; padding: 0 0 16px 16px; }
.side-menu-panel .has-sub.is-open ul { display: block; }
.side-menu-panel .has-sub ul a { display: block; padding: 6px 0; font-size: 17px; text-decoration: none; }
.side-menu-panel .social-list { margin-top: 36px; }

.social-list { display: flex; flex-wrap: wrap; gap: 12px; }
.social-list a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid currentColor;
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 15px; font-weight: 600;
  transition: background-color 0.25s, color 0.25s;
}
.social-list a:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

.connect-pill {
  position: fixed; left: 20px; bottom: 20px; z-index: 40;
  background: var(--white); color: var(--ink);
  padding: 14px 22px; border-radius: 40px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}
.connect-pill.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* 5. Heroes ----------------------------------------------------------------- */
.hero { position: relative; height: 100vh; min-height: 560px; color: var(--white); background: var(--black); overflow: hidden; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
/* The hero photo drifts in a slow zoom and turn, like the previous site's moving background.
   Scaled up so the edges never show while it turns. Off for visitors who prefer reduced motion. */
img.hero-media { transform-origin: 50% 55%; animation: hero-drift 20s ease-in-out infinite alternate; /* slow zoom-and-turn, one sweep every 20s */ will-change: transform; }
@keyframes hero-drift {
  from { transform: scale(1.14) rotate(-1.5deg); }
  to { transform: scale(1.26) rotate(2deg); }
}
.hero:has(.hero-video) img.hero-media { animation: none; } /* the video moves; its still underneath doesn't need to */
.hero-tagline { margin: -12px 0 0; font-size: 14px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.3); }
.hero-inner {
  position: relative; z-index: 1; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
  text-align: center; padding: 0 var(--gutter);
}
.hero h1 { color: var(--white); font-size: 70px; line-height: 1.11; letter-spacing: 1.5px; text-transform: uppercase; }

.page-hero { padding-top: calc(var(--header-h) + 70px); }
.page-hero-text { text-align: center; max-width: 900px; }
.page-hero-text p { font-size: 16px; margin-top: 16px; }
.page-hero-media { margin: 44px 24px 0; }
.page-hero-media img { width: 100%; height: clamp(260px, 42vw, 620px); object-fit: cover; }
/* Photo version (page front matter "photoHero"): banner photo flush to the top, title over it */
.page-hero-photo { position: relative; display: flex; align-items: center; min-height: calc(var(--header-h) + 460px); padding: calc(var(--header-h) + 60px) 0 80px; color: var(--white); background: var(--black); overflow: hidden; }
.page-hero-photo-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0, rgba(0, 0, 0, 0) 220px), radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55) 0, rgba(0, 0, 0, 0.3) 75%); }
.page-hero-photo .page-hero-text { position: relative; z-index: 1; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); }
.page-hero-photo .page-hero-text p { font-size: 18px; }
.page-hero-photo h1, .page-hero-photo .page-hero-text p { color: var(--white); }
.has-top-space main { padding-top: var(--header-h); }

/* 6. Home sections ---------------------------------------------------------- */
/* "Professional. Informative. Trustworthy." with Home Search / Home Valuation / Contact Us photo buttons */
.action-section { background: #ebe6e4; text-align: center; }
.action-heading { font-size: 40px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 50px; }
.action-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; }
.action-tile { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; overflow: hidden; color: var(--white); text-decoration: none; background: #3a3a3a; }
.action-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.action-tile::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.38); transition: background-color 0.3s; }
.action-tile span { position: relative; z-index: 1; font-family: var(--font-display); font-size: 28px; letter-spacing: 1px; text-transform: uppercase; }
.action-tile:hover img, .action-tile:focus-visible img { transform: scale(1.06); }
.action-tile:hover::after, .action-tile:focus-visible::after { background: rgba(0, 0, 0, 0.5); }
.stats { text-align: center; }
.stats-mark { display: inline-flex; color: var(--ink); margin-bottom: 26px; }
.stats-logo { display: block; height: 96px; width: auto; margin: 0 auto 26px; filter: brightness(0); } /* white logo shown black */
.stats-tagline { font-size: 16px; margin-bottom: 14px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 50px; }
.stats-grid strong { display: block; font-family: var(--font-display); font-size: 40px; font-weight: 300; color: var(--ink); line-height: 1.2; }
.stats-grid span { display: block; font-size: 16px; margin-top: 12px; }
.stats h2 + .stats-grid, .stats .stats-grid:first-of-type { margin-top: 50px; }

.split-rule { border-top: 1px solid var(--rule); background: linear-gradient(115deg, var(--white) 55%, var(--tint) 100%); }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; align-items: center; }
.split-grid-right > .split-text { grid-column: 2; }
.split-media img { width: 100%; }
/* Home "Recent Blog Posts": newest post large on the left, the next two stacked on the right */
.post-mosaic { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: repeat(2, 270px); gap: 16px; max-width: 1180px; margin: 0 auto; }
.post-mosaic-item.is-featured { grid-row: span 2; }
.post-mosaic-item a { position: relative; display: block; height: 100%; overflow: hidden; color: var(--white); text-decoration: none; background: #2b2b2b; }
.post-mosaic-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.post-mosaic-item a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.45) 40%, rgba(0, 0, 0, 0) 72%); }
.post-mosaic-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 10px; padding: 26px 28px; }
.post-mosaic-badge { justify-self: start; padding: 6px 10px; background: var(--white); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; line-height: 1; }
.post-mosaic-title { font-family: var(--font-display); font-size: 22px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-mosaic-item.is-featured .post-mosaic-title { font-size: 32px; }
.post-mosaic-item.is-featured .post-mosaic-text { padding: 36px 40px; }
.post-mosaic-date { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; opacity: 0.85; }
.post-mosaic-item a:hover img, .post-mosaic-item a:focus-visible img { transform: scale(1.05); }
.recent-posts .center-row { margin-top: 44px; }

/* Home "About" band: full-width photo with a white card on top */
.photo-card { position: relative; padding: 90px 0; overflow: hidden; background: #2b2b2b; }
.photo-card-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.photo-card .container { position: relative; }
.photo-card-box { max-width: 560px; margin-left: 8%; background: var(--white); padding: 64px 64px 56px; }
.photo-card-box .eyebrow { font-size: 15px; letter-spacing: 1.5px; margin-bottom: 14px; }
.photo-card-box h2 { font-size: 40px; text-transform: uppercase; letter-spacing: 1px; line-height: 1.25; margin-bottom: 30px; }
.photo-card-box p { font-size: 16px; line-height: 1.75; }
.photo-card-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.photo-card-actions .btn { min-width: 172px; }
.about-story { align-items: stretch; }
.about-story .split-media img { height: 100%; max-height: 760px; object-fit: cover; }
.about-story .split-text p { font-size: 18px; line-height: 1.75; }
.split-text h2 { margin-bottom: 36px; }
.split-text p { font-size: 17px; }
.split-text .btn { margin-top: 24px; }


.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 20px) / 2); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
.carousel-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; }

.quotes-grid { display: grid; grid-template-columns: 200px minmax(0, 640px); gap: 80px; justify-content: center; align-items: center; }
.quote-mark {
  width: 200px; height: 200px; border-radius: 50%; background: var(--white);
  display: flex; align-items: center; justify-content: center;
}
/* The Legacy "L" mark (white file, shown black) inside the testimonial circles. */
.quote-mark img, .testimonial-mark img { width: 66%; height: auto; filter: brightness(0); }
.quotes-body { display: grid; }
/* Every slide shares one cell (sized by the longest quote) so the arrows never move; shorter quotes sit centered. */
.quote-slide { grid-area: 1 / 1; align-self: center; margin: 0; opacity: 0; visibility: hidden; transition: opacity 0.5s, visibility 0.5s; }
.quote-slide.is-active { opacity: 1; visibility: visible; }
.quotes blockquote { margin: 0 0 24px; font-size: 17px; }
.quote-author { font-size: 13px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }
.quotes-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 60px; }
.quotes-nav { display: flex; align-items: center; gap: 18px; }
.counter { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: 1px; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--white); }
.tile {
  position: relative; display: flex; align-items: center; justify-content: center;
  height: 340px; padding: 20px; overflow: hidden;
  background: var(--tile); color: var(--white); text-decoration: none; text-align: center;
}
/* Neighborhood photos always show, with a light tint so the name reads; hover zooms in and darkens. */
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.tile::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.32); transition: background-color 0.3s; }
.tile span { position: relative; z-index: 1; font-family: var(--font-display); font-size: 40px; font-weight: 300; line-height: 1.2; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.06); }
.tile:hover::after, .tile:focus-visible::after { background: rgba(0, 0, 0, 0.48); }

.feature-video-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: start; }
.feature-video-text h2 { margin-bottom: 30px; }
.feature-video-text p { font-size: 17px; }
.feature-video-media { position: relative; }
.feature-video-media img { width: 100%; }
.feature-video-media .text-link { display: block; text-align: right; margin-top: 16px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; }
.play {
  position: absolute; left: -68px; bottom: 60px;
  width: 130px; height: 130px; border-radius: 50%;
  background: var(--white); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.25s;
}
.play:hover { transform: scale(1.06); }

.cta-band { position: relative; min-height: 620px; display: flex; align-items: center; justify-content: center; color: var(--white); background: #555; overflow: hidden; }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.3); }
.cta-band-inner { position: relative; z-index: 1; text-align: center; display: grid; gap: 26px; justify-items: center; padding: 0 var(--gutter); }
.cta-band h2 { color: var(--white); }
.no-work-band .cta-band { display: none; }

.insta { background: var(--black); color: var(--white); padding: 90px 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; align-items: start; }
.insta-tile { display: block; overflow: hidden; }
.insta-tile img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.5s; }
.insta-tile:hover img { transform: scale(1.04); }
.insta > .insta-tile:nth-child(3) { margin-top: 30px; }
.insta-col { display: grid; gap: 30px; }
.insta-title { text-decoration: none; display: grid; gap: 18px; }
.insta-title h2 { color: var(--white); font-size: 40px; }
.insta-title span { font-size: 17px; letter-spacing: 1px; text-transform: uppercase; color: #cfcfcf; }

/* 7. Listings --------------------------------------------------------------- */
.listing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px 20px; }
.listing-grid-3 { grid-template-columns: repeat(3, 1fr); }
.listing-card a { display: block; text-decoration: none; color: var(--ink); }
.listing-card-media, .card-media { position: relative; display: block; overflow: hidden; }
.listing-card-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.6s; }
.listing-card a:hover img { transform: scale(1.03); }
.badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--white); color: var(--ink);
  padding: 8px 12px; font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; line-height: 1;
}
.listing-price { font-family: var(--font-display); font-size: 24px; font-weight: 300; margin: 22px 0 4px; }
.listing-address { font-family: var(--font-body); font-size: 13px; font-weight: 600; line-height: 1.5; }
.listing-meta { display: flex; flex-wrap: wrap; margin-top: 8px; font-size: 11px; letter-spacing: 0.5px; text-transform: uppercase; }
.listing-meta li + li { border-left: 1px solid var(--muted); margin-left: 8px; padding-left: 8px; }
.listing-meta-center { justify-content: center; font-size: 13px; text-transform: none; }

.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: 60px; }
.pager button { min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid transparent; font-size: 16px; }
.pager-gap { min-width: 20px; text-align: center; color: var(--muted); }
@media (max-width: 480px) {
  .pager { gap: 2px; }
  .pager button { min-width: 34px; padding: 0 6px; }
}
.pager button:hover:not(:disabled) { border-color: var(--rule); }
.pager button[aria-current="page"] { border-color: var(--ink); }
.pager button:disabled { opacity: 0.3; cursor: default; }

.search-page { padding-top: 50px; padding-bottom: var(--section); }
.search-page h1 { text-align: center; margin-bottom: 40px; }
.search-bar { display: grid; grid-template-columns: 2fr repeat(5, 1fr) auto; gap: 12px; align-items: end; padding: 20px; background: var(--tint); }
.search-count { font-size: 15px; margin: 24px 0; }
.search-empty { text-align: center; padding: 60px 0; }

.gallery { position: relative; margin: 0 24px; background: var(--black); height: clamp(280px, 62vw, 760px); overflow: hidden; }
.gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s; }
.gallery img.is-active { opacity: 1; }
.gallery .arrows { position: absolute; left: 40px; bottom: 30px; }
.gallery-open { position: absolute; right: 40px; bottom: 38px; color: var(--white); font-size: 12px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; }
.courtesy { font-size: 12px; color: var(--muted); margin-top: 10px; }
.property-head { text-align: center; padding-top: 50px; padding-bottom: 60px; display: grid; gap: 14px; justify-items: center; }
.property-price { font-family: var(--font-display); font-size: 24px; font-weight: 300; margin: 0; }
.property-head h1 { text-transform: uppercase; }
.property-head .btn { margin-top: 20px; }
.property-rows { padding-bottom: 60px; }
.property-row { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; padding: 40px 0; border-top: 1px solid var(--rule); }
.property-row h2 { font-size: 32px; }
.property-row p { font-size: 16px; }
.agent-band { padding: 90px 0; }
.agent-band-grid { display: grid; grid-template-columns: 220px 1fr; gap: 80px; align-items: center; }
.agent-band-grid + .agent-band-grid { margin-top: 70px; }
.agent-band h2 { font-size: 40px; margin-bottom: 20px; }
.agent-facts { display: flex; flex-wrap: wrap; gap: 20px 60px; margin: 0 0 28px; }
.agent-facts dt { font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }
.agent-facts dd { margin: 4px 0 0; font-size: 16px; }
.agent-facts a { text-decoration: none; }
.map-placeholder { height: 520px; background: #e6e4e0; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 16px; text-align: center; padding: 20px; }
.map-placeholder iframe { width: 100%; height: 100%; border: 0; }
.amenities { display: grid; grid-template-columns: 1fr 1fr; gap: 60px 80px; }
.amenities h3 { padding-bottom: 16px; border-bottom: 1px solid var(--rule); margin-bottom: 20px; }
.amenities dl { margin: 0; }
.amenities dl > div { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; padding: 6px 0; font-size: 15px; }
.amenities dt { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.amenities dd { margin: 0; }

/* 8. Inner pages ------------------------------------------------------------ */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px 20px; }
.team-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 22px; }
.team-card h3 { font-family: var(--font-body); font-size: 17px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.5px; }
.team-card p { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 4px; }

.cols-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; }
.cols-4 h3, .cols-3 h3 { margin-bottom: 14px; }
.cols-4 p, .cols-3 p { font-size: 16px; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px 20px; }
.card a { text-decoration: none; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card h3 { margin: 20px 0 8px; }
.card p { font-size: 15px; }
.card > a:first-child { display: block; }

.testimonial-list li { text-align: center; padding: 70px 0; border-bottom: 1px solid var(--rule); max-width: 660px; margin: 0 auto; }
.testimonial-list li:first-child { padding-top: 0; }
.testimonial-list li:last-child { border-bottom: 0; }
.testimonial-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 140px; height: 140px; border-radius: 50%; background: var(--tint); margin-bottom: 30px;
}
.testimonial-list blockquote { margin: 0 0 14px; font-size: 17px; }
.testimonial-list blockquote[data-clamp]:not(.is-open) p { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.testimonial-list .text-link { font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; text-decoration: none; }
.testimonial-list .quote-author { margin-top: 20px; }

.prose-page h1 { text-align: center; margin-bottom: 50px; }
.prose-page h2 { font-size: 40px; margin: 50px 0 20px; }
.prose-page section:first-child h2 { margin-top: 0; }
.prose-page p, .prose-page li { font-size: 16px; }
.prose-page img { width: 100%; margin: 30px 0 0; }
.prose-page ul { list-style: disc; padding-left: 20px; }
.prose-page ul li { padding: 3px 0; }
.prose-page ol { list-style: decimal; padding-left: 20px; }
.prose-page ol li { padding: 3px 0; }
.prose-page h3 { margin: 30px 0 12px; }
.prose-page blockquote { margin: 24px 0; padding-left: 20px; border-left: 2px solid var(--rule); }
.post-body table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.post-body th, .post-body td { padding: 10px 12px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.post-body th { font-weight: 600; }
.post-body .table-scroll { overflow-x: auto; }
/* Neighborhoods hub index and local resource (area guide) pages */
.breadcrumbs { font-size: 13px; letter-spacing: 0.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 30px; }
.breadcrumbs a { color: var(--ink); text-underline-offset: 3px; }
.area-guide ul { list-style: none; padding-left: 0; }
.area-index > li > ul { display: grid; gap: 8px; margin-top: 4px; }
.area-index h3 a { text-decoration: none; }
.area-index .text-link { font-size: 15px; font-weight: 400; }
.photo-credit, .prose-page .photo-credit { font-size: 12px; color: var(--muted); margin: 0 0 24px; }
.photo-credit a { color: inherit; }
.area-credits { margin: 60px 0 0; text-align: center; }

.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; align-items: end; }
.brand-heading { font-family: var(--font-display); font-size: 44px; font-weight: 400; line-height: 1.1; letter-spacing: 3px; text-transform: uppercase; color: var(--ink); margin-bottom: 40px; }
.contact-card h3 { font-family: var(--font-body); font-size: 20px; font-weight: 400; margin: 20px 0 12px; }
.contact-card p { font-size: 15px; }
.contact-card .btn { margin-top: 10px; }
.check-list { columns: 3; column-gap: 50px; }
.check-list li { padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 16px; break-inside: avoid; }
.steps { counter-reset: step; display: grid; gap: 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 70px 1fr; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--rule); font-size: 17px; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-size: 32px; font-weight: 300; color: var(--ink); }
.section-dark .steps li::before { color: var(--white); }


/* Home valuation page (layout of the previous legacyokc.net/home-valuation) */
.hv-hero { position: relative; display: flex; align-items: center; min-height: calc(600px + var(--header-h)); color: var(--white); background: var(--black); overflow: hidden; }
.hv-hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hv-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0, rgba(0, 0, 0, 0) 220px), linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.35) 70%, rgba(0, 0, 0, 0.25) 100%); }
.hv-hero-inner { position: relative; z-index: 1; padding-top: calc(var(--header-h) + 90px); padding-bottom: 90px; }
.hv-hero h1 { color: var(--white); font-size: 46px; letter-spacing: 1px; margin-bottom: 22px; }
.hv-checks { display: flex; flex-wrap: wrap; gap: 10px 30px; margin-bottom: 30px; font-size: 14px; }
.hv-checks li::before { content: "\2713"; margin-right: 10px; }
.hv-form { gap: 0; }
.hv-bar { display: flex; align-items: center; gap: 16px; padding: 14px 16px 14px 24px; background: var(--white); color: var(--ink); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25); }
.hv-bar-field { flex: 1; display: flex; align-items: center; gap: 14px; }
.hv-bar-field input { width: 100%; border: 0; padding: 14px 0; font: 400 16px/1.4 var(--font-body); color: var(--ink); background: transparent; }
.hv-bar-field input:focus { outline: none; }
.hv-bar:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.hv-bar .btn { flex: none; }
.hv-bar:has(input:placeholder-shown) .btn { background: #c4c4c4; border-color: #c4c4c4; } /* grey until an address is typed */
.hv-card { display: grid; gap: 18px; max-width: 560px; padding: 36px; background: var(--white); color: var(--ink); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25); }
.hv-card-title { float: left; width: 100%; padding: 0; font-family: var(--font-display); font-size: 26px; line-height: 1.25; color: var(--ink); }
.hv-card .form-status { color: var(--ink); }
.hv-intro h2 { font-size: 44px; margin-bottom: 30px; }
.hv-intro p { font-size: 16px; }
.hv-intro img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.hv-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 90px; }
.hv-box { border: 1px solid var(--ink); padding: 34px 30px; }
.hv-box h3, .hv-step-body h3 { font-size: 20px; letter-spacing: 0.5px; line-height: 1.35; margin-bottom: 16px; }
.hv-box p, .hv-step-body p { font-size: 15px; }
.hv-band { padding: 70px 0; }
.hv-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.hv-band h2 { font-size: 40px; }
.hv-why { padding-top: 0; }
.hv-timeline { position: relative; display: grid; gap: 50px; max-width: 1080px; margin: 0 auto; }
.hv-timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--ink); opacity: 0.35; }
.hv-step { position: relative; display: grid; grid-template-columns: 1fr 1fr; column-gap: 90px; align-items: start; }
.hv-step::after { content: ""; position: absolute; top: 13px; left: 50%; width: 9px; height: 9px; margin-left: -4px; border-radius: 50%; background: var(--ink); }
.hv-step-label { grid-row: 1; margin: 0; padding: 9px 22px; background: var(--ink); color: var(--white); font-size: 12px; font-weight: 600; letter-spacing: 1px; line-height: 1.3; text-transform: uppercase; }
.hv-step-body { grid-row: 1; }
.hv-step:nth-child(odd) .hv-step-label { grid-column: 1; justify-self: end; }
.hv-step:nth-child(odd) .hv-step-body { grid-column: 2; }
.hv-step:nth-child(even) .hv-step-label { grid-column: 2; justify-self: start; }
.hv-step:nth-child(even) .hv-step-body { grid-column: 1; text-align: right; }
.container-form h1 { text-align: center; }

/* Agent profile, city, guide, contact and recruiting pages */
.agent-profile-grid { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 80px; align-items: center; }
.agent-profile-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.agent-profile h1 { font-size: 56px; margin-bottom: 10px; }
.agent-profile-title { font-size: 17px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 30px; }
.agent-profile .eyebrow a { text-decoration: none; }
.agent-bio h2 { margin-top: 0; }
.center-band { text-align: center; }
.center-band h2 { max-width: 860px; margin: 0 auto 30px; }
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.link-button { font: inherit; text-decoration: underline; color: inherit; padding: 0; }
.card-grid-single { grid-template-columns: minmax(0, 520px); justify-content: center; }
/* Guides (from Legacy's PDF packets) */
.guide-download { background: var(--tint); padding: 22px 0; }
.guide-download-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; text-align: center; }
.guide-download p { margin: 0; font-size: 17px; }
.guide-section + .guide-section { border-top: 1px solid var(--rule); }
.guide-eyebrow { font-size: 16px; letter-spacing: 3px; margin-bottom: 14px; }
.guide-section h2 { margin-bottom: 24px; }
.guide-lead { font-size: 18px; line-height: 1.7; max-width: 760px; }
.guide-note { font-size: 16px; color: var(--muted); margin-top: 24px; }
.guide-footnote { font-size: 13px; color: var(--muted); margin-top: 18px; }
.guide-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 40px 0; padding-bottom: 40px; border-bottom: 1px solid var(--rule); text-align: center; }
.guide-stats strong { display: block; font-family: var(--font-display); font-size: 44px; font-weight: 400; line-height: 1.1; }
.guide-stats span { display: block; margin-top: 8px; font-size: 13px; letter-spacing: 0.5px; text-transform: uppercase; color: var(--muted); }
.guide-features { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 50px; margin-top: 34px; }
.guide-features h3, .guide-areas h3 { font-size: 20px; margin-bottom: 6px; }
.guide-features p, .guide-areas p { font-size: 16px; color: var(--muted); margin: 0; }
.guide-table { background: var(--tint); border-top: 3px solid var(--accent); padding: 30px 36px; margin-top: 34px; }
.guide-table-title { font-size: 13px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 12px; }
.guide-table dl { margin: 0; }
.guide-table dl > div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 17px; }
.guide-table dl > div:last-child { border-bottom: 0; }
.guide-table dd { margin: 0; font-weight: 600; text-align: right; }
.guide-steps { margin-top: 20px; }
.guide-steps h3 { font-size: 20px; margin-bottom: 4px; }
.guide-steps p { margin: 0; font-size: 16px; color: var(--muted); }
.guide-checklist { margin-top: 26px; }
.guide-checklist li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--rule); font-size: 17px; }
.guide-checklist li::before { content: "\2713"; position: absolute; left: 4px; top: 13px; font-weight: 700; }
.guide-areas { margin-top: 20px; }
.guide-areas li { padding: 22px 0; border-bottom: 1px solid var(--rule); }
.guide-features p.guide-figures, .guide-areas p.guide-figures { color: #7a6145; margin-bottom: 4px; } /* the packets' brown; --accent is too light for text */
.guide-reviews { display: grid; gap: 0; margin-top: 10px; }
.guide-reviews li { padding: 30px 0; border-bottom: 1px solid var(--rule); text-align: center; }
.guide-reviews li:last-child { border-bottom: 0; }
.guide-stars { letter-spacing: 4px; margin-bottom: 10px; }
.guide-reviews blockquote { margin: 0 auto; max-width: 720px; font-family: var(--font-body); font-size: 21px; line-height: 1.5; }
.guide-review-author { margin-top: 12px; font-size: 13px; letter-spacing: 0.5px; text-transform: uppercase; color: var(--muted); }
.guide-cta-text { max-width: 640px; margin: 0 auto 26px; }
.guide-figures-line { margin: 0; font-family: var(--font-display); font-size: 22px; color: #7a6145; }
.guide-cta .btn-row { margin-bottom: 24px; }
.contact-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 90px; align-items: start; }
.contact-grid h2 { font-size: 40px; margin-bottom: 16px; }
.contact-grid .form { margin-top: 30px; }
.contact-details h3 { font-family: var(--font-body); font-size: 18px; font-weight: 600; margin-bottom: 20px; }
.agent-facts-stacked { flex-direction: column; gap: 18px; }
.quick-links { display: grid; gap: 10px; font-size: 16px; }
.quick-links a { text-decoration: none; border-bottom: 1px solid var(--rule); display: block; padding: 10px 0; }
.field-hint { margin: -6px 0 0; padding-left: 20px; list-style: decimal; font-size: 13px; color: var(--muted); line-height: 1.6; }
.recruit-body h2:first-child { margin-top: 0; }

/* 9. Footer ----------------------------------------------------------------- */
.site-footer { padding: 90px 0 50px; color: #14171a; font-size: 15px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-brand { display: inline-block; font-family: var(--font-display); font-size: 34px; font-weight: 500; letter-spacing: 4px; text-transform: uppercase; margin-bottom: 44px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 30px 80px; margin-bottom: 40px; }
.footer-cols h2 { font-size: 22px; margin-bottom: 12px; }
.footer-cols p, .footer-cols address { color: var(--muted); line-height: 1.9; }
.footer-nav { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; margin-bottom: 44px; }
.footer-nav > ul:first-child { display: flex; flex-wrap: wrap; gap: 14px 56px; }
.footer-legal { color: var(--muted); line-height: 1.9; margin-bottom: 14px; }
.footer-disclaimer { font-size: 11px; line-height: 1.6; color: var(--muted); }
.footer-badges { display: flex; gap: 14px; margin: 20px 0 40px; }
.footer-badges span { border: 1px solid var(--muted); color: var(--muted); padding: 6px 10px; font-size: 9px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 16px; }
.footer-bottom p { margin: 0; }

/* 10. Modals ---------------------------------------------------------------- */
.modal, .lightbox {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(0, 0, 0, 0.7);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; overflow-y: auto;
}
.modal-panel { position: relative; background: var(--white); width: 100%; max-width: 620px; padding: 56px 50px 44px; margin: auto; }
.modal-panel-narrow { max-width: 480px; }
.modal-panel h2 { font-size: 40px; text-align: center; margin-bottom: 30px; }
.modal-close { position: absolute; top: 12px; right: 18px; font-size: 34px; font-weight: 300; line-height: 1; z-index: 1; }

/* "Tailored listings for you" pop-up: photo left, sign-up right */
.modal-split { display: grid; grid-template-columns: 1fr 1fr; max-width: 1180px; padding: 0; min-height: 560px; }
.modal-split-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-split-body { display: flex; flex-direction: column; justify-content: center; padding: 60px 64px; }
.modal-split-body h2 { font-size: 40px; text-align: left; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.modal-split-lead { font-family: var(--font-body); font-size: 19px; line-height: 1.5; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 30px; }
.modal-split .form { gap: 22px; }
.modal-split .btn-solid { justify-self: start; padding-left: 46px; padding-right: 46px; }

/* Cookie consent banner and settings */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 130; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; padding: 22px 26px; background: var(--white); box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25); }
.cookie-banner[hidden] { display: none; }
.cookie-banner-text { flex: 1 1 520px; }
.cookie-banner h2 { font-family: var(--font-body); font-size: 22px; font-weight: 400; margin-bottom: 6px; }
.cookie-banner p { margin: 0; font-size: 13px; color: var(--muted); }
.cookie-banner-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-banner-actions .btn { padding: 14px 20px; }
.cookie-option { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: 15px; line-height: 1.5; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.cookie-option strong { display: block; font-size: 16px; }
.cookie-option input { margin-top: 4px; }

/* Property map before consent */
.map-consent { text-align: center; padding: 20px; }
.map-consent p { margin: 0 0 16px; }
.map-consent-note { font-size: 13px; }
.lightbox { background: rgba(0, 0, 0, 0.92); color: var(--white); gap: 20px; }
.lightbox .modal-close { color: var(--white); top: 20px; right: 28px; }
.lightbox .arrow { border-color: var(--white); color: var(--white); flex: none; }
.lightbox-stage { flex: 1; max-width: 1200px; display: flex; align-items: center; justify-content: center; }
.lightbox-stage img { max-height: 86vh; width: auto; }
.lightbox-stage iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; }

/* 11. Responsive ------------------------------------------------------------ */
/* Small desktops: six menu items in Cinzel need a little less room to stay on one line. */
@media (min-width: 1025px) and (max-width: 1360px) {
  .site-header { padding: 0 40px; gap: 20px; }
  .primary-nav > ul { gap: 22px; }
  .nav-link { font-size: 15px; }
  .logo { flex-shrink: 0; }
}
@media (min-width: 1025px) and (max-width: 1180px) {
  .site-header { padding: 0 30px; gap: 14px; }
  .primary-nav > ul { gap: 15px; }
  .nav-link { font-size: 14px; gap: 6px; }
}
@media (max-width: 1024px) {
  :root { --gutter: 30px; --section: 80px; --header-h: 90px; }
  h1, h2 { font-size: 44px; }
  .hero h1 { font-size: 52px; }
  .site-header { padding: 0 30px; gap: 16px; }
  .primary-nav { display: none; }
  .split-grid, .intro-grid { gap: 50px; }
  .hv-boxes { grid-template-columns: 1fr; }
  .hv-step { column-gap: 60px; }
  .quotes-grid { grid-template-columns: 140px minmax(0, 1fr); gap: 40px; }
  .quote-mark { width: 140px; height: 140px; }
  .tile { height: 260px; }
  .tile span { font-size: 30px; }
  .feature-video-grid { grid-template-columns: 1fr; }
  .play { left: 24px; bottom: 70px; width: 90px; height: 90px; }
  .insta { grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 70px 24px; }
  .insta > .insta-tile:nth-child(3) { margin-top: 0; }
  .listing-grid-3, .card-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .search-bar { grid-template-columns: repeat(3, 1fr); }
  .search-bar .field:first-child { grid-column: 1 / -1; }
  .agent-band-grid { gap: 40px; }
  .amenities { gap: 50px 40px; }
  .check-list { columns: 2; }
  .side-menu-panel { padding: 90px 40px 40px; }
  .side-menu-close { right: 40px; }
  .agent-profile-grid, .contact-grid { gap: 50px; }
  .agent-profile h1 { font-size: 44px; }
  .card-grid-single { grid-template-columns: minmax(0, 520px); }
  .post-mosaic { grid-template-rows: repeat(2, 230px); }
  .post-mosaic-item.is-featured .post-mosaic-title { font-size: 26px; }
  .post-mosaic-item.is-featured .post-mosaic-text { padding: 28px 30px; }
  .post-mosaic-title { font-size: 19px; }
  .modal-split-body { padding: 48px 34px; }
  .modal-split-body h2 { font-size: 32px; }
  .modal-split-lead { font-size: 17px; }
}

@media (max-width: 767px) {
  :root { --gutter: 20px; --section: 60px; --header-h: 76px; }
  h1, h2 { font-size: 34px; }
  .hero h1 { font-size: 36px; }
  .site-header { padding: 0 20px; }
  .site-header.is-scrolled, .is-home .site-header.is-scrolled, .has-photo-header .site-header.is-scrolled { height: 66px; }
  .logo img { height: 46px; }
  .menu-btn { width: 48px; height: 48px; }
  .side-menu { grid-template-columns: 1fr; }
  .side-menu-media { display: none; }
  .side-menu-panel { padding: 80px 20px 30px; }
  .side-menu-close { right: 20px; top: 24px; }
  .side-menu-panel > ul:first-of-type > li > a,
  .side-menu-panel > ul:first-of-type > li > button { font-size: 22px; padding: 13px 0; }
  .page-hero { padding-top: calc(var(--header-h) + 40px); }
  .page-hero-media { margin: 30px 12px 0; }
  .page-hero-photo { min-height: calc(var(--header-h) + 320px); padding: calc(var(--header-h) + 40px) 0 60px; }
  .stats-grid { grid-template-columns: 1fr; gap: 30px; }
  .split-grid, .intro-grid { grid-template-columns: 1fr; gap: 36px; }
  .split-grid-right > .split-text { grid-column: 1; }
  .carousel-track { grid-auto-columns: 86%; }
  .quotes-grid { grid-template-columns: 1fr; gap: 30px; justify-items: start; }
  .quote-mark { width: 90px; height: 90px; }
  .quotes-foot { margin-top: 40px; }
  .tiles { grid-template-columns: 1fr; }
  .tile { height: 200px; }
  .cta-band { min-height: 420px; }
  .insta { grid-template-columns: 1fr 1fr; gap: 12px; padding: 50px 12px; }
  .insta-title h2 { font-size: 26px; }
  .insta-title span { font-size: 12px; }
  .listing-grid, .listing-grid-3, .card-grid, .team-grid, .cols-3, .cols-4, .amenities { grid-template-columns: 1fr; }
  .search-bar { grid-template-columns: 1fr 1fr; }
  .gallery { margin: 0; }
  .gallery .arrows { left: 20px; bottom: 20px; }
  .gallery-open { right: 20px; bottom: 30px; }
  .property-row { grid-template-columns: 1fr; gap: 16px; padding: 30px 0; }
  .property-row h2 { font-size: 26px; }
  .agent-band-grid { grid-template-columns: 1fr; }
  .agent-band-grid img { max-width: 200px; }
  .map-placeholder { height: 320px; }
  .check-list { columns: 1; }
  .steps li { grid-template-columns: 50px 1fr; }
  .hv-hero { min-height: 0; }
  .hv-hero-inner { padding-top: calc(var(--header-h) + 60px); padding-bottom: 60px; }
  .hv-hero h1 { font-size: 32px; }
  .hv-checks { flex-direction: column; }
  .hv-bar { flex-direction: column; align-items: stretch; padding: 10px 14px; }
  .hv-card { padding: 26px 20px; }
  .hv-intro h2, .hv-band h2 { font-size: 30px; }
  .hv-boxes { margin-top: 50px; }
  .hv-band-inner { flex-direction: column; align-items: flex-start; }
  .hv-timeline { gap: 40px; }
  .hv-timeline::before { left: 4px; }
  .hv-step { grid-template-columns: 1fr; row-gap: 14px; padding-left: 30px; }
  .hv-step::after { left: 4px; }
  .hv-step:nth-child(n) .hv-step-label { grid-column: 1; grid-row: 1; justify-self: start; }
  .hv-step:nth-child(n) .hv-step-body { grid-column: 1; grid-row: 2; text-align: left; }
  .prose-page h2 { font-size: 28px; }
  .footer-nav > ul:first-child { gap: 12px 30px; }
  .footer-bottom { flex-direction: column; }
  .modal-panel { padding: 50px 22px 30px; }
  .post-mosaic { grid-template-columns: 1fr; grid-template-rows: none; gap: 12px; }
  .post-mosaic-item.is-featured { grid-row: auto; }
  .post-mosaic-item a { height: 230px; }
  .post-mosaic-item.is-featured a { height: 300px; }
  .post-mosaic-item.is-featured .post-mosaic-title { font-size: 24px; }
  .post-mosaic-text, .post-mosaic-item.is-featured .post-mosaic-text { padding: 20px 20px; }
  .action-heading { font-size: 26px; margin-bottom: 30px; }
  .action-tiles { grid-template-columns: 1fr; gap: 14px; }
  .action-tile { aspect-ratio: 16 / 7; }
  .action-tile span { font-size: 24px; }
  .hero-tagline { font-size: 12px; }
  .photo-card { padding: 220px 0 0; }
  .photo-card-bg { height: 220px; object-position: center 65%; } /* phones: the photo is a band above the card */
  .photo-card .container { padding: 0; }
  .photo-card-box { margin: 0; max-width: none; padding: 40px 22px; }
  .photo-card-box h2 { font-size: 28px; }
  .photo-card-actions .btn { flex: 1 1 auto; min-width: 0; }
  .about-story .split-media img { height: 340px; }
  .about-story .split-text p { font-size: 17px; }
  .modal-split { grid-template-columns: 1fr; min-height: 0; padding: 0; }
  .modal-split-media { display: none; } /* phones: the form alone, so it fits on screen */
  .modal-split-body { padding: 54px 22px 30px; }
  .modal-split-body h2 { font-size: 28px; }
  .modal-split-lead { font-size: 17px; }
  .cookie-banner { left: 8px; right: 8px; bottom: 8px; padding: 18px; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .btn { flex: 1 1 auto; padding: 13px 12px; }
  .modal-panel h2 { font-size: 30px; }
  .lightbox .arrow { position: absolute; bottom: 20px; }
  .lightbox-prev { left: 20px; }
  .lightbox-next { right: 20px; }
  .connect-pill { left: 12px; bottom: 12px; padding: 12px 18px; }
  .agent-profile-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .agent-profile-photo { max-width: 320px; }
  .agent-profile h1 { font-size: 36px; }
  .contact-grid h2 { font-size: 30px; }
  .card-grid-single { grid-template-columns: 1fr; }
  .guide-stats { grid-template-columns: 1fr; gap: 26px; }
  .guide-stats strong { font-size: 38px; }
  .guide-features { grid-template-columns: 1fr; gap: 22px; }
  .guide-table { padding: 22px 18px; }
  .guide-table dl > div { font-size: 16px; }
  .guide-lead { font-size: 17px; }
  .guide-reviews blockquote { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  img.hero-media { animation: none; transform: scale(1.05); }
  .hero-video { display: none; } /* the still first frame shows instead */
}

/* Without JavaScript: show every slide and photo instead of hiding all but one. */
html:not(.js) .quote-slide { grid-area: auto; opacity: 1; visibility: visible; margin-bottom: 40px; }
html:not(.js) .gallery { height: auto; }
html:not(.js) .gallery img { position: static; opacity: 1; }
html:not(.js) .connect-pill { opacity: 1; transform: none; pointer-events: auto; }
