:root {
  color-scheme: light;
  --paper: #f4f2ec;
  --ink: #20211e;
  --muted: #63655c;
  --line: #d8d7cf;
  --lime: #d5f06c;
  --mono: "DM Mono", monospace;
  --sans: "Manrope", 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; }
a:focus-visible { outline: 2px solid #63791e; outline-offset: 6px; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 14px; background: var(--ink); color: var(--paper); }
section { scroll-margin-top: 24px; }
.site-header { height: 82px; max-width: 1360px; margin: 0 auto; padding: 0 7.2%; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.wordmark { font-weight: 800; font-size: 24px; letter-spacing: -2px; }
.wordmark span { color: #8eaa2d; }
nav { display: flex; align-items: center; gap: 38px; font-size: 12px; font-weight: 600; }
nav a { transition: opacity .2s; }
nav a:hover { opacity: .55; }
.nav-contact { border: 1px solid var(--ink); border-radius: 30px; padding: 11px 16px; }
.nav-contact span { margin-left: 8px; }
.hero { position: relative; max-width: 1360px; min-height: 600px; margin: auto; padding: 95px 10.5% 85px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 4%; overflow: hidden; }
.eyebrow { font-family: var(--mono); font-size: 10px; line-height: 1.5; letter-spacing: .09em; }
.hero .eyebrow { display: flex; align-items: center; gap: 10px; color: var(--muted); margin: 0 0 27px; font-size: 9px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #a4bf3b; box-shadow: 0 0 0 4px #e4eacb; }
h1 { margin: 0; font-size: clamp(48px, 6.1vw, 84px); line-height: .99; letter-spacing: -.075em; font-weight: 600; }
h1 span { color: #85877e; }
.intro { max-width: 365px; margin: 25px 0 30px; color: #686a63; font-size: 15px; line-height: 1.8; }
.button { display: inline-flex; gap: 31px; align-items: center; background: var(--ink); color: white; padding: 15px 19px; border-radius: 3px; font-size: 11px; font-weight: 600; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-3px); background: #46483e; }
.hero-actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.text-link { font-size: 12px; font-weight: 600; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero-art { position: relative; height: 355px; max-width: 400px; width: 100%; justify-self: end; overflow: hidden; background: var(--lime); }
.art-grid { position: absolute; inset: 0; opacity: .26; background-image: linear-gradient(#727d3e 1px, transparent 1px), linear-gradient(90deg, #727d3e 1px, transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(135deg, black, transparent 85%); }
.art-orbit { position: absolute; width: 250px; height: 250px; left: 50%; top: 50%; border: 1px solid rgba(32,33,30,.58); border-radius: 50%; transform: translate(-50%,-50%) rotate(-30deg) scaleY(.67); }
.orbit-two { width: 320px; height: 320px; transform: translate(-50%,-50%) rotate(47deg) scaleY(.57); }
.art-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 104px; height: 104px; background: var(--ink); color: var(--lime); display: flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: 600; font-size: 43px; letter-spacing: -5px; padding-right: 5px; }
.art-core span { transform: translateY(4px); }
.art-note { position: absolute; z-index: 1; font: 9px var(--mono); letter-spacing: .08em; }
.note-top { top: 21px; left: 20px; }.note-bottom { right: 20px; bottom: 20px; }
.hero-index { position: absolute; right: 7.2%; bottom: 35px; color: var(--muted); font: 10px var(--mono); }
.section-wrap { max-width: 1100px; margin: 0 auto; padding: 100px 5%; }
.about { display: grid; grid-template-columns: 1fr 2fr 40px; gap: 5%; align-items: start; border-top: 1px solid var(--line); }
.section-label { color: var(--muted); margin: 7px 0; }
h2 { margin: 0; font-size: clamp(33px, 4vw, 51px); letter-spacing: -.065em; line-height: 1.12; font-weight: 600; }
.about-copy { max-width: 485px; margin: 24px 0 0; color: #686a63; font-size: 14px; line-height: 1.9; }
.asterisk { color: #99b332; font-size: 37px; }
.profile-facts { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 30px; }
.profile-facts strong { display: block; font-size: 14px; }
.profile-facts span { display: block; font-size: 11px; color: var(--muted); margin-top: 7px; }
.experience { padding-top: 0; }
.timeline { margin-top: 40px; }
.experience-item { display: grid; grid-template-columns: 1fr 2fr; gap: 6%; padding: 28px 0; border-bottom: 1px solid var(--line); }
.experience-meta h3 { font-size: 23px; }
.experience-meta p { font: 10px/1.8 var(--mono); color: var(--muted); }
.role-badge { display: inline-block; padding: 4px 8px; background: var(--lime); font: 9px var(--mono); }
.experience-item h4 { margin: 0 0 12px; font-size: 14px; font-weight: 700; }
.experience-item > div > p { font-size: 13px; line-height: 1.85; color: #686a63; margin: 0; }
.experience-item > div > .impact { display: inline-block; color: var(--ink); background: #e5ebd1; padding: 7px 10px; margin-top: 14px; font-weight: 600; }
.earlier-experience { color: var(--muted); font-size: 11px; line-height: 1.9; margin: 24px 0 0; }
.projects { padding-top: 15px; padding-bottom: 115px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding: 20px 0 28px; }
.muted { color: var(--muted); font-size: 12px; }
.section-intro { max-width: 600px; margin: 24px 0 36px; font-size: 14px; line-height: 1.9; color: #686a63; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.project-card { min-width: 0; display: flex; flex-direction: column; background: #e8e6dd; overflow: hidden; }
.project-visual { position: relative; height: 235px; display: grid; place-items: center; overflow: hidden; }
.project-visual::before { content: ""; position: absolute; width: 185px; height: 185px; border: 1px solid currentColor; border-radius: 50%; opacity: .18; transform: rotate(-25deg) scaleX(1.5); }
.project-number { position: absolute; left: 24px; top: 20px; font: 10px var(--mono); }
.visual-caption { position: absolute; bottom: 20px; left: 24px; right: 20px; font: 9px/1.6 var(--mono); letter-spacing: .06em; }
.visual-symbol { position: relative; font: 38px/1.1 var(--mono); letter-spacing: -.06em; text-align: center; }
.visual-mort { background: var(--lime); }
.visual-league { background: #292c27; color: var(--lime); }
.visual-kmp { background: #d7d9ef; }.visual-kmp .visual-symbol { font-size: 24px; }.shared-code { font-size: 15px; line-height: 2; }
.visual-edu { background: #d4e2dc; }.visual-edu .visual-symbol { font: 800 78px var(--sans); }.edu-dot { color: #526f46; }
.project-info { padding: 28px; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.project-info .eyebrow { color: #606257; margin: 0 0 15px; font-size: 9px; }
h3 { margin: 0; font-size: clamp(27px, 3vw, 39px); letter-spacing: -.06em; line-height: 1.08; font-weight: 600; }
.project-info > p:not(.eyebrow) { color: #5c5e55; font-size: 13px; line-height: 1.85; }
.tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; margin: 5px 0 26px; }
.tags li { border: 1px solid #c9c9be; border-radius: 3px; padding: 5px 8px; font: 9px/1.5 var(--mono); }
.project-link { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 700; border-bottom: 1px solid #969b86; padding-bottom: 7px; margin-top: auto; }
.project-link:hover { border-color: var(--ink); }
.project-links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: auto; }
.more-projects { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.more-projects > p { color: var(--muted); }
.more-projects > a { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-size: 13px; border-bottom: 1px solid var(--line); }
.more-projects > a:hover { color: #526121; }.more-projects > a span { color: var(--muted); font-size: 11px; }
.skills { padding-top: 0; }
.skills-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px; margin-top: 40px; }
.skills-grid h3 { font-size: 21px; letter-spacing: -.04em; }
.skills-grid p { color: #686a63; font-size: 13px; line-height: 2; }
.education { margin-top: 38px; padding-top: 25px; border-top: 1px solid var(--line); }
.education > .eyebrow { color: var(--muted); }.education > p:not(.eyebrow) { font-size: 12px; line-height: 1.9; }
.contact { position: relative; min-height: 370px; padding: 75px max(12%, calc((100% - 920px)/2)); background: var(--ink); color: var(--paper); overflow: hidden; }
.contact > .eyebrow { color: #a5a69d; margin: 0 0 22px; }
.contact h2 { font-size: clamp(42px, 5.2vw, 66px); }
.contact-copy { color: #b4b5ad; margin: 19px 0 23px; font-size: 13px; }
.contact-link { display: inline-flex; gap: 34px; align-items: center; padding-bottom: 8px; border-bottom: 1px solid #a5bf42; font-size: 12px; }
.contact-link span { color: var(--lime); }
.contact-mark { position: absolute; right: 11%; bottom: -58px; color: #2c2d29; font-size: 240px; font-weight: 800; letter-spacing: -.1em; pointer-events: none; }
.contact > :not(.contact-mark) { position: relative; z-index: 1; }
.social-links { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 30px; font-size: 11px; }.social-links span { color: #b4b5ad; }.social-links a:hover { color: var(--lime); }
.contact a:focus-visible { outline-color: var(--lime); }
footer { min-height: 76px; max-width: 1360px; margin: auto; padding: 0 7.2%; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 10px; }
.footer-star { color: #99b332; padding-left: 4px; }
@media (max-width: 740px) {
  .site-header { height: 70px; padding: 0 6%; } nav { gap: 15px; font-size: 11px; } nav a:first-child { display: none; }
  .hero { min-height: auto; padding: 75px 7% 90px; grid-template-columns: 1fr; gap: 48px; }
  h1 { font-size: clamp(55px, 14vw, 82px); }
  .hero-art { justify-self: center; max-width: 460px; height: min(83vw, 330px); }
  .hero-index { right: 7%; bottom: 27px; }
  .section-wrap { padding: 75px 7%; }
  .about { grid-template-columns: 1fr 35px; gap: 20px; }.about .section-label { grid-column: 1 / -1; }.about > div { grid-column: 1; }.asterisk { grid-column: 2; grid-row: 2; }
  .projects, .experience, .skills { padding-top: 10px; }
  .project-grid, .skills-grid { grid-template-columns: 1fr; }
  .project-info { padding: 25px; }.project-visual { height: 220px; }
  .experience-item { grid-template-columns: 1fr; gap: 18px; }
  .section-heading { gap: 16px; flex-wrap: wrap; }.section-heading .muted { font-size: 11px; }
  .more-projects > a { flex-direction: column; gap: 8px; }
  .skills-grid { gap: 18px; }
  .contact { padding: 68px 8%; min-height: 360px; }.contact-mark { right: 6%; bottom: -30px; font-size: 150px; opacity: .7; }
  footer { padding: 20px 7%; gap: 12px; flex-wrap: wrap; } footer span:nth-child(2) { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
