/* Home: cinematic poster above a legible, editorial résumé. */
@font-face {
  font-family: "Barlow Condensed";
  src: url("./fonts/BarlowCondensed-BlackItalic.ttf") format("truetype");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --paper: #080d14;
  --ink: #eff3f5;
  --muted: #b8c4cd;
  --line: #344450;
  --accent: #e9bc79;
  --night: #090c10;
  --gold: #e4bf7d;
  --sans: "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.8 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a, button { touch-action: manipulation; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid #e9bc79; outline-offset: 5px; }
p, h1, h2, h3, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p, h1, h2, h3, li { word-break: keep-all; overflow-wrap: anywhere; }
[hidden] { display: none !important; }
::selection { color: #080d14; background: #e9bc79; }
.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; top: 10px; left: 16px; z-index: 100; padding: 10px 18px; color: #080d14; background: #e9bc79; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.scroll-progress { position: fixed; top: 0; left: 0; width: 0; height: 3px; background: #cf3a2d; z-index: 60; }
.site-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 82px; padding: 0 4.5vw; background: var(--night); color: #fff; border-bottom: 1px solid #ffffff26; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-name { background: #c53227; padding: 1px 8px; font: 900 27px/1.3 Impact, "Arial Black", sans-serif; letter-spacing: 1px; }
.brand-role { color: #f5f3ef; font: 700 9px/1.35 var(--sans); letter-spacing: 1.5px; }
.site-header nav { display: flex; gap: 34px; align-items: center; }
.site-header nav a { display: flex; align-items: center; min-height: 82px; position: relative; color: #d6d7d9; font-size: 14px; }
.site-header nav a::after { content: ""; position: absolute; height: 3px; bottom: 0; left: 0; right: 0; background: #e24936; transform: scaleX(0); }
.site-header nav a[aria-current] { color: #fff; }
.site-header nav a[aria-current]::after { transform: scaleX(1); }
.header-actions a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 17px; border: 1px solid #686969; font-size: 13px; color: #f6f2e9; }
.site-header a:hover { color: #eac686; }
.site-header a:focus-visible, .cosmic-hero a:focus-visible { outline-color: #f4cb86; }
main { margin: 0; }
.cosmic-hero { position: relative; isolation: isolate; min-height: 740px; height: min(860px, calc(100svh - 82px)); background: var(--night); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 50px 6vw 85px; }
.hero-art { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 65% center; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #090c10d9 0%, #090c108c 26%, #090c1020 48%, transparent 65%), linear-gradient(0deg, #090c10 0%, transparent 28%); }
.hero-content { width: 52%; max-width: 650px; }
.hero-kicker { display: flex; align-items: center; gap: 8px; color: #f4e0bc; font: 800 12px/1.4 var(--sans); letter-spacing: 2px; margin-bottom: 26px; }
.hero-kicker span { border: 1px solid #c8aa79; padding: 4px 6px; }
.cosmic-title h1 { display: flex; flex-direction: column; align-items: flex-start; font-family: "Barlow Condensed", Impact, "Arial Black", sans-serif; font-size: clamp(110px, 11.8vw, 178px); font-weight: 900; font-style: italic; line-height: .82; letter-spacing: -.045em; padding-right: 12px; }
.cosmic-title h1 span { position: relative; display: block; padding-right: .13em; margin-right: -.13em; color: #efdaaa; background: linear-gradient(175deg, #fff8df 0%, #dbc492 24%, #a88c5f 43%, #fff1c9 48%, #e5cb96 52%, #b69359 71%, #faf1d2 90%); background-clip: text; -webkit-text-fill-color: transparent; -webkit-text-stroke: 1px #e3c997; filter: drop-shadow(1px 3px 0 #4c3a20) drop-shadow(0 8px 12px #000b); }
.cosmic-title h1 span + span { margin-left: 5px; }
.hero-identity { display: flex; align-items: baseline; gap: 20px; margin: 26px 0 16px; }
.hero-identity strong { font-size: 24px; font-weight: 650; letter-spacing: 5px; }
.hero-identity>span { font: 13px var(--sans); color: #ddd4c3; letter-spacing: .5px; }
.hero-description { font-size: 18px; line-height: 1.85; color: #f3f0e9; text-shadow: 0 1px 8px #000; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-actions a { min-height: 50px; display: inline-flex; gap: 26px; align-items: center; justify-content: space-between; padding: 11px 20px; font-size: 14px; font-weight: 650; }
.hero-primary { background: #d2b07a; border: 1px solid #d2b07a; color: #11151b; }
.hero-primary:hover { background: #efd5a8; }
.hero-secondary { border: 1px solid #a49b8a; color: #f5eee2; background: #090c1066; }
.hero-secondary:hover { background: #363331; }
.hero-actions a span { font-size: 20px; font-weight: 400; }
.hero-caption { position: absolute; bottom: 26px; left: 6vw; right: 4.5vw; display: flex; justify-content: space-between; gap: 24px; align-items: center; color: #dad5cc; font-size: 12px; }
.hero-caption p { font: 11px var(--sans); letter-spacing: 4px; }
.hero-caption a { display: inline-flex; min-height: 40px; gap: 40px; align-items: center; }
.identity-band { display: grid; grid-template-columns: 1fr 1.3fr auto; align-items: center; gap: 40px; padding: 34px 6vw; background: #11161b; color: #f3f1ec; border-block: 1px solid #c5b89a36; }
.identity-person { display: flex; align-items: center; gap: 18px; }
.identity-person img { width: 54px; height: 68px; object-fit: cover; }
.identity-person p { color: #d3c2a5; font-size: 12px; }
.identity-person strong { font-size: 22px; font-weight: 650; }
.identity-person strong span { font-size: 14px; color: #cbcdd1; font-weight: 400; margin-left: 10px; }
.identity-band>p { color: #cbced1; font-size: 13px; }
.identity-band>p strong { color: #f5f3ed; font-weight: 550; margin-left: 10px; }
.identity-band>p>span { display: block; font-size: 14px; margin-top: 5px; }
.identity-band>a { display: flex; align-items: center; min-height: 44px; gap: 28px; font-size: 14px; border-bottom: 1px solid #b6a58a; }
.universe-strip { display: flex; align-items: center; justify-content: space-between; gap: 30px; max-width: 1320px; margin: 0 auto; padding: 32px 0; border-bottom: 1px solid var(--line); }
.universe-strip>p { font: 11px var(--mono); letter-spacing: 1.6px; color: var(--muted); }
.universe-strip ul { display: flex; gap: clamp(20px,3.3vw,54px); flex-wrap: wrap; }
.universe-strip li { font-size: 19px; font-weight: 750; letter-spacing: -.5px; }
.command-block { max-width: 1320px; margin: 0 auto; padding: 90px 0; }
.chapter-label { color: var(--accent); font: 600 11px var(--mono); letter-spacing: 1.5px; margin-bottom: 17px; }
.section-heading { display: flex; gap: 24px; align-items: baseline; justify-content: space-between; margin-bottom: 30px; }
.section-heading>div { display: flex; align-items: baseline; gap: 20px; }
.section-heading h2, .contact-section h2 { font-size: clamp(32px,3.4vw,48px); line-height: 1.35; font-weight: 730; letter-spacing: -1.8px; }
.section-index { display: none; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--accent); gap: 12px; }
a.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.career-list { border-top: 2px solid var(--ink); }
.career-list li { display: grid; grid-template-columns: 190px 235px minmax(0,1fr); gap: 30px; border-bottom: 1px solid var(--line); padding: 32px 0; }
.career-date { font: 13px/1.8 var(--mono); color: var(--muted); padding-top: 4px; }
.current-role { display: block; color: var(--accent); font: 600 12px var(--sans); margin-top: 10px; }
.career-company h3 { font-size: 24px; font-weight: 700; line-height: 1.5; letter-spacing: -.5px; }
.career-company p { font-size: 14px; color: var(--muted); }
.career-list li>p { color: #d4dfe6; font-size: 17px; line-height: 1.9; }
.qualifications { display: flex; gap: 20px 60px; flex-wrap: wrap; padding-top: 25px; font-size: 14px; }
.qualifications span { color: var(--muted); margin-right: 17px; }
.qualifications small { color: var(--muted); margin-left: 10px; font-size: 12px; }
.qualifications i { font-style: normal; padding: 0 10px; }
.work-section { padding-top: 30px; }
.case-explorer { border-top: 2px solid var(--ink); }
.case-explorer[data-explorer-ready="true"] { display: grid; grid-template-columns: 285px minmax(0,1fr); }
.case-tabs { display: grid; align-content: start; }
.case-tabs button { position: relative; display: grid; grid-template-columns: 28px minmax(0,1fr) 20px; gap: 13px; min-height: 110px; padding: 24px 20px; text-align: left; align-items: center; border-bottom: 1px solid #354955; color: #c8d1d8; }
.case-tabs button>span:first-child { font: 12px var(--mono); }
.case-tabs button strong { display: block; font-weight: 650; font-size: 17px; line-height: 1.6; }
.case-tabs button small { display: block; margin-top: 3px; font-size: 12px; }
.case-tabs button[aria-selected="true"] { color: #fff; background: #142d40; box-shadow: inset 4px 0 #be4535; }
.case-tabs button:hover:not([aria-selected="true"]) { background: #192b38; color: #f3f5f7; }
.case-panels { min-width: 0; }
.case-panel { min-height: 510px; padding: 40px 44px; background: #0b1722; border: 1px solid #354955; border-top: 0; color: #d7e0e6; }
.case-panel+.case-panel { border-top: 1px solid #354955; }
.case-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 13px; color: #bac8d2; margin-bottom: 16px; }
.case-meta span+span { border-left: 1px solid #3f5666; padding-left: 16px; }
.case-panel h3 { font-size: clamp(24px,2.15vw,32px); line-height: 1.5; font-weight: 720; letter-spacing: -.8px; color: #f3f5f6; margin-bottom: 20px; }
.case-panel>p:not(.case-meta) { font-size: 17px; line-height: 1.9; }
.case-result { display: flex; align-items: baseline; gap: 20px; padding: 23px 0 16px; }
.output-key { font-size: 13px; color: #bac8d2; }
.case-result strong { color: #e9bc79; font-size: 26px; letter-spacing: -.5px; }
.case-panel>.case-after { font-size: 15px !important; color: #c8d1d8; }
.case-flow { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 26px 0 20px; padding-top: 20px; border-top: 1px solid #344a5a; }
.case-flow>div { padding-right: 12px; }
.case-flow>div+div { border-left: 1px solid #344a5a; padding-left: 20px; }
.case-flow dt { color: #b5c4ce; font-size: 12px; margin-bottom: 5px; }
.case-flow dd { color: #e6edf2; font-size: 14px; font-weight: 650; }
.case-source-links { display: flex; gap: 12px 30px; flex-wrap: wrap; }
.activity-section { border-top: 1px solid var(--line); }
.activity-section .command-output>.wrap { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 35px 80px; }
.activity-section .section-heading, .activity-section .public-snapshot { grid-column: 1/-1; }
.public-notes { display: grid; gap: 55px; align-content: start; }
.eyebrow { font-size: 12px; color: var(--accent); font-weight: 650; margin-bottom: 12px; }
.public-notes h3 { font-size: 27px; line-height: 1.5; letter-spacing: -.6px; margin-bottom: 17px; }
.public-notes article>p:not(.eyebrow), .repository-row p:not(.mono) { color: #d4dfe6; font-size: 16px; line-height: 1.9; }
.contribution-links { margin-top: 23px; border-top: 1px solid var(--line); }
.contribution-links a { display: flex; gap: 20px; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.contribution-links a>span+span { font-size: 12px; color: var(--accent); }
.writing-link { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.writing-link strong { font-size: 15px; font-weight: 600; }
.writing-link small { display: block; font-size: 12px; color: var(--muted); }
.repository-row { border-top: 1px solid var(--line); padding: 25px 0 28px; }
.repository-row:first-child { border-top: 2px solid var(--ink); }
.repository-row .mono { font: 11px/1.9 var(--mono); color: var(--muted); margin-bottom: 10px; }
.repository-row h3 { font-size: 22px; font-weight: 700; line-height: 1.5; letter-spacing: -.4px; margin-bottom: 14px; }
.repo-links { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: 17px; }
.repo-links a { min-height: 36px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--accent); }
.repo-links a span { font: 11px var(--mono); }
.repo-kind { display: none; }
.public-snapshot { border-block: 1px solid var(--line); padding: 16px 0; }
.public-snapshot summary { display: flex; align-items: center; gap: 20px; list-style: none; cursor: pointer; min-height: 40px; font-size: 14px; }
.public-snapshot summary::-webkit-details-marker { display: none; }
.public-snapshot summary>span { color: var(--muted); font-size: 12px; }
.public-snapshot summary>span:last-child { margin-left: auto; font-size: 22px; }
.public-snapshot[open] summary>span:last-child { transform: rotate(45deg); }
.public-snapshot dl { display: grid; grid-template-columns: repeat(4,1fr); margin: 20px 0; }
.public-snapshot dt { font-size: 13px; color: var(--muted); }
.public-snapshot dd { font-size: 29px; font-weight: 700; }
.public-snapshot>p { font-size: 13px; color: var(--muted); }
.document-section { padding-top: 20px; }
.documents { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 2px solid var(--ink); }
.documents article { padding: 28px 25px 10px 0; }
.documents article+article { border-left: 1px solid var(--line); padding-left: 32px; }
.document-no { font: 11px var(--mono); color: var(--muted); }
.documents h3 { font-size: 27px; line-height: 1.5; margin: 18px 0 8px; }
.documents p { font-size: 15px; color: var(--muted); }
.documents article>div { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 24px; }
.documents a { display: inline-flex; min-height: 44px; align-items: center; color: var(--accent); font-size: 14px; }
.contact-section { max-width: none; background: #11161b; color: #f1eee6; padding: 65px max(6vw, calc((100vw - 1320px)/2)); }
.contact-section .chapter-label { color: #dfb575; }
.contact-section .command-output { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-section h2 { font-size: clamp(32px,3.4vw,48px); }
.contact-details>p { color: #d0d2d3; font-size: 16px; margin-bottom: 24px; }
.contact-email { display: block; font-size: clamp(20px,2.4vw,33px); line-height: 1.5; letter-spacing: -.5px; overflow-wrap: anywhere; }
.contact-details .text-link { color: #e3bb7d; padding: 0; margin-top: 10px; }
.social-links { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 24px; color: #d0d2d3; font-size: 14px; }
.social-links a { display: inline-flex; min-height: 44px; align-items: center; }
.site-footer { background: #090c10; color: #b9bec2; padding: 24px 6vw; font-size: 12px; }
.site-footer>div { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 35px; max-width: 1320px; margin: auto; }
.site-footer a { margin-left: auto; min-height: 44px; display: inline-flex; align-items: center; }
.toast { position: fixed; z-index: 100; bottom: 24px; left: 50%; width: max-content; max-width: calc(100% - 32px); padding: 12px 20px; background: #1e252c; color: #fff; border: 1px solid #8a8f92; box-shadow: 0 6px 24px #0003; font-size: 14px; transform: translate(-50%,15px); opacity: 0; pointer-events: none; }
.toast.is-visible { opacity: 1; transform: translate(-50%,0); }
@media (max-width: 1480px) {
  .command-block:not(.contact-section), .universe-strip { margin-inline: 6vw; }
}
@media (max-width: 1100px) {
  .site-header nav { gap: 24px; }
  .hero-content { width: 56%; }
  .cosmic-title h1 { font-size: 145px; }
  .identity-band { grid-template-columns: 1fr 1.3fr; gap: 22px; }
  .identity-band>a { grid-column: 1/-1; justify-self: start; }
  .universe-strip ul { gap: 20px; }
  .universe-strip li { font-size: 16px; }
  .career-list li { grid-template-columns: 150px 180px minmax(0,1fr); gap: 22px; }
  .career-list li>p { font-size: 16px; }
  .case-explorer[data-explorer-ready="true"] { grid-template-columns: 245px minmax(0,1fr); }
  .case-tabs button { padding-inline: 16px; gap: 10px; grid-template-columns: 22px 1fr 14px; }
  .case-panel { padding: 32px; }
  .activity-section .command-output>.wrap { gap: 30px 45px; }
}
@media (max-width: 800px) {
  .site-header { min-height: 72px; padding-inline: 5vw; gap: 20px; }
  .site-header nav { gap: 20px; }
  .site-header nav a { min-height: 72px; font-size: 13px; }
  .cosmic-hero { min-height: 760px; height: auto; padding-inline: 6vw; }
  .hero-content { width: 60%; }
  .hero-art img { object-position: 63% center; }
  .hero-art::after { background: linear-gradient(90deg,#090c10dd, #090c10a1 35%, transparent 90%),linear-gradient(0deg,#090c10,transparent 35%); }
  .cosmic-title h1 { font-size: 132px; }
  .hero-identity { display: block; }
  .hero-identity>span { display: block; margin-top: 8px; }
  .hero-description { font-size: 17px; }
  .hero-actions { gap: 12px; }
  .hero-actions a { font-size: 13px; padding: 11px 16px; gap: 17px; }
  .universe-strip { align-items: flex-start; }
  .universe-strip>p { margin-top: 6px; white-space: nowrap; }
  .universe-strip ul { gap: 8px 25px; }
  .command-block { padding-block: 64px; }
  .career-list li { grid-template-columns: 150px 1fr; gap: 10px 25px; }
  .career-date { grid-row: 1/3; }
  .career-list li>p { grid-column: 2; }
  .qualifications { gap: 12px; display: block; }
  .qualifications p+p { margin-top: 12px; }
  .case-explorer[data-explorer-ready="true"] { grid-template-columns: 1fr; }
  .case-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .case-tabs button { min-height: 94px; }
  .case-panel { min-height: 0; padding: 30px; }
  .activity-section .command-output>.wrap { grid-template-columns: 1fr; gap: 35px; }
  .activity-section .section-heading, .activity-section .public-snapshot { grid-column: 1; }
  .public-notes { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 35px; }
  .repository-list { margin-top: 10px; }
  .contact-section .command-output { grid-template-columns: 1fr; gap: 28px; }
  .documents article+article { padding-left: 20px; }
}
@media (max-width: 560px) {
  html { scroll-padding-top: 125px; }
  body { font-size: 16px; }
  .site-header { flex-wrap: wrap; padding-top: 13px; gap: 3px 20px; }
  .brand-name { font-size: 25px; }
  .site-header nav { order: 3; width: 100%; justify-content: space-between; }
  .site-header nav a { min-height: 44px; font-size: 12px; }
  .header-actions { margin-left: auto; }
  .header-actions a { min-height: 40px; padding-inline: 12px; font-size: 12px; }
  .cosmic-hero { min-height: 740px; padding: 285px 6vw 75px; justify-content: flex-end; }
  .hero-art { bottom: 210px; }
  .hero-art img { object-position: 68% top; height: 570px; }
  .hero-art::after { background: linear-gradient(0deg,#090c10 0%,#090c10 17%,transparent 64%),linear-gradient(90deg,#090c1060,transparent 70%); }
  .hero-content { width: 100%; max-width: none; }
  .hero-kicker { font-size: 10px; margin-bottom: 16px; }
  .cosmic-title h1 { flex-direction: row; gap: 10px; font-size: clamp(68px,21vw,118px); line-height: 1; white-space: nowrap; padding-right: 4px; }
  .cosmic-title h1 span+span { margin-left: 0; }
  .hero-identity { display: flex; align-items: baseline; gap: 17px; margin: 14px 0 16px; }
  .hero-identity strong { font-size: 22px; letter-spacing: 3px; }
  .hero-identity>span { font-size: 12px; margin: 0; }
  .hero-description { font-size: 17px; }
  .hero-actions { gap: 10px; margin-top: 23px; }
  .hero-actions a { flex: 1; padding-inline: 13px; font-size: 13px; gap: 7px; }
  .hero-caption { bottom: 18px; left: 6vw; right: 6vw; gap: 16px; }
  .hero-caption p { font-size: 9px; letter-spacing: 1.4px; }
  .hero-caption a { font-size: 11px; gap: 12px; }
  .identity-band { display: flex; flex-wrap: wrap; gap: 24px; padding: 28px 6vw; }
  .identity-person { width: 100%; }
  .identity-band>p { font-size: 12px; }
  .identity-band>p strong { margin-left: 6px; }
  .identity-band>p>span { font-size: 14px; margin-top: 8px; }
  .identity-band>a { font-size: 13px; }
  .universe-strip { display: block; padding-block: 25px; }
  .universe-strip ul { gap: 12px 23px; margin-top: 18px; }
  .universe-strip li { font-size: 17px; }
  .command-block { padding-block: 48px; }
  .chapter-label { font-size: 10px; margin-bottom: 12px; letter-spacing: 1px; }
  .section-heading { display: block; margin-bottom: 24px; }
  .section-heading h2, .contact-section h2 { font-size: 31px; letter-spacing: -1px; }
  .section-heading>.text-link { margin-top: 10px; }
  .career-list li { display: block; padding-block: 26px; }
  .career-date { display: flex; align-items: center; gap: 16px; font-size: 12px; padding: 0; margin-bottom: 10px; }
  .current-role { margin: 0; font-size: 11px; }
  .career-company h3 { font-size: 23px; }
  .career-company p { font-size: 13px; margin-top: 3px; }
  .career-list li>p { margin-top: 16px; font-size: 16px; }
  .qualifications p { font-size: 13px; }
  .qualifications small { font-size: 11px; }
  .case-tabs button { min-height: 92px; padding: 16px 10px; grid-template-columns: 17px 1fr; gap: 6px; }
  .case-tabs button strong { font-size: 14px; }
  .case-tabs button small { font-size: 11px; }
  .case-tabs button>span:last-child { display: none; }
  .case-panel { padding: 24px 20px; }
  .case-meta { font-size: 12px; gap: 10px; }
  .case-panel h3 { font-size: 24px; }
  .case-panel>p:not(.case-meta) { font-size: 16px; }
  .case-result { display: block; padding: 22px 0 14px; }
  .output-key { display: block; font-size: 12px; margin-bottom: 4px; }
  .case-result strong { font-size: 25px; }
  .case-flow { grid-template-columns: 1fr; gap: 12px; }
  .case-flow>div, .case-flow>div+div { display: grid; grid-template-columns: 85px 1fr; gap: 10px; border: 0; padding: 0; margin: 0; }
  .case-flow dt { margin: 0; }
  .case-flow dd { font-size: 13px; }
  .case-source-links { gap: 4px; }
  .case-source-links .text-link { font-size: 13px; }
  .public-notes { grid-template-columns: 1fr; gap: 40px; }
  .public-notes h3 { font-size: 25px; }
  .repository-row h3 { font-size: 23px; }
  .repository-row .mono { font-size: 10px; }
  .public-snapshot summary { font-size: 13px; gap: 10px; }
  .public-snapshot summary>span { font-size: 10px; }
  .public-snapshot dl { grid-template-columns: repeat(2,1fr); gap: 22px; }
  .documents { grid-template-columns: 1fr; }
  .documents article, .documents article+article { padding: 25px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .documents h3 { margin: 8px 0; font-size: 26px; }
  .documents article>div { margin-top: 14px; }
  .contact-section { padding-block: 45px; }
  .site-footer>div { gap: 8px; justify-content: space-between; }
  .site-footer>div>span { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* The lower résumé is one connected star field, with opaque reading surfaces. */
.universe-shell { position: relative; isolation: isolate; background: #080d14; }
main { position: relative; isolation: isolate; }
main>section, main>.universe-strip { position: relative; }
.stellar-backdrop { position: absolute; inset: 850px 0 0; overflow: hidden; pointer-events: none; z-index: -1; background-image: radial-gradient(1px 1px at 31px 52px,#d6e8f588 75%,transparent),radial-gradient(1px 1px at 113px 172px,#ead2a288 70%,transparent),radial-gradient(1.5px 1.5px at 255px 97px,#a4cbe666 70%,transparent); background-size: 293px 311px,439px 467px,683px 593px; }
.distant-planet { position: absolute; display: block; width: 850px; height: 850px; border-radius: 50%; background: radial-gradient(circle at 74% 27%,transparent 12%,#09101a66 41%,#080d14 70%),url('./cosmic-cinema.webp') 91% 16% / 310%; box-shadow: -20px -10px 80px #438ea229,0 0 0 1px #b5d6e51f; opacity: .72; }
.distant-planet--one { left: -460px; top: 8%; transform: rotate(30deg); }
.distant-planet--two { right: -460px; top: 40%; transform: rotate(-20deg); filter: hue-rotate(145deg); }
.distant-planet--three { left: -400px; top: 76%; transform: rotate(70deg); }
.galactic-thread { position: absolute; top: 2%; bottom: 2%; left: 15%; width: 85%; border: 1px solid #819db52b; border-right: 0; border-radius: 50% 0 0 50%; transform: rotate(-9deg); }
[data-reading-surface] { background-color: #0b1722; }
.chapter-label { display: table; padding: 5px 0; background: #080d14; }
.section-heading h2 { text-shadow: 0 2px 15px #080d14; }
.universe-strip { color: #e4ebf0; background: #080d14; }
.universe-strip li { position: relative; padding-left: 15px; }
.universe-strip li::before { content: ''; position: absolute; top: .7em; left: 0; width: 4px; height: 4px; border-radius: 50%; background: #e5bb77; box-shadow: 0 0 8px #e5bb7755; }
.work-section { padding-top: 82px; }
.case-explorer, .case-explorer[data-explorer-ready="true"] { display: block; border: 0; }
.planet-navigator { position: relative; height: 475px; isolation: isolate; margin: 0 -2vw 0; background: radial-gradient(ellipse at 50% 53%,#15354a6e,transparent 67%); }
.planet-navigator:has([data-explorer-tabs][hidden]) { display: none; }
.orbit-map-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 10px 2vw; }
.orbit-map-heading>span { font: 11px var(--mono); letter-spacing: 2px; color: #d1b986; }
.orbit-map-heading p { font-size: 13px; color: #c1cdd5; }
.orbit-routes { position: absolute; top: 64px; left: 0; width: 100%; height: 390px; z-index: -1; overflow: visible; }
.orbit-routes ellipse { fill: none; stroke: #7793a647; stroke-width: 1; transform: rotate(-8deg); transform-origin: center; stroke-dasharray: 3 12; }
.orbit-spine { fill: none; stroke: url('#route-light'); stroke-width: 1.4; opacity: .5; }
.orbit-drop { fill: none; stroke: #e7bd77; stroke-width: 1.2; stroke-dasharray: 4 7; opacity: 0; }
.case-explorer[data-explorer-selected="jpa"] [data-route="jpa"], .case-explorer[data-explorer-selected="event"] [data-route="event"], .case-explorer[data-explorer-selected="batch"] [data-route="batch"], .case-explorer[data-explorer-selected="search"] [data-route="search"] { opacity: .6; }
.case-tabs { position: absolute; inset: 40px 0 0; display: block; }
.case-tabs button { position: absolute; display: flex; flex-direction: column; justify-content: flex-start; align-items: center; width: 230px; min-height: 210px; padding: 9px 10px; gap: 15px; border: 0; text-align: center; color: #e2eaf0; background: none; transform: translateX(-50%); }
.case-tabs button:nth-child(1) { left: 13%; top: 118px; }
.case-tabs button:nth-child(2) { left: 37%; top: 12px; }
.case-tabs button:nth-child(3) { left: 63%; top: 147px; }
.case-tabs button:nth-child(4) { left: 87%; top: 22px; }
.case-tabs button[aria-selected="true"], .case-tabs button:hover:not([aria-selected="true"]) { background: none; box-shadow: none; color: #fff; }
.world-sphere { display: block; position: relative; flex: 0 0 auto; width: 108px; height: 108px; border-radius: 50%; background: radial-gradient(circle at 77% 18%,transparent 2%,#0a121a22 24%,#040b13e6 72%), url('./cosmic-cinema.webp') 85% 16% / 570%; box-shadow: inset -6px -9px 18px #000b,inset 2px 2px 5px #d1ebf277,0 0 32px #4d9daf30; transition: transform 170ms ease, box-shadow 170ms ease; }
.world-sphere::after { content: ''; position: absolute; inset: -8px; border: 1px solid #a6cbd04f; border-radius: 50%; transform: rotate(-23deg) scaleY(.38); pointer-events: none; }
.world-sphere--gold { filter: sepia(.4); }
.world-sphere--blue { filter: hue-rotate(155deg); }
.world-sphere--red { filter: hue-rotate(330deg) saturate(1.3); }
.world-sphere--ice { filter: saturate(.25); }
.case-tabs button[aria-selected="true"] .world-sphere { box-shadow: inset -6px -9px 18px #000b,inset 2px 2px 5px #f9e0a777,0 0 0 2px #e5bf7e,0 0 0 9px #e5bf7e12,0 0 42px #dea9614a; transform: scale(1.06); }
.case-tabs button:hover .world-sphere { transform: translateY(-4px); }
.planet-navigator .case-tabs button>.world-caption { display: block; padding: 8px 13px 10px; border: 1px solid transparent; border-radius: 2px; background: #080d14; min-width: 200px; }
.case-tabs button[aria-selected="true"]>.world-caption { border-bottom-color: #e3b674; }
.world-index { display: block; font: 10px var(--mono); color: #c8af81; letter-spacing: 1px; margin-bottom: 5px; }
.case-tabs button strong { font-size: 17px; line-height: 1.6; font-weight: 650; }
.case-tabs button small { color: #bbcbd5; font-size: 12px; margin-top: 4px; }
.case-tabs button small b { font-weight: 650; color: #f3dfb3; }
.case-panel { position: relative; padding: 40px 46px; border: 1px solid #415668; border-top: 2px solid #d8ae6b; min-height: 0; background: #0b1722; box-shadow: 0 15px 60px #0003; }
.case-panel h3 { max-width: 1000px; }
.case-panel>p { max-width: 940px; }
.case-panel+.case-panel { margin-top: 26px; }
.case-panel[hidden]+.case-panel { margin-top: 0; }
.case-result { padding-top: 24px; }
.case-result strong { font-size: 32px; color: #f3ca8c; }
.planet-flow { margin: 35px 0 22px; border-block: 1px solid #314656; background: #08111b; }
.planet-flow figcaption { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding: 21px 24px 0; }
.planet-flow figcaption span { color: #b4c9d7; font-size: 12px; }
.planet-flow figcaption strong { font-size: 13px; color: #e0ba7d; font-weight: 550; }
.flow-viewport { overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-color: #a98551 #101d29; }
.flow-viewport img { display: block; width: 100%; height: auto; min-width: 800px; }
.flow-summary { color: #d5e0e7; font-size: 14px; padding: 0 24px 20px; line-height: 1.8; }
.achievement-chart { margin-top: 30px; border-left: 2px solid #76bace; padding: 4px 24px 16px; max-width: 710px; background: #0b1722; }
.achievement-chart figcaption { display: flex; gap: 12px 24px; align-items: baseline; flex-wrap: wrap; margin-bottom: 18px; }
.achievement-chart figcaption span { font-size: 12px; color: #bfccd5; }
.achievement-chart figcaption strong { font-size: 18px; color: #eef3f5; }
.test-bar-row { display: grid; grid-template-columns: 70px 1fr 105px; align-items: center; gap: 18px; margin: 13px 0; font-size: 13px; }
.test-bar-row>span { color: #c6d3dc; }
.test-bar-row>strong { font-size: 14px; color: #e7cb96; }
.test-bar-track { height: 14px; border-left: 1px solid #a2b6c3; position: relative; }
.test-bar-track i { position: absolute; display: block; height: 100%; top: 0; left: 0; }
.test-bar-zero { width: 0; }
.test-bar-full { width: 100%; background: linear-gradient(90deg,#46819a,#a5d7db); border-right: 2px solid #edcf98; }
.achievement-chart>p { font-size: 12px; color: #bfccd5; margin-top: 16px; }
.achievement-counts { display: flex; gap: 45px; padding: 24px 0 0; }
.achievement-counts>div { border-left: 1px solid #597387; padding-left: 22px; }
.achievement-counts dt { color: #bdcbd5; font-size: 12px; }
.achievement-counts dd { color: #f1d6a6; font: 500 46px/1.35 var(--sans); letter-spacing: -1px; }
.achievement-counts dd span { font-size: 14px; margin-left: 6px; letter-spacing: 0; }
.original-flow { margin-top: 25px; border-top: 1px solid #344c5d; padding: 10px 0; }
.original-flow summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; min-height: 44px; font-size: 14px; color: #e6c28b; list-style: none; }
.original-flow summary::-webkit-details-marker { display: none; }
.original-flow-viewport { overflow-x: auto; margin: 16px 0; }
.original-flow img { display: block; width: 100%; min-width: 850px; height: auto; }
.original-flow figcaption { color: #c1cfd9; font-size: 13px; }
.career-section { padding-top: 45px; }
.career-list { border-top: 1px solid #425a6b; padding: 0 25px; background: #0b1722; }
.career-list li { position: relative; padding-left: 70px; grid-template-columns: 175px 210px minmax(0,1fr); }
.career-list li::before { content: ''; position: absolute; width: 35px; height: 35px; left: 7px; top: 34px; border-radius: 50%; background: radial-gradient(circle at 75% 15%,transparent 5%,#050e19 82%),url('./cosmic-cinema.webp') 88% 10% / 570%; box-shadow: -2px -2px 14px #adcce633,inset 1px 1px 2px #d6d9c6; z-index: 2; }
.career-list li::after { content: ''; position: absolute; left: 24px; top: 73px; bottom: -26px; width: 1px; background: linear-gradient(#b99a6388,#496d8077); }
.career-list li:last-child::after { display: none; }
.career-list li:nth-child(2)::before { filter: hue-rotate(120deg); }
.career-list li:nth-child(3)::before { filter: hue-rotate(300deg); }
.career-list li:nth-child(4)::before { filter: saturate(.25); }
.qualifications { padding: 23px 25px; border-top: 1px solid #344450; background: #0b1722; }
.public-notes, .repository-list { padding: 28px; border-top: 1px solid #547084; background: #0b1722; }
.public-notes { gap: 40px; }
.repository-row:first-child { border-top: 0; padding-top: 0; }
.contribution-links li { position: relative; padding-left: 20px; }
.contribution-links li::before { content: ''; position: absolute; left: 0; top: 24px; width: 6px; height: 6px; border-radius: 50%; background: #8bc9d1; box-shadow: 0 0 10px #64bdd266; }
.contribution-links li+li::after { content: ''; position: absolute; left: 2.5px; top: -20px; height: 37px; width: 1px; background: #4d7485; }
.public-snapshot { padding-inline: 24px; background: #0b1722; }
.documents { background: #0b1722; border-top-color: #658398; padding: 0 28px 18px; }
.document-no { color: #d2b482; }
.contact-section { overflow: hidden; isolation: isolate; background: #080d14; border-top: 1px solid #2a4050; }
.contact-section::before { content: ''; position: absolute; right: -120px; bottom: -570px; width: 900px; height: 700px; border-radius: 50%; background: radial-gradient(ellipse at 50% 10%,#e4c18a66,transparent 50%),url('./cosmic-cinema.webp') 75% 8% / 230%; border-top: 1px solid #d0c3a588; z-index: -1; box-shadow: 0 -15px 65px #7da0b829; }
.contact-details { padding: 22px; background: #0b1722; }
.contact-section h2 { color: #f2e2c4; }
@media (max-width: 1100px) {
  .case-tabs button { width: 200px; }
  .planet-navigator .case-tabs button>.world-caption { min-width: 175px; padding-inline: 8px; }
  .case-tabs button strong { font-size: 15px; }
  .case-tabs button small { font-size: 11px; }
  .world-sphere { width: 95px; height: 95px; }
  .career-list li { grid-template-columns: 130px 170px minmax(0,1fr); gap: 20px; padding-left: 60px; }
}
@media (max-width: 800px) {
  .planet-navigator { height: 480px; margin-inline: 0; }
  .orbit-map-heading { display: block; padding-inline: 0; }
  .orbit-map-heading p { font-size: 12px; margin-top: 8px; }
  .orbit-routes { display: none; }
  .case-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; position: relative; inset: auto; padding: 25px 0 20px; }
  .case-tabs::before { content: ''; position: absolute; inset: 70px 23% 95px; border: 1px solid #7d9aa04d; border-radius: 50%; transform: rotate(-20deg); z-index: -1; }
  .case-tabs button, .case-tabs button:nth-child(n) { position: relative; left: auto; top: auto; width: 100%; min-height: 165px; transform: none; gap: 7px; padding: 0; }
  .world-sphere { width: 75px; height: 75px; }
  .planet-navigator .case-tabs button>.world-caption { min-width: 0; width: 100%; }
  .case-panel { padding: 30px; }
  .career-list li { grid-template-columns: 130px 1fr; gap: 10px 20px; }
  .public-notes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .flow-summary { font-size: 14px; }
}
@media (max-width: 560px) {
  .stellar-backdrop { top: 780px; }
  .distant-planet { width: 620px; height: 620px; opacity: .5; }
  .distant-planet--one { left: -430px; }
  .distant-planet--two { right: -430px; }
  .distant-planet--three { left: -420px; }
  .planet-navigator { height: auto; padding-bottom: 25px; }
  .orbit-map-heading>span { font-size: 10px; }
  .orbit-map-heading p { font-size: 12px; max-width: 30em; }
  .case-tabs { gap: 20px 13px; }
  .case-tabs button strong { font-size: 14px; }
  .case-tabs button small { font-size: 11px; line-height: 1.7; }
  .world-index { font-size: 9px; letter-spacing: .2px; }
  .planet-navigator .case-tabs button>.world-caption { padding: 7px 0; }
  .world-sphere { width: 77px; height: 77px; }
  .case-tabs button:nth-child(2), .case-tabs button:nth-child(4) { top: 22px; }
  .case-panel { padding: 25px 20px; }
  .case-panel h3 { font-size: 24px; }
  .case-panel>p:not(.case-meta) { font-size: 16px; }
  .case-result strong { font-size: 29px; }
  .planet-flow { margin-inline: -20px; }
  .planet-flow figcaption { padding: 18px 20px 10px; }
  .planet-flow figcaption strong { font-size: 12px; }
  .planet-flow figcaption::after { content: '흐름도는 좌우로 밀어서 볼 수 있습니다 →'; display: block; width: 100%; color: #b4c9d7; font-size: 11px; padding-top: 5px; }
  .flow-viewport img { min-width: 800px; }
  .flow-summary { padding: 12px 20px 20px; font-size: 14px; }
  .case-flow { padding: 15px 0 0 10px; gap: 19px; }
  .case-flow>div, .case-flow>div+div { position: relative; padding-left: 21px; grid-template-columns: 72px 1fr; }
  .case-flow>div::before { content: ''; position: absolute; width: 10px; height: 10px; top: 5px; left: -4px; border-radius: 50%; background: radial-gradient(circle at 30% 20%,#e4d4b0,#36586b 55%,#0b1722 80%); box-shadow: 0 0 0 1px #708a9a; }
  .case-flow>div:not(:last-child)::after { content: ''; position: absolute; top: 20px; bottom: -16px; left: 0; width: 1px; background: #4c697c; }
  .achievement-chart { padding: 4px 0 12px 14px; }
  .achievement-chart figcaption { display: block; }
  .achievement-chart figcaption strong { display: block; margin-top: 6px; }
  .test-bar-row { grid-template-columns: 47px 1fr 74px; gap: 10px; font-size: 12px; }
  .test-bar-row>strong { font-size: 12px; }
  .achievement-chart>p { font-size: 11px; }
  .achievement-counts { gap: 13px; justify-content: space-between; }
  .achievement-counts>div { padding-left: 12px; }
  .achievement-counts dt { font-size: 11px; max-width: 6em; }
  .achievement-counts dd { font-size: 35px; }
  .achievement-counts dd span { font-size: 12px; }
  .original-flow summary { font-size: 13px; }
  .career-list { padding-inline: 18px; }
  .career-list li { display: block; padding-left: 40px; }
  .career-list li::before { width: 25px; height: 25px; left: 0; top: 31px; }
  .career-list li::after { left: 12px; top: 65px; bottom: -19px; }
  .career-date { display: block; font-size: 11px; }
  .current-role { display: inline-block; margin-left: 10px; font-size: 10px; }
  .career-company h3 { font-size: 22px; }
  .career-list li>p { font-size: 16px; }
  .qualifications { padding-inline: 18px; }
  .public-notes { display: grid; grid-template-columns: 1fr; padding: 23px 20px; }
  .repository-list { padding: 23px 20px; }
  .repository-row h3 { font-size: 22px; }
  .public-snapshot { padding-inline: 18px; }
  .documents { padding: 0 20px; }
  .contact-details { padding: 20px; }
  .contact-email { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .world-sphere { transition: none; }
  .case-tabs button:hover .world-sphere { transform: none; }
}

@media print {
  :root { --paper: #fff; --ink: #111; --muted: #444; --accent: #333; }
  html { scroll-behavior: auto; }
  body { font-size: 11pt; }
  .site-header, .scroll-progress, .skip-link, .hero-art, .hero-kicker, .hero-caption, .hero-actions, .universe-strip, .case-tabs, .site-footer, .toast, .contact-details button { display: none !important; }
  .cosmic-hero { display: block; min-height: 0; height: auto; padding: 0 0 20px; background: #fff; color: #111; }
  .hero-content { width: 100%; max-width: none; }
  .cosmic-title h1 { display: block; font-size: 45px; line-height: 1.1; }
  .cosmic-title h1 span { display: inline; color: #111; background: none; -webkit-text-fill-color: #111; -webkit-text-stroke: 0; filter: none; }
  .cosmic-title h1 span+span { margin-left: 12px; }
  .hero-identity { margin: 10px 0; }
  .hero-identity>span, .hero-description { color: #333; text-shadow: none; }
  .hero-description { font-size: 12pt; }
  .identity-band { background: #fff; color: #111; padding: 15px 0; border: 1px solid #aaa; border-inline: 0; }
  .identity-band p, .identity-band>p strong, .identity-person strong span { color: #333; }
  .identity-band>a { display: none; }
  .command-block:not(.contact-section), .universe-strip { margin-inline: 0; padding-block: 25px; }
  .section-heading h2 { font-size: 25px; }
  .career-list li { break-inside: avoid; }
  .case-explorer, .case-explorer[data-explorer-ready="true"] { display: block; }
  .case-panel[hidden] { display: block !important; }
  .case-panel { padding: 20px 0; min-height: 0; background: #fff; border: 0; break-inside: avoid; }
  .case-panel h3 { font-size: 22px; }
  .case-panel>p:not(.case-meta), .career-list li>p { font-size: 11pt; }
  .activity-section .command-output>.wrap { display: block; }
  .public-notes { display: block; }
  .public-notes article { margin-bottom: 20px; }
  .contact-section { background: #fff; color: #111; padding: 25px 0; }
  .contact-section .chapter-label, .contact-details>p, .social-links { color: #333; }
  .contact-section h2 { font-size: 25px; }
  .contact-email { font-size: 20px; }
}

@media print {
  :root { color-scheme: light; }
  .universe-shell { background: #fff; }
  .stellar-backdrop, .planet-navigator { display: none !important; }
  [data-reading-surface], .chapter-label, .career-list, .qualifications, .public-notes, .repository-list, .documents, .public-snapshot, .contact-details { background: #fff !important; color: #222; }
  .case-panel { box-shadow: none; color: #222; }
  .case-panel h3, .case-panel>p, .case-meta, .case-meta span, .case-result strong, .case-panel>.case-after, .case-flow dt, .case-flow dd, .career-list li>p, .public-notes article>p:not(.eyebrow), .repository-row p:not(.mono), .document-no { color: #222 !important; }
  .planet-flow { background: #fff; break-inside: avoid; }
  .planet-flow figcaption span, .planet-flow figcaption strong, .flow-summary { color: #333; }
  .flow-viewport { overflow: visible; }
  .flow-viewport img { min-width: 0; width: 100%; }
  .achievement-chart { background: #fff; }
  .achievement-chart figcaption span, .achievement-chart figcaption strong, .achievement-chart>p, .test-bar-row>span, .test-bar-row>strong, .achievement-counts dt, .achievement-counts dd { color: #222; }
  .career-list li { padding-left: 30px; }
  .career-list li::before { width: 10px; height: 10px; background: #555; box-shadow: none; left: 4px; }
  .career-list li::after { left: 9px; background: #999; }
  .contact-section::before { display: none; }
  .original-flow { display: none; }
}
.original-flow[open] summary>span { transform: rotate(45deg); }
@media print {
  .section-heading h2 { text-shadow: none; }
  .output-key { color: #333; }
}
@media screen and (max-width: 560px) {
  .achievement-counts dt { word-break: keep-all; min-height: 3em; line-height: 1.5; }
}
