:root {
  /* BACKGROUNDS */
  --bg-deep:      #0E0D0B;   /* Primary — warm near-black */
  --bg-dark:      #161410;   /* Surface dark — charcoal roof */
  --bg-mid:       #1E1B16;   /* Surface mid — walnut shadow */
  --bg-light:     #272319;   /* Surface light — lifted panel */

  /* TEXT — ALL WARM WHITE, NEVER COLD */
  --text-primary: #F7F3EE;   /* Warm white (limestone highlight) */
  --text-70:      rgba(247,243,238,0.70);
  --text-40:      rgba(247,243,238,0.40);
  --text-15:      rgba(247,243,238,0.15);
  --text-06:      rgba(247,243,238,0.06);

  /* ACCENT — PRAIRIE GOLD (darker/richer than typical) */
  --gold:         #B8924A;   /* Deep prairie gold */
  --gold-light:   #D4B483;   /* Warm highlight */
  --gold-pale:    #E8D5B0;   /* Very light — use sparingly */
  --gold-dim:     rgba(184,146,74,0.30);
  --gold-glow:    rgba(184,146,74,0.12);

  /* NATURE TONES (from exterior materials) */
  --wood:         #8B6B47;   /* Teak wood mid */
  --wood-dark:    #5C3D1E;   /* Dark walnut */
  --wood-light:   #C4A882;   /* Limestone/sandstone */
  --stone:        #A09580;   /* Grey limestone */
  --stone-light:  #D4CFC6;   /* Pale limestone */
  --forest:       #2D3B2A;   /* Deep forest green */
  --forest-light: #4A6644;   /* Mid canopy */

  /* GLASS / BORDERS */
  --glass:        rgba(247,243,238,0.04);
  --glass-border: rgba(247,243,238,0.10);
  --glass-gold:   rgba(184,146,74,0.18);

  /* TYPOGRAPHY */
  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'Space Mono', monospace; /* For specs/numbers */

  /* SPACING */
  --gut:  clamp(20px, 5vw, 100px);
  --pad:  clamp(64px, 10vw, 140px);
  --gap:  clamp(16px, 2.5vw, 32px);
  --rad:  2px; /* Almost no rounding — Prairie is angular */

  /* EASING */
  --ease-silk: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-expo: cubic-bezier(0.87, 0, 0.13, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in:   cubic-bezier(0.4, 0, 1, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: auto; }
body {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--gold-dim); color: var(--text-primary); }
a { text-decoration: none; color: inherit; }
img, video { display: block; max-width: 100%; }
button { cursor: none; font-family: var(--font-body); border: none; background: none; }

/* TYPOGRAPHY SCALE */
.t-micro { font-family: var(--font-body); font-weight: 400; font-size: 10px; letter-spacing: 0.45em; text-transform: uppercase; }
.t-label { font-family: var(--font-body); font-weight: 500; font-size: 11px; letter-spacing: 0.35em; text-transform: uppercase; }
.t-overline { font-family: var(--font-body); font-weight: 400; font-size: 11px; letter-spacing: 0.45em; text-transform: uppercase; color: var(--text-40); }
.t-body-sm { font-family: var(--font-body); font-weight: 400; font-size: 13px; line-height: 1.65; color: var(--text-70); }
.t-body { font-family: var(--font-body); font-weight: 300; font-size: 15px; line-height: 1.85; color: var(--text-70); }
.t-body-lg { font-family: var(--font-body); font-weight: 300; font-size: 17px; line-height: 1.8; color: var(--text-70); }
.t-stat { font-family: var(--font-mono); font-weight: 400; font-size: 11px; letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase; }

/* DISPLAY TYPE */
.t-sm { font-family: var(--font-display); font-weight: 300; font-style: italic; font-size: clamp(22px,3vw,36px); line-height: 1.25; color: var(--text-primary); }
.t-md { font-family: var(--font-display); font-weight: 600; font-size: clamp(32px,4.5vw,56px); line-height: 1.08; letter-spacing: -0.02em; color: var(--text-primary); }
.t-lg { font-family: var(--font-display); font-weight: 600; font-style: italic; font-size: clamp(44px,7vw,88px); line-height: 0.97; letter-spacing: -0.02em; color: var(--text-primary); }
.t-xl { font-family: var(--font-display); font-weight: 700; font-size: clamp(60px,10vw,140px); line-height: 0.92; letter-spacing: -0.04em; color: var(--text-primary); }
.t-2xl { font-family: var(--font-display); font-weight: 700; font-size: clamp(72px,14vw,200px); line-height: 0.88; letter-spacing: -0.05em; color: var(--text-primary); }

/* CURSOR */
#cursor-dot {
  position: fixed; width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  top: 0; left: 0; z-index: 9999;
  transform: translate(-50%,-50%);
  pointer-events: none;
  transition: width 0.3s, height 0.3s, opacity 0.3s, transform 0.05s linear;
}
#cursor-ring {
  position: fixed; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(184,146,74,0.5);
  top: 0; left: 0; z-index: 9998;
  transform: translate(-50%,-50%);
  pointer-events: none;
  transition: width 0.35s var(--ease-silk), height 0.35s var(--ease-silk), border-color 0.35s, background 0.35s;
}

/* NAVBAR */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; height: 76px;
  z-index: 999; display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gut);
  transition: background 0.6s, border 0.4s;
  background: transparent; border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(14,13,11,0.94);
  backdrop-filter: blur(28px) saturate(1.5);
  border-bottom: 1px solid var(--glass-border);
}
.navbar-brand { display: flex; align-items: center; gap: 16px; }
.brand-logo-text { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--text-primary); letter-spacing: 0.08em; }
.brand-divider { width: 1px; height: 28px; background: linear-gradient(to bottom, transparent, var(--gold-dim), transparent); }
.brand-property { display: flex; flex-direction: column; gap: 2px; }
.brand-property .brand-name { font-family: var(--font-body); font-weight: 500; font-size: 10px; letter-spacing: 0.35em; color: var(--gold); text-transform: uppercase; }
.brand-property .brand-location { font-family: var(--font-body); font-weight: 300; font-size: 9px; letter-spacing: 0.2em; color: var(--text-40); text-transform: uppercase; }

.navbar-nav { display: flex; gap: 36px; align-items: center; }
.navbar-nav .nav-link {
  font-family: var(--font-body); font-weight: 400; font-size: 12px; letter-spacing: 0.18em;
  color: var(--text-40); text-transform: uppercase; position: relative; transition: color 0.35s;
}
.navbar-nav .nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--gold);
  transition: width 0.4s var(--ease-silk);
}
.navbar-nav .nav-link:hover { color: var(--text-primary); }
.navbar-nav .nav-link:hover::after { width: 100%; }
.navbar-nav .nav-link.active { color: var(--gold); }
.navbar-nav .nav-link.active::after { width: 100%; background: var(--gold); }

.navbar-actions { display: flex; align-items: center; gap: 16px; }
.btn-whatsapp {
  display: flex; align-items: center; gap: 8px; background: var(--gold); color: var(--bg-deep);
  font-family: var(--font-body); font-weight: 500; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 10px 24px; border-radius: var(--rad); transition: background 0.3s, transform 0.3s;
}
.btn-whatsapp svg { width: 16px; height: 16px; fill: currentColor; }
.btn-whatsapp:hover { background: var(--gold-light); transform: scale(1.03); }

.btn-nav-ghost {
  border: 1px solid var(--glass-border); color: var(--text-70); padding: 9px 22px;
  font-family: var(--font-body); font-weight: 500; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  border-radius: var(--rad); transition: all 0.3s;
}
.btn-nav-ghost:hover { border-color: var(--gold-dim); color: var(--text-primary); }

/* BUTTONS */
.btn-primary {
  background: var(--text-primary); color: var(--bg-deep);
  font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 16px 48px; border-radius: var(--rad); display: inline-flex; align-items: center; gap: 10px;
  transition: background 0.3s, transform 0.25s;
}
.btn-primary:hover { background: var(--gold-pale); transform: scale(1.02); }

.btn-gold {
  background: var(--gold); color: var(--bg-deep);
  font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 16px 48px; border-radius: var(--rad); display: inline-flex; align-items: center; gap: 10px;
  transition: background 0.3s, transform 0.25s;
}
.btn-gold:hover { background: var(--gold-light); }

.btn-ghost {
  background: transparent; border: 1px solid var(--glass-border); color: var(--text-primary);
  font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 16px 48px; border-radius: var(--rad); position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px; transition: border-color 0.45s;
}
.btn-ghost::before {
  content: ''; background: var(--glass); position: absolute; inset: 0;
  transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease-silk); z-index: -1;
}
.btn-ghost:hover::before { transform: scaleX(1); }
.btn-ghost:hover { border-color: var(--glass-gold); }

.btn-whatsapp-large {
  background: #25D366; color: #FFFFFF; font-family: var(--font-body); font-weight: 600; font-size: 13px;
  letter-spacing: 0.15em; text-transform: uppercase; padding: 18px 48px; border-radius: var(--rad);
  display: flex; align-items: center; justify-content: center; gap: 12px; box-shadow: 0 8px 40px rgba(37,211,102,0.25);
  transition: all 0.3s;
}
.btn-whatsapp-large svg { width: 20px; height: 20px; fill: white; }
.btn-whatsapp-large:hover { background: #1ebe5d; transform: scale(1.02); box-shadow: 0 12px 60px rgba(37,211,102,0.35); }

/* CARDS */
.card-base {
  background: var(--bg-dark); border: 1px solid var(--glass-border); border-radius: var(--rad);
  overflow: hidden; position: relative; transition: border-color 0.4s, transform 0.5s var(--ease-silk);
}
.card-base:hover { border-color: var(--glass-gold); transform: translateY(-6px); }

.card-glass {
  background: rgba(247,243,238,0.04); backdrop-filter: blur(12px); border: 1px solid var(--glass-border);
  border-radius: var(--rad); transition: all 0.4s var(--ease-silk);
}
.card-glass:hover { background: rgba(247,243,238,0.07); border-color: var(--glass-gold); }

/* SECTION WRAPPER */
.section-wrap { padding: var(--pad) var(--gut); }
.section-wrap--tight { padding: calc(var(--pad)*0.6) var(--gut); }
.container { max-width: 1440px; margin: 0 auto; width: 100%; }

.section-header { margin-bottom: clamp(48px,6vw,80px); }
.section-overline { font-family: var(--font-body); font-weight: 400; font-size: 11px; letter-spacing: 0.45em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.section-title { /* use .t-lg or .t-xl */ }
.section-sub { font-family: var(--font-body); font-weight: 300; font-size: 17px; line-height: 1.8; color: var(--text-70); max-width: 560px; margin-top: 20px; }
.gold-rule { height: 1px; background: linear-gradient(to right, var(--gold), transparent); width: 0; margin-top: 24px; }

/* LOADER */
#loader {
  position: fixed; inset: 0; background: var(--bg-deep); z-index: 9999;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
}
#loader-bg-gif { position: absolute; inset: 0; z-index: 0; }
#loader-bg-gif img { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
#loader-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 24px; }
#loader-brand { font-family: var(--font-display); font-weight: 700; font-size: 52px; color: var(--text-primary); letter-spacing: 0.12em; text-align: center; }
#loader-sub { font-family: var(--font-body); font-weight: 300; font-size: 12px; letter-spacing: 0.55em; color: var(--gold); text-transform: uppercase; opacity: 0; }
#loader-line { width: 0; height: 1px; max-width: 200px; background: linear-gradient(to right, var(--gold), var(--gold-light)); }
#loader-year { font-family: var(--font-mono); font-size: 11px; color: var(--text-40); letter-spacing: 0.3em; }

/* PROGRESS INDICATOR */
.progress-indicator {
  position: fixed; right: 28px; top: 50%; transform: translateY(-50%); z-index: 200;
  display: flex; flex-direction: column; gap: 12px; align-items: center;
}
.p-dot { width: 4px; height: 4px; border-radius: 50%; border: 1px solid var(--text-15); transition: all 0.45s var(--ease-silk); cursor: none; }
.p-dot.active { background: var(--gold); border-color: var(--gold); transform: scale(1.8); }
.p-dot:hover { border-color: var(--text-40); }
.p-line { width: 1px; height: 20px; background: var(--text-06); }

/* HORIZONTAL RULE */
.h-rule { width: 100%; height: 1px; background: linear-gradient(to right, transparent, var(--glass-border) 20%, var(--glass-border) 80%, transparent); }

/* FOOTER */
.footer { background: #090807; padding: 100px var(--gut) 48px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 80px; }
.footer-brand .footer-logo { font-family: var(--font-display); font-weight: 700; font-size: 32px; color: var(--text-primary); letter-spacing: 0.1em; }
.footer-brand .footer-tagline { font-family: var(--font-display); font-weight: 300; font-style: italic; font-size: 17px; color: var(--text-70); margin-top: 12px; }
.footer-brand .footer-address { font-family: var(--font-body); font-weight: 400; font-size: 13px; line-height: 1.9; color: var(--text-40); margin-top: 20px; }
.footer-brand .footer-socials { display: flex; gap: 12px; margin-top: 28px; }
.social-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--glass-border); color: var(--text-40);
  display: flex; align-items: center; justify-content: center; transition: all 0.3s;
}
.social-btn svg { width: 16px; height: 16px; fill: currentColor; }
.social-btn:hover { border-color: var(--gold-dim); color: var(--gold); background: rgba(184,146,74,0.08); }

.whatsapp-banner {
  background: linear-gradient(135deg, rgba(37,211,102,0.1), var(--bg-dark));
  border: 1px solid rgba(37,211,102,0.2); border-radius: var(--rad); padding: 28px 36px;
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 60px;
}
.whatsapp-banner-left h3 { font-family: var(--font-display); font-style: italic; font-size: 24px; color: var(--text-primary); font-weight: 400; }
.whatsapp-banner-left p { font-family: var(--font-body); font-weight: 400; font-size: 13px; color: var(--text-70); margin-top: 8px; }

.footer-col-title { font-family: var(--font-body); font-weight: 500; font-size: 11px; letter-spacing: 0.35em; color: var(--gold); margin-bottom: 24px; text-transform: uppercase; }
.footer-link {
  font-family: var(--font-body); font-weight: 400; font-size: 13px; color: var(--text-40);
  display: block; margin-bottom: 10px; transition: color 0.3s, padding-left 0.3s;
}
.footer-link:hover { color: var(--text-primary); padding-left: 6px; }

.footer-bottom { border-top: 1px solid var(--text-06); padding-top: 32px; display: flex; justify-content: space-between; align-items: center; }

@media(pointer: coarse) {
  #cursor-dot, #cursor-ring { display: none; }
  body { cursor: auto; }
  button, a { cursor: pointer; }
}
@media(prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
@media(max-width: 1200px) { /* clips naturally */ }
@media(max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 768px) {
  .navbar-nav, .navbar-actions .btn-nav-ghost { display: none; }
  .progress-indicator { display: none; }
  .whatsapp-banner { flex-direction: column; align-items: flex-start; gap: 20px; }
}
@media(max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .whatsapp-banner-left h3 { font-size: 20px; }
}
