/* ── TOKENS ──────────────────────────────────────────────── */
:root {
  --bg: #ffffff;
  --bg-soft: #f9f9fb;
  --text: #09090b;
  --text-2: #3f3f46;
  --muted: #71717a;
  --line: #e4e4e7;

  --dark: #09090b;
  --dark-text: #ffffff;
  --dark-muted: rgba(255, 255, 255, 0.46);

  --max-w: 1160px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-gap: clamp(72px, 10vw, 120px);
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 { margin: 0; font-weight: 800; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; }

/* ── LAYOUT ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── NAVIGATION ──────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px var(--gutter);
  background: rgba(9, 9, 11, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.brand {
  text-decoration: none;
  font-size: 0.97rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--dark-text);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.52);
  transition: color 0.15s ease;
}

.site-nav a:hover { color: var(--dark-text); }

.site-nav .nav-contact {
  color: var(--dark-text);
  padding: 7px 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  transition: background 0.15s ease;
}

.site-nav .nav-contact:hover { background: rgba(255, 255, 255, 0.09); }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--dark);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Ambient glow — very subtle, no colors */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 75% 55% at 15% 55%, rgba(140, 145, 200, 0.08), transparent 65%),
    radial-gradient(ellipse 50% 40% at 88% 18%, rgba(80, 190, 175, 0.05), transparent 65%);
}

.hero-inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 140px var(--gutter) 100px;
  width: 100%;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.36);
  margin-bottom: 28px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

h1 {
  font-size: clamp(4rem, 9.5vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
  color: var(--dark-text);
  margin-bottom: 32px;
  max-width: 11ch;
}

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.68;
  color: var(--dark-muted);
  max-width: 50ch;
  margin-bottom: 44px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 20px;
  background: var(--dark-text);
  color: var(--dark);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: 6px;
  transition: opacity 0.15s ease;
}

.btn-primary:hover { opacity: 0.86; }

.btn-light {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  transition: background 0.15s ease;
}

.btn-light:hover { background: rgba(255, 255, 255, 0.14); }

/* ── THESIS ──────────────────────────────────────────────── */
.thesis-section {
  padding: var(--section-gap) 0;
  border-bottom: 1px solid var(--line);
}

.thesis-text {
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
  line-height: 1.52;
  letter-spacing: -0.035em;
  font-weight: 400;
  color: var(--text);
  max-width: 78ch;
}

/* ── CONTENT SECTIONS ────────────────────────────────────── */
.content-section {
  padding: var(--section-gap) 0;
  border-bottom: 1px solid var(--line);
}

.section-grid {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 64px;
  align-items: start;
}

.section-aside {
  padding-top: 4px;
}

.aside-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-body h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  line-height: 1.06;
  letter-spacing: -0.054em;
  color: var(--text);
  margin-bottom: 22px;
}

.section-body > p {
  font-size: 1.02rem;
  line-height: 1.76;
  color: var(--muted);
  max-width: 58ch;
  margin-bottom: 16px;
}

/* ── META BAND ───────────────────────────────────────────── */
.meta-band {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.meta-key {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
}

.meta-val {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-2);
}

/* ── FEATURE LIST ────────────────────────────────────────── */
.feature-list {
  margin-top: 36px;
}

.feature-item {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.feature-item:last-child {
  border-bottom: 1px solid var(--line);
}

.feature-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--muted);
  padding-top: 3px;
  min-width: 22px;
  flex-shrink: 0;
}

.feature-content h3 {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 8px;
}

.feature-content p {
  font-size: 0.9rem;
  line-height: 1.72;
  color: var(--muted);
}

/* ── PRINCIPLES ──────────────────────────────────────────── */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.principle-item {
  padding: 28px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principle-item:nth-child(even)  { border-right: 0; }
.principle-item:nth-last-child(-n+2) { border-bottom: 0; }

.principle-item h3 {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 10px;
}

.principle-item p {
  font-size: 0.875rem;
  line-height: 1.67;
  color: var(--muted);
}

/* ── CONTACT ─────────────────────────────────────────────── */
.contact-section {
  padding: var(--section-gap) 0 calc(var(--section-gap) * 1.2);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-heading {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
  color: var(--text);
}

.contact-sub {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 44ch;
  margin-bottom: 4px;
}

.contact-email-btn {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 20px;
  background: var(--dark);
  color: var(--dark-text);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: 6px;
  width: fit-content;
  transition: opacity 0.15s ease;
}

.contact-email-btn:hover { opacity: 0.84; }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 22px;
  padding-bottom: 22px;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 860px) {
  .section-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-aside {
    padding-top: 0;
  }
}

@media (max-width: 600px) {
  h1 {
    max-width: 100%;
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }

  .principle-item {
    border-right: 0;
  }

  .principle-item:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .principle-item:last-child {
    border-bottom: 0;
  }

  .meta-band {
    flex-direction: column;
    gap: 18px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav a:not(.nav-contact) {
    display: none;
  }
}
