:root {
    --paper: #101416;
    --card: #171D20;
    --ink: #ECEAE4;
    --ink-2: #C3C6C3;
    --muted: #8E9594;
    --rule: #2A3236;
    --sea: #4CC2B2;
    --contour: rgba(76, 194, 178, 0.14);
    --shadow: 0 1px 0 rgba(0, 0, 0, 0.3), 0 16px 36px -20px rgba(0, 0, 0, 0.7);
  --paper-light: #E9E6DF;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif; font-size: 17px; line-height: 1.65; font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
}
a { color: var(--sea); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }

/* Top bar */
.top { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.mark { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.mark-badge {
  width: 36px; height: 36px; border-radius: 10px; background: var(--ink); color: var(--paper);
  display: grid; place-items: center; font-family: "Inter Tight", "Helvetica Neue", Arial, sans-serif; font-weight: 700; font-size: 17px; letter-spacing: -0.02em; position: relative;
}
.mark-badge::after { content: ""; position: absolute; right: 6px; bottom: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--sea); }
.mark-name { font-weight: 600; font-size: 15px; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 14px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--sea); }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--rule); }
.contours { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.contours path { fill: none; stroke: var(--contour); stroke-width: 1.2; }
.hero-inner { position: relative; padding: 72px 0 72px; display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.eyebrow { color: var(--sea); margin: 0 0 22px; }
h1 {
  font-family: "Inter Tight", "Helvetica Neue", Arial, sans-serif; font-weight: 600;
  font-size: clamp(54px, 10vw, 120px); line-height: 0.92; letter-spacing: -0.045em; margin: 0 0 28px;
}
h1 em { font-style: normal; font-weight: 300; color: var(--sea); }
h1.page { font-size: clamp(44px, 7vw, 84px); }
.lede { font-size: clamp(19px, 2.2vw, 23px); line-height: 1.5; color: var(--ink-2); max-width: 34em; margin: 0 0 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 999px;
  font-size: 15px; font-weight: 600; text-decoration: none; border: 1px solid var(--ink); color: var(--ink);
  background: transparent; transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--ink); color: var(--paper); }
.btn.primary:hover { background: var(--sea); border-color: var(--sea); }
.portrait { position: relative; justify-self: start; width: min(340px, 78vw); }
.portrait img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; background: #FFFFFF; mix-blend-mode: multiply; }
.portrait .frame { border-radius: 20px; background: #E9E6DF; overflow: hidden; }
.portrait::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 38px; height: 62%; border-radius: 20px; background: var(--sea); opacity: 0.12; z-index: -1; transform: translate(14px, 14px);
}
.portrait figcaption { margin-top: 26px; color: var(--muted); }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); border-bottom: 1px solid var(--rule); }
.fact { padding: 28px 24px 30px 0; border-top: 1px solid var(--rule); }
.fact:nth-child(-n+2) { border-top: 0; }
.fact-num { font-family: "Inter Tight", "Helvetica Neue", Arial, sans-serif; font-size: clamp(38px, 6vw, 56px); line-height: 1; letter-spacing: -0.02em; margin: 0 0 10px; }
.fact-num sup { font-size: 0.45em; vertical-align: top; position: relative; top: 0.3em; color: var(--sea); }
.fact-label { color: var(--muted); font-size: 14px; line-height: 1.45; margin: 0; max-width: 18em; }

/* Blocks */
section.block { display: grid; grid-template-columns: 1fr; gap: 18px; padding: 80px 0; border-bottom: 1px solid var(--rule); }
section.block:last-of-type { border-bottom: 0; }
.block-label { color: var(--muted); display: flex; gap: 14px; align-items: baseline; margin: 0; }
.block-label b { color: var(--sea); font-weight: 500; }
h2 {
  font-family: "Inter Tight", "Helvetica Neue", Arial, sans-serif; font-weight: 600;
  font-size: clamp(30px, 4.4vw, 48px); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 26px; max-width: 18em;
}
h3 { font-family: "Inter Tight", "Helvetica Neue", Arial, sans-serif; font-weight: 500; font-size: 24px; line-height: 1.2; margin: 0 0 8px; }
.prose p { margin: 0 0 18px; max-width: 38em; color: var(--ink-2); }
.prose p.lead { color: var(--ink); font-size: 19px; }
.more { font-weight: 600; text-decoration: none; }
.more::after { content: " →"; font-family: "JetBrains Mono", monospace; }

/* Timeline */
.timeline { list-style: none; margin: 8px 0 0; padding: 0; border-left: 1px solid var(--rule); }
.timeline li { position: relative; padding: 0 0 30px 28px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 7px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 2px solid var(--sea); }
.timeline li.now::before { background: var(--sea); }
.tl-when { color: var(--muted); margin: 0 0 4px; }
.tl-role { font-family: "Inter Tight", "Helvetica Neue", Arial, sans-serif; font-size: 23px; line-height: 1.25; margin: 0 0 4px; font-weight: 500; }
.tl-org { margin: 0; color: var(--ink-2); }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 22px; padding: 0; list-style: none; }
.chips li { padding: 9px 15px; border: 1px solid var(--rule); border-radius: 999px; background: var(--card); font-size: 15px; font-weight: 500; }

/* Cards */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 6px; }
.card { background: var(--card); border: 1px solid var(--rule); border-radius: 18px; padding: 26px 26px 24px; box-shadow: var(--shadow); }
.card p { color: var(--ink-2); margin: 0; }
.card .mono { color: var(--sea); margin: 0 0 14px; }
a.paper { display: block; text-decoration: none; color: var(--ink); transition: transform .18s ease, border-color .18s ease; }
a.paper:hover { transform: translateY(-3px); border-color: var(--sea); }
a.paper h3 { font-style: normal; font-weight: 600; font-size: clamp(26px, 3.2vw, 34px); line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 14px; }
a.paper p { margin: 0 0 22px; }
a.paper .meta { color: var(--muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0; }

/* Lists */
.linklist { list-style: none; margin: 4px 0 20px; padding: 0; border-top: 1px solid var(--rule); }
.linklist li { border-bottom: 1px solid var(--rule); }
.linklist a { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; padding: 18px 0; color: var(--ink); text-decoration: none; font-size: 18px; }
.linklist a:hover { color: var(--sea); }
.linklist .arrow { font-family: "JetBrains Mono", monospace; color: var(--sea); }
.linklist small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }

/* Contact */
.contact-card {
  background: #E9E6DF; color: #16191B; border-radius: 24px; padding: 40px 32px; display: grid; gap: 22px;
}
.contact-card h2 { color: #16191B; margin: 0; }
.contact-card p { margin: 0; color: #16191B; opacity: 0.8; max-width: 34em; }
.contact-card .email { font-family: "Inter Tight", "Helvetica Neue", Arial, sans-serif; font-weight: 500; font-size: clamp(24px, 3.4vw, 34px); color: #16191B; text-decoration: none; border-bottom: 1px solid currentColor; justify-self: start; }
.contact-card .email:hover { color: #0E6B63; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { color: #16191B; border: 1px solid rgba(22, 25, 27, 0.3); padding: 9px 15px; border-radius: 999px; text-decoration: none; font-size: 14px; }
.socials a:hover { border-color: #0E6B63; color: #0E6B63; }

footer { padding: 36px 0 48px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--rule); }
footer p { margin: 0 0 8px; }

@media (min-width: 760px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .fact { border-top: 0; border-left: 1px solid var(--rule); padding: 32px 24px 34px; }
  .fact:first-child { border-left: 0; padding-left: 0; }
  section.block { grid-template-columns: 220px 1fr; gap: 48px; padding: 100px 0; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .hero-inner { padding: 104px 0 96px; }
  .hero-inner.with-photo { grid-template-columns: 1.35fr 1fr; gap: 64px; }
  .portrait { justify-self: end; }
  .contact-card { padding: 56px 52px; }
}
@media (max-width: 560px) {
  .nav { gap: 14px; }
  .nav a { font-size: 13px; }
  .mark-name { display: none; }
  .wrap { padding: 0 18px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
