:root {
  --navy: #0d2740;
  --navy-2: #173c5c;
  --blue: #1769aa;
  --gold: #d49a31;
  --cream: #f7f4ed;
  --white: #ffffff;
  --ink: #16212b;
  --muted: #5f6d78;
  --line: #dce3e8;
  --shadow: 0 18px 55px rgba(13, 39, 64, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 10; background: white; padding: .75rem 1rem; }
.container { width: min(1160px, calc(100% - 2rem)); margin-inline: auto; }

.site-header { background: var(--navy); color: white; position: sticky; top: 0; z-index: 8; box-shadow: 0 1px rgba(255,255,255,.12); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border: 2px solid rgba(255,255,255,.6); color: var(--gold); font-family: Georgia, serif; font-size: 1.25rem; }
.brand small { display: block; font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #bed0df; }
.nav { display: flex; align-items: center; gap: 1.35rem; }
.nav a { text-decoration: none; font-weight: 650; }
.phone-link { background: var(--gold); color: #10283c; padding: .65rem .95rem; border-radius: .3rem; }

.hero { background: var(--navy); color: white; overflow: hidden; }
.hero-grid { min-height: 560px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: stretch; }
.hero-copy { padding: 5.5rem max(2rem, 6vw) 5rem max(1rem, calc((100vw - 1160px)/2)); display: flex; flex-direction: column; justify-content: center; }
.eyebrow { color: var(--gold); font-size: .78rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; margin: 0 0 1rem; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.08; margin-top: 0; }
h1 { font-size: clamp(2.8rem, 6vw, 5.6rem); letter-spacing: -.045em; margin-bottom: 1.2rem; }
.hero-copy > p:not(.eyebrow) { font-size: 1.12rem; color: #d6e2eb; max-width: 560px; margin: 0 0 2rem; }
.web-address { align-self: flex-start; margin: -.55rem 0 1.7rem; color: var(--gold); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: .22em; }
.web-address:hover { color: white; }
.hero-media { min-height: 560px; position: relative; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,39,64,.55), transparent 35%); pointer-events: none; }
.hero-badge { position: absolute; left: 2rem; bottom: 2rem; z-index: 1; background: white; color: var(--ink); padding: 1rem 1.25rem; box-shadow: var(--shadow); }
.hero-badge strong { display: block; font-size: 1.35rem; }
.hero-badge span { color: var(--muted); font-size: .85rem; }
.actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .75rem 1.1rem; border-radius: .3rem; border: 1px solid transparent; text-decoration: none; font-weight: 800; cursor: pointer; font: inherit; }
.btn-primary { background: var(--gold); color: #10283c; }
.btn-secondary { border-color: rgba(255,255,255,.4); color: white; background: transparent; }
.btn-dark { background: var(--navy); color: white; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: white; }

section { padding: 5rem 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.section-heading h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); margin-bottom: 0; }
.section-heading p { color: var(--muted); max-width: 480px; margin: 0; }
.property-card { display: grid; grid-template-columns: 1.15fr .85fr; border: 1px solid var(--line); background: white; box-shadow: var(--shadow); overflow: hidden; }
.property-card img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; }
.property-copy { padding: clamp(1.5rem, 4vw, 3.5rem); display: flex; flex-direction: column; justify-content: center; }
.status { display: inline-flex; align-self: flex-start; background: #e6f4ea; color: #20653a; padding: .35rem .65rem; border-radius: 99px; font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.property-copy h3 { font-size: clamp(1.8rem, 3vw, 2.8rem); margin: 1rem 0 .5rem; }
.price { font-size: 1.6rem; font-weight: 850; color: var(--navy); margin: 0 0 1rem; }
.facts { display: flex; flex-wrap: wrap; gap: .55rem 1.1rem; color: var(--muted); margin-bottom: 1.3rem; }
.fact strong { color: var(--ink); }
.service-strip { background: var(--cream); }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.benefit { background: var(--cream); padding: 2rem; }
.benefit b { display: block; font-family: Georgia, serif; font-size: 1.4rem; color: var(--navy); margin-bottom: .5rem; }
.benefit p { color: var(--muted); margin: 0; }
.contact-band { background: var(--navy); color: white; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.contact-grid h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); margin-bottom: 1rem; }
.contact-grid p { color: #d6e2eb; }
.contact-list { display: grid; gap: .75rem; margin-top: 1.5rem; }
.contact-list a { text-decoration: none; font-weight: 750; }
.inquiry-form { background: white; color: var(--ink); padding: 2rem; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; font-weight: 750; margin-bottom: 1rem; }
input, select, textarea { width: 100%; margin-top: .35rem; border: 1px solid #bdc8d0; padding: .8rem .85rem; font: inherit; color: var(--ink); background: white; border-radius: .2rem; }
textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--muted); margin: .75rem 0 0; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { min-height: 1.5em; margin: .75rem 0 0; font-weight: 700; }
.form-status.is-success { color: #176b3a; }
.form-status.is-error { color: #a52828; }
.inquiry-form button:disabled { cursor: wait; opacity: .68; }
.site-footer { background: #091c2d; color: #c8d5df; padding: 2rem 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer p { margin: 0; }
.site-footer a { color: white; }

.detail-hero { background: var(--cream); padding: 3rem 0; }
.detail-web-address { display: inline-block; margin-top: .35rem; color: var(--blue); font-weight: 800; font-size: 1.08rem; text-underline-offset: .2em; }
.breadcrumbs { font-size: .88rem; color: var(--muted); margin-bottom: 1.3rem; }
.breadcrumbs a { color: var(--blue); }
.detail-top { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.detail-top h1 { color: var(--navy); font-size: clamp(2.5rem, 5vw, 4.7rem); margin-bottom: .5rem; }
.detail-top p { margin: 0; color: var(--muted); }
.detail-price { font-family: Georgia, serif; font-weight: bold; font-size: 2.5rem; color: var(--navy); white-space: nowrap; }
.slideshow-section { padding: 1rem 0 0; background: var(--cream); }
.slideshow { position: relative; background: #071625; overflow: hidden; box-shadow: var(--shadow); }
.slides { position: relative; aspect-ratio: 16 / 9; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .35s ease; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide img { width: 100%; height: 100%; object-fit: contain; background: #071625; }
.slide-caption { position: absolute; left: 1rem; bottom: 1rem; background: rgba(7,22,37,.82); color: white; padding: .55rem .8rem; font-size: .9rem; }
.slide-control { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--navy); font-size: 1.65rem; cursor: pointer; box-shadow: 0 5px 20px rgba(0,0,0,.25); }
.slide-control:hover, .slide-control:focus-visible { background: var(--gold); }
.slide-prev { left: 1rem; }
.slide-next { right: 1rem; }
.slide-counter { position: absolute; z-index: 2; top: 1rem; right: 1rem; background: rgba(7,22,37,.82); color: white; padding: .4rem .7rem; border-radius: 99px; font-weight: 750; }
.thumbnails { display: flex; gap: .7rem; overflow-x: auto; padding: .8rem 0 1rem; scrollbar-color: var(--gold) var(--line); }
.thumbnail { flex: 0 0 118px; height: 76px; padding: 0; border: 3px solid transparent; background: #071625; cursor: pointer; opacity: .7; }
.thumbnail.is-active { border-color: var(--gold); opacity: 1; }
.thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.floorplan-section { padding: 4rem 0 2rem; background: var(--white); }
.floorplan-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 1.5rem; }
.floorplan-heading h2 { color: var(--navy); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0; }
.floorplan-heading p { color: var(--muted); margin: 0; max-width: 470px; }
.floorplan-frame { margin: 0; border: 1px solid var(--line); background: white; padding: clamp(.75rem, 2vw, 1.5rem); box-shadow: var(--shadow); }
.floorplan-frame img { width: 100%; height: auto; }
.floorplan-frame figcaption { margin-top: .9rem; color: var(--muted); font-size: .86rem; }
.tour-section { padding-top: 2rem; }
.tour-card { background: var(--navy); color: white; padding: clamp(1rem, 2vw, 1.5rem); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: center; }
.tour-card h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .7rem; }
.tour-card p { color: #d6e2eb; margin: 0; max-width: 700px; }
.tour-copy { padding: clamp(.5rem, 2vw, 1.5rem) clamp(.5rem, 2vw, 1.5rem) clamp(.5rem, 2vw, 1.5rem) 0; }
.tour-copy .btn { margin-top: 1.5rem; }
.tour-preview { position: relative; display: block; min-height: 330px; overflow: hidden; color: white; box-shadow: 0 16px 40px rgba(0, 0, 0, .28); }
.tour-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.tour-preview-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 23, 37, .05) 35%, rgba(7, 23, 37, .8) 100%); }
.tour-play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 76px; height: 76px; padding-left: 5px; border: 3px solid rgba(255, 255, 255, .92); border-radius: 50%; background: rgba(186, 138, 47, .94); box-shadow: 0 8px 28px rgba(0, 0, 0, .35); font-size: 1.65rem; transform: translate(-50%, -50%); transition: transform .2s ease, background .2s ease; }
.tour-preview-label { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.1rem; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 700; }
.tour-preview:hover img { transform: scale(1.035); }
.tour-preview:hover .tour-play { background: var(--gold); transform: translate(-50%, -50%) scale(1.08); }
.tour-preview:focus-visible { outline: 4px solid var(--gold); outline-offset: 4px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 4rem; align-items: start; }
.quick-facts { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); margin-bottom: 2.5rem; }
.quick-fact { padding: 1.2rem 1rem; border-right: 1px solid var(--line); }
.quick-fact:last-child { border-right: 0; }
.quick-fact strong { display: block; font-size: 1.2rem; color: var(--navy); }
.detail-content h2 { font-size: 2.2rem; color: var(--navy); margin: 2.5rem 0 1rem; }
.feature-list { columns: 2; padding-left: 1.2rem; }
.feature-list li { break-inside: avoid; margin-bottom: .55rem; }
.utility-box { background: var(--cream); border-left: 5px solid var(--gold); padding: 1.5rem; margin-top: 2rem; }
.utility-box h3 { margin-bottom: .6rem; color: var(--navy); font-size: 1.5rem; }
.utility-box p { margin: 0; }
.sticky-card { position: sticky; top: 100px; border: 1px solid var(--line); padding: 1.5rem; box-shadow: var(--shadow); }
.sticky-card h2 { color: var(--navy); font-size: 1.8rem; margin-bottom: .5rem; }
.sticky-card .btn { width: 100%; margin-top: .5rem; }

@media (max-width: 850px) {
  .nav a:not(.phone-link) { display: none; }
  .hero-grid, .property-card, .contact-grid, .detail-layout { grid-template-columns: 1fr; }
  .hero-copy { padding: 4rem 1rem 3rem; }
  .hero-media { min-height: 380px; }
  .property-card img { min-height: 320px; }
  .benefits { grid-template-columns: 1fr; }
  .sticky-card { position: static; }
  .tour-card { grid-template-columns: 1fr; }
  .tour-copy { padding: .5rem; }
  .floorplan-heading { display: block; }
  .floorplan-heading p { margin-top: .75rem; }
}
@media (max-width: 580px) {
  .brand span:last-child { max-width: 180px; font-size: .9rem; }
  .header-inner { min-height: 68px; }
  .phone-link { padding: .55rem .7rem; font-size: .85rem; }
  section { padding: 3.5rem 0; }
  .section-heading, .detail-top { display: block; }
  .detail-price { margin-top: 1rem; }
  .slides { aspect-ratio: 4 / 3; }
  .slide-control { width: 44px; height: 44px; }
  .slide-caption { display: none; }
  .quick-facts { grid-template-columns: 1fr 1fr; }
  .quick-fact:nth-child(2) { border-right: 0; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .feature-list { columns: 1; }
}
