:root {
  color-scheme: light;
  --ink: #1b302e;
  --green: #183c38;
  --green-deep: #12312e;
  --mint: #c7d8c8;
  --paper: #f7f7f2;
  --line: #dfe4dc;
  --muted: #78827b;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.skip-link { position: absolute; top: -50px; left: 16px; z-index: 20; padding: 10px 14px; background: white; }
.skip-link:focus { top: 12px; }
.topbar { height: 82px; padding: 0 7.5%; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(27,48,46,.1); }
.brand { font: 700 28px var(--serif); letter-spacing: -2px; }
.brand span { color: #7d9c81; }
.topbar nav { display: flex; gap: clamp(20px, 3.3vw, 52px); color: #5f6c65; font-size: 12px; }
.topbar nav a:hover, .text-link:hover, .back-top:hover { color: #64886d; }
.button { min-height: 43px; padding: 0 19px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; font-size: 12px; font-weight: 600; transition: .2s ease; cursor: pointer; }
.button-outline { border-color: #bcc7bd; color: var(--ink); background: transparent; }
.button-outline:hover { background: white; }
.button-primary { background: var(--green); color: white; }
.button-primary:hover { background: #28564d; transform: translateY(-2px); }
.hero { position: relative; min-height: 620px; padding: 80px 12.5% 74px; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 9%; overflow: hidden; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 25px; color: #718078; text-transform: uppercase; letter-spacing: 1.7px; font-size: 9px; font-weight: 700; }
.eyebrow-line { display: inline-block; width: 23px; height: 1px; margin: 0 8px 3px 0; background: #91a592; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 11px; font: 600 clamp(48px, 6vw, 76px)/1.07 var(--serif); letter-spacing: -2.7px; }
h1 span { color: #78927d; }
.role { margin-bottom: 23px; color: #68786f; font-size: 14px; letter-spacing: .3px; }
.role-divider { padding: 0 3px; color: #a0afa2; }
.intro { max-width: 470px; margin-bottom: 30px; color: #748078; font-size: 13px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hero-actions .button { min-height: 41px; padding: 0 14px; font-size: 10px; }
.hero-actions .button-primary { margin-right: 5px; }
.hero-download { color: var(--ink); }
.text-link { font-size: 11px; font-weight: 600; }
.text-link span { margin-left: 6px; color: #718d77; }
.hero-meta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px 22px; color: #78827b; font-size: 10px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta a:hover, .contact-details a:hover { color: #9eb79f; }
.meta-dot { width: 6px; height: 6px; border-radius: 50%; background: #7d9c81; }
.profile-card { position: relative; z-index: 1; width: min(100%, 365px); margin-left: auto; padding: 13px; background: #fff; box-shadow: 0 20px 60px rgba(37,60,48,.09); transform: rotate(1.5deg); }
.portrait { position: relative; min-height: 365px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, #dce5d8, #b8cbbb); color: rgba(24,60,56,.42); }
.portrait > span { z-index: 1; font: 600 50px var(--serif); letter-spacing: 3px; }
.portrait-mark { position: absolute; right: -48px; bottom: -100px; width: 300px; height: 300px; border: 1px solid rgba(24,60,56,.22); border-radius: 50%; }
.portrait-mark::before, .portrait-mark::after { position: absolute; content: ""; border: 1px solid rgba(24,60,56,.18); border-radius: 50%; }
.portrait-mark::before { inset: 20px; }
.portrait-mark::after { inset: 42px; }
.profile-caption { min-height: 68px; padding: 15px 11px 6px; display: flex; justify-content: space-between; align-items: center; }
.caption-label { margin-bottom: 5px; color: #909a92; font-size: 8px; text-transform: uppercase; letter-spacing: 1.2px; }
.caption-value { margin: 0; font-size: 12px; font-weight: 600; }
.caption-icon { font-size: 19px; color: #829787; }
.card-index { position: absolute; left: -39px; bottom: 1px; color: #849087; font-size: 8px; letter-spacing: 1px; writing-mode: vertical-rl; }
.card-index span { color: #b6c0b7; }
.hero-number { position: absolute; right: 6%; bottom: -95px; color: rgba(24,60,56,.035); font: 700 330px/.8 var(--serif); }
.content-section { padding: 105px 15%; display: grid; grid-template-columns: .8fr 1.2fr; gap: 10%; border-top: 1px solid var(--line); }
.section-heading .eyebrow, .skills-intro .eyebrow { margin-bottom: 21px; }
h2 { margin-bottom: 0; font: 600 clamp(31px, 3.2vw, 43px)/1.18 var(--serif); letter-spacing: -1px; }
.section-body { padding-top: 13px; }
.large-copy { margin-bottom: 16px; color: #324b43; font: 500 18px/1.65 var(--serif); }
.muted-copy { color: #858f87; font-size: 11px; line-height: 1.9; }
.stat-row { margin-top: 35px; padding-top: 24px; display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat strong { font: 600 25px var(--serif); color: #486b56; }
.stat span { color: #818a83; font-size: 9px; }
.experience-section { background: #f1f3ed; }
.experience-section .section-heading { max-width: 340px; }
.section-subtitle { margin: 18px 0 0; color: #486b56; font-size: 13px; font-weight: 600; line-height: 1.6; }
.section-note { max-width: 220px; margin-top: 19px; color: #818b83; font-size: 11px; line-height: 1.8; }
.timeline { padding-top: 2px; }
.timeline-item { display: block; padding: 0 0 24px; border-bottom: 1px solid #dce2da; }
.timeline-item + .timeline-item { padding-top: 24px; }
.timeline-date, .education-year { padding-top: 5px; color: #728078; font-size: 9px; letter-spacing: .8px; }
.timeline-content h3, .education-item h3 { margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.company { margin-bottom: 13px; color: #77847a; font-size: 10px; }
.company span { padding: 0 5px; color: #a4b09f; }
.timeline-content ul { margin: 0; padding-left: 15px; color: #78827b; font-size: 10px; line-height: 1.9; }
.timeline-summary { display: grid; grid-template-columns: minmax(110px, 135px) minmax(0, 1fr) 22px; gap: clamp(12px, 2vw, 24px); align-items: start; cursor: pointer; list-style: none; }
.timeline-summary::-webkit-details-marker { display: none; }
.timeline-summary::marker { content: ""; }
.timeline-title { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.timeline-title strong { font-size: 14px; font-weight: 600; }
.timeline-title .company { display: block; margin: 0; line-height: 1.7; }
.timeline-toggle { width: 21px; height: 21px; display: grid; place-items: center; border: 1px solid #c5d0c5; border-radius: 50%; color: #54755b; font-size: 15px; line-height: 1; transition: transform .2s ease, background .2s ease; }
.timeline-item[open] .timeline-toggle { transform: rotate(45deg); background: #e3e9e0; }
.timeline-item[open] .timeline-summary { padding-bottom: 17px; }
.timeline-content { padding-left: 149px; animation: reveal .22s ease-out; }
.timeline-content ul { padding-left: 14px; }
.experience-tags { margin: 15px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.experience-tags span { padding: 6px 9px; background: #e6ebe3; color: #65766a; font-size: 8px; }
@keyframes reveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.education-list { padding-top: 4px; }
.education-item { display: grid; grid-template-columns: 74px 1fr 22px; gap: 15px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.education-item:first-child { padding-top: 0; }
.education-item p { margin: 0; color: #7f8981; font-size: 10px; }
.education-item .education-note { margin-top: 8px; line-height: 1.7; }
.education-check { color: #73917a; font-size: 14px; }
.courses-list .education-item { grid-template-columns: 54px 1fr; }
.language-list { padding-top: 4px; }
.language-list > div { min-height: 54px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.language-list strong { font: 600 16px var(--serif); }
.language-list span { color: #78827b; font-size: 10px; }
.skills-section { padding: 82px 15%; display: grid; grid-template-columns: .8fr 1.2fr; gap: 10%; background: var(--green); color: white; }
.skills-intro .eyebrow { color: #a5bba8; }
.skills-note { max-width: 260px; margin: 18px 0 0; color: #b4c5b5; font-size: 10px; line-height: 1.8; }
.skills-grid { display: grid; grid-template-columns: 1fr 1fr; align-content: center; column-gap: 22px; }
.skill-category { min-height: 128px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.skill-category h3 { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; font-size: 11px; font-weight: 600; }
.skill-category h3 span { color: #9eb4a1; font-size: 8px; }
.skill-category p { margin: 0; color: #bfd0c0; font-size: 9px; line-height: 1.8; }
.contact-section { padding: 91px 15%; display: grid; grid-template-columns: 1fr 300px; gap: 12%; align-items: center; background: var(--green-deep); color: white; }
.eyebrow-light { color: #a7bba9; }
.contact-copy h2 { margin-bottom: 17px; font-size: clamp(37px, 4vw, 51px); }
.contact-copy > p:not(.eyebrow) { max-width: 350px; margin-bottom: 25px; color: #b4c1b6; font-size: 11px; line-height: 1.8; }
.contact-email { display: inline-flex; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.38); font: 500 16px var(--serif); }
.contact-email span { color: #b4c9b4; }
.contact-details { margin-top: 25px; display: flex; flex-direction: column; gap: 7px; color: #aab9ac; font-size: 9px; }
.qr-card { padding: 20px; background: #f8f8f3; color: var(--ink); }
.qr-card-heading { display: flex; justify-content: space-between; align-items: flex-start; }
.qr-card-heading h3 { margin: 0; font: 600 18px var(--serif); }
.qr-spark { color: #77937c; font-size: 20px; }
.qr-image { width: 150px; height: 150px; margin: 17px auto 10px; display: block; image-rendering: pixelated; }
.qr-url { overflow: hidden; margin-bottom: 13px; color: #838d84; font-size: 9px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.qr-download { display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px solid #e1e5dd; font-size: 10px; font-weight: 600; }
.qr-download span { color: #6d8b73; font-size: 14px; }
.footer { min-height: 84px; padding: 0 7.5%; display: flex; align-items: center; justify-content: space-between; background: #0e2926; color: #aab8ad; }
.brand-footer { color: white; font-size: 23px; }
.footer p, .back-top { margin: 0; font-size: 9px; }
.back-top { color: #d7e0d7; }
[hidden] { display: none !important; }

@media (max-width: 760px) {
  .topbar { height: 69px; padding: 0 6%; }
  .topbar nav { display: none; }
  .print-button { min-height: 38px; padding: 0 12px; font-size: 10px; }
  .hero { min-height: unset; padding: 65px 8% 60px; grid-template-columns: 1fr; gap: 44px; }
  h1 { font-size: clamp(50px, 13vw, 72px); }
  .role { max-width: 420px; line-height: 1.8; }
  .hero-actions { gap: 8px; }
  .hero-actions .button { padding: 0 10px; font-size: 9px; }
  .profile-card { width: min(78%, 340px); margin-right: auto; }
  .portrait { min-height: 280px; }
  .hero-number { right: 0; bottom: 150px; font-size: 230px; }
  .content-section { padding: 68px 8%; grid-template-columns: 1fr; gap: 31px; }
  .section-body { padding-top: 0; }
  .timeline-summary { grid-template-columns: 1fr 22px; gap: 8px 12px; }
  .timeline-date { grid-column: 1; padding-top: 0; }
  .timeline-title { grid-column: 1; grid-row: 2; }
  .timeline-toggle { grid-column: 2; grid-row: 1 / span 2; }
  .timeline-content { padding-left: 0; }
  .skills-section { padding: 65px 8%; grid-template-columns: 1fr; gap: 28px; }
  .skills-grid { grid-template-columns: 1fr; }
  .contact-section { padding: 68px 8%; grid-template-columns: 1fr; gap: 38px; }
  .qr-card { width: min(100%, 340px); }
  .footer { padding: 20px 6%; flex-wrap: wrap; gap: 13px; }
  .footer p { order: 3; width: 100%; }
}

@media (min-width: 761px) and (max-width: 1050px) {
  .experience-section { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .experience-section .section-heading { max-width: 100%; }
  .experience-section .section-note { max-width: 390px; }
  .timeline-content { padding-left: 147px; }
}

@media (max-width: 430px) {
  .hero-meta { flex-direction: column; gap: 10px; }
  .stat-row { flex-wrap: wrap; }
  .stat { min-width: 41%; }
  .skills-grid { grid-template-columns: 1fr; }
  .education-item { grid-template-columns: 54px 1fr 18px; gap: 10px; }
}

@media print {
  @page { margin: 14mm; }
  body { background: white; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .topbar, .hero-actions, .qr-download, .footer .back-top, .skip-link { display: none !important; }
  .timeline-item > .timeline-content { display: block !important; }
  .hero { min-height: unset; padding: 25px 6% 35px; }
  .content-section, .skills-section, .contact-section { padding: 34px 7%; break-inside: auto; }
  .timeline-item { break-inside: avoid; }
  .timeline-item[open] .timeline-content { animation: none; }
  .profile-card { box-shadow: none; }
  .portrait { min-height: 220px; }
  .hero-number { font-size: 190px; }
  a { text-decoration: none; }
}
