:root {
  --ink: #163a2a;
  --green: #123e2b;
  --gold: #9a6219;
  --paper: #fbfaf6;
  --line: #e9e6db;
  --header-height: 84px;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; width: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid #b57b2e; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); }
.wrap { width: min(1190px, calc(100% - 96px)); margin-inline: auto; }
.svg-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; background: var(--green); color: #fff; border-radius: 13px; padding: 14px 22px; min-height: 48px; font-size: .91rem; font-weight: 700; }
.button:hover { background: #20563d; }
.button .icon, .text-link .icon { width: 17px; height: 17px; }
.site-header { position: sticky; z-index: 3; top: 0; background: #fbfaf4f5; border-bottom: 1px solid #173a2918; backdrop-filter: blur(14px); }
.header-inner { height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 132px; height: 79px; object-fit: contain; }
nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 44px); font-weight: 600; font-size: .88rem; }
nav a { padding-block: 10px; }
nav a:hover { box-shadow: inset 0 -2px var(--green); }
.hero { position: relative; isolation: isolate; min-height: 530px; background: linear-gradient(125deg, #bdc1a4 0%, #dce0c6 52%, #e5e6cf 100%); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 32%, #c7ceb000 49%, #c7ceb0 88%), url("assets/home/curated-coconut-grove.jpg") center 53% / cover; opacity: .18; mix-blend-mode: multiply; filter: blur(3px); z-index: -2; }
.hero-window { position: absolute; inset: -14px 0 0 39%; clip-path: url(#hero-window); overflow: hidden; z-index: -1; background: #899f7f; }
.hero-photo { position: absolute; inset: 0; height: 100%; opacity: 0; }
.hero-photo.is-visible { opacity: 1; }
.hero-photo.is-incoming { z-index: 1; }
.hero-inner { min-height: 530px; display: flex; align-items: center; position: relative; padding: 40px 0 80px; }
.hero-copy { max-width: 56%; }
.eyebrow { color: var(--gold); font-size: .74rem; line-height: 1.4; font-weight: 800; text-transform: uppercase; letter-spacing: .17em; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 8px; color: var(--green); }
.hero-copy .eyebrow .icon { width: 17px; height: 17px; }
h1, h2 { font-weight: 760; letter-spacing: -.06em; line-height: 1.02; }
h1 { font-size: clamp(3rem, 6.1vw, 6.2rem); margin: 15px 0 19px; }
h1 em { color: var(--gold); font-style: normal; position: relative; display: inline-block; }
h1 em::after { content: ""; position: absolute; left: 5%; bottom: -.1em; width: 81%; height: .14em; border-top: .043em solid currentColor; border-radius: 50%; transform: rotate(-4deg); }
.hero-copy > p:not(.eyebrow) { max-width: 335px; line-height: 1.6; font-size: clamp(1rem, 1.45vw, 1.19rem); margin: 0 0 21px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 750; font-size: .89rem; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-controls { display: none; align-items: center; gap: 6px; position: absolute; bottom: 51px; right: 0; border-radius: 999px; padding: 4px; color: white; background: #10291ee8; }
.hero-controls.is-ready { display: flex; }
.slide-count { padding-left: 9px; font-size: .72rem; font-variant-numeric: tabular-nums; }
.hero-controls button { border: 0; border-radius: 50%; width: 34px; height: 34px; background: #ffffff25; color: white; cursor: pointer; }
.hero-controls button:hover { background: #ffffff45; }
.plan-strip { position: relative; margin: -26px 0 48px; padding: 15px 17px; background: #fffef9; border: 1px solid #e9e6db; box-shadow: 0 12px 30px #163a2a15; border-radius: 19px; display: grid; grid-template-columns: repeat(3, 1fr) auto; align-items: center; }
.plan-item { display: flex; align-items: center; gap: 12px; padding-inline: 14px; min-width: 0; border-right: 1px solid var(--line); }
.plan-item small, .plan-item strong { display: block; }
.plan-item small { margin-top: 4px; font-size: .75rem; color: #4d5b50; }
.plan-item strong { font-size: .91rem; }
a.plan-item:hover strong { text-decoration: underline; }
.icon-disc { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; background: #e8efe5; }
.plan-item:nth-child(2) .icon-disc { color: var(--gold); background: #f3ead9; }
.plan-action { margin-left: 16px; }
.split { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(28px, 6vw, 95px); align-items: center; margin-bottom: 48px; }
h2 { font-size: clamp(2rem, 4vw, 3.75rem); }
.section-copy h2 { margin: 9px 0 14px; }
.section-copy > p:not(.eyebrow), .feature-card p, .map-options p { color: #4a564c; line-height: 1.55; }
.split-photo { height: clamp(285px, 34vw, 445px); border-radius: 19px; }
.checklist { list-style: none; padding: 0; margin: 16px 0 23px; display: grid; gap: 8px; font-size: .9rem; }
.checklist li::before { content: "✓"; display: inline-grid; place-items: center; width: 17px; height: 17px; margin-right: 8px; border-radius: 50%; background: #267149; color: white; font-size: .66rem; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 17px; }
.section-heading h2 { font-size: clamp(1.55rem, 3vw, 2.5rem); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.feature-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: #fffefb; box-shadow: 0 4px 12px #302a1508; }
.feature-card img { aspect-ratio: 1.65; }
.feature-card > div { padding: 17px; }
.feature-card h3 { font-size: 1.16rem; margin-bottom: 5px; }
.feature-card p { font-size: .9rem; margin-bottom: 13px; }
.tag { position: absolute; top: 12px; left: 12px; color: #153d28; background: #e8f0db; border-radius: 8px; padding: 5px 10px; font-size: .74rem; font-weight: 750; }
.feature-card:nth-child(3) .tag { background: #fbe4c9; }
.map-section { margin-block: 53px; display: grid; grid-template-columns: 1fr 1.15fr; gap: 34px; align-items: center; padding: 27px; background: #f1f3e9; border: 1px solid #e9ecdd; border-radius: 20px; }
.property-photo { aspect-ratio: 4 / 3; border-radius: 13px; }
.map-options { margin-bottom: 17px; }
.map-options details { border-bottom: 1px solid #dce1d4; padding: 8px 0; }
.map-options summary { cursor: pointer; font-weight: 650; }
.map-options p { margin-top: 6px; font-size: .87rem; }
.visit { border-radius: 22px; padding: clamp(28px, 5vw, 58px); color: white; background: linear-gradient(90deg, #0e3223 20%, #0e3223e8 52%, #0e322365), url("assets/home/curated-cabin-tub.jpg") center 57% / cover; }
.visit .eyebrow { color: #f0ca85; }
.visit h2 { margin-block: 8px 12px; }
.visit p { max-width: 480px; line-height: 1.5; }
.visit-actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 19px; }
.visit .button { background: #f7f4e9; color: var(--green); }
.visit .button:hover { background: #fff; }
.visit-phone { text-decoration: underline; text-underline-offset: 4px; }
.footer { display: flex; justify-content: space-between; padding-block: 24px; gap: 15px; font-size: .81rem; color: #4d5b50; }
@media (max-width: 960px) {
  .wrap { width: calc(100% - 54px); }
  nav { gap: 15px; }
  .header-inner { gap: 12px; }
  .plan-item { padding-inline: 8px; gap: 8px; }
}
@media (max-width: 730px) {
  .wrap { width: calc(100% - 32px); }
  :root { --header-height: 102px; }
  .header-inner { display: grid; grid-template-columns: 1fr auto; grid-template-rows: 62px 39px; gap: 0 12px; }
  .brand { justify-self: start; }
  .brand img { width: 108px; height: 60px; }
  .header-inner nav { grid-row: 2; grid-column: 1 / -1; overflow-x: auto; white-space: nowrap; font-size: .79rem; gap: 14px; scrollbar-width: none; }
  .header-inner nav::-webkit-scrollbar { display: none; }
  .header-action { padding: 9px 14px; min-height: 40px; }
  .hero { min-height: 0; padding-bottom: 0; }
  .hero-inner { min-height: 0; padding: 34px 0 0; height: calc(280px + 53vw); max-height: 670px; align-items: flex-start; }
  .hero-copy { max-width: 100%; }
  h1 { font-size: clamp(2.85rem, 9.7vw, 4.6rem); margin-block: 10px 14px; }
  .hero-copy > p:not(.eyebrow) { margin-bottom: 11px; }
  .hero-window {
    inset: 245px 0 0 5%;
    clip-path: none;
    animation: mobile-hero-morph 18s ease-in-out infinite alternate;
    animation-play-state: paused;
  }
  .hero-window.is-playing { animation-play-state: running; }
  .hero-controls { bottom: 16px; }
  .plan-strip { margin: 12px 0 32px; grid-template-columns: 1fr 1fr; gap: 13px 9px; padding: 12px; border-radius: 15px; }
  .plan-item { padding-inline: 3px; border: 0; }
  .plan-item strong { font-size: .75rem; }
  .icon-disc { width: 31px; height: 31px; }
  .icon-disc .icon { width: 17px; height: 17px; }
  .plan-action { margin-left: 0; min-height: 41px; padding: 8px; font-size: .79rem; gap: 6px; }
  .split, .map-section { grid-template-columns: 1fr; gap: 20px; }
  .split { margin-bottom: 34px; }
  .split-photo { height: clamp(230px, 61vw, 345px); }
  .card-grid { grid-template-columns: 1fr; }
  .map-section { margin-block: 35px; padding: 17px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
}
@keyframes mobile-hero-morph {
  0% { border-radius: 48% 28% 0 13% / 58% 23% 0 25%; }
  50% { border-radius: 32% 49% 0 23% / 35% 39% 0 18%; }
  100% { border-radius: 57% 18% 0 9% / 45% 30% 0 38%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
