:root {
  --cocoa: #3a2219;
  --cocoa-2: #57352a;
  --caramel: #c27c35;
  --caramel-dark: #9f6022;
  --cream: #faf6f0;
  --sand: #f1e8dc;
  --ink: #241813;
  --muted: #6f5d54;
  --line: #e4d8ca;
  --white: #fff;
  --ok: #2f7d4f;
  --err: #b23a2b;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(58, 34, 25, .06), 0 8px 24px rgba(58, 34, 25, .08);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 17px/1.6 var(--sans); color: var(--ink); background: var(--cream); }
img { max-width: 100%; display: block; }
a { color: var(--caramel-dark); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; color: var(--cocoa); margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--caramel); outline-offset: 2px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.4em; border-radius: 999px; border: 2px solid var(--caramel); background: var(--caramel); color: var(--white); font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s; }
.btn:hover { background: var(--caramel-dark); border-color: var(--caramel-dark); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--cocoa); border-color: var(--line); }
.btn-ghost:hover { background: var(--sand); border-color: var(--sand); color: var(--cocoa); }
.btn-small { padding: .55em 1.05em; font-size: .92rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 246, 240, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--cocoa); text-decoration: none; font: 500 1.3rem/1 var(--serif); }
.brand strong { font-weight: 700; color: var(--caramel-dark); }
.brand-mark { width: 28px; height: 28px; color: var(--caramel); }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn) { color: var(--cocoa); text-decoration: none; font-weight: 500; }
.site-nav a:not(.btn):hover { color: var(--caramel-dark); }
@media (max-width: 720px) {
  .site-nav a:not(.btn) { display: none; }
  .brand { font-size: 1.15rem; }
}

/* Hero */
.hero { position: relative; min-height: min(88vh, 760px); display: grid; align-items: end; color: var(--white); overflow: hidden; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36, 20, 14, .15) 0%, rgba(36, 20, 14, .35) 40%, rgba(36, 20, 14, .85) 100%); }
.hero-content { position: relative; z-index: 1; padding: 120px 0 72px; max-width: 820px; margin-left: max(20px, (100% - 1180px) / 2); }
.hero h1 { color: var(--white); text-shadow: 0 2px 24px rgba(0, 0, 0, .3); }
.lede { font-size: 1.15rem; max-width: 640px; color: rgba(255, 255, 255, .92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .6); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .15); border-color: var(--white); }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(6px); font-size: .9rem; font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #f2b26b; box-shadow: 0 0 0 4px rgba(242, 178, 107, .3); }

/* Highlights */
.highlights { background: var(--cocoa); color: #f3e7da; }
.highlight-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.highlight { padding: 26px 22px; border-left: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 2px; }
.highlight:first-child { border-left: 0; padding-left: 0; }
.highlight strong { font: 600 1.2rem/1.2 var(--serif); color: var(--white); }
.highlight span { font-size: .92rem; opacity: .85; }
@media (max-width: 860px) {
  .highlight-grid { grid-template-columns: 1fr 1fr; }
  .highlight { border-left: 0; padding: 18px 0; }
}

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--sand); }
.section-head { max-width: 720px; margin-bottom: 28px; }
.section-head p:last-child { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--caramel-dark); margin-bottom: .6em; }
@media (max-width: 720px) { .section { padding: 60px 0; } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { border: 1px solid var(--line); background: var(--white); color: var(--cocoa); padding: .5em 1.1em; border-radius: 999px; font: 600 .92rem/1 var(--sans); cursor: pointer; }
.chip.is-active { background: var(--cocoa); color: var(--white); border-color: var(--cocoa); }

/* Cards */
.card-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }
@media (max-width: 400px) { .card-grid { grid-template-columns: 1fr; } }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(58, 34, 25, .06), 0 16px 36px rgba(58, 34, 25, .14); }
.card[hidden] { display: none; }
.card-media { position: relative; display: block; padding: 0; border: 0; background: var(--sand); cursor: zoom-in; aspect-ratio: 3 / 2; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-media img { transform: scale(1.03); }
.badge { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 999px; font: 700 .75rem/1 var(--sans); background: rgba(255, 255, 255, .94); color: var(--cocoa); }
.badge-units { left: auto; right: 12px; background: var(--caramel); color: var(--white); }
.photo-count { position: absolute; right: 12px; bottom: 12px; padding: 4px 9px; border-radius: 8px; font: 600 .78rem/1.2 var(--sans); background: rgba(36, 20, 14, .7); color: var(--white); }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card-body > p:not(.card-area) { color: var(--muted); font-size: .97rem; }
.card-area { font-size: .82rem; font-weight: 600; color: var(--caramel-dark); margin-bottom: .35em; }
.facts { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.facts li { background: var(--sand); color: var(--cocoa); font-size: .82rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.card-actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }

/* Location */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.checklist { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px; }
.checklist li { position: relative; padding-left: 28px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--caramel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.5 2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; background: var(--white); border-radius: var(--radius); padding: 20px 22px 20px 72px; position: relative; box-shadow: var(--shadow); display: grid; gap: 2px; }
.steps li::before { content: counter(step); position: absolute; left: 20px; top: 20px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--cocoa); color: var(--white); font: 700 1rem/1 var(--serif); }
.steps strong { font-family: var(--serif); font-size: 1.15rem; color: var(--cocoa); }
.steps span { color: var(--muted); }

/* Waitlist */
.waitlist { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .waitlist { grid-template-columns: 1fr; gap: 24px; } }
.waitlist-copy { position: sticky; top: 100px; }
@media (max-width: 900px) { .waitlist-copy { position: static; } }
.fine-print { font-size: .9rem; color: var(--muted); }
.lead-form { background: var(--white); border-radius: 20px; padding: 30px; box-shadow: var(--shadow); display: grid; gap: 16px; }
@media (max-width: 520px) { .lead-form { padding: 22px 18px; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
label { font-weight: 600; font-size: .92rem; color: var(--cocoa); }
.optional { font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: var(--cream); border: 1.5px solid var(--line); border-radius: 10px; padding: .75em .9em; transition: border-color .15s, box-shadow .15s, background .15s; min-height: 48px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%233a2219' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 38px; }
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--caramel); background: var(--white); box-shadow: 0 0 0 4px rgba(194, 124, 53, .18); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--err); }
.field .error-msg { color: var(--err); font-size: .85rem; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }
.form-success { text-align: center; padding: 28px 10px; }
.form-success .check { width: 64px; height: 64px; border-radius: 50%; background: #e3f1e8; color: var(--ok); display: grid; place-items: center; margin: 0 auto 14px; font-size: 2rem; }

/* FAQ */
details { background: var(--white); border-radius: 12px; padding: 0 22px; margin-bottom: 12px; box-shadow: var(--shadow); }
summary { cursor: pointer; font-weight: 600; color: var(--cocoa); padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--caramel-dark); }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); padding-bottom: 6px; }

/* Footer */
.site-footer { background: var(--cocoa); color: #e8d9ca; padding: 44px 0; font-size: .93rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer a { color: #f5c891; }
.brand-footer { color: var(--white); margin-bottom: 10px; }
.brand-footer strong { color: #f5c891; }
.footer-meta { text-align: right; }
.footer-meta p { margin: 0 0 6px; }
.eho { display: inline-flex; align-items: center; gap: 6px; }
.eho svg { width: 18px; height: 18px; }
@media (max-width: 640px) { .footer-meta { text-align: left; } }

/* Gallery dialog */
.gallery { border: 0; padding: 0; width: min(1080px, 100vw - 24px); max-height: calc(100dvh - 24px); border-radius: 20px; background: var(--white); color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.gallery::backdrop { background: rgba(28, 16, 11, .72); backdrop-filter: blur(3px); }
.gallery-inner { display: flex; flex-direction: column; max-height: calc(100dvh - 24px); }
.gallery-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; padding: 18px 22px 12px; border-bottom: 1px solid var(--line); }
.gallery-head h3 { margin: 0; }
.gallery-area { margin: 2px 0 0; color: var(--caramel-dark); font-size: .88rem; font-weight: 600; }
.icon-btn { border: 0; background: var(--sand); color: var(--cocoa); width: 40px; height: 40px; border-radius: 50%; font-size: 1.6rem; line-height: 1; cursor: pointer; flex: none; }
.gallery-body { overflow-y: auto; padding: 16px 22px 24px; }
.gallery-stage { position: relative; margin: 0; background: #1d130f; border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 2; }
.gallery-stage img { width: 100%; height: 100%; object-fit: contain; }
.gallery-stage figcaption { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 8px; background: rgba(0, 0, 0, .55); color: var(--white); font-size: .85rem; }
.nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--cocoa); font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding-bottom: 4px; }
.nav-btn.prev { left: 12px; }
.nav-btn.next { right: 12px; }
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 4px; scrollbar-width: thin; }
.gallery-thumbs button { flex: none; width: 92px; aspect-ratio: 3 / 2; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: var(--sand); opacity: .7; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--caramel); opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-details { margin-top: 16px; }
.gallery-facts { font-weight: 700; color: var(--cocoa); }
.gallery-summary { color: var(--muted); }
.gallery-features { columns: 2; column-gap: 28px; display: block; }
.gallery-features li { break-inside: avoid; margin-bottom: 8px; }
@media (max-width: 640px) {
  .gallery { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .gallery-inner { max-height: 100dvh; height: 100%; }
  .gallery-body { padding: 12px 14px 20px; }
  .gallery-features { columns: 1; }
  .nav-btn { width: 38px; height: 38px; font-size: 1.6rem; }
}
