:root {
  color-scheme: light;
  --ink: #152e2c;
  --muted: #4b635e;
  --dark: #102d2c;
  --accent: #def1ad;
  --line: #d6e3db;
  --paper: #fbfcf8;
  font: 100%/1.6 "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, dl, dd { margin: 0; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #47946e; outline-offset: 5px; }
.wrap { width: min(100% - 3rem, 71rem); margin-inline: auto; }
.skip { position: absolute; top: -6rem; padding: .65rem 1rem; background: white; z-index: 2; }
.skip:focus { top: .75rem; left: .75rem; }
header { border-bottom: 1px solid var(--line); }
.header, .footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.5rem; }
.header { min-height: 4.3rem; padding-block: .55rem; }
.brand { font-weight: 750; letter-spacing: -.03em; font-size: 1.15rem; text-decoration: none; }
.navlinks { display: flex; flex-wrap: wrap; column-gap: clamp(.75rem, 3vw, 2rem); }
.navlinks a { font-size: .9rem; font-weight: 650; text-decoration: none; padding: .55rem 0; }
.navlinks a:hover, .footer a:hover { text-decoration: underline; }
.hero, .contact { background: var(--dark); color: #f5faef; }
.hero { background: radial-gradient(ellipse at 87% 12%, #265147 0%, transparent 48%), var(--dark); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(13rem, 18rem); align-items: center; gap: clamp(2rem, 7vw, 7rem); padding-block: clamp(3.3rem, 8vw, 7rem); }
.eyebrow { color: #c5dbcb; font-size: .9rem; }
h1, h2 { font-family: Georgia, serif; font-weight: 400; line-height: 1.04; letter-spacing: -.052em; }
h1 { font-size: clamp(3.25rem, 7.6vw, 6.65rem); margin: .55rem 0 .7rem; }
h2 { font-size: clamp(2.35rem, 5vw, 3.9rem); }
.specialty { font-size: clamp(1.2rem, 3vw, 1.6rem); color: var(--accent); line-height: 1.35; }
.intro { max-width: 37rem; margin-top: 1.15rem; color: #e0ebe1; font-size: 1.06rem; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.85rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: .65rem 1rem; border: 1px solid transparent; border-radius: .4rem; font-weight: 700; text-decoration: none; }
.primary { color: #16342c; background: var(--accent); }
.primary:hover { background: #f1ffd1; }
.outline { border-color: #8aa69a; }
.outline:hover { background: #25463d; }
.profile { border: 1px solid #658378; border-radius: .85rem; padding: 1.55rem; background: #ffffff0b; }
.profile img { display: block; background: #e1ebe1; border-radius: 50%; object-fit: cover; width: 6.25rem; height: 6.25rem; }
.profile dl { display: grid; gap: .65rem; margin-top: 1.15rem; }
.profile dl div { border-top: 1px solid #658378; padding-top: .5rem; display: flex; align-items: baseline; flex-wrap: wrap; column-gap: .55rem; }
.profile dt { font-size: 1.15rem; font-weight: 700; color: var(--accent); }
.profile dd { color: #dfebe0; }
.section { padding-block: clamp(3.4rem, 7vw, 6.2rem); }
.career { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(1.8rem, 6vw, 6rem); }
.section-intro p, .section-copy { margin-top: .9rem; color: var(--muted); max-width: 40rem; }
.section-intro .hint { font-size: .9rem; }
.timeline { margin: 0; padding: 0 0 0 1.1rem; list-style: none; border-left: 1px solid #9cb6a8; }
.timeline > li { position: relative; margin-bottom: .55rem; }
.timeline > li::before { content: ""; position: absolute; top: 1.2rem; left: -1.44rem; height: .6rem; width: .6rem; border-radius: 50%; background: #417862; box-shadow: 0 0 0 .2rem var(--paper); }
details, .milestone { border-bottom: 1px solid var(--line); }
summary, .milestone { padding: .7rem .3rem .85rem .2rem; }
summary { position: relative; list-style: none; padding-right: 2.35rem; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: .4rem; top: .9rem; width: 1.7rem; text-align: center; border-radius: .3rem; background: #e5eee6; font-weight: 650; }
details[open] summary::after { content: "−"; }
summary:hover strong { text-decoration: underline; }
.timeline strong, .org, .date { display: block; }
.timeline strong { font-size: 1.08rem; line-height: 1.4; }
.org, .date { color: var(--muted); font-size: .9rem; }
.date { margin-bottom: .2rem; }
details ul { margin: 0 0 1.1rem; padding-left: 1.4rem; }
details li + li { margin-top: .4rem; }
.strengths { background: #eaf1e8; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: .9rem; margin-top: 1.65rem; }
.skills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid article, .education { padding: 1.25rem 1.35rem; border: 1px solid var(--line); border-radius: .65rem; background: var(--paper); }
.grid h3, .education h3 { font-size: 1.13rem; line-height: 1.35; }
.grid p, .education p { color: var(--muted); margin-top: .45rem; }
.education { margin-top: .9rem; }
.download { display: flex; flex-direction: column; }
.download div { display: flex; gap: .5rem; margin-top: auto; padding-top: 1.1rem; }
.download a { background: #e9f1e8; border-radius: .35rem; padding: .45rem .9rem; text-decoration: none; font-weight: 700; }
.download a:hover { background: #d5e6d4; }
.contact-layout { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.25rem; }
.contact p { margin-top: .75rem; color: #e0ebe1; }
.footer { padding-block: 1.1rem; color: var(--muted); font-size: .9rem; }
@media (max-width: 46rem) {
  .wrap { width: calc(100% - 2rem); }
  .hero-layout, .career { grid-template-columns: 1fr; }
  .profile { display: flex; align-items: center; gap: 1rem; padding: .85rem 1rem; }
  .profile dl { margin: 0; gap: .3rem; }
  .profile dl div { border: 0; padding: 0; }
  .profile img { width: 4.6rem; height: 4.6rem; }
}
@media (max-width: 32rem) {
  .skills { grid-template-columns: 1fr; }
}
