:root {
  --page: #f5f5f6;
  --paper: #fff;
  --ink: #1c2025;
  --muted: #767c85;
  --line: #e2e4e7;
  --blue: #536f9e;
  --blue-light: #e5ecf7;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: 'DM Sans','Noto Sans KR',sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1,h2,h3,p { margin-top: 0; }
::selection { background: #dce7f7; color: var(--ink); }
:focus-visible { outline: 3px solid #7296ca; outline-offset: 4px; }
.skip-link { position: absolute; top: -80px; left: 16px; z-index: 30; padding: 12px 16px; background: #fff; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.section-shell { width: min(1440px, calc(100% - 112px)); margin-inline: auto; }
.site-header { height: 82px; padding: 0 56px; display: flex; align-items: center; justify-content: space-between; background: rgba(245,245,246,.92); border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.wordmark { font-size: 18px; font-weight: 800; letter-spacing: -.055em; }
.wordmark-dot { color: #7294bf; }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a { color: #555c65; font-size: 13px; font-weight: 600; }
.site-nav a:hover { color: #1b4f91; }
.menu-toggle { display: none; }
.hero { min-height: 660px; padding-block: 90px 85px; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 46px; position: relative; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow,.section-kicker { color: #5f6d7f; font-size: 13px; font-weight: 700; letter-spacing: -.01em; }
.hero h1 { font-size: clamp(48px,5vw,76px); line-height: 1.25; letter-spacing: -.075em; font-weight: 800; margin: 24px 0 24px; word-break: keep-all; }
.hero h1 em,.closing h2 em { color: inherit; font: inherit; font-style: normal; }
.hero-lead { max-width: 580px; color: #67707b; font-size: 16px; line-height: 1.9; word-break: keep-all; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; gap: 52px; padding: 17px 21px; border-radius: 13px; font-size: 13px; font-weight: 700; }
.button-dark { background: #242a31; color: #fff; }
.button-dark:hover { background: #3c536e; }
.text-link { border-bottom: 1px solid #7e8895; padding-bottom: 5px; font-size: 13px; font-weight: 700; }
.text-link:hover { color: #3d638f; }
.hero-index { position: absolute; bottom: 32px; right: 0; font-size: 11px; color: #9da4ad; letter-spacing: .12em; }
.hero-art { height: 460px; position: relative; }
.hero-sample { position: absolute; border-radius: 30px; box-shadow: 0 18px 60px rgba(42,56,77,.08); display: flex; flex-direction: column; justify-content: space-between; padding: 34px; overflow: hidden; }
.hero-sample span { font-size: 12px; color: #66788d; font-weight: 700; }
.hero-sample strong { font-size: 28px; line-height: 1.42; letter-spacing: -.055em; }
.hero-sample-back { width: 72%; height: 74%; top: 0; right: 0; background: linear-gradient(145deg,#e0eaf9,#c9dbf1 65%,#eef3fb); transform: rotate(5deg); }
.hero-sample-back i { align-self: flex-end; color: #85a6d0; font: normal 92px/1 'DM Sans',sans-serif; }
.hero-sample-front { width: 78%; height: 76%; left: 0; bottom: 0; background: linear-gradient(160deg,#fdfdfe 15%,#eceef3 70%,#dfe7f3); transform: rotate(-6deg); }
.hero-sample-front:after { content: ''; width: 260px; height: 260px; border-radius: 50%; background: #d8e4f4; position: absolute; right: -60px; bottom: -125px; }
.hero-sample-front b { position: relative; z-index: 1; font-size: 10px; letter-spacing: .15em; color: #8a98aa; }
.intro-band { background: #eceef1; padding: 100px 0; }
.intro-grid { display: grid; grid-template-columns: 210px 1fr; gap: 60px; }
.intro-grid h2,.section-heading h2,.skills-section h2 { font-size: clamp(34px,3.5vw,52px); line-height: 1.38; letter-spacing: -.065em; font-weight: 800; word-break: keep-all; }
.intro-grid h2 { margin-bottom: 23px; }
.intro-grid p:not(.section-kicker) { max-width: 790px; color: #68717b; font-size: 15px; line-height: 2; word-break: keep-all; }
.intro-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 32px; }
.intro-tags span { background: #fff; border: 1px solid #e0e3e8; border-radius: 999px; padding: 10px 16px; color: #5c6775; font-size: 12px; font-weight: 600; }
.work-section { padding-block: 115px 130px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 30px; }
.section-heading h2 { margin: 10px 0 0; }
.section-heading>p { color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.work-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 22px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { border: 1px solid #dce0e5; background: #fff; color: #78818c; border-radius: 999px; padding: 10px 17px; font-size: 12px; font-weight: 700; }
.filter.is-active,.filter:hover { background: #262c34; border-color: #262c34; color: #fff; }
.carousel-controls { display: flex; align-items: center; gap: 8px; }
.carousel-controls>span { color: #8a929c; font-size: 12px; margin-right: 8px; }
.carousel-arrow { width: 38px; height: 38px; border: 1px solid #d8dce2; border-radius: 50%; background: #fff; color: #262c34; font-size: 17px; }
.carousel-arrow:hover { background: #e7edf6; }
.project-grid { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(310px,31vw,420px); gap: 18px; overflow-x: auto; padding: 0 0 18px; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; scrollbar-color: #bbc3ce transparent; scrollbar-width: thin; }
.project-card { min-width: 0; background: var(--paper); padding: 15px 15px 26px; border-radius: 37px; scroll-snap-align: start; display: flex; flex-direction: column; }
.project-card[hidden] { display: none; }
.project-visual { height: 315px; position: relative; border-radius: 29px; overflow: hidden; padding: 28px; display: flex; align-items: center; justify-content: center; isolation: isolate; }
.project-visual:after { content: ''; position: absolute; inset: 65% 0 0; background: linear-gradient(transparent,rgba(255,255,255,.52)); z-index: -1; }
.visual-number,.visual-caption { position: absolute; z-index: 2; color: #687586; font-size: 11px; font-weight: 700; letter-spacing: .03em; }
.visual-number { top: 23px; left: 26px; }
.visual-caption { bottom: 23px; right: 25px; }
.visual-graphic { font-weight: 800; letter-spacing: -.075em; line-height: 1.12; font-size: 55px; position: relative; text-align: center; color: #2c3f59; }
.visual-spark { position: absolute; right: -40px; top: -12px; font-size: 32px; font-style: normal; color: #8ba9cd; }
.visual-extreme { background: radial-gradient(circle at 75% 22%,#fff 0,#e5e9f1 42%,#d5dce8); }
.visual-extreme .visual-graphic { font: 800 90px/.82 Arial,sans-serif; transform: rotate(-7deg); color: #263b59; }
.visual-neighborhood { background: radial-gradient(circle at 30% 22%,#fff6ec,#f2e6d9 55%,#e9d6c6); }
.visual-neighborhood .visual-graphic { font-size: 52px; color: #765d52; }
.visual-zipup { background: radial-gradient(circle at 72% 16%,#f7fbff,#dce8f7 58%,#cad8ed); }
.visual-zipup .visual-graphic { font-size: 47px; color: #3b5c89; }
.visual-zipup i { font-style: normal; }
.visual-sejong { background: radial-gradient(circle at 35% 20%,#fbfcfa,#e3e9e6 60%,#d0dcd8); }
.visual-sejong .visual-graphic { color: #506a63; }
.visual-student { background: radial-gradient(circle at 68% 25%,#fff9f4,#f1e6dc 56%,#e8d7ca); }
.visual-student .visual-graphic { color: #846859; }
.visual-personal { background: radial-gradient(circle at 35% 25%,#fdfbff,#e9e5f2 60%,#ddd7e9); }
.visual-personal .visual-graphic { color: #746984; }
.visual-sellex { background: radial-gradient(circle at 60% 20%,#fff,#e9ebdf 60%,#dde3d1); }
.visual-sellex .visual-graphic { color: #65715a; font-size: 42px; }
.project-body { padding: 26px 18px 0; display: flex; flex-direction: column; flex: 1; }
.card-meta { display: flex; justify-content: space-between; gap: 10px; color: #9299a2; font-size: 11px; font-weight: 700; margin-bottom: 11px; }
.card-meta span:last-child { color: #577096; }
.project-body h3 { font-size: 22px; line-height: 1.45; letter-spacing: -.055em; font-weight: 800; word-break: keep-all; margin-bottom: 11px; }
.project-body>p { font-size: 12px; color: #6d7782; line-height: 1.85; word-break: keep-all; margin-bottom: 0; }
.project-body .card-note { font-size: 11px; color: #89929d; margin-top: 11px; }
.project-result { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 7px; border-top: 1px solid #eceef1; margin-top: 19px; padding-top: 15px; }
.project-result strong { font-size: 20px; color: #4e6e9c; }
.project-result span { font-size: 10px; color: #8d97a1; margin-right: 9px; }
.project-proof { display: block; margin-top: auto; padding-top: 19px; color: #516e94; font-size: 12px; font-weight: 700; }
.project-proof img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 15px; border: 1px solid #e8eaf0; }
.project-proof>span { display: flex; justify-content: space-between; margin-top: 10px; }
.project-proof:hover>span { text-decoration: underline; }
.experience-section { padding: 105px 0 115px; background: #e9edf3; }
.experience-section .section-heading { margin-bottom: 42px; }
.timeline article { display: grid; grid-template-columns: 210px 1fr 25px; gap: 28px; padding: 25px 0; border-top: 1px solid #cfd5de; }
.timeline article:last-child { border-bottom: 1px solid #cfd5de; }
.timeline-date { color: #8994a2; font-size: 12px; padding-top: 5px; }
.timeline h3 { font-size: 20px; letter-spacing: -.04em; margin-bottom: 8px; }
.timeline h3 span { color: #6d7a8a; font-size: 15px; font-weight: 500; margin-left: 9px; }
.timeline p { color: #6f7b88; font-size: 13px; line-height: 1.8; margin-bottom: 0; }
.timeline-arrow { color: #8d9baa; }
.skills-section { padding-block: 110px 120px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.skills-section h2 { margin: 14px 0 20px; }
.skills-lead { max-width: 450px; color: #76808c; font-size: 14px; line-height: 1.9; }
.skill-columns>div { border-top: 1px solid #d4d9e0; padding: 22px 0 26px; }
.skill-columns>div:last-child { border-bottom: 1px solid #d4d9e0; }
.skill-columns h3 { font-size: 18px; letter-spacing: -.025em; margin-bottom: 10px; }
.skill-columns p { color: #76818d; font-size: 13px; line-height: 1.8; margin-bottom: 0; }
.closing { background: #e8edf5; padding: 100px 0 70px; }
.closing-inner { position: relative; }
.closing h2 { font-size: clamp(39px,4.7vw,68px); line-height: 1.4; letter-spacing: -.07em; font-weight: 800; margin: 22px 0 42px; }
.closing-inner>p:last-of-type { color: #7c8896; font-size: 13px; }
.back-top { position: absolute; right: 0; bottom: 0; border-bottom: 1px solid currentColor; padding-bottom: 5px; font-size: 12px; }
.site-footer { padding: 24px 56px; display: flex; justify-content: space-between; gap: 16px; color: #929aa4; font-size: 11px; }
@media(max-width: 900px) {
  .section-shell { width: calc(100% - 56px); }
  .site-header { padding-inline: 28px; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 70px; gap: 30px; }
  .hero-art { height: 330px; max-width: 470px; width: 100%; justify-self: end; }
  .intro-grid { grid-template-columns: 1fr; gap: 20px; }
  .skills-section { grid-template-columns: 1fr; gap: 25px; }
  .project-grid { grid-auto-columns: minmax(310px,45vw); }
}
@media(max-width: 640px) {
  .site-header { height: 68px; padding-inline: 20px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 38px; height: 38px; border: 0; background: transparent; }
  .menu-toggle span { width: 22px; height: 2px; background: var(--ink); }
  .site-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; padding: 18px 20px 24px; background: var(--page); border-bottom: 1px solid var(--line); flex-direction: column; align-items: start; gap: 18px; }
  .site-nav.is-open { display: flex; }
  .section-shell { width: calc(100% - 40px); }
  .hero { padding: 65px 0 70px; }
  .hero h1 { font-size: clamp(40px,10vw,57px); }
  .hero-lead { font-size: 14px; }
  .hero-art { height: 255px; width: 95%; margin-top: 10px; }
  .hero-sample { border-radius: 22px; padding: 23px; }
  .hero-sample strong { font-size: 19px; }
  .hero-sample-back i { font-size: 53px; }
  .hero-index { bottom: 16px; }
  .intro-band,.experience-section,.closing { padding-block: 75px; }
  .work-section,.skills-section { padding-block: 83px; }
  .intro-grid h2,.section-heading h2,.skills-section h2 { font-size: 34px; }
  .intro-grid p:not(.section-kicker) { font-size: 14px; }
  .section-heading { display: block; }
  .section-heading>p { margin: 13px 0 0; }
  .work-toolbar { align-items: start; flex-direction: column; }
  .carousel-controls { align-self: flex-end; }
  .project-grid { grid-auto-columns: minmax(285px,86vw); gap: 12px; }
  .project-card { border-radius: 30px; padding: 12px 12px 22px; }
  .project-visual { height: 270px; border-radius: 23px; }
  .visual-extreme .visual-graphic { font-size: 78px; }
  .visual-neighborhood .visual-graphic,.visual-sejong .visual-graphic,.visual-student .visual-graphic,.visual-personal .visual-graphic { font-size: 46px; }
  .visual-zipup .visual-graphic { font-size: 38px; }
  .visual-sellex .visual-graphic { font-size: 35px; }
  .project-body { padding-inline: 13px; }
  .project-body h3 { font-size: 20px; }
  .timeline article { grid-template-columns: 1fr 20px; gap: 8px; }
  .timeline-date { grid-column: 1/-1; }
  .timeline h3 span { display: block; margin: 5px 0 0; }
  .closing h2 { font-size: 40px; }
  .back-top { position: static; display: inline-block; margin-top: 24px; }
  .site-footer { padding: 22px 20px; flex-direction: column; }
}
@media(prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.hero-photo-card { position: absolute; left: 2%; bottom: 0; z-index: 2; width: 65%; max-width: 302px; margin: 0; padding: 12px 12px 16px; background: #fff; border: 1px solid #e7eaf0; border-radius: 30px; box-shadow: 0 18px 60px rgba(42,56,77,.12); transform: rotate(-4deg); }
.hero-photo-card img { display: block; width: 100%; height: 318px; object-fit: cover; object-position: center top; border-radius: 21px; background: #f2f0f0; }
.hero-photo-card figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 15px 7px 0; }
.hero-photo-card figcaption strong { font-size: 16px; letter-spacing: -.04em; }
.hero-photo-card figcaption span { color: #8a96a5; font-size: 10px; white-space: nowrap; }
@media (max-width: 640px) {
  .hero-photo-card { width: 60%; max-width: 205px; padding: 8px 8px 11px; border-radius: 20px; }
  .hero-photo-card img { height: 187px; border-radius: 14px; }
  .hero-photo-card figcaption { padding: 8px 4px 0; align-items: start; flex-direction: column; gap: 1px; }
  .hero-photo-card figcaption strong { font-size: 12px; }
  .hero-photo-card figcaption span { font-size: 8px; }
  .hero-sample-back { right: 4%; }
  .hero-sample-back strong { font-size: 16px; }
}
