@font-face {
  font-family: Pretendard;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/pretendard/PretendardVariable.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --blue: #3b82f6;
  --accent-ink: #1d4ed8;
  --text: #171717;
  --muted: #737373;
  --faint: #a3a3a3;
  --line: #ececec;
  --soft: #fafafa;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; background: #fff; color: var(--text); font-family: Pretendard, "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; word-break: keep-all; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
.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; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 9px 14px; background: #111; color: #fff; transform: translateY(-160%); border-radius: 6px; }
.skip-link:focus { transform: translateY(0); }
.section-shell, .nav-shell, .footer-shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }

.site-header { position: sticky; z-index: 50; top: 0; height: 58px; background: rgba(255,255,255,.86); border-bottom: 1px solid #f0f0f0; backdrop-filter: blur(14px); }
.nav-shell { height: 100%; display: flex; align-items: center; justify-content: flex-end; }
.site-nav { height: 100%; display: flex; align-items: center; }
.site-nav > a { height: 100%; display: grid; place-items: center; padding: 0 16px; border-bottom: 2px solid transparent; color: #999; font-size: 13px; font-weight: 600; transition: color .15s ease, border-color .15s ease; }
.site-nav > a:hover { color: #333; border-color: #d4d4d4; }
.site-nav > a[aria-current="page"] { color: #222; border-color: var(--accent-ink); }
.menu-toggle { display: none; border: 0; background: none; padding: 10px; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { display: block; width: 23px; height: 1px; margin: 6px 0; background: #222; }

.profile-section { padding: 96px 0 100px; border-bottom: 1px solid var(--line); }
.profile-grid { display: flex; align-items: center; justify-content: space-between; gap: 70px; }
.profile-copy { flex: 1; max-width: 760px; }
.hello { display: block; margin-bottom: 12px; color: var(--accent-ink); font-size: 16px; font-weight: 600; }
.profile-copy h1 { margin: 0; font-size: clamp(36px, 4vw, 48px); line-height: 1.2; letter-spacing: -.045em; }
.profile-copy h1 em { color: var(--accent-ink); font-style: normal; }
.profile-copy > p { max-width: 700px; margin: 24px 0 0; color: var(--muted); font-size: 16px; line-height: 1.85; }
.contact-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.contact-links a { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border: 1px solid #dedede; border-radius: 6px; color: #4d4d4d; font-size: 14px; font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.02); transition: background .15s ease, border-color .15s ease; }
.contact-links a:hover { background: #fafafa; border-color: #c6c6c6; }
.brand-icon { display: block; width: 18px; height: 18px; flex: none; }
.brand-icon-gmail { color: #ea4335; }
.brand-icon-github { color: #181717; }
.profile-image { flex: none; width: 250px; height: 250px; overflow: hidden; border: 1px solid rgba(0,0,0,.08); border-radius: 50%; box-shadow: 0 8px 30px rgba(0,0,0,.05); }
.profile-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }

.content-section { padding: 90px 0 100px; border-bottom: 1px solid var(--line); }
.muted-section { background: rgba(250,250,250,.72); }
.simple-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 48px; }
.simple-heading h2 { margin: 0; font-size: 36px; line-height: 1.15; letter-spacing: -.045em; }
.simple-heading > a { color: #888; font-size: 13px; font-weight: 600; }
.simple-heading > a:hover { color: #111; }
.simple-heading:has(+ .section-intro) { margin-bottom: 16px; }
.section-intro { max-width: 720px; margin: 0 0 32px; color: var(--muted); font-size: 15px; }

.project-grid, .experience-grid { display: grid; gap: 24px; }
.project-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.experience-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.project-card, .experience-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid #ededed; border-radius: 12px; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.project-card:hover, .experience-card:hover { transform: translateY(-4px); border-color: #d2d2d2; box-shadow: 0 12px 28px rgba(0,0,0,.06); }
.project-visual { display: grid; width: 100%; height: 220px; place-items: center; overflow: hidden; background: #f5f5f5; border-bottom: 1px solid #f0f0f0; }
.project-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.project-visual img.project-image-contain { padding: 18px; object-fit: contain; }
.project-card:hover .project-visual img { transform: scale(1.02); }
.project-monogram { font-size: 54px; font-weight: 800; letter-spacing: -.08em; }
.visual-violet { color: #7c3aed; background: linear-gradient(135deg,#f5f3ff,#ede9fe); }
.visual-lime { color: #3f7d20; background: #eff9ea; }
.visual-amber { color: #b7791f; background: #fff8e8; }
.visual-blue { color: #2563eb; background: #eff6ff; }
.project-card-body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.project-meta, .activity-org { margin: 0 0 7px; color: var(--accent-ink); font-size: 12px; font-weight: 650; letter-spacing: -.01em; }
.project-card h3, .experience-card h3 { margin: 0; font-size: 19px; line-height: 1.35; letter-spacing: -.025em; }
.project-card-body > p:not(.project-meta), .experience-body > p:not(.activity-org) { margin: 13px 0 18px; color: var(--muted); font-size: 13.5px; line-height: 1.65; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; list-style: none; }
.tag-list li { padding: 3px 9px; background: #fafafa; border: 1px solid #ededed; border-radius: 20px; color: #777; font-size: 11px; }
.tech-badge-list { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 6px; padding: 0; margin: 0; list-style: none; }
.tech-badge-list li { display: flex; max-width: 100%; }
.tech-badge { width: auto; max-width: 100%; height: 20px; border-radius: 0; }
.tech-badge-list-compact { min-height: 47px; align-content: flex-start; }
.card-link { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 19px; border-top: 1px solid #f2f2f2; color: #999; font-size: 13px; font-weight: 600; transition: color .15s ease; }
.project-card:hover .card-link { color: #222; }

.experience-cover { height: 140px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 21px; font-weight: 800; letter-spacing: .02em; text-align: center; padding: 20px; }
.experience-cover-logo { background: #fff; border-bottom: 1px solid #f0f0f0; }
.experience-cover-logo img { width: auto; height: 112px; max-width: 90%; object-fit: contain; }
.experience-cover-logo .logo-ssafy { transform: scale(1.4); }
.experience-cover-logo .logo-programmers { transform: scale(1.35); }
.experience-cover-logo .logo-roka { transform: scale(1.05); }
.experience-cover-logo .logo-kwu { transform: scale(1.05); }
.experience-cover-logo .logo-sk-hynix { height: 84px; }
.cover-1 { background: linear-gradient(120deg,#2563eb,#60a5fa); }
.cover-2 { background: linear-gradient(120deg,#7c3aed,#c084fc); }
.cover-3 { background: linear-gradient(120deg,#059669,#34d399); }
.experience-body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.experience-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 18px; border-top: 1px solid #f2f2f2; color: #999; font-size: 11.5px; }
.experience-footer a { font-weight: 600; white-space: nowrap; }
.experience-card:hover .experience-footer a { color: #222; }

.skills-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.skill-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; padding: 20px 22px; border: 1px solid #ededed; border-radius: 12px; }
.skill-card > p { margin: 0; font-size: 15px; font-weight: 750; }
.skill-card > .tech-badge-list { justify-content: flex-end; }

.credentials-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 54px; }
.credential-label { margin: 0 0 14px; color: var(--faint); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.credential-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.credential-item { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 19px; background: #fff; border: 1px solid #ededed; border-radius: 10px; }
.credential-item-with-logo { display: grid; min-width: 0; grid-template-columns: 48px minmax(0,1fr) auto; gap: 12px; padding: 12px 14px; }
.credential-logo { display: grid; width: 48px; aspect-ratio: 1; place-items: center; overflow: hidden; background: #fff; border: 1px solid #f0f0f0; border-radius: 8px; }
.credential-logo img { width: 100%; height: 100%; object-fit: contain; }
.credential-logo .logo-sqld { transform: scale(2.05); }
.credential-logo .logo-adsp { transform: scale(1.8); }
.credential-logo .logo-opic { transform: scale(1.2); }
.credential-item div { display: grid; gap: 2px; }.credential-item strong { font-size: 14px; }.credential-item span { color: var(--muted); font-size: 12px; }.credential-item time { flex: none; padding: 4px 7px; background: #fafafa; border: 1px solid #eee; border-radius: 5px; color: #888; font-size: 10px; }
.credentials-side { display: grid; gap: 28px; align-content: start; }.credentials-side .credential-item { width: 100%; }.language-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }.language-list > span { display: grid; gap: 3px; padding: 15px 17px; background: #fff; border: 1px solid #ededed; border-radius: 10px; color: var(--muted); font-size: 12px; }.language-list strong { color: var(--text); font-size: 14px; }

.page-hero, .about-hero { padding: 100px 0 74px; border-bottom: 1px solid var(--line); }
.page-hero .eyebrow, .about-hero .eyebrow, .project-hero .eyebrow { margin: 0 0 14px; color: var(--accent-ink); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.page-hero h1, .about-hero h1, .project-hero h1 { max-width: 900px; margin: 0; font-size: clamp(38px,5vw,58px); line-height: 1.18; letter-spacing: -.05em; }
.page-hero > p:last-child { max-width: 620px; margin: 22px 0 0; color: var(--muted); }
.page-projects, .activity-page-list, .page-content { padding: 72px 0 110px; }
.project-grid-all { grid-template-columns: repeat(3,minmax(0,1fr)); }
.activity-page-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.activity-card { padding: 28px; border: 1px solid var(--line); border-radius: 12px; }
.activity-card-top { display: flex; min-height: 56px; align-items: center; justify-content: space-between; gap: 20px; color: var(--faint); font-size: 12px; }
.activity-card-logo { display: grid; width: 78px; height: 54px; flex: none; place-items: center; overflow: hidden; }
.activity-card-logo img { width: 100%; height: 100%; object-fit: contain; }
.activity-card h2 { margin: 8px 0 12px; font-size: 21px; letter-spacing: -.03em; }
.activity-card > p:not(.activity-org) { color: var(--muted); font-size: 14px; }
.activity-card .tag-list { margin-top: 22px; }

.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: end; }
.about-hero h1 span { color: var(--accent-ink); }
.about-intro > p { color: var(--muted); font-size: 16px; }
.button-row { display: flex; gap: 10px; margin-top: 26px; }
.button { padding: 10px 16px; border: 1px solid #ddd; border-radius: 6px; font-size: 13px; font-weight: 650; }
.button-primary { background: var(--blue); color: #fff; border-color: var(--accent-ink); }
.section { padding: 90px 0; }
.about-profile { display: grid; grid-template-columns: 360px 1fr; gap: 80px; align-items: center; }
.about-image { overflow: hidden; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; }
.about-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.about-story h2, .section-heading h2 { margin: 0; font-size: 34px; line-height: 1.3; letter-spacing: -.04em; }
.about-story > p:not(.eyebrow) { color: var(--muted); }
.section-heading { margin-bottom: 40px; }.section-heading .eyebrow { margin: 0 0 8px; color: var(--accent-ink); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.principles-section { background: var(--soft); border-block: 1px solid var(--line); }
.principle-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.principle-card { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }.principle-card > span { color: var(--accent-ink); font-size: 12px; }.principle-card h3 { margin: 44px 0 10px; }.principle-card p { color: var(--muted); font-size: 14px; }
.skills-list { border-top: 1px solid var(--line); }.skill-row { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; padding: 25px 0; border-bottom: 1px solid var(--line); }.skill-row h3 { margin: 0; }.skill-row .tech-badge-list { gap: 9px 7px; }
.about-timeline { border-top: 1px solid var(--line); }.timeline-row { display: grid; grid-template-columns: 200px 64px 1fr; gap: 28px; align-items: center; padding: 27px 0; border-bottom: 1px solid var(--line); }.timeline-row time { color: var(--accent-ink); font-size: 13px; font-weight: 650; }.timeline-logo { display: grid; width: 64px; height: 64px; place-items: center; overflow: hidden; }.timeline-logo img { width: 100%; height: 100%; object-fit: contain; }.timeline-row p { margin: 0 0 3px; color: var(--muted); font-size: 12px; }.timeline-row h3 { margin: 0 0 7px; font-size: 18px; }.timeline-row span { color: var(--muted); font-size: 14px; }

.project-detail { background: #fff; color: var(--text); }
.project-hero { padding: 58px 0 76px; background: #fff; border: 0; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 58px; color: var(--muted); font-size: 13px; font-weight: 650; }
.back-link span { transition: transform .15s ease; }
.back-link:hover { color: var(--text); }
.back-link:hover span { transform: translateX(3px); }
.project-hero-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(260px,.65fr); gap: 80px; align-items: end; }
.project-hero-copy h1 { max-width: 820px; margin: 0; color: var(--text); font-size: clamp(44px,6vw,72px); line-height: 1.05; letter-spacing: -.055em; }
.project-lede { max-width: 760px; margin: 25px 0 0; color: var(--muted); font-size: 17px; line-height: 1.8; }
.project-facts { padding: 7px 24px; margin: 0; background: var(--soft); border: 1px solid var(--line); border-radius: 12px; }
.project-facts div { padding: 16px 0; border-top: 1px solid var(--line); }
.project-facts div:first-child { border-top: 0; }
.project-facts dt { color: var(--faint); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.project-facts dd { margin: 4px 0 0; color: var(--text); font-size: 14px; font-weight: 600; line-height: 1.5; }
.project-content-section { background: var(--soft); border-block: 1px solid var(--line); }
.project-content-grid { display: grid; min-width: 0; grid-template-columns: minmax(210px,.45fr) minmax(0,1.55fr); gap: 42px; padding-block: 72px; }
.project-content-grid > * { min-width: 0; }
.project-stack { position: sticky; top: 90px; align-self: start; }
.project-stack-card { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.project-stack-card .tech-badge-list { gap: 8px 6px; }
.mini-label { margin: 0 0 15px; color: var(--accent-ink); font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .13em; }
.prose { width: 100%; min-width: 0; max-width: none; overflow-wrap: anywhere; padding: 42px 48px 52px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.prose h2 { padding-top: 44px; margin: 44px 0 17px; border-top: 1px solid var(--line); color: var(--text); font-size: 28px; line-height: 1.35; letter-spacing: -.035em; }
.prose h1 { margin: 0 0 24px; color: var(--text); font-size: 32px; line-height: 1.3; letter-spacing: -.04em; }
.prose h1 + p { margin-top: 0; }
.prose .markdown-heading:first-child h1 { margin-top: 0; }
.prose .markdown-heading:first-child + p { margin-top: 0; }
.prose .markdown-heading:first-child h2 { padding-top: 0; margin-top: 0; border-top: 0; }
.prose h3 { margin: 30px 0 10px; color: var(--text); font-size: 19px; letter-spacing: -.025em; }
.prose p,.prose li { color: var(--muted); font-size: 15px; line-height: 1.85; }
.prose ul,.prose ol { padding-left: 21px; }
.prose li + li { margin-top: 8px; }
.prose strong { color: #404040; }
.prose code { padding: 2px 6px; background: #f4f4f5; border-radius: 4px; color: #525252; font-size: .9em; }
.prose a { color: #2563eb; font-weight: 650; text-decoration: underline; text-decoration-color: #bfdbfe; text-underline-offset: 3px; }
.prose table { display: block; width: 100%; max-width: 100%; overflow-x: auto; margin: 22px 0; border-collapse: collapse; font-size: 13px; }
.prose th,.prose td { padding: 12px 13px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--soft); color: #404040; }
.prose td { color: var(--muted); }
.prose img { max-width: 100%; height: auto; margin-block: 12px; border-radius: 8px; }
.prose blockquote { padding: 2px 0 2px 18px; margin: 20px 0; border-left: 3px solid #bfdbfe; }
.prose blockquote p { margin-block: 8px; }
.prose pre { max-width: 100%; overflow-x: auto; padding: 18px; background: #18181b; border-radius: 8px; color: #e4e4e7; font-size: 13px; line-height: 1.65; }
.prose pre code { padding: 0; background: transparent; color: inherit; }
.prose hr { margin: 42px 0; border: 0; border-top: 1px solid var(--line); }
.prose details { padding: 14px 16px; margin: 18px 0; border: 1px solid var(--line); border-radius: 8px; }
.prose summary { cursor: pointer; font-weight: 700; }
.prose .anchor { display: none; }
.prose markdown-accessiblity-table { display: block; max-width: 100%; overflow-x: auto; }
.readme-loading { min-height: 220px; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--muted); text-align: center; }
.readme-loading span { width: 30px; height: 30px; border: 2px solid #e5e7eb; border-top-color: var(--accent-ink); border-radius: 50%; animation: readme-spin .8s linear infinite; }
.readme-loading p { margin: 0; font-size: 13px; }
.readme-error { padding: 28px; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 10px; }
.readme-error p { margin: 8px 0 16px; }
.readme-error a { font-size: 13px; }
@keyframes readme-spin { to { transform: rotate(360deg); } }
.project-next { display: flex; justify-content: space-between; align-items: center; padding-block: 38px; background: #fff; }
.project-next p { color: var(--faint); font-size: 12px; }
.project-next a { color: var(--text); font-weight: 700; }

a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 4px; }
.case-summary { padding-bottom: 64px; }
.case-summary-heading { max-width: 850px; margin-bottom: 32px; }
.case-summary-heading .mini-label { margin-bottom: 12px; font-size: 13px; letter-spacing: 0; }
.case-summary h2 { margin: 0; font-size: clamp(25px, 3vw, 36px); line-height: 1.4; letter-spacing: -.035em; text-wrap: pretty; }
.case-outcomes { display: flex; flex-wrap: wrap; gap: 24px 40px; padding: 28px 0; margin: 0 0 12px; border-block: 1px solid var(--line); }
.case-outcomes > div { flex: 1 1 220px; min-width: 0; }
.case-outcomes dt { margin-bottom: 10px; color: var(--muted); font-size: 13px; }
.case-outcomes dd { margin: 0; color: var(--text); font-size: clamp(21px, 2.4vw, 28px); font-weight: 750; line-height: 1.4; letter-spacing: -.025em; }
.case-outcomes dd span { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; font-weight: 400; letter-spacing: 0; }
.case-section { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 40px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.case-section h3 { display: flex; gap: 14px; margin: 3px 0 0; font-size: 17px; font-weight: 700; }
.case-section h3 span { color: var(--accent-ink); font-size: 12px; line-height: 28px; font-variant-numeric: tabular-nums; }
.case-section p { max-width: 800px; margin: 0; color: #404040; font-size: 16px; line-height: 1.9; }
.case-detail-link { display: inline-flex; align-items: center; gap: 20px; margin-top: 28px; color: var(--accent-ink); font-size: 14px; font-weight: 650; }
.case-detail-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.stack-note { margin: 20px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.site-footer { padding: 28px 0; border-top: 1px solid var(--line); background: #fff; }.footer-shell { display: flex; align-items: center; justify-content: space-between; color: #999; font-size: 12px; }.footer-shell p { margin: 0; }.footer-links { display: flex; align-items: center; gap: 8px; }.footer-links a { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: background .15s ease, border-color .15s ease, transform .15s ease; }.footer-links a:hover { background: var(--soft); border-color: #d4d4d4; transform: translateY(-1px); }.footer-links .brand-icon { width: 19px; height: 19px; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 950px) {
  .project-grid,.experience-grid,.project-grid-all { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .profile-grid { gap: 40px; }.profile-image { width: 220px; height: 220px; }
  .about-profile { grid-template-columns: 300px 1fr; gap: 45px; }
  .project-hero-grid { gap: 46px; }
}

@media (max-width: 720px) {
  .case-summary { padding-bottom: 42px; }
  .case-outcomes { gap: 22px; padding-block: 24px; }
  .case-section { grid-template-columns: minmax(0,1fr); gap: 12px; padding-block: 24px; }
  .case-section p { font-size: 15px; line-height: 1.85; }
  .section-shell,.nav-shell,.footer-shell { width: min(calc(100% - 36px),var(--max)); }
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .site-nav { position: fixed; inset: 58px 0 auto; height: auto; display: none; flex-direction: column; padding: 14px 18px 22px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px rgba(0,0,0,.04); }.site-nav.is-open { display: flex; }.site-nav > a { width: 100%; height: 44px; border: 0; }
  .profile-section { padding: 68px 0 76px; }.profile-grid { flex-direction: column-reverse; align-items: flex-start; }.profile-image { width: 190px; height: 190px; align-self: center; }.profile-copy h1 { font-size: 34px; }.contact-links { flex-direction: column; }.contact-links a { justify-content: center; }
  .content-section { padding: 72px 0 78px; }.simple-heading { margin-bottom: 34px; }.simple-heading h2 { font-size: 30px; }
  .project-grid,.experience-grid,.project-grid-all,.skills-grid,.activity-page-list { grid-template-columns: 1fr; }.project-visual { height: 220px; }
  .credentials-layout,.credential-list { grid-template-columns: 1fr; }.credentials-layout { gap: 38px; }
  .page-hero { padding: 75px 0 58px; }.page-projects,.activity-page-list,.page-content { padding: 58px 0 90px; }
  .about-hero,.about-profile,.project-hero-grid,.project-content-grid { grid-template-columns: minmax(0,1fr); }.about-hero { gap: 30px; }.about-profile { gap: 40px; }.about-image { width: min(100%,360px); margin-inline: auto; }.principle-grid { grid-template-columns: 1fr; }.skill-row { grid-template-columns: 1fr; gap: 12px; }.timeline-row { grid-template-columns: 56px 1fr; gap: 8px 16px; }.timeline-row time { grid-column: 1 / -1; }.timeline-logo { width: 56px; height: 56px; }.project-hero { padding: 42px 0 54px; }.back-link { margin-bottom: 38px; }.project-hero-grid { gap: 30px; }.project-hero-copy h1 { font-size: 42px; overflow-wrap: anywhere; }.project-lede { font-size: 15px; }.project-stack { position: static; }.project-content-grid { gap: 16px; padding-block: 42px; }.prose { padding: 30px 24px 36px; }.prose h1 { font-size: 28px; }.prose h2 { padding-top: 34px; margin-top: 34px; font-size: 24px; }.prose table { display: block; width: 100%; max-width: 100%; overflow-x: auto; white-space: nowrap; }.footer-shell { align-items: flex-start; flex-direction: column; gap: 14px; }
}

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