/* =========================================================
   ELVORA CAPITAL — site stylesheet v1.0
   Generated 6 May 2026 from Brand Guide v1.0
   ========================================================= */

* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  color-scheme: light;
  --ink: #0a0a0a;
  --paper: #ffffff;
  --paper-2: #fafaf8;
  --rule: #e5e5e5;
  --muted: #6a6a6a;
  --muted-soft: #888;
  --accent: #c0392b;
}
html { scroll-behavior: smooth; color-scheme: light; }
body {
  font-family: 'IBM Plex Sans', sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.55;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 56px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 56px; }

/* ============ NAV ============ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.site-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
}
.site-nav .wordmark {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
}
.site-nav .wordmark .accent { color: var(--accent); }
.site-nav .links { display: flex; gap: 28px; align-items: center; }
.site-nav .links a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.site-nav .links a:hover { color: var(--accent); }
.site-nav .links a.active { color: var(--accent); }
.site-nav .links a.cta {
  border: 1px solid var(--ink);
  padding: 8px 14px;
  font-weight: 500;
}
.site-nav .links a.cta:hover { background: var(--ink); color: var(--paper); }

/* ============ HERO (HOME) ============ */
.hero {
  padding: 120px 0 80px;
  border-bottom: 1px solid var(--rule);
}
.hero .meta-line {
  display: flex;
  gap: 32px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.hero .meta-line span::before { content: "// "; color: var(--accent); }
.hero h1 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 64px;
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 32px;
  max-width: 920px;
}
.hero h1 strong { font-weight: 600; }
.hero .lede {
  font-size: 18px;
  line-height: 1.65;
  color: #2a2a2a;
  max-width: 660px;
  margin-bottom: 48px;
}
.hero .cta-row { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.hero .cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
  font-weight: 500;
}
.hero .cta-primary::after { content: "→"; color: var(--accent); }
.hero .cta-secondary {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.hero .cta-secondary:hover { color: var(--accent); }

/* ============ STAT STRIP ============ */
.stat-strip {
  border-bottom: 1px solid var(--rule);
  padding: 56px 0;
  background: var(--paper-2);
}
.stat-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.stat .label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 500;
}
.stat .value {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 32px;
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1;
}
.stat .value .accent { color: var(--accent); }
.stat .desc { font-size: 12px; color: var(--muted); line-height: 1.55; }

/* ============ SECTIONS ============ */
.section {
  padding: 88px 0;
  border-bottom: 1px solid var(--rule);
}
.section.alt { background: var(--paper-2); }
.section-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 24px;
}
.section-eyebrow::before { content: "// "; }
.section h2 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 32px;
  max-width: 780px;
}
.section h2 strong { font-weight: 600; }
.section p {
  font-size: 17px;
  line-height: 1.7;
  color: #1a1a1a;
  max-width: 660px;
  margin-bottom: 20px;
}
.section p strong { font-weight: 600; }

/* ============ RESEARCH PREVIEW (HOME) ============ */
.research-preview { padding: 88px 0; border-bottom: 1px solid var(--rule); }
.research-preview .preview-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 48px;
}
.research-preview h2 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.research-preview .see-all {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}
.research-list { border-top: 1px solid var(--rule); }
.research-item {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}
.research-item:hover { background: var(--paper-2); }
.research-item .date {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.research-item .title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin-bottom: 6px;
}
.research-item .summary {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 640px;
}
.research-item .meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ============ SUBSCRIBE ============ */
.subscribe {
  background: var(--ink);
  color: var(--paper);
  padding: 96px 0;
}
.subscribe .eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 24px;
}
.subscribe .eyebrow::before { content: "// "; }
.subscribe h2 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 700px;
}
.subscribe h2 strong { font-weight: 600; }
.subscribe p {
  font-size: 16px;
  color: #b8b8b8;
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.65;
}
.subscribe-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  border: 1px solid #2a2a2a;
}
.subscribe-form input {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 16px 18px;
  color: var(--paper);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  outline: none;
}
.subscribe-form input::placeholder { color: #555; }
.subscribe-form button {
  background: var(--accent);
  color: var(--paper);
  border: 0;
  padding: 16px 24px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.subscribe .footnote {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--muted-soft);
  margin-top: 20px;
  letter-spacing: 0.04em;
}

/* ============ ABOUT PAGE ============ */
.about-hero { padding: 120px 0 64px; border-bottom: 1px solid var(--rule); }
.about-hero .eyebrow,
.research-hero .eyebrow,
.contact-hero .eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 24px;
}
.about-hero .eyebrow::before,
.research-hero .eyebrow::before,
.contact-hero .eyebrow::before { content: "// "; }
.about-hero h1 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 56px;
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 28px;
  max-width: 820px;
}
.about-hero h1 strong { font-weight: 600; }
.about-hero .lede,
.research-hero .lede,
.contact-hero .lede {
  font-size: 19px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 700px;
}
.about-body { padding: 80px 0; }
.about-body .row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 56px;
  align-items: baseline;
}
.about-body .row:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.about-body .row .label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 500;
}
.about-body .row .label::before { content: "// "; }
.about-body .row h3 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: -0.005em;
}
.about-body .row p {
  font-size: 16px;
  line-height: 1.7;
  color: #1a1a1a;
  max-width: 660px;
  margin-bottom: 14px;
}
.about-body .row p strong { font-weight: 600; }
.about-body .row p em { font-style: italic; color: var(--muted); }

/* ============ RESEARCH PAGE ============ */
.research-hero { padding: 120px 0 56px; border-bottom: 1px solid var(--rule); }
.research-hero h1 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 52px;
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 28px;
}
.research-hero h1 strong { font-weight: 600; }
.research-archive { padding: 64px 0; }
.research-filter {
  display: flex;
  gap: 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
  flex-wrap: wrap;
  align-items: center;
}
.research-filter .label {
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.research-filter a {
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.research-filter a.active { color: var(--accent); border-bottom: 1px solid var(--accent); padding-bottom: 2px; }
.research-filter .sep { color: var(--rule); }

/* ============ CONTACT PAGE ============ */
.contact-hero { padding: 120px 0 64px; border-bottom: 1px solid var(--rule); }
.contact-hero h1 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 52px;
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 28px;
}
.contact-hero h1 strong { font-weight: 600; }
.contact-grid {
  padding: 80px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.contact-block .label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 20px;
}
.contact-block .label::before { content: "// "; }
.contact-block h3 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: -0.005em;
}
.contact-block p {
  font-size: 16px;
  line-height: 1.7;
  color: #1a1a1a;
  margin-bottom: 16px;
  max-width: 460px;
}
.contact-block .email {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 16px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}
.contact-block .email:hover { color: var(--accent); }
.contact-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 16px;
}

/* ============ 404 PAGE ============ */
.fourohfour {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 120px 0;
  border-bottom: 1px solid var(--rule);
}
.fourohfour .eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 24px;
}
.fourohfour .eyebrow::before { content: "// "; }
.fourohfour h1 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 64px;
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 28px;
}
.fourohfour h1 strong { font-weight: 600; }
.fourohfour p {
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.65;
}
.fourohfour .links {
  display: flex;
  gap: 32px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
}
.fourohfour .links a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 3px;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  padding: 56px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 24px;
}
.footer-block .label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-block .wordmark {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.footer-block .wordmark .accent { color: var(--accent); }
.footer-block p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 320px;
}
.footer-block ul { list-style: none; padding: 0; }
.footer-block ul li { padding: 4px 0; }
.footer-block ul a {
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
}
.footer-block ul a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 880px) {
  .container { padding: 0 28px; }
  .hero { padding: 80px 0 56px; }
  .hero h1 { font-size: 42px; }
  .about-hero h1, .research-hero h1, .contact-hero h1, .fourohfour h1 { font-size: 38px; }
  .stat-strip-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .section h2 { font-size: 28px; }
  .research-item { grid-template-columns: 1fr; gap: 8px; }
  .research-item .meta { display: none; }
  .about-body .row { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; padding: 56px 0; }
  .subscribe { padding: 64px 0; }
  .subscribe h2 { font-size: 30px; }
}
