/* ======================================================
   MIDWEST LUXURY HOME INTELLIGENCE
   midwestluxuryhomeintel.com
   Black / White / Copper
   ====================================================== */

:root {
  --black:        #0a0a0a;
  --off-black:    #111111;
  --dark-gray:    #1a1a1a;
  --mid-gray:     #2e2e2e;
  --light-gray:   #8a8a8a;
  --white:        #fafafa;
  --copper:       #b87333;
  --copper-light: #d4944a;
  --copper-pale:  #e8c49a;
  --copper-dim:   #7a4d24;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Montserrat', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* noise overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 4rem;
  background: rgba(10,10,10,0.93);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(184,115,51,0.18);
  transition: padding 0.3s;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-top {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav-logo-sub {
  font-family: var(--font-sans);
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--copper);
  text-transform: uppercase;
}

/* desktop link group */
.nav-right {
  display: flex;
  align-items: center;
  gap: 2.6rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light-gray);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--copper-light); }

.nav-cta {
  font-family: var(--font-sans);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black) !important;
  background: var(--copper);
  padding: 0.65rem 1.5rem;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--copper-light) !important; }

/* hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  z-index: 600;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s ease;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* mobile drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10,10,10,0.98);
  z-index: 400;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 5rem 3rem 3rem;
}
.nav-drawer.open {
  display: flex;
  opacity: 1;
}
.nav-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 360px;
}
.nav-drawer-links li {
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-drawer-links a {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--white);
  text-decoration: none;
  padding: 1.2rem 0;
  text-align: center;
  transition: color 0.2s;
  letter-spacing: 0.04em;
}
.nav-drawer-links a:hover,
.nav-drawer-links a.active { color: var(--copper-light); }
.nav-drawer-cta {
  margin-top: 2.4rem;
  font-family: var(--font-sans);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--black) !important;
  background: var(--copper);
  padding: 1rem 3rem;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
}
.nav-drawer-cta:hover { background: var(--copper-light); }
.nav-drawer-sub {
  margin-top: 2.4rem;
  font-family: var(--font-sans);
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(138,138,138,0.5);
  text-align: center;
}

/* ── UTILITY ── */
section { padding: 7rem 5rem; }

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--copper);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 3.5vw, 3.6rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.2rem;
}
.section-title em { font-style: italic; color: var(--copper-light); }

.section-body {
  font-size: 0.8rem;
  color: var(--light-gray);
  max-width: 560px;
  line-height: 1.85;
}

.copper-divider { width: 48px; height: 1px; background: var(--copper); margin: 2rem 0; }

/* ── BUTTONS ── */
.btn-primary {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--copper);
  padding: 1.05rem 2.6rem;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--copper-light); transform: translateY(-1px); }

.btn-ghost {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--copper-light); border-color: var(--copper-light); }

.btn-dark {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--black);
  padding: 1.05rem 2.4rem;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
}
.btn-dark:hover { background: var(--off-black); }

.btn-outline-dark {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--black);
  border: 1px solid rgba(10,10,10,0.4);
  padding: 1.05rem 2.4rem;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline-dark:hover { background: rgba(10,10,10,0.08); border-color: var(--black); }

/* ── CTA BAND ── */
.cta-band {
  background: var(--copper);
  padding: 5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4rem;
}
.cta-band-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 300;
  color: var(--black);
  line-height: 1.15;
}
.cta-band-title em { font-style: italic; }
.cta-band-body {
  font-size: 0.76rem;
  color: rgba(10,10,10,0.7);
  margin-top: 0.8rem;
  max-width: 440px;
}
.cta-band-actions { display: flex; gap: 1.2rem; flex-shrink: 0; }

/* ── PAGE HERO ── */
.page-hero {
  padding: 12rem 5rem 6rem;
  background: var(--off-black);
  border-bottom: 1px solid rgba(184,115,51,0.14);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 5rem;
  right: 5rem;
  height: 1px;
  background: linear-gradient(to right, var(--copper), transparent);
}
.page-hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.page-hero-eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--copper); }
.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.6rem;
}
.page-hero-title em { font-style: italic; color: var(--copper-light); }
.page-hero-body {
  font-size: 0.84rem;
  color: var(--light-gray);
  max-width: 580px;
  line-height: 1.9;
}

/* ── TICKER ── */
.ticker-bar {
  background: var(--dark-gray);
  border-top: 1px solid rgba(184,115,51,0.2);
  border-bottom: 1px solid rgba(184,115,51,0.2);
  padding: 0.75rem 0;
  overflow: hidden;
}
.ticker-inner {
  display: flex;
  gap: 4rem;
  animation: ticker 32s linear infinite;
  width: max-content;
}
@keyframes ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.ticker-item {
  font-family: var(--font-sans);
  font-size: 0.54rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light-gray);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.ticker-item .dot { width: 4px; height: 4px; background: var(--copper); border-radius: 50%; }

/* ── FOOTER ── */
footer {
  background: var(--dark-gray);
  border-top: 1px solid rgba(184,115,51,0.18);
  padding: 5rem 5rem 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}
.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}
.footer-brand-sub {
  font-family: var(--font-sans);
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1.4rem;
}
.footer-brand-desc {
  font-size: 0.7rem;
  color: var(--light-gray);
  line-height: 1.8;
  max-width: 300px;
}
.footer-col-title {
  font-family: var(--font-sans);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1.4rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-links a {
  font-size: 0.7rem;
  color: var(--light-gray);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.03em;
}
.footer-links a:hover { color: var(--copper-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer-copy { font-size: 0.58rem; color: rgba(138,138,138,0.6); letter-spacing: 0.05em; }
.footer-url { font-family: var(--font-serif); font-size: 0.7rem; font-style: italic; color: rgba(184,115,51,0.5); white-space: nowrap; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
.fade-up   { animation: fadeUp 0.7s ease both; }
.fade-up-1 { animation: fadeUp 0.7s ease both; animation-delay: 0.15s; }
.fade-up-2 { animation: fadeUp 0.7s ease both; animation-delay: 0.3s; }
.fade-up-3 { animation: fadeUp 0.7s ease both; animation-delay: 0.45s; }
.fade-up-4 { animation: fadeUp 0.7s ease both; animation-delay: 0.6s; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  nav { padding: 1.1rem 2rem; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}

@media (max-width: 900px) {
  section { padding: 5rem 2.5rem; }
  .page-hero { padding: 9rem 2.5rem 5rem; }
  .page-hero::after { left: 2.5rem; right: 2.5rem; }
  .cta-band { grid-template-columns: 1fr; padding: 4rem 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  footer { padding: 5rem 2.5rem 3rem; }
}
