:root {
  --ink: #1f1f1f;
  --ink-soft: #5a554f;
  --line: #e6e0d7;
  --paper: #f6f3ee;
  --white: #ffffff;
  --accent: #b59173;
  --accent-dark: #9c7a5e;
  --radius: 2px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Gowun Batang", Georgia, serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: "Gowun Batang", Georgia, serif; font-weight: 400; line-height: 1.12; letter-spacing: -0.01em; margin: 0; }
.eyebrow, .nav a, .btn, .tag, .form label, .form input, .form select, .form textarea, .stats, dt { font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent-dark); }

/* Header */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 10; }
.site-header--solid { position: static; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); line-height: 1; }
.logo__mark { display: block; width: auto; height: 46px; flex-shrink: 0; overflow: visible; }
.logo__pin { fill: #c6a060; }
.logo__words { display: flex; flex-direction: column; align-items: center; }
.logo__core { font-family: "Montserrat", "Inter", system-ui, sans-serif; font-weight: 400; font-size: 25px; letter-spacing: 0.3em; margin-right: -0.3em; text-transform: uppercase; }
.logo__living { margin-top: 7px; font-family: "Montserrat", "Inter", system-ui, sans-serif; font-weight: 500; font-size: 9.5px; letter-spacing: 0.72em; margin-right: -0.72em; text-transform: uppercase; color: #c6a060; }
@media (max-width: 749px) {
  .logo { gap: 9px; }
  .logo__mark { height: 38px; }
  .logo__core { font-size: 20px; }
  .logo__living { font-size: 8px; margin-top: 6px; }
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; }
.site-header:not(.site-header--solid) .logo,
.site-header:not(.site-header--solid) .nav a:not(.btn) { color: var(--white); text-shadow: 0 1px 8px rgba(0,0,0,0.35); }

/* Buttons */
.btn { display: inline-block; padding: 16px 30px; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease; }
.btn--accent { background: var(--accent); color: var(--white); }
.btn--accent:hover { background: var(--accent-dark); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--paper); }
.btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--small { padding: 11px 18px; font-size: 11px; }

/* Hero */
.hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; color: var(--white); background: var(--ink); overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,16,22,0.72) 0%, rgba(10,16,22,0.45) 45%, rgba(10,16,22,0.05) 80%), linear-gradient(180deg, rgba(10,16,22,0.35) 0%, rgba(10,16,22,0) 30%, rgba(10,16,22,0.55) 100%); }
.hero__inner { position: relative; z-index: 1; width: 100%; padding-bottom: 72px; }
.hero .eyebrow { color: #eadccd; text-shadow: 0 1px 8px rgba(0,0,0,0.4); }
.hero h1, .hero p { text-shadow: 0 2px 16px rgba(0,0,0,0.35); }
.hero h1 { max-width: 780px; font-size: clamp(42px, 6.4vw, 80px); line-height: 1.05; }
.hero p { max-width: 560px; margin: 20px 0 32px; font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,0.9); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
.section { padding: 96px 0; }
.section--white { background: var(--white); }
.section h2 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 16px; }
.lead { max-width: 640px; margin: 0 0 48px; font-size: 18px; color: var(--ink-soft); }

/* Listing card */
.listing { display: grid; grid-template-columns: 1.3fr 1fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: box-shadow 200ms ease; }
.listing:hover { box-shadow: 0 18px 40px rgba(24,34,43,0.12); }
.listing__img { position: relative; min-height: 380px; }
.listing__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; top: 18px; left: 18px; z-index: 1; padding: 7px 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; background: rgba(255,255,255,0.94); color: var(--ink); border-radius: var(--radius); }
.listing__body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.listing__body h3 { font-size: 34px; margin-bottom: 6px; }
.listing__where { margin: 0 0 22px; color: var(--ink-soft); }
.stats { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0 0 22px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); list-style: none; }
.stats li { font-size: 15px; }
.stats strong { display: block; font-family: "Gowun Batang", Georgia, serif; font-size: 24px; font-weight: 400; }
.price { margin: 0 0 24px; font-size: 16px; color: var(--ink-soft); }
.price strong { font-family: "Gowun Batang", Georgia, serif; font-size: 30px; font-weight: 400; color: var(--ink); }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.feature svg { width: 30px; height: 30px; color: var(--accent-dark); margin-bottom: 14px; }
.feature h3 { font-family: "Gowun Batang", Georgia, serif; font-size: 21px; font-weight: 400; letter-spacing: 0; margin-bottom: 6px; }
.feature p { margin: 0; font-size: 15px; color: var(--ink-soft); }

/* Form */
.book { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.book__note { margin: 24px 0 0; padding: 20px 22px; background: var(--paper); border-left: 3px solid var(--accent); font-size: 15px; color: var(--ink-soft); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; letter-spacing: 0.03em; }
.form input, .form select, .form textarea { width: 100%; padding: 13px 14px; font: inherit; font-size: 16px; color: var(--ink); background: var(--white); border: 1px solid #d6cec3; border-radius: var(--radius); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form textarea { min-height: 120px; resize: vertical; }
.form .btn { justify-self: start; }
.hidden { position: absolute; left: -9999px; }

/* Property page */
.prop-head { padding-top: 56px; padding-bottom: 32px; }
.prop-head h1 { font-size: clamp(38px, 5vw, 64px); margin-bottom: 8px; }
.prop-head__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 8px; }
.gallery button { position: relative; padding: 0; border: 0; overflow: hidden; cursor: zoom-in; background: #ddd; border-radius: var(--radius); }
.gallery button img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.gallery button:hover img { transform: scale(1.03); }
.gallery button:first-child { grid-row: 1 / span 2; }
.gallery__all { display: none; margin-top: 12px; }
.gallery__more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(24,34,43,0.55); color: var(--white); font-weight: 700; font-size: 16px; }
.prop-body { display: grid; grid-template-columns: 1.6fr 1fr; gap: 64px; padding-top: 64px; padding-bottom: 96px; align-items: start; }
.prop-body h2 { font-size: 32px; margin: 0 0 16px; }
.prop-body p { color: var(--ink-soft); }
.checks { columns: 2; gap: 32px; margin: 0 0 40px; padding: 0; list-style: none; }
.checks li { break-inside: avoid; position: relative; padding: 8px 0 8px 28px; border-bottom: 1px solid var(--line); font-size: 16px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 7px; border-left: 2px solid var(--accent-dark); border-bottom: 2px solid var(--accent-dark); transform: rotate(-45deg); }
.facts { position: sticky; top: 24px; padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.facts dl { margin: 0 0 24px; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts dt { color: var(--ink-soft); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }
.facts .btn { width: 100%; text-align: center; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; background: rgba(10,14,18,0.94); }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 84vh; object-fit: contain; }
.lightbox__btn { position: absolute; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,0.12); color: var(--white); font-size: 26px; cursor: pointer; }
.lightbox__btn:hover { background: rgba(255,255,255,0.25); }
.lightbox__prev { left: 20px; top: 50%; margin-top: -24px; }
.lightbox__next { right: 20px; top: 50%; margin-top: -24px; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__count { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,0.75); font-size: 14px; }

/* Footer */
.site-footer { padding: 48px 0; background: var(--ink); color: rgba(255,255,255,0.75); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer .logo { color: #fbf8f2; }
.site-footer .logo__mark { height: 40px; }
.site-footer .logo__core { font-size: 21px; }

@media (max-width: 989px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .book, .prop-body { grid-template-columns: 1fr; gap: 40px; }
  .facts { position: static; }
  .listing { grid-template-columns: 1fr; }
  .listing__img { min-height: 0; aspect-ratio: 3 / 2; }
}
@media (max-width: 749px) {
  .hero::after { background: linear-gradient(180deg, rgba(10,16,22,0.35) 0%, rgba(10,16,22,0.2) 35%, rgba(10,16,22,0.85) 100%); }
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav a:not(.btn) { display: none; }
  .section { padding: 64px 0; }
  .hero { min-height: 86vh; }
  .hero__inner { padding-bottom: 48px; }
  .hero__actions .btn { flex: 1 1 100%; text-align: center; }
  .listing__body { padding: 26px 22px; }
  .features { grid-template-columns: 1fr; gap: 24px; }
  .form { grid-template-columns: 1fr; }
  .form .btn { width: 100%; text-align: center; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 120px; }
  .gallery button:first-child { grid-column: 1 / -1; grid-row: auto; }
  .gallery button:nth-child(n+4) { display: none; }
  .gallery__all { display: block; width: 100%; }
  .prop-body { padding-top: 40px; }
  .checks { columns: 1; }
  .prop-head { padding-top: 36px; padding-bottom: 24px; }
}

/* SEO + FAQ */
.seo { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
.seo p { margin: 0 0 16px; color: var(--ink-soft); }
.faq { max-width: 860px; }
.faq h2 { margin-bottom: 32px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-of-type { border-top: 1px solid var(--line); }
.faq__item summary { position: relative; padding: 20px 40px 20px 0; font-weight: 600; font-size: 17px; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 24px; color: var(--accent-dark); }
.faq__item[open] summary::after { content: "\2013"; }
.faq__item p { margin: 0; padding: 0 40px 20px 0; color: var(--ink-soft); }
@media (max-width: 989px) { .seo { grid-template-columns: 1fr; gap: 8px; } }
.listings { display: grid; gap: 28px; }

/* Video */
.video { padding-top: 56px; }
.video__frame { position: relative; aspect-ratio: 16 / 9; background: var(--ink); border-radius: var(--radius); overflow: hidden; }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 749px) { .video { padding-top: 36px; } }
.listings { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.listings .listing { grid-template-columns: 1fr; }
.listings .listing__img { min-height: 0; aspect-ratio: 3 / 2; }
.listings .listing__body { padding: 28px 28px 30px; }
.listings .listing__body h3 { font-size: 30px; }
.listings .listing .btn { text-align: center; }
@media (max-width: 749px) { .listings { grid-template-columns: 1fr; } .listings .listing__body { padding: 24px 20px; } }

/* Location */
.location__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: center; }
.location__grid h2 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 12px; }
.location__grid p { color: var(--ink-soft); margin: 0 0 24px; }
.map { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: #e8e4dc; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 989px) { .location__grid { grid-template-columns: 1fr; gap: 28px; } }

.media-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; padding-top: 48px; }
.media-row .video { padding-top: 0; }

@media (min-width: 990px) { .listings { grid-template-columns: repeat(2, 1fr); } }
.listings .listing__img { aspect-ratio: 16 / 10; }

/* Leased and urgency */
.listing--leased .listing__img img { filter: grayscale(0.35) brightness(0.92); }
.listing--leased .tag { background: var(--ink); color: var(--white); }
.urgency { display: inline-block; margin: 0 0 28px; padding: 12px 18px; font-size: 15px; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); color: var(--ink-soft); }
.urgency strong { color: var(--ink); font-weight: 700; }
.facts__urgent { margin: 14px 0 0; font-size: 14px; text-align: center; color: var(--accent-dark); }

/* Phone callouts */
.book__call { margin: 18px 0 0; font-size: 18px; color: var(--ink); }
.book__call a { font-weight: 700; color: var(--accent-dark); text-decoration: none; white-space: nowrap; }
.book__call a:hover { text-decoration: underline; }
.facts__call { display: block; margin: 12px 0 0; text-align: center; font-family: "Inter", system-ui, sans-serif; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; }
.facts__call:hover { color: var(--accent-dark); }
.site-footer a { color: inherit; white-space: nowrap; }
.site-header:not(.site-header--solid) .logo__mark { filter: drop-shadow(0 1px 6px rgba(0,0,0,0.35)); }
