/* =====================================
   DESIGN GENESIS — THEME CSS
   Opulence. Warmth. All-Welcoming.
===================================== */

:root {
  --forest: #1B3A2A;
  --forest-light: #2A5040;
  --gold: #C9A84C;
  --gold-light: #D4B96A;
  --gold-dim: rgba(201,168,76,0.3);
  --ivory: #F5F0E8;
  --ivory-warm: #EDE6D6;
  --charcoal: #1A1A18;
  --ember: #8B3A2A;
  --pearl: #FAF7F2;
  --sage: #7A9E7E;
  --terracotta: #C9784A;
  --text-primary: #1B3A2A;
  --text-secondary: #5A6E60;
  --text-muted: #9AADA6;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--ivory);
  color: var(--text-primary);
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ===== NAV ===== */
.dg-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 48px;
  background: linear-gradient(to bottom, rgba(245,240,232,0.95) 0%, rgba(245,240,232,0) 100%);
}

.dg-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dg-nav-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dg-nav-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: 0.04em;
}

.dg-nav-tagline {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-left {
  padding: 80px 60px 80px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--ivory);
  position: relative;
  z-index: 2;
}

.hero-overline {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
  font-weight: 500;
}

.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 6vw, 6rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--forest);
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}

.hero-headline em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.hero-body {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 380px;
}

.hero-right {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
}

.hero-image-panel {
  flex: 1;
  background: var(--forest);
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.hero-image-inner {
  position: absolute;
  inset: 0;
  background: var(--forest);
}

.hero-image-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(201,168,76,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 70%, rgba(122,158,126,0.2) 0%, transparent 50%),
    linear-gradient(135deg, #1B3A2A 0%, #0D2218 40%, #1B3A2A 70%, #2A3F30 100%);
}

.hero-image-textures {
  position: absolute;
  inset: 0;
}

.texture-line {
  position: absolute;
  background: var(--gold-dim);
}

.l1 { width: 2px; height: 100%; left: 25%; top: 0; }
.l2 { width: 1px; height: 100%; left: 50%; top: 0; background: rgba(201,168,76,0.15); }
.l3 { width: 2px; height: 100%; left: 75%; top: 0; }
.l4 { width: 100%; height: 2px; top: 33%; left: 0; }

.texture-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.2);
}

.c1 { width: 300px; height: 300px; right: -80px; top: 50%; transform: translateY(-50%); }
.c2 { width: 180px; height: 180px; right: 40px; bottom: 80px; border-color: rgba(201,168,76,0.12); }

.texture-diamond {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(201,168,76,0.3);
  transform: rotate(45deg);
}

.d1 { top: 20%; left: 30%; }
.d2 { top: 60%; left: 15%; width: 25px; height: 25px; }
.d3 { top: 40%; left: 60%; width: 60px; height: 60px; border-color: rgba(201,168,76,0.15); }

.hero-image-label {
  position: absolute;
  bottom: 32px;
  left: 32px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.7);
  border-left: 1px solid rgba(201,168,76,0.4);
  padding-left: 12px;
}

.hero-verticals {
  background: var(--charcoal);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.vertical-tag {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 28px;
  border-bottom: 1px solid rgba(201,168,76,0.1);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.6);
  transition: all 0.3s ease;
}

.vertical-tag:last-child { border-bottom: none; }
.vertical-tag:hover { background: rgba(201,168,76,0.05); color: var(--ivory); }

.vertical-num {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
}

/* ===== SECTION DIVIDER ===== */
.section-divider {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 60px 80px 40px;
  background: var(--ivory);
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-dim), transparent);
}

.divider-ornament {
  color: var(--gold);
  font-size: 1rem;
  opacity: 0.6;
}

/* ===== VERTICAL SECTIONS ===== */
.vertical-section {
  padding: 80px 80px;
  background: var(--ivory);
}

.vertical-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.vertical-section-inner.reverse {
  direction: rtl;
}

.vertical-section-inner.reverse > * {
  direction: ltr;
}

.vertical-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.vertical-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  font-weight: 300;
  color: rgba(27,58,42,0.08);
  line-height: 1;
  margin-bottom: -20px;
  letter-spacing: -0.05em;
}

.vertical-category {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.vertical-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 400;
  line-height: 1.1;
  color: var(--forest);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.vertical-body {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.vertical-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.feature-dot {
  width: 6px;
  height: 6px;
  min-width: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 6px;
}

/* Interiors color tags */
.vertical-era-tags,
.cultivation-tags,
.fence-style-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.era-tag, .cult-tag, .fence-tag {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid rgba(27,58,42,0.2);
  color: var(--text-secondary);
  font-weight: 500;
  transition: all 0.2s ease;
}

.era-tag:hover, .cult-tag:hover, .fence-tag:hover {
  background: var(--forest);
  color: var(--ivory);
  border-color: var(--forest);
}

/* ===== INTERIORS VISUAL ===== */
.interiors-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-content: start;
}

.vis-card {
  border-radius: 4px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(27,58,42,0.1);
  transition: transform 0.3s ease;
}

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

.ic-victorian { background: linear-gradient(135deg, #1B3A2A, #2A3F30); }
.ic-artdeco { background: linear-gradient(135deg, #0D2B45, #1A3D5C); }
.ic-mcm { background: linear-gradient(135deg, #3D5A3F, #4A6B4F); }
.ic-ranch { background: linear-gradient(135deg, #6B5040, #8B6A50); }

.card-era {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}

.card-palette {
  display: flex;
  gap: 6px;
}

.swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: block;
  border: 2px solid rgba(255,255,255,0.15);
}

/* ===== GARDEN VISUAL ===== */
.garden-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.garden-plant-row {
  display: flex;
  gap: 10px;
}

.plant-chip {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px;
  border-radius: 4px;
  border: 1px solid rgba(27,58,42,0.12);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 500;
  transition: all 0.2s ease;
}

.plant-chip:hover { border-color: var(--forest); color: var(--forest); }

.plant-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.pi-herb { background: linear-gradient(135deg, #7A9E7E, #5A7E5E); }
.pi-veggie { background: linear-gradient(135deg, #C9784A, #A85830); }
.pi-berry { background: linear-gradient(135deg, #8B5E9E, #6B3E7E); }
.pi-fruit { background: linear-gradient(135deg, #C9A84C, #A88830); }

.garden-hedge-row {
  display: flex;
  gap: 0;
  margin-top: 8px;
}

.hedge-block {
  flex: 1;
  height: 60px;
  background: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.3);
  font-weight: 600;
}

.hedge-block.accent { background: var(--gold); color: var(--forest); }
.hedge-block + .hedge-block { border-left: 1px solid rgba(245,240,232,0.08); }

/* ===== FENCE VISUAL ===== */
.fence-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fence-mosaic {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 3px;
  height: 200px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(27,58,42,0.1);
}

.mosaic-section {
  display: flex;
  gap: 3px;
}

.mosaic-cell {
  flex: 1;
}

.ms-gold .mosaic-cell { background: linear-gradient(135deg, var(--gold), var(--gold-light)); }
.ms-emerald .mosaic-cell { background: linear-gradient(135deg, var(--forest), var(--forest-light)); }
.ms-ivory .mosaic-cell { background: linear-gradient(135deg, var(--ivory-warm), var(--pearl)); }

.mc1 { background: linear-gradient(135deg, #C9A84C, #D4B96A) !important; }
.mc2 { background: linear-gradient(135deg, #1B3A2A, #2A5040) !important; }
.mc3 { background: linear-gradient(135deg, #F5F0E8, #EDE6D6) !important; }
.mc4 { background: linear-gradient(135deg, #C9A84C, #B8943C) !important; }
.mc5 { background: linear-gradient(135deg, #0D2218, #1B3A2A) !important; }
.mc6 { background: linear-gradient(135deg, #2A5040, #1B3A2A) !important; }
.mc7 { background: linear-gradient(135deg, #EDE6D6, #F5F0E8) !important; }
.mc8 { background: linear-gradient(135deg, #C9A84C, #A88830) !important; }
.mc9 { background: linear-gradient(135deg, #2A5040, #3A6050) !important; }

.fence-palette-row {
  display: flex;
  gap: 8px;
}

.fp-swatch {
  flex: 1;
  height: 36px;
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.fp-swatch:hover { transform: scaleY(1.2); }
.fp-gold { background: linear-gradient(135deg, #C9A84C, #D4B96A); }
.fp-emerald { background: linear-gradient(135deg, #1B3A2A, #2A5040); }
.fp-pearl { background: linear-gradient(135deg, #FAF7F2, #EDE6D6); }
.fp-amber { background: linear-gradient(135deg, #C9784A, #D48860); }
.fp-forest { background: linear-gradient(135deg, #0D2218, #1B3A2A); }

.fence-shimmer-bar {
  display: flex;
  gap: 4px;
  height: 8px;
}

.shimmer-segment {
  flex: 1;
  border-radius: 2px;
}

.ss1 { background: linear-gradient(90deg, #C9A84C, #D4B96A); }
.ss2 { background: linear-gradient(90deg, #1B3A2A, #C9A84C); }
.ss3 { background: linear-gradient(90deg, #C9A84C, #F5F0E8); }
.ss4 { background: linear-gradient(90deg, #0D2218, #C9A84C); }
.ss5 { background: linear-gradient(90deg, #C9A84C, #C9784A); }

/* ===== MANIFESTO ===== */
.manifesto {
  background: var(--charcoal);
  padding: 100px 80px;
  position: relative;
  overflow: hidden;
}

.manifesto::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 10% 50%, rgba(201,168,76,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 50%, rgba(122,158,126,0.06) 0%, transparent 50%);
}

.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}

.manifesto-overline {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}

.manifesto-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  font-style: italic;
  color: var(--ivory);
  line-height: 1.2;
  margin-bottom: 32px;
}

.manifesto-body {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(245,240,232,0.6);
  margin-bottom: 60px;
}

.manifesto-pillars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0 32px;
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.3);
}

.pi-interior { background: linear-gradient(135deg, var(--gold), var(--gold-light)); }
.pi-garden { background: linear-gradient(135deg, var(--forest), var(--forest-light)); }
.pi-fence { background: linear-gradient(135deg, var(--gold), var(--forest)); }

.pillar-label {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.5);
}

.pillar-connector {
  width: 40px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-dim), transparent);
}

/* ===== CLOSING ===== */
.closing-section {
  background: var(--forest);
  padding: 120px 80px;
  position: relative;
  overflow: hidden;
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}

.closing-deco-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cdl {
  position: absolute;
  background: rgba(201,168,76,0.08);
}

.cdl-1 { width: 1px; height: 100%; left: 20%; top: 0; }
.cdl-2 { width: 1px; height: 100%; left: 50%; top: 0; }
.cdl-3 { width: 1px; height: 100%; left: 80%; top: 0; }

.closing-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300;
  color: var(--ivory);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
  position: relative;
}

.closing-rule {
  width: 80px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 24px;
}

.closing-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 32px;
}

.closing-body {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(245,240,232,0.5);
}

/* ===== FOOTER ===== */
.dg-footer {
  background: var(--charcoal);
  padding: 60px 80px 40px;
}

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

.footer-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--ivory);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.footer-slogan {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 24px;
}

.footer-rule {
  width: 60px;
  height: 1px;
  background: rgba(201,168,76,0.2);
  margin: 0 auto 24px;
}

.footer-credits {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-left {
    padding: 60px 32px 40px;
  }

  .hero-right {
    min-height: 400px;
  }

  .hero-image-panel {
    min-height: 300px;
  }

  .hero-verticals {
    display: none;
  }

  .vertical-section {
    padding: 60px 32px;
  }

  .vertical-section-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .vertical-section-inner.reverse {
    direction: ltr;
  }

  .interiors-visual,
  .garden-visual,
  .fence-visual {
    order: -1;
  }

  .manifesto,
  .closing-section {
    padding: 60px 32px;
  }

  .manifesto-pillars {
    flex-direction: column;
    gap: 16px;
  }

  .pillar-connector {
    width: 1px;
    height: 24px;
    background: linear-gradient(to bottom, transparent, var(--gold-dim), transparent);
  }

  .dg-nav {
    padding: 16px 24px;
  }

  .dg-nav-tagline { display: none; }

  .section-divider {
    padding: 40px 32px 30px;
  }

  .dg-footer {
    padding: 40px 32px 30px;
  }

  .hero-headline {
    font-size: 3rem;
  }

  .vertical-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .hero-left { padding: 40px 24px 32px; }
  .hero-headline { font-size: 2.5rem; }
  .vertical-section { padding: 48px 24px; }
  .vertical-number { font-size: 3.5rem; }
  .vertical-title { font-size: 2rem; }
}