/* === FOUNDATION === */
:root {
  --bg-deep: #1a1528;
  --bg-surface: #221c35;
  --bg-warm: #f5ede0;
  --bg-card: #ede3d3;
  --accent: #c8a45a;
  --accent-muted: rgba(200, 164, 90, 0.15);
  --text-primary: #f0e8dc;
  --text-body: #2a2035;
  --text-muted: #7a6e8a;
  --text-warm: #4a3f55;
  --border: rgba(200, 164, 90, 0.2);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
}

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

body {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* === LAYOUT === */
.hero-inner,
.philosophy-inner,
.frameworks-inner,
.evidence-inner,
.niches-inner,
.closing-inner,
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* === HERO === */
.hero {
  padding: 6rem 0 4rem;
  position: relative;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.9rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 1.75rem;
}

.hero-lede {
  font-size: 1.05rem;
  color: rgba(240, 232, 220, 0.7);
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-tags span {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 2rem;
  color: var(--accent);
}

.hero-emblem {
  display: flex;
  justify-content: center;
}

.hero-emblem svg {
  width: 220px;
  height: 220px;
  animation: slowRotate 40s linear infinite;
}

@keyframes slowRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-rule {
  max-width: 1180px;
  margin: 4rem auto 0;
  padding: 0 2.5rem;
}

.hero-rule::before {
  content: '';
  display: block;
  border-top: 1px solid var(--border);
}

/* === SECTION LABELS === */
.section-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 2.5rem;
  max-width: 640px;
}

/* === PHILOSOPHY === */
.philosophy {
  background: var(--bg-surface);
  padding: 5rem 0;
}

.philosophy-inner {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 4rem;
}

.philosophy-label {
  padding-top: 0.3rem;
}

.philosophy-quote {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--accent);
  margin-bottom: 1.75rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--accent);
}

.philosophy-body {
  font-size: 1rem;
  color: rgba(240, 232, 220, 0.72);
  max-width: 620px;
}

/* === FRAMEWORKS === */
.frameworks {
  background: var(--bg-deep);
  padding: 5rem 0;
}

.frameworks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.framework-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2.25rem;
  position: relative;
}

.framework-roman {
  font-family: var(--font-display);
  font-size: 2rem;
  font-style: italic;
  color: var(--accent);
  opacity: 0.35;
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
}

.framework-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
  color: var(--text-primary);
}

.framework-card p {
  font-size: 0.9rem;
  color: rgba(240, 232, 220, 0.62);
  line-height: 1.6;
}

/* === EVIDENCE === */
.evidence {
  background: var(--bg-warm);
  padding: 5rem 0;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.evidence-testimonial {
  border: 1px solid rgba(42, 32, 53, 0.12);
  border-radius: 4px;
  padding: 1.75rem;
  background: white;
}

.testimonial-text {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-style: italic;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.evidence-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.badge {
  border: 1px solid rgba(42, 32, 53, 0.2);
  border-radius: 3px;
  padding: 0.55rem 1.1rem;
  background: white;
}

.badge-text {
  font-size: 0.75rem;
  color: var(--text-warm);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* === NICHES === */
.niches {
  background: var(--bg-surface);
  padding: 5rem 0;
}

.niches-body {
  color: rgba(240, 232, 220, 0.65);
  font-size: 1rem;
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.niches-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.niche-item {
  background: var(--bg-deep);
  padding: 1.75rem 2rem;
}

.niche-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.niche-item span {
  font-size: 0.88rem;
  color: rgba(240, 232, 220, 0.6);
  line-height: 1.55;
}

/* === CLOSING === */
.closing {
  background: var(--bg-deep);
  padding: 6rem 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

.closing-statement {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-style: italic;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.closing-body {
  font-size: 1rem;
  color: rgba(240, 232, 220, 0.6);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.closing-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.closing-tags span {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 2rem;
  color: rgba(200, 164, 90, 0.6);
}

/* === FOOTER === */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 1.5rem 3rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.footer-tagline {
  font-size: 0.78rem;
  font-style: italic;
  color: rgba(240, 232, 220, 0.45);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  grid-column: 2;
  grid-row: 1;
}

.footer-links a {
  font-size: 0.82rem;
  color: rgba(240, 232, 220, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-meta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(240, 232, 220, 0.3);
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-emblem {
    order: -1;
  }

  .hero-emblem svg {
    width: 160px;
    height: 160px;
  }

  .philosophy-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .frameworks-grid,
  .evidence-grid {
    grid-template-columns: 1fr 1fr;
  }

  .niches-list {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-column: 1;
  }
}

@media (max-width: 600px) {
  .hero-inner,
  .philosophy-inner,
  .frameworks-inner,
  .evidence-inner,
  .niches-inner,
  .closing-inner,
  .footer-inner {
    padding: 0 1.5rem;
  }

  .hero-rule {
    padding: 0 1.5rem;
  }

  .frameworks-grid,
  .evidence-grid {
    grid-template-columns: 1fr;
  }

  .footer-meta {
    flex-direction: column;
    gap: 0.4rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.4rem;
  }
}