/* =====================================================================
   Tung Nguyen Real Estate — global styles
   ===================================================================== */

:root {
  --bg:          #ffffff;     /* clean white */
  --bg-card:    #ffffff;
  --bg-deep:    #f4f1ea;      /* very soft warm panel */
  --ink:        #0e1014;      /* near-black */
  --ink-2:      #2e333a;
  --muted:      #7b818b;
  --rule:       #e6e3da;
  --accent:     #1c4c3c;      /* deep emerald — distinct, premium */
  --accent-2:   #8a6f43;      /* warm bronze for sparing use */
  --hot:        #b14a2a;      /* active listing red-orange */
  --serif: "DM Serif Display", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --script: "Allura", "DM Serif Display", cursive;
  --sans:  "DM Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono:  "JetBrains Mono", "SF Mono", ui-monospace, Menlo, monospace;
  --maxw: 1280px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

p { margin: 0 0 1em; }

/* ---------- typography ---------- */

.serif { font-family: var(--serif); font-weight: 400; }
.mono  { font-family: var(--mono); }
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

h1, h2, h3 { font-family: "Outfit", var(--sans); font-weight: 300; font-style: normal; letter-spacing: -0.005em; line-height: 1.1; margin: 0 0 0.4em; }
h1 { font-size: clamp(44px, 6.5vw, 96px); }
h2 { font-size: clamp(32px, 4.2vw, 56px); }
h3 { font-size: clamp(22px, 2.4vw, 30px); }

.lede { font-family: "Outfit", var(--sans); font-weight: 300; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.45; color: var(--ink-2); font-style: normal; max-width: 38em; }

/* ---------- layout primitives ---------- */

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
@media (max-width: 900px) { .container { padding: 0 20px; } }

.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }

section { padding: 96px 0; }
section.tight { padding: 56px 0; }
@media (max-width: 900px) { section { padding: 64px 0; } }

/* ---------- header ---------- */

.site-header {
  position: relative;
  background: var(--bg);
  padding: 4px 0 8px;
  border-bottom: 0;
}
.site-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1;
  gap: 0;
}
.brand__logo {
  display: block;
  height: clamp(200px, 22vw, 320px);
  width: auto;
  max-width: 960px;
  object-fit: contain;
  margin: -56px 0 -104px;
}
.brand__name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(36px, 4.4vw, 52px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
  white-space: nowrap;
}
.brand__sub {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 0;
  font-weight: 500;
}
.nav {
  margin-top: 3px;
  display: flex;
  justify-content: center;
  gap: 36px;
  font-size: 14px;
  font-family: var(--sans);
  letter-spacing: 0.01em;
  font-weight: 500;
  flex-wrap: wrap;
}
.nav a {
  color: var(--accent);
  padding: 4px 0;
  position: relative;
  text-transform: none;
}
.nav a.is-current {
  border-bottom: 2px solid var(--accent);
}
.nav a:hover { color: var(--ink); }

.header-cta-corner {
  position: absolute;
  top: 32px;
  right: 32px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 0;
  cursor: pointer;
  transition: background 0.18s, transform 0.18s;
}
.header-cta-corner:hover { background: var(--ink); color: #fff; }

.header-phone-corner {
  position: absolute;
  top: 44px;
  left: 32px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink);
  font-weight: 500;
}
.header-phone-corner:hover { color: var(--accent); }

/* 760px block absorbed into the ≤900px mobile block below */

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn--filled { background: var(--ink); color: var(--bg); }
.btn--filled:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.btn--accent:hover { background: var(--ink); border-color: var(--ink); }
.btn--ghost { border-color: var(--rule); color: var(--ink-2); }
.btn--ghost:hover { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn--sm { padding: 10px 16px; font-size: 11px; }
.btn--block { display: flex; justify-content: center; width: 100%; }

.arrow { display: inline-block; transform: translateY(-1px); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: calc(100vh - 220px);
  display: grid;
  grid-template-rows: 1fr;
  padding: 0;
  overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0;
  background: var(--bg-deep);
  overflow: hidden;
}
.hero__media img,
.hero__media .placeholder {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.25) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  align-self: center;
  justify-self: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 32px;
  width: 100%;
  text-align: center;
  color: #ffffff;
}
.hero h1 {
  font-family: "Outfit", var(--sans);
  font-style: normal;
  font-size: clamp(40px, 6.5vw, 92px);
  font-weight: 300;
  letter-spacing: -0.005em;
  line-height: 1.05;
  margin: 16px auto 24px;
  max-width: 22ch;
  text-shadow: 0 2px 32px rgba(0,0,0,0.65), 0 1px 4px rgba(0,0,0,0.5);
}
.hero .eyebrow {
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.32em;
  text-shadow: 0 1px 12px rgba(0,0,0,0.55);
}
.hero .lede {
  color: rgba(255, 255, 255, 0.98);
  font-style: normal;
  max-width: 38em;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 18px rgba(0,0,0,0.6), 0 1px 4px rgba(0,0,0,0.5);
}
.hero__actions {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero__actions .btn {
  border-color: rgba(255, 255, 255, 0.75);
  color: #ffffff;
  background: transparent;
}
.hero__actions .btn:hover { background: #ffffff; color: var(--ink); }
.hero__actions .btn--accent {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  border-radius: 999px;
  padding: 16px 32px;
}
.hero__actions .btn--accent:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- section header ---------- */

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 56px;
}
.section-head__num { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.18em; }
.section-head h2 { margin-top: 12px; max-width: 14ch; }
.section-head__copy { max-width: 38em; padding-bottom: 8px; }
.section-head__copy p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }
}

/* ---------- listing cards ---------- */

.listings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px 40px;
}
@media (max-width: 800px) { .listings-grid { grid-template-columns: 1fr; gap: 48px; } }

.listing {
  display: flex;
  flex-direction: column;
}
.listing__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-deep);
  overflow: hidden;
  margin-bottom: 24px;
}
.listing__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.listing:hover .listing__media img { transform: scale(1.03); }

.listing__status {
  position: absolute;
  top: 16px; left: 16px;
  padding: 6px 12px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
}
.listing__status--active { background: var(--hot); color: #fff; }
.listing__status--coming-soon { background: #6b4fa0; color: #fff; }
.listing__status--sold { background: var(--ink); color: #fff; }
.listing__status--pending { background: var(--accent-2); color: #fff; }
.listing__status--withdrawn { background: var(--muted); color: #fff; }

.listing__price {
  font-family: "Outfit", var(--sans);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.listing__price .sold-for { display: block; font-size: 13px; font-family: var(--sans); color: var(--accent); letter-spacing: 0.06em; margin-top: 4px; font-weight: 600; }
.listing__price .original { color: var(--muted); font-size: 16px; text-decoration: line-through; margin-left: 10px; font-family: var(--sans); }

.listing__addr {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  margin-bottom: 18px;
}
.listing__stats {
  display: flex;
  gap: 0;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 20px;
}
.listing__stat {
  flex: 1;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-2);
  border-right: 1px solid var(--rule);
  padding-right: 12px;
}
.listing__stat:last-child { border-right: 0; padding-left: 12px; }
.listing__stat strong { display: block; color: var(--ink); font-size: 18px; font-family: "Outfit", var(--sans); font-weight: 500; margin-bottom: 2px; }
.listing__stat span { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

.listing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.listing__actions .btn { flex: 1 1 auto; min-width: 0; }
.listing__mls {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-top: 16px;
}

/* ---------- image placeholder ---------- */

.placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background:
    repeating-linear-gradient(
      135deg,
      var(--bg-deep) 0,
      var(--bg-deep) 10px,
      #e2dcca 10px,
      #e2dcca 20px
    );
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  padding: 16px;
}
.placeholder span { background: var(--bg); padding: 6px 14px; border: 1px solid var(--rule); }

/* ---------- featured (split) card ---------- */

.featured {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 56px;
  align-items: center;
}
.featured__media { aspect-ratio: 4 / 3; background: var(--bg-deep); overflow: hidden; position: relative; }
.featured__media img { width: 100%; height: 100%; object-fit: cover; }
.featured__meta .eyebrow { display: block; margin-bottom: 24px; }
.featured__price { font-family: "Outfit", var(--sans); font-weight: 300; font-size: clamp(38px, 4vw, 56px); line-height: 1; margin-bottom: 12px; }
.featured__addr { font-family: "Outfit", var(--sans); font-weight: 400; font-size: 22px; color: var(--ink-2); margin-bottom: 28px; max-width: 24ch; }
@media (max-width: 900px) { .featured { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- about strip ---------- */

.about-strip {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 72px;
  align-items: center;
}
.about-strip__photo {
  aspect-ratio: 4 / 5;
  background: var(--bg-deep);
  overflow: hidden;
}
.about-strip__photo img { width: 100%; height: 100%; object-fit: cover; }
.about-strip h2 { margin-top: 16px; max-width: 16ch; }
.about-strip__body p { color: var(--ink-2); font-size: 17px; line-height: 1.65; }
@media (max-width: 900px) { .about-strip { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- stats row ---------- */

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stats-row__item {
  padding: 36px 28px;
  border-right: 1px solid var(--rule);
}
.stats-row__item:last-child { border-right: 0; }
.stats-row__num { font-family: "Outfit", var(--sans); font-weight: 300; font-size: 52px; line-height: 1; margin-bottom: 8px; }
.stats-row__label { font-family: var(--sans); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 800px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stats-row__item:nth-child(2) { border-right: 0; }
  .stats-row__item:nth-child(1), .stats-row__item:nth-child(2) { border-bottom: 1px solid var(--rule); }
}

/* ---------- testimonial / quote ---------- */

.quote {
  font-family: "Outfit", var(--sans);
  font-weight: 300;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: 22ch;
  margin: 0 auto;
  text-align: center;
  font-style: italic;
}
.quote::before { content: "\201C"; display: block; font-size: 1.2em; color: var(--accent); line-height: 0.5; margin-bottom: 0.2em; }

/* ---------- contact band ---------- */

.contact-band {
  background: var(--ink);
  color: var(--bg);
  padding: 96px 32px;
}
.contact-band .container { padding: 0; }
.contact-band h2 { color: var(--bg); max-width: 16ch; }
.contact-band a { color: var(--bg); }
.contact-band__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: end;
}
.contact-band__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.contact-band__details .label { font-family: var(--sans); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(247,243,236,0.55); margin-bottom: 6px; display: block; }
.contact-band__details .val { font-family: "Outfit", var(--sans); font-weight: 400; font-size: 22px; }
@media (max-width: 800px) { .contact-band__grid, .contact-band__details { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- footer ---------- */

.site-footer {
  background: var(--bg);
  padding: 56px 32px 36px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  color: var(--muted);
}
.site-footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.site-footer .brand { color: var(--ink); display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.site-footer .brand__logo { height: clamp(140px, 15vw, 180px); margin: -26px 0 -50px; }
.site-footer .brand__sub { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 0; }
.site-footer .brand + p { margin-top: 16px; }
.site-footer h4 { font-family: var(--sans); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink); margin: 0 0 14px; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--ink-2); }
.site-footer__legal {
  max-width: var(--maxw);
  margin: 36px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
}
.footer-admin {
  margin-left: 14px;
  opacity: 0.45;
  text-decoration: none;
  border-left: 1px solid var(--rule);
  padding-left: 14px;
  transition: opacity 0.15s ease, color 0.15s ease;
}
.footer-admin:hover { opacity: 1; color: var(--accent); }
@media (max-width: 700px) { .site-footer__inner { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- page hero (sub-pages) ---------- */

.page-hero {
  padding: 96px 0 56px;
  border-bottom: 1px solid var(--rule);
}
.page-hero__num { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.18em; }
.page-hero h1 { font-size: clamp(48px, 7vw, 96px); margin: 12px 0 20px; max-width: 14ch; }
.page-hero p { color: var(--ink-2); max-width: 50ch; font-size: 17px; }

/* ---------- filter chips ---------- */

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.chip {
  padding: 10px 18px;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip__count { color: var(--muted); margin-left: 6px; }
.chip.is-active .chip__count { color: rgba(247,243,236,0.6); }

/* ---------- contact form ---------- */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 24px;
}
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--sans); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input,
.field textarea,
.field select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 10px 0;
  font-family: "Outfit", var(--sans);
  font-weight: 400;
  font-size: 20px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); }
.field textarea { min-height: 120px; resize: vertical; font-family: var(--sans); font-size: 15px; line-height: 1.5; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- two-column rhythm ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; gap: 36px; } }

/* small utilities */
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mt-6 { margin-top: 48px; }
.mt-8 { margin-top: 64px; }
.text-muted { color: var(--muted); }
.uppercase { text-transform: uppercase; letter-spacing: 0.18em; font-size: 11px; }

/* ---------- about page (centered hero portrait + bio) ---------- */

.about-page {
  padding: 64px 0 96px;
  text-align: center;
}
.about-portrait {
  max-width: 540px;
  margin: 0 auto 56px;
}
.about-portrait img,
.about-portrait .placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 25%;
}
.about-intro {
  max-width: 64ch;
  margin: 0 auto;
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink);
}
.about-intro + .about-cta { margin-top: 36px; }
.about-cta {
  display: inline-flex;
  padding: 16px 36px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.18s;
}
.about-cta:hover { background: var(--ink); color: #fff; }

.about-lifestyle {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 80px;
}
.about-lifestyle__item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-deep);
}
.about-lifestyle__item img,
.about-lifestyle__item .placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 800px) {
  .about-lifestyle { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

.about-bio {
  max-width: 720px;
  margin: 0 auto;
  padding: 96px 0;
}
.about-bio__headline {
  font-family: var(--sans);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 56px;
  letter-spacing: -0.01em;
}
.about-bio p {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 24px;
}
@media (max-width: 800px) {
  .about-bio { padding: 56px 0; }
}

/* ── About page credentials ──────────────────────────────────────── */
.about-credentials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 56px;
  padding: 56px 0 24px;
}
.about-cred-section .eyebrow {
  display: block;
  margin-bottom: 16px;
  color: var(--accent);
}
.about-cred-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.about-cred-list li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  padding: 6px 0 6px 18px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.about-cred-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
@media (max-width: 720px) {
  .about-credentials { grid-template-columns: 1fr; gap: 32px; }
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.testimonial-card {
  background: #fff;
  padding: 40px 32px;
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
}
.testimonial-card__quote {
  font-family: "Outfit", var(--sans);
  font-weight: 300;
  font-style: normal;
  font-size: 20px;
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 24px;
}
.testimonial-card__quote::before {
  content: "\201C";
  display: block;
  font-family: "Outfit", var(--sans);
  font-weight: 300;
  font-size: 48px;
  color: var(--accent);
  line-height: 0.5;
  margin-bottom: 16px;
}
.testimonial-card__author {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: auto;
  font-weight: 600;
}
@media (max-width: 800px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* ── Testimonials Carousel ─────────────────────────────────── */
.testimonials-carousel { display: flex; align-items: center; gap: 20px; max-width: 860px; margin: 0 auto; }
.tc-track-wrap { overflow: hidden; flex: 1; }
.tc-track { display: flex; transition: transform 0.45s cubic-bezier(0.4,0,0.2,1); align-items: flex-start; }
.tc-slide { flex: 0 0 100%; box-sizing: border-box; }
.tc-track-wrap { transition: height 0.45s cubic-bezier(0.4,0,0.2,1) !important; }
.tc-btn {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid rgba(245,239,226,0.35); background: transparent;
  color: #f5efe2; font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.tc-btn:hover { background: rgba(245,239,226,0.12); border-color: rgba(245,239,226,0.65); }
.tc-counter { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: rgba(245,239,226,0.45); }
@media (max-width: 600px) {
  .tc-btn { width: 36px; height: 36px; font-size: 16px; }
  .testimonials-carousel { gap: 10px; }
}

/* ---------- process steps (Buying / Selling pages) ---------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}
@media (max-width: 800px) { .process-grid { grid-template-columns: 1fr; } }

.process-step {
  display: flex;
  flex-direction: column;
}
.process-step__num {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}
.process-step h3 {
  font-family: "Outfit", var(--sans);
  font-size: 26px;
  font-weight: 400;
  margin: 0 0 12px;
  line-height: 1.2;
}
.process-step p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
}

/* ---------- check list (Buying / Selling features) ---------- */

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  padding-left: 28px;
  position: relative;
  line-height: 1.5;
}
.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ---------- split (text + image) section ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
.split__copy h2.serif {
  font-family: "Outfit", var(--sans);
  font-style: normal;
  font-weight: 300;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--ink-2);
  margin: 0 0 28px;
}
.split__copy h2 em,
.split__copy h2 .lede-line {
  font-family: var(--sans);
  font-style: normal;
}
.split__copy .kicker {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 13px;
  color: var(--accent);
  margin: 0 0 20px;
  line-height: 1.4;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.split__copy p {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 18px;
}
.split__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-deep);
}
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse { direction: ltr; }
  .split__media { aspect-ratio: 4 / 3; }
}

/* ---------- big image CTA banner ---------- */

.cta-banner {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.cta-banner__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.cta-banner::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.30) 100%);
  z-index: 1;
}
.cta-banner__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 24px;
  color: #fff;
}
.cta-banner__inner h2 {
  font-family: "Outfit", var(--sans);
  font-style: normal;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  letter-spacing: -0.005em;
  margin: 0 0 32px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.5);
}
.cta-banner__btn {
  display: inline-block;
  background: #fff;
  color: var(--ink);
  padding: 18px 56px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background 0.18s, color 0.18s;
}
.cta-banner__btn:hover { background: var(--accent); color: #fff; }

/* ---------- single testimonial highlight ---------- */

.testimonial-highlight {
  padding: 96px 0;
}
.testimonial-highlight h2 {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 44px);
  margin: 0 0 32px;
  letter-spacing: -0.005em;
}
.testimonial-highlight__rule {
  height: 1px;
  background: rgba(255,255,255,0.4);
  margin: 0 0 40px;
  max-width: 720px;
}
.testimonial-highlight__quote {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  max-width: 720px;
  margin: 0 0 24px;
}
.testimonial-highlight__author {
  font-family: var(--sans);
  font-style: italic;
  font-size: 16px;
  opacity: 0.85;
}

/* ---------- contact page (hero + portrait + form) ---------- */

.contact-hero {
  position: relative;
  height: clamp(420px, 60vh, 620px);
  overflow: hidden;
}
.contact-hero__media {
  position: absolute; inset: 0;
}
.contact-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.contact-hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.32) 100%);
}
.contact-hero__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 32px;
}
.contact-hero__inner h1 {
  font-family: "Outfit", var(--sans);
  font-weight: 200;
  font-size: clamp(44px, 7vw, 96px);
  letter-spacing: -0.01em;
  line-height: 1;
  margin: 0 0 24px;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.45);
}
.contact-hero__inner p {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(16px, 1.6vw, 20px);
  max-width: 64ch;
  margin: 0;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 2px 14px rgba(0,0,0,0.55);
}

.contact-body {
  padding: 96px 0 120px;
}
.contact-body__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: start;
}
.contact-body__photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}
.contact-body__main h2 {
  font-family: "Outfit", var(--sans);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0 0 32px;
  color: var(--ink);
}
.contact-body__details p {
  font-family: var(--sans);
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--ink);
}
.contact-body__details a {
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s;
}
.contact-body__details a:hover { border-bottom-color: var(--accent); color: var(--accent); }
.contact-body__rule {
  height: 1px;
  background: var(--accent);
  margin: 32px 0 40px;
  opacity: 0.5;
}

.contact-form {
  display: grid;
  gap: 28px;
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-form__field label {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.contact-form__field .req {
  font-weight: 400;
  color: var(--muted);
  font-size: 13px;
  margin-left: 4px;
}
.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  font-family: var(--sans);
  font-size: 16px;
  padding: 16px 20px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: rgba(166, 192, 224, 0.35);
  color: var(--ink);
  outline: none;
  transition: background 0.15s, border-color 0.15s;
}
.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  background: rgba(166, 192, 224, 0.55);
  border-color: var(--accent);
}
.contact-form__field textarea {
  border-radius: 24px;
  min-height: 140px;
  resize: vertical;
  font-family: var(--sans);
}
.contact-form__submit {
  align-self: flex-start;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 16px 56px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.18s;
  margin-top: 12px;
}
.contact-form__submit:hover { background: var(--ink); }
.contact-form__status {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 12px 0 0;
}

@media (max-width: 800px) {
  .contact-body { padding: 56px 0 80px; }
  .contact-body__grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form__row { grid-template-columns: 1fr; }
}

.page-banner {
  background: var(--bg-deep);
  color: var(--ink);
  padding: 120px 0 110px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner__eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 20px;
  display: block;
}
.page-banner h1 {
  font-family: "Outfit", var(--sans);
  font-style: normal;
  font-weight: 300;
  font-size: clamp(36px, 4.5vw, 60px);
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
  line-height: 1.1;
}
.page-banner__sub {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  color: var(--muted);
  max-width: 52ch;
  margin: 24px auto 0;
  line-height: 1.55;
}
@media (max-width: 800px) {
  .page-banner { padding: 80px 0 72px; }
  .page-banner::before, .page-banner::after { display: none; }
}

.region-banner {
  background: transparent;
  color: var(--ink);
  padding: 96px 0 16px;
  margin: 0;
  text-align: center;
}
.region-banner__inner {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.region-banner__eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.region-banner h2 {
  font-family: "Outfit", var(--sans);
  font-style: normal;
  font-weight: 300;
  font-size: clamp(32px, 4.4vw, 56px);
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
  line-height: 1.05;
}
.region-banner__count {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
}
.region-banner__rule {
  width: 48px;
  height: 1px;
  background: var(--ink);
  opacity: 0.3;
  margin: 8px auto 0;
}

.region-listings {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px 48px;
  padding: 80px 0;
}
@media (max-width: 800px) { .region-listings { grid-template-columns: 1fr; padding: 48px 0; gap: 48px; } }

.listing-card {
  display: flex;
  flex-direction: column;
  text-align: center;
}
.listing-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-deep);
  margin-bottom: 28px;
  position: relative;
}
.listing-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.listing-card:hover .listing-card__media img { transform: scale(1.03); }
.listing-card__video,
.listing-card__map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.listing-card__video { pointer-events: none; /* the overlay handles clicks */ }
/* Multi-photo gallery on listing cards — fills the listing-card__media area */
.listing-gallery { position: absolute; inset: 0; overflow: hidden; }
.listing-gallery .ab-gallery__track { height: 100%; }
.listing-gallery .ab-gallery__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.listing-card:hover .listing-gallery .ab-gallery__track img { transform: scale(1.03); }

/* YouTube thumbnail facade — replaces autoplay iframe on page load */
.yt-facade { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-facade__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: transparent;
  transition: background 0.2s ease;
  z-index: 2;
}
.yt-facade__play::after {
  content: "";
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(28, 76, 60, 0.92);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23fff' d='M8 5v14l11-7z'/></svg>");
  background-size: 28px 28px;
  background-position: 56% 50%;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: scale(0.92);
  box-shadow: 0 8px 28px rgba(0,0,0,0.3);
}
.listing-card:hover .yt-facade__play { background: rgba(0,0,0,0.22); }
.listing-card:hover .yt-facade__play::after { opacity: 1; transform: scale(1); }
.listing-card__video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: transparent;
  transition: background 0.2s ease;
}
.listing-card__video-overlay::after {
  content: "";
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(28, 76, 60, 0.92);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23fff' d='M8 5v14l11-7z'/></svg>");
  background-size: 28px 28px;
  background-position: 56% 50%;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: scale(0.92);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}
.listing-card:hover .listing-card__video-overlay { background: rgba(0, 0, 0, 0.22); }
.listing-card:hover .listing-card__video-overlay::after { opacity: 1; transform: scale(1); }
.listing-card__nopic {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  background: linear-gradient(135deg, #f4f1ea 0%, #e8e1d2 60%, #d8cdb6 100%);
  color: var(--accent);
}
.listing-card__nopic-icon svg { width: 88px; height: 88px; opacity: 0.55; }
.listing-card__nopic-addr {
  font-family: "Outfit", var(--sans);
  font-weight: 300;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-top: 18px;
  color: var(--ink);
}
.listing-card__nopic-type {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}
.listing-card__status {
  position: absolute;
  top: 16px; left: 16px;
  padding: 6px 14px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  background: var(--bg);
  color: var(--ink);
}
.listing-card__status--active { background: var(--hot); color: #fff; }
.listing-card__status--coming-soon { background: #6b4fa0; color: #fff; }
.listing-card__status--sold { background: var(--ink); color: #fff; }
.listing-card__status--pending { background: var(--accent-2); color: #fff; }
.listing-card__status--withdrawn { background: var(--muted); color: #fff; }
.listing-card__addr1 {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 24px;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.2;
}
.listing-card__addr2 {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 24px;
  color: var(--ink);
  margin: 0 0 18px;
  line-height: 1.2;
}
.listing-card__stats {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  margin: 0 0 6px;
}
.listing-card__price {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  margin: 0 0 18px;
}
.listing-card__price strong { font-weight: 700; }
.listing-card__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: -8px 0 16px;
}
.listing-card__mls {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
  margin: 6px 0 14px;
}
.listing-card__more {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  display: inline-block;
  padding-bottom: 1px;
  align-self: center;
}
.listing-card__more:hover { color: var(--ink); border-color: var(--ink); }

.listing-card__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 12px;
}
.listing-card__actions a {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-2);
  padding: 8px 14px;
  border: 1px solid var(--rule);
  transition: all 0.15s;
}
.listing-card__actions a:hover {
  border-color: var(--ink);
  color: var(--ink);
}


.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-deep);
  display: block;
  color: inherit;
}
.service-card img,
.service-card .placeholder {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover img { transform: scale(1.04); }
.service-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.55) 100%);
}
.service-card__label {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 2;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 500;
  white-space: nowrap;
}
.service-card__body {
  position: absolute;
  inset: auto 24px 76px 24px;
  z-index: 2;
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s;
  font-size: 14px;
  line-height: 1.5;
  text-shadow: 0 2px 14px rgba(0,0,0,0.6);
}
.service-card:hover .service-card__body { opacity: 1; transform: translateY(0); }
@media (max-width: 800px) { .services-grid { grid-template-columns: 1fr; } .service-card { aspect-ratio: 4/3; } }

/* ---------- inline home-page form panel ---------- */

.form-panel {
  background: var(--accent);
  color: #fff;
  padding: 96px 0;
}
.form-panel h2 { color: #fff; max-width: 14ch; }
.form-panel .lede { color: rgba(255,255,255,0.85); font-style: normal; }
.form-panel .form-grid label { color: rgba(255,255,255,0.7); }
.form-panel .form-grid input,
.form-panel .form-grid textarea,
.form-panel .form-grid select {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.3);
  background: transparent;
}
.form-panel .form-grid input::placeholder,
.form-panel .form-grid textarea::placeholder { color: rgba(255,255,255,0.4); }
.form-panel .form-grid input:focus,
.form-panel .form-grid textarea:focus { border-bottom-color: #fff; }
.form-panel .btn--filled { background: #fff; color: var(--accent); border-color: #fff; border-radius: 999px; }
.form-panel .btn--filled:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.form-panel__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 72px;
}
@media (max-width: 800px) { .form-panel__grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- video lightbox ---------- */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(14, 16, 20, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.18s ease;
}
.video-modal.is-open {
  display: flex;
  opacity: 1;
}
.video-modal__frame {
  position: relative;
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.video-modal__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-modal__close {
  position: absolute;
  top: -48px;
  right: 0;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  width: 40px;
  height: 40px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.video-modal__close:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
body.video-modal-open { overflow: hidden; }
@media (max-width: 800px) {
  .video-modal { padding: 16px; }
  .video-modal__close { top: -42px; width: 36px; height: 36px; font-size: 18px; }
}

/* ---------- Airbnb property cards ---------- */

.airbnb-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px 48px;
  margin-top: 56px;
}
@media (max-width: 900px) { .airbnb-grid { grid-template-columns: 1fr; gap: 48px; } }

.airbnb-card {
  display: flex;
  flex-direction: column;
}
/* Gallery replaces the old single-image media block */
.ab-gallery {
  aspect-ratio: 4 / 3;
  background: var(--bg-deep);
  overflow: hidden;
  margin-bottom: 24px;
  position: relative;
  border-radius: 4px;
}
.ab-gallery__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.ab-gallery__track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ab-gallery__placeholder {
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 15px;
}
.ab-gal-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.42);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
  z-index: 10;
  padding: 0 0 2px;
  -webkit-user-select: none;
  user-select: none;
}
.ab-gal-btn:hover { background: rgba(0,0,0,0.72); }
.ab-gal-prev { left: 12px; }
.ab-gal-next { right: 12px; }
.ab-gal-dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 7px;
  z-index: 10;
  pointer-events: none;
}
.ab-gal-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: background 0.2s;
}
.ab-gal-dots span.is-active { background: #fff; }
/* Airbnb admin photo grid */
.ab-photos-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; min-height: 40px; }
.ab-thumb { position: relative; width: 80px; height: 80px; border-radius: 6px; overflow: hidden; flex: 0 0 80px; }
.ab-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-thumb-remove { position: absolute; top: 3px; right: 3px; background: rgba(0,0,0,0.6); color: #fff; border: none; border-radius: 50%; width: 20px; height: 20px; font-size: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1; padding: 0; }
.ab-drop-zone { border: 2px dashed #d4cfc9; border-radius: 8px; padding: 16px; text-align: center; font-size: 13px; color: #7b818b; transition: border-color 0.18s, background 0.18s; }
.ab-drop-zone.dz-over { border-color: #1c4c3c; background: #f0f7f4; color: #1c4c3c; }
.ab-upload-label { color: #1c4c3c; text-decoration: underline; cursor: pointer; }
.airbnb-card__name {
  font-family: "Outfit", var(--sans);
  font-weight: 300;
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--ink);
}
.airbnb-card__desc {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.65;
  margin: 0 0 20px;
  flex: 1;
}
.airbnb-card__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FF5A5F;
  color: #fff;
  padding: 14px 32px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  align-self: flex-start;
  transition: background 0.18s;
  text-decoration: none;
}
.airbnb-card__link:hover { background: var(--ink); color: #fff; }
.airbnb-card__link svg { width: 18px; height: 18px; flex-shrink: 0; }

/* =====================================================================
   MOBILE — hamburger nav + compact header  (≤ 640 px)
   ===================================================================== */

/* Hamburger button: hidden globally, shown only on small screens by JS */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border-radius: 4px;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.22s ease, opacity 0.18s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {

  /* Hide the absolute-positioned corner phone + CTA */
  .header-phone-corner,
  .header-cta-corner { display: none !important; }

  /* Header: compact horizontal row */
  .site-header { padding: 0; }
  .site-header__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    min-height: 64px;
  }

  /* Signature logo: smaller + tighter crop on mobile */
  .brand__logo {
    height: 80px;
    margin: -16px 0 -28px;
    max-width: calc(100vw - 72px); /* never crowd the hamburger */
  }

  /* Show hamburger */
  .nav-toggle { display: flex; }

  /* Nav: hidden dropdown on mobile */
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-top: 1px solid var(--rule);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    margin: 0;
    z-index: 200;
  }
  .nav.is-open { display: flex; }
  .nav a {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid var(--rule);
    font-size: 15px;
    letter-spacing: 0.01em;
    color: var(--ink);
    text-align: left;
    transition: background 0.12s, color 0.12s;
  }
  .nav a:last-child { border-bottom: 0; }
  .nav a:hover,
  .nav a:active { background: var(--bg-deep); color: var(--accent); }
  .nav a.is-current { color: var(--accent); }

  /* Footer logo: smaller on mobile */
  .site-footer .brand__logo {
    height: 100px;
    margin: -18px 0 -36px;
  }

  /* Contact band: tighter padding on mobile */
  .contact-band { padding: 64px 20px; }

  /* Page hero: tighter top padding on mobile */
  .page-hero { padding: 56px 0 36px; }

  /* Hero section: tighter padding */
  .hero__inner { padding: 56px 20px; }

  /* Stats row: ensure readable on small screens */
  .stats-row__num { font-size: 38px; }
  .stats-row__item { padding: 28px 16px; }

  /* Listing card address size */
  .listing-card__addr1,
  .listing-card__addr2 { font-size: 20px; }
}
