/* ==========================================================================
   Molinari Park — Design System
   Palette: Linna (cream) / Marn (stone) / Wainscot (olive accent) / Moro (espresso ink)
   Type: Montserrat (display, uppercase/wide) + Inter (body/UI)
   ========================================================================== */

:root {
  /* Linna / Marn / Wainscot / Moro palette */
  --cream: #eae8e1;       /* Linna */
  --cream-dark: #ddd8cb;  /* Linna, deepened */
  --paper: #f3f1ec;       /* Linna, lightened — card/form surfaces */
  --charcoal: #342925;    /* Moro */
  --ink: #3d322d;         /* Moro, lightened for body copy */
  --ink-soft: #6f6459;    /* Moro/Marn blend — secondary text */
  --stone: #b9b0a0;       /* Marn */
  --stone-light: #d3ccbe; /* Marn, lightened — text on dark */
  --gold: #625e44;        /* Wainscot — primary accent */
  --gold-dark: #4a4735;   /* Wainscot, darkened — hover states */
  --sage: #625e44;        /* Wainscot */
  --sage-dark: #454232;   /* Wainscot, darkened — section backgrounds */
  --line: rgba(52, 41, 37, 0.12);
  --white: #ffffff;

  --font-display: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-pad: clamp(4rem, 9vw, 8rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.25;
  margin: 0 0 0.5em;
  color: var(--charcoal);
  letter-spacing: 0.03em;
}

p {
  margin: 0 0 1em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section {
  padding: var(--section-pad) 0;
}

/* ---------- Utility type ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1.1em;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold-dark);
  display: inline-block;
}

.eyebrow.center {
  justify-content: center;
}

.section-head {
  max-width: 640px;
  margin-bottom: 3rem;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); letter-spacing: 0.015em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); letter-spacing: 0.02em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); letter-spacing: 0.03em; }
h4 { font-size: 1rem; letter-spacing: 0.05em; }

.serif-italic {
  font-style: normal;
  color: var(--gold-dark);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95em 2.1em;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--charcoal);
  color: var(--cream);
  border-color: var(--charcoal);
}

.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.btn-outline:hover {
  background: var(--charcoal);
  color: var(--cream);
}

.btn-outline.on-dark {
  color: var(--cream);
  border-color: rgba(246, 241, 232, 0.5);
}

.btn-outline.on-dark:hover {
  background: var(--cream);
  color: var(--charcoal);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

.btn-block {
  width: 100%;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 1.6rem 0;
  transition: all 0.4s var(--ease);
  background: transparent;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-header.solid {
  background: var(--cream);
  padding: 0.9rem 0;
  box-shadow: 0 1px 0 var(--line);
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo small {
  font-family: var(--font-body);
  font-size: 0.55rem;
  letter-spacing: 0.32em;
  font-weight: 600;
  color: var(--stone-light);
  margin-top: 0.4em;
}

.site-header.solid .logo,
body.dark-header .logo {
  color: #ffffff;
}

.site-header.solid .logo small,
body.dark-header .logo small {
  color: #ffffff;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

.main-nav a {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.3s var(--ease);
  position: relative;
  padding-bottom: 4px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.site-header.solid .main-nav a,
body.dark-header .main-nav a {
  color: #ffffff;
}

.main-nav a.nav-cta {
  color: var(--white) !important;
  background: var(--gold);
  padding: 0.7em 1.4em;
  border-radius: 2px;
}

.main-nav a.nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 26px;
  height: 20px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 210;
  padding: 0;
}

.nav-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--white);
  transition: all 0.3s var(--ease);
}

.site-header.solid .nav-toggle span,
body.dark-header .nav-toggle span {
  background: var(--charcoal);
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 9px; }
.nav-toggle span:nth-child(3) { top: 18px; }

body.nav-open .nav-toggle span {
  background: var(--charcoal) !important;
}

body.nav-open .nav-toggle span:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}
body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
body.nav-open .nav-toggle span:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: var(--charcoal);
  overflow: hidden;
  background: #ffffff;
}

.hero-media,
.sub-hero .hero-media {
  position: absolute !important;
  inset: 0;
  z-index: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(52, 41, 37, 0.4) 0%, rgba(52, 41, 37, 0.28) 40%, rgba(52, 41, 37, 0.82) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: 5.5rem;
  padding-top: 10rem;
  text-align: center;
}

.hero-content h1,
.hero-content .lede {
  margin-left: auto;
  margin-right: auto;
}

.hero .eyebrow {
  color: #ffffff;
}

.hero .eyebrow::before {
  background: #ffffff;
}

.hero h1 {
  color: #ffffff;
  max-width: 100%;
  white-space: nowrap;
  font-size: clamp(1.3rem, 4vw, 3rem);
  letter-spacing: 0.05em;
}

.hero p.lede {
  max-width: 560px;
  font-size: 1.15rem;
  color: #ffffff;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-actions .btn-primary {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: #ffffff;
}

.hero-actions .btn-primary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
  color: #ffffff;
}

.hero-actions .btn-outline {
  color: #ffffff;
  border-color: #ffffff;
}

.hero-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: #ffffff;
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  right: var(--gutter);
  z-index: 1;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.scroll-cue .line {
  width: 1px;
  height: 42px;
  background: rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
}

.scroll-cue .line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  animation: scrollcue 1.8s infinite ease-in-out;
}

@keyframes scrollcue {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

/* ---------- Placeholder art (stand-in imagery) ---------- */

.ph {
  position: relative;
  background: linear-gradient(135deg, var(--stone-light) 0%, var(--cream-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--stone);
}

.ph svg {
  width: 42%;
  height: 42%;
  opacity: 0.55;
}


.ph-tag {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(52, 41, 37, 0.78);
  color: var(--cream);
  padding: 0.35em 0.7em;
  border-radius: 2px;
  z-index: 2;
}

.hero-media.ph svg { width: 30%; height: 30%; }

/* ---------- Stats bar ---------- */

.stats-bar {
  background: var(--charcoal);
  color: var(--cream);
  padding: 3.2rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat h3 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 0.2em;
}

.stat span {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone-light);
}

/* ---------- Intro / welcome (minimal "Our Approach" style) ---------- */

.intro {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}

.intro-media {
  aspect-ratio: 4 / 5;
  border-radius: 2px;
}

.intro-copy {
  max-width: 460px;
}

.intro-copy .eyebrow-minimal {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.6rem;
}

.intro-copy .tagline-italic {
  display: block;
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  color: var(--charcoal);
  line-height: 1.5;
  margin-bottom: 1.6rem;
}

.intro-copy h2.heading-minimal {
  text-transform: none;
  font-weight: 500;
  letter-spacing: normal;
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  margin-bottom: 1.1rem;
}

.intro-copy p {
  color: var(--ink-soft);
  font-size: 1rem;
}

.link-underline {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--charcoal);
  border-bottom: 1px solid var(--charcoal);
  padding-bottom: 0.2em;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.link-underline:hover {
  gap: 0.85em;
  color: var(--gold-dark);
  border-color: var(--gold-dark);
}

/* ---------- Grid / cards ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* Flat, editorial product-grid card — image bleeds, chrome is minimal */
.card {
  background: transparent;
  border: none;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
}

.card:hover .card-media {
  opacity: 0.92;
}

.card-media {
  aspect-ratio: 4 / 5;
  transition: opacity 0.45s var(--ease);
}

.card-body {
  padding: 1.3rem 0 0;
}

.card-body .tag-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.8rem;
}

.card-body h3 {
  margin-bottom: 0.35em;
}

.card-body .specs {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35em 0.75em;
  border-radius: 20px;
}

.status-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status-available {
  background: rgba(98, 94, 68, 0.16);
  color: var(--sage-dark);
}

.status-reserved {
  background: rgba(52, 41, 37, 0.1);
  color: var(--gold-dark);
}

.status-sold {
  background: rgba(185, 176, 160, 0.3);
  color: var(--ink-soft);
}

/* ---------- Feature list ---------- */

.feature-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.feature-col h4 {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone-light);
  margin-bottom: 1.1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.feature-col li {
  font-size: 0.94rem;
  color: rgba(234, 232, 225, 0.88);
  padding: 0.5em 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.feature-col li:last-child {
  border-bottom: none;
}

/* ---------- Color-block feature (flat rectangle + oversized word) ---------- */

.color-feature {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 0;
  align-items: stretch;
  min-height: 420px;
}

.color-feature.flip {
  grid-template-columns: 1.15fr 1fr;
}

.color-feature.flip .color-feature-copy {
  order: 2;
}

.color-feature.flip .color-feature-block {
  order: 1;
}

.color-feature-block {
  min-height: 320px;
}

.color-feature-block.tone-sage { background: var(--sage-dark); }
.color-feature-block.tone-charcoal { background: var(--charcoal); }
.color-feature-block.tone-stone { background: var(--stone-light); }

.color-feature-copy {
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 5vw, 5rem);
}

.color-feature-copy .eyebrow { margin-bottom: 0.8em; }

.color-feature-copy h2 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1;
  margin-bottom: 0.3em;
}

.color-feature-copy p {
  max-width: 420px;
  color: var(--ink-soft);
}

/* ---------- Collage (asymmetric image pairing on dark ground) ---------- */

.collage-section {
  background: var(--charcoal);
  padding: var(--section-pad) 0;
}

.collage-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.collage-copy p {
  color: var(--stone-light);
}

.collage-stack {
  position: relative;
}

.collage-main {
  aspect-ratio: 16/11;
}

.collage-accent {
  position: absolute;
  width: 38%;
  aspect-ratio: 1/1;
  top: -12%;
  right: -8%;
  border: 6px solid var(--charcoal);
  box-shadow: 0 20px 44px -18px rgba(0,0,0,0.55);
}

@media (max-width: 780px) {
  .collage-accent {
    top: auto;
    bottom: -10%;
    right: auto;
    left: -6%;
  }
}

/* ---------- Split / dark sections ---------- */

.section-dark {
  background: var(--charcoal);
  color: var(--stone-light);
}

.section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--white);
}

.section-dark .section-head p {
  color: var(--stone-light);
}

.section-sage {
  background: var(--sage-dark);
  color: var(--cream);
}

.section-sage h2 {
  color: var(--white);
}

/* ---------- Why Eagle stats ---------- */

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.why-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
  margin-top: 2rem;
}

.why-stats .stat h3 {
  color: var(--charcoal);
  text-align: left;
}

.why-stats .stat span {
  text-align: left;
  display: block;
  color: var(--charcoal);
}

/* ---------- Testimonials ---------- */

.quote-block {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.quote-block blockquote {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  color: var(--white);
  margin: 0 0 1.2rem;
  line-height: 1.55;
}

.quote-block cite {
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
}

.builder-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}

.builder-badge {
  text-align: center;
}

.builder-badge h3 {
  font-size: 1.9rem;
  margin-bottom: 0.1em;
}

.builder-badge span {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Phase 2 teaser banner ---------- */

.phase2-banner {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  color: var(--white);
  padding: clamp(3rem, 8vw, 6rem) clamp(2rem, 6vw, 5rem);
  text-align: center;
}

.phase2-banner .banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.phase2-banner .banner-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,18,15,.55), rgba(20,18,15,.82));
}

.phase2-banner > * {
  position: relative;
  z-index: 1;
}

.phase2-banner .eyebrow {
  justify-content: center;
  color: var(--gold);
}

.phase2-banner .eyebrow::before { background: var(--gold); }

.phase2-banner h2 {
  color: var(--white);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.phase2-banner p {
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- FAQ Accordion ---------- */

.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--charcoal);
  padding: 1.5rem 0;
  cursor: pointer;
}

.faq-q .plus {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
}

.faq-q .plus::before,
.faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--gold-dark);
  transition: transform 0.35s var(--ease);
}

.faq-q .plus::before {
  left: 0; top: 50%; width: 100%; height: 1px;
}

.faq-q .plus::after {
  top: 0; left: 50%; width: 1px; height: 100%;
}

.faq-item.open .plus::after {
  transform: rotate(90deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-a-inner {
  padding-bottom: 1.6rem;
  color: var(--ink-soft);
  max-width: 680px;
}

/* ---------- Contact ---------- */

.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
}

.contact-info h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.5em;
}

.contact-info .info-block {
  margin-bottom: 2rem;
}

.field {
  display: flex;
  flex-direction: column;
}

.field label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  border-radius: 2px;
  transition: border-color 0.3s var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.8rem;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field:last-of-type {
  margin-bottom: 2rem;
}

.form-note {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 0.8rem;
}

.form-success {
  display: none;
  background: rgba(98,107,82,0.12);
  border: 1px solid var(--sage);
  color: var(--sage-dark);
  padding: 1rem 1.2rem;
  border-radius: 2px;
  font-size: 0.92rem;
  margin-bottom: 1.3rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--charcoal);
  color: var(--stone-light);
  padding: 4.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-grid .logo {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-grid p {
  font-size: 0.9rem;
  color: var(--stone-light);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.1rem;
}

.footer-col li {
  margin-bottom: 0.7rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--stone-light);
  transition: color 0.3s var(--ease);
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}

/* ---------- Breadcrumb / sub hero (interior pages) ---------- */

.sub-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}

.sub-hero-content {
  position: relative;
  z-index: 1;
  padding: 10rem 0 4rem;
}

.sub-hero .eyebrow {
  color: #ffffff;
}

.sub-hero .eyebrow::before {
  background: #ffffff;
}

.sub-hero h1 {
  color: #ffffff;
  font-size: clamp(1.3rem, 4vw, 3rem);
  letter-spacing: 0.05em;
}

.sub-hero .lede {
  color: #ffffff;
}

.breadcrumb {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.2rem;
}

.breadcrumb a:hover { color: var(--gold); }

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  transition-delay: calc(var(--i, 0) * 0.08s);
}

.reveal.reveal-scale {
  transform: scale(0.94) translateY(0);
}

.reveal.reveal-scale.in-view {
  transform: scale(1) translateY(0);
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(52, 41, 37, 0.97);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  width: min(1000px, 100%);
  aspect-ratio: 16/10;
  position: relative;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  cursor: pointer;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background 0.3s var(--ease);
}

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox-close { top: -60px; right: 0; }
.lightbox-prev { left: -60px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: -60px; top: 50%; transform: translateY(-50%); }

.lightbox-caption {
  position: absolute;
  bottom: -44px;
  left: 0;
  color: var(--stone-light);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

/* ---------- Filters (floorplans page) ---------- */

.filter-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.6em 1.3em;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 20px;
  transition: all 0.3s var(--ease);
}

.filter-btn:hover {
  border-color: var(--gold);
}

.filter-btn.active {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--cream);
}

/* ---------- Countdown (phase 2) ---------- */

.countdown {
  display: flex;
  gap: clamp(1rem, 4vw, 2.5rem);
  justify-content: center;
  margin: 2.5rem 0;
  flex-wrap: wrap;
}

.countdown .unit {
  text-align: center;
  min-width: 76px;
}

.countdown .unit strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--white);
}

.countdown .unit span {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone-light);
}

/* ---------- Notify form ---------- */

.notify-form {
  display: flex;
  gap: 0.8rem;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.notify-form input {
  flex: 1;
  min-width: 220px;
  padding: 1em 1.2em;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-family: var(--font-body);
  border-radius: 2px;
}

.notify-form input::placeholder {
  color: rgba(255,255,255,0.55);
}

.notify-form input:focus {
  outline: none;
  border-color: var(--gold);
}

/* ---------- Street tag chips (phase 2 plat) ---------- */

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.chip {
  padding: 0.5em 1.1em;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  font-size: 0.78rem;
  color: var(--stone-light);
}

/* ---------- Map embed frame ---------- */

.map-frame {
  aspect-ratio: 16/9;
  border: 1px solid var(--line);
  overflow: hidden;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Interactive plat map (Phase 2) ---------- */

.plat-frame {
  position: relative;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 2px;
  overflow: hidden;
}

.plat-watercolor {
  position: absolute;
  inset: -15%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 12% 18%, rgba(98, 94, 68, 0.32), transparent 55%),
    radial-gradient(ellipse at 82% 12%, rgba(185, 176, 160, 0.4), transparent 50%),
    radial-gradient(ellipse at 75% 82%, rgba(74, 71, 53, 0.28), transparent 55%),
    radial-gradient(ellipse at 18% 85%, rgba(211, 204, 190, 0.42), transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(243, 241, 236, 0.65), transparent 60%);
  filter: blur(42px) saturate(1.08);
}

.plat-svg-wrap {
  position: relative;
  z-index: 1;
  padding: clamp(1rem, 3vw, 2.2rem);
}

svg.plat-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.plat-svg .boundary-label {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  fill: var(--ink-soft);
}

.plat-svg .lane-label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  fill: var(--ink-soft);
}

.lot {
  cursor: pointer;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.25s var(--ease), filter 0.25s var(--ease);
}

.lot:hover,
.lot:focus,
.lot.active {
  transform: scale(1.1);
  filter: drop-shadow(0 8px 14px rgba(52, 41, 37, 0.35));
  outline: none;
}

.lot rect {
  stroke: var(--charcoal);
  stroke-width: 1;
  transition: fill 0.25s var(--ease);
}

.lot text {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  fill: var(--cream);
  stroke: var(--charcoal);
  stroke-width: 2px;
  paint-order: stroke;
  pointer-events: none;
}

.lot.status-available rect { fill: rgba(98, 94, 68, 0.6); }
.lot.status-reserved rect { fill: rgba(52, 41, 37, 0.55); }
.lot.status-sold rect { fill: rgba(185, 176, 160, 0.65); }

.plat-tooltip {
  position: absolute;
  z-index: 5;
  pointer-events: none;
  background: var(--charcoal);
  color: var(--cream);
  padding: 0.55em 0.9em;
  border-radius: 2px;
  font-size: 0.78rem;
  transform: translate(-50%, -125%);
  opacity: 0;
  transition: opacity 0.15s var(--ease);
  white-space: nowrap;
}

.plat-tooltip.show {
  opacity: 1;
}

.plat-tooltip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.15em;
}

.plat-tooltip .status-tag {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.64rem;
  color: var(--stone-light);
}

.plat-legend {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.plat-legend .item {
  display: flex;
  align-items: center;
  gap: 0.55em;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.plat-legend .swatch {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 1px solid var(--charcoal);
}

.plat-legend .swatch.available { background: rgba(98, 94, 68, 0.6); }
.plat-legend .swatch.reserved { background: rgba(52, 41, 37, 0.55); }
.plat-legend .swatch.sold { background: rgba(185, 176, 160, 0.65); }

.plat-note {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 1.25rem;
  max-width: 640px;
}

/* ---------- Back to top / misc ---------- */

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }

  body.nav-open .main-nav {
    display: flex;
    position: fixed;
    inset: 0;
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 199;
  }

  body.nav-open .main-nav a {
    color: var(--charcoal);
    font-size: 1rem;
  }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .intro, .why-grid, .contact-wrap { grid-template-columns: 1fr; }
  .color-feature, .color-feature.flip { grid-template-columns: 1fr; min-height: 0; }
  .color-feature.flip .color-feature-copy,
  .color-feature.flip .color-feature-block { order: initial; }
  .color-feature-block { min-height: 220px; }
  .collage-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .feature-cols { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .why-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
  .lightbox-close { top: 6px; right: 6px; }
  .hero h1 { font-size: 1.6rem; letter-spacing: -0.04em; white-space: nowrap !important; }
}

@media (max-width: 640px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .feature-cols { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .builder-row { gap: 1.8rem; }
  .lightbox-prev, .lightbox-next { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
