/* ===========================
   GILDED — ESTATE CONCIERGE
   Theme: Warm, Editorial, Premium
   =========================== */

:root {
  --bg:        #FAF6F0;
  --bg-alt:    #F2EDE3;
  --fg:        #2C2416;
  --fg-muted:  #7A6E5A;
  --accent:    #B8860B;
  --accent-lt: #D4A843;
  --border:    #E0D8CA;
  --white:     #FFFFFF;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── HEADER ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.header-nav {
  display: flex;
  gap: 32px;
}

.header-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.header-nav a:hover { color: var(--accent); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, #F5EFE6 0%, #EDE5D6 100%);
  clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 0;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 500;
  line-height: 1.18;
  color: var(--fg);
  margin-bottom: 28px;
}

.hero-lede {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 480px;
}

.hero-illustration {
  display: flex;
  justify-content: flex-end;
}

.illustration-frame {
  width: 100%;
  max-width: 460px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow:
    0 4px 6px rgba(44, 36, 22, 0.04),
    0 12px 40px rgba(44, 36, 22, 0.08);
}

.illustration-frame svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ── MANIFESTO ── */
.manifesto {
  background: var(--fg);
  color: var(--bg);
  padding: 100px 0;
}

.manifesto-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 80px;
  align-items: start;
}

.manifesto-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-lt);
  padding-top: 8px;
  border-top: 1px solid rgba(184, 134, 11, 0.4);
}

.manifesto-statement {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 28px;
  color: var(--bg);
}

.manifesto-statement em {
  color: var(--accent-lt);
  font-style: italic;
}

.manifesto-detail {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(250, 246, 240, 0.72);
  max-width: 600px;
  margin-bottom: 60px;
}

.manifesto-stats {
  display: flex;
  gap: 0;
  align-items: center;
  border-top: 1px solid rgba(250, 246, 240, 0.12);
  padding-top: 48px;
}

.stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--accent-lt);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(250, 246, 240, 0.55);
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(250, 246, 240, 0.15);
  margin: 0 40px;
  flex-shrink: 0;
}

/* ── HOW IT WORKS ── */
.how-it-works {
  background: var(--bg);
  padding: 100px 0;
}

.how-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 64px;
  max-width: 560px;
  line-height: 1.25;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.step {
  position: relative;
  padding-top: 32px;
}

.step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--accent);
  opacity: 0.6;
}

.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  opacity: 0.7;
}

.step-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 12px;
  line-height: 1.3;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

.pricing-note {
  margin-top: 64px;
  padding: 24px 32px;
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  max-width: 480px;
}

.pricing-note p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  font-style: italic;
}

/* ── CLOSING ── */
.closing {
  background: var(--bg-alt);
  padding: 100px 0;
  text-align: center;
}

.closing-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 40px;
}

.closing-ornament {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.closing-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 24px;
  line-height: 1.2;
}

.closing-body {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--fg);
  color: var(--bg);
  padding: 56px 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--bg);
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(250, 246, 240, 0.55);
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250, 246, 240, 0.35);
  margin-bottom: 32px;
}

.footer-sep { color: rgba(250, 246, 240, 0.2); }

.footer-copy {
  font-size: 0.75rem;
  color: rgba(250, 246, 240, 0.3);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .manifesto-inner { grid-template-columns: 1fr; gap: 40px; }
  .manifesto-label { border-top: none; padding-top: 0; }
}

@media (max-width: 768px) {
  .header-inner { padding: 0 24px; }
  .header-nav { gap: 20px; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 60px 24px;
  }
  .hero::before { display: none; }
  .hero-illustration { justify-content: center; }
  .illustration-frame { max-width: 360px; }
  .manifesto-inner { padding: 0 24px; }
  .how-inner { padding: 0 24px; }
  .closing-inner { padding: 0 24px; }
  .footer-inner { padding: 0 24px; }
  .steps-grid { grid-template-columns: 1fr; }
  .manifesto-stats { flex-direction: column; gap: 32px; }
  .stat-divider { width: 48px; height: 1px; margin: 0; }
}

@media (max-width: 480px) {
  .header-nav a { font-size: 0.75rem; }
  .header-nav { gap: 16px; }
  .logo { font-size: 1.2rem; }
}