:root {
  --ink: #16202b;
  --ink-2: #44515e;
  --muted: #6d7782;
  --paper: #faf8f4;
  --paper-2: #f1ede5;
  --line: #e2ddd3;
  --copper: #b5622a;
  --copper-2: #d9874f;
  --deep: #1b2a3a;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 var(--sans); }
a { color: var(--copper); }
a:hover { color: var(--deep); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; color: var(--deep); }
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.small { font-size: .88rem; color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--deep); color: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* Draft placeholders: replace before publishing */
.todo { background: #fff1a8; color: #6b5200; padding: 0 4px; border-radius: 3px; font-style: italic; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(250, 248, 244, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--deep); text-decoration: none; }
.mono { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--deep); color: var(--copper-2); font: 700 .8rem var(--sans); letter-spacing: .04em; }
nav { display: flex; gap: 4px 20px; flex-wrap: wrap; align-items: center; }
nav a { color: var(--ink-2); text-decoration: none; font-size: .95rem; }
nav a:hover { color: var(--copper); }
.nav-cta { color: var(--copper) !important; font-weight: 600; }

/* Buttons */
.btn { display: inline-block; background: var(--deep); color: #fff; text-decoration: none; padding: 12px 22px; border-radius: 6px; font-weight: 600; border: 2px solid var(--deep); }
.btn:hover { background: var(--copper); border-color: var(--copper); color: #fff; }
.btn-line { background: transparent; color: var(--deep); }
.btn-line:hover { background: var(--deep); border-color: var(--deep); }
.btn-light { background: #fff; color: var(--deep); border-color: #fff; }
.btn-light:hover { background: var(--copper-2); border-color: var(--copper-2); color: var(--deep); }

/* Hero */
.hero { padding: 56px 0 24px; overflow-x: clip; }
.portrait { isolation: isolate; }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--copper); }
.intro { font-size: 1.15rem; color: var(--ink-2); max-width: 40em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.portrait { margin: 0; position: relative; justify-self: end; max-width: 380px; width: 100%; }
.portrait::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--copper-2); border-radius: 10px; z-index: -1; }
.portrait img { border-radius: 10px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; background: var(--paper-2); }
.focus { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.focus li { background: #fff; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.focus strong { color: var(--deep); }
.focus span:last-child { color: var(--muted); font-size: .92rem; }
.ico { color: var(--copper); font-size: .9rem; }

/* Sections */
.section { padding: 72px 0; }
.section.alt { background: var(--paper-2); }
.two-col { display: grid; grid-template-columns: 240px 1fr; gap: 40px; }
.side-title { position: relative; padding-top: 14px; }
.side-title::before { content: ""; position: absolute; top: 0; left: 0; width: 40px; height: 3px; background: var(--copper); }
.prose { max-width: 44em; }
.lead { font-size: 1.2rem; color: var(--ink); }
.section-head { max-width: 44em; margin-bottom: 32px; }
.section-head p { color: var(--ink-2); }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 2px solid var(--line); }
.timeline > li { position: relative; padding-bottom: 32px; }
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li::before { content: ""; position: absolute; left: -36px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper-2); border: 3px solid var(--copper); }
.when { font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--copper); margin-bottom: 4px; }
.role { font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.timeline h3 { margin-bottom: 2px; }
.since { font-weight: 400; color: var(--muted); font-size: .88rem; }
.bullets { margin: 6px 0 0; padding-left: 18px; color: var(--ink-2); }
.bullets li { margin-bottom: 4px; }
.sub { margin: 48px 0 20px; font-size: 1.35rem; }
.certs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cert { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.cert h3 { font-size: 1.05rem; margin-bottom: 4px; }
.cert p { margin-bottom: 6px; color: var(--ink-2); font-size: .94rem; }
.cert.major { border-color: var(--copper-2); box-shadow: 0 10px 30px rgba(181, 98, 42, .12); }
.badge { flex: 0 0 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--copper); font: 700 .78rem var(--sans); letter-spacing: .03em; border: 2px solid var(--line); }
.cert.major .badge { background: var(--deep); color: var(--copper-2); border-color: var(--deep); }
@media (max-width: 900px) { .certs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .certs { grid-template-columns: 1fr; } }
.langs { font-size: .95rem; color: var(--ink-2); }
.facts { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 16px 36px; }
.facts strong { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--deep); line-height: 1.1; }
.facts span { font-size: .85rem; color: var(--muted); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 26px; display: flex; flex-direction: column; }
.card p { color: var(--ink-2); }
.card.feature { border-color: var(--copper-2); box-shadow: 0 10px 30px rgba(181, 98, 42, .12); }
.card.soon { border-style: dashed; }
.muted-card { background: #fdfcfa; }
.tag { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--copper) !important; margin-bottom: 10px; }
.meta { font-size: .88rem; color: var(--muted) !important; }
.more { margin-top: auto; font-weight: 600; text-decoration: none; }

/* Lists */
.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: 0 0 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.list li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.list.compact h3 { margin: 0; }
.list .meta { margin-bottom: 6px; }

/* Contact */
.contact { background: var(--deep); color: #d9e0e7; }
.contact h2 { color: #fff; }
.contact .small { color: #a9b6c3; }
.contact-box { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.contact-box > div { max-width: 40em; }

/* Footer */
.foot { background: #121c27; color: #9aa7b4; padding: 32px 0; font-size: .9rem; }
.foot .small { color: #7f8c99; margin: 0; }
.disclaimer { max-width: 60em; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .portrait { justify-self: start; max-width: 300px; }
  .focus { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 16px; }
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .focus { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  nav { gap: 4px 14px; }
  nav a { font-size: .9rem; }
  .portrait::before { inset: 12px -10px -12px 12px; }
}
