:root {
  --bg: #0a0e1a;
  --bg-elevated: #111827;
  --bg-card: #161d2f;
  --fg: #e8eaf0;
  --fg-muted: #8b92a8;
  --fg-dim: #5a6178;
  --accent: #7c6df0;
  --accent-light: #a599f7;
  --accent-glow: rgba(124, 109, 240, 0.15);
  --warm: #e8c47c;
  --warm-glow: rgba(232, 196, 124, 0.12);
  --border: rgba(255,255,255,0.06);
  --radius: 16px;
  --radius-sm: 10px;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--warm-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 32px;
  background: var(--accent-glow);
}

.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 28px;
}

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

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto;
}

.hero-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* ---- PHILOSOPHY ---- */
.philosophy {
  padding: 100px 24px;
  background: var(--bg);
}

.philosophy-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.philosophy-label,
.services-label,
.credentials-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 20px;
}

.philosophy h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--fg);
  max-width: 700px;
  margin-bottom: 56px;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.philosophy-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: border-color 0.3s ease;
}

.philosophy-card:hover {
  border-color: rgba(255,255,255,0.12);
}

.card-number {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-light);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.philosophy-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
}

.philosophy-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--fg-muted);
}

/* ---- SERVICES ---- */
.services {
  padding: 100px 24px;
  background: var(--bg-elevated);
}

.services-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.services h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 56px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.12);
}

.service-icon {
  font-size: 1.8rem;
  margin-bottom: 20px;
  display: block;
  opacity: 0.8;
}

.service-item h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
}

.service-item p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--fg-muted);
}

/* ---- CREDENTIALS ---- */
.credentials {
  padding: 100px 24px;
  background: var(--bg);
}

.credentials-inner {
  max-width: 800px;
  margin: 0 auto;
}

.credentials-text h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 20px;
}

.credentials-bio {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--fg-muted);
  margin-bottom: 40px;
  max-width: 640px;
}

.credentials-details {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.credential {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.credential-value {
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem;
  color: var(--accent-light);
}

.credential-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

/* ---- CLOSING ---- */
.closing {
  padding: 120px 24px;
  background: var(--bg-elevated);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.closing-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.closing h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 20px;
}

.closing p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--fg-muted);
}

/* ---- FOOTER ---- */
.site-footer {
  padding: 48px 24px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-brand {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: var(--fg);
  margin-bottom: 6px;
}

.footer-sub {
  font-size: 0.8rem;
  color: var(--fg-dim);
  letter-spacing: 0.04em;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .philosophy-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .credentials-details {
    gap: 32px;
  }
  
  .hero {
    min-height: 75vh;
    padding: 100px 20px 60px;
  }
  
  .philosophy,
  .services,
  .credentials {
    padding: 72px 20px;
  }
  
  .closing {
    padding: 80px 20px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.6rem;
  }
  
  .credentials-details {
    flex-direction: column;
    gap: 24px;
  }
}