@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap');

:root {
  color-scheme: light;
  --paper: #f7f6f2;
  --ink: #242723;
  --muted: #777b73;
  --rule: #dcded6;
  --accent: #d9ff67;
  --accent-dark: #536b21;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', 'Segoe UI', sans-serif;
  --mono: 'DM Mono', 'Courier New', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid #6f9020; outline-offset: 4px; }
.skip-link { position: absolute; z-index: 10; top: -60px; left: 16px; padding: 10px 14px; background: var(--accent); }
.skip-link:focus { top: 10px; }
.site-header { height: 76px; max-width: 1240px; margin: auto; padding: 0 48px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--rule); }
.wordmark { font-size: 18px; font-weight: 700; letter-spacing: -.07em; }
.wordmark span { color: #91af3b; }
.main-nav { display: flex; gap: 34px; margin-left: auto; margin-right: 48px; }
.main-nav a, .site-footer > a:last-child { font-size: 12px; color: #555a52; transition: color .2s ease; }
.main-nav a:hover, .site-footer > a:last-child:hover { color: #6d8c1e; }
.header-actions { display: flex; align-items: center; }
.language-switch { display: flex; align-items: center; gap: 7px; font: 11px var(--mono); color: #a0a39d; }
.language-switch button { padding: 6px 2px; border: 0; background: transparent; color: #a0a39d; font: inherit; cursor: pointer; }
.language-switch button[aria-pressed="true"] { color: var(--ink); font-weight: 500; }

.hero { position: relative; max-width: 1240px; min-height: 588px; margin: auto; padding: 105px 9.2% 100px; display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 9%; align-items: center; }
.hero-copy { max-width: 620px; }
.eyebrow, .section-label, .note-top, .note-foot, .job-meta, .skill-number, .edu-year, .interests > span, .site-footer p { font: 10px/1.5 var(--mono); letter-spacing: .09em; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 26px; color: #71766d; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #8bb840; box-shadow: 0 0 0 3px #e9eedf; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 16px; font: 500 clamp(64px, 8.6vw, 110px)/.96 var(--serif); letter-spacing: -.065em; }
h1 em, h2 em { font-weight: 500; }
.hero-role { margin: 0 0 18px; color: #4d514a; font-size: 14px; }
.hero-intro { max-width: 510px; margin-bottom: 24px; color: #696e65; font-size: 15px; line-height: 1.85; }
.hero-links { display: flex; gap: 25px; }
.text-link { display: flex; align-items: center; gap: 9px; padding-bottom: 3px; border-bottom: 1px solid #a8ac9f; font-size: 12px; }
.text-link span:last-child { font-size: 14px; transition: transform .2s; }
.text-link:hover span:last-child { transform: translate(2px, -2px); }
.hero-note { position: relative; padding: 23px 25px 20px; background: #eeefe8; border: 1px solid #e7e8df; }
.note-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 15px; border-bottom: 1px solid #d9dcd1; color: #72776d; font-size: 9px; }
.note-spark { color: #8cae33; font-size: 20px; }
.hero-note > p { display: flex; align-items: baseline; gap: 11px; margin: 17px 0; color: #747970; font-size: 10px; line-height: 1.4; }
.hero-note > p strong { min-width: 43px; color: var(--ink); font: 500 31px/1 var(--serif); letter-spacing: -.06em; }
.hero-note > p strong span { color: #87a837; }
.note-foot { display: flex; align-items: center; gap: 8px; padding-top: 14px; border-top: 1px solid #d9dcd1; color: #71766d; font-size: 9px; letter-spacing: 0; }
.tiny-star { color: #89a83b; font-size: 14px; }
.hero-index { position: absolute; right: 49px; bottom: 25px; color: #a4a69f; font: 9px var(--mono); letter-spacing: .08em; }

.section { max-width: 1060px; margin: 0 auto; padding: 100px 48px; display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 38px; border-top: 1px solid var(--rule); }
.section-label { display: flex; gap: 14px; padding-top: 13px; color: #888d83; font-size: 9px; }
.section-label span:first-child { color: #9bb752; }
.section-body h2, .contact-section h2 { margin-bottom: 30px; font: 500 clamp(39px, 5vw, 58px)/1.05 var(--serif); letter-spacing: -.045em; }
.about-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 33px; }
.about-columns p { margin-bottom: 0; color: #656a62; font-size: 13px; line-height: 1.9; }
.language-line { display: flex; align-items: center; gap: 11px; margin-top: 29px; padding-top: 17px; border-top: 1px solid var(--rule); color: #757a71; font-size: 11px; }
.language-icon { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: var(--accent); color: #49592a; font: 10px var(--serif); }

.experience-section { padding-top: 94px; padding-bottom: 100px; }
.experience-section .section-body h2 { margin-bottom: 42px; }
.timeline { border-top: 1px solid var(--rule); }
.job { position: relative; padding: 28px 0 31px; border-bottom: 1px solid var(--rule); }
.job-featured { padding-top: 30px; }
.job-meta { display: flex; gap: 16px; align-items: center; margin-bottom: 11px; color: #7e8379; font-size: 9px; }
.job-place { color: #a0a39b; }
.job h3, .education-list h3 { margin: 0 0 3px; font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.company { margin-bottom: 14px; color: #777c73; font-size: 12px; }
.job ul { margin: 15px 0 0; padding-left: 17px; color: #62675f; font-size: 12px; line-height: 1.8; }
.job li { padding-left: 4px; margin: 5px 0; }
.job li::marker { color: #91af3b; font-size: 10px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.tag-row span { padding: 4px 9px; border: 1px solid #dfe1d9; border-radius: 30px; color: #777c73; font: 9px var(--mono); }
.job-summary { max-width: 620px; margin: 10px 0 0; color: #676c64; font-size: 12px; line-height: 1.8; }
.samples { margin: 14px 0 0; color: #7a7f76; font-size: 11px; }
.samples a { color: #4d651d; border-bottom: 1px solid #b9c59b; }
.samples span + a { margin-left: 5px; }

.skills-section { padding-top: 96px; padding-bottom: 104px; background: #eeefe8; max-width: none; padding-left: max(48px, calc((100vw - 964px) / 2)); padding-right: max(48px, calc((100vw - 964px) / 2)); }
.skills-section .section-body h2 { margin-bottom: 41px; }
.skills-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 28px; border-top: 1px solid #d7d9d0; }
.skills-grid article { min-height: 154px; padding: 18px 0 20px; border-bottom: 1px solid #d7d9d0; }
.skill-number { color: #90a94d; font-size: 9px; }
.skills-grid h3 { margin: 9px 0 5px; font-size: 13px; font-weight: 600; }
.skills-grid p { margin: 0; color: #70756c; font-size: 11px; line-height: 1.75; }

.education-section { padding-top: 100px; padding-bottom: 112px; }
.education-section .section-body h2 { margin-bottom: 39px; }
.education-list { border-top: 1px solid var(--rule); }
.education-list article { display: grid; grid-template-columns: 95px 1fr; gap: 10px; padding: 19px 0; border-bottom: 1px solid var(--rule); }
.edu-year { padding-top: 4px; color: #8a8f84; font-size: 9px; }
.education-list h3 { max-width: 530px; font-size: 13px; line-height: 1.55; }
.education-list p { margin: 5px 0 0; color: #797e75; font-size: 11px; }
.interests { display: flex; gap: 31px; margin-top: 25px; }
.interests > span { min-width: 95px; padding-top: 3px; color: #92968e; font-size: 9px; }
.interests p { margin: 0; color: #63685f; font-size: 12px; }

.contact-section { position: relative; overflow: hidden; padding: 92px 24px 44px; background: #e6f0c9; text-align: center; }
.contact-section .eyebrow { display: block; margin-bottom: 18px; color: #71814e; font-size: 9px; }
.contact-section h2 { margin-bottom: 25px; font-size: clamp(52px, 7vw, 78px); }
.contact-cta { display: inline-flex; align-items: center; gap: 34px; padding: 11px 0; border-bottom: 1px solid #798d4e; color: #49592e; font-size: 13px; }
.contact-cta span:last-child { font-size: 17px; }
.contact-meta { display: flex; justify-content: center; gap: 24px; margin-top: 35px; color: #777f68; font-size: 10px; }
.contact-meta a:hover { color: #39481f; }
.contact-decoration { position: absolute; right: 13%; top: 53px; color: #d5e4b2; font-size: 94px; line-height: 1; }
.site-footer { max-width: 1240px; min-height: 79px; padding: 0 48px; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.site-footer p { margin: 0; color: #92968d; font-size: 9px; letter-spacing: .015em; }

@media (max-width: 780px) {
  .site-header { height: 66px; padding: 0 25px; }
  .main-nav { gap: 18px; margin-right: 25px; }
  .main-nav a { font-size: 11px; }
  .hero { min-height: auto; padding: 82px 8% 72px; grid-template-columns: minmax(0, 1fr) 245px; gap: 6%; }
  h1 { font-size: clamp(66px, 10vw, 88px); }
  .hero-note { padding: 19px; }
  .section { padding: 78px 35px; grid-template-columns: 145px minmax(0, 1fr); gap: 25px; }
  .skills-section { padding-left: 35px; padding-right: 35px; }
  .skills-section .section-label { grid-column: 1; }
  .skills-grid { grid-template-columns: 1fr 1fr; }
  .site-footer { padding: 0 30px; }
}

@media (max-width: 560px) {
  html { scroll-padding-top: 75px; }
  body { font-size: 14px; }
  .site-header { height: 61px; padding: 0 19px; }
  .main-nav { gap: 12px; margin: 0 15px 0 auto; }
  .main-nav a { font-size: 10px; }
  .main-nav a:nth-child(3) { display: none; }
  .language-switch { gap: 4px; font-size: 10px; }
  .hero { display: block; padding: 72px 25px 63px; }
  .eyebrow { font-size: 9px; }
  h1 { font-size: clamp(66px, 16vw, 88px); }
  .hero-role { font-size: 12px; }
  .hero-intro { font-size: 13px; }
  .hero-note { max-width: 360px; margin-top: 44px; }
  .hero-note > p { justify-content: flex-start; }
  .hero-index { right: 24px; bottom: 18px; }
  .section { padding: 67px 25px; display: block; }
  .section-label { margin-bottom: 19px; padding-top: 0; }
  .section-body h2, .contact-section h2 { font-size: 43px; }
  .about-columns { display: block; }
  .about-columns p + p { margin-top: 14px; }
  .language-line { align-items: flex-start; font-size: 10px; }
  .job-meta { flex-wrap: wrap; gap: 6px 12px; }
  .job h3 { font-size: 15px; }
  .job ul { font-size: 11px; }
  .skills-section { padding: 67px 25px; }
  .skills-grid { gap: 0 17px; }
  .skills-grid article { min-height: 165px; }
  .skills-grid p { font-size: 10px; }
  .education-list article { grid-template-columns: 67px 1fr; }
  .interests { gap: 15px; }
  .interests > span { min-width: 67px; }
  .contact-section { padding: 77px 18px 35px; }
  .contact-decoration { right: 7%; top: 36px; font-size: 67px; }
  .contact-meta { flex-wrap: wrap; gap: 10px 18px; font-size: 9px; }
  .site-footer { padding: 0 20px; min-height: 70px; }
  .site-footer p { font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
