@font-face {
  font-family: "Noto Sans KR";
  src: url("./assets/noto-sans-kr-extended.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f6f8f2;
  --white: #fff;
  --ink: #18261d;
  --muted: #526455;
  --deep: #17271d;
  --leaf: #3f623a;
  --line: #dbe3d7;
  --pale: #e7eedf;
  --lime: #d9ed9a;
  --radius: 22px;
  --shadow: 0 16px 56px #253e2411;
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: 1rem; line-height: 1.72; }
main { overflow: clip; }
section[id] { scroll-margin-top: 5.25rem; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:disabled { cursor: default; opacity: .48; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #839e42; outline-offset: 4px; }

h1, h2, h3, h4, p, figure, ol, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.24; word-break: keep-all; overflow-wrap: anywhere; }
p, dd { word-break: keep-all; overflow-wrap: break-word; }

.shell { width: min(100% - 5.5rem, 73.75rem); margin-inline: auto; }
.skip-link { position: fixed; z-index: 3; inset: .7rem auto auto .7rem; transform: translateY(-180%); padding: .65rem 1rem; border-radius: .65rem; color: #fff; background: var(--deep); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.site-header { position: sticky; z-index: 2; top: 0; border-bottom: 1px solid var(--line); background: #f6f8f2f7; }
.header-inner { min-height: 4.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; }
.identity { display: inline-flex; align-items: center; gap: .72rem; line-height: 1.32; white-space: nowrap; }
.identity strong, .identity small { display: block; }
.identity strong { font-size: 1rem; font-weight: 800; }
.identity small { margin-top: .2rem; color: var(--muted); font-size: .8rem; }
.monogram { display: grid; place-items: center; width: 2.55rem; aspect-ratio: 1; color: var(--lime); background: var(--deep); border-radius: .7rem; font-size: .95rem; font-weight: 850; }
.site-nav { display: flex; align-items: center; gap: clamp(.9rem, 3vw, 2.4rem); font-size: .94rem; font-weight: 650; white-space: nowrap; }
.site-nav a { padding-block: .55rem; color: var(--muted); }
.site-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .4em; }

.hero { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: clamp(2rem, 5.1vw, 5rem); align-items: center; padding-block: clamp(3rem, 5.25vw, 5rem); }
.hero-copy { padding-block: .5rem; }
.role { display: inline-block; border-left: 3px solid #83a446; padding-left: .75rem; margin-bottom: 1.15rem; color: #3c5b34; font-size: .96rem; font-weight: 800; letter-spacing: -.025em; }
.hero h1 { font-size: clamp(2.55rem, 4.25vw, 4.18rem); font-weight: 890; letter-spacing: -.085em; line-height: 1.19; }
.hero h1 span { display: block; }
.hero h1 span:last-child { color: #345c32; }
.hero-intro { max-width: 34rem; margin-top: 1.4rem; color: var(--muted); font-size: clamp(1rem, 1.32vw, 1.16rem); line-height: 1.82; letter-spacing: -.024em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: 1.7rem; }
.button { min-height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: .72rem; padding: .57rem 1rem; font-size: .91rem; font-weight: 750; line-height: 1.3; text-align: center; transition: background-color .17s ease, border-color .17s ease; }
.button-primary { background: var(--deep); color: #fff; }
.button-primary:hover { background: #2d4b32; }
.button-quiet { background: transparent; border-color: #cbd8c5; color: #345130; }
.button-quiet:hover { background: var(--pale); }

.hero-figure { position: relative; isolation: isolate; min-height: 27rem; aspect-ratio: 1.15; overflow: hidden; border-radius: var(--radius); background: #243c2e; box-shadow: var(--shadow); }
.hero-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 49%; }
.hero-figure figcaption { position: absolute; top: .95rem; right: .95rem; padding: .28rem .65rem; border-radius: 99px; color: #f8fff4; background: #16291fe8; font-size: .79rem; }
.hero-flow { position: absolute; inset: auto .95rem .95rem; padding: 1.05rem 1.18rem 1.13rem; border: 1px solid #b0c4a738; border-radius: 1rem; color: #f6ffed; background: #15271fe9; backdrop-filter: blur(8px); }
.hero-flow > p { color: #d3e3c2; font-size: .82rem; font-weight: 650; }
.hero-flow ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; list-style: none; padding: 0; margin-top: .75rem; }
.hero-flow li { min-width: 0; position: relative; padding-top: .7rem; border-top: 1px solid #abc08d68; }
.hero-flow li::before { content: ""; position: absolute; top: -2px; left: 0; width: .55rem; height: 3px; border-radius: 99px; background: var(--lime); }
.hero-flow li span, .hero-flow li small { display: block; }
.hero-flow li span { color: #f4faee; font-size: .93rem; font-weight: 750; }
.hero-flow li small { color: #d0dcc6; font-size: .76rem; }

.cases-section { padding-block: clamp(3rem, 5vw, 4.8rem); background: var(--white); border-block: 1px solid var(--line); }
.section-heading { margin-bottom: 1.35rem; }
.section-heading h2, .inventory-copy h2 { font-size: clamp(1.95rem, 3.27vw, 3.08rem); font-weight: 850; letter-spacing: -.07em; }
.section-heading p { margin-top: .4rem; color: var(--muted); font-size: 1rem; }

.case-tabs { display: none; }
[data-tabs-ready] .case-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .35rem; padding: .35rem; border: 1px solid var(--line); border-radius: .85rem; background: var(--paper); margin-bottom: .8rem; }
.case-tabs button { min-height: 2.85rem; padding: .52rem .5rem; border: 1px solid transparent; border-radius: .58rem; background: transparent; color: var(--muted); font-size: .92rem; font-weight: 730; line-height: 1.35; word-break: keep-all; }
.case-tabs button:hover { background: #e7eddf; color: var(--ink); }
.case-tabs button[aria-selected="true"] { background: var(--deep); color: #fff; }

.case-panel { display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr); align-items: stretch; gap: clamp(1.15rem, 3.4vw, 3rem); padding: clamp(1.1rem, 3.3vw, 3rem); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 28px #1b382010; }
.case-panel + .case-panel { margin-top: .9rem; }
[data-tabs-ready] .case-panel { margin-top: 0; }
.case-copy { align-self: center; }
.case-context { color: var(--leaf); font-size: .92rem; font-weight: 800; margin-bottom: .55rem; }
.case-copy h3 { margin-bottom: .8rem; font-size: clamp(1.42rem, 2.35vw, 2.05rem); font-weight: 830; letter-spacing: -.057em; }
.case-copy > p:not(.case-context) { color: var(--muted); line-height: 1.78; letter-spacing: -.02em; }
.case-result { margin-top: 1rem; padding-top: .7rem; border-top: 1px solid var(--line); }
.case-result strong { color: var(--leaf); margin-right: .3rem; font-weight: 820; }
.case-visual { display: grid; align-content: center; min-width: 0; padding: 1rem; border: 1px solid #d8e4d4; border-radius: 1rem; background: #f1f6ec; }
.case-visual figcaption { margin-top: .65rem; color: #526952; font-size: .81rem; text-align: center; }

.sample-plan { position: relative; min-height: 13rem; border: 1px solid #d4e0cd; border-radius: .68rem; background: repeating-linear-gradient(#c0d1bc36 0 1px, transparent 1px 1rem), repeating-linear-gradient(90deg, #c0d1bc36 0 1px, transparent 1px 1rem), #e9f1e2; }
.shirt-outline { position: absolute; inset: 11% 15% 20%; background: linear-gradient(140deg, #a9c099, #e1ecdb 62%, #bacdad); clip-path: polygon(22% 7%, 40% 0, 45% 8%, 55% 8%, 60% 0, 78% 7%, 97% 38%, 81% 55%, 72% 40%, 72% 100%, 28% 100%, 28% 40%, 19% 55%, 3% 38%); }
.measure-point { position: absolute; top: 48%; z-index: 1; width: .64rem; aspect-ratio: 1; border: 2px solid #fff; border-radius: 50%; background: #476c38; box-shadow: 0 0 0 1px #476c38; transform: translate(-50%, -50%); }
.measure-left { left: 35%; }
.measure-right { left: 57%; }
.measurement-span { position: absolute; top: 48%; left: 35%; width: 22%; border-top: 2px dashed #476c38; }
.measure-label { position: absolute; padding: .16rem .42rem; border: 1px solid #c2d2ba; border-radius: .37rem; background: #f8fcf5; color: #335435; font-size: .79rem; font-weight: 720; white-space: nowrap; }
.point-a { left: 7%; top: 56%; }
.point-b { left: 60%; top: 34%; }
.sample-ruler { position: absolute; inset: auto 16% 6% 16%; height: .8rem; border: 1px solid #b4c7a8; border-radius: .19rem; background: repeating-linear-gradient(90deg, #829e71 0 1px, transparent 1px 11px) top left / auto .35rem repeat-x, #f4faef; }

.diagram-steps { display: grid; gap: .65rem; padding: 0; list-style: none; }
.diagram-steps li { position: relative; display: grid; gap: .13rem; padding: .66rem .65rem .66rem 1.05rem; border: 1px solid #d3dfcc; border-radius: .61rem; background: #fbfdf9; }
.diagram-steps li::before { content: ""; position: absolute; inset: .66rem auto .66rem .43rem; width: .18rem; border-radius: 99px; background: #8caf74; }
.diagram-steps li:last-child { background: #e4f0dd; }
.diagram-steps li:last-child::before { background: #4f783c; }
.diagram-steps strong { color: #27452b; font-size: .93rem; line-height: 1.42; }
.diagram-steps span { color: #526952; font-size: .86rem; line-height: 1.45; }
.safety-steps li:nth-child(2)::before { background: #9b671f; }

.inventory-section { padding-block: clamp(3rem, 6vw, 5.25rem); color: #f6faf2; background: #1a2c21; }
.inventory-layout { display: grid; grid-template-columns: minmax(0, .79fr) minmax(0, 1.21fr); align-items: center; gap: clamp(1.3rem, 5vw, 4.85rem); }
.inventory-copy > p { max-width: 23rem; margin-top: .95rem; color: #d1dfcb; line-height: 1.8; }
.inventory-principle { display: grid; grid-template-columns: .65rem minmax(0, 1fr); gap: .75rem; max-width: 26rem; margin-top: 1.45rem; padding-block: .86rem; border-top: 1px solid #a8bf9850; color: #dce9d6; font-size: .91rem; }
.principle-mark { width: .5rem; height: .5rem; border-radius: 50%; background: var(--lime); margin-top: .57rem; }

.inventory-board { min-width: 0; padding: clamp(1rem, 2.7vw, 1.7rem); border: 1px solid #d6e5d2; border-radius: var(--radius); color: var(--ink); background: #f8fbf5; box-shadow: 0 20px 50px #08130c50; }
.board-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .34rem .85rem; margin-bottom: 1rem; }
.board-heading h3 { font-size: 1.24rem; font-weight: 820; letter-spacing: -.04em; }
.example-label { border: 1px solid #d4e0b0; border-radius: 99px; padding: .2rem .55rem; background: #ecf4d4; color: #435631; font-size: .79rem; font-weight: 760; }
.count-grid { display: grid; grid-template-columns: minmax(2.4rem, .55fr) repeat(2, minmax(0, 1fr)) minmax(5.2rem, 1.05fr); align-items: center; gap: clamp(.25rem, 1vw, .7rem); }
.count-head { padding: .16rem 0 .53rem; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .88rem; font-weight: 700; }
.count-row { padding-block: .48rem; border-bottom: 1px solid var(--line); }
.count-row label { min-width: 0; }
.count-row > strong { font-size: 1rem; padding-left: .15rem; }
.count-row input { width: 100%; min-width: 0; min-height: 2.45rem; padding: .34rem .37rem .34rem .57rem; border: 1px solid #bfcebb; border-radius: .48rem; color: var(--ink); background: var(--white); font-variant-numeric: tabular-nums; font-weight: 680; }
.count-row input:hover { border-color: #829d79; }
.count-row input[aria-invalid="true"] { border-color: #af5d4e; }
.delta { color: #3f6136; font-size: .88rem; font-weight: 780; }
.delta[data-state="short"], .delta[data-state="invalid"] { color: #9a4837; }
.delta[data-state="over"] { color: #855622; }
.count-chart { margin-block: .85rem .72rem; }
.chart-key { display: flex; flex-wrap: wrap; gap: .3rem .9rem; color: var(--muted); font-size: .8rem; margin-bottom: .42rem; }
.chart-key span { display: inline-flex; align-items: center; gap: .35rem; }
.chart-key span::before { content: ""; width: .65rem; height: .4rem; border-radius: 99px; background: #8ba285; }
.chart-key .key-counted::before { background: #456b3e; }
.chart-row { display: grid; grid-template-columns: 1.55rem minmax(0, 1fr); align-items: center; gap: .5rem; margin-block: .34rem; font-size: .84rem; }
.chart-tracks { min-width: 0; display: grid; gap: .18rem; }
.chart-tracks i { display: block; position: relative; height: .33rem; border-radius: 99px; background: #e5ece1; }
.chart-tracks i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--planned, 0%); border-radius: inherit; background: #8ba285; transition: width .17s ease; }
.chart-tracks i + i::after { width: var(--counted, 0%); background: #456b3e; }
.inventory-status { padding: .6rem .72rem; border-radius: .55rem; color: #443e2e; background: #f2ecdd; font-size: .86rem; font-weight: 710; }
.inventory-status[data-state="exact"] { color: #2d5638; background: #e4efde; }
.inventory-status[data-state="invalid"] { color: #874237; background: #f3e4df; }
.memo { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: .6rem 1rem; border-top: 1px solid var(--line); margin-top: .88rem; padding-top: .8rem; }
.memo h4 { color: #304e34; font-size: .9rem; }
.memo p { color: var(--muted); margin-top: .23rem; font-size: .86rem; line-height: 1.6; }
.memo-actions { display: grid; gap: .25rem; align-content: start; }
.button-copy, .button-reset { min-height: 2.2rem; padding: .36rem .58rem; font-size: .8rem; border-radius: .46rem; }
.button-copy { color: #fff; background: #355b38; }
.button-copy:hover { background: #27492b; }
.button-reset { color: var(--muted); background: #edf3e8; }
.button-reset:hover { background: #e3eddd; }
.copy-status { max-width: 6.2rem; color: var(--leaf); font-size: .78rem; line-height: 1.4; }
.copy-status:empty { display: none; }
.manual-copy { position: fixed; top: 0; left: -9999px; }

.career-section { padding-block: clamp(3rem, 6vw, 5.35rem); }
.career-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1rem, 4.2vw, 4.4rem); align-items: start; }
.subheading { margin-bottom: .77rem; font-weight: 820; font-size: 1.28rem; letter-spacing: -.042em; }
.career-list > div { padding: .87rem 0; border-top: 1px solid var(--line); }
.career-list > div:last-child { border-bottom: 1px solid var(--line); }
.career-list dt { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .15rem .8rem; }
.career-list dt strong { font-weight: 800; }
.career-list dt span { color: var(--muted); font-size: .83rem; font-variant-numeric: tabular-nums; }
.career-list dd { margin-top: .29rem; color: var(--muted); }
.preparation { padding: 1.2rem 1.3rem; border: 1px solid #d4e2cb; border-radius: var(--radius); background: #eaf1e4; }
.preparation > p { color: var(--muted); }
.preparation-list { margin-top: .75rem; }
.preparation-list > div { display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: .65rem; padding-block: .5rem; border-top: 1px solid #d5e0d0; }
.preparation-list dt { color: var(--leaf); font-weight: 820; font-size: .9rem; }
.preparation-list dd { color: var(--muted); font-size: .92rem; }
.preparation .work-availability { margin-top: .56rem; font-weight: 770; font-size: .91rem; color: #345132; }

.site-footer { padding-block: 1.1rem; border-top: 1px solid var(--line); background: #edf2e9; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.footer-inner p { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .8rem; color: var(--muted); font-size: .9rem; }
.footer-inner strong { color: var(--ink); }
.footer-inner a { color: var(--leaf); font-size: .89rem; font-weight: 700; white-space: nowrap; }
.footer-inner a:hover { text-decoration: underline; text-underline-offset: .3em; }

@media (max-width: 950px) {
  .shell { width: min(100% - 3rem, 73.75rem); }
  .hero { gap: 1.45rem; }
  .hero-figure { min-height: 21.5rem; }
  .hero h1 { font-size: clamp(2.24rem, 4.55vw, 3.65rem); }
  .hero-flow { inset: auto .72rem .72rem; padding: .8rem .87rem; }
}

@media (max-width: 720px) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { min-height: 4.2rem; }
  .identity { gap: .48rem; }
  .identity small { display: none; }
  .monogram { width: 2.08rem; border-radius: .51rem; }
  .site-nav { gap: .7rem; font-size: .84rem; }
  .hero, .inventory-layout, .career-layout { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-block: 2rem; gap: 1.4rem; }
  .hero h1 { font-size: clamp(2.3rem, 7.7vw, 3.67rem); }
  .hero-figure { aspect-ratio: 1.18; min-height: 19rem; }
  .hero-intro { margin-top: 1rem; }
  .hero-actions { margin-top: 1.15rem; }
  .case-panel { grid-template-columns: minmax(0, 1fr); }
  .case-visual { min-height: 10.7rem; padding: .72rem; }
  .sample-plan { min-height: 10.5rem; }
  .section-heading { margin-bottom: 1rem; }
  .inventory-copy h2 br { display: none; }
  .inventory-principle { margin-top: 1rem; padding-bottom: 0; }
}

@media (max-width: 380px) {
  .shell { width: calc(100% - 1.5rem); }
  .site-nav { gap: .5rem; font-size: .78rem; }
  .header-inner { gap: .55rem; }
  .identity strong { font-size: .91rem; }
  .hero h1 { font-size: 2.12rem; }
  [data-tabs-ready] .case-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .count-grid { grid-template-columns: minmax(2.2rem, .55fr) repeat(2, minmax(0, 1fr)) minmax(4.6rem, .95fr); }
  .memo { grid-template-columns: minmax(0, 1fr); }
  .memo-actions { display: flex; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}

@media print {
  :root, body { background: #fff; color: #18261d; }
  .shell { width: 100%; }
  .site-header { position: static; }
  .site-nav, .skip-link, .hero-actions, [data-tabs-ready] .case-tabs, .memo-actions, .footer-inner a { display: none; }
  .hero, .inventory-layout, .career-layout { gap: 1rem; padding-block: 1rem; }
  .hero-figure { min-height: 13rem; box-shadow: none; }
  .cases-section, .inventory-section, .career-section { padding-block: 1rem; }
  .case-panel[hidden] { display: grid !important; }
  .case-panel { break-inside: avoid; margin-bottom: .5rem; box-shadow: none; }
  .inventory-section, .inventory-copy > p, .inventory-principle { background: #fff; color: var(--ink); }
  .inventory-board { box-shadow: none; }
}
