/* Editorial presentation layer: typography, image-led projects, and career history. */
:root {
  --ink: #181a1d;
  --body: #555a62;
  --muted: #727780;
  --line: #e2e4e8;
  --paper: #ffffff;
  --soft: #f6f7f9;
  --accent: #245bea;
  --accent-dark: #245bea;
  --deep: #181a1d;
}
body { background: #fff; letter-spacing: -.025em; }
.site-header { position: relative; max-width: 1440px; margin: auto; padding: 30px 64px; align-items: center; }
.brand { font-size: 24px; letter-spacing: -.06em; }
.brand > span { color: var(--accent); }
.nav-links { gap: 30px; font-size: 13px; font-weight: 500; }
.nav-links button[data-scroll="#skills"], .nav-links button[data-scroll="#archiving"], .nav-links button[data-scroll="#awards"] { display: none; }
.nav-links button[data-scroll="#projects"] { order: -1; }
.hero { min-height: 0; display: block; overflow: visible; background: #fff; text-align: left; }
.hero-overlay { display: none; }
.hero-content { display: grid; grid-template-columns: 1.5fr 1fr; gap: 0 64px; width: min(1312px, calc(100% - 128px)); padding: 80px 0 0; margin: 0 auto; }
.hero-kicker { grid-column: 1 / -1; margin: 0 0 26px; font-size: 11px; font-weight: 500; letter-spacing: .13em; color: var(--muted); }
.hero h1 { align-self: center; gap: 6px; font-size: clamp(44px, 4.6vw, 70px); line-height: 1.22; font-weight: 600; letter-spacing: -.065em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero h1 .slogan-context { margin-bottom: 10px; font-size: 27px; font-weight: 400; letter-spacing: -.035em; }
.hero-name { display: block; margin-bottom: 18px; color: var(--muted); font-size: 13px; font-weight: 400; }
.hero-summary { align-self: end; padding-bottom: 5px; }
.hero-lead { margin: 0; font-size: 21px; line-height: 1.55; color: var(--ink); font-weight: 500; }
.hero-lead > span { display: block; margin-top: 17px; font-size: 15px; line-height: 1.8; color: var(--body); font-weight: 400; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 24px; }
.cta-button { gap: 26px; min-width: 0; min-height: 0; padding: 0 0 7px; margin: 0; border-radius: 0; background: none; border-bottom: 1px solid var(--ink); box-shadow: none; color: var(--ink); font-size: 14px; }
.cta-button:hover { transform: none; box-shadow: none; color: var(--accent); border-color: var(--accent); }
.cta-button > span { font-size: 22px; }
.text-button { padding: 0 0 7px; color: var(--muted); font-size: 13px; }
.hero-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; margin-top: 64px; padding: 21px 0; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.section { max-width: 1440px; margin: auto; padding: 92px 64px; background: #fff; }
.section-title { position: relative; justify-items: start; text-align: left; gap: 16px; margin-bottom: 42px; }
.title-icon { display: none; }
.section-index { color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: .12em; }
.section-title h2 { font-size: 42px; font-weight: 600; letter-spacing: -.045em; }
.section-count { display: inline-block; margin-left: 12px; color: var(--accent); font-size: 14px; vertical-align: top; letter-spacing: 0; }
.section-copy { max-width: none; margin: 0; color: var(--muted); font-size: 15px; font-weight: 400; }
#projects { padding-top: 54px; }
.project-list { max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px 36px; }
.project-tile { position: relative; min-height: 0; padding: 0 0 24px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; transition: none; }
.project-tile:hover { transform: none; box-shadow: none; border-color: var(--ink); }
.project-tile img { height: auto; aspect-ratio: 1.45; width: 100%; margin-bottom: 24px; padding: 24px; border: 0; border-radius: 4px; object-fit: contain; background: #f3f3f6; transition: background .2s ease; }
.project-tile[data-project="itdam"] img { background: #f0edf7; }
.project-tile[data-project="kkakkung"] img { background: #e8e6e1; }
.project-tile[data-project="gotya"] img { background: #edf4f5; }
.project-tile[data-project="homekeeper"] img { background: #edf0f7; }
.project-tile:hover img { background: #e9edf5; }
.tile-badge, .tile-badge.muted { margin: 0 0 10px; padding: 0; background: none; border-radius: 0; color: var(--muted); font-size: 11px; font-weight: 400; letter-spacing: .04em; }
.project-tile > strong { padding-right: 44px; margin-bottom: 10px; font-size: 30px; font-weight: 600; letter-spacing: -.045em; }
.project-tile > strong::after { position: absolute; right: 3px; content: '↗'; color: var(--ink); font-size: 27px; font-weight: 400; }
.project-tile p { min-height: 0; max-width: 92%; margin: 0 0 20px; color: var(--body); font-size: 15px; font-weight: 400; line-height: 1.8; }
.tile-outcome { margin: auto 0 0; padding: 0; border-radius: 0; background: none; color: var(--accent); font-size: 13px; font-weight: 500; }
.tile-tags { display: none; }
.about-list, .skills-grid, .archive-grid, .award-grid { max-width: none; }
.info-item, .skill-group, .archive-card, .award-grid article { border: 0; border-top: 1px solid var(--line); padding: 22px 0; background: #fff; border-radius: 0; box-shadow: none; }
.info-icon { width: auto; height: auto; background: none; color: var(--muted); font-weight: 400; }
.about-story { max-width: none; padding: 32px 0; margin-top: 28px; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: #fff; }
.about-story p { max-width: 900px; }
.career-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; border-top: 1px solid var(--line); padding-top: 36px; }
.career-intro h3 { margin: 0 0 20px; font-size: 26px; font-weight: 500; line-height: 1.55; letter-spacing: -.045em; }
.career-intro p { max-width: 360px; margin: 0; color: var(--body); font-size: 15px; line-height: 1.9; }
.career-intro .career-strength { margin-top: 28px; color: var(--accent); font-size: 12px; }
.career-history > section + section { margin-top: 40px; }
.career-history h3 { margin: 0 0 18px; color: var(--ink); font-size: 14px; font-weight: 500; }
.career-list { margin: 0; }
.career-list > div { display: grid; grid-template-columns: 175px 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.career-list dt { padding-top: 4px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.career-list dd { margin: 0; }
.career-list strong { font-size: 19px; font-weight: 500; line-height: 1.5; }
.career-list p { margin: 7px 0 0; color: var(--body); font-size: 14px; }
.skill-group li { background: none; border: 0; border-radius: 0; padding-left: 0; }
.contact { max-width: none; background: var(--deep); text-align: left; padding: 80px max(64px, calc((100vw - 1312px) / 2)); }
.contact h2 { max-width: 780px; margin: 0; font-size: 36px; }
.contact-actions { justify-content: start; }
.contact-actions a { border-radius: 0; background: transparent; color: #fff; padding: 10px 0; margin-right: 24px; border-bottom: 1px solid #666; }
.contact .section-index { color: #a5adb9; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-item { display: flex; flex-direction: column; align-items: flex-start; padding-top: 24px; border-top: 1px solid #ffffff40; }
.contact-item > span { display: flex; justify-content: space-between; width: 100%; color: #a5adb9; font-size: 12px; }
.contact-item > strong { display: block; margin: 18px 0 10px; font-size: clamp(20px, 2vw, 28px); font-weight: 500; overflow-wrap: anywhere; }
.contact-item p { max-width: 460px; margin: 0; color: #b4bac3; font-size: 13px; line-height: 1.8; }
.contact-item:hover > strong { text-decoration: underline; text-underline-offset: 6px; }
.top-button { width: 42px; height: 42px; border-radius: 0; background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: none; font-size: 11px; }
.reveal { transform: none; opacity: 1; }
/* Reading-oriented detail sheet: one surface, no nested cards. */
.project-modal { padding: 32px; background: rgba(20, 24, 32, .58); }
.project-modal-panel { width: min(1120px, 100%); padding: 64px 64px 60px; border-radius: 5px; background: #fff; box-shadow: 0 24px 80px #0002; }
.project-modal-close { top: 20px; right: 20px; width: 40px; height: 40px; font-size: 30px; }
.detail-header { width: 100%; margin-bottom: 32px; }
.detail-eyebrow { color: var(--muted); font-size: 10px; font-weight: 400; margin-bottom: 22px; }
.detail-header h3 { font-size: 58px; font-weight: 600; letter-spacing: -.06em; }
.detail-intro { margin: 12px 0 28px; font-size: 21px; font-weight: 400; color: var(--body); }
.detail-meta { border-top: 1px solid var(--line); padding-top: 20px; }
.detail-meta dd { font-size: 13px; font-weight: 500; }
.detail-visual { width: 100%; border: 0; border-radius: 0; background: #fff; box-shadow: none; margin-bottom: 28px; }
.detail-slide-image { aspect-ratio: 16 / 10; padding: 20px; background: #f3f1f8; }
.slide-footer { padding: 12px 0; border: 0; background: #fff; }
.slide-button { width: 40px; height: 40px; border-radius: 0; border: 0; background: #f5f5f6; }
.detail-slide-caption { color: var(--muted); font-size: 12px; font-weight: 400; }
.slide-counter { font-size: 12px; font-weight: 400; }
.detail-copy { width: 100%; padding: 0; }
.detail-chips { gap: 18px; margin-bottom: 36px; }
.detail-chips .stack-chip { min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; font-size: 12px; font-weight: 400; color: var(--muted); }
.detail-chips .stack-chip::before { display: none; }
.case-summary { grid-template-columns: 1fr; gap: 0; margin-bottom: 16px; }
.detail-copy .case-summary section { display: grid; grid-template-columns: 180px 1fr; gap: 0 36px; padding: 28px 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: #fff; }
.case-label { display: none; }
.detail-copy .case-summary h4 { font-size: 18px; font-weight: 500; margin: 0; }
.detail-copy .case-summary p { max-width: 640px; font-size: 16px; line-height: 1.9; }
.case-summary p strong { font-size: 24px; line-height: 1.4; margin-bottom: 12px; font-weight: 500; letter-spacing: -.035em; }
.detail-copy > section { display: grid; grid-template-columns: 180px 1fr; gap: 36px; padding: 28px 0; }
.detail-copy > section h4 { font-size: 18px; font-weight: 500; }
.detail-copy > section p { font-size: 15px; font-weight: 400; line-height: 1.9; }
.detail-diagram { border: 0; border-radius: 0; }
.detail-diagram figcaption, .detail-diagram.dark figcaption { padding: 14px 0; border: 0; background: #fff; font-size: 12px; color: var(--body); }
.detail-link { min-height: 0; min-width: 0; padding: 10px 0; border-radius: 0; border-bottom: 1px solid var(--ink); background: none; color: var(--ink); font-size: 13px; font-weight: 500; }
.evidence-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 12px; }
.project-status { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 24px; color: #3450aa; font-size: 14px; font-weight: 500; }
.project-status span { color: var(--muted); font-weight: 400; }
.project-tile .tile-badge.in-progress { color: #3450aa; }
.project-tile[data-project="axcore"] img { background: #eef1fa; }
.progress-copy { min-width: 0; }
.progress-copy ul { margin: 14px 0 0; padding-left: 20px; color: var(--body); font-size: 15px; line-height: 1.9; }
.progress-copy li + li { margin-top: 8px; }
.detail-copy .case-summary .progress-copy p { margin-top: 16px; color: var(--muted); font-size: 13px; }
.progress-label { display: inline-block; padding: 5px 10px; font-size: 12px; font-weight: 500; }
.progress-label.completed { color: #26624f; background: #edf5f1; }
.progress-label.planned { color: #3450aa; background: #eef1fa; }
@media (max-width: 980px) {
  .site-header { flex-direction: row; padding: 26px 32px; }
  .hero-content { width: calc(100% - 64px); gap: 0 32px; padding-top: 60px; }
  .hero h1 { font-size: 46px; }
  .hero h1 .slogan-context { font-size: 21px; }
  .career-layout { grid-template-columns: 1fr; gap: 32px; }
  .career-intro p { max-width: 640px; }
  .hero-lead { font-size: 18px; }
  .hero-lead > span { font-size: 13px; }
  .section { padding: 68px 32px; }
  .project-list { gap: 44px 24px; }
  .project-tile img { padding: 16px; }
  .project-modal-panel { padding: 52px 32px 40px; }
  .detail-copy .case-summary section, .detail-copy > section { grid-template-columns: 130px 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .site-header { padding: 24px; }
  .brand { font-size: 22px; }
  .nav-links { display: flex; font-size: 12px; gap: 20px; }
  .hero-content { width: calc(100% - 48px); grid-template-columns: 1fr; padding-top: 52px; }
  .hero-kicker { font-size: 9px; letter-spacing: .1em; margin-bottom: 22px; }
  .hero h1 { font-size: clamp(32px, 9.5vw, 46px); gap: 3px; line-height: 1.25; }
  .hero h1 span { white-space: normal; }
  .hero h1 .slogan-context { font-size: clamp(17px, 4.8vw, 21px); }
  .hero-summary { margin-top: 28px; padding: 0; }
  .hero-lead { font-size: 16px; line-height: 1.6; }
  .hero-lead br { display: initial; }
  .hero-lead > span { margin-top: 12px; font-size: 13px; }
  .hero-actions { margin-top: 22px; }
  .hero-foot { margin-top: 38px; padding: 16px 0; font-size: 10px; }
  .hero-foot > span:last-child { display: none; }
  .section { padding: 56px 24px; }
  #projects { padding-top: 40px; }
  .section-title { gap: 12px; margin-bottom: 28px; }
  .section-title h2 { font-size: 32px; }
  .section-index { font-size: 9px; }
  .section-copy { font-size: 13px; }
  .project-list { grid-template-columns: 1fr; gap: 36px; }
  .project-tile { padding: 0 0 24px; border-radius: 0; }
  .project-tile img { height: auto; aspect-ratio: 1.25; padding: 16px; margin-bottom: 20px; }
  .project-tile > strong { font-size: 27px; }
  .project-tile p { font-size: 14px; margin-bottom: 16px; }
  .tile-outcome { font-size: 12px; }
  .about-list, .skills-grid, .archive-grid, .award-grid { grid-template-columns: 1fr; }
  .contact { padding: 56px 24px; }
  .contact h2 { font-size: 28px; }
  .contact-actions { flex-direction: row; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-item > strong { font-size: 22px; }
  .career-layout { padding-top: 26px; }
  .career-intro h3 { font-size: 23px; }
  .career-intro p { font-size: 14px; }
  .career-list > div { grid-template-columns: 1fr; gap: 10px; padding: 20px 0; }
  .career-list strong { font-size: 18px; }
  .project-modal { padding: 8px; }
  .project-modal-panel { padding: 50px 22px 32px; border-radius: 3px; }
  .project-modal-close { top: 10px; right: 10px; }
  .detail-header h3 { font-size: 42px; }
  .detail-intro { font-size: 17px; line-height: 1.7; }
  .detail-eyebrow { margin-bottom: 16px; font-size: 9px; }
  .detail-meta { gap: 16px; }
  .detail-slide-image { aspect-ratio: 4 / 3; padding: 8px; }
  .slide-footer { gap: 8px; }
  .slide-button { width: 44px; height: 44px; }
  .detail-chips { margin-bottom: 26px; gap: 12px; }
  .detail-copy .case-summary section, .detail-copy > section { grid-template-columns: 1fr; gap: 12px; padding: 24px 0; }
  .detail-copy .case-summary p, .detail-copy > section p { font-size: 14px; }
  .case-summary p strong { font-size: 22px; }
}
