/* ==========================================================================
   PalosVerdesLife.com — design system
   A coastal-editorial identity for the Hill: deep Pacific blues, terracotta
   tile, coastal-sage green, warm limestone paper. Marcellus display type
   (a nod to the Mediterranean Revival architecture of Malaga Cove Plaza)
   with Figtree for reading text.
   ========================================================================== */

:root {
  --ink: #17242b;
  --ink-2: #45555e;
  --ink-3: #77848c;
  --paper: #fbfaf6;
  --card: #ffffff;
  --mist: #eef1ec;
  --shell: #f4efe6;
  --line: #e1e1d7;
  --line-dark: #cfcfc2;
  --ocean: #0d4f63;
  --ocean-deep: #093947;
  --ocean-night: #062a35;
  --sea: #3a7f92;
  --foam: #d8e6e6;
  --tile: #b3552d;
  --tile-deep: #8f3f1d;
  --gold: #a5822f;
  --sage: #66795c;
  --sage-deep: #4c5f45;
  --r: 6px;
  --r-lg: 10px;
  --shadow-1: 0 1px 2px rgba(9, 57, 71, .05), 0 10px 30px rgba(9, 57, 71, .07);
  --shadow-2: 0 2px 6px rgba(9, 57, 71, .08), 0 18px 44px rgba(9, 57, 71, .13);
  --serif: "Marcellus", "Palatino", "Georgia", serif;
  --sans: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  --measure: 1150px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--ocean); text-decoration: none; }
a:hover { color: var(--tile-deep); }

h1, h2, h3, h4, .serif { font-family: var(--serif); font-weight: 400; line-height: 1.14; letter-spacing: .005em; }
h2 { font-size: 2rem; }
h3 { font-size: 1.28rem; }

.shell { max-width: var(--measure); margin: 0 auto; padding: 0 26px; }

/* ---------- Micro-labels ---------- */
.overline {
  font-size: .72rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: var(--tile); margin-bottom: 12px;
}
.overline.light { color: #e5b79b; }

/* ---------- Top ribbon ---------- */
.ribbon {
  background: var(--ocean-night); color: #b9cfd2;
  font-size: .8rem; letter-spacing: .02em;
}
.ribbon .shell { display: flex; justify-content: space-between; gap: 18px; padding-top: 7px; padding-bottom: 7px; }
.ribbon a { color: #d8e6e6; font-weight: 600; }
.ribbon a:hover { color: #fff; }
.ribbon .r-right { white-space: nowrap; }
@media (max-width: 720px) { .ribbon .r-left { display: none; } .ribbon .shell { justify-content: center; } }

/* ---------- Masthead ---------- */
.masthead {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 400;
}
.masthead .shell { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 74px; }
.wordmark { display: flex; flex-direction: column; line-height: 1.1; color: var(--ink); }
.wordmark:hover { color: var(--ink); }
.wordmark .wm-name { font-family: var(--serif); font-size: 1.5rem; letter-spacing: .04em; }
.wordmark .wm-name em { font-style: normal; color: var(--sea); }
.wordmark .wm-sub { font-size: .62rem; font-weight: 700; letter-spacing: .34em; text-transform: uppercase; color: var(--ink-3); margin-top: 3px; white-space: nowrap; }
@media (max-width: 1240px) { .wordmark .wm-name { font-size: 1.32rem; } .wordmark .wm-sub { letter-spacing: .2em; } }

nav.mainnav { display: flex; align-items: stretch; gap: 2px; }
nav.mainnav > .nav-item { position: relative; display: flex; }
nav.mainnav a.nav-link {
  display: flex; align-items: center; padding: 26px 9px;
  font-size: .87rem; font-weight: 600; color: var(--ink-2);
  border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap;
}
nav.mainnav a.nav-link:hover { color: var(--ink); border-bottom-color: var(--line-dark); }
nav.mainnav a.nav-link.on { color: var(--ocean); border-bottom-color: var(--tile); }
.nav-item .caret { font-size: .62rem; margin-left: 6px; color: var(--ink-3); transform: translateY(1px); }

.subnav {
  position: absolute; top: 100%; left: 0; min-width: 250px;
  background: var(--card); border: 1px solid var(--line);
  border-top: 3px solid var(--tile); border-radius: 0 0 var(--r) var(--r);
  box-shadow: var(--shadow-2); padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .14s ease, transform .14s ease, visibility .14s;
}
.nav-item:hover .subnav, .nav-item.open .subnav { opacity: 1; visibility: visible; transform: translateY(0); }
.subnav a { display: block; padding: 9px 20px; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.subnav a small { display: block; font-weight: 500; font-size: .74rem; color: var(--ink-3); }
.subnav a:hover { background: var(--mist); color: var(--ocean); }
.subnav .subnav-note { padding: 8px 20px 4px; font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--line); margin-bottom: 6px; }

.menu-btn {
  display: none; background: none; border: 1px solid var(--line-dark); border-radius: var(--r);
  font-size: 1.05rem; padding: 8px 13px; cursor: pointer; color: var(--ink);
}

@media (max-width: 1020px) {
  .masthead .shell { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; min-height: 0; }
  .menu-btn { display: block; margin-left: auto; }
  nav.mainnav { display: none; width: 100%; flex-direction: column; padding: 8px 0 4px; }
  nav.mainnav.open { display: flex; }
  nav.mainnav > .nav-item { flex-direction: column; align-items: stretch; }
  nav.mainnav a.nav-link { padding: 11px 8px; border-bottom: none; border-left: 3px solid transparent; }
  nav.mainnav a.nav-link.on { border-left-color: var(--tile); background: var(--mist); }
  .subnav { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: none; border-left: 1px solid var(--line); border-radius: 0; margin: 0 0 6px 18px; display: none; }
  .nav-item.open .subnav { display: block; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--sans); font-size: .8rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  padding: 13px 26px; border-radius: 3px; border: 1px solid transparent; cursor: pointer;
  transition: background .14s ease, color .14s ease, border-color .14s ease;
}
.btn:hover { text-decoration: none; }
.btn-ocean { background: var(--ocean); color: #fff; }
.btn-ocean:hover { background: var(--ocean-deep); color: #fff; }
.btn-tile { background: var(--tile); color: #fff; }
.btn-tile:hover { background: var(--tile-deep); color: #fff; }
.btn-outline { background: transparent; color: var(--ocean); border-color: var(--ocean); }
.btn-outline:hover { background: var(--ocean); color: #fff; }
.btn-glass { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.5); }
.btn-glass:hover { background: rgba(255,255,255,.26); color: #fff; }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--tile); outline-offset: 2px; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; color: #f2f6f5; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(6,42,53,.72) 0%, rgba(9,57,71,.55) 45%, rgba(6,42,53,.82) 100%),
    var(--hero-img, linear-gradient(180deg, #0d4f63, #062a35)) center 42% / cover no-repeat;
}
.hero .shell { padding-top: 108px; padding-bottom: 118px; position: relative; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); color: #fff; max-width: 21ch; text-shadow: 0 2px 22px rgba(6,42,53,.55); }
.hero .lede { margin-top: 20px; font-size: 1.13rem; max-width: 62ch; color: #dbe7e6; text-shadow: 0 1px 14px rgba(6,42,53,.6); }
.hero .hero-ctas { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero .hero-credit { position: absolute; right: 26px; bottom: 12px; font-size: .68rem; color: rgba(226,236,235,.62); }

/* ---------- Page hero (interior) ---------- */
.page-hero { border-bottom: 1px solid var(--line); background: var(--shell); position: relative; overflow: hidden; }
.page-hero .shell { padding-top: 64px; padding-bottom: 58px; position: relative; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); max-width: 24ch; }
.page-hero .lede { margin-top: 16px; font-size: 1.07rem; color: var(--ink-2); max-width: 66ch; }
.page-hero .rule { width: 68px; height: 3px; background: var(--tile); margin-top: 26px; }

.page-hero.photo {
  border-bottom: none; color: #f2f6f5;
  background:
    linear-gradient(180deg, rgba(6,42,53,.66), rgba(9,57,71,.5) 55%, rgba(6,42,53,.84)),
    var(--hero-img) center / cover no-repeat;
}
.page-hero.photo h1 { color: #fff; text-shadow: 0 2px 20px rgba(6,42,53,.6); }
.page-hero.photo .lede { color: #dbe7e6; text-shadow: 0 1px 12px rgba(6,42,53,.65); }
.page-hero.photo .shell { padding-top: 92px; padding-bottom: 86px; }
.page-hero.photo .hero-credit { position: absolute; right: 26px; bottom: 10px; font-size: .68rem; color: rgba(226,236,235,.6); }
.page-hero .crumb { font-size: .78rem; font-weight: 600; letter-spacing: .06em; margin-bottom: 18px; color: var(--ink-3); }
.page-hero.photo .crumb { color: #b9cfd2; }
.page-hero .crumb a { color: inherit; }
.page-hero .crumb a:hover { color: var(--tile); }
.page-hero.photo .crumb a:hover { color: #fff; }

/* ---------- Sections ---------- */
.section { padding: 66px 0; }
.section.tint { background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.deep { background: var(--ocean-deep); color: #cfdedd; }
.section.deep h2, .section.deep h3 { color: #fff; }
.section.shellbg { background: var(--shell); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); max-width: 26ch; }
.sec-head .sec-link { font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; padding-bottom: 4px; border-bottom: 2px solid var(--tile); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 26px; }
.grid.g2 { grid-template-columns: repeat(2, 1fr); }
.grid.g3 { grid-template-columns: repeat(3, 1fr); }
.grid.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid.g3, .grid.g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid.g2, .grid.g3, .grid.g4 { grid-template-columns: 1fr; } }

.panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 28px; box-shadow: var(--shadow-1);
}
.panel h3 { margin-bottom: 10px; }
.panel p { font-size: .93rem; color: var(--ink-2); }
a.panel { color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
a.panel:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); color: inherit; }

.tile-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-1); display: flex; flex-direction: column; color: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}
a.tile-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); color: inherit; }
.tile-card .tc-photo { aspect-ratio: 16 / 9.5; background: var(--foam) center / cover no-repeat; position: relative; }
.tile-card .tc-photo.tall { aspect-ratio: 4 / 3; }
.tile-card .tc-body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.tile-card .tc-kicker { font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--tile); margin-bottom: 8px; }
.tile-card h3 { margin-bottom: 8px; }
.tile-card p { font-size: .92rem; color: var(--ink-2); }
.tile-card .tc-foot { margin-top: auto; padding-top: 14px; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ocean); }

.photo-credit { font-size: .68rem; color: var(--ink-3); margin-top: 7px; }
.tc-photo .photo-credit { position: absolute; right: 8px; bottom: 5px; margin: 0; color: rgba(255,255,255,.72); text-shadow: 0 1px 6px rgba(0,0,0,.6); }

/* ---------- Feature split ---------- */
.feature { display: grid; grid-template-columns: 1.04fr .96fr; gap: 48px; align-items: center; }
.feature.flip > .f-media { order: -1; }
@media (max-width: 880px) { .feature { grid-template-columns: 1fr; gap: 30px; } .feature.flip > .f-media { order: 0; } }
.feature h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 16px; }
.feature p { color: var(--ink-2); margin-bottom: 14px; }
.feature ul { margin: 14px 0 20px 20px; color: var(--ink-2); font-size: .95rem; }
.feature li { margin-bottom: 9px; }
.f-media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); background: var(--card); }
.f-media img, .f-media svg { width: 100%; height: auto; display: block; }

/* ---------- Stat strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--card); box-shadow: var(--shadow-1); }
@media (max-width: 780px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat-cell { padding: 26px 24px; border-right: 1px solid var(--line); }
.stat-cell:last-child { border-right: none; }
@media (max-width: 780px) { .stat-cell:nth-child(2n) { border-right: none; } .stat-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.stat-cell .n { font-family: var(--serif); font-size: 2rem; color: var(--ocean); line-height: 1; }
.stat-cell .l { font-size: .82rem; font-weight: 600; color: var(--ink-2); margin-top: 8px; }
.stat-cell .s { font-size: .7rem; color: var(--ink-3); margin-top: 4px; }

/* ---------- Briefing / news list ---------- */
.briefing { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-1); overflow: hidden; }
.brief-item { display: flex; gap: 22px; padding: 20px 26px; border-bottom: 1px solid var(--line); }
.brief-item:last-child { border-bottom: none; }
.brief-when { flex: 0 0 96px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding-top: 4px; }
.brief-body h3 { font-size: 1.06rem; margin-bottom: 4px; font-family: var(--sans); font-weight: 700; }
.brief-body p { font-size: .9rem; color: var(--ink-2); }
.brief-tag {
  display: inline-block; font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 3px; margin-bottom: 7px; background: var(--mist); color: var(--ink-2);
}
.brief-tag.t-land { background: #f3e2d8; color: var(--tile-deep); }
.brief-tag.t-city { background: #dfe8ea; color: var(--ocean); }
.brief-tag.t-school { background: #e6e9df; color: var(--sage-deep); }
.brief-tag.t-market { background: #efe7d3; color: #7c6222; }
.brief-tag.t-life { background: #e8e2ee; color: #5c4a76; }
@media (max-width: 620px) { .brief-item { flex-direction: column; gap: 6px; } .brief-when { flex-basis: auto; } }

/* ---------- Fact sheet table ---------- */
.factsheet { width: 100%; border-collapse: collapse; font-size: .93rem; }
.factsheet th, .factsheet td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.factsheet th { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.factsheet tr:last-child td { border-bottom: none; }
.factsheet td:first-child { font-weight: 700; white-space: nowrap; color: var(--ink); width: 34%; }
.table-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); overflow-x: auto; box-shadow: var(--shadow-1); }

/* ---------- Notices ---------- */
.notice { border-radius: var(--r-lg); border: 1px solid; padding: 22px 26px; font-size: .94rem; }
.notice h3 { margin-bottom: 8px; }
.notice.n-alert { background: #f8ece4; border-color: #e5c8b4; color: #6c341a; }
.notice.n-info { background: #e9f0f1; border-color: #c8dade; color: #123f4e; }
.notice.n-calm { background: #ecefe7; border-color: #d0d8c5; color: #3c4c35; }
.notice a { font-weight: 700; }

/* ---------- Maps ---------- */
.pv-map { height: 480px; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-1); z-index: 1; }
.pv-map.tall { height: 560px; }
@media (max-width: 700px) { .pv-map, .pv-map.tall { height: 380px; } }
.map-note { font-size: .8rem; color: var(--ink-3); margin-top: 12px; }
.legend { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 14px; font-size: .84rem; color: var(--ink-2); }
.legend .k { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.legend .dot { width: 13px; height: 13px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.2); }
.legend .sq { width: 13px; height: 13px; border-radius: 3px; opacity: .75; }

.hood-label {
  background: none; border: none; box-shadow: none;
  font-family: var(--sans); font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  color: #123f4e; text-shadow: 0 1px 0 #fff, 0 -1px 0 #fff, 1px 0 0 #fff, -1px 0 0 #fff, 0 2px 6px rgba(255,255,255,.9);
  text-align: center; white-space: nowrap;
}
.hood-label.lm-poi { color: var(--tile-deep); }
.leaflet-popup-content { font-family: var(--sans); font-size: .86rem; line-height: 1.5; }
.leaflet-popup-content .pp-name { font-weight: 800; font-size: .95rem; }
.leaflet-popup-content .pp-sub { color: #45555e; }
.map-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.map-filter button {
  font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 9px 17px; border-radius: 3px; border: 1px solid var(--line-dark); background: var(--card); color: var(--ink-2); cursor: pointer;
}
.map-filter button.on { background: var(--ocean); border-color: var(--ocean); color: #fff; }

/* ---------- Neighborhood ledger ---------- */
.ledger { counter-reset: hood; }
.ledger-item { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.ledger-item:last-child { border-bottom: none; }
.ledger-item::before {
  counter-increment: hood; content: counter(hood, decimal-leading-zero);
  font-family: var(--serif); font-size: 1.7rem; color: var(--line-dark); line-height: 1; padding-top: 4px;
}
.ledger-item h3 { margin-bottom: 6px; }
.ledger-item .l-meta { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--tile); margin-bottom: 10px; }
.ledger-item p { font-size: .95rem; color: var(--ink-2); margin-bottom: 8px; }
.ledger-item p:last-child { margin-bottom: 0; }
@media (max-width: 640px) { .ledger-item { grid-template-columns: 1fr; gap: 6px; } .ledger-item::before { font-size: 1.2rem; } }

/* ---------- Timeline ---------- */
.chrono { list-style: none; position: relative; }
.chrono::before { content: ""; position: absolute; left: 96px; top: 8px; bottom: 8px; width: 1px; background: var(--line-dark); }
.chrono li { position: relative; display: grid; grid-template-columns: 78px 1fr; gap: 40px; padding-bottom: 30px; }
.chrono li::after { content: ""; position: absolute; left: 91.5px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--tile); border: 2px solid var(--paper); box-shadow: 0 0 0 1px var(--line-dark); }
.chrono .yr { font-family: var(--serif); font-size: 1.25rem; color: var(--ocean); text-align: right; line-height: 1.2; }
.chrono h3 { font-size: 1.08rem; margin-bottom: 4px; }
.chrono p { font-size: .92rem; color: var(--ink-2); }
@media (max-width: 640px) {
  .chrono::before { left: 4px; }
  .chrono li { grid-template-columns: 1fr; gap: 4px; padding-left: 26px; }
  .chrono li::after { left: 0; }
  .chrono .yr { text-align: left; }
}

/* ---------- Pull quote ---------- */
.pull { border-left: 3px solid var(--tile); padding: 6px 0 6px 28px; margin: 28px 0; }
.pull p { font-family: var(--serif); font-size: 1.45rem; line-height: 1.4; color: var(--ink); }
.pull cite { display: block; margin-top: 10px; font-size: .8rem; font-style: normal; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- Signup band ---------- */
.signup { background: linear-gradient(150deg, var(--ocean-deep), var(--ocean) 85%); border-radius: var(--r-lg); color: #e6efee; padding: 46px 50px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: center; box-shadow: var(--shadow-2); }
@media (max-width: 780px) { .signup { grid-template-columns: 1fr; padding: 32px 28px; } }
.signup h2 { color: #fff; margin-bottom: 10px; }
.signup p { font-size: .95rem; color: #c3d6d6; }
.signup form { display: flex; gap: 12px; flex-wrap: wrap; }
.signup input[type="email"] {
  flex: 1; min-width: 210px; padding: 13px 18px; font-size: .95rem; font-family: var(--sans);
  border: none; border-radius: 3px; background: #fbfaf6; color: var(--ink);
}
.signup .tiny { font-size: .72rem; color: #9dbcbd; margin-top: 12px; }

/* ---------- Real estate listings ---------- */
.re-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 960px) { .re-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .re-grid { grid-template-columns: 1fr; } }
.re-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-1); display: flex; flex-direction: column; color: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}
a.re-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); color: inherit; }
.re-top { padding: 14px 18px 12px; color: #fff; display: flex; flex-direction: column; gap: 2px; }
.re-photo {
  aspect-ratio: 16 / 10; background-size: cover; background-position: center;
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  padding: 12px 14px; color: #fff;
}
.re-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,57,71,.12) 0%, transparent 35%, transparent 55%, rgba(9,57,71,.78) 100%); pointer-events: none; }
.re-photo .re-chip { position: relative; z-index: 1; }
.re-photo-cap { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 1px; text-shadow: 0 1px 8px rgba(6,42,53,.8); }
.re-photo .re-hood { font-family: var(--serif); font-size: 1.02rem; line-height: 1.2; }
.re-photo .re-city { font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .9; }
.re-chip {
  align-self: flex-start; font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 3px; color: #fff; margin-bottom: 6px; box-shadow: 0 1px 4px rgba(0,0,0,.25);
}
.re-hood { font-family: var(--serif); font-size: 1.05rem; line-height: 1.2; }
.re-city { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.re-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.re-price { font-family: var(--serif); font-size: 1.45rem; color: var(--ink); line-height: 1.1; }
.re-when { font-family: var(--sans); font-size: .74rem; font-weight: 600; color: var(--ink-3); }
.re-addr { font-size: .94rem; font-weight: 700; color: var(--ink-2); }
.re-approx { color: var(--ink-3); cursor: help; }
.re-specs { font-size: .84rem; color: var(--ink-2); }
.re-note { font-size: .82rem; color: var(--ink-3); margin-top: 4px; }
.re-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.re-tabs button {
  font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 10px 18px; border-radius: 3px; border: 1px solid var(--line-dark); background: var(--card); color: var(--ink-2); cursor: pointer;
}
.re-tabs button.on { background: var(--ocean); border-color: var(--ocean); color: #fff; }
.re-tabs button .count { opacity: .7; font-weight: 600; }
.re-tstatus { display: inline-block; font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px; border-radius: 3px; color: #fff; white-space: nowrap; }
.re-thood { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.re-table td, .re-table th { white-space: nowrap; }
.re-table td:nth-child(2) { white-space: normal; min-width: 180px; font-weight: 700; }
.re-tprice { font-family: var(--serif); font-size: 1.02rem; }
.brief-body h3 a { color: inherit; }
.brief-body h3 a:hover { color: var(--tile-deep); }

/* ---------- Contact form ---------- */
.pv-form label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 16px; }
.pv-form input[type="text"], .pv-form input[type="email"], .pv-form select, .pv-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 15px; font-size: .95rem;
  font-family: var(--sans); color: var(--ink); background: var(--card);
  border: 1px solid var(--line-dark); border-radius: var(--r);
}
.pv-form textarea { resize: vertical; min-height: 140px; }
.pv-form input:focus, .pv-form select:focus, .pv-form textarea:focus {
  outline: 2px solid var(--sea); outline-offset: 1px; border-color: var(--sea);
}
.pv-form .form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 620px) { .pv-form .form-2col { grid-template-columns: 1fr; } }

/* ---------- Directory list ---------- */
.dir { list-style: none; }
.dir li { padding: 13px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 18px; font-size: .93rem; flex-wrap: wrap; }
.dir li:last-child { border-bottom: none; }
.dir .d-name { font-weight: 700; }
.dir .d-val { color: var(--ink-2); text-align: right; }
@media (max-width: 560px) { .dir li { flex-direction: column; gap: 2px; } .dir .d-val { text-align: left; } }

/* ---------- Footer ---------- */
.colophon { background: var(--ocean-night); color: #8fa9ad; margin-top: 84px; }
.colophon .shell { padding: 56px 26px 34px; }
.colo-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid #113946; }
@media (max-width: 860px) { .colo-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .colo-grid { grid-template-columns: 1fr; } }
.colo-brand { font-family: var(--serif); font-size: 1.35rem; color: #f2f6f5; }
.colo-brand em { font-style: normal; color: #6da3ad; }
.colophon p.note { font-size: .82rem; line-height: 1.7; margin-top: 10px; }
.colophon h4 { color: #d8e6e6; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 14px; font-family: var(--sans); font-weight: 700; }
.colophon ul { list-style: none; }
.colophon li { margin-bottom: 9px; }
.colophon a { color: #a9c0c3; font-size: .89rem; }
.colophon a:hover { color: #fff; }
.colo-legal { padding-top: 24px; font-size: .74rem; line-height: 1.8; color: #6d8a90; }
.colo-legal a { color: #8fa9ad; }

/* ---------- Utilities ---------- */
.muted { color: var(--ink-3); }
.small { font-size: .85rem; }
.center { text-align: center; }
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.mb-1 { margin-bottom: 12px; } .mb-2 { margin-bottom: 24px; }
.divider { border: none; border-top: 1px solid var(--line); margin: 40px 0; }
.chip { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 4px 12px; border-radius: 3px; background: var(--mist); color: var(--ink-2); }
.chip.c-ocean { background: #dfe8ea; color: var(--ocean); }
.chip.c-tile { background: #f3e2d8; color: var(--tile-deep); }
.chip.c-sage { background: #e6e9df; color: var(--sage-deep); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a.panel, a.tile-card, .btn { transition: none; }
}
