@font-face {
  font-family: Body;
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("/portfolio/assets/50b7e2e91f9f05e0.woff2") format("woff2");
}

@font-face {
  font-family: Body;
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url("/portfolio/assets/e57c1a2c18650c1a.woff2") format("woff2");
}

@font-face {
  font-family: Display;
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url("/portfolio/assets/c4f55b14a9ac8ba8.woff2") format("woff2");
}

/* ===========================================
   FIXED 16:9 STAGE: MANDATORY BASE STYLES
   Include this ENTIRE file in every presentation.
   Slides are authored at 1920×1080 and scaled as a whole.
   =========================================== */

/* 1. Lock the browser viewport */
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--stage-bg, #000);
}

/* 2. Full-window deck viewport */
.deck-viewport {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: var(--stage-bg, #000);
}

/* 3. Fixed 16:9 design canvas.
   JavaScript sets transform: translate(...) scale(...). */
.deck-stage {
  position: absolute;
  left: 0;
  top: 0;
  width: 1920px;
  height: 1080px;
  overflow: hidden;
  transform-origin: 0 0;
  background: var(--slide-bg, #fff);
}

/* 4. Slides stack inside the fixed stage.
   Content must be laid out at 1920×1080, not reflowed per device. */
.slide {
  position: absolute;
  inset: 0;
  width: 1920px;
  height: 1080px;
  overflow: hidden;
  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background: var(--slide-bg, #fff);
}

.slide.active,
.slide.visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

/* 5. Keep media inside authored slide bounds */
img,
video,
canvas,
svg {
  max-width: 100%;
  max-height: 100%;
}

/* 6. Presentation chrome stays outside the slide design system */
.deck-controls {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 1000;
}

/* 7. Print one fixed-size slide per page */
@media print {
  html,
  body {
    width: 1920px;
    height: auto;
    overflow: visible;
    background: #fff;
  }

  .deck-viewport {
    position: static;
    overflow: visible;
    background: #fff;
  }

  .deck-stage {
    position: static;
    width: auto;
    height: auto;
    transform: none !important;
    background: none;
  }

  .slide {
    position: relative;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    width: 1920px;
    height: 1080px;
    break-after: page;
    page-break-after: always;
  }

  .slide:last-child {
    break-after: auto;
    page-break-after: auto;
  }

  .deck-controls {
    display: none !important;
  }
}

/* 8. Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.2s !important;
  }
}
/* === Portfolio visual system === */
:root {
  --slide-bg: #fff;
  --stage-bg: #e8eae8;
  --ink: #233c33;
  --muted: #78817b;
  --rule: #c8cfca;
  --gold: #b5ac7d;
}
* {
  box-sizing: border-box;
}
body {
  font-family: Body, sans-serif;
  color: var(--ink);
}
h1,
h2,
h3,
p,
ul {
  margin: 0;
}
h1,
h2 {
  font-family: Display, Body, sans-serif;
  font-weight: 500;
  letter-spacing: -3px;
}
h2 {
  font-size: 90px;
  line-height: 1.25;
}
p {
  white-space: normal;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 8px;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #7c987f;
  outline-offset: 4px;
}
.slide {
  padding: 90px 112px 110px;
}
.slide-footer {
  position: absolute;
  bottom: 36px;
  left: 112px;
  right: 112px;
  display: flex;
  justify-content: space-between;
  color: #859089;
  font: 18px Body;
  letter-spacing: 2px;
}
.picture {
  display: block;
  position: relative;
  overflow: hidden;
}
.slide img {
  object-fit: contain;
}
.slide.active {
  animation: appear 0.22s ease-out;
}
@keyframes appear {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
/* === Cover === */
.cover-copy {
  position: absolute;
  left: 170px;
  top: 235px;
}
.cover h1 {
  font-size: 130px;
}
.cover-tags {
  font-size: 42px;
  line-height: 1.35;
  margin-top: 240px;
}
.portrait {
  position: absolute;
  left: 1200px;
  top: 195px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
}
.contact-row {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 110px;
  border-top: 1px solid var(--ink);
  padding: 66px 170px 0;
  display: flex;
  justify-content: space-between;
  font-size: 29px;
}
.cover .slide-footer {
  bottom: 32px;
}
/* === Introduction === */
.intro-copy {
  width: 865px;
}
.intro h2 {
  font-family: Body;
  font-weight: 700;
  font-size: 61px;
  letter-spacing: -1.8px;
  line-height: 1.42;
  margin-bottom: 65px;
}
.intro-copy p {
  font-size: 29px;
  line-height: 1.66;
  margin-bottom: 36px;
  word-break: keep-all;
}
.intro-links {
  position: absolute;
  top: 282px;
  left: 112px;
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 24px;
  color: #52695b;
}
.intro-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.intro-links .source-icon {
  width: 25px;
  height: 25px;
  flex: none;
}
.intro-images {
  position: absolute;
  left: 1070px;
  top: 80px;
  width: 760px;
  height: 850px;
}
.intro-web {
  position: absolute;
  left: 40px;
  top: 0;
  width: 630px;
  height: 445px;
  filter: drop-shadow(0 8px 15px #0002);
}
.intro-blog {
  position: absolute;
  left: 100px;
  top: 335px;
  width: 655px;
  height: 400px;
  transform: rotate(5deg);
  filter: drop-shadow(0 10px 20px #0003);
}
.intro-github {
  position: absolute;
  top: 735px;
  left: 0;
  width: 760px;
  height: 190px;
}
/* === Profile columns === */
.profile-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 95px;
  margin-top: 60px;
}
.profile-column h3 {
  font-size: 33px;
  font-weight: 700;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 22px;
  margin-bottom: 28px;
}
.entry {
  margin: 0 0 23px;
}
.entry p {
  font-size: 25px;
  line-height: 1.4;
  color: #626e67;
  word-break: keep-all;
}
.entry p::first-line {
  color: var(--ink);
  font-weight: 700;
}
.profile-columns .entry:last-child {
  margin-bottom: 0;
}
.career-layout {
  display: grid;
  grid-template-columns: 490px 1fr;
  gap: 100px;
  margin-top: 70px;
}
.career-company h3 {
  font-size: 52px;
  margin-bottom: 22px;
}
.career-role,
.career-period {
  font-size: 26px;
  line-height: 1.6;
  color: #626e67;
}
.career-period {
  margin-top: 8px;
}
.career-summary {
  margin-top: 48px;
  font-size: 30px;
  line-height: 1.65;
}
.career-project {
  border-top: 1px solid var(--rule);
  padding-top: 28px;
}
.career-project + .career-project {
  margin-top: 52px;
}
.career-project h3 {
  font-size: 34px;
  line-height: 1.4;
  margin-bottom: 15px;
}
.career-description {
  font-size: 26px;
  line-height: 1.5;
  color: #626e67;
}
.career-project ul {
  margin-top: 24px;
  padding-left: 28px;
  font-size: 27px;
  line-height: 1.7;
  word-break: keep-all;
}
.project-category {
  position: absolute;
  top: 30px;
  left: 100px;
  font-size: 20px;
  color: #626e67;
}
/* === Lifebase === */
.lifebase blockquote {
  margin: 44px 0 36px;
}
.lifebase-graph {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.lifebase-graph a {
  display: block;
  cursor: zoom-in;
}
.lifebase-graph img {
  width: 100%;
  height: 800px;
  object-fit: contain;
}
.lifebase-overview .project-copy {
  width: 760px;
}
.lifebase-overview .lifebase-graph {
  left: 870px;
  top: 45px;
  width: 1010px;
  height: 950px;
}
.lifebase-overview .lifebase-graph img {
  height: 900px;
}
.lifebase-overview .visual-caption {
  margin-top: 16px;
}
.lifebase-diagram img {
  width: 100%;
  object-fit: contain;
}
.lifebase-diagram {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.lifebase-harness .project-copy {
  width: 690px;
}
.lifebase-harness .project-visual {
  left: 890px;
  width: 940px;
}
.lifebase-harness .project-visual img {
  width: 100%;
  height: 900px;
  object-fit: contain;
}
.lifebase-system .project-copy {
  width: 680px;
}
.lifebase-system .project-visual {
  left: 860px;
  top: 200px;
  width: 1000px;
  height: 720px;
}
.lifebase-system .project-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.lifebase-system.project blockquote {
  margin: 36px 0 24px;
  font-size: 30px;
}
.lifebase-product-screens {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 30px;
}
.lifebase-product-screens figure {
  margin: 0;
}
.lifebase-product-screens a {
  display: block;
  cursor: zoom-in;
}
.lifebase-product-screens img {
  display: block;
  width: 100%;
  height: 185px;
  object-fit: contain;
}
.lifebase-product-screens figcaption {
  margin-top: 12px;
  font-size: 21px;
  color: var(--muted);
  text-align: center;
}
.lifebase-system .project-bullets {
  font-size: 25px;
}
.work-project .project-copy h2 {
  font-size: 68px;
  margin-bottom: 32px;
}
.project-full-name {
  display: block;
  font-size: 42px;
  line-height: 1.5;
  margin-top: 8px;
}
.work-project blockquote {
  margin: 44px 0 35px;
}
.work-project .project-focus {
  margin-top: 38px;
  font-size: 38px;
  line-height: 1.3;
}
.work-evidence {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 52px;
}
.ews-project .project-copy {
  width: 860px;
}
.ews-project .project-full-name {
  display: inline;
  margin-top: 0;
}
.ews-project .project-visual {
  left: 1030px;
  width: 790px;
}
.ews-project .work-diagram a {
  display: block;
  cursor: zoom-in;
}
.ews-project .work-diagram img {
  height: 550px;
}
.ews-project .work-evidence {
  gap: 34px;
}
.work-diagram {
  margin: 0;
}
.work-diagram img {
  display: block;
  width: 100%;
  height: 425px;
  object-fit: contain;
}
.work-diagram figcaption {
  margin-top: 12px;
  color: #65756c;
  text-align: center;
  font-size: 22px;
}
.work-result {
  border-top: 1px solid var(--rule);
  padding-top: 28px;
}
.work-result h3 {
  font-size: 30px;
  margin-bottom: 20px;
}
.result-value {
  font-size: 60px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}
.result-value span {
  font-size: 30px;
  font-weight: 400;
  color: #65756c;
  margin: 0 8px;
}
.result-finding {
  font-size: 32px;
  font-weight: 400;
}
.result-finding strong {
  font-weight: 700;
}
.result-detail {
  font-size: 27px;
  margin-top: 10px;
}
.result-note {
  font-size: 22px;
  color: #65756c;
  line-height: 1.5;
  margin-top: 18px;
}
.visual-caption {
  margin-top: 22px;
  font-size: 23px;
  line-height: 1.5;
  text-align: center;
  color: #626e67;
}
/* === Section dividers === */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.divider h2 {
  font-size: 132px;
  letter-spacing: -4px;
}
.divider-heading {
  text-align: center;
}
.project-sections {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
  font-size: 27px;
  color: #a1aaa4;
}
.project-sections .active {
  color: var(--ink);
  font-weight: 700;
}
.divider-rule {
  position: absolute;
  left: 50%;
  width: 1px;
  height: 345px;
  background: var(--ink);
}
.divider-rule.top {
  top: 0;
}
.divider-rule.bottom {
  bottom: 0;
}
.closing .divider-rule.top {
  height: 365px;
}
.closing h2 {
  font-family: Body;
  font-weight: 700;
  font-size: 120px;
}
/* === Project evidence === */
.project {
  padding: 80px 100px 105px;
}
.project-copy {
  width: 800px;
}
.project h2 {
  font-size: 94px;
  line-height: 1.3;
}
.project-links {
  display: flex;
  gap: 26px;
  font-size: 22px;
  margin: 14px 0 25px;
  color: #52695b;
}
.project-subtitle {
  font-size: 31px;
  line-height: 1.5;
  color: #65756c;
  word-break: keep-all;
}
.project-date {
  font-size: 26px;
  color: #8a938b;
  margin-top: 15px;
  line-height: 1.45;
}
.project blockquote {
  margin: 62px 0 45px;
  padding: 0 0 0 27px;
  border-left: 5px solid var(--ink);
  font-size: 33px;
  line-height: 1.52;
  word-break: keep-all;
}
.project-bullets {
  padding-left: 26px;
  font-size: 27px;
  line-height: 1.65;
  word-break: keep-all;
}
.project-bullets li {
  padding-left: 4px;
  margin-bottom: 9px;
}
.project-visual {
  position: absolute;
  left: 980px;
  top: 80px;
  width: 850px;
  height: 900px;
}
.mail-ui {
  position: absolute;
  top: 0;
  left: -25px;
  width: 895px;
  height: 550px;
}
.mail-diagram {
  position: absolute;
  top: 515px;
  left: 40px;
  width: 800px;
  height: 360px;
}
/* 직접 만들어 쓰는 도구: 원본 비율에 맞춰 비교 화면과 모바일 화면을 배치한다. */
.tool-project .project-copy {
  width: 780px;
}


.tool-project .project-bullets {
  font-size: 25px;
}

.tool-project blockquote {
  margin: 48px 0 34px;
}

.tool-project .project-visual {
  left: 900px;
  top: 210px;
  width: 970px;
  height: 730px;
}

/* 이미지 파일은 보존하고, 중복 제목과 바깥 여백만 프레임 밖으로 뺀다. */
.tool-planner .project-visual > a,
.tool-zotero .project-visual > a {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.tool-planner .project-visual img,
.tool-zotero .project-visual img {
  position: absolute;
  max-width: none;
  max-height: none;
  height: auto;
}

.tool-planner h2 {
  width: 1450px;
  white-space: nowrap;
}

.tool-planner .project-visual {
  top: 280px;
  height: 647px;
}

.tool-planner .project-visual img {
  width: 104%;
  left: -2%;
  top: -71px;
}

.tool-zotero h2 {
  width: 1720px;
  font-size: 104px;
  white-space: nowrap;
}

.tool-zotero .project-visual {
  top: 320px;
  height: 545px;
}

.tool-zotero .project-visual img {
  width: 107.5%;
  left: -3.7%;
  top: -82px;
}

.tool-fitness .project-visual {
  left: 900px;
  top: 80px;
  width: 970px;
  height: 875px;
}

.tool-phones {
  display: flex;
  gap: 72px;
  align-items: stretch;
  justify-content: center;
  height: 100%;
}

.tool-phones a {
  display: block;
  height: 100%;
}

.tool-phones img {
  display: block;
  width: auto;
  height: 100%;
  border-radius: 16px;
}

.tool-planner .award {
  top: -280px;
  right: 50px;
}

.undoc-ui {
  position: absolute;
  left: -120px;
  top: 140px;
  width: 1060px;
  height: 735px;
  max-width: none;
}
.award {
  position: absolute;
  right: 15px;
  top: -80px;
  background: var(--gold);
  color: white;
  padding: 26px 18px 24px;
  font-size: 24px;
  text-align: center;
  line-height: 1.4;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 91%, 0 100%);
}
.award small {
  font-size: 20px;
}

.project-7 blockquote {
  margin-top: 55px;
  margin-bottom: 45px;
}
.project-7 .project-bullets {
  font-size: 26px;
  line-height: 1.55;
}
.project-7 .project-bullets li:nth-last-child(-n + 2) {
  font-size: 24px;
  list-style: circle;
  margin-left: 20px;
  color: #67766c;
}
.phones {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 900px;
  padding-top: 90px;
}
.phones > .picture {
  width: 390px;
  height: 760px;
}
.box-scene {
  position: absolute;
  left: -980px;
  top: -80px;
  width: 1920px;
  height: 1080px;
  max-width: none;
  max-height: none;
  pointer-events: none;
}
.project-9 .project-subtitle {
  margin-top: 38px;
}
/* === More === */
.more-copy {
  width: 890px;
  padding-top: 90px;
}
.more-copy h2 {
  font-family: Body;
  font-weight: 700;
  font-size: 72px;
  line-height: 1.5;
  letter-spacing: -2px;
}
.more-copy p {
  font-size: 31px;
  line-height: 1.65;
  margin-top: 45px;
  word-break: keep-all;
}
.more-copy > a {
  display: inline-block;
  font-size: 36px;
  margin-top: 40px;
  border-bottom: 1px solid var(--ink);
}
.more-images {
  position: absolute;
  left: 1055px;
  top: 110px;
  display: flex;
  gap: 20px;
  height: 820px;
  width: 785px;
}
.more-images > .picture {
  width: 380px;
  height: 810px;
  object-fit: contain;
  filter: drop-shadow(0 10px 15px #0002);
}
/* === Controls and editing === */
.deck-controls {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #f9faf9ed;
  border: 1px solid #c8cfca;
  border-radius: 12px;
  padding: 5px 9px;
  bottom: 10px;
  box-shadow: 0 3px 18px #0001;
  color: var(--ink);
  font: 13px Body;
  white-space: nowrap;
}
.deck-controls button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 7px;
  font: inherit;
}
.deck-controls button:hover {
  background: #e3e9e4;
}
.deck-controls button:disabled {
  opacity: 0.3;
  cursor: default;
}
#counter {
  min-width: 50px;
  text-align: center;
}
#download {
  display: none;
}
body.editing #download {
  display: block;
}
body.editing #editToggle {
  background: var(--ink);
  color: white;
}
[contenteditable="true"] {
  outline: 2px dashed #789982;
  outline-offset: 6px;
  cursor: text;
}
dialog {
  border: 1px solid #cbd3cd;
  border-radius: 14px;
  padding: 28px;
  width: min(560px, 90vw);
  max-height: 85vh;
  color: var(--ink);
  font-family: Body;
}
dialog::backdrop {
  background: #15231bb3;
}
dialog h2 {
  font-size: 32px;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
#outlineList {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
#outlineList,
#outlineList ol {
  list-style: none;
  padding: 0;
}
#outlineList ol {
  margin: 8px 0 12px 14px;
  border-left: 1px solid #cbd3cd;
  padding-left: 14px;
}
#outlineList button {
  display: flex;
  gap: 12px;
  width: 100%;
  margin-bottom: 4px;
  padding: 9px 10px;
}
.outline-page-number {
  color: #75867b;
  font-variant-numeric: tabular-nums;
}
.outline-group-label {
  font-size: 14px;
  font-weight: 700;
  margin: 15px 0 8px;
}
dialog button {
  font: 16px Body;
  color: inherit;
  background: #f0f3f0;
  border: 0;
  border-radius: 7px;
  padding: 12px;
  text-align: left;
  cursor: pointer;
}
#closeOutline {
  margin-top: 15px;
}
#notice {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  background: #233c33;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font: 15px Body;
  opacity: 0;
  pointer-events: none;
}
#notice.show {
  opacity: 1;
}
@media (max-width: 550px) {
  .deck-controls {
    font-size: 11px;
    gap: 0;
    padding: 4px;
  }
  .deck-controls button {
    padding: 7px;
  }
  #fullscreen {
    display: none;
  }
}
/* === Searchable browser print output === */
@page {
  size: 20in 11.25in;
  margin: 0;
}
@media print {
  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .slide {
    animation: none !important;
  }
  .slide-footer {
    bottom: 36px;
  }
  .deck-controls,
  dialog,
  #notice {
    display: none !important;
  }
  [contenteditable] {
    outline: none !important;
  }
}

/* === Original PPT contact and project icons === */
.contact-row {
  top: 862px;
  bottom: auto;
  height: 155px;
  padding: 0;
  display: block;
  border-top: 1px solid #233c33;
}
.contact-item {
  position: absolute;
  top: 96px;
  display: flex;
  align-items: center;
  gap: 18px;
  height: 46px;
  font-size: 30px;
  white-space: nowrap;
}
.contact-item.email {
  left: 186px;
}
.contact-item.website {
  left: 904px;
}
.contact-item.github {
  left: 1449px;
}
.source-icon {
  display: block;
  flex: none;
  object-fit: contain;
}
.phone .source-icon {
  width: 20px;
  height: 34px;
}
.email .source-icon {
  width: 30px;
  height: 22px;
}
.website .source-icon {
  width: 43px;
  height: 43px;
}
.github .source-icon {
  width: 41px;
  height: 41px;
}
.contact-item.website span,
.contact-item.github span {
  color: #0000ee;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.project-links {
  gap: 28px;
  height: 30px;
  align-items: center;
}
.project-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  text-decoration: none;
}
.project-links a:hover span,
.project-links a:focus-visible span {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.project-links .source-icon {
  width: 25px;
  height: 25px;
}
.portrait {
  border: 1px solid #d9d9d9;
}

/* Fullscreen controls overlay the slide and appear near the bottom edge. */
:fullscreen .deck-controls {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease;
}
:fullscreen body.controls-revealed .deck-controls,
:fullscreen .deck-controls:has(:focus-visible) {
  opacity: 1;
  pointer-events: auto;
}
@media (prefers-reduced-motion: reduce) {
  :fullscreen .deck-controls {
    transition: none;
  }
}

@media print {
  .slide.divider {
    display: flex !important;
  }
}
