:root {
  --ink: #0b1118;
  --ink-2: #172231;
  --ink-3: #263647;
  --cream: #f7f1e8;
  --paper: #fffaf2;
  --paper-2: #f3e6d4;
  --gold: #c7923e;
  --gold-2: #f3c66d;
  --copper: #9a6324;
  --sage: #8fa38b;
  --line: rgba(11, 17, 24, 0.13);
  --white: #ffffff;
  --shadow: 0 30px 90px rgba(11, 17, 24, 0.18);
  --soft-shadow: 0 18px 50px rgba(11, 17, 24, 0.09);
  --radius: 30px;
  --radius-sm: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 4%, rgba(243, 198, 109, 0.22), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(143, 163, 139, 0.20), transparent 30%),
    linear-gradient(180deg, #fffaf2 0%, #f3e7d8 44%, #fffaf2 100%);
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(11,17,24,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(11,17,24,0.025) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent 72%);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 58px);
  background: rgba(255, 250, 242, 0.82);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(11,17,24,0.08);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 245px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--paper);
  background: radial-gradient(circle at 28% 24%, var(--gold-2), var(--gold) 44%, #744615 100%);
  font-weight: 900;
  letter-spacing: -0.07em;
  box-shadow: 0 12px 30px rgba(199,146,62,0.32);
}
.brand small, .site-footer span { display: block; color: rgba(11, 17, 24, 0.58); font-size: 12px; margin-top: 2px; }
.nav { display: flex; gap: 22px; font-size: 13px; font-weight: 900; color: rgba(11, 17, 24, 0.70); text-transform: uppercase; letter-spacing: 0.06em; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--gold); }
.header-cta { text-decoration: none; font-weight: 900; font-size: 14px; color: var(--paper); background: var(--ink); border-radius: 999px; padding: 13px 19px; box-shadow: 0 12px 26px rgba(11,17,24,0.18); }

.hero {
  min-height: 87vh;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(390px, 0.75fr);
  gap: clamp(18px, 3vw, 44px);
  padding: clamp(16px, 3.6vw, 58px);
  align-items: stretch;
}
.hero-media { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); min-height: 600px; background: #d9c8b5; isolation: isolate; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.012); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,17,24,0.02), rgba(11,17,24,0.58)); z-index: 1; }
.hero-badge {
  position: absolute;
  left: 24px;
  top: 24px;
  z-index: 2;
  color: var(--paper);
  background: rgba(11, 17, 24, 0.76);
  border: 1px solid rgba(255,255,255,0.26);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  backdrop-filter: blur(12px);
}
.hero-mini-card {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  color: var(--paper);
  background: rgba(11,17,24,0.70);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 22px;
  backdrop-filter: blur(14px);
}
.hero-mini-card span, .hero-mini-card small { color: rgba(255,250,242,0.70); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 900; }
.hero-mini-card strong { font-family: "Playfair Display", Georgia, serif; font-size: 26px; }
.hero-panel {
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 86%, rgba(199,146,62,0.38), transparent 28%),
    linear-gradient(150deg, var(--ink), #121c28 55%, #060a0e);
  color: var(--paper);
  padding: clamp(28px, 4vw, 58px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero-panel:before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,250,242,0.09);
  border-radius: 24px;
  pointer-events: none;
}
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; font-weight: 950; margin: 0 0 12px; }
h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; line-height: 0.98; margin: 0; }
h1 { font-size: clamp(46px, 5.8vw, 92px); letter-spacing: -0.055em; max-width: 820px; }
h2 { font-size: clamp(34px, 4.2vw, 62px); letter-spacing: -0.045em; }
h3 { font-size: 30px; letter-spacing: -0.035em; }
.hero-subhead { color: rgba(255, 250, 242, 0.78); font-size: clamp(17px, 1.8vw, 22px); line-height: 1.58; margin: 24px 0; }
.address-block { border-left: 3px solid var(--gold); padding-left: 16px; font-weight: 900; font-size: 21px; }
.address-block small { display: block; color: rgba(255,250,242,0.64); font-size: 14px; margin-top: 5px; }
.price { font-size: clamp(32px, 4vw, 48px); font-weight: 950; margin: 26px 0; letter-spacing: -0.05em; color: var(--gold-2); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 26px; }
.stat-grid div, .fact-cards div {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.stat-grid strong { display: block; font-size: 27px; letter-spacing: -0.04em; }
.stat-grid span { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,250,242,0.64); font-weight: 900; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  text-decoration: none;
  font-weight: 950;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.button:hover { transform: translateY(-1px); }
.primary { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #241707; box-shadow: 0 12px 28px rgba(199,146,62,0.25); }
.secondary { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.ghost { background: rgba(255,255,255,0.10); color: var(--paper); border: 1px solid rgba(255,255,255,0.18); }
.hero-actions, .agent-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.proof-bar {
  margin: 0 clamp(20px, 4vw, 58px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--soft-shadow);
}
.proof-bar div { background: rgba(255,250,242,0.90); padding: 24px; }
.proof-bar strong { display: block; margin-bottom: 7px; font-size: 18px; }
.proof-bar span, .muted, .rich-copy, .location p, .resource-card span, .agent-note { color: rgba(11,17,24,0.66); line-height: 1.72; }

.section { padding: clamp(58px, 8vw, 116px) clamp(20px, 5vw, 74px); position: relative; }
.split { display: grid; grid-template-columns: 1fr 0.82fr; gap: clamp(26px, 5vw, 82px); align-items: center; }
.reverse { grid-template-columns: 0.9fr 1fr; }
.card, .media-card, .map-card, .agent-card, .lead-form {
  background: rgba(255,250,242,0.90);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}
.highlights-card { padding: 34px; }
.card-label, .mls-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(199,146,62,0.13);
  color: #724813;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  margin-bottom: 16px;
}
ul { padding-left: 18px; }
li { margin: 12px 0; line-height: 1.55; }
.rich-copy p { font-size: 18px; margin: 18px 0 0; }
.section-heading { max-width: 800px; margin-bottom: 30px; }
.centered { margin-left: auto; margin-right: auto; text-align: center; }
.row-heading { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.fact-cards, .resource-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.fact-cards div { background: var(--white); min-height: 116px; }
.fact-cards span { display: block; color: rgba(11,17,24,0.58); font-weight: 950; font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 8px; }
.fact-cards strong { font-size: 22px; letter-spacing: -0.03em; }
.feature-section { background: linear-gradient(180deg, rgba(11,17,24,0.035), rgba(255,250,242,0)); }
.feature-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 11px; margin-top: 28px; }
.feature-pills span { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 12px 15px; font-weight: 900; font-size: 14px; box-shadow: 0 10px 26px rgba(11,17,24,0.06); }

.gallery-section { padding-top: 42px; }
.photo-carousel {
  position: relative;
  border-radius: var(--radius);
  background: rgba(11,17,24,0.96);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.carousel-stage {
  position: relative;
  min-height: clamp(360px, 62vw, 760px);
  background: #060a0f;
  overflow: hidden;
  touch-action: pan-y;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 0.28s ease, transform 0.34s ease;
  pointer-events: none;
}
.carousel-slide.active { opacity: 1; transform: scale(1); pointer-events: auto; }
.carousel-slide img { width: 100%; height: 100%; object-fit: contain; background: #05080c; }
.carousel-arrow {
  position: absolute;
  top: calc(50% - 45px);
  z-index: 4;
  width: 54px;
  height: 72px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,250,242,0.90);
  color: var(--ink);
  font-size: 48px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 14px 38px rgba(0,0,0,0.22);
}
.carousel-prev { left: 18px; }
.carousel-next { right: 18px; }
.carousel-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  color: var(--paper);
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.carousel-meta strong { font-size: 18px; }
.carousel-meta span { color: rgba(255,250,242,0.66); font-weight: 900; }
.carousel-thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 86px;
  gap: 10px;
  overflow-x: auto;
  padding: 0 20px 20px;
  scrollbar-color: rgba(243,198,109,0.8) rgba(255,255,255,0.12);
}
.carousel-thumb {
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(255,255,255,0.08);
  opacity: 0.66;
}
.carousel-thumb.active { opacity: 1; border-color: var(--gold-2); }
.carousel-thumb img { width: 100%; height: 100%; object-fit: cover; }

.video-placeholder { min-height: 430px; border-radius: var(--radius); padding: 36px; color: var(--paper); background: linear-gradient(135deg, rgba(11,17,24,0.92), rgba(23,34,49,0.84)), var(--tour-bg, url('assets/hero-placeholder.svg')) center/cover; display: flex; flex-direction: column; justify-content: end; align-items: flex-start; gap: 16px; overflow: hidden; }
.video-placeholder span { color: var(--gold-2); text-transform: uppercase; letter-spacing: 0.15em; font-weight: 950; font-size: 12px; }
.video-placeholder strong { font-family: "Playfair Display", Georgia, serif; font-size: clamp(34px, 4vw, 52px); line-height: 1; max-width: 590px; }
.video-placeholder p { max-width: 560px; color: rgba(255,250,242,0.74); line-height: 1.7; margin: 0; }
.steps { display: grid; gap: 14px; margin-top: 26px; }
.step-card { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; padding: 18px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 12px 28px rgba(11,17,24,0.06); }
.step-card b { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--gold-2); }
.step-card strong { display: block; margin-bottom: 5px; }
.step-card span { color: rgba(11,17,24,0.62); line-height: 1.55; }

.location { display: grid; grid-template-columns: 1fr 0.65fr; gap: 24px; align-items: stretch; background: rgba(11,17,24,0.035); }
.schools { display: grid; gap: 10px; margin-top: 24px; }
.schools div, .resource-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 17px; }
.schools strong, .resource-card strong { display: block; margin-bottom: 5px; }
.map-card { min-height: 380px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 34px; gap: 12px; background: linear-gradient(160deg, #fffaf2, #ead9c2); }
.map-pin { font-size: 62px; color: var(--gold); }
.resource-card { min-height: 190px; display: flex; flex-direction: column; }
.resource-card a { margin-top: auto; width: 100%; }
.resource-card small { color: rgba(11,17,24,0.48); margin-top: 8px; }

.contact-section { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 22px; align-items: stretch; }
.agent-card { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 30px; align-items: center; }
.agent-card img { border-radius: 24px; background: var(--ink); aspect-ratio: 1; object-fit: cover; }
.agent-actions .button { min-width: 110px; }
.lead-form { padding: 30px; display: grid; gap: 14px; }
.lead-form label { display: grid; gap: 8px; font-weight: 900; }
input, textarea { width: 100%; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; background: var(--white); color: var(--ink); }
input:focus, textarea:focus { outline: 3px solid rgba(199,146,62,0.22); border-color: var(--gold); }
.form-note { color: rgba(11,17,24,0.58); }
.hp-field { display: none !important; }
.form-status { min-height: 22px; font-weight: 900; color: rgba(11,17,24,0.70); }
.lead-form.form-success .form-status { color: #1f7a3d; }
.lead-form.form-error .form-status { color: #9a6324; }
.lead-form button[disabled] { opacity: 0.62; cursor: wait; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 30px clamp(20px, 5vw, 74px); border-top: 1px solid var(--line); padding-bottom: calc(30px + env(safe-area-inset-bottom)); }
.site-footer a { font-weight: 900; }

.mobile-action-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 60;
  display: none;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border-radius: 999px;
  background: rgba(11,17,24,0.92);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 16px 46px rgba(11,17,24,0.32);
  backdrop-filter: blur(14px);
}
.mobile-action-bar a { color: var(--paper); text-decoration: none; text-align: center; padding: 14px 8px; font-weight: 950; font-size: 13px; }
.mobile-action-bar a:first-child { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #241707; }

.gallery-modal { border: 0; border-radius: 28px; padding: 0; max-width: min(1120px, 94vw); background: var(--ink); color: var(--paper); box-shadow: var(--shadow); overflow: hidden; }
.gallery-modal::backdrop { background: rgba(0,0,0,0.76); }
.gallery-modal img { max-height: 80vh; width: 100%; object-fit: contain; background: #05080c; }
.gallery-modal p { margin: 0; padding: 16px 22px; font-weight: 900; }
.modal-close { position: absolute; right: 14px; top: 14px; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; background: rgba(255,255,255,0.92); }
.modal-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 62px; border: 0; border-radius: 999px; background: rgba(255,255,255,0.88); color: var(--ink); font-size: 42px; cursor: pointer; }
.modal-prev { left: 14px; }
.modal-next { right: 14px; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .hero, .split, .reverse, .location, .contact-section { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-media { min-height: 460px; }
  .proof-bar, .fact-cards, .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .site-header { padding: 12px 16px; }
  .brand { min-width: 0; }
  .brand small { display: none; }
  .header-cta { display: none; }
  .hero { padding: 14px; gap: 14px; }
  .hero-media { min-height: 330px; border-radius: 24px; }
  .hero-mini-card { left: 14px; right: 14px; bottom: 14px; align-items: start; flex-direction: column; }
  .hero-panel { padding: 27px; border-radius: 24px; }
  .stat-grid, .proof-bar, .fact-cards, .resource-grid { grid-template-columns: 1fr 1fr; }
  .proof-bar { margin: 0 14px; }
  .section { padding: 58px 18px; }
  .row-heading { align-items: flex-start; flex-direction: column; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .gallery-item:nth-child(1), .gallery-item:nth-child(6), .gallery-item:nth-child(13), .gallery-item:nth-child(20), .gallery-item:nth-child(27) { grid-column: span 2; grid-row: span 1; }
  .agent-card { grid-template-columns: 1fr; }
  .mobile-action-bar { display: grid; }
  .site-footer { padding-bottom: 82px; flex-direction: column; align-items: flex-start; }
}
@media (max-width: 460px) {
  h1 { font-size: 42px; }
  h2 { font-size: 34px; }
  .stat-grid, .fact-cards, .resource-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .gallery-item:nth-child(1), .gallery-item:nth-child(6), .gallery-item:nth-child(13), .gallery-item:nth-child(20), .gallery-item:nth-child(27) { grid-column: auto; }
  .modal-nav { display: none; }
}
