:root {
  --navy: #071d2b;
  --navy-2: #0e3043;
  --cream: #f5f1e8;
  --sand: #d9c6a0;
  --gold: #d8aa50;
  --gold-dark: #b5852f;
  --ink: #10242e;
  --muted: #65727a;
  --white: #fff;
  --line: rgba(16, 36, 46, .13);
  --shadow: 0 24px 70px rgba(0, 18, 29, .16);
  --shell: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fbfaf6; font-family: "DM Sans", sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; background: #fff; padding: 12px 18px; }
.skip-link:focus { top: 12px; }
.section-shell { width: var(--shell); margin-inline: auto; }

.site-header { height: 84px; padding: 0 max(24px, calc((100vw - 1180px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 26px; background: var(--navy); color: #fff; }
.wordmark { display: flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: .12em; font-size: 14px; line-height: 1.05; }
.wordmark small { font-size: 8px; letter-spacing: .22em; color: #aebac0; }
.wordmark-mark { border: 1px solid var(--gold); color: var(--gold); padding: 10px 7px; font-family: "Playfair Display", serif; font-size: 18px; letter-spacing: 0; }
nav { display: flex; gap: 36px; font-size: 13px; color: #c5ced2; }
nav a:hover { color: #fff; }

.button { display: inline-flex; min-height: 52px; padding: 0 25px; align-items: center; justify-content: center; border: 0; border-radius: 2px; font-weight: 700; letter-spacing: .02em; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 0 18px; font-size: 13px; }
.button-gold { background: var(--gold); color: #14222a; }
.button-gold:hover { background: #e7bb66; }
.button-ghost { color: #fff; border: 1px solid rgba(255,255,255,.55); background: rgba(5, 22, 32, .18); backdrop-filter: blur(8px); }
.button-navy { background: var(--navy); color: #fff; white-space: nowrap; }

.hero { min-height: 720px; position: relative; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-image { position: absolute; inset: -9% 0; background: url("assets/property-1.jpg") center 48% / cover no-repeat; transform: scale(1.015); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,18,27,.89) 0%, rgba(3,18,27,.56) 48%, rgba(3,18,27,.13) 76%), linear-gradient(0deg, rgba(3,18,27,.34), transparent 45%); }
.hero-content { position: relative; width: var(--shell); margin: 0 auto; padding-bottom: 48px; }
.eyebrow { margin: 0 0 18px; text-transform: uppercase; letter-spacing: .19em; font-size: 11px; font-weight: 700; color: #dfe8eb; }
.eyebrow span { color: var(--gold); }
.eyebrow.dark { color: var(--gold-dark); }
h1, h2 { font-family: "Playfair Display", serif; }
h1 { max-width: 770px; margin: 0; font-size: clamp(58px, 7.2vw, 96px); line-height: .94; letter-spacing: -.045em; }
.hero-sub { max-width: 620px; margin: 28px 0 34px; font-size: 18px; line-height: 1.65; color: #e3eaed; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.price-card { position: absolute; right: max(24px, calc((100vw - 1180px)/2)); bottom: 0; min-width: 380px; padding: 24px 30px 25px; background: rgba(255,255,255,.95); color: var(--ink); box-shadow: var(--shadow); }
.price-card > span { display: block; text-transform: uppercase; letter-spacing: .18em; font-size: 9px; color: var(--muted); }
.price-card > strong { display: block; margin: 3px 0 12px; font-family: "Playfair Display", serif; font-size: 35px; }
.price-card div { color: var(--muted); font-size: 13px; }
.price-card div b { color: var(--ink); }
.price-card i { display: inline-block; width: 1px; height: 12px; margin: 0 12px -2px; background: var(--line); }

.quick-facts { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--navy); color: #fff; padding: 0 max(24px, calc((100vw - 1180px)/2)); }
.quick-facts article { min-height: 136px; display: flex; align-items: center; gap: 17px; padding: 26px 28px; border-right: 1px solid rgba(255,255,255,.11); }
.quick-facts article:first-child { border-left: 1px solid rgba(255,255,255,.11); }
.fact-icon { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(216,170,80,.65); color: var(--gold); border-radius: 50%; font-family: "Playfair Display", serif; font-size: 20px; }
.quick-facts strong, .quick-facts small { display: block; }
.quick-facts strong { font-size: 16px; }
.quick-facts small { margin-top: 5px; color: #91a2aa; }

.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; padding-block: 120px 105px; }
.intro h2, .gallery-head h2, .features h2, .lifestyle-band h2, .finance h2, .contact-section h2 { margin: 0; font-size: clamp(40px, 5vw, 64px); line-height: 1.04; letter-spacing: -.035em; }
.intro-copy { padding-top: 27px; }
.intro-copy p, .features-copy > p, .finance-card p, .contact-copy > p { font-size: 16px; line-height: 1.8; color: var(--muted); }
.text-link, .text-button { display: inline-flex; gap: 8px; margin-top: 12px; padding: 0 0 5px; border: 0; border-bottom: 1px solid var(--gold); background: transparent; color: var(--ink); font-weight: 700; cursor: pointer; }

.coastal-intelligence { padding-bottom: 110px; }
.coastal-heading { max-width: 780px; margin-bottom: 36px; }
.coastal-heading h2 { margin: 0; font-family: "Playfair Display", serif; font-size: clamp(40px, 5vw, 64px); line-height: 1.04; letter-spacing: -.035em; }
.coastal-heading > p:last-child { margin: 20px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.coastal-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.coastal-grid article { min-height: 210px; padding: 28px; border-right: 1px solid var(--line); background: #fff; }
.coastal-grid article:last-child { border-right: 0; }
.coastal-grid span { color: var(--gold-dark); font-size: 11px; letter-spacing: .14em; }
.coastal-grid h3 { margin: 22px 0 12px; font-size: 17px; line-height: 1.35; }
.coastal-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.coastal-note { margin: 13px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.coastal-close { max-width: 900px; margin: 29px 0 0; font-family: "Playfair Display", serif; font-size: 23px; line-height: 1.5; }

.gallery-section { padding: 95px 0 110px; background: var(--cream); }
.gallery-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 32px; }
.gallery-head h2 { font-size: clamp(40px, 4vw, 58px); }
.gallery-grid { height: 700px; display: grid; grid-template-columns: 1.35fr .85fr .85fr; grid-template-rows: 1fr 1fr; gap: 10px; }
.gallery-item { position: relative; padding: 0; border: 0; overflow: hidden; cursor: pointer; background: #ddd; }
.gallery-wide { grid-row: 1 / span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:first-child img { object-position: center 51%; transform: scale(1.18); }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item:first-child:hover img { transform: scale(1.22); }
.gallery-more span { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(4,25,35,.5); font-size: 18px; font-weight: 700; }

.features { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; padding-block: 120px; }
.features-copy > p { margin: 25px 0 30px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.check-list li { position: relative; padding-left: 31px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-dark); font-weight: 700; }
.feature-photo { height: 650px; overflow: hidden; box-shadow: var(--shadow); }
.feature-photo img { width: 100%; height: 100%; object-fit: cover; }

.lifestyle-band { padding: 110px 0; background: var(--navy); color: #fff; }
.lifestyle-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.lifestyle-cards { display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.12); }
.lifestyle-cards article { position: relative; padding: 27px 0 25px 72px; border-bottom: 1px solid rgba(255,255,255,.12); }
.lifestyle-cards article > span { position: absolute; left: 0; top: 31px; color: var(--gold); font-size: 12px; }
.lifestyle-cards h3 { margin: 0 0 7px; font-size: 17px; }
.lifestyle-cards p { margin: 0; color: #9fb0b7; line-height: 1.65; font-size: 14px; }

.financing { padding-block: 100px; }
.finance-card { display: grid; grid-template-columns: 112px 1fr auto; gap: 45px; align-items: center; padding: 56px; background: #ece5d6; border: 1px solid #e0d5c0; }
.finance-card h2 { font-size: clamp(35px, 4vw, 52px); }
.finance-card p { max-width: 670px; margin-bottom: 20px; }
.finance-badge { width: 105px; height: 105px; display: grid; place-items: center; text-align: center; border: 1px solid var(--gold-dark); border-radius: 50%; color: var(--gold-dark); text-transform: uppercase; letter-spacing: .13em; font-size: 10px; font-weight: 700; }
.finance-points { display: flex; flex-wrap: wrap; gap: 8px; }
.finance-points span { border: 1px solid rgba(16,36,46,.17); padding: 8px 11px; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }

.contact-section { position: relative; padding: 110px 0; background: var(--navy-2); color: #fff; overflow: hidden; }
.contact-backdrop { position: absolute; inset: 0; background: radial-gradient(circle at 12% 42%, rgba(34,112,139,.45), transparent 40%), linear-gradient(120deg, transparent, rgba(0,0,0,.22)); }
.contact-grid { position: relative; display: grid; grid-template-columns: .82fr 1.18fr; gap: 90px; align-items: start; }
.contact-copy { padding-top: 30px; }
.contact-copy > p { color: #b6c5cb; max-width: 530px; }
.direct-contacts { margin-top: 45px; display: grid; gap: 13px; }
.direct-contacts a { display: block; padding: 18px 20px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); }
.direct-contacts small, .direct-contacts strong { display: block; }
.direct-contacts small { color: #8fa3ac; margin-bottom: 5px; }

.lead-form { padding: 34px; background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.form-head { display: flex; justify-content: space-between; margin-bottom: 24px; }
.form-head span { font-family: "Playfair Display", serif; font-size: 25px; font-weight: 700; }
.form-head b { color: var(--gold-dark); text-transform: uppercase; letter-spacing: .14em; font-size: 9px; }
.numbers-tool { margin: -5px 0 24px; padding: 18px; border: 1px solid #e0d5c0; background: #f7f3ea; }
.button-secondary { min-height: 44px; width: 100%; border: 1px solid var(--navy); background: transparent; color: var(--navy); font-size: 13px; }
.button-secondary:hover { background: var(--navy); color: #fff; }
.numbers-tool p { margin: 10px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.lead-form label { display: grid; gap: 7px; margin-bottom: 15px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; border: 1px solid #d8dde0; border-radius: 0; background: #fff; padding: 13px 14px; color: var(--ink); text-transform: none; letter-spacing: 0; outline: none; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--gold-dark); box-shadow: 0 0 0 3px rgba(181,133,47,.12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.consent { grid-template-columns: 18px 1fr !important; align-items: start; text-transform: none !important; letter-spacing: 0 !important; line-height: 1.5; color: var(--muted); font-weight: 500 !important; }
.consent input { width: 16px; height: 16px; margin: 2px 0 0; }
.button-submit { width: 100%; margin-top: 5px; justify-content: space-between; }
.form-note { text-align: center; margin: 12px 0 0; color: #879096; font-size: 10px; }

footer { padding: 65px 0 105px; background: #04131d; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 50px; }
.footer-grid strong { letter-spacing: .1em; font-size: 12px; }
.footer-grid p { color: #879ba4; line-height: 1.65; font-size: 13px; }
.footer-grid a:hover { color: #fff; }
.legal { margin-top: 40px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.1); color: #667b85; font-size: 10px; line-height: 1.7; }
.mobile-cta { display: none; }

.lightbox { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; border: 0; padding: 0; background: rgba(3,14,21,.97); color: #fff; }
.lightbox::backdrop { background: rgba(3,14,21,.97); }
.lightbox figure { width: min(1120px, calc(100% - 150px)); height: 100%; margin: auto; display: grid; place-items: center; align-content: center; gap: 18px; }
.lightbox figure img { max-height: calc(100vh - 100px); object-fit: contain; }
.lightbox figcaption { color: #92a5ad; font-size: 12px; }
.lightbox-close, .lightbox-nav { position: fixed; z-index: 2; border: 0; background: transparent; color: #fff; cursor: pointer; }
.lightbox-close { top: 20px; right: 25px; font-size: 42px; font-weight: 200; }
.lightbox-nav { top: 50%; transform: translateY(-50%); font-size: 65px; color: #c7d1d5; }
.lightbox-nav.previous { left: 25px; }
.lightbox-nav.next { right: 25px; }

@media (max-width: 900px) {
  :root { --shell: min(100% - 34px, 700px); }
  .site-header { height: 72px; padding-inline: 17px; }
  nav { display: none; }
  .site-header > .button { display: none; }
  .hero { min-height: 0; display: block; padding-bottom: 145px; background: var(--navy); }
  .hero-image { position: relative; inset: auto; width: 100%; aspect-ratio: 4 / 3; background-size: contain; background-position: center; transform: none; }
  .hero-shade { display: none; }
  .hero-content { padding: 38px 0 25px; }
  h1 { font-size: clamp(48px, 12vw, 68px); }
  .hero-sub { font-size: 16px; }
  .price-card { left: 17px; right: 17px; bottom: 20px; min-width: 0; padding: 18px 21px; }
  .price-card > strong { font-size: 28px; }
  .quick-facts { grid-template-columns: 1fr 1fr; padding: 0; }
  .quick-facts article { min-height: 110px; border-bottom: 1px solid rgba(255,255,255,.1); padding: 20px 18px; }
  .intro, .features, .lifestyle-grid, .contact-grid { grid-template-columns: 1fr; gap: 45px; }
  .intro { padding-block: 80px; }
  .intro-copy { padding-top: 0; }
  .coastal-intelligence { padding-bottom: 80px; }
  .coastal-grid { grid-template-columns: 1fr 1fr; }
  .coastal-grid article { border-bottom: 1px solid var(--line); }
  .coastal-grid article:nth-child(2) { border-right: 0; }
  .coastal-grid article:nth-child(3), .coastal-grid article:nth-child(4) { border-bottom: 0; }
  .gallery-section { padding-block: 75px; }
  .gallery-grid { height: auto; grid-template-columns: 1.2fr .8fr; grid-template-rows: 270px 210px; }
  .gallery-item:nth-of-type(4) { display: none; }
  .gallery-wide { grid-row: 1 / span 2; }
  .features { padding-block: 80px; }
  .feature-photo { height: 470px; order: -1; }
  .lifestyle-band { padding-block: 80px; }
  .finance-card { grid-template-columns: 1fr; gap: 25px; padding: 34px; }
  .finance-badge { width: 78px; height: 78px; }
  .contact-section { padding-block: 75px; }
  .contact-grid { gap: 35px; }
  .contact-copy { padding-top: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .mobile-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 20; display: grid; grid-template-columns: 1fr 1.35fr; box-shadow: 0 10px 40px rgba(0,0,0,.35); }
  .mobile-cta a { min-height: 54px; display: grid; place-items: center; background: #fff; color: var(--navy); font-weight: 700; font-size: 13px; }
  .mobile-cta a:last-child { background: var(--gold); }
}

@media (max-width: 580px) {
  :root { --shell: calc(100% - 28px); }
  .hero { min-height: 0; }
  .hero-content { padding-bottom: 0; }
  .hero-sub { margin-block: 22px 26px; }
  .hero-actions .button { width: 100%; }
  .price-card div { font-size: 11px; }
  .price-card i { margin-inline: 7px; }
  .quick-facts article { gap: 10px; padding-inline: 13px; }
  .fact-icon { width: 35px; height: 35px; flex: 0 0 35px; }
  .quick-facts strong { font-size: 14px; }
  .quick-facts small { font-size: 11px; }
  .coastal-grid { grid-template-columns: 1fr; }
  .coastal-grid article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line) !important; }
  .coastal-grid article:last-child { border-bottom: 0 !important; }
  .gallery-head { align-items: start; gap: 20px; }
  .gallery-head .text-button { font-size: 0; }
  .gallery-head .text-button::after { content: "View all →"; font-size: 12px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 310px 155px; }
  .gallery-wide { grid-column: 1 / -1; grid-row: auto; }
  .gallery-item:nth-of-type(2), .gallery-item:nth-of-type(3) { display: none; }
  .feature-photo { height: 390px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .lead-form { padding: 25px 20px; }
  .lightbox figure { width: calc(100% - 35px); }
  .lightbox-nav { bottom: 20px; top: auto; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
