@font-face { font-family: 'Montserrat'; src: url('assets/fonts/Montserrat-ExtraBold.ttf') format('truetype'); font-weight: 800; font-style: normal; font-display: swap; }

@font-face { font-family: 'Titillium Web'; src: url('assets/fonts/TitilliumWeb-Light.ttf') format('truetype'); font-weight: 300; font-style: normal; font-display: swap; }

@font-face { font-family: 'Titillium Web'; src: url('assets/fonts/TitilliumWeb-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }

@font-face { font-family: 'Titillium Web'; src: url('assets/fonts/TitilliumWeb-SemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }

/* ============================================================
   Door3D listing site base (Larkwood editorial layout).
   Themes override the tokens; fonts are injected by build.py.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Armen brand */
  --navy: #1f3a6e;
  --navy-deep: #16294d;
  --navy-ink: #101a2e;
  --gold: #c9a227;
  --gold-ink: #8a6a12;          /* AA-safe gold for small text on cream */
  --gold-soft: rgba(201, 162, 39, 0.14);

  /* Door3D brand */
  --green: #296216;
  --green-deep: #17350e;
  --door-gold: #c48d26;

  /* Ground */
  --cream: #f6f3ea;
  --surface: #fffdf8;
  --text: #101a2e;
  --muted: #5e6472;
  --line: rgba(31, 58, 110, 0.16);
  --line-soft: rgba(31, 58, 110, 0.08);
  --on-dark: #f2eee2;
  --on-dark-muted: rgba(242, 238, 226, 0.72);

  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 8px;

  --shadow-lg: 0 30px 70px rgba(16, 26, 46, 0.16);
  --shadow-md: 0 18px 44px rgba(16, 26, 46, 0.1);
  --shadow-sm: 0 6px 18px rgba(16, 26, 46, 0.07);

  --max: 1180px;
  --pad: clamp(18px, 4vw, 44px);
  --ease: 240ms cubic-bezier(0.22, 0.61, 0.36, 1);

  --display: 'Montserrat', 'Franklin Gothic Medium', sans-serif;
  --body: 'Titillium Web', 'Trebuchet MS', sans-serif;

  --header-h: 74px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--body);
  font-weight: 400;
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.08rem);
  line-height: 1.65;
  color: var(--text);
  background-color: var(--cream);
  background-image:
    repeating-linear-gradient(
      118deg,
      rgba(31, 58, 110, 0.028) 0 1px,
      transparent 1px 9px
    ),
    radial-gradient(120% 60% at 82% -10%, rgba(201, 162, 39, 0.13), transparent 60%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd, dt, figure { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 800; }
p { margin: 0; }
table { border-collapse: collapse; width: 100%; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 300;
  padding: 12px 20px;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  transition: top 160ms ease;
}
.skip:focus { top: 0; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Layout ---------- */
.shell {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin-inline: auto;
}

.band { padding-block: clamp(52px, 8vw, 104px); }
.band--tight { padding-block: clamp(40px, 6vw, 72px); }

.band--paper {
  background: var(--surface);
  border-block: 1px solid var(--line-soft);
}

/* ---------- Section heads ---------- */
.head {
  display: flex;
  align-items: baseline;
  gap: clamp(12px, 2vw, 22px);
  margin-bottom: clamp(24px, 3.5vw, 44px);
}

.head__title {
  font-size: clamp(1.6rem, 1.05rem + 2.4vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--navy-deep);
}

.head__rule {
  flex: 1 1 auto;
  height: 1px;
  min-width: 20px;
  background: linear-gradient(90deg, var(--line), transparent);
  transform: translateY(-6px);
}

.head__note {
  flex: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

/* ============================================================
   HEADER
   ============================================================ */
.masthead {
  position: sticky;
  top: 0;
  z-index: 120;
  background: var(--navy);
  color: #fff;
  border-bottom: 1px solid rgba(201, 162, 39, 0.42);
}

.masthead__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 28px);
  padding-block: 10px;
}

.masthead__id {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  margin-right: auto;
}

.masthead__name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: clamp(0.98rem, 0.9rem + 0.4vw, 1.22rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.05;
}

.masthead__name::before {
  content: "";
  width: 3px;
  height: 1.05em;
  flex: none;
  background: var(--gold);
}

.masthead__sub {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.74);
  padding-left: 13px;
}

.masthead__tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  color: #fff;
  white-space: nowrap;
  border-bottom: 1px solid rgba(201, 162, 39, 0.55);
  padding-bottom: 2px;
  transition: color var(--ease), border-color var(--ease);
}
.masthead__tel:hover { color: var(--gold); border-color: var(--gold); }
.masthead__tel svg { flex: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform var(--ease), background var(--ease), color var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn--gold {
  background: var(--gold);
  color: #16140a;
  box-shadow: 0 12px 26px rgba(201, 162, 39, 0.28);
}
.btn--gold:hover { background: #d9b23a; }

.btn--navy {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 14px 30px rgba(31, 58, 110, 0.26);
}
.btn--navy:hover { background: var(--navy-deep); }

.btn--outline {
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }

.btn--wide { width: 100%; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(560px, 84vh, 880px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-block: clamp(48px, 9vw, 92px) 0;
  background: var(--navy-deep);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(90% 70% at 22% 18%, #2c4d86 0%, transparent 58%),
    linear-gradient(160deg, #22406f 0%, #101a2e 62%, #0b1220 100%);
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.02) 46%, rgba(2, 5, 10, 0.7) 80%, rgba(2, 5, 10, 0.9) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.24) 0%, transparent 58%);
}

.hero__body { padding-bottom: clamp(26px, 4vw, 46px); }

.hero__kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-bottom: clamp(16px, 2.4vw, 26px);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(242, 238, 226, 0.26);
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-dark);
  backdrop-filter: blur(6px);
}

.tag--gold {
  border-color: var(--gold);
  background: var(--gold);
  color: #16140a;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 1.1rem + 5.4vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  text-wrap: balance;
  max-width: 16ch;
}

.hero h1 .h1-sub {
  display: block;
  margin-top: 0.16em;
  font-size: 0.34em;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.hero__sold {
  margin-top: clamp(16px, 2.2vw, 24px);
  color: var(--on-dark-muted);
  font-size: 0.95rem;
  max-width: 46ch;
}

.hero__seal {
  position: absolute;
  z-index: 2;
  right: var(--pad);
  top: clamp(24px, 5vw, 56px);
  width: clamp(94px, 12vw, 138px);
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  gap: 2px;
  text-align: center;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.85);
  outline: 1px solid rgba(201, 162, 39, 0.34);
  outline-offset: 6px;
  background: rgba(201, 162, 39, 0.94);
  color: #16140a;
  transform: rotate(-7deg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}

.hero__seal b {
  font-family: var(--display);
  font-size: clamp(1.1rem, 2.2vw, 1.55rem);
  letter-spacing: 0.1em;
  line-height: 1;
}

.hero__seal span {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.82;
}

/* Stat rail */
.rail {
  border-top: 1px solid rgba(242, 238, 226, 0.2);
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.42), rgba(11, 18, 32, 0.78));
  backdrop-filter: blur(10px);
}

.rail__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.stat {
  padding: clamp(18px, 2.6vw, 30px) clamp(12px, 2vw, 26px);
  border-left: 1px solid rgba(242, 238, 226, 0.16);
}
.stat:first-child { border-left: 0; padding-left: 0; }

.stat__k {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.stat__v {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.35rem, 0.9rem + 1.7vw, 2.15rem);
  line-height: 1;
  letter-spacing: -0.035em;
  color: #fff;
}

.stat__v small {
  font-size: 0.46em;
  letter-spacing: 0.06em;
  color: var(--on-dark-muted);
  margin-left: 4px;
}

/* ============================================================
   GALLERY
   ============================================================ */
.grid-photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  grid-auto-flow: dense;
  gap: clamp(10px, 1.4vw, 16px);
}

.tile {
  position: relative;
  display: block;
  padding: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--r-md);
  background: linear-gradient(140deg, #e7e2d4, #d8d3c4);
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
}

/* A wide tile covers two columns plus the gap between them.
   2.72 keeps its height equal to a 4:3 single tile, so rows
   stay flush at every column count. */
.tile--wide { grid-column: span 2; aspect-ratio: 2.72; }

@media (max-width: 620px) {
  .tile--wide { grid-column: span 1; aspect-ratio: 4 / 3; }
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 620ms cubic-bezier(0.22, 0.61, 0.36, 1), filter var(--ease);
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(16, 26, 46, 0.1);
  background: linear-gradient(180deg, transparent 58%, rgba(11, 18, 32, 0.45));
  opacity: 0;
  transition: opacity var(--ease);
}

.tile:hover img, .tile:focus-visible img { transform: scale(1.045); }
.tile:hover::after, .tile:focus-visible::after { opacity: 1; }

.tile__cap {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--ease), transform var(--ease);
}
.tile:hover .tile__cap, .tile:focus-visible .tile__cap { opacity: 1; transform: none; }

.tile.is-missing { display: none; }

.gallery__empty {
  padding: clamp(30px, 6vw, 60px);
  border: 1px dashed var(--line);
  border-radius: var(--r-lg);
  text-align: center;
  color: var(--muted);
  background: var(--surface);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  flex-direction: column;
  background: rgba(9, 14, 25, 0.96);
  backdrop-filter: blur(4px);
}
.lightbox[data-open="true"] { display: flex; }
body.is-locked { overflow: hidden; }

.lightbox__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px var(--pad);
  border-bottom: 1px solid rgba(242, 238, 226, 0.14);
  color: var(--on-dark);
}

.lightbox__count {
  font-family: var(--display);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.lightbox__label {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-right: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.iconbtn {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-content: center;
  border-radius: 50%;
  border: 1px solid rgba(242, 238, 226, 0.28);
  color: var(--on-dark);
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}
.iconbtn:hover { background: var(--gold); border-color: var(--gold); color: #16140a; }

.lightbox__stage {
  flex: 1;
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.6vw, 20px);
  padding: clamp(10px, 2vw, 26px) var(--pad);
  min-height: 0;
}

.lightbox__stage img {
  flex: 1;
  min-width: 0;
  max-height: 100%;
  width: auto;
  margin-inline: auto;
  object-fit: contain;
  border-radius: var(--r-sm);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.lightbox__foot {
  padding: 0 var(--pad) 18px;
  color: var(--on-dark-muted);
  font-size: 0.86rem;
  text-align: center;
}

@media (max-width: 640px) {
  .lightbox__stage { padding-inline: 8px; }
  .iconbtn { width: 40px; height: 40px; }
}

[hidden] { display: none !important; }

/* ============================================================
   PROPERTY
   ============================================================ */
.prop {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

@media (max-width: 900px) {
  .prop { grid-template-columns: minmax(0, 1fr); }
}

.prop__lead {
  font-size: clamp(1.12rem, 1rem + 0.5vw, 1.35rem);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--navy-deep);
  margin-bottom: 20px;
}

.prop__lead::first-letter {
  float: left;
  font-family: var(--display);
  font-size: 3.1em;
  line-height: 0.76;
  padding: 0.08em 0.12em 0 0;
  color: var(--gold-ink);
}

.prop__body { color: var(--muted); }
.prop__body + .prop__body { margin-top: 1em; }

.highlights {
  padding: clamp(22px, 2.6vw, 30px);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.highlights h3 {
  font-size: 0.86rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.highlights li {
  position: relative;
  padding: 10px 0 10px 26px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.98rem;
}
.highlights li:last-child { border-bottom: 0; padding-bottom: 0; }

.highlights li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 1.05em;
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 2px solid var(--gold);
}

.specs { margin-top: clamp(28px, 4vw, 44px); }

.specs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 0 clamp(24px, 4vw, 56px);
}

.specs__row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px dotted rgba(31, 58, 110, 0.28);
}

.specs__row dt {
  flex: none;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.specs__row dd {
  margin: 0 0 0 auto;
  text-align: right;
  font-weight: 600;
  color: var(--navy-deep);
}

/* ============================================================
   FEATURES
   ============================================================ */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-deep);
  box-shadow: var(--shadow-sm);
}

.chip::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.chip--alt::before { background: var(--navy); }

.split2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(28px, 4vw, 52px);
}

.sub {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 16px;
}

/* ============================================================
   SCHOOLS
   ============================================================ */
.schools {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(14px, 1.8vw, 20px);
}

.school {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: clamp(20px, 2.4vw, 26px);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.school__score {
  flex: none;
  width: 58px; height: 58px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--gold-soft);
  font-family: var(--display);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--navy-deep);
}

.school__score small {
  display: block;
  font-family: var(--body);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-align: center;
  margin-top: 2px;
}

.school h3 {
  font-size: 1rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--navy-deep);
  margin-bottom: 6px;
}

.school__meta {
  font-size: 0.86rem;
  color: var(--muted);
}

.schools__note {
  margin-top: 18px;
  font-size: 0.84rem;
  color: var(--muted);
}

/* ============================================================
   LOCATION
   ============================================================ */
.loc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

@media (max-width: 860px) {
  .loc { grid-template-columns: minmax(0, 1fr); }
}

.loc__copy p + p { margin-top: 1em; color: var(--muted); }

.loc__pins {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.map {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #eae5d6;
  box-shadow: var(--shadow-md);
  aspect-ratio: 5 / 4;
  min-height: 300px;
}

.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.map__plate {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: rgba(22, 41, 77, 0.94);
  color: var(--on-dark);
  box-shadow: var(--shadow-md);
}

.map__plate b {
  display: block;
  font-family: var(--display);
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #fff;
}

.map__plate span {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--on-dark-muted);
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   AGENT
   ============================================================ */
.agent {
  position: relative;
  padding: clamp(28px, 4.6vw, 60px);
  border-radius: var(--r-lg);
  background:
    radial-gradient(70% 120% at 0% 0%, rgba(201, 162, 39, 0.2), transparent 58%),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 60%, #0f1c36 100%);
  color: var(--on-dark);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.agent::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(201, 162, 39, 0.34);
  border-radius: calc(var(--r-lg) - 6px);
  pointer-events: none;
}

.agent__inner {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}

@media (max-width: 700px) {
  .agent__inner { grid-template-columns: minmax(0, 1fr); }
}

.agent__mono {
  width: clamp(84px, 10vw, 110px);
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.6);
  background: rgba(201, 162, 39, 0.14);
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  color: var(--gold);
}

.agent h2 {
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: #fff;
}

.agent__creds {
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.agent__tag {
  margin-top: 18px;
  font-family: var(--display);
  font-size: clamp(1.02rem, 0.9rem + 0.7vw, 1.42rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
}

.agent__since {
  margin-top: 6px;
  color: var(--on-dark-muted);
  font-size: 0.94rem;
}

.agent__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1px;
  margin: clamp(22px, 3vw, 30px) 0;
  background: rgba(242, 238, 226, 0.18);
  border: 1px solid rgba(242, 238, 226, 0.18);
  border-radius: var(--r-md);
  overflow: hidden;
}

.agent__stat {
  padding: 16px 18px;
  background: rgba(11, 18, 32, 0.44);
}

.agent__stat b {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--gold);
}

.agent__stat span {
  display: block;
  margin-top: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.agent__contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 14px 28px;
}

.agent__row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(242, 238, 226, 0.14);
  font-size: 0.95rem;
}

.agent__row dt {
  flex: none;
  width: 68px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.agent__row dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  color: #fff;
}

.agent__row a { border-bottom: 1px solid rgba(201, 162, 39, 0.5); transition: color var(--ease); }
.agent__row a:hover { color: var(--gold); }

/* ============================================================
   FORM
   ============================================================ */
.showing {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: start;
}

@media (max-width: 880px) {
  .showing { grid-template-columns: minmax(0, 1fr); }
}

.showing__copy h2 {
  font-size: clamp(1.7rem, 1.15rem + 2.2vw, 2.8rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--navy-deep);
  margin-bottom: 16px;
}

.showing__copy p { color: var(--muted); }

.showing__direct {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
}

.showing__direct b { display: block; font-family: var(--display); color: var(--navy-deep); letter-spacing: -0.01em; }
.showing__direct a { font-size: 1.12rem; font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--gold); }

.form {
  position: relative;
  padding: clamp(22px, 3vw, 36px);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.field { margin-bottom: 16px; }

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: #fff;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--text);
  transition: border-color var(--ease), box-shadow var(--ease);
}

.field textarea { min-height: 108px; resize: vertical; }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(31, 58, 110, 0.16);
}

.field input:focus-visible,
.field textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.form__fine {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

.form.is-sent .form__body { display: none; }

.form__done { display: none; text-align: center; padding: clamp(14px, 3vw, 30px) 0; }
.form.is-sent .form__done { display: block; }

.form__done .check {
  width: 58px; height: 58px;
  margin: 0 auto 18px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 2px solid var(--gold);
  color: var(--navy-deep);
}

.form__done h3 {
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--navy-deep);
  margin-bottom: 10px;
}

.form__done p { color: var(--muted); }

.linkbtn {
  margin-top: 18px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  background: var(--green-deep);
  color: var(--on-dark);
  padding-block: clamp(44px, 6vw, 72px) 32px;
}

.foot__top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: clamp(26px, 4vw, 48px);
  padding-bottom: clamp(26px, 4vw, 40px);
  border-bottom: 1px solid rgba(242, 238, 226, 0.16);
}

.foot__by {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--door-gold);
  margin-bottom: 16px;
}

.foot__logo { width: clamp(150px, 20vw, 200px); height: auto; }
.foot__logo-fallback {
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: #fff;
}

.foot__blurb { margin-top: 16px; color: var(--on-dark-muted); font-size: 0.94rem; max-width: 42ch; }

.foot h3 {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--door-gold);
  margin-bottom: 14px;
}

.foot__list li { padding: 6px 0; }
.foot__list a { border-bottom: 1px solid rgba(196, 141, 38, 0.4); transition: color var(--ease); }
.foot__list a:hover { color: var(--door-gold); }

.foot__legal {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(242, 238, 226, 0.62);
}

.foot__legal strong { color: rgba(242, 238, 226, 0.85); font-weight: 600; }
.foot__legal a { border-bottom: 1px solid rgba(242, 238, 226, 0.3); }
.foot__legal a:hover { color: var(--door-gold); }

/* ============================================================
   MOTION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .btn:hover { transform: none; }
  .svc:hover { transform: none; }
  .tile:hover img { transform: none; }
}

/* ============================================================
   SMALL SCREENS
   ============================================================ */
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .masthead__tel span.tel-text { display: none; }
  .masthead__tel {
    width: 44px;
    height: 44px;
    flex: none;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(201, 162, 39, 0.6);
    border-radius: 50%;
  }
  .masthead__sub { font-size: 0.66rem; letter-spacing: 0.12em; }
  .hero__seal { width: 82px; top: 18px; }
  .stat:first-child { padding-left: 0; }
  .stat { border-left: 0; border-top: 1px solid rgba(242, 238, 226, 0.16); }
  .rail__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2n) { border-left: 1px solid rgba(242, 238, 226, 0.16); padding-left: 16px; }
}

/* Two row header on narrow phones so the brokerage line never
   wraps into a ragged block beside the button. */
@media (max-width: 560px) {
  .masthead__inner {
    min-height: 0;
    flex-wrap: wrap;
    row-gap: 10px;
    padding-block: 12px;
  }
  .masthead__id { flex: 1 0 100%; margin-right: 0; }
  .masthead__sub { white-space: nowrap; }
  .masthead__tel { order: 2; }
  .masthead .btn--gold { order: 3; flex: 1 1 auto; }
  html { scroll-padding-top: 130px; }
}

@media (max-width: 430px) {
  .btn { padding: 0 16px; font-size: 0.74rem; letter-spacing: 0.1em; }
  .head { flex-wrap: wrap; }
  .head__note { width: 100%; }
}


/* ============================================================
   Door3D listing site additions on top of the Larkwood layout.
   Only what Larkwood does not already have: subtle motion, room
   filters, listing history, the agent headshot and a two-column
   phone gallery. Colours and type stay Larkwood's.
   ============================================================ */

/* ---------- Hero motion ---------- */
.hero__img { transform-origin: 60% 55%; animation: kenburns 28s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.hero__body > * { animation: rise 900ms cubic-bezier(0.22, 0.61, 0.36, 1) both; }
.hero__body > :nth-child(2) { animation-delay: 120ms; }
.hero__body > :nth-child(3) { animation-delay: 240ms; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero__seal { animation: seal-in 1100ms 500ms cubic-bezier(0.2, 0.9, 0.3, 1.2) both; }
@keyframes seal-in { from { opacity: 0; transform: rotate(-30deg) scale(0.6); } to { opacity: 1; transform: rotate(-7deg) scale(1); } }
.hero h1 .h1-unit { display: block; color: var(--gold); }

/* Legibility on bright, real-world skies (Larkwood's scrim was tuned to one photo) */
.hero__scrim {
  background:
    linear-gradient(180deg, rgba(2, 5, 10, 0.3) 0%, rgba(2, 5, 10, 0.16) 30%, rgba(2, 5, 10, 0.62) 62%, rgba(2, 5, 10, 0.92) 100%),
    linear-gradient(90deg, rgba(2, 5, 10, 0.45) 0%, transparent 65%);
}
.hero .tag:not(.tag--gold) { background: rgba(11, 18, 32, 0.42); border-color: rgba(242, 238, 226, 0.4); }
.hero h1, .hero__sold { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35); }
.hero__sold { color: rgba(242, 238, 226, 0.9); }
@media (max-width: 620px) {
  .hero__scrim { background: linear-gradient(180deg, rgba(2, 5, 10, 0.4) 0%, rgba(2, 5, 10, 0.48) 40%, rgba(2, 5, 10, 0.86) 72%, rgba(2, 5, 10, 0.95) 100%); }
}

/* ---------- Gallery filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -10px 0 clamp(18px, 2.6vw, 28px); }
.filter {
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-deep);
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.filter span { margin-left: 6px; color: var(--muted); font-weight: 400; }
.filter:hover { border-color: var(--navy); }
.filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter[aria-pressed="true"] span { color: rgba(255, 255, 255, 0.7); }
.tile.is-filtered { display: none; }
.lightbox__stage img { transition: opacity 260ms ease; }
.lightbox__stage img.is-loading { opacity: 0.25; }
@media (hover: none) { .tile__cap { opacity: 1; transform: none; } }

/* ---------- Listing history ---------- */
.timeline { position: relative; max-width: 820px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.tl { position: relative; display: grid; grid-template-columns: 150px 1fr auto; gap: 6px 22px; align-items: baseline; padding: 16px 0 16px 34px; border-bottom: 1px solid var(--line-soft); }
.tl::before { content: ""; position: absolute; left: 0; top: 22px; width: 15px; height: 15px; border-radius: 50%; background: var(--surface); border: 2px solid var(--gold); }
.tl--key::before { background: var(--gold); }
.tl__date { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.tl__event { font-weight: 600; color: var(--navy-deep); }
.tl__event small { display: block; font-weight: 400; color: var(--muted); font-size: 0.86rem; }
.tl__price { font-family: var(--display); font-size: 1.05rem; color: var(--navy-deep); text-align: right; }
.history__note { margin-top: 16px; font-size: 0.84rem; color: var(--muted); max-width: 70ch; }
@media (max-width: 620px) { .tl { grid-template-columns: 1fr auto; } .tl__date { grid-column: 1 / -1; } }

/* ---------- Agent headshot in Larkwood's monogram circle ---------- */
.agent__photo {
  width: clamp(96px, 12vw, 136px);
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 50%;
  border: 2px solid rgba(201, 162, 39, 0.75);
  box-shadow: 0 0 0 6px rgba(201, 162, 39, 0.12);
  background: #fff;
}
.agent__contact { margin-top: clamp(20px, 3vw, 30px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.agent__row dt { width: 76px; }
.form__done a { color: var(--navy); border-bottom: 1px solid var(--gold); }

/* ---------- Phones: two-column gallery ---------- */
@media (max-width: 620px) {
  .grid-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tile--wide { grid-column: span 2; aspect-ratio: 2.06; }
  .tile__cap { left: 8px; bottom: 8px; font-size: 0.58rem; letter-spacing: 0.1em; }
  .filters { gap: 6px; }
  .filter { padding: 7px 11px; font-size: 0.7rem; }
}

/* Larkwood's map can overflow narrow phones by a few pixels (same fix as Monterey) */
@media (max-width: 420px) {
  .map { width: 100%; min-width: 0; min-height: 0; aspect-ratio: 1 / 1; }
  .map__plate { left: 10px; right: 10px; bottom: 10px; padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__img, .hero__body > *, .hero__seal { animation: none !important; }
}
.showing--solo { grid-template-columns: minmax(0, 1fr); max-width: 760px; }

/* ---------- Drone 360 (Pannellum) ---------- */
.pano { position: relative; }
.pano__stage { width: 100%; aspect-ratio: 16 / 9; max-height: 78vh; border-radius: var(--radius, 18px); overflow: hidden; background: #0b1220; box-shadow: 0 24px 60px rgba(11, 18, 32, 0.22); }
.pano__stage .pnlm-container { background: #0b1220; }
.pano__stage .pnlm-load-box { border-radius: 12px; }
.pano__hint { margin-top: 12px; font-size: 0.86rem; color: var(--muted); }
@media (max-width: 640px) { .pano__stage { aspect-ratio: 4 / 3; } }


/* ============================================================
   4442 Green Ave: warm editorial skin on the Larkwood layout.
   Same sections, same navy / gold / cream. What changes is the
   feel: a serif display face, paper grain, softer shapes, warm
   shadows and italic notes instead of shouting uppercase.
   ============================================================ */

@font-face { font-family: 'Cormorant Garamond'; src: url('assets/fonts/CormorantGaramond-VF.ttf') format('truetype'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('assets/fonts/CormorantGaramond-Italic-VF.ttf') format('truetype'); font-weight: 300 700; font-style: italic; font-display: swap; }

:root {
  --serif: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  --cream: #f6f0e4;
  --surface: #fffaf1;
  --paper-deep: #efe6d6;
  --line: rgba(92, 70, 32, 0.16);
  --line-soft: rgba(92, 70, 32, 0.09);
  --muted: #6b665c;
  --shadow-lg: 0 30px 70px rgba(74, 52, 18, 0.14);
  --shadow-md: 0 18px 44px rgba(74, 52, 18, 0.1);
  --shadow-sm: 0 8px 22px rgba(74, 52, 18, 0.08);
  --r-lg: 18px;
  --r-md: 12px;
}

/* ---------- Ground: warm paper with a faint grain, no stripes ---------- */
body {
  background-color: var(--cream);
  background-image:
    radial-gradient(90% 50% at 50% -10%, rgba(201, 162, 39, 0.16), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.25 0 0 0 0 0.1 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  line-height: 1.7;
}

.band--paper { background: var(--surface); border-block: 1px solid var(--line-soft); }

/* ---------- Section heads: serif, title case, short gold underline ---------- */
.head { align-items: flex-end; flex-wrap: wrap; row-gap: 8px; }
.head__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 1.3rem + 3vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--navy-deep);
  position: relative;
  padding-bottom: 12px;
}
.head__title::after {
  content: "";
  position: absolute;
  left: 2px; bottom: 0;
  width: 44px; height: 2px;
  background: var(--gold);
}
.head__rule { display: none; }
.head__note {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.08rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gold-ink);
  margin-left: auto;
  padding-bottom: 14px;
}
.eyebrow, .sub { letter-spacing: 0.18em; color: var(--gold-ink); }

/* ---------- Header ---------- */
.masthead { background: var(--navy-deep); border-bottom-color: rgba(201, 162, 39, 0.5); }
.masthead__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.2rem, 1rem + 0.7vw, 1.55rem);
  letter-spacing: 0.02em;
  text-transform: none;
}
.masthead__name::before { height: 1.1em; background: var(--gold); }
.masthead__sub { font-weight: 600; letter-spacing: 0.18em; color: rgba(255, 255, 255, 0.66); }
.btn { font-weight: 600; letter-spacing: 0.12em; }
.btn--gold { box-shadow: 0 10px 24px rgba(201, 162, 39, 0.3); }

/* ---------- Hero: warmer scrim, serif address, softer seal ---------- */
.hero { background: #16233d; }
.hero__scrim {
  background:
    linear-gradient(180deg, rgba(12, 16, 28, 0.22) 0%, rgba(12, 16, 28, 0.08) 32%, rgba(28, 22, 12, 0.6) 66%, rgba(22, 17, 10, 0.92) 100%),
    linear-gradient(90deg, rgba(14, 12, 8, 0.42) 0%, transparent 62%);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.9rem, 1.4rem + 6.4vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: -0.015em;
  text-transform: none;
  max-width: 14ch;
}
.hero h1 .h1-sub, .hero h1 .h1-unit {
  display: block;
  margin-top: 0.22em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.4em;
  letter-spacing: 0.02em;
  color: var(--gold);
}
.hero__sold { font-size: 1.05rem; max-width: 52ch; color: rgba(246, 240, 228, 0.9); }
.hero .tag { letter-spacing: 0.14em; font-size: 0.68rem; border-radius: 8px; padding: 7px 12px; }
.hero .tag--gold { background: var(--gold); color: #17130a; }
.hero__seal {
  transform: rotate(-5deg);
  background: rgba(246, 240, 228, 0.96);
  color: var(--navy-deep);
  border: 1px solid rgba(201, 162, 39, 0.9);
  outline: 1px solid rgba(246, 240, 228, 0.55);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}
.hero__seal b { font-family: var(--serif); font-weight: 600; font-size: clamp(1.1rem, 2.1vw, 1.5rem); letter-spacing: 0.02em; }
.hero__seal span { font-size: 0.62rem; letter-spacing: 0.1em; opacity: 0.8; color: var(--gold-ink); font-weight: 600; }
@keyframes seal-in { from { opacity: 0; transform: rotate(-24deg) scale(0.7); } to { opacity: 1; transform: rotate(-5deg) scale(1); } }

/* Stat rail: cream band under the hero instead of a dark bar */
.rail { background: var(--surface); border-top: 1px solid rgba(201, 162, 39, 0.5); border-bottom: 1px solid var(--line-soft); backdrop-filter: none; }
.stat { border-left-color: var(--line-soft); }
.stat__k { color: var(--gold-ink); letter-spacing: 0.18em; }
.stat__v { font-family: var(--serif); font-weight: 600; font-size: clamp(1.7rem, 1rem + 2.1vw, 2.6rem); letter-spacing: 0; color: var(--navy-deep); }
.stat__v small { color: var(--muted); font-family: var(--body); font-size: 0.4em; letter-spacing: 0.08em; }
@media (max-width: 760px) {
  .stat { border-top-color: var(--line-soft); }
  .stat:nth-child(2n) { border-left-color: var(--line-soft); }
}

/* ---------- Gallery ---------- */
.filter { border-color: var(--line); background: var(--surface); color: var(--navy-deep); }
.tile { border-radius: 14px; box-shadow: 0 10px 26px rgba(74, 52, 18, 0.12); background: var(--paper-deep); }
.tile::after { box-shadow: inset 0 0 0 1px rgba(92, 70, 32, 0.14); background: linear-gradient(180deg, transparent 55%, rgba(28, 22, 12, 0.5)); }
.tile__cap { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.02rem; letter-spacing: 0.01em; text-transform: none; }

/* ---------- Property ---------- */
.prop__lead { font-family: var(--serif); font-weight: 500; font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.8rem); line-height: 1.35; color: var(--navy-deep); }
.prop__lead::first-letter { font-family: var(--serif); font-weight: 600; font-size: 3.4em; line-height: 0.78; color: var(--gold-ink); padding: 0.06em 0.1em 0 0; }
.prop__body { color: #4a4740; }
.highlights { background: var(--surface); border: 1px solid var(--line-soft); box-shadow: var(--shadow-md); border-radius: 16px; }
.highlights h3 { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; letter-spacing: 0; text-transform: none; color: var(--navy-deep); border-bottom-color: rgba(201, 162, 39, 0.5); }
.highlights li { padding-left: 24px; border-bottom-color: var(--line-soft); }
.highlights li::before { width: 7px; height: 7px; border: 0; background: var(--gold); top: 1.15em; }
.specs__row { border-bottom: 1px solid var(--line-soft); }
.specs__row dt { letter-spacing: 0.14em; }
.specs__row dd { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; }

/* ---------- Features ---------- */
.chip { border-color: var(--line-soft); background: var(--surface); font-weight: 400; color: #2a2a2a; box-shadow: var(--shadow-sm); padding: 9px 15px; }
.chip::before { background: var(--gold); }
.chip--alt::before { background: var(--navy); }

/* ---------- Schools ---------- */
.school { border: 1px solid var(--line-soft); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-sm); align-items: center; }
.school__score { width: 62px; height: 62px; border: 1px solid var(--gold); background: linear-gradient(160deg, rgba(201, 162, 39, 0.26), rgba(201, 162, 39, 0.08)); font-family: var(--serif); font-weight: 600; font-size: 1.75rem; color: var(--navy-deep); }
.school__score small { font-size: 0.5rem; }
.school h3 { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; line-height: 1.15; letter-spacing: 0; }
.school__meta { font-size: 0.9rem; }

/* ---------- Location ---------- */
.map { border-radius: 16px; border-color: var(--line-soft); }
.map__plate { background: rgba(22, 35, 61, 0.94); }
.map__plate b { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; letter-spacing: 0.01em; text-transform: none; }

/* ---------- Agent ---------- */
.agent {
  border-radius: 20px;
  background:
    radial-gradient(70% 120% at 0% 0%, rgba(201, 162, 39, 0.22), transparent 58%),
    linear-gradient(150deg, #22406f 0%, var(--navy-deep) 55%, #0f1c36 100%);
}
.agent::before { border-color: rgba(201, 162, 39, 0.4); border-radius: 14px; }
.agent h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem); letter-spacing: 0; text-transform: none; }
.agent__creds { letter-spacing: 0.14em; }
.agent__tag { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.25rem, 1rem + 0.9vw, 1.7rem); color: rgba(246, 240, 228, 0.95); }
.agent__photo { border: 2px solid rgba(201, 162, 39, 0.8); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35); }
.agent__row dt { letter-spacing: 0.14em; }

/* ---------- Contact ---------- */
.showing__copy h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.4rem); line-height: 1; letter-spacing: 0; text-transform: none; }
.showing__direct { border-radius: 14px; border-color: var(--line-soft); }
.showing__direct b { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; }
.form { border-radius: 18px; border-color: var(--line-soft); box-shadow: var(--shadow-lg); }
.field input, .field textarea { border-color: var(--line); background: #fffdf9; border-radius: 10px; }
.field input:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.2); }
.form__done h3 { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; text-transform: none; letter-spacing: 0; }

/* ---------- Lightbox ---------- */
.lightbox__count { font-family: var(--serif); font-size: 1.05rem; letter-spacing: 0.06em; }
.lightbox__label { font-family: var(--serif); font-style: italic; font-size: 1rem; letter-spacing: 0.01em; text-transform: none; }

/* ---------- Footer ---------- */
.foot h3 { letter-spacing: 0.16em; }

/* head-wrap-fix: let the section head wrap only when the note runs out of room (440-580px overflow) */
.head { flex-wrap: wrap; }
