/* 3554 SW 26th St — Pre-construction landing */
:root {
  --cream: #f7f3ec;
  --cream-dark: #efe8dc;
  --sand: #e4d8c8;
  --taupe: #a89480;
  --bronze: #6b5748;
  --ink: #2c2925;
  --ink-soft: #5a534b;
  --muted: #8a8176;
  --white: #fffcf8;
  --line: rgba(44, 41, 37, 0.12);
  --shadow: 0 18px 50px rgba(44, 41, 37, 0.12);
  --radius: 18px;
  --font: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--bronze); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe);
  font-weight: 600;
  margin: 0 0 0.75rem;
}
h1, h2, h3 {
  font-family: var(--font);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
.lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 38rem;
}
.price-tag {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.55rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,252,248,0.7);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(247, 243, 236, 0.88);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}
.brand {
  font-family: var(--font);
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.brand span { color: var(--muted); font-size: 0.85rem; margin-left: 0.4rem; }
.nav { display: flex; gap: 1.25rem; align-items: center; }
.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
}
.nav a:hover { color: var(--ink); }
.nav .cta {
  background: var(--ink);
  color: var(--cream) !important;
  padding: 0.55rem 1rem;
  border-radius: 999px;
}
.nav .cta:hover { background: var(--bronze); }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media picture, .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28, 24, 20, 0.18) 0%, rgba(28, 24, 20, 0.55) 55%, rgba(28, 24, 20, 0.78) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 5rem 0 3.5rem;
}
.hero .eyebrow { color: rgba(255,252,248,0.78); }
.hero h1 { color: var(--white); max-width: 14ch; }
.hero .lede { color: rgba(255,252,248,0.88); margin-top: 1rem; }
.hero .price-tag {
  background: rgba(255,252,248,0.12);
  border-color: rgba(255,252,248,0.28);
  color: rgba(255,252,248,0.92);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 1.75rem;
  font-size: 0.92rem;
  color: rgba(255,252,248,0.78);
}
.hero-meta strong { color: var(--white); font-weight: 600; }

/* Sections */
section { padding: 5rem 0; }
.section-head {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
  max-width: 40rem;
}

/* Residences */
.residences {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}
.unit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.unit-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.unit-card .gallery {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--sand);
  overflow: hidden;
}
.unit-card .gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease;
}
.gallery-nav {
  position: absolute;
  inset: auto 0.75rem 0.75rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  pointer-events: none;
}
.gallery-nav button {
  pointer-events: auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255,252,248,0.92);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
.gallery-nav button:hover { background: var(--white); }
.gallery-dots {
  position: absolute;
  left: 50%;
  bottom: 0.9rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.35rem;
}
.gallery-dots button {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(255,252,248,0.45);
  padding: 0;
  cursor: pointer;
}
.gallery-dots button[aria-current="true"] { background: var(--white); width: 18px; border-radius: 999px; }
.unit-body { padding: 1.5rem 1.5rem 1.75rem; display: grid; gap: 0.85rem; flex: 1; }
.unit-body .caption {
  min-height: 3.2em;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.unit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
}
.tag {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bronze);
  background: var(--cream-dark);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
}

/* Site */
.site-section { background: var(--white); }
.site-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: start;
}
.plan-frame {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  overflow: hidden;
}
.plan-frame img {
  width: 100%;
  max-height: 720px;
  object-fit: contain;
  margin-inline: auto;
}
.plan-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.75rem;
}
.fact-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.9rem;
}
.fact-list li {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--cream);
}
.fact-list strong {
  display: block;
  font-family: var(--font);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}
.fact-list span { color: var(--ink-soft); font-size: 0.95rem; }

/* Location */
.location {
  background:
    radial-gradient(circle at top right, rgba(168,148,128,0.18), transparent 40%),
    var(--cream);
}
.location-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}
.map-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--sand);
  min-height: 280px;
  position: relative;
  aspect-ratio: 4/3;
}
.map-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
}
.map-label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(255,252,248,0.94);
  padding: 0.7rem 0.95rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.map-label strong { display: block; font-family: var(--font); }
.map-label span { font-size: 0.85rem; color: var(--ink-soft); }

/* Inquiry */
.inquiry {
  background: var(--ink);
  color: var(--cream);
}
.inquiry .eyebrow { color: var(--taupe); }
.inquiry h2 { color: var(--cream); }
.inquiry .lede { color: rgba(247,243,236,0.78); }
.inquiry-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}
.inquiry-aside {
  display: grid;
  gap: 1rem;
}
.inquiry-aside a { color: var(--cream); }
.inquiry-aside .price-tag {
  background: rgba(255,252,248,0.06);
  border-color: rgba(255,252,248,0.18);
  color: rgba(247,243,236,0.9);
  width: fit-content;
}
.form {
  background: rgba(255,252,248,0.06);
  border: 1px solid rgba(255,252,248,0.12);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.4rem;
  display: grid;
  gap: 0.9rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(247,243,236,0.7);
}
input, select, textarea {
  width: 100%;
  border: 1px solid rgba(255,252,248,0.16);
  background: rgba(255,252,248,0.08);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  color: var(--cream);
  outline: none;
}
input::placeholder, textarea::placeholder { color: rgba(247,243,236,0.4); }
input:focus, select:focus, textarea:focus {
  border-color: rgba(255,252,248,0.4);
  background: rgba(255,252,248,0.12);
}
select option { color: var(--ink); }
textarea { min-height: 120px; resize: vertical; }
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.25rem;
}
.btn {
  appearance: none;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  background: var(--cream);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.btn:hover { background: var(--white); }
.form-note {
  font-size: 0.82rem;
  color: rgba(247,243,236,0.55);
}
.form-status {
  min-height: 1.2em;
  font-size: 0.9rem;
  color: #d8c7a8;
}

/* Disclaimer / footer */
.disclaimer {
  padding: 2.5rem 0 1.5rem;
  background: var(--cream-dark);
  border-top: 1px solid var(--line);
}
.disclaimer p {
  margin: 0 0 0.85rem;
  font-size: 0.84rem;
  color: var(--muted);
  max-width: 58rem;
}
.site-footer {
  padding: 1.5rem 0 2.5rem;
  background: var(--cream-dark);
  color: var(--muted);
  font-size: 0.85rem;
}
.site-footer .bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(20,18,16,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255,252,248,0.92);
  cursor: pointer;
  font-size: 1.2rem;
}

@media (max-width: 900px) {
  .unit-grid,
  .site-layout,
  .location-grid,
  .inquiry-grid,
  .form-row,
  .elev-grid {
    grid-template-columns: 1fr;
  }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(247,243,236,0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.25rem 1rem;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.7rem 0; }
  .nav .cta { text-align: center; }
  .hero { min-height: 72vh; }
  section { padding: 3.5rem 0; }
}
