@font-face {
  font-family: Portfolio;
  src: url('assets/Pretendard.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ink: #171e2c;
  --muted: #505b6b;
  --soft: #687383;
  --blue: #284fd2;
  --rule: #dce0e5;
  --paper: #fbfbf9;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --nav: 72px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav) + 18px);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    400 1.0625rem/1.72 Portfolio,
    -apple-system,
    BlinkMacSystemFont,
    'Malgun Gothic',
    sans-serif;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: auto;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
pre:focus-visible,
input:focus-visible {
  outline: 3px solid #5778fa;
  outline-offset: 4px;
}
h1,
h2,
h3,
h4,
p,
figure,
dl,
dd,
ul {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  line-height: 1.22;
  letter-spacing: -0.045em;
}
img {
  max-width: 100%;
  display: block;
}
button {
  border: 0;
  background: none;
}
.wrap {
  max-width: 1184px;
  width: calc(100% - 112px);
  margin: 0 auto;
}
.sr-only,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  padding: 8px 16px;
  background: white;
  z-index: 50;
}
.icon {
  width: 19px;
  height: 19px;
  flex: none;
}
.header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(251, 251, 249, 0.96);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  height: var(--nav);
  gap: 35px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.42rem;
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 1;
}
.brand-ext {
  font-weight: 460;
}
.brand-mark {
  position: relative;
  display: inline-block;
  width: 26px;
  height: 28px;
}
.brand-mark i {
  background: var(--blue);
  width: 19px;
  height: 7px;
  transform: skewY(-20deg);
  position: absolute;
  left: 3px;
  top: 4px;
}
.brand-mark i:nth-child(2) {
  top: 11px;
  background: #5570dc;
}
.brand-mark i:nth-child(3) {
  top: 18px;
  background: #8c9de4;
}
nav {
  margin-left: auto;
  display: flex;
  gap: 26px;
  align-self: stretch;
}
nav a {
  display: flex;
  align-items: center;
  position: relative;
  color: #5d6370;
  font-size: 0.925rem;
  font-weight: 550;
}
nav a:hover,
nav a[aria-current] {
  color: var(--blue);
}
nav a[aria-current]::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--blue);
  height: 2px;
}
.nav-pdf,
.button,
.service-link,
.contact-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
}
.nav-pdf {
  border: 1px solid #cdd1d9;
  border-radius: 7px;
  padding: 7px 13px;
  font-size: 0.875rem;
  background: #fff;
}
.nav-pdf .icon {
  width: 16px;
  height: 16px;
}
.nav-pdf:hover,
.secondary:hover {
  border-color: #7383aa;
  background: #f2f4fb;
}
.hero {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: clamp(38px, 6vw, 92px);
  align-items: center;
  padding: clamp(61px, 6.7vw, 94px) 0 clamp(64px, 6.9vw, 98px);
}
.role,
.kicker {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--blue);
  font-weight: 650;
  font-size: 0.9375rem;
}
.role i,
.short-line {
  width: 24px;
  height: 2px;
  background: var(--blue);
}
.profile h1 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: clamp(4.3rem, 6.2vw, 6rem);
  font-weight: 760;
  letter-spacing: -0.082em;
  margin: 11px 0 0;
  line-height: 1.04;
}
.profile h1 i {
  width: 0.12em;
  height: 0.12em;
  background: var(--blue);
  display: inline-block;
}
.roman {
  font-family: var(--mono);
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  color: var(--soft);
  margin-top: 9px;
}
.headline {
  font-size: clamp(1.48rem, 2.13vw, 2.1rem);
  letter-spacing: -0.047em;
  font-weight: 650;
  line-height: 1.34;
  margin: 27px 0 12px;
}
.intro {
  font-size: 1.04rem;
  line-height: 1.78;
  max-width: 510px;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 25px;
}
.button {
  font-size: 0.96rem;
  line-height: 1.25;
  min-height: 43px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 11px 18px;
}
.primary {
  color: white;
  background: var(--ink);
}
.primary:hover {
  background: #304679;
}
.secondary {
  border-color: var(--rule);
  background: white;
}
.blueprint {
  display: block;
  position: relative;
  overflow: hidden;
  background: #121a29;
  border: 1px solid #181e2e;
  border-radius: 14px;
  color: white;
  box-shadow: 0 9px 24px -17px #15264261;
}
.blueprint img {
  width: 100%;
  height: auto;
}
.plate-head {
  position: absolute;
  inset: 17px 21px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.plate-head > span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.plate-head .icon {
  width: 17px;
  height: 17px;
  color: #abbfff;
}
.plate-sub {
  font-size: 0.78rem;
  color: #b2bed2;
}
.plate-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  border-top: 1px solid #344055;
  color: #c6cddd;
  font-size: 0.8rem;
  background: #172031;
}
.mono {
  font-family: var(--mono);
  font-size: 0.75rem;
}
.section {
  border-top: 1px solid #abb2bd;
  padding: 42px 0 68px;
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}
.section-head h2 {
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  font-weight: 700;
}
.section-head > span {
  font-family: var(--mono);
  font-size: 0.81rem;
  color: #687487;
  letter-spacing: 0.025em;
}
.featured {
  border: 1px solid var(--rule);
  border-radius: 13px;
  overflow: hidden;
  background: #fff;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
}
.feature-copy {
  padding: 32px 32px 28px;
}
.kicker {
  font-size: 0.85rem;
  gap: 8px;
}
.kicker .short-line {
  width: 15px;
}
.feature-copy h3 {
  font-size: clamp(2rem, 3.3vw, 3.35rem);
  letter-spacing: -0.053em;
  margin: 15px 0 0;
}
.project-name {
  color: var(--soft);
  font-size: 0.93rem;
  margin: 2px 0 15px;
}
.feature-copy > p:not(.kicker):not(.project-name),
.detail-item p,
.case-summary,
.job-copy > p:not(.job-role),
.section-intro,
.sample p {
  color: var(--muted);
}
.feature-copy > p:not(.kicker):not(.project-name) {
  font-size: 1rem;
}
.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin-top: 16px;
}
.tags li {
  background: #f3f4f6;
  color: #4d5665;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 0.81rem;
  font-weight: 490;
}
.metric {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  margin-top: 20px;
  border-top: 1px solid var(--rule);
}
.metric strong {
  font-size: 2.1rem;
  letter-spacing: -0.06em;
  font-weight: 680;
  line-height: 1.1;
}
.metric > div {
  font-size: 0.855rem;
  line-height: 1.45;
}
.metric small {
  display: block;
  font-size: 0.76rem;
  color: var(--soft);
}
.service-link {
  font-size: 0.92rem;
  color: var(--blue);
  margin-top: 16px;
}
.service-link:hover,
.contact-links a:hover,
.email:hover,
footer a:hover {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.gallery {
  background: #e9edf5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px clamp(18px, 2.8vw, 40px) 32px;
  min-width: 0;
  gap: 16px;
}
.gallery-tabs,
.code-tabs {
  display: flex;
  gap: 5px;
}
.gallery-tabs button,
.code-tabs button {
  padding: 6px 12px;
  border-radius: 5px;
  font-size: 0.88rem;
  color: #505e73;
  font-weight: 560;
}
.gallery-tabs button[aria-pressed='true'] {
  background: #fff;
  color: #243456;
  box-shadow: 0 1px 3px #253d6422;
}
.gallery-tabs button:hover,
.code-tabs button:hover {
  background: #dce4f2;
}
.screen {
  border: 1px solid #cfd6e1;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 11px 22px -15px #313e63aa;
}
.zoom {
  width: 100%;
  padding: 0;
  display: block;
  position: relative;
  cursor: zoom-in;
}
.zoom img {
  width: 100%;
  height: auto;
}
.zoom > span {
  position: absolute;
  bottom: 9px;
  right: 9px;
  background: #fff;
  border: 1px solid #c6cedb;
  border-radius: 5px;
  padding: 5px;
  display: flex;
  color: #334365;
}
.zoom .icon {
  width: 16px;
  height: 16px;
}
.feature-more {
  grid-column: 1/-1;
  border-top: 1px solid var(--rule);
}
details summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
}
details summary::-webkit-details-marker {
  display: none;
}
details summary::after,
details summary::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 1.5px;
  background: #58667b;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}
details summary::after {
  transform: translateY(-50%) rotate(90deg);
}
details[open] > summary::after {
  display: none;
}
details > summary:hover {
  color: var(--blue);
}
.feature-more summary,
.skills summary {
  padding: 15px 52px 15px 26px;
  font-size: 0.98rem;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  padding: 10px 26px 24px;
}
.detail-item h4 {
  font-size: 1.08rem;
  margin: 0 0 7px;
}
.detail-item p {
  line-height: 1.68;
  font-size: 1rem;
}
.case-list {
  margin-top: 18px;
}
.case {
  border-bottom: 1px solid var(--rule);
}
.case summary {
  padding: 21px 52px 21px 0;
  display: flex;
  align-items: center;
  gap: 19px;
}
.case-symbol {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  color: #4763a1;
  border: 1px solid #d4dbe6;
  border-radius: 9px;
  background: #f1f3f7;
}
.case-symbol .icon {
  width: 23px;
  height: 23px;
}
.case small {
  font-size: 0.81rem;
  font-weight: 550;
  color: var(--soft);
  display: block;
  line-height: 1.4;
}
.case small i {
  font-style: normal;
  color: #a0acbc;
  margin: 0 3px;
}
.case strong {
  display: block;
  font-size: 1.26rem;
  letter-spacing: -0.035em;
  line-height: 1.5;
}
.case-summary {
  display: block;
  font-weight: 400;
  font-size: 0.97rem;
  line-height: 1.6;
  margin-top: 2px;
}
.case-body {
  padding: 0 50px 25px 65px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.job {
  display: grid;
  grid-template-columns: minmax(175px, 0.38fr) 1fr;
  gap: 30px;
  padding: 25px 0;
  border-top: 1px solid var(--rule);
}
.job-period {
  font: 0.87rem/1.8 var(--mono);
  color: var(--soft);
  padding-top: 3px;
}
.job-copy {
  max-width: 720px;
}
.job-copy h3 {
  font-size: 1.42rem;
}
.job-role {
  font-size: 0.94rem;
  font-weight: 600;
  margin: 4px 0 7px;
  color: #39475b;
}
.job-copy > p:not(.job-role) {
  font-size: 1rem;
}
.skills {
  margin-top: 6px;
  background: #f1f3f6;
  border-radius: 8px;
}
.skills dl {
  padding: 0 26px 14px;
}
.skills dl > div {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 15px;
  padding: 9px 0;
  border-top: 1px solid var(--rule);
  font-size: 0.98rem;
}
.skills dt {
  font-weight: 600;
}
.skills dd {
  color: var(--muted);
}
.section-intro {
  margin-top: -15px;
  margin-bottom: 22px;
}
.code-tabs {
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.code-tabs button {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--rule);
  background: #fff;
}
.code-tabs button[aria-pressed='true'] {
  color: #2446b4;
  background: #edf1ff;
  border-color: #b6c5f6;
}
.code-tabs .icon {
  width: 16px;
  height: 16px;
}
.sample {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 40px;
  align-items: start;
}
.code-description h3 {
  font-size: 1.27rem;
  margin: 11px 0 8px;
}
.sample p {
  font-size: 1rem;
}
.source {
  background: #192233;
  color: #e1e7f2;
  border-radius: 9px;
  overflow: hidden;
  min-width: 0;
  border: 1px solid #202c3f;
}
.source-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-bottom: 1px solid #34425a;
  font-family: var(--mono);
  font-size: 0.79rem;
}
.source-head small {
  margin-left: auto;
  color: #b0bcd0;
  font: inherit;
}
.source-head .icon {
  height: 15px;
  width: 15px;
  color: #a1b7e8;
}
pre {
  margin: 0;
  overflow-x: auto;
  padding: 17px;
  line-height: 1.7;
  font-family: var(--mono);
  font-size: 0.83rem;
  tab-size: 2;
  word-break: normal;
}
code {
  font-family: inherit;
}
.line {
  display: inline-flex;
  min-height: 1em;
}
.line-number {
  min-width: 36px;
  user-select: none;
  color: #9aa6bb;
  font-size: 0.82em;
}
.line b {
  color: #9dbbff;
  font-weight: 500;
}
.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.email {
  font-size: clamp(1.5rem, 3.5vw, 3.5rem);
  letter-spacing: -0.045em;
  line-height: 1.3;
  font-weight: 570;
}
.contact-links {
  display: flex;
  gap: 19px;
}
.contact-links a {
  font-size: 0.94rem;
}
.contact {
  padding-bottom: 64px;
}
footer {
  border-top: 1px solid var(--rule);
  color: var(--soft);
}
footer .wrap {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 24px 0;
  font-size: 0.82rem;
}
footer .brand {
  font-size: 1.1rem;
  color: var(--ink);
}
footer .brand-mark {
  transform: scale(0.76);
  margin-left: -4px;
  margin-right: -6px;
}
footer .wrap > a:last-child {
  margin-left: auto;
}
dialog {
  padding: 0;
  border: 1px solid #d4d8df;
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  width: min(430px, calc(100% - 28px));
  box-shadow: 0 20px 90px #15243f40;
  max-height: 88vh;
  overflow: auto;
}
dialog::backdrop {
  background: #121a2b99;
  backdrop-filter: blur(3px);
}
.dialog-inner {
  padding: 24px;
}
.dialog-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 17px;
}
.dialog-title h2 {
  font-size: 1.45rem;
}
.dialog-title button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: #f3f4f6;
}
fieldset {
  padding: 0;
  border: 0;
  margin: 0;
}
.pdf-option {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 13px;
  margin: 8px 0;
  cursor: pointer;
}
.pdf-option:has(input:checked) {
  background: #f1f4ff;
  border-color: #7992de;
}
.pdf-option input {
  width: 17px;
  height: 17px;
  accent-color: var(--blue);
}
.pdf-option strong,
.pdf-option small {
  display: block;
}
.pdf-option small {
  font-size: 0.86rem;
  color: var(--muted);
}
.download {
  width: 100%;
  margin-top: 13px;
}
#image-dialog {
  width: min(1130px, calc(100% - 26px));
  padding: 14px;
}
#image-dialog .dialog-title {
  margin: 0 0 10px;
}
#image-dialog h2 {
  font-size: 1.05rem;
}
#image-dialog img {
  width: auto;
  max-width: 100%;
  max-height: 72vh;
  margin: auto;
  object-fit: contain;
}
[hidden] {
  display: none !important;
}
@media screen and (max-width: 930px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .header-inner {
    gap: 20px;
  }
  nav {
    gap: 19px;
  }
  .hero {
    gap: 27px;
  }
  .feature-copy {
    padding: 25px;
  }
  .featured {
    grid-template-columns: 1fr 1.05fr;
  }
  .sample {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .code-description p {
    max-width: 72ch;
  }
}
@media screen and (max-width: 700px) {
  :root {
    --nav: 96px;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .header-inner {
    height: auto;
    min-height: var(--nav);
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 52px 43px;
    gap: 0;
    align-items: center;
  }
  .header .brand {
    font-size: 1.24rem;
    width: max-content;
  }
  .nav-pdf {
    grid-column: 2;
    grid-row: 1;
    padding: 5px 10px;
  }
  nav {
    grid-row: 2;
    grid-column: 1/-1;
    margin: 0;
    gap: 0;
    justify-content: space-between;
  }
  nav a {
    padding: 2px 4px;
    font-size: 0.9rem;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 43px 0 40px;
  }
  .profile h1 {
    font-size: 4.45rem;
  }
  .headline {
    margin: 21px 0 10px;
    font-size: 1.55rem;
  }
  .hero-actions {
    margin-top: 19px;
  }
  .intro {
    font-size: 1rem;
  }
  .blueprint {
    width: 100%;
    max-width: 520px;
    justify-self: center;
  }
  .plate-head {
    inset: 12px 16px auto;
  }
  .plate-foot {
    padding: 7px 16px;
  }
  .section {
    padding: 29px 0 40px;
  }
  .section-head {
    margin-bottom: 20px;
  }
  .section-head > span {
    font-size: 0.77rem;
  }
  .featured {
    grid-template-columns: 1fr;
  }
  .feature-copy {
    padding: 22px;
  }
  .gallery {
    padding: 17px 18px 22px;
    gap: 10px;
  }
  .feature-copy h3 {
    margin-top: 10px;
  }
  .feature-more summary,
  .skills summary {
    padding-left: 18px;
  }
  .detail-grid,
  .case-body {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .detail-grid {
    padding: 5px 18px 20px;
  }
  .case summary {
    padding: 17px 28px 17px 0;
    gap: 12px;
  }
  .case summary:after,
  .case summary:before {
    right: 5px;
  }
  .case-symbol {
    width: 35px;
    height: 39px;
  }
  .case strong {
    font-size: 1.13rem;
  }
  .case-body {
    padding: 0 12px 18px 0;
  }
  .job {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 20px 0;
  }
  .job-period {
    font-size: 0.81rem;
    padding: 0;
  }
  .skills dl {
    padding: 0 18px 12px;
  }
  .skills dl > div {
    grid-template-columns: 1fr;
    gap: 1px;
  }
  .code-tabs button {
    padding: 7px 9px;
  }
  .source-head {
    padding: 9px;
  }
  .source-head small {
    font-size: 0.72rem;
  }
  pre {
    padding: 12px 8px;
  }
  .section-intro {
    margin-top: -8px;
  }
  .contact-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .email {
    font-size: clamp(1.35rem, 6.3vw, 2rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
@page {
  size: A4;
  margin: 14mm;
}
@media print {
  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  html {
    scroll-behavior: auto;
  }
  body {
    background: #fff;
    font-size: 10pt;
    line-height: 1.57;
  }
  .wrap {
    width: 100%;
    max-width: none;
  }
  .header {
    position: static;
    backdrop-filter: none;
    background: #fff;
  }
  .header-inner {
    height: 27px;
    padding-bottom: 8px;
  }
  .brand {
    font-size: 13pt;
    gap: 5px;
  }
  .brand-mark {
    transform: scale(0.75);
    transform-origin: left center;
    width: 21px;
  }
  nav,
  .nav-pdf,
  .hero-actions,
  .gallery-toolbar,
  .zoom > span,
  .code-tabs,
  dialog,
  footer,
  .contact-links [data-pdf],
  .skip,
  .sr-only {
    display: none !important;
  }
  .hero {
    grid-template-columns: 1fr 0.96fr;
    gap: 22px;
    padding: 23px 0 24px;
  }
  .role {
    font-size: 9pt;
  }
  .profile h1 {
    font-size: 36pt;
    margin-top: 6px;
  }
  .roman {
    font-size: 8pt;
    margin-top: 3px;
  }
  .headline {
    font-size: 15pt;
    line-height: 1.3;
    margin: 12px 0 6px;
  }
  .intro,
  .feature-copy > p:not(.kicker):not(.project-name),
  .detail-item p,
  .case-summary,
  .job-copy > p:not(.job-role),
  .section-intro,
  .sample p,
  .skills dl > div {
    font-size: 9.2pt;
    line-height: 1.57;
  }
  .blueprint {
    border-radius: 7px;
    box-shadow: none;
  }
  .plate-head {
    inset: 8px 10px auto;
  }
  .plate-head > span:first-child,
  .plate-sub,
  .plate-foot,
  .mono {
    font-size: 7.5pt;
  }
  .plate-foot {
    padding: 4px 10px;
  }
  .section {
    padding: 16px 0 17px;
  }
  .section-head {
    margin-bottom: 12px;
  }
  .section-head h2 {
    font-size: 21pt;
  }
  .section-head > span {
    font-size: 8pt;
  }
  .featured {
    display: block;
    border: 0;
    overflow: visible;
  }
  .feature-copy {
    padding: 0 0 10px;
    display: flow-root;
  }
  .feature-copy .kicker {
    font-size: 8pt;
  }
  .feature-copy h3 {
    font-size: 23pt;
    margin-top: 6px;
  }
  .project-name {
    font-size: 9pt;
    margin: 0 0 6px;
  }
  .tags {
    margin-top: 6px;
  }
  .tags li {
    font-size: 7.5pt;
  }
  .metric {
    border: none;
    display: inline-flex;
    vertical-align: middle;
    margin: 8px 12px 0 0;
    padding: 0;
    gap: 7px;
  }
  .metric strong {
    font-size: 16pt;
  }
  .metric > div,
  .metric small,
  .service-link {
    font-size: 7.8pt;
  }
  .service-link {
    margin-top: 5px;
  }
  .gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    padding: 10px;
    background: #edf0f6;
    border-radius: 6px;
  }
  .screen[hidden],
  .sample[hidden] {
    display: block !important;
  }
  .screen {
    margin: 0;
    box-shadow: none;
    border-radius: 4px;
  }
  .screen img {
    width: 100%;
  }
  .screen figcaption.sr-only {
    display: block !important;
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    clip-path: none;
    padding: 2px 6px;
    font-size: 8pt;
    background: #fff;
  }
  details summary::after,
  details summary::before {
    display: none;
  }
  .feature-more {
    border: 0;
  }
  .feature-more summary,
  .skills summary {
    padding: 10px 0 4px;
    font-size: 11pt;
  }
  .detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 3px 0 0;
  }
  .detail-item h4 {
    font-size: 10.5pt;
    margin: 0 0 3px;
  }
  .detail-item,
  .skills,
  .job,
  .case,
  .gallery,
  .source,
  .code-description,
  .contact-row {
    break-inside: avoid;
  }
  .case-list {
    break-before: page;
    margin: 0;
  }
  .case summary {
    padding: 10px 0 6px;
    gap: 10px;
  }
  .case small {
    font-size: 8pt;
  }
  .case strong {
    font-size: 14pt;
  }
  .case-symbol {
    width: 32px;
    height: 32px;
  }
  .case-body {
    padding: 5px 0 13px 42px;
    gap: 16px;
  }
  .job {
    grid-template-columns: 125px 1fr;
    gap: 15px;
    padding: 11px 0;
  }
  .job-copy h3 {
    font-size: 13pt;
  }
  .job-role {
    font-size: 9pt;
    margin: 1px 0 3px;
  }
  .job-period {
    font-size: 8.5pt;
  }
  .skills {
    padding: 0 12px 6px;
  }
  .skills dl {
    padding: 0;
  }
  .skills dl > div {
    padding: 4px 0;
    grid-template-columns: 68px 1fr;
  }
  .skills summary {
    padding-top: 7px;
  }
  #code {
    break-before: page;
  }
  .section-intro {
    margin: -4px 0 10px;
  }
  .sample,
  .sample[hidden] {
    display: block !important;
    margin-top: 10px;
  }
  .code-description h3 {
    font-size: 13pt;
    margin: 8px 0 3px;
  }
  .code-description {
    margin-bottom: 6px;
  }
  .source-head {
    padding: 5px 10px;
    font-size: 8pt;
  }
  pre {
    padding: 6px 10px;
    line-height: 1.34;
    font-size: 8pt;
    white-space: pre-wrap;
  }
  .line {
    display: inline-flex;
    max-width: 100%;
  }
  .line-number {
    min-width: 28px;
  }
  .source {
    border-radius: 5px;
  }
  .contact {
    padding-bottom: 0;
  }
  .contact .section-head {
    margin-bottom: 8px;
  }
  .email {
    font-size: 17pt;
  }
  .contact-links a {
    font-size: 9pt;
  }
}
.resume-hero {
  grid-template-columns: 1.4fr 0.8fr;
  align-items: center;
}
.resume-hero .intro {
  margin-top: 16px;
  max-width: 670px;
}
.resume-hero .roman {
  margin-bottom: 20px;
}
.resume-index {
  padding: 22px 26px;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}
.resume-index > a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 8px;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
}
.resume-index strong {
  font-size: 1.14rem;
}
.resume-index small {
  grid-column: 1/-1;
  color: var(--muted);
  font-size: 0.91rem;
}
.resume-index > a span {
  font: 0.81rem/1.8 var(--mono);
  color: var(--soft);
}
.index-links,
.inline-links,
.quick-files {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.index-links {
  margin-top: 14px;
}
.text-link,
.back-link,
.project-summary > a {
  display: inline-block;
  color: var(--blue);
  font-weight: 560;
  text-decoration: underline;
  text-decoration-color: #9cafdf;
  text-underline-offset: 0.22em;
  font-size: 0.96rem;
}
.job-copy > .text-link {
  margin-top: 8px;
}
.text-link:hover,
.back-link:hover {
  color: #132a76;
}
.home-feature {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.home-feature h3 {
  font-size: 2.65rem;
  margin: 10px 0;
}
.home-feature > div > p:not(.kicker) {
  color: var(--muted);
}
.home-feature > a {
  padding: 16px;
  background: #e8edf4;
  border-radius: 10px;
}
.home-feature img {
  height: auto;
  border-radius: 5px;
}
.metric-inline {
  margin: 13px 0;
}
.metric-inline b {
  font-size: 1.22rem;
  color: var(--ink);
}
.metric-inline small {
  display: block;
}
.resume-dl > div {
  display: grid;
  grid-template-columns: minmax(105px, 0.25fr) 1fr;
  gap: 16px;
  border-top: 1px solid var(--rule);
  padding: 15px 0;
}
.resume-dl dt {
  font-weight: 650;
}
.resume-dl dd {
  color: var(--muted);
}
.work-list {
  padding-left: 1.15em;
  line-height: 1.74;
}
.work-list li + li {
  margin-top: 4px;
}
.doc-head {
  padding: 50px 0 25px;
}
.doc-head h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  margin-top: 8px;
}
.deep-view main {
  padding-bottom: 65px;
}
.project-tabs {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 26px;
}
.project-tabs a {
  padding: 8px 3px;
  color: var(--muted);
  font-weight: 600;
}
.project-tabs [aria-current] {
  border-bottom: 2px solid var(--blue);
  color: var(--blue);
}
.project-summary,
.reading {
  max-width: 820px;
}
.reading .work-block,
.work-blocks .detail-item {
  padding: 20px 0;
  border-top: 1px solid var(--rule);
}
.work-block h3,
.company-title {
  font-size: 1.35rem;
}
.work-block small {
  color: var(--soft);
}
.work-block .work-list {
  margin-top: 9px;
}
.back-link {
  margin: 25px 0;
}
.project-summary {
  margin-bottom: 24px;
}
.project-summary .metric {
  width: fit-content;
  margin: 15px 0;
  padding-top: 9px;
}
.deep-view .gallery {
  max-width: 850px;
  border-radius: 10px;
}
.work-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 30px;
  margin-top: 22px;
}
.sample-section {
  margin: 24px 0;
}
.sample-section h2 {
  margin-bottom: 15px;
}
.repo-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0 18px;
}
.repo-tools p,
.source-caption {
  color: var(--muted);
  font-size: 0.93rem;
}
.repo-tools input {
  border: 1px solid #c9d0df;
  border-radius: 6px;
  padding: 9px 12px;
  background: #fff;
  font: inherit;
  font-size: 0.95rem;
  max-width: 100%;
}
.repo-list {
  padding: 0;
  list-style: none;
}
.repo-row {
  display: flex;
  gap: 15px;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid var(--rule);
  padding: 15px 0;
}
.repo-row h3 {
  font-size: 1.1rem;
  word-break: break-word;
}
.repo-row h3 a {
  font-size: inherit;
}
.repo-row p,
.repo-meta {
  font-size: 0.88rem;
  color: var(--muted);
}
.repo-meta {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-shrink: 0;
}
.repo-meta small {
  font-size: 0.82rem;
}
.readme-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 30px;
}
.readme-layout aside {
  align-self: start;
  position: sticky;
  top: 96px;
}
.readme-layout aside strong {
  display: block;
  margin-bottom: 8px;
}
.readme-layout aside a {
  display: block;
  line-height: 1.5;
  font-size: 0.88rem;
  padding: 5px 0;
  color: var(--muted);
}
.readme-layout aside a:hover {
  color: var(--blue);
}
.source-caption {
  border-bottom: 1px solid var(--rule);
  padding: 9px 0 12px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 0.83rem;
}
.markdown-body {
  font-size: 1rem;
  line-height: 1.72;
  overflow-wrap: anywhere;
}
.markdown-body h2,
.markdown-body h3 {
  margin: 1.6em 0 0.5em;
}
.markdown-body h2 {
  font-size: 1.55rem;
}
.markdown-body h3 {
  font-size: 1.16rem;
}
.markdown-body p,
.markdown-body ul,
.markdown-body ol,
.markdown-body table,
.markdown-body pre,
.markdown-body figure {
  margin: 0.85em 0;
}
.markdown-body img {
  max-width: 100%;
  height: auto;
}
.markdown-body a {
  color: var(--blue);
  text-decoration: underline;
}
.markdown-body table {
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
  max-width: 100%;
}
.markdown-body th,
.markdown-body td {
  border: 1px solid var(--rule);
  padding: 6px 10px;
  text-align: left;
  min-width: 72px;
}
.markdown-body pre,
#file-view pre {
  background: #192233;
  color: #e3ebf7;
  border-radius: 6px;
  overflow-x: auto;
}
.markdown-body details summary {
  padding-right: 32px;
}
.markdown-body code {
  font-size: 0.88em;
}
.doc-badge {
  display: inline-block;
  margin: 0 3px;
  padding: 2px 7px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  font-size: 0.78rem;
}
.doc-diagram {
  border: 1px solid var(--rule);
  padding: 12px;
  background: white;
}
.doc-diagram img {
  max-height: 660px;
  max-width: 100%;
  margin: auto;
}
.doc-diagram summary {
  font-size: 0.9rem;
}
.tree-intro {
  margin: 0 0 12px;
}
.quick-files {
  margin-bottom: 19px;
}
.explorer {
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
}
.explorer > .source-caption,
.explorer > #crumbs {
  padding: 10px 16px;
  background: #f1f3f7;
}
#crumbs {
  display: flex;
  gap: 4px 7px;
  flex-wrap: wrap;
  font: 0.89rem/1.6 var(--mono);
  overflow-wrap: anywhere;
}
#crumbs a {
  color: var(--blue);
}
#file-view {
  min-width: 0;
}
#file-view p {
  padding: 16px;
}
#file-view .back-link {
  margin: 15px;
}
.file-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 9px;
  align-items: center;
  padding: 8px 16px;
  border-top: 1px solid var(--rule);
  font-size: 0.9rem;
}
.file-row:hover {
  background: #f0f4fd;
}
.file-row strong {
  font-weight: 530;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.file-row span,
.file-row small {
  color: var(--muted);
  font-size: 0.81rem;
}
#file-view pre {
  border-radius: 0;
}
.pdf-status {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}
.pdf-status:empty {
  display: none;
}
@media screen and (max-width: 800px) {
  .resume-hero {
    grid-template-columns: 1fr;
  }
  .resume-index {
    padding: 14px 0;
  }
  .readme-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .readme-layout aside {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 3px 16px;
  }
  .readme-layout aside strong {
    width: 100%;
  }
  .deep-view .wrap {
    min-width: 0;
  }
  .deep-view .doc-head {
    padding-top: 30px;
  }
  .home-feature {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
@media screen and (max-width: 600px) {
  .resume-hero {
    gap: 26px;
  }
  .resume-index > a {
    padding: 9px 0;
  }
  .resume-dl > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .work-blocks {
    grid-template-columns: 1fr;
  }
  .repo-meta {
    flex-direction: column;
    gap: 0;
  }
  .repo-row {
    align-items: flex-start;
  }
  .file-row {
    grid-template-columns: 30px minmax(0, 1fr) auto;
    padding: 9px;
  }
  .readme-layout {
    gap: 10px;
  }
  .markdown-body,
  .project-summary,
  .work-list {
    font-size: 1rem;
  }
  .project-tabs {
    gap: 15px;
  }
  .resume-view nav a {
    font-size: 0.84rem;
    padding: 2px;
  }
  .quick-files {
    gap: 6px 12px;
  }
  .quick-files a {
    overflow-wrap: anywhere;
  }
  .deep-view .gallery {
    padding: 12px;
  }
  .job,
  [id] {
    scroll-margin-top: 0;
  }
}
@media print {
  .resume-hero {
    grid-template-columns: 1fr 0.63fr;
    gap: 15px;
  }
  .resume-hero .intro {
    margin-top: 6px;
    max-width: none;
  }
  .resume-hero .roman {
    margin-bottom: 4px;
  }
  .resume-index {
    padding: 8px 0;
  }
  .resume-index > a {
    padding: 5px 0;
  }
  .resume-index > a span {
    font-size: 7pt;
  }
  .resume-index small,
  .resume-index strong,
  .kicker {
    font-size: 8pt;
  }
  .index-links,
  .inline-links,
  .job-copy > .text-link,
  .contact-links,
  .back-link {
    display: none;
  }
  .home-feature {
    grid-template-columns: 1.3fr 1fr;
    gap: 8px;
  }
  .home-feature h3 {
    font-size: 15pt;
  }
  .home-feature > a {
    padding: 5px;
  }
  .metric-inline {
    margin: 3px 0;
  }
  .resume-dl > div {
    padding: 6px 0;
    grid-template-columns: 83px 1fr;
    font-size: 9pt;
  }
  .work-list li + li {
    margin: 0;
  }
  #skills {
    break-before: page;
  }
  .section-head {
    break-after: avoid;
  }
  .print-appendix {
    break-before: page;
  }
  .print-appendix h2 {
    font-size: 18pt;
    margin-bottom: 12px;
  }
  .print-appendix .company-title {
    margin: 14px 0 6px;
    font-size: 14pt;
    color: var(--blue);
    break-after: avoid;
  }
  .work-block {
    margin: 8px 0;
    break-inside: avoid;
  }
  .work-block h3,
  .work-blocks .detail-item h4 {
    font-size: 11pt;
  }
  .work-block .work-list {
    margin-top: 3px;
    font-size: 9pt;
  }
  .work-block small {
    font-size: 8pt;
  }
  .print-appendix .gallery {
    max-width: 100%;
  }
  .print-appendix .work-blocks {
    margin: 10px 0;
    gap: 8px 18px;
  }
  .work-blocks .detail-item {
    padding: 5px 0;
  }
  .sample-section {
    break-before: page;
  }
  .sample-section .sample {
    break-inside: avoid;
  }
  .print-appendix .repo-row {
    padding: 5px 0;
    break-inside: avoid;
  }
  .repo-row h3,
  .repo-row a {
    font-size: 10pt;
  }
  .repo-meta,
  .repo-meta small,
  .repo-row p {
    font-size: 8pt;
  }
  .project-summary {
    margin-bottom: 10px;
  }
}

@media print {
  .gallery-tabs,
  .pdf-status {
    display: none !important;
  }
}
