:root {
  --paper: #f8f7f2;
  --surface: #ffffff;
  --ink: #123141;
  --body: #344e58;
  --muted: #56696f;
  --teal: #09685e;
  --teal-soft: #e2ece6;
  --line: #c5d1ca;
  --footer-text: #e3eee8;
  --focus: #09685e;
  --font-body: "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-editorial: Georgia, "Times New Roman", serif;
  color-scheme: light;
  font-family: var(--font-body);
  font-synthesis: none;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; font-size: 1rem; line-height: 1.8; word-break: keep-all; overflow-wrap: anywhere; }
body, h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--teal); }
a:active { color: var(--ink); }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; border-radius: 2px; }
h1, h2, h3, h4 { line-height: 1.3; letter-spacing: -.045em; text-wrap: balance; }
p + p { margin-top: 1rem; }
ul, ol { padding-inline-start: 1.25rem; }
section[id] { scroll-margin-top: 2rem; }
[lang="en"] { word-break: normal; }
.wrap { max-width: 1240px; margin-inline: auto; padding-inline: 24px; }
.section-space { padding-block: 64px; }
.skip-link { position: absolute; top: 10px; left: 16px; z-index: 10; transform: translateY(-160%); background: var(--ink); color: var(--surface); padding: 12px 20px; min-height: 44px; }
.skip-link:focus { transform: translateY(0); color: var(--surface); }

.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-block: 26px 22px; }
.wordmark { display: inline-flex; flex-direction: column; min-height: 44px; justify-content: center; line-height: 1.25; text-decoration: none; }
.wordmark-ko { font-weight: 700; font-size: 1.4rem; letter-spacing: -.07em; }
.wordmark-en { font-family: var(--font-editorial); font-size: .93rem; letter-spacing: .01em; }
.nav-list { display: flex; flex-wrap: wrap; gap: 4px 10px; list-style: none; padding: 0; }
.nav-list a { display: flex; flex-direction: column; padding: 8px 5px; min-height: 48px; text-decoration: none; font-size: .88rem; font-weight: 600; line-height: 1.4; }
.nav-list span { font-weight: 400; font-size: .77rem; color: var(--muted); }
.hero { display: grid; gap: 32px; padding-block: 48px 64px; }
.hero-intro { font-size: .95rem; margin-bottom: 22px; color: var(--teal); font-weight: 600; }
.hero h1 { font-size: clamp(2.35rem, 5.7vw, 4.9rem); line-height: 1.2; font-weight: 650; letter-spacing: -.065em; }
.hero-description { margin-top: 30px; color: var(--body); font-size: 1.12rem; line-height: 1.9; }
.hero-english { max-width: 48ch; font-size: 1.02rem; color: var(--muted); line-height: 1.65; }
.text-link { display: inline-flex; align-items: center; gap: 22px; min-height: 48px; margin-top: 28px; text-decoration-thickness: 1px; font-weight: 600; }
.text-link span { font-size: 1.45rem; }
.hero-note { background: var(--teal-soft); border-radius: 2px 2px 72px 2px; padding: 32px; position: relative; overflow: hidden; }
.hero-note::after { content: ""; position: absolute; inset: auto -60px -80px auto; width: 210px; height: 210px; border: 1px solid var(--teal); border-radius: 50%; opacity: .25; pointer-events: none; }
.note-year { font-family: var(--font-editorial); font-size: 1.85rem; line-height: 1.2; }
.note-year span { font-family: var(--font-body); font-size: .85rem; padding-left: 10px; color: var(--body); }
.note-title { font-family: var(--font-editorial); font-size: clamp(2.6rem, 5vw, 3.35rem); letter-spacing: -.05em; line-height: 1.07; margin-block: 38px 26px; }
.note-description { color: var(--body); font-size: .98rem; }
.note-english { font-size: .87rem; line-height: 1.55; color: var(--muted); }

.company-section { background: var(--surface); }
.company-grid { display: grid; gap: 42px; }
.section-caption { color: var(--teal); font-size: .95rem; font-weight: 600; margin-bottom: 15px; }
h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); font-weight: 650; }
.section-copy > p:not(.section-caption) { color: var(--body); max-width: 63ch; margin-top: 24px; }
.english-copy { margin-top: 28px; padding-inline-start: 18px; border-inline-start: 2px solid var(--line); max-width: 66ch; color: var(--muted); font-size: .94rem; line-height: 1.7; }
.company-profile { background: var(--paper); padding: 28px 24px; border-top: 3px solid var(--teal); align-self: start; }
.company-profile h3 { font-size: 1.14rem; font-weight: 600; }
.company-profile h3 span { display: block; margin-top: 4px; font-size: .9rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.company-profile dl { margin-top: 22px; }
.profile-row { display: grid; gap: 7px; padding-block: 17px; border-top: 1px solid var(--line); }
.profile-row dt { font-weight: 600; font-size: .87rem; line-height: 1.5; }
.profile-row dt span { color: var(--muted); display: block; font-size: .8rem; font-weight: 400; }
.profile-row dd { font-size: .95rem; line-height: 1.65; }
.profile-row dd > span { display: block; color: var(--muted); font-size: .84rem; }
.profile-row dd a { display: inline-flex; align-items: center; min-height: 44px; }

.section-heading { display: grid; gap: 24px; margin-bottom: 36px; }
.section-summary { color: var(--body); max-width: 53ch; font-size: .93rem; line-height: 1.75; }
.section-summary span { display: block; font-size: .88rem; color: var(--muted); margin-top: 8px; }
.portfolio-grid { display: grid; gap: 20px; }
.project-card { padding: 30px 25px; border: 1px solid var(--line); background: var(--surface); border-radius: 3px; }
.project-heading { margin-bottom: 25px; }
.project-status { font-size: .82rem; color: var(--teal); line-height: 1.55; margin-bottom: 12px; }
.project-status span { display: block; color: var(--muted); font-size: .77rem; }
.project-card h3 { font-size: 1.85rem; font-weight: 600; }
.project-card h3 span { font-family: var(--font-editorial); font-size: 1.05rem; font-weight: 400; margin-left: 5px; letter-spacing: -.015em; }
.project-purpose { font-size: 1.03rem; font-weight: 600; margin-bottom: 13px; }
.project-card > p:not(.project-purpose) { color: var(--body); font-size: .95rem; line-height: 1.85; }
.feature-list { list-style: none; padding: 0; margin-top: 25px; border-top: 1px solid var(--line); }
.feature-list li { font-size: .87rem; padding-block: 9px; border-bottom: 1px solid var(--line); }
.project-card .project-english { margin-top: 26px; font-size: .88rem; line-height: 1.7; color: var(--muted); }
.project-timebox { border-top: 4px solid var(--teal); }
.project-recall { border-top: 4px solid var(--ink); }
.project-body { border-top: 4px solid var(--muted); }
.portfolio-note { display: grid; gap: 10px; margin-top: 28px; font-size: .86rem; color: var(--muted); }
.portfolio-note p + p { margin-top: 0; }

.demo-section { display: grid; gap: 35px; border-top: 1px solid var(--line); }
.demo-intro > p:not(.section-caption) { color: var(--body); max-width: 53ch; margin-top: 22px; font-size: .95rem; }
.demo-intro > p[lang="en"]:not(.section-caption) { color: var(--muted); font-size: .9rem; line-height: 1.7; }
.demo-intro .demo-scope { border-top: 1px solid var(--line); padding-top: 22px; font-size: .85rem; font-weight: 600; }
.demo-scope span { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; margin-top: 4px; }
.demo-intro .demo-privacy { font-size: .85rem; margin-top: 12px; }
.demo-intro .demo-privacy[lang="en"] { font-size: .82rem; margin-top: 3px; }
.demo-panel { border: 1px solid var(--line); background: var(--surface); padding: 25px; border-radius: 3px 3px 28px 3px; align-self: start; }
.demo-panel-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.demo-panel-header h3 { font-size: 1.15rem; font-weight: 600; }
.demo-panel-header h3 span { display: block; font-size: .86rem; font-weight: 400; margin-top: 4px; color: var(--muted); letter-spacing: 0; }
.demo-count { color: var(--teal); font-size: .9rem; white-space: nowrap; margin: 0; }
.demo-progress-label { display: block; color: var(--muted); font-size: .8rem; margin-top: 20px; }
.demo-progress-label span { margin-left: 6px; }
.demo-progress { display: block; width: 100%; height: 6px; border: 0; border-radius: 3px; margin-top: 7px; background: var(--line); color: var(--teal); accent-color: var(--teal); }
.demo-progress::-webkit-progress-bar { background: var(--line); border-radius: 3px; }
.demo-progress::-webkit-progress-value { background: var(--teal); border-radius: 3px; }
.demo-progress::-moz-progress-bar { background: var(--teal); border-radius: 3px; }
.demo-status { font-size: .8rem; color: var(--muted); line-height: 1.6; margin-top: 10px; min-height: 2.6em; }
.demo-active, .demo-complete { margin-top: 24px; }
.demo-topic { font-size: .82rem; color: var(--teal); margin-bottom: 12px; }
.demo-question { font-size: 1.24rem; font-weight: 600; line-height: 1.6; letter-spacing: -.035em; text-wrap: initial; }
.demo-question-english { font-size: .88rem; line-height: 1.65; color: var(--muted); margin-top: 9px; }
.demo-answer { background: var(--teal-soft); border-inline-start: 3px solid var(--teal); padding: 18px; margin-top: 23px; }
.demo-answer h5 { font-size: .86rem; line-height: 1.5; font-weight: 600; letter-spacing: 0; }
.demo-answer h5 span { margin-left: 5px; font-weight: 400; }
.demo-answer p { color: var(--body); font-size: .9rem; line-height: 1.8; margin-top: 10px; }
.demo-answer p[lang="en"] { color: var(--muted); font-size: .85rem; line-height: 1.65; }
.demo-button { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px; min-height: 50px; padding: 10px 15px; border: 1px solid var(--ink); border-radius: 3px; font-family: var(--font-body); font-size: .9rem; font-weight: 600; line-height: 1.4; cursor: pointer; color: var(--ink); background: var(--paper); }
.demo-button span { font-size: .8rem; font-weight: 400; }
.demo-reveal { width: 100%; margin-top: 24px; background: var(--ink); color: var(--surface); }
.demo-rating { display: flex; gap: 10px; margin-top: 10px; }
.demo-rating .demo-button { flex: 1; min-width: 0; }
.demo-remembered { background: var(--teal); color: var(--surface); border-color: var(--teal); }
.demo-button:not(:disabled):hover { border-color: var(--teal); background: var(--teal-soft); color: var(--ink); }
.demo-button:not(:disabled):active { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.demo-button:focus-visible, .demo-question:focus, #demo-result-title:focus { outline: 3px solid var(--focus); outline-offset: 5px; }
.demo-button:disabled { cursor: default; color: var(--muted); background: var(--paper); border-color: var(--line); }
.demo-complete h4 { font-size: 1.3rem; font-weight: 600; }
.demo-result-summary { color: var(--body); font-size: .91rem; margin-top: 18px; }
.demo-results { list-style: none; padding: 0; margin-top: 20px; }
.demo-results li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 15px; padding-block: 12px; border-block-start: 1px solid var(--line); font-size: .87rem; }
.demo-result-outcome { color: var(--teal); font-size: .82rem; }
.demo-noscript { color: var(--body); font-size: .85rem; margin-top: 20px; }

.direction-section { background: var(--teal-soft); }
.direction-grid { display: grid; gap: 45px; }
.direction-section .english-copy { border-color: var(--teal); }
.review-flow h3 { font-size: 1.12rem; font-weight: 600; }
.review-flow h3 span { display: block; font-size: .9rem; color: var(--muted); font-weight: 400; margin-top: 7px; letter-spacing: 0; }
.flow-list { list-style: none; padding: 0; counter-reset: review-step; margin-top: 26px; }
.flow-list li { counter-increment: review-step; position: relative; padding: 0 0 30px 44px; }
.flow-list li::before { content: counter(review-step); position: absolute; inset-block-start: 0; inset-inline-start: 0; width: 28px; height: 28px; border: 1px solid var(--teal); color: var(--teal); border-radius: 50%; text-align: center; font-size: .88rem; line-height: 26px; font-weight: 600; }
.flow-list li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 13px; inset-block-start: 36px; bottom: 8px; width: 1px; background: var(--line); }
.flow-list li:last-child { padding-bottom: 0; }
.flow-list h4 { font-size: 1.02rem; font-weight: 600; margin-bottom: 10px; }
.flow-list p { color: var(--body); font-size: .9rem; line-height: 1.8; }
.flow-list p[lang="en"] { color: var(--muted); font-size: .86rem; margin-top: 8px; line-height: 1.65; }

.contact-section { display: grid; gap: 30px; }
.contact-intro > p:not(.section-caption) { color: var(--body); font-size: .95rem; max-width: 54ch; margin-top: 18px; }
.contact-intro p[lang="en"]:not(.section-caption) { color: var(--muted); font-size: .9rem; margin-top: 8px; }
.contact-link { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; border: 1px solid var(--ink); padding: 26px 24px; align-self: center; text-decoration: none; border-radius: 3px; }
.contact-label { font-size: .88rem; color: var(--muted); }
.contact-label span { margin-left: 6px; font-size: .82rem; }
.contact-email { font-family: var(--font-editorial); font-size: clamp(1.35rem, 2.65vw, 2.15rem); line-height: 1.3; letter-spacing: -.02em; }
.contact-action { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--teal); font-size: .87rem; margin-top: 10px; }
.contact-action span[lang="en"] { font-size: .82rem; }
.contact-action span[aria-hidden="true"] { margin-left: 10px; font-size: 1.4rem; }
.contact-link:hover { border-color: var(--teal); background: var(--surface); }
.contact-link:active { background: var(--teal-soft); }
.site-footer { background: var(--ink); color: var(--footer-text); padding-block: 36px; }
.footer-content { display: grid; gap: 18px; font-size: .86rem; }
.footer-content p { margin: 0; }
.footer-content p > span { display: block; font-size: .81rem; }
.footer-brand { font-size: 1.1rem; font-weight: 600; }
.footer-brand > span { font-family: var(--font-editorial); font-weight: 400; }
.footer-content a { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 44px; justify-self: start; }
.footer-content a:hover { color: var(--surface); }
.footer-content a:active { color: var(--footer-text); }
.footer-content a:focus-visible { outline-color: var(--footer-text); }

@media (min-width: 560px) {
  .wrap { padding-inline: 36px; }
  .nav-list { gap: 18px; }
  .nav-list a { padding-inline: 4px; }
  .profile-row { grid-template-columns: 108px minmax(0, 1fr); gap: 14px; }
  .hero-note { max-width: 460px; padding: 38px; }
  .portfolio-note { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (min-width: 840px) {
  .site-header { padding-block: 30px; }
  .nav-list { gap: 24px; }
  .hero { grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); align-items: start; gap: 50px; padding-block: 64px 92px; }
  .hero-copy { padding-top: 14px; }
  .hero-note { margin-top: 0; width: 100%; max-width: none; min-height: 460px; }
  .note-title { margin-top: 46px; }
  .section-space { padding-block: 86px; }
  .company-grid { grid-template-columns: minmax(0, 1.32fr) minmax(300px, 1fr); gap: 70px; }
  .company-profile { padding: 30px; }
  .section-heading { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 50px; }
  .portfolio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .project-card { padding: 28px 22px; }
  .project-card h3 span { display: block; margin: 5px 0 0; }
  .project-heading { min-height: 128px; }
  .feature-list { margin-top: 22px; }
  .direction-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 72px; }
  .demo-section { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 70px; }
  .demo-panel { padding: 32px; }
  .review-flow { padding-top: 12px; }
  .contact-section { grid-template-columns: 1.12fr 1fr; align-items: center; gap: 55px; }
  .footer-content { grid-template-columns: 1fr 2fr auto; align-items: center; }
}

@media (min-width: 1120px) {
  .project-card { padding: 34px 30px; }
  .project-card h3 span { display: inline; margin-left: 5px; }
  .project-heading { min-height: 104px; }
}

@media (max-width: 559px) {
  .site-header { gap: 16px; }
  .site-header nav { width: 100%; }
  .nav-list { justify-content: space-between; }
  .desktop-break { display: none; }
  .hero-note { border-bottom-right-radius: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media print {
  :root { --paper: #ffffff; }
  .site-header nav, .skip-link, .text-link, .footer-content > a { display: none; }
  .section-space { padding-block: 28px; }
  .hero { padding-block: 24px; }
  .hero-note { border: 1px solid var(--line); min-height: 0; }
  .project-card, .company-profile, .review-flow { break-inside: avoid; }
  .site-footer { background: var(--surface); color: var(--ink); border-top: 1px solid var(--line); }
}
