/* Cayman Retail — site styles. No external fonts, frameworks or CDNs. */
:root {
  --navy: #0b2233;
  --navy-2: #133a52;
  --teal: #0e7a87;
  --teal-dark: #0a5c66;
  --sand: #f5f0e7;
  --sand-2: #ebe2d2;
  --ink: #17242e;
  --muted: #586874;
  --line: #dfe4e8;
  --white: #ffffff;
  --ok: #1f7a4d;
  --warn-bg: #fff4d6;
  --warn-ink: #6b4b00;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 34, 51, .10);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--white); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; color: var(--navy); margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.eyebrow { font: 600 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin-bottom: 1rem; display: block; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.logo { display: flex; align-items: center; color: var(--navy); }
.logo img { width: 168px; height: auto; }
.nav { display: flex; align-items: center; gap: .3rem; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; padding: .55rem .8rem; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--sand); color: var(--navy); }
.nav a.btn { margin-left: .5rem; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: .5rem .7rem; font: inherit; color: var(--navy); cursor: pointer; }
@media (max-width: 920px) {
  .menu-toggle { display: inline-flex; align-items: center; gap: .4rem; }
  .nav { position: absolute; inset: 72px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; padding: .75rem 1.25rem 1.25rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: .85rem .75rem; font-size: 1.05rem; }
  .nav a.btn { margin: .5rem 0 0; text-align: center; }
}

/* Buttons */
.btn { display: inline-block; background: var(--teal); color: #fff !important; text-decoration: none; font-weight: 600; padding: .85rem 1.4rem; border-radius: 999px; border: 2px solid var(--teal); transition: background .15s, border-color .15s, transform .15s; cursor: pointer; font-size: 1rem; font-family: var(--sans); }
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); transform: translateY(-1px); }
.btn.ghost { background: transparent; border-color: rgba(255,255,255,.7); }
.btn.ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn.outline { background: transparent; color: var(--teal-dark) !important; }
.btn.outline:hover { background: var(--sand); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* Hero */
.hero { position: relative; color: #fff; min-height: min(82vh, 760px); display: flex; align-items: flex-end; overflow: hidden; background: var(--navy); }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,34,51,.15) 0%, rgba(11,34,51,.35) 45%, rgba(11,34,51,.88) 100%); }
.hero .wrap { position: relative; z-index: 1; padding: 7rem 0 4.5rem; }
.hero h1 { color: #fff; max-width: 18ch; }
.hero .lead { color: rgba(255,255,255,.88); }
.hero .eyebrow { color: #9fe0e6; }
.hero.compact { min-height: min(62vh, 560px); }

/* Sections */
section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.sand { background: var(--sand); }
.navy { background: var(--navy); color: #dbe6ee; }
.navy h2, .navy h3 { color: #fff; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* Stat strip */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats div { padding: 1.6rem 1.25rem; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats strong { display: block; font: 600 2rem/1.1 var(--serif); color: var(--navy); }
.stats span { color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } .stats div:nth-child(2) { border-right: 0; } .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* Property cards */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.75rem; margin-top: 2.5rem; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(11,34,51,.16); }
.card .media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--sand-2); }
.card .media img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 1.5rem 1.6rem 1.75rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card h3 { margin: 0; font-size: 1.5rem; }
.card .addr { color: var(--muted); font-size: .95rem; margin: 0; }
.card .more { margin-top: auto; font-weight: 600; color: var(--teal-dark); padding-top: .75rem; }
.badge { display: inline-flex; align-items: center; gap: .4rem; font: 600 .78rem/1 var(--sans); letter-spacing: .04em; padding: .45rem .7rem; border-radius: 999px; background: #fff; color: var(--navy); }
.badge::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: #c0392b; }
.badge.available::before { background: var(--ok); }
.media .badge { position: absolute; top: 1rem; left: 1rem; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.mini-facts { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; color: var(--ink); font-size: .92rem; margin: .4rem 0 0; padding: 0; list-style: none; }
.mini-facts li::before { content: "•"; color: var(--teal); margin-right: .45rem; }

/* Feature list */
.features { columns: 2; column-gap: 2.5rem; padding: 0; margin: 0; list-style: none; }
.features li { break-inside: avoid; padding: .7rem 0 .7rem 2rem; border-bottom: 1px solid var(--line); position: relative; }
.features li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 1rem; height: .55rem; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
@media (max-width: 760px) { .features { columns: 1; } }

/* Pillars */
.pillar { background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.pillar .num { font: 600 2.4rem/1 var(--serif); color: var(--teal); margin-bottom: .8rem; display: block; }

/* Facts table */
.facts { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin-top: -3.5rem; position: relative; z-index: 2; overflow: hidden; }
.facts div { padding: 1.3rem 1.25rem; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.facts dd { margin: .3rem 0 0; font: 600 1.15rem/1.25 var(--serif); color: var(--navy); }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, 1fr); } .facts div { border-bottom: 1px solid var(--line); } }

/* Units */
.units { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.units th, .units td { text-align: left; padding: .9rem 1.2rem; border-bottom: 1px solid var(--line); }
.units th { background: var(--navy); color: #fff; font-weight: 600; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.units tr:last-child td { border-bottom: 0; }
.status-pill { display: inline-block; font-size: .8rem; font-weight: 600; padding: .25rem .6rem; border-radius: 999px; background: #f8e1de; color: #8e2a1f; }
.status-pill.available { background: #dcf1e5; color: var(--ok); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .9rem; }
.gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery button:hover img { transform: scale(1.04); }
.gallery.first-wide button:first-child { grid-column: span 2; aspect-ratio: auto; }
@media (max-width: 560px) { .gallery.first-wide button:first-child { grid-column: auto; aspect-ratio: 4/3; } }
.caption-note { color: var(--muted); font-size: .9rem; margin-top: .9rem; }
.lightbox { position: fixed; inset: 0; background: rgba(5,15,22,.92); display: none; align-items: center; justify-content: center; z-index: 200; padding: 3rem 1rem; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 84vh; width: auto; border-radius: 8px; }
.lightbox figcaption { color: #cfdbe3; text-align: center; margin-top: .8rem; font-size: .95rem; }
.lightbox .lb-btn { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; }
.lightbox .lb-close { top: 1rem; right: 1rem; }
.lightbox .lb-prev { left: 1rem; top: 50%; }
.lightbox .lb-next { right: 1rem; top: 50%; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 60%, var(--teal-dark) 100%); color: #dbe6ee; border-radius: var(--radius); padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; }
.cta-band h2 { color: #fff; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* Forms */
.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.5rem, 4vw, 2.5rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; color: var(--navy); }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; font: inherit; font-size: 1rem; padding: .8rem .9rem; border: 1px solid #c9d2d9; border-radius: 10px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14,122,135,.18); }
textarea { min-height: 140px; resize: vertical; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; font-size: .92rem; color: var(--ink); }
.check input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; flex: none; }
.hp { position: absolute !important; left: -5000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; padding: .9rem 1rem; border-radius: 10px; display: none; }
.form-status.ok { display: block; background: #dcf1e5; color: #134d31; }
.form-status.err { display: block; background: #f8e1de; color: #7a2016; }
.field-error { color: #a12a1c; font-size: .85rem; margin-top: .3rem; }
[aria-invalid="true"] { border-color: #c0392b; }

/* Review notes (preview builds only) */
.review { background: var(--warn-bg); color: var(--warn-ink); border-left: 4px solid #e0a800; padding: .7rem 1rem; border-radius: 6px; font-size: .9rem; margin: 1rem 0; }
.review strong { font-weight: 700; }
.preview-ribbon { background: #e0a800; color: #2b1f00; text-align: center; font-size: .85rem; font-weight: 600; padding: .4rem 1rem; }

/* Footer */
.site-footer { background: var(--navy); color: #b9c8d3; padding: 3.5rem 0 2rem; font-size: .95rem; }
.site-footer a { color: #e6eef3; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
.footer-grid h4 { color: #fff; font: 600 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-logo img { width: 180px; margin-bottom: 1rem; }
.legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

.prose { max-width: 72ch; }
.map-link { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; }
.split-img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .lightbox, .review, .preview-ribbon { display: none !important; } }

/* Utility classes (inline styles are blocked by the Content-Security-Policy) */
section.hero { padding: 0; }
.card .eyebrow { margin: 0; }
.cta-band .eyebrow { color: #9fe0e6; }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 860px) { .cta-band .btn-row { justify-content: flex-start; } }
.grid-2.top { align-items: start; }
.grid-contact { grid-template-columns: 1.6fr 1fr; }
@media (max-width: 860px) { .grid-contact { grid-template-columns: 1fr; } }
.badge.inline { vertical-align: middle; margin-left: .4rem; box-shadow: none; border: 1px solid var(--line); }
.mt { margin-top: 3rem; }
.mb { margin-bottom: 1.25rem; }
section.pb-s { padding-bottom: 2rem; }
section.pt-0 { padding-top: 0; }
.lightbox figure { margin: 0; }
.units td:first-child { white-space: nowrap; }

/* v2: leased banner, tenants, privacy draft */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
section.pt-s { padding-top: 2.5rem; }
.leased-banner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; flex-wrap: wrap; background: var(--sand); border: 1px solid var(--sand-2); border-left: 6px solid var(--teal); border-radius: var(--radius); padding: 1.6rem 1.8rem; }
.leased-banner > div { display: flex; gap: 1rem; align-items: flex-start; flex: 1 1 420px; }
.leased-banner h2 { font-size: clamp(1.25rem, 2.4vw, 1.65rem); margin: 0 0 .35rem; }
.leased-banner p { margin: 0; color: var(--muted); }
.leased-dot { flex: none; width: .9rem; height: .9rem; border-radius: 50%; background: var(--teal); margin-top: .45rem; box-shadow: 0 0 0 5px rgba(14,122,135,.18); }
.card-tenants { font-size: .93rem; color: var(--muted); margin: .4rem 0 0; }
.card-tenants strong { color: var(--navy); }
.eyebrow-light { color: #9fe0e6; }
.lead-light { color: #c6d5df; }
.tenant-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; margin-top: 2.25rem; }
@media (max-width: 860px) { .tenant-groups { grid-template-columns: 1fr; } }
.tenant-group { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 1.6rem 1.75rem; }
.tenant-group h3 { margin: 0; font-size: 1.35rem; }
.tenant-group h3 a { color: #fff; text-decoration: none; }
.tenant-group h3 a:hover { text-decoration: underline; }
.tenant-addr { color: #9fb3c1; font-size: .9rem; margin: .25rem 0 1rem; }
.tenant-list { list-style: none; margin: 0; padding: 0; }
.tenant-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .75rem 0; border-top: 1px solid rgba(255,255,255,.1); }
.tenant-name { color: #fff; font-weight: 600; text-decoration: none; }
a.tenant-name { text-decoration: underline; text-decoration-color: rgba(159,224,230,.5); text-underline-offset: 3px; }
a.tenant-name:hover { color: #9fe0e6; }
a.tenant-name::after, .units a::after { content: " \2197"; font-size: .8em; }
.tenant-units { color: #9fb3c1; font-size: .88rem; white-space: nowrap; }
.units a { font-weight: 600; color: var(--teal-dark); }
.facts.facts-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1000px) { .facts.facts-6 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .facts.facts-6 { grid-template-columns: repeat(2, 1fr); } }
.small-print { font-size: .88rem; color: var(--muted); margin: 0; }
.placeholder { background: #ffe9a8; color: #5a3f00; padding: 0 .3em; border-radius: 4px; font-weight: 600; }
.legal-flag { background: #fde3e0; color: #7a2016; border-left: 4px solid #c0392b; padding: .9rem 1.1rem; border-radius: 6px; margin: 1rem 0 1.5rem; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: .45rem; }
.prose h2 { font-size: 1.45rem; margin-top: 2rem; }
@media (max-width: 600px) {
  .units th:nth-child(3), .units td:nth-child(3) { display: none; }
  .units td:first-child { white-space: normal; }
  .units th, .units td { padding: .8rem .85rem; }
  .units td:first-child { width: 42%; }
}
.facts.facts-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts.facts-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 900px) { .facts.facts-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1000px) { .facts.facts-6 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .facts.facts-6 { grid-template-columns: repeat(2, 1fr); } }
