:root {
  --bg: #1a1a14;
  --bg-warm: #21211a;
  --fg: #e8e4d8;
  --fg-muted: #a8a390;
  --accent: #8ba858;
  --accent-light: #a4c26e;
  --accent-dark: #6b8840;
  --earth: #c4956a;
  --earth-dark: #8b6b4a;
  --sand: #d4c9a8;
  --radius: 2px;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

em {
  font-style: italic;
  color: var(--accent-light);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: flex-end;
  padding: 0 clamp(24px, 5vw, 80px) clamp(60px, 10vh, 120px);
  overflow: hidden;
  background: linear-gradient(175deg, #1a1a14 0%, #252518 40%, #2a2a1c 100%);
}

.hero-texture {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 75% 20%, rgba(139, 168, 88, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 15% 80%, rgba(196, 149, 106, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--earth);
  border: 1px solid var(--earth-dark);
  padding: 6px 16px;
  margin-bottom: 32px;
  border-radius: var(--radius);
}

.hero h1 {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 28px;
}

.hero-sub {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--fg-muted);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-tagline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.tag {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.tag-divider {
  color: var(--earth-dark);
  font-size: 14px;
}

/* ---- PHILOSOPHY ---- */
.philosophy {
  padding: clamp(80px, 12vh, 160px) clamp(24px, 5vw, 80px);
  background: var(--bg-warm);
  border-top: 1px solid rgba(168, 163, 144, 0.08);
}

.philosophy-inner {
  max-width: 680px;
}

.philosophy-label {
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 20px;
}

.philosophy h2 {
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 28px;
  color: var(--sand);
}

.philosophy p {
  color: var(--fg-muted);
  margin-bottom: 20px;
  font-size: 17px;
}

/* ---- SERVICES ---- */
.services {
  padding: clamp(80px, 12vh, 160px) clamp(24px, 5vw, 80px);
  background: var(--bg);
}

.services-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px 40px;
  max-width: 1100px;
}

.service-card {
  border-top: 2px solid var(--accent-dark);
  padding-top: 28px;
}

.service-number {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--earth);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.service-card h3 {
  font-size: 22px;
  color: var(--fg);
  margin-bottom: 14px;
}

.service-card p {
  color: var(--fg-muted);
  font-size: 16px;
  line-height: 1.7;
}

/* ---- LAYERS ---- */
.layers {
  padding: clamp(80px, 12vh, 160px) clamp(24px, 5vw, 80px);
  background: var(--bg-warm);
  border-top: 1px solid rgba(168, 163, 144, 0.08);
}

.layers-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1100px;
  align-items: start;
}

.layers-label {
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 20px;
}

.layers-text h2 {
  font-size: clamp(28px, 4vw, 44px);
  color: var(--sand);
  margin-bottom: 24px;
}

.layers-text p {
  color: var(--fg-muted);
  font-size: 17px;
}

.layers-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.layer-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid rgba(168, 163, 144, 0.1);
}

.layer-item:first-child {
  border-top: 1px solid rgba(168, 163, 144, 0.1);
}

.layer-name {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-light);
}

.layer-desc {
  font-size: 15px;
  color: var(--fg-muted);
}

/* ---- CLOSING ---- */
.closing {
  padding: clamp(100px, 14vh, 200px) clamp(24px, 5vw, 80px);
  background: linear-gradient(180deg, var(--bg) 0%, #1e1e16 100%);
  text-align: center;
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
}

.closing h2 {
  font-size: clamp(32px, 5vw, 56px);
  color: var(--fg);
  margin-bottom: 24px;
}

.closing p {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--fg-muted);
  line-height: 1.75;
}

/* ---- FOOTER ---- */
.site-footer {
  padding: 40px clamp(24px, 5vw, 80px);
  border-top: 1px solid rgba(168, 163, 144, 0.08);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
}

.footer-brand {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
}

.footer-detail {
  font-size: 14px;
  color: var(--fg-muted);
}

/* ---- MOBILE ---- */
@media (max-width: 768px) {
  .hero {
    min-height: 80vh;
    align-items: center;
    padding-bottom: 60px;
  }

  .hero-tagline {
    gap: 6px;
  }

  .tag-divider {
    display: none;
  }

  .tag {
    font-size: 12px;
    display: block;
  }

  .hero-tagline {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .layers-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .services-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}