:root {
  color-scheme: light;
  --paper: #f7f8f2;
  --ink: #18251f;
  --muted: #4e6057;
  --line: #cbd3c8;
  --white: #fff;
  --blue: #233f9a;
  --ice: #e7edf8;
  --lime: #e6f394;
  --pine: #203a32;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  font-size: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.65; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible, summary:focus-visible { outline: 3px solid #3360e0; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.055em; word-break: keep-all; }
p { word-break: keep-all; overflow-wrap: anywhere; }
img { display: block; max-width: 100%; }
.shell { width: min(1184px, calc(100% - 2 * clamp(20px, 6vw, 80px))); margin-inline: auto; }
.skip { position: absolute; z-index: 2; top: 10px; left: 12px; padding: .6rem 1rem; background: var(--white); transform: translateY(-200%); }
.skip:focus { transform: none; }

.site-header { min-height: 78px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.2rem; border-bottom: 1px solid var(--line); }
.site-header a { text-decoration: none; }
.site-header a:hover { text-decoration: underline; }
.brand { justify-self: start; display: inline-flex; align-items: center; gap: .65rem; font-weight: 800; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 33px; height: 33px; background: var(--pine); color: var(--lime); border-radius: 8px 8px 8px 2px; font: 800 .72rem/1 system-ui, sans-serif; }
.brand small { margin-left: .28rem; color: var(--muted); font-size: .76rem; font-weight: 500; }
.site-header nav { display: flex; align-items: center; gap: clamp(.8rem, 3vw, 2.2rem); color: var(--muted); font-size: .88rem; font-weight: 700; white-space: nowrap; }
.header-contact { justify-self: end; white-space: nowrap; font-size: .85rem; font-weight: 800; }
.header-contact span { padding-left: .2rem; color: var(--blue); }

.hero { display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: clamp(2.1rem, 4.2vw, 4.5rem); padding-block: clamp(4rem, 7vw, 6.7rem) clamp(3.75rem, 6vw, 5.65rem); }
.role { display: inline-flex; align-items: center; gap: .48rem; padding: .27rem .68rem; background: var(--lime); color: #263827; font-size: .86rem; font-weight: 800; }
.role span { width: .48rem; height: .48rem; border-radius: 100%; background: var(--pine); }
.hero h1 { margin: .42rem 0 .86rem; font-size: clamp(4.5rem, 8.4vw, 7.7rem); font-weight: 850; letter-spacing: -.095em; }
.hero-lead { font-size: clamp(1.23rem, 2vw, 1.72rem); line-height: 1.46; font-weight: 780; letter-spacing: -.055em; }
.hero-proof { margin-top: .7rem; max-width: 29ch; color: var(--muted); font-size: .95rem; }
.button { display: inline-flex; gap: .85rem; align-items: center; margin-top: 1.5rem; padding: .62rem .9rem .62rem 1rem; min-height: 43px; background: var(--pine); border: 1px solid var(--pine); color: var(--white); border-radius: 5px; font-size: .88rem; font-weight: 750; text-decoration: none; }
.button span { color: var(--lime); }
.button:hover { background: #315249; }
.hero-media { min-width: 0; padding: 9px; background: #e4e8e0; border-radius: 14px; }
.hero-shot { position: relative; border-radius: 8px; overflow: hidden; background: #bbc9d8; }
.hero-shot img { width: 100%; height: auto; aspect-ratio: 8/5; object-fit: cover; }
.image-tag { position: absolute; bottom: 12px; left: 12px; padding: .24rem .54rem; background: var(--paper); color: var(--ink); border-radius: 3px; font-size: .71rem; font-weight: 800; }
.hero-media figcaption { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .2rem 1rem; padding: .52rem .36rem .12rem; font-size: .8rem; color: #3b5044; }
.hero-media figcaption strong { font-size: .97rem; font-weight: 850; color: var(--ink); }
.caption-divider { padding-inline: .25rem; }

.section { border-top: 1px solid var(--line); padding-block: clamp(2.8rem, 5.7vw, 5rem); }
.section-top { display: flex; justify-content: space-between; align-items: end; gap: .75rem 2rem; flex-wrap: wrap; }
.section-kicker { display: flex; align-items: center; gap: .6rem; font: 750 .78rem/1.3 system-ui, "Malgun Gothic", sans-serif; color: var(--blue); }
.section-kicker span { padding-left: .6rem; border-left: 1px solid var(--line); color: var(--muted); }
.section h2 { margin-top: .5rem; font-size: clamp(2.1rem, 5.2vw, 4.25rem); font-weight: 810; }
.project-date { color: var(--muted); font-size: .85rem; font-weight: 650; }
.project-date span { padding-inline: .25rem; color: #6b7d72; }
.section-lead { margin-top: .7rem; font-size: clamp(1.02rem, 1.65vw, 1.27rem); letter-spacing: -.027em; }
.role-line { margin-top: .8rem; color: var(--muted); font-size: .91rem; }
.role-line strong { margin-right: .55rem; color: var(--ink); }
.ski-evidence { display: grid; grid-template-columns: 1.8fr 1fr; margin-top: 1.5rem; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--white); }
.ski-steps { display: grid; grid-template-columns: .82fr 1.18fr; align-items: stretch; }
.ski-steps > div { padding: clamp(1rem, 2.5vw, 2.05rem); }
.ski-steps > div + div { border-left: 1px solid var(--line); }
.step-label { display: block; margin-bottom: .5rem; color: var(--blue); font-size: .78rem; font-weight: 800; }
.ski-steps p { font-weight: 680; line-height: 1.56; letter-spacing: -.025em; }
.fps { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 1rem clamp(1rem, 2.65vw, 2.15rem); color: var(--blue); background: var(--ice); }
.fps > span { font-size: .78rem; font-weight: 750; }
.fps strong { white-space: nowrap; margin-block: .07em .11em; font: 800 clamp(2.3rem, 5.1vw, 4.35rem)/.95 system-ui, sans-serif; letter-spacing: -.07em; }
.fps small { font-size: .41em; letter-spacing: -.02em; }
.source-note { margin-block: .65rem 1.15rem; color: var(--muted); font-size: .81rem; }
.source-note a { white-space: nowrap; color: var(--blue); }

.disclosure { border-top: 1px solid var(--line); }
.disclosure:last-child { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 46px; padding-block: .65rem; cursor: pointer; font-size: .91rem; font-weight: 780; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 1.55rem; height: 1.55rem; border: 1px solid var(--line); border-radius: 100%; color: var(--blue); font: 700 1.1rem/1 system-ui, sans-serif; }
details[open] > summary::after { content: "−"; }
summary:hover { color: var(--blue); }
.details-body { padding: .45rem 0 1.25rem; font-size: .91rem; color: var(--muted); }
.detail-grid, .example-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem 2rem; margin-bottom: 1.1rem; }
.details-body h3 { margin-bottom: .35rem; color: var(--ink); font-size: 1rem; }
.schedule { margin-bottom: 1.25rem; }
.schedule ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; padding: 0; margin: .6rem 0 0; list-style: none; }
.schedule li { display: grid; padding: .5rem .65rem; border-top: 2px solid #9baee4; background: var(--ice); font-size: .82rem; }
.schedule li > :first-child { color: var(--blue); font-size: .73rem; font-weight: 800; }
.text-link { display: inline-flex; align-items: baseline; gap: .35rem; color: var(--blue); font-size: .87rem; font-weight: 780; }

.workflow { counter-reset: stages; display: grid; grid-template-columns: repeat(4, 1fr); margin-block: 1.5rem 1.2rem; border: 1px solid var(--line); border-radius: 10px; background: #f0f3e8; }
.workflow-item { position: relative; min-width: 0; padding: clamp(1rem, 2.2vw, 1.75rem); }
.workflow-item + .workflow-item { border-left: 1px solid var(--line); }
.workflow-item:not(:last-child)::after { content: "→"; position: absolute; z-index: 1; top: 50%; right: 0; transform: translate(50%,-50%); display: grid; place-items: center; width: 23px; height: 23px; border: 1px solid var(--line); border-radius: 100%; background: var(--paper); color: var(--pine); font: 750 .9rem/1 system-ui, sans-serif; }
.workflow-label { display: inline-block; color: var(--muted); font-size: .76rem; font-weight: 750; }
.workflow-label::before { counter-increment: stages; content: counter(stages, decimal-leading-zero) " "; color: var(--blue); font: 800 .75rem/1 system-ui, sans-serif; margin-right: .3rem; }
.workflow h3 { margin-top: .3rem; font-size: clamp(1rem, 1.65vw, 1.28rem); }
.workflow p { margin-top: .42rem; font-size: .88rem; color: var(--muted); }
.example-note { margin-bottom: .5rem; font-size: .78rem; color: var(--blue); font-weight: 750; }
.example-grid { grid-template-columns: repeat(3, 1fr); padding: 1rem; border-radius: 8px; background: var(--ice); }
.plugin-list { display: grid; gap: .6rem; padding: 0; margin: 0; list-style: none; }
.plugin-list li { display: grid; grid-template-columns: 10rem 1fr; gap: .25rem .8rem; }
.plugin-list strong { color: var(--ink); }

.decision { display: grid; grid-template-columns: 1fr auto .75fr; align-items: center; gap: clamp(.7rem, 2.2vw, 1.75rem); margin-top: 1.4rem; padding: clamp(.85rem, 2.4vw, 1.9rem); border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.options { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.options li { padding: .19rem .65rem; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); font-size: .89rem; font-weight: 720; }
.decision-arrow { color: var(--blue); font-size: 1.25rem; }
.chosen { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: .6rem; min-width: 0; background: var(--lime); padding: .7rem .85rem; border-radius: 5px; }
.chosen .step-label { grid-column: 1/-1; margin-bottom: .15rem; color: var(--pine); }
.chosen strong { font-size: 1.34rem; line-height: 1.12; white-space: nowrap; }
.chosen > span:last-child { color: #354d38; font-size: .81rem; font-weight: 650; }
.decision-note { margin-top: .65rem; max-width: 71ch; font-size: .91rem; color: var(--muted); }
.team-tools { display: grid; grid-template-columns: auto 1fr; gap: .65rem 1.4rem; padding-top: 1.1rem; margin-top: 1.4rem; border-top: 1px solid var(--line); }
.team-tools h3 { padding-top: .25rem; font-size: .93rem; }
.team-tools ul { display: flex; flex-wrap: wrap; gap: .65rem 1.2rem; list-style: none; padding: 0; margin: 0; }
.team-tools li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .4rem; color: var(--muted); font-size: .8rem; }
.team-tools strong { color: var(--ink); }

.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; margin-top: 1.35rem; }
.work-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: clamp(1.1rem, 2.6vw, 2rem); border: 1px solid var(--line); border-top: 3px solid #9baee4; border-radius: 8px; background: var(--white); }
.work-card + .work-card { border-top-color: #9cba9d; }
.work-type { color: var(--muted); font-size: .75rem; font-weight: 720; }
.work-card h3 { margin: .3rem 0 .5rem; font-size: clamp(1.32rem, 2.55vw, 2rem); }
.work-card > p:not(.work-type, .work-stat) { margin-bottom: .8rem; color: var(--muted); font-size: .93rem; }
.mini-flow { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .4rem; padding: 0; margin: 0 0 .65rem; list-style: none; font-size: .75rem; font-weight: 750; color: var(--pine); }
.mini-flow li + li::before { content: "→"; margin-right: .4rem; color: var(--blue); }
.work-stat { display: flex; align-items: baseline; flex-wrap: wrap; gap: .12rem .65rem; margin-top: auto; color: var(--muted); font-size: .79rem; }
.work-stat strong { color: var(--blue); font-size: 1.58rem; letter-spacing: -.06em; }
.compact { width: 100%; margin-top: .6rem; }
.compact:last-child { border-bottom: 0; }
.compact summary { min-height: 39px; padding-bottom: 0; font-size: .82rem; }
.link-row { display: flex; flex-wrap: wrap; gap: .5rem 1rem; padding-bottom: 0; color: var(--blue); }

.contact { background: var(--pine); color: var(--white); }
.contact-inner { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; padding-block: clamp(1.8rem, 4.7vw, 3.8rem); }
.contact-label { color: var(--lime); font-size: .82rem; font-weight: 750; }
.contact h2 { margin-top: .2rem; font-size: clamp(2rem, 5vw, 3.45rem); }
.contact-links { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; font-size: .88rem; }
.contact-links span { color: var(--lime); }
.contact a:focus-visible { outline-color: var(--lime); }
.site-footer { display: flex; justify-content: space-between; gap: 1rem; padding-block: .9rem; color: var(--muted); font-size: .76rem; }

@media (max-width: 880px) {
  .desktop-break { display: none; }
  .hero h1 { font-size: clamp(4rem, 9.8vw, 6rem); }
  .hero { gap: 1.6rem; }
  .workflow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workflow-item:nth-child(3) { border-left: 0; }
  .workflow-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .workflow-item:nth-child(2)::after { display: none; }
}
@media (max-width: 620px) {
  .site-header { min-height: 60px; grid-template-columns: auto 1fr; gap: .55rem; }
  .site-header nav { justify-self: end; gap: clamp(.55rem, 2.5vw, 1rem); font-size: .76rem; }
  .brand { gap: .4rem; font-size: .9rem; }
  .brand-mark { width: 27px; height: 27px; font-size: .62rem; }
  .brand small, .header-contact { display: none; }
  .hero { grid-template-columns: 1fr; gap: 1.12rem; padding-block: 1.6rem 2.35rem; }
  .hero h1 { margin-block: .3rem .55rem; font-size: clamp(3.55rem, 14vw, 5.8rem); }
  .hero-proof { max-width: none; margin-top: .38rem; font-size: .87rem; }
  .button { margin-top: .85rem; }
  .hero-media { padding: 6px; border-radius: 10px; }
  .hero-shot { border-radius: 5px; }
  .hero-media figcaption { padding-top: .28rem; font-size: .74rem; }
  .hero-media figcaption strong { font-size: .84rem; }
  .image-tag { bottom: 7px; left: 7px; font-size: .66rem; }
  .section { padding-block: 2.45rem; }
  .section-top { align-items: start; }
  .ski-evidence, .work-grid { grid-template-columns: 1fr; }
  .ski-steps > div { padding: .85rem .75rem; }
  .ski-steps p { font-size: .88rem; }
  .fps { border-top: 1px solid var(--line); }
  .detail-grid, .example-grid { grid-template-columns: 1fr; gap: .65rem; }
  .schedule ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plugin-list li { grid-template-columns: 1fr; gap: 0; }
  .team-tools { grid-template-columns: 1fr; }
  .team-tools ul { display: grid; gap: .3rem; }
  .decision { grid-template-columns: 1fr auto 1fr; }
  .chosen { grid-template-columns: 1fr; }
  .chosen > span:last-child { margin-top: .18rem; }
}
@media (max-width: 360px) {
  .role { font-size: .75rem; }
  .options li { padding-inline: .36rem; font-size: .8rem; }
  .workflow-item { padding-inline: .75rem; }
  .workflow p { font-size: .82rem; }
}
@media print {
  .site-header, .button, .site-footer, .skip { display: none; }
  .shell { width: 100%; }
  .hero, .section, .contact-inner { padding-block: 1.15rem; }
  .section, .work-card { break-inside: avoid; }
}


