/* Local Authority — base stylesheet.
   Vertical overrides (trades.css, hospitality.css) tweak the CSS custom
   properties declared on :root below. Layout + typography rules are
   shared.

   Targets the markup the Content Generator + Site Builder emit:
     header > nav            (pipe-separated <a> links)
     main > h1, h2, p, ul    (page body)
     p.cta > a               (phone-call CTA at end of every page)
     footer > p              (AI disclosure)
*/

:root {
  /* Surface — wired to token cascade; fallbacks preserve previous hardcoded values */
  --bg:    var(--la-color-cream,           #faf9f6);
  --paper: var(--la-color-surface-primary, #ffffff);
  --ink:   var(--la-color-text-primary,    #1f2437);
  --ink-soft: #4a4f60;
  --ink-mute: #5a6070;
  --rule:  rgba(31, 36, 55, 0.12);
  --accent: #c95a2f;
  --accent-strong: #a8431f;
  --accent-soft: rgba(201, 90, 47, 0.08);

  /* Typography — wired to token cascade */
  --font-head: var(--la-type-font-heading, "Inter", "Helvetica Neue", system-ui, sans-serif);
  --font-body: var(--la-type-font-body,    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Helvetica Neue", Arial, sans-serif);

  /* Elevation — wired to token cascade */
  --shadow-sm: var(--la-shadow-raised,   0 1px 2px rgba(31, 36, 55, 0.06));
  --shadow-md: var(--la-shadow-floating, 0 6px 24px rgba(31, 36, 55, 0.08));
}

* { box-sizing: border-box; }

/* Skip link — visible on focus only (WCAG 2.4.1) */
.skip-link {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  overflow: visible;
  padding: 0.5rem 1rem;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  font-weight: 600;
  display: block;
  z-index: 9999;
}

/* Screen-reader-only utility (used for aria-hidden star/rating text) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Keyboard focus — visible ring on all buttons (WCAG 2.4.7) */
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---- Reviews carousel pause button (theme-agnostic) ---- */
.review-pause {
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.75rem;
  color: var(--ink-soft);
  padding: 2px 6px;
  margin-left: 8px;
  vertical-align: middle;
}
.review-pause:hover { background: var(--accent-soft); }
.review-pause:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 2px;
}
a:hover { color: var(--accent); }
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* -------- Header / nav -------- */

body > header {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: var(--shadow-sm);
}

body > header > nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  font-size: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  align-items: center;
}

.nav-brand a {
  color: var(--ink);
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 1.1rem;
  text-decoration: none;
  letter-spacing: -0.005em;
  margin-right: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 4px;
  min-height: 44px;
}

.nav-brand a:hover { color: var(--accent-strong); }

.nav-logo {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 6px;
}

.nav-item a,
.nav-group > summary {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 11px 6px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* Focus-visible: ensure <summary> matches the rest of the site
   (browser default renders a thin gray ring otherwise). */
.nav-group > summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary::marker { content: ""; }

.nav-group > summary::after {
  content: "▾";
  display: inline-block;
  margin-left: 6px;
  font-size: 0.7em;
  transform: translateY(-1px);
  opacity: 0.6;
}

.nav-item a:hover,
.nav-group > summary:hover {
  color: var(--accent-strong);
  border-bottom-color: var(--accent);
}

.nav-active {
  color: var(--ink) !important;
  border-bottom-color: var(--accent) !important;
}

.nav-group-active > summary {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.nav-group {
  position: relative;
}

.nav-panel {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-panel li a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  border-radius: 6px;
}

.nav-panel li a:hover {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.nav-panel li a.nav-active {
  background: var(--accent-soft);
  border-bottom: 0 !important;
}

/* Desktop: dropdowns float so they don't push layout. */
@media (min-width: 768px) {
  .nav-group[open] > .nav-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: -12px;
    min-width: 220px;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 10px;
    padding: 8px;
    box-shadow: var(--shadow-md);
    z-index: 20;
  }
}

/* -------- Hero -------- */

.hero {
  max-width: 960px;
  margin: 0 auto;
  padding: 56px 24px 32px;
}

.hero--with-media {
  max-width: 1180px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero--with-media {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 56px;
    padding-top: 64px;
    padding-bottom: 56px;
  }
}

.hero-media {
  position: relative;
  border-radius: var(--la-card-radius, 18px);
  overflow: hidden;
  box-shadow: var(--la-card-shadow, var(--shadow-md));
  aspect-ratio: 4 / 3;
  background: var(--la-card-background, var(--paper));
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 900px) {
  .hero-media {
    aspect-ratio: 5 / 4;
  }
}

.hero-eyebrow {
  margin: 0 0 12px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.05;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.hero-sub {
  margin: 0 0 28px;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 60ch;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

.hero-cta {
  display: inline-block;
  background: var(--la-button-background, var(--accent));
  color: var(--la-button-color, #ffffff);
  border: var(--la-button-border, none);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 14px 26px;
  border-radius: var(--la-radius-button, 8px);
  box-shadow: var(--la-shadow-raised, var(--shadow-sm));
  transition: var(--la-motion-transition, background 120ms ease, transform 120ms ease);
}

.hero-cta:hover {
  background: var(--la-button-hover-background, var(--accent-strong));
  color: var(--la-button-color, #ffffff);
  transform: translateY(-1px);
}

.hero-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.hero-pill {
  font-size: 0.92rem;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 6px 14px;
  white-space: nowrap;
}

/* -------- Gallery (home page secondary imagery) -------- */

.gallery {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 24px 16px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.gallery-tile {
  margin: 0;
  border-radius: var(--la-card-radius, 14px);
  overflow: hidden;
  box-shadow: var(--la-card-shadow, var(--shadow-sm));
  aspect-ratio: 4 / 3;
  background: var(--la-card-background, var(--paper));
  transition: var(--la-motion-transition, transform 180ms ease, box-shadow 180ms ease);
}

.gallery-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--la-shadow-deep, var(--shadow-md));
}

.gallery-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 640px) {
  .gallery { padding: 4px 18px 12px; gap: 12px; }
}

/* -------- Main content -------- */

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 16px 24px 72px;
}

main h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1;
  margin: 0 0 24px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

main h2 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  line-height: 1.25;
  margin: 44px 0 14px;
  color: var(--ink);
  letter-spacing: -0.005em;
}

main h2::before {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 14px;
}

main p {
  margin: 0 0 16px;
  color: var(--ink-soft);
}

main p:first-of-type {
  font-size: 1.2rem;
  color: var(--ink);
}

main ul {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

main ul li {
  position: relative;
  padding: 6px 0 6px 22px;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--rule);
}

main ul li:last-child { border-bottom: 0; }

main ul li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--accent);
  font-weight: 700;
}

main strong { color: var(--ink); }

/* -------- CTA block -------- */

main p.cta {
  margin: 36px 0 0;
  padding: 24px;
  background: var(--accent-soft);
  border: 1px solid rgba(201, 90, 47, 0.18);
  border-radius: 12px;
  text-align: center;
}

main p.cta a {
  display: inline-block;
  background: var(--la-button-background, var(--accent));
  color: var(--la-button-color, #ffffff);
  border: var(--la-button-border, none);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 14px 28px;
  border-radius: var(--la-radius-button, 8px);
  box-shadow: var(--la-shadow-raised, var(--shadow-sm));
  transition: var(--la-motion-transition, background 120ms ease, transform 120ms ease);
}

main p.cta a:hover {
  background: var(--la-button-hover-background, var(--accent-strong));
  transform: translateY(-1px);
}

/* -------- Footer -------- */

body > footer {
  border-top: 1px solid var(--rule);
  background: var(--paper);
  margin-top: 40px;
}

body > footer p {
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 24px 8px;
  font-size: 0.85rem;
  color: var(--ink-mute);
  text-align: center;
}

body > footer .social-links {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 22px;
  list-style: none;
  display: flex;
  gap: 18px;
  justify-content: center;
  font-size: 0.9rem;
}

body > footer .social-links a {
  color: var(--ink-mute);
  text-decoration: none;
  padding: 6px 4px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

body > footer .social-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

body > footer .footer-nap {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0.5rem auto;
  max-width: 1100px;
  text-align: center;
  padding: 0 1rem;
}
body > footer .footer-nap .footer-phone {
  color: var(--ink-soft);
}

/* -------- Vertical: real_estate -------- */

/* Listings page — static cards */
.v-real_estate .listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0 2rem;
}

.v-real_estate .listing-card {
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 8px;
  padding: 1.25rem;
  position: relative;
}

.v-real_estate .listing-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.v-real_estate .listing-status {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-strong, var(--primary));
}

.v-real_estate .listing-card[data-status="rented"] .listing-status,
.v-real_estate .listing-card[data-status="sold"] .listing-status {
  color: var(--ink-soft, #6b7280);
}

.v-real_estate .listing-card h3 {
  font-size: 1rem;
  margin: 0.25rem 0 0.5rem;
}

.v-real_estate .listing-meta {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.v-real_estate .listings-disclaimer {
  color: var(--ink-soft, #6b7280);
  font-size: 0.8rem;
  margin-top: 2rem;
  border-top: 1px solid var(--border, #e2e8f0);
  padding-top: 1rem;
}

/* Listings page — IDX iframe embed */
.v-real_estate .listings-iframe-wrap {
  width: 100%;
  margin: 1.5rem 0;
}

.v-real_estate .listings-iframe-wrap iframe {
  width: 100%;
  min-height: 800px;
  border: none;
  display: block;
}

/* -------- real_estate: design system variables + fonts -------- */
.v-real_estate {
  --re-navy:        #0f3b5c;
  --re-navy-dk:     #081f32;
  --re-blue:        #4a8db8;
  --re-sand:        #f4f1eb;
  --re-cream:       #fdfcf9;
  --re-charcoal:    #0d1a24;
  --re-card-bg:     #ffffff;
  --re-card-shadow: 0 8px 40px rgba(8, 31, 50, 0.18);
  --font-head: "Cinzel", "Georgia", serif;
  --font-body: "Josefin Sans", "Helvetica Neue", system-ui, sans-serif;
  background: var(--re-sand);
}

/* real_estate main: no max-width — full-bleed sections handle their own widths */
.v-real_estate main {
  max-width: none;
  padding: 0;
}

/* Kill placeholder gallery tiles — they break the cinematic flow */
.v-real_estate .gallery { display: none; }

/* -------- real_estate: transparent overlay nav -------- */
.v-real_estate .site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  border-bottom: none;
  box-shadow: none;
  z-index: 100;
}
.v-real_estate .site-header--scrolled {
  position: fixed;
  background: var(--re-navy-dk);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.v-real_estate .site-header .nav-brand a,
.v-real_estate .site-header .nav-item a,
.v-real_estate .site-header .nav-group > summary {
  color: rgba(255,255,255,0.90);
  letter-spacing: 0.05em;
  font-size: 0.82rem;
  text-transform: uppercase;
}
.v-real_estate .site-header .nav-brand a {
  text-transform: none;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
.v-real_estate .site-header .nav-brand a:hover,
.v-real_estate .site-header .nav-item a:hover,
.v-real_estate .site-header .nav-group > summary:hover {
  color: #ffffff;
  border-bottom-color: rgba(255,255,255,0.5);
}
/* Dropdown panel dark on RE */
.v-real_estate .site-header .nav-group[open] > .nav-panel {
  background: var(--re-navy-dk);
  border: 1px solid rgba(255,255,255,0.12);
}
.v-real_estate .site-header .nav-group[open] > .nav-panel a {
  color: rgba(255,255,255,0.85);
}
.v-real_estate .site-header .nav-group[open] > .nav-panel a:hover {
  color: #ffffff;
}

/* -------- real_estate: cinematic hero -------- */
.v-real_estate .hero--cinematic {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--re-navy-dk);
}
.v-real_estate .cinematic-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.v-real_estate .cinematic-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8, 31, 50, 0.30) 0%,
    rgba(8, 31, 50, 0.20) 40%,
    rgba(8, 31, 50, 0.55) 100%
  );
  z-index: 1;
}
.v-real_estate .cinematic-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 960px;
}
.v-real_estate .cinematic-tagline {
  font-family: var(--font-body);
  font-size: clamp(0.65rem, 1.2vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.30em;
  color: rgba(255,255,255,0.75);
  margin: 0 0 24px;
  text-transform: uppercase;
}
.v-real_estate .cinematic-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
  line-height: 1.05;
  margin: 0 0 48px;
  text-shadow: 0 2px 32px rgba(0,0,0,0.4);
}
.v-real_estate .cinematic-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.v-real_estate .cinematic-cta {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 40px;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
}
.v-real_estate .cinematic-cta--primary {
  background: #ffffff;
  color: var(--re-navy-dk);
  border: 2px solid #ffffff;
}
.v-real_estate .cinematic-cta--primary:hover {
  background: var(--re-sand);
  border-color: var(--re-sand);
}
.v-real_estate .cinematic-cta--secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.65);
}
.v-real_estate .cinematic-cta--secondary:hover {
  border-color: #ffffff;
  background: rgba(255,255,255,0.10);
}

/* -------- real_estate: featured listings strip -------- */
.v-real_estate .featured-strip {
  background: var(--re-charcoal);
  padding: 80px 0 72px;
}
.v-real_estate .featured-strip__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.v-real_estate .featured-strip__heading {
  font-family: var(--font-body);
  font-size: clamp(0.65rem, 1.2vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin: 0 0 40px;
}
.v-real_estate .featured-strip__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.v-real_estate .featured-card {
  background: var(--re-card-bg);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--re-card-shadow);
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.v-real_estate .featured-card:hover {
  box-shadow: 0 16px 56px rgba(0,0,0,0.35);
  transform: translateY(-4px);
}
/* Photo placeholder — sky-to-ocean horizon gradient suggests shore property */
.v-real_estate .featured-card__photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  position: relative;
}
.v-real_estate .featured-card__photo--rental {
  background: linear-gradient(
    to bottom,
    #a8c8e8 0%,   /* pale coastal sky */
    #5b9ec9 30%,  /* horizon */
    #1e6a9a 60%,  /* ocean surface */
    #0f3b5c 100%  /* deep water */
  );
}
.v-real_estate .featured-card__photo--sale {
  background: linear-gradient(
    to bottom,
    #c9dde8 0%,   /* overcast morning sky */
    #7aadca 25%,  /* early light */
    #2a7aaa 55%,  /* coastal water */
    #0a2a42 100%  /* dark bay */
  );
}
.v-real_estate .featured-card__body {
  padding: 20px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.v-real_estate .featured-card__status {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--re-navy);
  margin-bottom: 8px;
}
.v-real_estate .featured-card__address {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--re-navy);
  margin: 0 0 8px;
  line-height: 1.3;
}
.v-real_estate .featured-card__details {
  font-size: 0.85rem;
  color: #6b7280;
  margin: 0 0 12px;
}
.v-real_estate .featured-card__price {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--re-navy);
  margin: auto 0 0;
  letter-spacing: -0.01em;
}
.v-real_estate .featured-strip__cta {
  text-align: center;
  margin: 0;
}
.v-real_estate .featured-strip__cta a {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--re-charcoal);
  background: #ffffff;
  text-decoration: none;
  padding: 15px 44px;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  transition: background 0.2s, color 0.2s;
}
.v-real_estate .featured-strip__cta a:hover {
  background: var(--re-sand);
  color: var(--re-navy-dk);
}

/* -------- real_estate: shore lifestyle section -------- */
.v-real_estate .shore-lifestyle {
  background: var(--re-sand);
  padding: 100px 0;
  border-top: 1px solid rgba(15,59,92,0.10);
}
.v-real_estate .shore-lifestyle__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}
.v-real_estate .shore-lifestyle__eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--re-blue);
  margin: 0 0 16px;
}
.v-real_estate .shore-lifestyle__heading {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--re-navy-dk);
  margin: 0 0 28px;
  line-height: 1.1;
}
.v-real_estate .shore-lifestyle__body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4a5568;
  margin: 0 0 40px;
}
.v-real_estate .shore-lifestyle__cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--re-navy);
  text-decoration: none;
  background: var(--re-navy);
  color: #ffffff;
  padding: 16px 40px;
  border-radius: 2px;
  min-height: 52px;
  transition: background 0.2s;
}
.v-real_estate .shore-lifestyle__cta:hover { background: var(--re-blue); }

/* -------- real_estate: interior services section -------- */
.v-real_estate .re-services {
  padding: 96px 0;
  background: var(--re-cream);
  border-top: 1px solid rgba(15,59,92,0.08);
}
.v-real_estate .re-services__inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 32px;
}
.v-real_estate .re-services h2 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--re-navy-dk);
  margin: 0 0 24px;
}
.v-real_estate .re-services p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  color: #4a5568;
  max-width: 640px;
  margin: 0 0 40px;
}
.v-real_estate .re-services ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  border: 1px solid rgba(15,59,92,0.12);
  border-radius: 4px;
  overflow: hidden;
}
.v-real_estate .re-services li {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--re-navy);
  padding: 18px 24px;
  border-right: 1px solid rgba(15,59,92,0.12);
  border-bottom: 1px solid rgba(15,59,92,0.12);
  letter-spacing: 0.01em;
}
.v-real_estate .re-services li:last-child {
  border-right: none;
}

/* -------- real_estate: listing card depth (on /listings page) -------- */
.v-real_estate .listing-card {
  background: var(--re-card-bg);
  border: none;
  box-shadow: var(--re-card-shadow);
  border-radius: 4px;
}

/* -------- real_estate: responsive -------- */
@media (max-width: 768px) {
  .v-real_estate .cinematic-title {
    font-size: clamp(2.6rem, 11vw, 4rem);
  }
}
@media (max-width: 640px) {
  .v-real_estate .cinematic-ctas {
    flex-direction: column;
    align-items: center;
  }
  .v-real_estate .cinematic-cta {
    width: 100%;
    justify-content: center;
  }
  .v-real_estate .featured-strip__grid {
    grid-template-columns: 1fr;
  }
}

/* -------- Responsive -------- */

@media (max-width: 640px) {
  body > header > nav {
    padding: 12px 16px;
    font-size: 0.9rem;
  }
  .hero { padding: 32px 18px 24px; }
  .hero-cta { width: 100%; text-align: center; }
  main { padding: 12px 18px 56px; }
  main p:first-of-type { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* Trades vertical override — clean navy + work-orange.
   Reads "competent, no-nonsense, picks up the phone." */

:root {
  --bg: #f6f7f9;
  --ink: #14213d;
  --ink-soft: #3d4661;
  --accent: #e06b1e;
  --accent-strong: #b8521a;
  --accent-soft: rgba(224, 107, 30, 0.08);
}
