/* === LEXBRIEF DESIGN SYSTEM === */
:root {
  --bg: #0d1117;
  --bg-alt: #161b22;
  --bg-card: #1c2128;
  --fg: #e6edf3;
  --fg-muted: #7d8590;
  --fg-subtle: #484f58;
  --accent: #f0b429;
  --accent-dim: rgba(240, 180, 41, 0.12);
  --border: rgba(230, 237, 243, 0.1);
  --border-strong: rgba(230, 237, 243, 0.18);
  --radius: 6px;
}

* { 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;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
}

.section-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-eyebrow.centered { text-align: center; }

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.nav-tagline {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.nav-cta {
  font-size: 0.8rem;
  font-weight: 600;
  color: #0d1117;
  background: var(--accent);
  text-decoration: none;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
}

.nav-cta:hover {
  background: #e5a61f;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(240, 180, 41, 0.2);
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  cursor: pointer;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--accent);
  color: #0d1117;
  border: 1.5px solid var(--accent);
}

.btn-primary:hover {
  background: #e5a61f;
  border-color: #e5a61f;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(240, 180, 41, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--fg-muted);
  border: 1.5px solid var(--border-strong);
}

.btn-ghost:hover {
  color: var(--fg);
  border-color: var(--fg-muted);
  transform: translateY(-1px);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 6rem;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.hero-headline {
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 1.75rem;
  max-width: 700px;
}

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

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--fg-muted);
  max-width: 560px;
  margin-bottom: 3.5rem;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg-alt);
  overflow: hidden;
  max-width: 640px;
}

.stat {
  padding: 1.5rem 2rem;
  flex: 1;
}

.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--fg-muted);
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border-strong);
  flex-shrink: 0;
}

/* === AMBIENT RINGS === */
.hero-ambient {
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
}

.ambient-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(240, 180, 41, 0.06);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ring-1 { width: 400px; height: 400px; }
.ring-2 { width: 650px; height: 650px; }
.ring-3 { width: 900px; height: 900px; }

/* === MANIFESTO === */
.manifesto {
  padding: 8rem 2rem;
  border-top: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.manifesto-headline {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--fg);
  margin-top: 0.5rem;
}

.manifesto-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.manifesto-callout {
  color: var(--fg) !important;
  font-weight: 500;
  border-left: 2px solid var(--accent);
  padding-left: 1.25rem;
  margin-top: 2rem;
}

/* === OUTCOMES === */
.outcomes {
  padding: 8rem 2rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.outcomes-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.outcomes-headline {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  color: var(--fg);
  margin-bottom: 3.5rem;
  max-width: 600px;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.outcome {
  padding: 2.5rem 2.5rem 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

.outcome:nth-child(odd) { border-right: 1px solid var(--border); padding-right: 2.5rem; }
.outcome:nth-child(even) { padding-left: 2.5rem; }
.outcome:nth-last-child(-n+2) { border-bottom: none; }

.outcome-icon { margin-bottom: 1.25rem; }

.outcome-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.outcome-body {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* === SERVICES === */
.services {
  padding: 8rem 2rem;
}

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

.services-headline {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.services-sub {
  color: var(--fg-muted);
  font-size: 1rem;
  margin-bottom: 3rem;
  max-width: 540px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
}

.service-card {
  background: var(--bg-alt);
  padding: 2rem;
}

.service-category {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.service-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.service-price {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-family: 'DM Sans', sans-serif;
}

.service-detail {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

.services-note {
  font-size: 0.82rem;
  color: var(--fg-subtle);
  text-align: center;
  margin-top: 1.5rem;
}

.services-cta {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* === CLOSING === */
.closing {
  padding: 8rem 2rem 6rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

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

.closing-glyph { margin-bottom: 2.5rem; }

.closing-headline {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  color: var(--fg);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.closing-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 3rem;
}

.closing-tagline {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--accent);
  font-style: italic;
  margin-bottom: 2rem;
}

.closing-cta {
  display: flex;
  justify-content: center;
}

/* === FOOTER === */
.footer {
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-brand { display: flex; align-items: center; gap: 1rem; }

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
}

.footer-descriptor {
  font-size: 0.7rem;
  color: var(--fg-subtle);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}

.footer-nav a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-nav a:hover {
  color: var(--fg);
}

.footer-disclaimer {
  font-size: 0.72rem;
  color: var(--fg-subtle);
  line-height: 1.6;
  max-width: 640px;
}

.footer-copy {
  font-size: 0.72rem;
  color: var(--fg-subtle);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero { padding: 7rem 1.5rem 4rem; }
  .hero-headline { font-size: 2.5rem; }
  .hero-stats { flex-direction: column; }
  .stat { width: 100%; border-bottom: 1px solid var(--border-strong); }
  .stat:last-child { border-bottom: none; }
  .stat-divider { display: none; }
  .manifesto-inner { grid-template-columns: 1fr; gap: 2rem; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .outcome:nth-child(odd) { border-right: none; padding-right: 0; }
  .outcome:nth-child(even) { padding-left: 0; }
  .outcome:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .outcome:last-child { border-bottom: none; }
  .services-grid { grid-template-columns: 1fr; }
  .manifesto, .outcomes, .services, .closing { padding: 5rem 1.5rem 4rem; }
  .hero-ambient { display: none; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2rem; }
  .services-grid { gap: 0; }
}