/* Fonts self-hosted — no Google request */
@font-face {
  font-family: 'DM Sans';
  font-style: normal; font-weight: 300; font-display: swap;
  src: url('fonts/dm-sans-300.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/dm-sans-400.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('fonts/dm-sans-500.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/dm-serif-display-400.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: italic; font-weight: 400; font-display: swap;
  src: url('fonts/dm-serif-display-italic.woff2') format('woff2');
}

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

:root {
  --bg:        #1a1f2e;
  --bg-2:      #222840;
  --bg-3:      #2a3050;
  --gold:      #c9a24a;
  --amber:     #d4b060;
  --text-1:    #f2ede4;
  --text-2:    #bbb8b0;
  --text-3:    #8890a0;
  --text-4:    #5a6278;
  --border:    rgba(255,255,255,.14);
  --border-2:  rgba(255,255,255,.22);
  --surface-1: rgba(255,255,255,.04);
  --surface-2: rgba(255,255,255,.07);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --shell:     min(1100px, calc(100% - 48px));
  --serif:     'DM Serif Display', Georgia, serif;
  --sans:      'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text-2);
  line-height: 1.72;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

/* ── Skip link ── */
.skip { position: absolute; left: -999px; top: 8px; background: var(--text-1); color: var(--bg); padding: 8px 14px; border-radius: var(--radius-pill); z-index: 200; font-size: 13px; }
.skip:focus { left: 12px; }

/* ═══════════════════
   NAV
═══════════════════ */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px;
  background: rgba(26,31,46,.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { font-family: var(--serif); font-size: 17px; letter-spacing: -.02em; color: var(--text-1); text-decoration: none; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { color: var(--text-4); font-size: 12px; text-decoration: none; letter-spacing: .08em; text-transform: uppercase; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text-1); }
.nav-cta { background: var(--surface-2); border: 1px solid var(--border-2); color: var(--text-2); font-size: 12px; font-weight: 500; padding: 8px 16px; border-radius: var(--radius-pill); text-decoration: none; transition: background .2s, color .2s; }
.nav-cta:hover { background: rgba(255,255,255,.12); color: var(--text-1); }
.menu-btn { display: none; background: var(--surface-2); border: 1px solid var(--border-2); color: var(--text-2); padding: 8px 14px; border-radius: var(--radius-pill); font-size: 12px; cursor: pointer; }

/* ═══════════════════
   HERO
═══════════════════ */
.hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 52px;
  align-items: center;
  padding: 80px 40px 72px;
  width: var(--shell); margin-inline: auto;
}
.hero-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.hero-eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--gold); opacity: .6; }
.hero-title { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 42px); line-height: 1.12; letter-spacing: -.025em; color: var(--text-1); margin-bottom: 18px; }
.hero-title em { font-style: italic; color: var(--amber); }
.hero-lead { font-size: 17px; color: var(--text-2); line-height: 1.76; max-width: 420px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border-radius: var(--radius-pill); padding: 11px 22px; font-size: 14px; font-weight: 500; transition: opacity .2s, background .2s, color .2s; }
.btn-primary { background: var(--text-1); color: var(--bg); }
.btn-primary:hover { opacity: .86; }
.btn-ghost { border: 1px solid var(--border-2); color: var(--text-3); background: transparent; }
.btn-ghost:hover { color: var(--text-1); border-color: rgba(255,255,255,.35); }

/* ── Profile Card ── */
.profile-card { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-2); display: grid; grid-template-columns: 130px 1fr; align-items: stretch; }
.profile-img { width: 130px; height: 100%; min-height: 160px; object-fit: cover; object-position: top center; display: block; filter: grayscale(10%); }
.profile-meta { padding: 20px 22px; }
.profile-name { font-family: var(--serif); font-size: 17px; color: var(--text-1); letter-spacing: -.02em; margin-bottom: 4px; }
.profile-role { font-size: 13px; color: var(--text-3); line-height: 1.5; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 13px; }
.tag { font-size: 12px; letter-spacing: .02em; padding: 4px 11px; border-radius: var(--radius-pill); border: 1px solid var(--border); color: var(--text-3); }

/* ═══════════════════
   FACTS BAND
   — fixed: no shell class, widths locked with grid
═══════════════════ */
.facts-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.025);
  padding: 30px 0;
}
.facts-grid {
  width: var(--shell); margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
.facts-grid > div {
  padding: 0 24px;
  border-right: 1px solid var(--border);
}
.facts-grid > div:first-child { padding-left: 0; }
.facts-grid > div:last-child  { border-right: none; }
.facts-grid span   { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-4); margin-bottom: 6px; white-space: nowrap; }
.facts-grid strong { display: block; font-size: 16px; font-weight: 400; color: var(--text-1); white-space: nowrap; }

/* ═══════════════════
   SECTIONS
═══════════════════ */
.section { padding: 84px 40px; width: var(--shell); margin-inline: auto; }
.alt { background: rgba(255,255,255,.02); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.alt .section { background: none; }

.section-label { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.section-title { font-family: var(--serif); font-size: clamp(24px, 2.8vw, 34px); color: var(--text-1); letter-spacing: -.02em; line-height: 1.15; }
.two-col { display: grid; grid-template-columns: .36fr .64fr; gap: 64px; align-items: start; }

.body-text { color: var(--text-2); font-size: 17px; line-height: 1.82; margin-top: 22px; }
.body-text p + p { margin-top: 18px; }

/* ── Pills ── */
.pills { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.pill { font-size: 14px; padding: 8px 15px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface-1); color: var(--text-1); }

/* ═══════════════════
   CARDS
═══════════════════ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.card { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 28px; background: var(--bg-2); transition: border-color .2s; }
.card:hover { border-color: var(--border-2); }
.card-kicker { display: block; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.card-title { font-family: var(--serif); font-size: 21px; color: var(--text-1); letter-spacing: -.02em; line-height: 1.2; margin-bottom: 12px; }
.card p { font-size: 15px; color: var(--text-3); line-height: 1.78; }

/* ═══════════════════
   PROJECT STRIP
═══════════════════ */
.project-strip-wrap { padding-top: 80px; padding-bottom: 72px; width: var(--shell); margin-inline: auto; }
.project-strip { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-2); padding: 40px 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.project-strip-title { font-family: var(--serif); font-size: 26px; color: var(--text-1); letter-spacing: -.02em; }
.project-strip-sub { font-size: 14px; color: var(--text-4); margin-top: 5px; }

/* ═══════════════════
   FOOTER
═══════════════════ */
footer { border-top: 1px solid var(--border); }
.site-footer { padding: 26px 40px; display: flex; justify-content: space-between; align-items: center; color: var(--text-4); font-size: 13px; width: var(--shell); margin-inline: auto; }
.site-footer a { color: var(--text-4); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--text-2); }

/* ═══════════════════
   LEGAL PAGES
═══════════════════ */
.legal-block { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.legal-block:last-child { border-bottom: none; margin-bottom: 0; }
.legal-heading { font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--text-4); margin-bottom: 14px; }
.legal-block p { font-size: 16px; color: var(--text-3); line-height: 1.8; margin-bottom: 12px; }
.legal-block p:last-child { margin-bottom: 0; }
.legal-block a { color: var(--gold); text-decoration: none; }
.legal-block a:hover { text-decoration: underline; }

/* ═══════════════════
   RESPONSIVE
═══════════════════ */
@media (max-width: 900px) {
  .site-nav { padding: 16px 20px; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; gap: 18px; position: absolute; top: 62px; left: 16px; right: 16px; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px; z-index: 99; }
  .menu-btn { display: inline-flex; }
  .hero { grid-template-columns: 1fr; padding: 52px 20px 44px; gap: 28px; }
  .hero-title { font-size: clamp(28px, 8vw, 38px); }
  .profile-card { grid-template-columns: 110px 1fr; }
  .profile-img { width: 110px; }
  .facts-band { padding: 24px 0; }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
  .facts-grid > div { padding: 12px 20px; border-right: none; border-bottom: 1px solid var(--border); }
  .facts-grid > div:nth-child(odd)  { border-right: 1px solid var(--border); }
  .facts-grid > div:nth-last-child(-n+2) { border-bottom: none; }
  .section { padding: 56px 20px; }
  .two-col { grid-template-columns: 1fr; gap: 28px; }
  .cards { grid-template-columns: 1fr; }
  .project-strip { flex-direction: column; align-items: flex-start; padding: 28px; }
  .project-strip-wrap { padding: 56px 20px; }
  .site-footer { flex-direction: column; gap: 12px; text-align: center; padding: 22px 20px; }
}
@media (max-width: 480px) {
  :root { --shell: calc(100% - 32px); }
  .hero { padding: 44px 16px 36px; }
  .hero-title { font-size: clamp(26px, 7.5vw, 34px); }
  .facts-grid { grid-template-columns: minmax(0, 1fr); }
  .facts-grid > div { border-right: none !important; border-bottom: 1px solid var(--border); }
  .facts-grid > div:last-child { border-bottom: none; }
}
