/* Hallmark · genre: modern-minimal (warm corporate) · macrostructure: Photographic + Split Studio (home) / Long Document (sub pages) · design-system: redesign/page_plan.md · designed-as-app */

/* ── 기본 ── */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--color-ink); background: var(--color-paper); line-height: 1.65; font-size: var(--text-base); word-break: keep-all; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-style: normal; margin: 0; line-height: 1.2; letter-spacing: -0.025em; overflow-wrap: anywhere; min-width: 0; word-break: keep-all; }
h2 { font-size: var(--text-2xl); font-weight: 800; }
h3 { font-size: var(--text-lg); font-weight: 800; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
.nowrap { white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 1.5rem); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--color-ink); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; } }

/* ── 버튼 ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.9rem 1.6rem; border-radius: var(--radius-btn); font-weight: 700; font-size: var(--text-sm); white-space: nowrap; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.2; transition: background var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out); }
.btn-primary { background: var(--color-accent); color: var(--color-accent-ink); box-shadow: 0 8px 24px -10px oklch(52% 0.16 243 / 0.7); }
.btn-primary:hover { background: var(--color-accent-strong); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-primary[disabled] { background: var(--color-ink-3); box-shadow: none; cursor: not-allowed; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.75); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }
.btn-soft { background: var(--color-accent-soft); color: var(--color-accent); }
.btn-soft:hover { background: oklch(91% 0.05 243); }
.btn-outline { border-color: var(--color-rule-2); color: var(--color-ink); background: #fff; }
.btn-outline:hover { border-color: var(--color-ink); }
.btn-white { background: #fff; color: var(--color-accent); }
.btn-white:hover { background: oklch(96% 0.01 243); }
.btn-sm { padding: 0.6rem 1.1rem; font-size: var(--text-xs); }
.eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; font-size: var(--text-sm); font-weight: 700; color: var(--color-accent); }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--color-accent); }
.link { font-weight: 700; color: var(--color-accent); }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── 헤더·메뉴 ── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--color-rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: var(--space-md); }
.logo img { height: 40px; width: auto; }
.site-nav { display: flex; align-items: center; gap: var(--space-lg); }
.menu { display: flex; gap: 2.2rem; font-weight: 700; font-size: 1.02rem; }
.menu-item { position: relative; }
.menu-link { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.6rem 0; border-bottom: 2px solid transparent; transition: color var(--dur) var(--ease-out); }
.menu-link::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); opacity: 0.6; }
.menu-item:hover > .menu-link, .menu-item:focus-within > .menu-link { color: var(--color-accent); }
.menu-item.is-active > .menu-link { border-bottom-color: var(--color-accent); }
.sub { position: absolute; top: 100%; left: -14px; min-width: 200px; margin-top: 6px; padding: 0.5rem; background: #fff; border: 1px solid var(--color-rule); border-radius: 12px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility var(--dur); }
.menu-item:hover > .sub, .menu-item:focus-within > .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.sub a { display: block; padding: 0.6rem 0.8rem; border-radius: 8px; font-weight: 500; font-size: 0.95rem; white-space: nowrap; }
.sub a:hover { background: var(--color-accent-soft); color: var(--color-accent); }
.sub a[aria-current="page"] { color: var(--color-accent); font-weight: 700; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border-radius: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--color-ink); border-radius: 2px; transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1120px) { .menu { gap: 1.4rem; font-size: 0.95rem; } }
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .site-nav { position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100dvh - var(--header-h)); background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 1.25rem 2rem; overflow-y: auto; transform: translateX(100%); transition: transform var(--dur) var(--ease-out); z-index: 49; }
  body.nav-open .site-nav { transform: translateX(0); }
  body.nav-open { overflow: hidden; }
  .menu { flex-direction: column; gap: 0; font-size: 1.05rem; }
  .menu-item { border-bottom: 1px solid var(--color-rule); padding: 0.4rem 0; }
  .menu-link { display: block; padding: 0.8rem 0; border-bottom: 0; }
  .menu-link::after { display: none; }
  .menu-item.is-active > .menu-link { color: var(--color-accent); }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0.6rem 0.9rem; margin: 0; min-width: 0; display: grid; }
  .sub a { font-size: 0.98rem; padding: 0.5rem 0.6rem; }
  .nav-cta { margin-top: 1.25rem; width: 100%; }
}

/* ── 서브 페이지 머리 ── */
.page-head { background: var(--color-paper); border-bottom: 1px solid var(--color-rule); padding: var(--space-lg) 0 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; font-size: var(--text-xs); color: var(--color-ink-3); margin-bottom: var(--space-sm); }
.crumbs i { font-style: normal; }
.crumbs [aria-current] { color: var(--color-ink-2); font-weight: 600; }
.page-head h1 { font-size: var(--text-display-s); font-weight: 800; }
.page-head .lede { margin-top: 0.8rem; color: var(--color-ink-2); font-size: var(--text-md); max-width: 60ch; }
.subnav { margin-top: var(--space-lg); }
.subnav ul { display: flex; gap: 1.6rem; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: inline-block; padding: 0.8rem 0; font-weight: 600; color: var(--color-ink-2); border-bottom: 2px solid transparent; white-space: nowrap; }
.subnav a:hover { color: var(--color-ink); }
.subnav a[aria-current="page"] { color: var(--color-accent); border-bottom-color: var(--color-accent); }

/* ── 섹션 공통 ── */
.sec { padding: var(--space-3xl) 0; }
.sec-tight { padding: var(--space-2xl) 0; }
.sec-soft { background: var(--color-paper-2); }
.sec-dark { background: var(--color-dark); color: var(--color-on-dark); }
.sec-dark .eyebrow { color: oklch(85% 0.07 243); }
.sec-dark .eyebrow::before { background: oklch(85% 0.07 243); }
.sec-head { max-width: 62ch; margin-bottom: var(--space-xl); }
.sec-head h2 { margin-top: 0.8rem; }
.sec-head .lede, .lede { color: var(--color-ink-2); max-width: 56ch; margin-top: 0.9rem; font-size: var(--text-md); }
.sec-dark .lede { color: var(--color-on-dark-2); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .lede { margin-left: auto; margin-right: auto; }
.note { font-size: var(--text-sm); color: var(--color-ink-3); margin-top: var(--space-md); }

/* ── 홈 히어로 ── */
.hero { position: relative; min-height: clamp(560px, 86svh, 820px); display: flex; align-items: center; color: #fff; background: var(--color-dark); isolation: isolate; }
.hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6, 18, 30, 0.84) 0%, rgba(6, 18, 30, 0.56) 42%, rgba(6, 18, 30, 0.12) 100%); z-index: -1; }
.hero .wrap { padding-top: var(--space-2xl); padding-bottom: calc(var(--space-2xl) + 90px); width: 100%; }
.hero .eyebrow { color: oklch(88% 0.07 243); }
.hero .eyebrow::before { background: oklch(88% 0.07 243); }
.hero h1 { font-size: var(--text-display); font-weight: 800; max-width: 15ch; margin: var(--space-sm) 0 var(--space-md); text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25); }
.hero p { max-width: 44ch; font-size: var(--text-md); color: oklch(93% 0.005 250); margin-bottom: var(--space-lg); }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ── 사진 바로가기 타일 ── */
.strip { margin-top: -90px; position: relative; z-index: 2; }
.strip ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.strip li { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--color-paper-2); box-shadow: var(--shadow); }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.strip li:hover img { transform: scale(1.04); }
.strip a { position: absolute; inset: 0; display: flex; align-items: flex-end; }
.strip .cap { width: 100%; padding: 2.4rem 1.2rem 1.1rem; background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0)); color: #fff; display: flex; justify-content: space-between; align-items: flex-end; gap: 0.5rem; }
.strip .cap b { display: block; font-size: var(--text-md); font-weight: 700; }
.strip .cap span { font-size: var(--text-xs); color: rgba(255, 255, 255, 0.82); }
.strip .cap i { font-style: normal; font-weight: 700; font-size: 1.1rem; }

/* ── 수치 카드 ── */
.stats { padding: var(--space-2xl) 0 var(--space-xl); }
.stats ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.stats li { padding: 1.4rem 1.5rem; border-radius: var(--radius); background: var(--color-paper-2); }
.stats .n { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.stats .n small { font-size: 1.05rem; margin-left: 0.15rem; color: var(--color-ink-2); font-weight: 600; }
.stats .l { display: block; margin-top: 0.7rem; font-size: var(--text-sm); color: var(--color-ink-2); }
.stats .g { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.6rem; font-size: var(--text-xs); font-weight: 700; color: var(--color-leaf); }
.stats .g.warn { color: var(--color-amber); }
.stats .bar { height: 6px; border-radius: 999px; background: #fff; margin-top: 0.8rem; overflow: hidden; }
.stats .bar i { display: block; height: 100%; background: var(--color-leaf); border-radius: 999px; }
.stats .bar i.amber { background: var(--color-amber); }

/* ── 2분할 ── */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: center; }
.split.rev > :first-child { order: 2; }
.split.even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split h2 { margin-top: 0.8rem; }
.split figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--color-rule); }
.split figcaption { padding: 0.75rem 1rem; font-size: var(--text-xs); color: var(--color-ink-2); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.live { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--color-leaf); font-weight: 700; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--color-leaf); }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.tall { aspect-ratio: 4 / 5; }

/* ── 번호 목록 ── */
.list { margin-top: var(--space-lg); display: grid; gap: 1.1rem; }
.list li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.list .no { width: 40px; height: 40px; border-radius: 50%; background: var(--color-accent-soft); color: var(--color-accent); font-weight: 800; display: grid; place-items: center; font-size: var(--text-sm); }
.list b { display: block; font-weight: 700; font-size: var(--text-md); }
.list span { color: var(--color-ink-2); font-size: var(--text-sm); }

/* ── 사진 인용 띠 ── */
.band { position: relative; min-height: 440px; display: flex; align-items: center; color: #fff; isolation: isolate; background: var(--color-dark); }
.band .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; z-index: -2; }
.band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.2)); z-index: -1; }
.band .wrap { padding-top: var(--space-2xl); padding-bottom: var(--space-2xl); }
.band blockquote { margin: 0; font-size: clamp(1.5rem, 2.4vw + 0.5rem, 2.3rem); font-weight: 700; line-height: 1.35; max-width: 22ch; letter-spacing: -0.02em; }
.band p { max-width: 52ch; margin-top: 1rem; color: rgba(255, 255, 255, 0.88); }

/* ── 카드 그리드 ── */
.cards { display: grid; gap: 1.25rem; margin-top: var(--space-xl); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--color-rule); overflow: hidden; display: flex; flex-direction: column; }
.card.lift { transition: transform var(--dur) var(--ease-out); }
.card.lift:hover { transform: translateY(-4px); }
.card .ph { aspect-ratio: 16 / 10; background: var(--color-paper-2); overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .tx { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.card h3 { font-size: var(--text-lg); }
.card p { font-size: var(--text-sm); color: var(--color-ink-2); }
.card .more { margin-top: auto; padding-top: 0.6rem; font-weight: 700; color: var(--color-accent); font-size: var(--text-sm); }
.tag { display: inline-block; width: fit-content; font-size: 0.75rem; font-weight: 700; color: var(--color-accent); background: var(--color-accent-soft); padding: 0.25rem 0.6rem; border-radius: 999px; }
.tag.leaf { color: var(--color-leaf); background: var(--color-leaf-soft); }
.tag.amber { color: oklch(55% 0.14 70); background: var(--color-amber-soft); }
.card-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--color-accent-soft); color: var(--color-accent); display: grid; place-items: center; margin-bottom: 0.4rem; }
.card-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sec-soft .card { box-shadow: var(--shadow-sm); border-color: transparent; }

/* ── 기본 정보 표 ── */
.info-table { width: 100%; border-collapse: collapse; margin-top: var(--space-lg); background: #fff; border: 1px solid var(--color-rule); border-radius: var(--radius); overflow: hidden; }
.info-table th, .info-table td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--color-rule); vertical-align: top; font-size: var(--text-sm); }
.info-table th { width: 160px; background: var(--color-paper-2); font-weight: 700; white-space: nowrap; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }

/* ── 비전·미션 ── */
.vision-statement { font-size: clamp(1.7rem, 3vw + 0.5rem, 3rem); font-weight: 800; line-height: 1.3; letter-spacing: -0.03em; max-width: 24ch; }
.vision-statement em { font-style: normal; color: var(--color-accent); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: var(--space-xl); }
.pillar { background: #fff; border-radius: var(--radius); padding: 1.8rem 1.6rem; box-shadow: var(--shadow-sm); border: 1px solid var(--color-rule); }
.pillar .no { font-size: var(--text-sm); font-weight: 800; color: var(--color-accent); }
.pillar h3 { margin: 0.6rem 0 0.6rem; }
.pillar p { color: var(--color-ink-2); font-size: var(--text-sm); }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: var(--space-xl); }
.values li { padding: 1.5rem; border-radius: var(--radius); background: var(--color-paper-2); }
.values b { display: block; font-size: var(--text-md); margin-bottom: 0.4rem; }
.values span { font-size: var(--text-sm); color: var(--color-ink-2); }
.phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: var(--space-xl); border: 1px solid var(--color-rule); border-radius: var(--radius); overflow: hidden; background: #fff; }
.phases li { padding: 1.6rem; border-right: 1px solid var(--color-rule); }
.phases li:last-child { border-right: 0; }
.phases .when { font-size: var(--text-xs); font-weight: 700; color: var(--color-accent); }
.phases b { display: block; font-size: var(--text-md); margin: 0.4rem 0 0.4rem; }
.phases span { font-size: var(--text-sm); color: var(--color-ink-2); }

/* ── 단계(작동 방식·도입 절차) ── */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: var(--space-xl); }
.step { background: #fff; border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--color-rule); box-shadow: var(--shadow-sm); position: relative; }
.step .no { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--color-accent); color: #fff; font-weight: 800; font-size: var(--text-sm); }
.step h3 { font-size: var(--text-md); margin: 0.9rem 0 0.5rem; }
.step p { font-size: var(--text-sm); color: var(--color-ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.9rem; }
.chips span { font-size: 0.72rem; font-weight: 600; border: 1px solid var(--color-rule-2); border-radius: 999px; padding: 0.15rem 0.55rem; color: var(--color-ink-2); }

/* ── 비교표 ── */
.table-scroll { overflow-x: auto; margin-top: var(--space-xl); border-radius: var(--radius); border: 1px solid var(--color-rule); background: #fff; }
.compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: var(--text-sm); }
.compare th, .compare td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--color-rule); vertical-align: top; }
.compare thead th { font-size: var(--text-xs); font-weight: 700; background: var(--color-paper-2); }
.compare thead th.new { color: var(--color-accent); background: var(--color-accent-soft); }
.compare tbody th { font-weight: 700; white-space: nowrap; width: 140px; background: var(--color-paper-2); }
.compare td { color: var(--color-ink-2); }
.compare td.new { color: var(--color-ink); background: oklch(97% 0.015 243); }
.compare td.new strong { color: var(--color-accent); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }

/* ── 모듈 목록 ── */
.module-list { display: grid; gap: 0.75rem; margin-top: var(--space-xl); }
.module-list li { display: grid; grid-template-columns: 56px 220px 1fr; gap: 1rem; align-items: center; padding: 1.1rem 1.4rem; background: #fff; border: 1px solid var(--color-rule); border-radius: var(--radius-sm); }
.module-list .m-no { font-weight: 800; color: var(--color-accent); font-size: var(--text-sm); }
.module-list .m-name { font-weight: 700; }
.module-list .m-desc { font-size: var(--text-sm); color: var(--color-ink-2); }
.module-list li.hl { border-color: var(--color-accent); background: var(--color-accent-soft); }

/* ── 관제 화면 탭 ── */
.tabs { display: flex; gap: 0.4rem; flex-wrap: wrap; padding: 0.4rem; background: var(--color-paper-2); border-radius: 999px; width: fit-content; max-width: 100%; margin-top: var(--space-xl); }
.tab { border: 0; background: transparent; padding: 0.65rem 1.1rem; border-radius: 999px; font: inherit; font-weight: 700; font-size: var(--text-sm); color: var(--color-ink-2); cursor: pointer; display: inline-flex; align-items: center; gap: 0.45rem; }
.tab svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.tab[aria-selected="true"] { background: #fff; color: var(--color-ink); box-shadow: var(--shadow-sm); }
.tab .b { font-size: 0.7rem; background: var(--color-error); color: #fff; border-radius: 999px; padding: 0.05rem 0.4rem; }
.screen-stage { position: relative; aspect-ratio: 1800 / 1250; margin-top: 1.25rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-rule); background: #fff; box-shadow: var(--shadow); }
.screen-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity 0.25s; }
.screen-stage img.on { opacity: 1; }
.screen-panel { display: none; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.25rem; padding: 1.4rem 1.6rem; background: #fff; border: 1px solid var(--color-rule); border-radius: var(--radius); }
.screen-panel.on { display: grid; }
.screen-panel h3 { font-size: var(--text-md); margin-bottom: 0.4rem; }
.screen-panel p { font-size: var(--text-sm); color: var(--color-ink-2); }
.kv { padding: 0.8rem 1rem; background: var(--color-paper-2); border-radius: var(--radius-sm); font-size: var(--text-sm); }
.kv b { display: block; font-size: var(--text-xs); color: var(--color-ink-3); margin-bottom: 0.2rem; }
.crops { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: var(--space-xl); }
.crop { background: #fff; border: 1px solid var(--color-rule); border-radius: var(--radius); overflow: hidden; }
.crop .img { aspect-ratio: 16 / 9; background: var(--color-paper-2); overflow: hidden; }
.crop .img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.crop .txt { padding: 1.2rem 1.4rem 1.4rem; }
.crop h3 { font-size: var(--text-md); margin-bottom: 0.4rem; }
.crop p { font-size: var(--text-sm); color: var(--color-ink-2); }

/* ── 검증 지표 ── */
.metric-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: var(--space-lg); }
.metric { background: #fff; border: 1px solid var(--color-rule); border-radius: var(--radius-sm); padding: 1.1rem 1.3rem; }
.metric b { display: block; font-size: var(--text-xs); color: var(--color-ink-2); font-weight: 600; margin-bottom: 0.4rem; }
.metric .v { font-size: 1.9rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.metric .bar { height: 6px; border-radius: 999px; background: var(--color-paper-3); margin-top: 0.8rem; overflow: hidden; }
.metric .bar i { display: block; height: 100%; background: var(--color-leaf); border-radius: 999px; }
.metric .g { font-size: var(--text-xs); color: var(--color-leaf); font-weight: 700; margin-top: 0.5rem; }
.metric .g.warn { color: oklch(55% 0.14 70); }
.figs { display: grid; gap: 1rem; }
.figs figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-rule); background: #fff; box-shadow: var(--shadow-sm); }
.figs img { width: 100%; }
.figs figcaption { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 1rem; font-size: var(--text-xs); color: var(--color-ink-2); }
.figs figcaption b { color: var(--color-ink); }

/* ── 로드맵 ── */
.roadmap { margin-top: var(--space-xl); display: grid; gap: 0; position: relative; }
.roadmap li { display: grid; grid-template-columns: 220px 1fr; gap: var(--space-lg); padding: 1.5rem 0; border-top: 1px solid var(--color-rule); }
.roadmap li:last-child { border-bottom: 1px solid var(--color-rule); }
.roadmap .r-date { font-weight: 800; display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-start; }
.roadmap .r-body strong { display: block; font-size: var(--text-md); margin-bottom: 0.3rem; }
.roadmap .r-body { color: var(--color-ink-2); font-size: var(--text-sm); }
.roadmap .r-body ul { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.7rem; }
.roadmap .r-body ul li { display: inline-block; padding: 0.2rem 0.6rem; background: var(--color-paper-2); border-radius: 999px; border: 0; font-size: var(--text-xs); }
.chip { display: inline-block; font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 999px; }
.chip-ok { background: var(--color-leaf-soft); color: var(--color-leaf); }
.chip-warn { background: var(--color-amber-soft); color: oklch(55% 0.14 70); }
.chip-muted { background: var(--color-paper-3); color: var(--color-ink-2); }
.roadmap li.now { background: oklch(98% 0.01 243); margin: 0 calc(-1 * var(--space-md)); padding-left: var(--space-md); padding-right: var(--space-md); border-radius: var(--radius-sm); }

/* ── 지도·장소 ── */
.places { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: var(--space-xl); }
.place { background: #fff; border: 1px solid var(--color-rule); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.place .map { aspect-ratio: 16 / 10; background: var(--color-paper-2); position: relative; }
.place .map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.place .tx { padding: 1.4rem 1.5rem 1.5rem; display: grid; gap: 0.5rem; }
.place h3 { font-size: var(--text-lg); }
.place .addr { font-size: var(--text-sm); color: var(--color-ink-2); }
.place .meta { font-size: var(--text-sm); display: grid; gap: 0.25rem; }
.place .meta b { color: var(--color-ink-2); font-weight: 600; margin-right: 0.4rem; }
.map-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.6rem; }
.map-wide { aspect-ratio: 21 / 9; min-height: 320px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-rule); position: relative; margin-top: var(--space-xl); box-shadow: var(--shadow-sm); }
.map-wide iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ── 문의 ── */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: start; }
.contact-info { margin-top: var(--space-lg); display: grid; gap: 0.9rem; }
.contact-info li { display: grid; grid-template-columns: 110px 1fr; gap: 0.75rem; font-size: var(--text-sm); padding-bottom: 0.9rem; border-bottom: 1px solid var(--color-rule); }
.contact-info .k { color: var(--color-ink-3); font-weight: 600; }
.form-card { background: #fff; border: 1px solid var(--color-rule); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: var(--text-sm); font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: 0.8rem 0.95rem; border: 1px solid var(--color-rule-2); border-radius: var(--radius-sm); background: #fff; color: var(--color-ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--color-focus); outline-offset: 0; border-color: var(--color-accent); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--color-error); }
.field textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: var(--text-xs); color: var(--color-ink-3); }
.form-error { display: none; font-size: var(--text-sm); color: var(--color-error); padding: 0.8rem 1rem; background: oklch(96% 0.03 25); border-radius: var(--radius-sm); }
.form-error.on { display: block; }
.form-error a { text-decoration: underline; }
.form-done { background: var(--color-leaf-soft); border-radius: var(--radius); padding: 2.5rem; text-align: center; }
.form-done h3 { color: var(--color-leaf); margin-bottom: 0.5rem; }

/* ── 본문 문서 ── */
.prose { max-width: 72ch; }
.prose h2 { font-size: var(--text-lg); margin: var(--space-xl) 0 0.7rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--color-ink-2); font-size: var(--text-sm); }
.prose p + p { margin-top: 0.7rem; }
.prose ul, .prose ol { padding-left: 1.2rem; margin-top: 0.5rem; display: grid; gap: 0.3rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose table { width: 100%; border-collapse: collapse; margin-top: 0.8rem; font-size: var(--text-sm); }
.prose th, .prose td { border: 1px solid var(--color-rule); padding: 0.6rem 0.8rem; text-align: left; vertical-align: top; }
.prose th { background: var(--color-paper-2); }

/* ── 상담 띠 ── */
.cta-band { background: var(--color-accent); color: #fff; padding: var(--space-2xl) 0; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: var(--space-lg); flex-wrap: wrap; }
.cta-band h2 { font-size: var(--text-xl); }
.cta-band p { margin-top: 0.4rem; color: oklch(94% 0.03 243); }

/* ── 푸터 ── */
.site-footer { background: var(--color-dark); color: var(--color-on-dark-2); padding: var(--space-2xl) 0 var(--space-lg); font-size: var(--text-sm); }
.ft-top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: var(--space-xl); padding-bottom: var(--space-xl); border-bottom: 1px solid oklch(38% 0.02 255); }
.ft-brand img { height: 36px; width: auto; margin-bottom: 1rem; }
.ft-tagline { color: var(--color-on-dark); font-weight: 600; margin-bottom: 0.8rem; }
.ft-info { line-height: 1.85; }
.ft-info b { color: var(--color-on-dark); font-weight: 700; }
.ft-info a:hover { color: #fff; text-decoration: underline; }
.ft-top h4 { color: var(--color-on-dark); font-size: var(--text-sm); margin-bottom: 0.8rem; font-weight: 700; }
.ft-top ul { display: grid; gap: 0.45rem; }
.ft-top ul a:hover { color: #fff; }
.ft-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: var(--space-md); font-size: var(--text-xs); }

/* ── 404 ── */
.notfound { text-align: center; padding: var(--space-3xl) 0; }
.notfound .code { font-size: 5rem; font-weight: 800; color: var(--color-accent); letter-spacing: -0.04em; line-height: 1; }
.notfound .links { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-top: var(--space-lg); }

/* ── 반응형 ── */
@media (max-width: 960px) {
  .split, .split.even, .contact, .places { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .strip ul, .stats ul, .cards-3, .cards-4, .pillars, .values, .crops, .phases { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .screen-panel { grid-template-columns: 1fr 1fr; }
  .ft-top { grid-template-columns: 1fr 1fr; }
  .ft-brand { grid-column: 1 / -1; }
  .roadmap li { grid-template-columns: 1fr; gap: 0.6rem; }
  .module-list li { grid-template-columns: 48px 1fr; }
  .module-list .m-desc { grid-column: 2; }
  .phases li { border-right: 0; border-bottom: 1px solid var(--color-rule); }
  .sec { padding: var(--space-2xl) 0; }
}
@media (max-width: 640px) {
  .strip ul, .stats ul, .cards-2, .cards-3, .cards-4, .pillars, .values, .crops, .steps, .screen-panel, .phases, .metric-grid { grid-template-columns: 1fr; }
  .strip li { aspect-ratio: 16 / 9; }
  .strip { margin-top: -60px; }
  .hero .wrap { padding-bottom: calc(var(--space-2xl) + 60px); }
  .ft-top { grid-template-columns: 1fr; }
  .form-card { padding: 1.4rem; }
  .contact-info li { grid-template-columns: 1fr; gap: 0.2rem; }
  .cta-band .btn { width: 100%; }
  .roadmap li.now { margin: 0; }
}
