/* Generated by scripts/build.py. Edit the CSS modules listed in STYLE_FILES. */

/* base.css */

:root {
    color-scheme: light;
    --ink: #202923;
    --muted: #58655d;
    --quiet: #66716a;
    --border: #dfe5dd;
    --accent: #2d6146;
    --paper: #fafbf8;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans); overflow-wrap: break-word; }
::selection { background: #dce9df; color: var(--ink); }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
ul, ol { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
main, section, .entry-body, .section-content { min-width: 0; }
[hidden] { display: none !important; }
.skip-link { position: absolute; top: -90px; left: 16px; background: var(--paper); border: 1px solid var(--border); padding: 10px 14px; z-index: 200; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

/* layout.css */

.wrap { width: min(100% - 96px, 1040px); margin-inline: auto; }
.section { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 40px; border-top: 1px solid var(--border); padding-block: 52px; scroll-margin-top: 24px; }
.section-heading { font-size: 1.4rem; line-height: 1.3; letter-spacing: -.04em; font-weight: 550; }
.section-eyebrow { margin-bottom: 10px; color: var(--quiet); font: 400 .64rem/1.6 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.section-intro { margin-top: 12px; color: var(--muted); font-size: .88rem; line-height: 1.65; }

@media (max-width: 900px) {
    .wrap { width: calc(100% - 64px); }
    .section { grid-template-columns: 160px minmax(0, 1fr); gap: 28px; }
}

@media (max-width: 700px) {
    .wrap { width: calc(100% - 40px); }
    .section { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 36px; }
    .section-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
    .section-eyebrow { margin-bottom: 0; }
    .section-heading { font-size: 1.3rem; }
}

/* components/buttons.css */

.action-primary, .action-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 44px; font-size: .77rem; font-weight: 500; }
.action-primary { padding: 11px 18px; color: #fff; background: var(--ink); border: 1px solid var(--ink); border-radius: 3px; }
.action-primary:hover { background: var(--accent); border-color: var(--accent); }
.action-secondary { color: var(--ink); }
.action-secondary:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.icon { display: inline-block; flex: 0 0 14px; width: 14px; height: 14px; vertical-align: middle; }
.action-primary .icon { filter: brightness(0) invert(1); }

/* components/entries.css */

.logo-slot { display: grid; place-items: center; width: 34px; height: 34px; padding: 3px; flex: none; overflow: hidden; }
.entry-logo { width: 100%; height: 100%; object-fit: contain; }
.entry-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 10px 24px; }
.entry-role, .edu-degree { font-size: .96rem; line-height: 1.4; font-weight: 600; letter-spacing: -.02em; }
.entry-org { margin-top: 3px; font-size: .79rem; color: var(--muted); line-height: 1.6; }
.entry-org a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.entry-meta { flex: none; color: var(--quiet); font: 400 .64rem/1.6 var(--mono); }
.entry-summary { margin-top: 13px; color: var(--muted); font-size: .83rem; line-height: 1.7; max-width: 60ch; }
.entry-tools { margin-top: 10px; color: var(--quiet); font: 400 .63rem/1.8 var(--mono); }

@media (max-width: 900px) {
    .entry-heading { flex-direction: column; gap: 5px; }
}

@media (max-width: 420px) {
    .logo-slot { width: 28px; height: 28px; padding: 2px; }
    .entry-role, .edu-degree { font-size: .9rem; }
    .entry-org { font-size: .76rem; }
    .entry-summary { font-size: .8rem; margin-top: 10px; }
}

/* components/footer.css */

.footer-main { display: flex; align-items: center; min-height: 75px; padding-block: 20px; border-top: 1px solid var(--border); }
.footer-sub { font-size: .65rem; color: var(--quiet); }

/* sections/hero.css */

.hero-inner { padding-block: 58px 48px; }
.hero h1 { font-size: clamp(3rem, 7.1vw, 5.7rem); line-height: 1.12; letter-spacing: -.065em; font-weight: 500; overflow-wrap: normal; text-wrap: balance; }
.name-period { color: var(--accent); }
.profile-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }
.presence-link { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; border: 1px solid var(--border); border-radius: 6px; }
.presence-link img { width: 20px; height: 20px; object-fit: contain; }
.presence-link:hover { background: #edf1eb; border-color: #b9cabb; }

@media (max-width: 700px) {
    .hero-inner { padding-block: 40px 34px; }
    .hero h1 { font-size: clamp(2.7rem, 10vw, 4.4rem); }
    .profile-links { margin-top: 16px; }
}

@media (max-width: 420px) {
    .hero h1 { font-size: clamp(2.5rem, 10.3vw, 3.6rem); }
}

/* sections/experience.css */

.entries > li { display: flex; gap: 18px; padding-block: 26px; border-bottom: 1px solid var(--border); }
.entries > li:first-child { padding-top: 0; }
.entry-body { flex: 1; }
.entries > li:last-child { border-bottom: 0; }

@media (max-width: 420px) {
    .entries > li { gap: 12px; padding-block: 24px; }
}

/* sections/education.css */

.edu-grid > li { display: flex; align-items: flex-start; gap: 18px; padding-block: 22px; border-bottom: 1px solid var(--border); }
.edu-grid > li:first-child { padding-top: 0; }
.edu-grid > li:last-child { padding-bottom: 0; border-bottom: 0; }
.edu-degree { font-size: .87rem; font-weight: 550; }
.credential-link { text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 4px; }
.credential-link:hover { color: var(--accent); text-decoration-color: currentColor; }

@media (max-width: 420px) {
    .edu-grid > li { gap: 12px; }
}

/* sections/contact.css */

.section-contact { display: block; padding-block: 24px; }
.contact-disclosure > summary { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 11px 16px; border: 1px solid var(--accent); border-radius: 5px; background: var(--accent); color: #fff; font-size: .8rem; font-weight: 500; cursor: pointer; list-style: none; }
.contact-disclosure > summary::-webkit-details-marker { display: none; }
.contact-disclosure > summary:hover { background: var(--ink); border-color: var(--ink); }
.contact-disclosure > summary .icon { filter: brightness(0) invert(1); }
.contact-chevron { width: 6px; height: 6px; margin-left: 8px; margin-top: -3px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); }
.contact-disclosure[open] .contact-chevron { margin-top: 3px; transform: rotate(225deg); }
.maze-content { min-width: 0; padding-block: 22px 12px; }
.maze-content .section-intro { max-width: 38ch; margin: 0 0 20px; font-size: .78rem; }
.maze-game { width: min(100%, 270px); }
.maze-board { position: relative; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); grid-template-rows: repeat(9, minmax(0, 1fr)); gap: 2px; padding: 10px; width: 100%; aspect-ratio: 1; border: 1px solid var(--border); border-radius: 5px; touch-action: none; user-select: none; -webkit-user-select: none; }
.maze-board:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.maze-cell { display: grid; place-items: center; min-width: 0; min-height: 0; position: relative; }
.maze-cell.is-wall { background: #dce4d8; border-radius: 1px; }
.maze-player { position: absolute; left: 0; top: 0; border-radius: 50%; background: var(--accent); cursor: grab; }
.maze-player::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; }
.maze-board.is-dragging, .maze-board.is-dragging * { cursor: grabbing; }
.maze-board.is-dragging .maze-player { will-change: transform; box-shadow: 0 0 0 4px #2d614614; }
.maze-cell img { width: 16px; height: 16px; pointer-events: none; }
.email-link { justify-content: flex-start; max-width: 100%; text-align: left; font-size: .9rem; }
.email-link #email-address { min-width: 0; overflow-wrap: anywhere; }

/* print.css */

@media print {
    .site-footer, .profile-links, .section-contact { display: none !important; }
    body { background: #fff; color: #111; }
    .wrap { width: 100%; }
    .hero-inner { padding-block: 10px 24px; }
    .hero h1 { font-size: 38pt; }
    .section { padding-block: 20px; grid-template-columns: 145px minmax(0, 1fr); gap: 24px; }
    .section-head { display: block; }
    .section-eyebrow { margin-bottom: 8px; }
    .entries > li, .edu-grid > li { break-inside: avoid; }
    .entry-heading { flex-direction: row; }
}
