:root {
  color-scheme: light;
  --ink: #101e34;
  --muted: #526076;
  --blue: #2e56ce;
  --paper: #fff;
  --soft: #f2f5fa;
  --line: #d7dee8;
  --lime: #dbf584;
  --measure: 1240px;
}
* { box-sizing: border-box; }
main section > *, .wrap > * { min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 6px; border-radius: 3px; }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3, figure { margin: 0; }
p + p { margin-top: 1rem; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.045em; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 3.8vw, 3.3rem); font-weight: 600; }
h2 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h3 { font-size: 1.45rem; font-weight: 600; letter-spacing: -.025em; }
.wrap { width: min(var(--measure), calc(100% - 6rem)); margin-inline: auto; }
.section { padding-block: 5.5rem; }
.eyebrow { font-size: .875rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; line-height: 1.6; }
.section-number { display: inline-block; color: var(--blue); margin-right: .75rem; }
.section-heading .eyebrow { margin-bottom: 1.3rem; }
.lead { font-size: 1.3rem; line-height: 1.5; letter-spacing: -.02em; color: var(--ink); }

.site-header { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: .8rem; min-height: 44px; font-weight: 600; font-size: 1rem; letter-spacing: -.03em; }
.monogram { font-size: 1.55rem; letter-spacing: -.09em; background: var(--ink); color: #fff; border-radius: 50%; height: 2.625rem; width: 2.625rem; flex-shrink: 0; display: grid; place-items: center; padding: 0 3px 4px 0; }
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1.8rem; font-size: .94rem; font-weight: 600; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; padding-block: .6rem; }
.site-header .nav-contact { border: 1px solid var(--line); border-radius: 100px; padding: .6rem 1.1rem; gap: 1rem; }

.hero { padding-block: 3.2rem; display: grid; grid-template-columns: 1.13fr 1fr; gap: 4rem; align-items: center; }
.hero .eyebrow { color: var(--muted); margin-bottom: 1.4rem; }
.hero h1 { font-size: clamp(4rem, 7vw, 6.5rem); font-weight: 600; line-height: 1; letter-spacing: -.065em; margin-left: -.045em; }
.name-dot { color: var(--blue); }
.hero-statement { font-size: clamp(1.4rem, 2.1vw, 1.8rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.35; margin-top: 1.5rem; }
.hero-statement span { color: var(--muted); font-weight: 400; }
.hero-intro { color: var(--muted); max-width: 32rem; margin-top: 1.2rem; font-size: 1.05rem; }
.hero-actions, .contact-actions { display: flex; align-items: center; gap: 1.3rem; flex-wrap: wrap; margin-top: 1.6rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1.2rem; min-height: 52px; padding: .8rem 1.25rem; border-radius: 5px; font-weight: 600; font-size: .95rem; line-height: 1.45; transition: background .15s, transform .15s; }
.button-dark { background: var(--ink); color: #fff; }
.text-link { display: inline-flex; align-items: center; gap: .7rem; min-height: 44px; font-size: .94rem; font-weight: 600; line-height: 1.5; padding: .6rem 0; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--line); }
.portrait { background: #e6edf0; border-radius: 5px; overflow: hidden; }
.portrait img { width: 100%; height: auto; }

.experience-strip { display: grid; grid-template-columns: .9fr 1fr 1.15fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 1.5rem; }
.experience-strip > div { display: grid; gap: .15rem; padding-left: 2rem; border-left: 1px solid var(--line); }
.experience-strip > div:first-child { padding-left: 0; border: 0; }
.experience-strip strong { font-size: 1.1rem; font-weight: 600; letter-spacing: -.025em; }
.experience-strip span { font-size: .9rem; color: var(--muted); }
.profile { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
.profile-body { max-width: 42rem; }
.profile-body p:not(.lead) { color: var(--muted); }
.profile-body .lead { margin-bottom: 1.3rem; }

.experience-section { background: var(--soft); }
.heading-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 3rem; margin-bottom: 2.5rem; }
.section-aside { max-width: 22rem; font-size: 1.05rem; color: var(--muted); margin: 0 0 .2rem; }
.current-role { display: grid; grid-template-columns: 1fr 2fr; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.role-label { padding: 2.4rem; border-right: 1px solid var(--line); }
.tag { display: inline-block; width: fit-content; padding: .32rem .65rem; border: 1px solid var(--line); border-radius: 100px; font-size: .875rem; font-weight: 600; line-height: 1.5; }
.company { font-weight: 600; letter-spacing: -.06em; font-size: 2.6rem; margin-top: 2rem; line-height: 1.1; }
.company span { color: var(--blue); }
.role-body { padding: 2.4rem; }
.role-body h3 { font-size: 1.75rem; margin-bottom: .9rem; }
.role-body > p { color: var(--muted); max-width: 40rem; }
.role-points { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1.5rem; margin: 1.5rem 0 0; padding-left: 1.1rem; font-size: 1rem; }
.role-points li::marker { color: var(--blue); }
.career-link { margin-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.career-link p { font-size: .95rem; color: var(--muted); }

.workshop { background: var(--ink); color: #fff; }
.workshop .section-number, .workshop h2 em { color: var(--lime); }
.workshop .section-aside { color: #bec9d9; }
.project { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #42526a; border-radius: 7px; overflow: hidden; }
.project-visual { grid-column: 1; grid-row: 1; background: #202b4c; display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 2.3rem; text-align: center; }
.project-kicker { font-size: .875rem; color: #d8deed; margin-bottom: 1.8rem; }
.project-visual img { width: 96px; height: 96px; margin-bottom: 1.3rem; transform: rotate(-6deg); }
.game-wordmark { font-size: clamp(3.8rem, 5.5vw, 5.5rem); font-weight: 800; line-height: .95; letter-spacing: -.065em; color: #f7d942; }
.game-wordmark span { color: #fff; }
.game-instruction { font-size: .95rem; color: #d8deed; margin-top: 1.7rem; }
.project-copy { grid-column: 2; grid-row: 1; padding: 3rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.project-meta { display: flex; align-items: center; gap: .8rem; font-size: .875rem; color: #bec9d9; margin-bottom: 1.3rem; flex-wrap: wrap; }
.tag-lime { border-color: #637e35; color: var(--lime); }
.project-copy h3 { font-size: 2.1rem; margin-bottom: 1rem; }
.project-copy > p { color: #c6d0de; font-size: 1rem; }
.project-copy .project-lead { font-size: 1.2rem; color: #fff; line-height: 1.5; }
.project-focus { display: flex; flex-wrap: wrap; gap: .6rem 1rem; margin-top: 1.5rem; color: #d3dceb; font-size: .875rem; }
.project-focus span { border-bottom: 1px solid #5b6a81; padding-bottom: .25rem; }
.button-lime { background: var(--lime); color: var(--ink); margin-top: 1.5rem; }
.workshop a:focus-visible { outline-color: var(--lime); }
.project-copy .project-note { font-size: .875rem; color: #b8c4d5; margin-top: .75rem; max-width: 28rem; }
.workshop-note { color: #b8c4d5; margin-top: 1.5rem; font-size: .9rem; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
.contact h2 { margin-top: 1.3rem; }
.contact-body { padding-top: 2.8rem; }
.contact-body > p:not(.lead) { color: var(--muted); }
.email-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 1rem; color: var(--muted); font-size: .94rem; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 4px; }
.site-footer { border-top: 1px solid var(--line); padding-block: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.site-footer p, .site-footer > span { color: var(--muted); font-size: .875rem; }
.site-footer .wordmark { font-size: .9rem; }
.site-footer .monogram { width: 34px; height: 34px; font-size: 1.25rem; }
.skip-link { position: fixed; left: 1rem; top: 1rem; z-index: 10; background: var(--ink); color: #fff; padding: .8rem 1.2rem; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (hover: hover) {
  .site-header nav a:hover, .text-link:hover, .email-link:hover { color: var(--blue); }
  .button:hover { transform: translateY(-2px); }
  .button-dark:hover { background: var(--blue); }
  .button-lime:hover { background: #e9ffad; }
}
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 4rem); }
  .hero { gap: 2.5rem; }
  .hero-actions { gap: .8rem; }
  .profile, .contact { gap: 3rem; }
  .project-copy { padding: 2rem; }
  .experience-strip > div { padding-left: 1.2rem; }
  .role-points { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 2.5rem); }
  .section { padding-block: 3.5rem; }
  .site-header { min-height: 0; padding-block: 1rem; gap: .75rem; flex-wrap: wrap; }
  .site-header nav { width: 100%; justify-content: space-between; gap: .6rem; font-size: .875rem; }
  .site-header .nav-contact { padding: .5rem .8rem; gap: .6rem; }
  .hero { grid-template-columns: 1fr; gap: 2rem; padding-block: 2.2rem; }
  .hero h1 { font-size: clamp(3.8rem, 12vw, 6rem); }
  .hero .eyebrow { margin-bottom: 1.2rem; letter-spacing: .07em; }
  .hero-statement { font-size: 1.5rem; }
  .hero-intro { max-width: 34rem; }
  .portrait { width: min(100%, 440px); }
  .experience-strip { grid-template-columns: 1fr; padding-block: .2rem; }
  .experience-strip > div { grid-template-columns: 1fr 1.1fr; align-items: center; padding: .9rem 0; border: 0; border-top: 1px solid var(--line); gap: 1rem; }
  .experience-strip > div:first-child { padding: .9rem 0; }
  .experience-strip strong { font-size: 1rem; }
  .experience-strip span { font-size: .875rem; }
  .profile, .contact { grid-template-columns: 1fr; gap: 1.7rem; }
  .heading-row { display: block; margin-bottom: 2rem; }
  .section-aside { margin-top: 1.3rem; max-width: 34rem; }
  .current-role { grid-template-columns: 1fr; }
  .role-label { border: 0; border-bottom: 1px solid var(--line); padding: 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
  .company { margin: 0; font-size: 2rem; }
  .role-body { padding: 1.5rem; }
  .role-body h3 { font-size: 1.5rem; }
  .role-points { margin-top: 1.3rem; }
  .career-link { flex-direction: column; align-items: flex-start; gap: .2rem; }
  .project { grid-template-columns: 1fr; }
  .project-copy, .project-visual { grid-column: auto; grid-row: auto; }
  .project-copy { padding: 1.7rem; }
  .project-copy h3 { font-size: 1.85rem; }
  .project-visual { padding: 2rem; }
  .project-visual img { width: 64px; height: 64px; margin-bottom: 1rem; }
  .project-kicker { margin-bottom: 1.2rem; }
  .game-wordmark { font-size: 3.8rem; }
  .game-instruction { margin-top: 1.2rem; }
  .contact-body { padding: 0; }
  .contact-actions { gap: 1rem; }
  .site-footer { gap: 1rem; align-items: flex-start; }
  .site-footer p { width: 100%; order: 3; margin: 0; }
  .site-footer > span { padding-top: .5rem; }
}
@media (max-width: 370px) {
  .wrap { width: calc(100% - 2rem); }
  .site-header nav { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem .8rem; }
  .site-header nav a { justify-content: center; }
  .experience-strip > div { grid-template-columns: 1fr; gap: .15rem; }
  .project-copy { padding: 1.3rem; }
  .role-label { align-items: flex-start; flex-direction: column; }
  .hero-actions, .contact-actions { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .button:hover { transform: none; }
}
@media print {
  body { font-size: 11pt; color: #000; background: #fff; }
  .wrap { width: 100%; }
  .site-header nav, .hero-actions, .contact-actions, .project-visual, .site-footer, .skip-link, .project-focus { display: none; }
  .site-header { min-height: 0; padding-block: .5rem; }
  .hero { display: block; padding-block: 1rem; }
  .hero h1 { font-size: 36pt; }
  .hero-statement { font-size: 15pt; }
  .portrait { display: none; }
  .section { padding-block: 1.5rem; }
  .section-heading { break-after: avoid; }
  .profile, .contact, .heading-row, .current-role, .project { display: block; }
  .experience-section, .workshop { color: #000; background: #fff; }
  .role-label { border-right: 0; border-bottom: 1px solid #ccc; padding: 1rem; }
  .company { margin-top: .5rem; }
  .role-body, .project-copy { display: block; padding: 1rem; }
  .workshop .project-copy > p, .workshop .section-aside, .workshop-note, .project-meta, .tag-lime, .workshop .section-number, .workshop h2 em { color: #000; }
  .project { border-color: #ccc; }
  .project .button { display: inline-block; margin-top: 1rem; padding: 0; min-height: 0; color: #000; background: transparent; }
  #game-link::after { content: " (" attr(href) ")"; font-weight: 400; overflow-wrap: anywhere; }
  .current-role { break-inside: avoid; }
  h2 { font-size: 22pt; }
  .section-aside { max-width: none; }
  .profile-body, .contact-body { padding-top: 1rem; }
  .experience-strip strong { font-size: 11pt; }
  .contact-body { padding-top: 1rem; }
}
