/* =========================================================
   Kyungsil Park — Portfolio 2026
   Units: 1rem = 1/100 of the 16:9 "slide" width
   (16px on a 1600×900 viewport), so every section keeps
   the proportions of the original PDF on any desktop size.
   ========================================================= */
:root {
  --navy: #1c2333;
  --deep: #151a26;
  --panel: #232b3c;
  --panel-2: #283245;
  --orange: #ff6b35;
  --teal: #1ecfa3;
  --blue: #2f8cff;
  --ink: #1c2333;
  --text: #4b5567;
  --muted: #8a94a6;
  --line: #e6e9ef;
  --light: #f5f7fa;
  --white: #fff;
  --edge: calc((100vw - 100rem) / 2);   /* gutter when the viewport is wider than 16:9 */
  --header-h: 3.9rem;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

html { font-size: min(1vw, 1.7778vh); }
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  font-family: "Noto Sans KR", "Montserrat", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.c-orange { color: var(--orange); }
.c-teal { color: var(--teal); }
.c-ink { color: var(--ink); }
.c-blue { color: var(--blue); }

.page-width { width: 90.6rem; max-width: calc(100% - 4rem); margin: 0 auto; position: relative; z-index: 1; }
.page-width.narrow { width: 80rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  padding: 0 calc(var(--edge) + 4.7rem);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(21, 26, 38, .55);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: background .4s ease, transform .5s var(--ease);
}
.site-header.is-solid { background: rgba(21, 26, 38, .92); }
.brand { display: inline-flex; align-items: center; gap: .8rem; }
.brand-mark {
  width: 2.3rem; height: 2.3rem; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35);
  display: grid; place-items: center;
  font: 800 1.1rem/1 "Montserrat", sans-serif;
}
.brand-mark i { color: var(--orange); font-style: normal; }
.brand-name { font: 700 .66rem/1.2 "Montserrat", sans-serif; letter-spacing: .16em; }
.brand-name small { display: block; margin-top: .15rem; color: var(--muted); font-size: .52rem; letter-spacing: .2em; }
.top-nav { display: flex; align-items: center; gap: 2.2rem; font: 600 .72rem/1 "Montserrat", sans-serif; letter-spacing: .06em; color: #c3cad6; }
.top-nav a { position: relative; padding: .4rem 0; transition: color .25s; }
.top-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.top-nav a:hover, .top-nav a.is-active { color: var(--white); }
.top-nav a.is-active::after { transform: scaleX(1); }
.top-nav .nav-contact { padding: .7rem 1.1rem; border: 1px solid rgba(255, 255, 255, .3); border-radius: 2rem; color: var(--white); }
.top-nav .nav-contact::after { display: none; }
.top-nav .nav-contact i { margin-left: .4rem; color: var(--orange); }
.top-nav .nav-contact:hover { background: var(--orange); border-color: var(--orange); }
.top-nav .nav-contact:hover i { color: var(--white); }
.menu-toggle { display: none; border: 0; background: none; padding: 8px; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 5px 0; background: var(--white); transition: transform .3s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- fullPage dots ---------- */
#fp-nav { z-index: 40; }
#fp-nav.right { right: calc(var(--edge) + 1rem); }
#fp-nav ul li { width: 1rem; height: 1rem; margin: .3rem; }
#fp-nav ul li a span { background: rgba(160, 172, 190, .55); width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; transition: all .3s; }
#fp-nav ul li a.active span, #fp-nav ul li:hover a span { width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; background: var(--orange); }
#fp-nav ul li .fp-tooltip { font: 600 .66rem/1 "Montserrat", "Noto Sans KR", sans-serif; letter-spacing: .08em; color: #d4dae4; top: .1rem; }
body.is-light-dots #fp-nav ul li a span { background: rgba(28, 35, 51, .3); }
body.is-light-dots #fp-nav ul li a.active span { background: var(--orange); }
body.is-light-dots #fp-nav ul li .fp-tooltip { color: var(--ink); }

/* ---------- Section base ---------- */
.section { position: relative; overflow: hidden; background: var(--navy); }
.s-deep { background: var(--deep); }
.section > .page-width,
.section > .cover-body { height: 100%; }
.s-dark > .page-width,
.s-deep > .page-width,
.s-projects > .page-width {
  display: flex; flex-direction: column; justify-content: safe center;
  padding: calc(var(--header-h) + 1rem) 0 1.6rem;
}

.eyebrow { font: 700 1.2rem/1 "Montserrat", sans-serif; letter-spacing: .17em; color: var(--orange); margin-bottom: 1.1rem; }
.eyebrow-teal { color: var(--teal); }
.page-head { margin-bottom: 1.2rem; padding-bottom: 1.1rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.page-title { font-size: 3.3rem; font-weight: 900; line-height: 1.15; letter-spacing: -.03em; }
.page-title small { margin-left: 1.4rem; font-size: 2rem; font-weight: 300; color: #a3acbb; letter-spacing: 0; }
.bar { display: block; height: .375rem; width: 6.25rem; border-radius: 1px; }
.bar-orange { background: var(--orange); }
.bar-teal { background: var(--teal); }
.col-label { display: flex; align-items: baseline; gap: 1rem; padding-left: 1.1rem; border-left: .25rem solid var(--teal); font-size: 1.55rem; font-weight: 700; line-height: 1.3; margin-bottom: 1.5rem; }
.col-label small { font-size: 1.15rem; font-weight: 400; color: #a3acbb; }
.col-teal { border-color: var(--teal); }
.col-orange { border-color: var(--orange); }
.mini-label { font-size: 1.35rem; font-weight: 400; color: #b3bbc8; letter-spacing: .02em; margin-bottom: 1.2rem; }
.mini-label span { color: #7e889a; }
.mini-cap { font-size: 1.15rem; color: #b3bbc8; margin-bottom: .7rem; }

/* decorative orbs */
.orb { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; animation: orbFloat 14s ease-in-out infinite alternate; }
.orb-tr { width: 47.5rem; height: 47.5rem; right: -23.75rem; top: -16rem; background: #2a2a35; opacity: .85; }
.orb-bl { width: 40rem; height: 40rem; left: -9rem; bottom: -29rem; background: #1b3540; opacity: .9; animation-delay: -6s; }
.orb-tl { width: 46rem; height: 46rem; left: -11rem; top: -11rem; background: #1a2f3c; }
.orb-br { width: 46rem; height: 46rem; right: -11rem; bottom: -24rem; background: #252632; animation-delay: -5s; }
.s-deep .orb-tr { background: #1c2230; opacity: 1; }
.s-career .orb-tr { background: #1c3340; opacity: .55; }
.s-skills .orb-tr { width: 23.5rem; height: 23.5rem; right: 1.6rem; top: 1.6rem; background: #1c3a40; opacity: .55; }
.s-skills .orb-bl { width: 23.5rem; height: 23.5rem; left: 1.6rem; bottom: 1.6rem; background: #3a2830; opacity: .45; }
@keyframes orbFloat {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-1.5rem, 1.2rem, 0) scale(1.04); }
}

/* =========================================================
   Motion — elements with .reveal animate in when their
   section becomes active (fullPage.js) or scrolls into view.
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translate3d(0, 2.4rem, 0);
  transition: opacity .8s ease, transform 1s var(--ease), clip-path 1.1s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.reveal[data-motion="left"] { transform: translate3d(-3.5rem, 0, 0); }
.reveal[data-motion="right"] { transform: translate3d(3.5rem, 0, 0); }
.reveal[data-motion="down"] { transform: translate3d(0, -2.4rem, 0); }
.reveal[data-motion="zoom"] { transform: scale(.9); }
.reveal[data-motion="fade"] { transform: scale(1.06); transition-duration: 1.6s, 2.4s; }
.reveal[data-motion="mask"] { transform: translate3d(0, 1.4rem, 0); clip-path: inset(0 0 100% 0); }
.reveal[data-motion="line"] { opacity: 1; transform: scaleX(0); transform-origin: left center; }

.section.active .reveal,
.section.in-view .reveal { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
.section:not(.active):not(.in-view) .reveal { transition-delay: 0s; transition-duration: .35s; }

/* =========================================================
   01. Cover
   ========================================================= */
.s-cover { background: var(--navy); }
.s-cover .orb-tr { width: 47.5rem; height: 47.5rem; right: -23rem; top: -15.9rem; background: #2c2a34; }
.s-cover .orb-bl { width: 40rem; height: 40rem; left: -9.4rem; bottom: -33rem; background: #1d3440; }
.cover-body { display: flex; flex-direction: column; justify-content: center; padding-bottom: 9.4rem; padding-top: var(--header-h); }
.cover-body .eyebrow { margin-bottom: 1.7rem; }
.cover-name { font-size: 8.4rem; font-weight: 900; line-height: 1.2; letter-spacing: -.02em; }
.cover-roman { margin: 1.2rem 0 1.7rem; font: 400 2.2rem/1 "Montserrat", sans-serif; letter-spacing: .03em; color: #98a3b6; }
.cover-role { margin: 2.6rem 0 2rem; font-size: 2.75rem; font-weight: 700; line-height: 1.2; }
.cover-role em { font-style: normal; font-weight: 300; color: var(--teal); }
.cover-copy { font-size: 1.5rem; font-weight: 300; line-height: 1.85; color: #cdd3dd; }
.domain-bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  height: 9.4rem; padding: 0 calc(var(--edge) + 6.25rem);
  display: grid; grid-template-columns: repeat(4, 1fr); align-items: center;
  background: #161b27;
}
.domain-bar li { display: flex; align-items: center; gap: 1.2rem; height: 3.9rem; font-size: 1.55rem; font-weight: 700; }
.domain-bar li + li { padding-left: 5.8rem; border-left: 1px solid rgba(255, 255, 255, .14); }
.domain-bar i { font-size: 2.6rem; color: var(--teal); width: 3.3rem; text-align: center; }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 10.6rem; width: 1.5rem; height: 2.4rem; margin-left: -.75rem; border: 2px solid rgba(255, 255, 255, .35); border-radius: 1rem; }
.scroll-cue span { position: absolute; left: 50%; top: .45rem; width: 3px; height: .5rem; margin-left: -1.5px; border-radius: 2px; background: var(--orange); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(.9rem); } }

/* =========================================================
   Split layout (Profile, Case studies)
   ========================================================= */
.split { display: grid; grid-template-columns: calc(var(--edge) + 37.5rem) 1fr; height: 100%; }
.split-side { position: relative; overflow: hidden; background: var(--navy); }
.split-side::before, .split-side::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; animation: orbFloat 16s ease-in-out infinite alternate; }
.side-inner { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: safe center; padding: calc(var(--header-h) + 1rem) 3.9rem 2.2rem calc(var(--edge) + 3.9rem); }
.split-main { position: relative; overflow: hidden; background: var(--white); color: var(--ink); display: flex; flex-direction: column; justify-content: safe center; padding: calc(var(--header-h) + 1rem) calc(var(--edge) + 3.9rem) 1.8rem 4.6rem; }
.s-profile .split { grid-template-columns: calc(var(--edge) + 34.4rem) 1fr; }
.s-profile .split-main { background: var(--light); padding-left: 4.6rem; padding-right: calc(var(--edge) + 3.1rem); }

.side-title { font-size: 4rem; font-weight: 900; line-height: 1.12; letter-spacing: -.02em; }
.side-rule { width: 100%; margin: 1.6rem 0; border: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.side-sub { margin: 2.4rem 0 1.4rem; font: 700 1.6rem/1 "Montserrat", sans-serif; letter-spacing: .01em; }
.side-copy p { font-size: 1.1rem; font-weight: 300; line-height: 2; color: #c2c9d4; }
.side-copy p + p { margin-top: 1.3rem; }

/* side decorative circles */
.s-case .split-side::before { width: 23.5rem; height: 23.5rem; right: -12.4rem; top: -4.4rem; background: #193a3e; }
.s-case .split-side::after { width: 23.5rem; height: 23.5rem; left: -9rem; bottom: -14rem; background: #2a2a35; opacity: .8; }
.s-case .split-main::before { content: ""; position: absolute; width: 23.5rem; height: 23.5rem; left: -12.4rem; top: -4.4rem; border-radius: 50%; background: #e6f8f4; animation: orbFloat 16s ease-in-out infinite alternate; }
.side-orange::before { background: #3b2a2b !important; }
.side-orange::after { background: #1b3540 !important; }
.s-case:has(.side-orange) .split-main::before { background: #fdeee8; }

/* Profile */
.s-profile .split-side .eyebrow { margin-bottom: 1rem; }
.profile-name { font-size: 1.6rem; font-weight: 700; }
.profile-name span { font-weight: 400; }
.profile-loc { font-size: 1.05rem; color: #a3acbb; }
.profile-total { margin-top: 1.9rem; font-size: 1.3rem; font-weight: 300; color: #b9c1cd; }
.profile-years { margin: .4rem 0 1.4rem; color: var(--teal); }
.profile-years strong { font: 800 3.1rem/1 "Montserrat", sans-serif; }
.profile-years small { margin: 0 .5rem 0 .2rem; font-size: 1.35rem; color: var(--white); font-weight: 400; }
.pills { display: flex; gap: .7rem; flex-wrap: wrap; }
.pill { padding: .5rem 1.25rem; border: 1px solid; border-radius: 2rem; font: 600 .95rem/1.2 "Montserrat", sans-serif; letter-spacing: .03em; }
.pill-orange { color: var(--orange); border-color: var(--orange); background: rgba(255, 107, 53, .14); }
.pill-teal { color: var(--teal); border-color: var(--teal); background: rgba(30, 207, 163, .1); }
.pill-white { color: var(--white); border-color: rgba(255, 255, 255, .7); }
.profile-contact { margin-top: 5.4rem; padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .12); display: grid; gap: .9rem; font: 400 1.15rem/1.4 "Montserrat", sans-serif; color: #d6dbe3; }
.profile-contact i { width: 1.6rem; margin-right: 1rem; color: #b9c1cd; }
.profile-contact a:hover { color: var(--teal); }

.u-heading { display: inline-block; align-self: flex-start; margin-bottom: 1.6rem; padding-bottom: .2rem; font-size: 1.85rem; font-weight: 700; color: var(--ink); border-bottom: .2rem solid; }
.u-orange { border-color: var(--orange); }
.u-teal { border-color: var(--teal); margin-top: 2.6rem; margin-bottom: 1.2rem; }
.comp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.comp-card { padding: 1.4rem 1.4rem 1.2rem; background: var(--white); border-radius: .5rem; box-shadow: 0 .4rem 1.6rem rgba(28, 35, 51, .05); transition: transform .35s var(--ease), box-shadow .35s; }
.comp-card:hover { transform: translateY(-.4rem); box-shadow: 0 1rem 2.4rem rgba(28, 35, 51, .1); }
.comp-card i { font-size: 2.4rem; margin-bottom: 1.3rem; }
.comp-card h4 { font-size: 1.45rem; font-weight: 700; margin-bottom: .6rem; }
.comp-card p { font-size: .98rem; line-height: 1.7; letter-spacing: -.02em; color: var(--text); }
.highlights { background: var(--white); border-radius: .5rem; padding: .5rem 1.6rem; box-shadow: 0 .4rem 1.6rem rgba(28, 35, 51, .05); }
.highlights li { position: relative; display: grid; grid-template-columns: 14rem 1fr; padding: .95rem 0 .95rem 1.6rem; }
.highlights li + li { border-top: 1px solid var(--line); }
.highlights li::before { content: ""; position: absolute; left: 0; top: .95rem; bottom: .95rem; width: .3rem; }
.hl-orange::before { background: var(--orange); }
.hl-ink::before { background: var(--ink); }
.hl-teal::before { background: var(--teal); }
.hl-date { font: 500 1.05rem/1.6 "Montserrat", "Noto Sans KR", sans-serif; color: #6b7587; }
.highlights strong { font-size: 1.4rem; font-weight: 700; }
.highlights em { font-style: normal; font-size: 1.3rem; color: #4b5567; }
.highlights p { margin-top: .4rem; font-size: 1.1rem; color: var(--text); }

/* =========================================================
   03. Career
   ========================================================= */
.s-career .page-head { border-bottom-color: rgba(255, 255, 255, .1); }
.career-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.career-col .col-label { font: 700 1.4rem/1.3 "Montserrat", sans-serif; margin-bottom: .8rem; }
.timeline { position: relative; display: grid; gap: .55rem; padding-left: 3.9rem; }
.timeline::before { content: ""; position: absolute; left: 1rem; top: .8rem; bottom: .2rem; width: 2px; background: rgba(255, 255, 255, .14); transform: scaleY(0); transform-origin: top; transition: transform 1.4s var(--ease) .3s; }
.section.active .timeline::before, .section.in-view .timeline::before { transform: scaleY(1); }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -3.45rem; top: .85rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 .3rem var(--navy); }
.timeline li.is-current::before { background: var(--teal); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 .3rem var(--navy), 0 0 0 .3rem rgba(30, 207, 163, .55); } 100% { box-shadow: 0 0 0 .3rem var(--navy), 0 0 0 1.3rem rgba(30, 207, 163, 0); } }
.tl-card { position: relative; padding: .7rem 1.6rem; background: var(--panel); border-radius: .4rem; transition: background .3s, transform .3s var(--ease); }
.tl-card:hover { background: var(--panel-2); transform: translateX(.4rem); }
.is-current .tl-card { background: #2a3346; }
.tl-head { display: flex; align-items: baseline; gap: 1rem; }
.tl-head strong { font-size: 1.35rem; font-weight: 700; }
.tl-head span { font-size: 1.05rem; color: #a3acbb; }
.tl-card time { position: absolute; right: 1.6rem; top: .8rem; font: 600 1rem/1.4 "Montserrat", "Noto Sans KR", sans-serif; color: #9aa4b4; }
.tl-role { margin-top: .15rem; font-size: 1.05rem; color: #b9c1cd; }
.timeline-past { gap: 1.15rem; }
.timeline-past .tl-card { padding: 1.05rem 1.6rem; }
.timeline-past .tl-card time { top: 1.15rem; }
.s-career .timeline-past li::before { top: 1.1rem; }

/* =========================================================
   Case study (right panel)
   ========================================================= */
.case-title { font-size: 3.4rem; line-height: 1.18; }
.s-case .bar { margin: 1.6rem 0 2rem; }
.meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.meta dt { font: 500 1.1rem/1.4 "Montserrat", sans-serif; letter-spacing: .02em; color: #a3acbb; }
.meta dd { margin: .3rem 0 0; font-size: 1.3rem; font-weight: 500; }
.side-links { display: flex; gap: 1.6rem; margin-top: auto; padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .12); }
.side-links i { font-size: 1.3rem; margin-top: .55rem; }
.side-links p { display: grid; gap: .6rem; font-size: 1.3rem; }
.side-links a { text-decoration: underline; text-underline-offset: .25em; }
.side-links a:hover { color: var(--teal); }

.icon-heading { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.6rem; font: 700 1.85rem/1 "Montserrat", sans-serif; color: var(--ink); }
.icon-heading i { width: 2.4rem; font-size: 1.85rem; color: var(--ink); }
.role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-bottom: 3.2rem; }
.role-card { min-height: 12.5rem; padding: 1.5rem 1.5rem 1.3rem; background: var(--light); border-left: .3rem solid; border-radius: 0 .4rem .4rem 0; }
.rc-teal { border-color: var(--teal); }
.rc-orange { border-color: var(--orange); }
.role-card h4 { margin-bottom: 1rem; font-size: 1.35rem; font-weight: 700; }
.role-card li { position: relative; padding-left: .8rem; font-size: 1.1rem; line-height: 1.6; color: var(--text); }
.role-card li::before { content: "•"; position: absolute; left: 0; }
.role-sum { margin-top: .4rem; font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.sol-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; margin-bottom: 3.2rem; }
.sol-flow { grid-template-columns: 1fr auto 1fr auto 1fr; gap: 1.3rem; align-items: center; }
.sol-arrow { font-size: 1.4rem; color: #c3cad6; }
.sol-card { height: 8rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem; text-align: center; border: 1px solid var(--line); border-radius: .4rem; background: var(--white); transition: transform .35s var(--ease), box-shadow .35s; }
.sol-card:hover { transform: translateY(-.35rem); box-shadow: 0 .8rem 2rem rgba(28, 35, 51, .1); }
.sol-card i { font-size: 1.9rem; }
.sol-card .fa-aws { font-size: 2.4rem; }
.sol-card p { font-size: 1.1rem; font-weight: 700; line-height: 1.55; }
.sol-card em { font-style: normal; color: var(--teal); }
.sol-key { background: #f0f3f8; }
.result-box { display: grid; grid-template-columns: 1fr 1fr; padding: 2rem 2.4rem; background: var(--navy); color: var(--white); border-radius: .5rem; }
.result-box > div { display: flex; align-items: center; gap: 1.6rem; }
.result-box > div + div { padding-left: 2.4rem; border-left: 1px solid rgba(255, 255, 255, .12); }
.result-box i { font-size: 2.5rem; width: 2.6rem; text-align: center; }
.result-box p { font-size: 1rem; color: #c2c9d4; }
.result-box strong { display: block; margin-bottom: .4rem; font-size: 1.3rem; color: var(--white); }
.ai-mark { font: 800 2.5rem/1 "Montserrat", sans-serif; color: var(--orange); }

/* =========================================================
   Galleries
   ========================================================= */
.gal img, .gal-full img, .gal-wide, .imu-grid img, .store-layout img, .kiosk-layout > img,
.insung-layout img, .heal-top img, .nf-layout img, .work-mcompany img, .point-row img {
  border-radius: .25rem;
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, .35);
}
.zoomable { cursor: zoom-in; transition: transform .5s var(--ease), filter .4s; }
.zoomable:hover { transform: translateY(-.3rem); filter: brightness(1.06); }

.gal-grid { display: grid; gap: 3.4rem; align-items: start; }
.gal img { max-height: 36rem; width: auto; }
.g-argos { grid-template-columns: auto 1fr; }
.g-argos .gal:first-child img { max-height: 34rem; }
.g-argos .gal:last-child { align-self: center; }
.g-argos .gal:last-child img { width: 100%; max-height: none; }
.g-crk { grid-template-columns: 1fr 1fr; gap: 7rem; }
.g-crk img { width: auto; max-width: 100%; max-height: 39rem; }
.g-pos { grid-template-columns: 1fr 1fr; gap: 3.4rem; }
.g-pos .gal:first-child img { max-height: 36rem; }
.gal-stack figure + figure { margin-top: 2rem; }
.gal-stack img { width: 100%; max-height: 15rem; object-fit: contain; object-position: left top; box-shadow: none; }
.gal-full { display: flex; justify-content: center; }
.gal-full img { max-height: 44rem; width: auto; }
.gal-wide { width: 100%; }

/* 10. Projects */
.s-projects { background: linear-gradient(to bottom, var(--navy) 0 41.6%, var(--light) 41.6% 100%); }
.s-projects .orb-tr { width: 23.5rem; height: 23.5rem; right: 1.2rem; top: -4.6rem; background: #1b3a40; opacity: .8; }
.s-projects .orb-bl { width: 23.5rem; height: 23.5rem; left: -8.7rem; bottom: auto; top: 11.8rem; background: #3a2b2e; opacity: .55; }
.proj-head { display: flex; justify-content: space-between; align-items: flex-end; border: 0; margin-bottom: 1.5rem; padding-bottom: 0; }
.proj-lead { text-align: right; font-size: 1.1rem; line-height: 1.7; color: #a3acbb; }
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem 2rem; }
.proj-card { padding: 1.25rem 1.6rem 1.15rem; background: var(--white); color: var(--ink); border-top: .35rem solid; border-radius: .35rem; box-shadow: 0 .6rem 2rem rgba(28, 35, 51, .08); transition: transform .35s var(--ease), box-shadow .35s; }
.proj-card:hover { transform: translateY(-.45rem); box-shadow: 0 1.2rem 2.6rem rgba(28, 35, 51, .14); }
.pc-orange { border-color: var(--orange); }
.pc-teal { border-color: var(--teal); }
.pc-ink { border-color: var(--ink); }
.proj-card h3 { display: flex; align-items: center; gap: 1rem; font-size: 1.45rem; font-weight: 700; }
.proj-card h3 i { width: 1.8rem; font-size: 1.5rem; text-align: center; }
.proj-meta { margin: .55rem 0 .8rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: #6b7587; }
.proj-role { font-size: 1.1rem; font-weight: 700; }
.proj-desc { font-size: 1.05rem; color: var(--text); }

/* Work (company) pages */
.work-intro { position: relative; padding-left: 1.9rem; }
.work-intro::before { content: ""; position: absolute; left: 0; top: .3rem; height: 5.4rem; width: .25rem; background: var(--orange); }
.work-date { font: 400 1.45rem/1.3 "Montserrat", sans-serif; letter-spacing: -.04em; color: #e9ecf1; }
.work-date span { margin-left: .6rem; color: #8f99aa; letter-spacing: 0; font-family: "Noto Sans KR", sans-serif; }
.work-title { margin: .4rem 0 1.4rem; font-size: 3.6rem; font-weight: 300; line-height: 1.15; letter-spacing: .02em; }
.work-desc { font-size: 1.75rem; font-weight: 300; line-height: 1.75; color: #eef0f4; }

.s-work > .page-width { display: flex; flex-direction: column; justify-content: safe center; padding: calc(var(--header-h) + 1rem) 0 2rem; }
.work-mcompany { display: grid !important; grid-template-columns: 34rem 1fr; gap: 7rem; align-items: center; align-content: start; padding-top: calc(var(--header-h) + 1.2rem) !important; height: auto !important; }
.mc-proposal img { width: 100%; box-shadow: none; }
.work-mcompany .work-desc { font-size: 1.8rem; }
.mc-solution { position: absolute; left: 0; right: 0; bottom: 1.4rem; }
.mc-solution img { width: 100%; max-height: 18rem; object-fit: cover; object-position: top; border-radius: 0; }
.mc-solution .mini-label { margin-bottom: 1rem; }

.nf-layout { height: 100%; display: grid; grid-template-columns: 1fr 18.9rem; grid-template-rows: 16.75rem 1fr 15.45rem; }
.nf-layout img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; }
.nf-top { grid-column: 1; grid-row: 1; }
.nf-bottom { grid-column: 1; grid-row: 3; }
.nf-side { grid-column: 2; grid-row: 1 / 4; object-position: top; }
.nf-center { grid-column: 1; grid-row: 2; position: relative; display: flex; align-items: center; padding-left: 16.6rem; }
.nf-center .work-title { font-size: 3.3rem; }
.nf-center .work-desc { font-size: 1.7rem; }
.nf-label { position: absolute; right: 2rem; bottom: 1rem; margin: 0; }

.imu-grid { display: grid; grid-template-columns: 52rem 1fr; gap: 3rem; margin-top: 3.4rem; align-items: start; }
.imu-grid img { width: 100%; }
.imu-print img { max-height: 28.6rem; width: auto; }

.point-row { display: grid; grid-template-columns: 14rem auto; justify-content: center; gap: 1.4rem; margin-bottom: 1.2rem; }
.point-row .mini-label { text-align: right; padding-top: .6rem; }
.point-row img { max-height: 21rem; }
.s-gallery .gal-wide + * { margin-top: 1rem; }

.store-layout { display: grid !important; grid-template-columns: 50rem 1fr; gap: 4rem; align-items: center; }
.store-title { margin: 0 0 3.5rem 7rem; font-size: 2.1rem; font-weight: 400; }
.store-left img { width: 100%; background: var(--white); border-radius: 1rem; }
.store-right { max-height: 47rem; width: auto; justify-self: center; }

.kiosk-layout { display: grid !important; grid-template-columns: 18rem 1fr; gap: 3rem; align-items: center; }
.kiosk-layout > img { width: 100%; }
.kiosk-title { display: flex; align-items: center; gap: .6rem; margin-bottom: 2.6rem; font-size: 2.3rem; font-weight: 300; }
.kiosk-title i { font-size: 2.6rem; }
.kiosk-list { display: grid; gap: 2rem; }
.kiosk-list dt, .kiosk-list dd { margin: 0; font-size: 1.3rem; font-weight: 300; line-height: 1.35; }
.kiosk-list small { display: block; margin-top: .5rem; font-size: .9rem; }

.insung-layout { display: grid !important; grid-template-columns: 1fr 56rem; gap: 2.5rem; align-items: center; }
.insung-layout .work-title { font-size: 3.2rem; }
.insung-layout .work-desc { font-size: 1.75rem; }
.insung-layout img { width: 100%; max-height: 45rem; object-fit: contain; }

.heal-top { display: grid; grid-template-columns: 60rem 1fr; gap: 6rem; align-items: center; margin-bottom: 1.8rem; }
.heal-top img { width: 100%; box-shadow: none; }

.crm-head { margin-bottom: 2.4rem; }
.crm-head p { font-size: 1.45rem; font-weight: 300; color: #b3bbc8; line-height: 1.6; }
.s-gallery .gal-full img[src*="healience-crm"] { max-height: 37rem; }

.s-early { background: var(--deep); }
.early-bg { position: absolute; left: 0; top: 0; height: 100%; width: auto; max-width: none; -webkit-mask-image: linear-gradient(to right, #000 82%, transparent); mask-image: linear-gradient(to right, #000 82%, transparent); border-radius: 0 !important; box-shadow: none !important; }
.early-list { position: relative; z-index: 1; height: 100%; margin-left: calc(var(--edge) + 75.4rem); display: flex; flex-direction: column; justify-content: center; gap: 3rem; padding-top: var(--header-h); }
.early-item { padding-left: 1.7rem; border-left: .2rem solid var(--orange); }
.early-item .work-date { font-size: 1.15rem; }
.early-item h3 { margin: .4rem 0 .9rem; font-size: 2.3rem; font-weight: 400; }
.early-item h3 span { font-size: 2rem; color: #8f99aa; }
.early-item p:last-child { font-size: 1.25rem; font-weight: 300; line-height: 1.7; }

/* 26. Skills */
.skills-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 4rem; }
.tools { font-size: 1.15rem; color: #b3bbc8; padding-bottom: .5rem; }
.skill-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6.5rem 3.4rem; }
.skill { display: flex; gap: 2.1rem; }
.skill i { width: 2.6rem; font-size: 2.6rem; text-align: center; transition: transform .4s var(--ease); }
.skill:hover i { transform: scale(1.15) rotate(-6deg); }
.skill h3 { margin-bottom: .6rem; font-size: 1.65rem; font-weight: 700; line-height: 1.4; }
.skill p { font-size: 1.12rem; color: #a3acbb; }
.skills-foot { margin-top: 5.4rem; padding-top: 1.7rem; border-top: 1px solid rgba(255, 255, 255, .1); text-align: right; font: 500 .95rem/1 "Montserrat", sans-serif; letter-spacing: .15em; color: #6f798b; }

/* 27. Thank you */
.thanks-body { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5.5rem; }
.thanks-title { font: 900 6.2rem/1 "Montserrat", sans-serif; letter-spacing: .03em; overflow: hidden; padding: .2em 0; }
.thanks-title .ch { display: inline-block; transform: translateY(110%) rotate(8deg); opacity: 0; transition: transform .9s var(--ease), opacity .6s; transition-delay: calc(var(--i) * 60ms + .15s); }
.section.active .thanks-title .ch, .section.in-view .thanks-title .ch { transform: none; opacity: 1; }
.s-thanks .bar { width: 7.8rem; margin-top: -2.5rem; transform-origin: center; }
.thanks-contact { display: flex; gap: 3rem; font: 400 1.2rem/1 "Montserrat", sans-serif; color: #b9c1cd; }
.thanks-contact i { margin-right: .7rem; color: var(--orange); }
.thanks-contact a:hover { color: var(--white); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 4vh 4vw; background: rgba(10, 13, 20, .92); opacity: 0; transition: opacity .3s; }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox img { max-width: 100%; max-height: 86vh; object-fit: contain; border-radius: 4px; box-shadow: 0 2rem 4rem rgba(0, 0, 0, .5); transform: scale(.96); transition: transform .4s var(--ease); cursor: zoom-out; }
.lightbox.is-open img { transform: none; }
.lightbox-cap { max-width: 70ch; text-align: center; font-size: 14px; color: #b9c1cd; }
.lightbox-close { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: transparent; color: var(--white); font-size: 18px; }
.lightbox-close:hover { background: var(--orange); border-color: var(--orange); }

/* =========================================================
   Responsive — below 1024px wide or 600px tall fullPage.js
   switches to normal scrolling and sections flow naturally.
   ========================================================= */
.fullpage-unavailable body, body.fp-responsive { overflow: auto; }
@media (max-width: 1024px), (max-height: 600px) {
  html { font-size: 11px; }
  body { overflow: auto; }
  :root { --edge: 0px; }
  .section, .fp-section, .fp-tableCell { height: auto !important; min-height: 100vh; }
  .section > .page-width, .split, .side-inner, .split-main, .nf-layout { height: auto; }
  .s-dark > .page-width, .s-deep > .page-width, .s-projects > .page-width, .s-work > .page-width { padding: 90px 0 56px; }
  .page-width { max-width: calc(100% - 48px); }
  .site-header { padding: 0 24px; height: 60px; }
  :root { --header-h: 60px; }
  #fp-nav { display: none; }

  .cover-body { padding: 110px 0 60px; min-height: calc(100vh - 160px); }
  .domain-bar { position: relative; height: auto; padding: 24px; grid-template-columns: 1fr 1fr; gap: 18px; }
  .domain-bar li + li { padding-left: 0; border-left: 0; }
  .scroll-cue { display: none; }

  .split, .s-profile .split { grid-template-columns: 1fr; }
  .top-nav { font-size: 12px; gap: 22px; }
  .brand-name { font-size: 10px; }
  .brand-name small { font-size: 8px; }
  .brand-mark { width: 34px; height: 34px; font-size: 16px; }
  .split-main, .s-profile .split-main { padding: 48px 24px; }
  .side-inner { padding: 90px 24px 48px; }
  .split-main, .s-profile .split-main { padding: 48px 24px; }
  .s-case .split-main::before { display: none; }
  .profile-contact { margin-top: 28px; }
  .comp-grid, .role-grid, .proj-grid, .career-cols, .skill-grid, .result-box,
  .g-argos, .g-crk, .g-pos, .imu-grid, .store-layout, .kiosk-layout, .insung-layout, .heal-top, .work-mcompany { grid-template-columns: 1fr !important; }
  .gal-grid, .career-cols, .skill-grid { gap: 32px; }
  .result-box { gap: 20px; }
  .result-box > div + div { padding-left: 0; border-left: 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); }
  .highlights li { grid-template-columns: 1fr; }
  .sol-row, .sol-flow { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .sol-arrow { display: none; }
  .sol-card { height: auto; padding: 16px 6px; }
  .s-projects { background: var(--light); }
  .s-projects .proj-head { flex-direction: column; align-items: flex-start; gap: 12px; color: var(--ink); }
  .s-projects .proj-lead { text-align: left; color: var(--text); }
  .s-projects .orb { display: none; }
  .gal img, .gal-full img, .g-crk img, .gal-stack img, .imu-print img, .store-right, .point-row img, .insung-layout img { width: 100%; max-height: none; height: auto; }
  .point-row { grid-template-columns: 1fr; }
  .point-row .mini-label { text-align: left; }
  .store-title { margin: 0 0 20px; }
  .mc-solution { position: static; margin-bottom: 40px; }
  .mc-solution .mini-label { margin-left: 24px; }
  .work-mcompany { padding: 90px 0 24px !important; }
  .nf-layout { grid-template-columns: 1fr; grid-template-rows: auto; }
  .nf-top, .nf-bottom, .nf-side, .nf-center { grid-column: 1; grid-row: auto; }
  .nf-top { margin-top: 60px; }
  .nf-side { max-height: 520px; }
  .nf-center { padding: 40px 24px 56px; display: block; }
  .nf-label { position: static; margin-top: 20px; }
  .early-bg { position: absolute; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
  .early-list { margin: 0; padding: 100px 24px 56px; min-height: 100vh; }
  .skills-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .thanks-body { min-height: 100vh; gap: 48px; }
  .thanks-contact { flex-direction: column; align-items: center; gap: 16px; }
}
@media (max-width: 700px) {
  html { font-size: 10px; }
  .menu-toggle { display: block; }
  .top-nav { position: fixed; top: 60px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; background: rgba(21, 26, 38, .97); font-size: 14px; transform: translateY(-120%); transition: transform .4s var(--ease); }
  .top-nav.is-open { transform: none; }
  .top-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .top-nav .nav-contact { margin-top: 14px; text-align: center; }
  .brand-name { font-size: 10px; }
  .brand-name small { font-size: 8px; }
  .brand-mark { width: 34px; height: 34px; font-size: 16px; }
  .cover-name { font-size: 7rem; }
  .cover-role { font-size: 2.4rem; }
  .domain-bar li { font-size: 1.4rem; }
  .side-copy p, .role-card li, .comp-card p, .proj-desc, .highlights p, .skill p, .result-box p { font-size: 1.4rem; }
  .sol-row, .sol-flow { grid-template-columns: 1fr; }
  .tl-card time { position: static; display: block; margin-top: 4px; }
  .tl-head { flex-wrap: wrap; gap: 4px 10px; }
  .work-desc, .work-mcompany .work-desc, .nf-center .work-desc, .insung-layout .work-desc { font-size: 1.6rem; }
  .thanks-title { font-size: 5.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal, .thanks-title .ch { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
