:root { --ink: #142c32; --muted: #52696e; --ocean: #176878; --line: #cbd8da; --paper: #f6f8f5; --serif: "Source Serif 4", Georgia, serif; --sans: "DM Sans", Arial, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 15px/1.6 var(--sans); }
a { color: var(--ocean); text-underline-offset: .2em; }
p, h1, h2, h3 { margin-top: 0; }
.cv-nav { display: flex; justify-content: space-between; max-width: 1040px; margin: 1.5rem auto 0; padding: 0 2rem; }
.cv-nav a, .cv-nav button { color: var(--ocean); background: none; border: 0; font: 600 .88rem var(--sans); cursor: pointer; }
.cv { max-width: 1040px; margin: 1.5rem auto; padding: 4rem; background: white; box-shadow: 0 8px 30px rgba(20,44,50,.08); }
.cv-header { display: grid; grid-template-columns: 1fr auto; gap: 3rem; padding-bottom: 2.5rem; border-bottom: 3px solid var(--ocean); }
.eyebrow { margin-bottom: .5rem; color: var(--ocean); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
h1 { margin-bottom: .5rem; font: 700 clamp(2.6rem, 6vw, 4.5rem)/1.05 var(--serif); letter-spacing: -.035em; }
.identity { max-width: 650px; margin: 0; color: var(--muted); font-weight: 600; }
address { display: flex; flex-direction: column; gap: .25rem; align-items: flex-end; padding-top: 1.7rem; font-style: normal; }
section { display: grid; grid-template-columns: 185px 1fr; gap: 2.5rem; padding: 2.2rem 0; border-bottom: 1px solid var(--line); }
section > h2 { margin: 0; color: var(--ocean); font: 700 1.1rem/1.3 var(--serif); }
.section-content > :last-child, article > :last-child { margin-bottom: 0; }
.profile { max-width: 720px; font-size: 1.05rem; }
.entries { display: grid; gap: 1.7rem; }
.entry-heading { display: flex; justify-content: space-between; gap: 1.5rem; }
h3 { margin-bottom: .2rem; font: 700 1.05rem/1.4 var(--serif); }
.entry-heading time, .compact-list time { color: var(--ocean); font-size: .84rem; font-weight: 700; white-space: nowrap; }
.entries p { margin-bottom: .2rem; color: var(--muted); }
.entries p strong { color: var(--ink); }
ul { margin: 0; padding-left: 1.2rem; }
li + li { margin-top: .55rem; }
.skills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.skills h3 { color: var(--ocean); font-family: var(--sans); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.skills p { margin: 0; color: var(--muted); }
.compact-list p { display: grid; grid-template-columns: 50px 1fr; gap: 1rem; margin-bottom: .65rem; }
footer { max-width: 1040px; margin: 0 auto 2rem; padding: 0 2rem; color: var(--muted); font-size: .8rem; text-align: center; }
@media (max-width: 760px) {
  .cv { margin: 1rem; padding: 2rem 1.4rem; }
  .cv-header, section { grid-template-columns: 1fr; gap: 1rem; }
  address { align-items: flex-start; padding-top: 0; }
  .skills { grid-template-columns: 1fr; }
}
@media print {
  @page { margin: .55in; }
  body { background: white; font-size: 10.5pt; }
  .cv-nav { display: none; }
  .cv { max-width: none; margin: 0; padding: 0; box-shadow: none; }
  .cv-header { padding-bottom: 1.2rem; }
  section { grid-template-columns: 1.45in 1fr; gap: .25in; padding: .8rem 0; break-inside: avoid; }
  footer { display: none; }
  a { color: inherit; text-decoration: none; }
}