/* 티에스팀 — 딥그린 · 아이보리 · 브론즈 (디자인 2 계승)
   색 · 글꼴은 :root 토큰만 고치면 전체가 바뀐다 */
@font-face { font-family: "Pretendard"; src: url("../fonts/PretendardVariable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ivory: #f5f2ea;
  --paper: #fbfaf6;
  --ink: #16201d;
  --muted: #5d6762;
  --line: #ddd7ca;
  --deep: #0e2a23;
  --deep-2: #143a30;
  --on-deep: #eeeadf;
  --on-deep-muted: #a9b5ae;
  --bronze: #b08d57;
  --bronze-soft: #d9c39b;
  --radius: 4px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Pretendard", -apple-system, "Malgun Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.7; word-break: keep-all; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.3; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; }
.muted { color: var(--muted); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--bronze); margin-bottom: 14px; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 46em; }
.note { font-size: 13px; color: var(--muted); margin-top: 28px; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: var(--radius); font-weight: 600; font-size: 15px; text-decoration: none; transition: background .2s, color .2s, border-color .2s; cursor: pointer; font-family: inherit; }
.btn i { font-style: normal; }
.btn-solid { background: var(--deep); color: var(--on-deep); }
.btn-solid:hover { background: var(--deep-2); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-ghost { border-color: currentColor; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* 머리 */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,250,246,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin: 0; }
.logo strong { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.logo span { font-size: 9px; line-height: 1.3; letter-spacing: .14em; color: var(--muted); border-left: 1px solid var(--line); padding-left: 12px; }
.gnb { display: flex; align-items: center; gap: 30px; }
.gnb a:not(.btn) { text-decoration: none; font-weight: 600; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
.gnb a:not(.btn):hover, .gnb a[aria-current] { border-color: var(--bronze); }
.gnb .btn { min-height: 42px; padding: 8px 18px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .2s; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* 홈 히어로 */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: center; background: var(--deep); color: var(--on-deep); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10,30,25,.92) 0%, rgba(10,30,25,.6) 45%, rgba(10,30,25,.1) 100%); }
.hero-in { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 80px; }
.hero h1 { font-size: clamp(38px, 6.4vw, 76px); font-weight: 700; margin-bottom: 26px; }
.hero .lead { color: var(--on-deep-muted); margin-bottom: 36px; max-width: 34em; }
.hero .eyebrow { color: var(--bronze-soft); }
.hero .btn-solid { background: var(--paper); color: var(--deep); }
.hero .btn-solid:hover { background: #fff; }
.img-note { position: absolute; z-index: 2; right: var(--gutter); bottom: 16px; margin: 0; font-size: 11px; color: rgba(238,234,223,.7); }

/* 하위 제목 띠 */
.page-head { position: relative; background: var(--deep); color: var(--on-deep); padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 7vw, 88px); overflow: hidden; }
.page-head.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.page-head.has-img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10,30,25,.95), rgba(10,30,25,.55)); }
.page-head .wrap { position: relative; z-index: 2; }
.page-head h1 { font-size: clamp(34px, 5vw, 58px); margin-bottom: 18px; }
.page-head .lead { color: var(--on-deep-muted); }
.page-head .eyebrow { color: var(--bronze-soft); }

/* 섹션 공통 */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.tint { background: var(--ivory); }
.section.dark { background: var(--deep); color: var(--on-deep); }
.section.dark .lead, .section.dark .note { color: var(--on-deep-muted); }
.section.dark .eyebrow { color: var(--bronze-soft); }
.sec-title { margin-bottom: clamp(32px, 5vw, 56px); }
.sec-title h2 { font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 14px; }
.sec-title.center { text-align: center; }
.sec-title.center .lead { margin: 0 auto; }
.more { margin-top: 40px; }

/* 숫자 띠 */
.stats { background: var(--ivory); border-bottom: 1px solid var(--line); }
.stats-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats-in > div { padding: 34px 20px; border-left: 1px solid var(--line); }
.stats-in > div:first-child { border-left: 0; padding-left: 0; }
.stats .num { margin: 0 0 4px; display: flex; align-items: baseline; gap: 4px; }
.stats b { font-size: clamp(32px, 4vw, 48px); font-weight: 700; font-family: var(--serif); color: var(--deep); line-height: 1; }
.stats .num span { font-weight: 600; color: var(--bronze); }
.stats p { color: var(--muted); font-size: 14px; }

/* 솔루션 카드 */
.sol-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sol-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.sol-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(14,42,35,.35); }
.sol-img { aspect-ratio: 16/9; overflow: hidden; background: var(--deep); }
.sol-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.sol-card:hover .sol-img img { transform: scale(1.04); }
.sol-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.en { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--bronze); margin-bottom: 8px; text-transform: uppercase; }
.sol-body h3 { font-size: 21px; margin-bottom: 8px; }
.sol-body p { color: var(--muted); font-size: 15px; }
.sol-body .go { margin-top: auto; padding-top: 16px; font-weight: 600; font-size: 14px; color: var(--deep); }

/* 실적 카드 */
.pj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pj-card { margin: 0; }
.pj-img { position: relative; aspect-ratio: 16/10; overflow: hidden; border-radius: var(--radius); background: var(--deep-2); }
.pj-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pj-ph { display: flex; align-items: flex-end; height: 100%; padding: 20px; background: linear-gradient(135deg, var(--deep-2), var(--deep)); color: var(--on-deep-muted); font-family: var(--serif); font-size: 20px; }
.tag { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 20px; background: rgba(14,42,35,.75); color: var(--on-deep); backdrop-filter: blur(4px); }
.tag.real { background: rgba(176,141,87,.92); color: #1a140a; }
.pj-card figcaption { padding: 14px 2px 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.pj-card figcaption > * { min-width: 0; overflow-wrap: anywhere; }
.pj-card .yr { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--bronze); }
.section.dark .pj-card .yr { color: var(--bronze-soft); }
.pj-card strong { font-size: 18px; }
.pj-card .scope { font-size: 14px; color: var(--muted); }
.section.dark .pj-card .scope { color: var(--on-deep-muted); }
.pj-card small { font-size: 11px; color: var(--muted); opacity: .85; }
.pj-open { display: block; text-decoration: none; color: inherit; border-radius: var(--radius); }
a.pj-open:hover .pj-img img { transform: scale(1.05); }
a.pj-open .pj-img::after { content: "⤢"; position: absolute; right: 12px; bottom: 10px; color: #fff; font-size: 18px; opacity: 0; transition: opacity .2s; }
a.pj-open:hover .pj-img::after { opacity: 1; }

/* 연도별 갤러리 */
.years { padding-top: 0; }
.year-bar { position: sticky; top: 72px; z-index: 20; background: rgba(251,250,246,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.year-bar-in { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; padding-bottom: 12px; }
.year-nav, .field-filter { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.year-nav a { flex: none; text-decoration: none; font-family: var(--serif); font-size: 17px; padding: 4px 12px; border-radius: 20px; }
.year-nav a:hover, .year-nav a.on { background: var(--deep); color: var(--on-deep); }
.field-filter button { flex: none; font: inherit; font-size: 13px; padding: 5px 13px; border: 1px solid var(--line); background: #fff; border-radius: 20px; cursor: pointer; }
.field-filter button.on { background: var(--bronze); border-color: var(--bronze); color: #1a140a; font-weight: 600; }
.year { padding-top: 56px; padding-bottom: 24px; }
.year-head { display: flex; align-items: baseline; gap: 20px; border-bottom: 1px solid var(--ink); padding-bottom: 14px; margin-bottom: 28px; }
.year-head h2 { font-family: var(--serif); font-size: clamp(44px, 6vw, 72px); font-weight: 400; line-height: 1; }
.year-head p { margin: 0; color: var(--muted); }
.year-head b { color: var(--deep); font-size: 20px; }
.gallery .pj-open:first-child { grid-column: span 2; grid-row: span 2; }
.gallery .pj-open:first-child .pj-img { aspect-ratio: 16/11.2; }
.gallery .pj-open:first-child strong { font-size: 22px; }
.pj-open.hide { display: none; }
.empty-msg { color: var(--muted); padding: 20px 0; }
.year-list { margin-top: 32px; border-top: 1px solid var(--line); }
.year-list summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--deep); list-style: none; }
.year-list summary::-webkit-details-marker { display: none; }
.year-list summary::before { content: "+"; display: inline-block; width: 22px; font-weight: 400; }
.year-list[open] summary::before { content: "–"; }
.year-list ul { columns: 3; column-gap: 32px; padding: 0 0 20px; margin: 0; list-style: none; font-size: 14px; }
.year-list li { break-inside: avoid; padding: 5px 0; border-bottom: 1px dotted var(--line); }
.year-list li.hide { display: none; }
.year-list .f { display: inline-block; min-width: 76px; font-size: 11px; color: var(--bronze); }

.lightbox { border: 0; padding: 0; max-width: min(1200px, 94vw); width: 100%; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(6,18,15,.92); }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; border-radius: var(--radius); }
.lightbox figcaption { color: var(--on-deep); padding-top: 14px; display: grid; gap: 2px; }
.lightbox figcaption b { font-size: 20px; }
.lightbox figcaption small { color: var(--on-deep-muted); }
.lightbox button { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 28px; cursor: pointer; line-height: 1; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-close { top: -58px; right: 0; }
.lb-prev { left: -64px; top: 38%; }
.lb-next { right: -64px; top: 38%; }

.bars { list-style: none; padding: 0 var(--gutter); margin: 0 auto; display: grid; gap: 14px; }
.bars li { display: grid; grid-template-columns: 110px 1fr 50px; align-items: center; gap: 16px; }
.bars i { display: block; height: 12px; width: var(--w); max-width: 100%; background: linear-gradient(90deg, var(--deep), var(--bronze)); border-radius: 6px; }
.bars b { font-family: var(--serif); font-size: 20px; text-align: right; }

/* 과정 · 표준 · 브랜드 · 인증 */
.process { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 0 auto; }
.process li { padding: 28px 22px 0 0; border-top: 2px solid var(--ink); margin-right: 18px; }
.process span, .stages .no { font-family: var(--serif); font-size: 30px; color: var(--bronze); display: block; margin-bottom: 10px; }
.process h3 { font-size: 19px; margin-bottom: 8px; }
.process p { font-size: 15px; color: var(--muted); }
.std-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.std { background: #fff; border: 1px solid var(--line); padding: 32px; border-radius: var(--radius); }
.std h3 { font-family: var(--serif); font-size: 34px; font-weight: 400; color: var(--deep); }
.std p:last-child { color: var(--muted); font-size: 15px; }
.brand-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 0 auto; padding: 0; max-width: calc(var(--wrap) - 2 * var(--gutter)); }
.brand-grid li { background: var(--paper); padding: 30px; display: grid; gap: 2px; }
.brand-grid strong { font-size: 24px; letter-spacing: .04em; }
.brand-grid span { font-size: 12px; color: var(--bronze); font-weight: 600; letter-spacing: .1em; }
.brand-grid p { color: var(--muted); font-size: 15px; margin-top: 6px; }
.brand-grid.compact { grid-template-columns: repeat(9, minmax(0, 1fr)); }
.brand-grid.compact li { padding: 26px 8px; text-align: center; }
.brand-grid.compact strong { font-size: 15px; color: var(--muted); }
.cert-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding: 0 var(--gutter); margin: 0 auto; }
.cert-grid li { background: #fff; border-top: 3px solid var(--deep); padding: 26px; }
.cert-grid h3 { font-size: 17px; margin-bottom: 10px; }
.cert-grid b { font-family: var(--serif); font-weight: 400; font-size: 18px; color: var(--deep); }
.cert-grid p { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* CTA */
.cta { background: var(--deep-2); color: var(--on-deep); padding: clamp(56px, 7vw, 88px) 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 10px; }
.cta p { color: var(--on-deep-muted); }
.cta .eyebrow { color: var(--bronze-soft); }
.cta .btn-solid { background: var(--paper); color: var(--deep); }

/* 회사소개 */
.greet-in { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 96px); }
.greet-head h2 { font-size: clamp(30px, 3.8vw, 46px); position: sticky; top: 110px; }
.greet-body p { font-size: 17px; line-height: 1.95; margin-bottom: 1.3em; }
.greet-body .sign { margin-top: 40px; text-align: right; color: var(--muted); }
.greet-body .sign b { font-size: 22px; color: var(--ink); margin-left: 10px; letter-spacing: .3em; }
.info-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; }
.info { margin: 0; border-top: 2px solid var(--ink); }
.info > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info dt { font-weight: 700; }
.info dd { margin: 0; color: var(--muted); }
.org { text-align: center; }
.org-ceo { display: inline-block; background: var(--deep); color: var(--on-deep); font-weight: 700; padding: 12px 40px; border-radius: var(--radius); margin-bottom: 30px; position: relative; }
.org-ceo::after { content: ""; position: absolute; left: 50%; top: 100%; height: 30px; border-left: 1px solid var(--bronze); }
.org-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; border-top: 1px solid var(--bronze); padding-top: 20px; }
.org-dept h3 { font-size: 15px; background: var(--ivory); padding: 10px 6px; margin-bottom: 8px; }
.org-dept ul { list-style: none; padding: 0; margin: 0; font-size: 13px; color: var(--muted); }
.org-dept li { padding: 4px 0; }
.map-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.map-grid img { border: 1px solid var(--line); border-radius: var(--radius); }
.map-grid h3 { font-size: 22px; margin-bottom: 12px; }

/* 솔루션 상세 */
.sol-intro { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; margin-bottom: 56px; }
.lead-lg { font-size: clamp(19px, 2vw, 24px); line-height: 1.7; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; justify-content: flex-end; }
.chips li { border: 1px solid var(--ink); padding: 6px 14px; border-radius: 20px; font-weight: 700; font-size: 13px; letter-spacing: .06em; }
.chips .std-chip { border-color: var(--bronze); color: var(--bronze); }
.feat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 0 auto; padding: 0; max-width: calc(var(--wrap) - 2 * var(--gutter)); }
.feat { background: var(--paper); padding: 36px; }
.feat span { font-family: var(--serif); color: var(--bronze); font-size: 22px; }
.feat h3 { font-size: 21px; margin: 8px 0 10px; }
.feat p { color: var(--muted); }
.dl-one { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; }
.dl-one img { border-radius: var(--radius); box-shadow: 0 24px 50px -24px rgba(14,42,35,.5); }
.dl-one h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 12px; }
.dl-one .btn { margin-top: 12px; }
.size { margin-left: 12px; font-size: 13px; }

/* 엔지니어링 */
.stages { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0 auto; }
.stages > li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.stages h3 { font-size: 20px; margin-bottom: 8px; }
.stages > li > p { color: var(--muted); font-size: 15px; }
.out { list-style: none; padding: 16px 0 0; margin: auto 0 0; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; gap: 6px; }
.out li { font-size: 12px; font-weight: 600; background: var(--ivory); color: var(--deep); padding: 4px 10px; border-radius: 3px; }
.out li::before { content: "▸ "; color: var(--bronze); }
.arch { display: grid; gap: 0; margin-bottom: 56px; }
.arch-row { display: grid; grid-template-columns: 180px 1fr; align-items: center; gap: 20px; }
.arch-label { margin: 0; font-weight: 700; font-size: 17px; }
.arch-label span { font-family: var(--serif); color: var(--bronze-soft); margin-right: 10px; font-weight: 400; }
.arch-row ul { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 0; margin: 0; }
.arch-row li { border: 1px solid rgba(217,195,155,.35); background: rgba(255,255,255,.04); padding: 14px 10px; text-align: center; border-radius: var(--radius); font-weight: 600; font-size: 15px; }
.arch-row.bus li { border-color: var(--bronze); background: rgba(176,141,87,.16); }
.arch-link { height: 26px; margin-left: 200px; background: linear-gradient(var(--bronze-soft), var(--bronze-soft)) center / 1px 100% no-repeat; position: relative; }
.arch-link::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); border: 5px solid transparent; border-top-color: var(--bronze-soft); }
.auto-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.auto-grid > div { padding: 24px; border-top: 1px solid rgba(217,195,155,.25); }
.auto-grid h3 { font-size: 17px; color: var(--bronze-soft); margin-bottom: 6px; }
.auto-grid p { color: var(--on-deep-muted); font-size: 14px; }
.table-wrap { overflow-x: auto; }
.scope { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
.scope th, .scope td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.scope thead th { border-bottom: 2px solid var(--ink); font-size: 14px; }
.scope tbody th { width: 130px; }
.scope .ts { background: rgba(176,141,87,.09); font-weight: 600; }
.scope thead .ts { color: var(--deep); }
.support-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 80px); }
.support-grid h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 16px; }
.rnd { background: var(--deep); color: var(--on-deep); padding: 40px; border-radius: var(--radius); align-self: start; }
.rnd .eyebrow { color: var(--bronze-soft); }
.rnd p { color: var(--on-deep-muted); }
.support { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.support h3 { font-size: 17px; margin-bottom: 4px; }
.support p { font-size: 15px; color: var(--muted); }

/* 자료실 */
.dl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.dl-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.dl-img { aspect-ratio: 16/9; overflow: hidden; background: var(--deep); }
.dl-img img { width: 100%; height: 100%; object-fit: cover; }
.dl-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.dl-body h3 { font-size: 20px; margin-bottom: 6px; }
.dl-body > p { color: var(--muted); font-size: 15px; }
.dl-meta { font-size: 13px; margin-top: auto !important; padding-top: 12px; }
.dl-body .btn { margin-top: 14px; align-self: flex-start; }
.dl-card.featured { grid-column: 1 / -1; flex-direction: row; background: var(--deep); color: var(--on-deep); border: 0; }
.dl-card.featured .dl-img { flex: 1.2; aspect-ratio: 16/9; }
.dl-card.featured .dl-body { flex: 1; padding: clamp(28px, 4vw, 48px); justify-content: center; }
.dl-card.featured h3 { font-size: clamp(26px, 3vw, 36px); }
.dl-card.featured .en { color: var(--bronze-soft); }
.dl-card.featured .dl-body > p { color: var(--on-deep-muted); }
.dl-card.featured .dl-meta { margin-top: 8px !important; }
.dl-card.featured .btn-solid { background: var(--paper); color: var(--deep); }

/* 상담 */
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.form { display: grid; gap: 18px; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend, .form label { font-weight: 600; font-size: 14px; }
.form label b { color: var(--bronze); }
.form input:not([type=checkbox]), .form textarea { display: block; width: 100%; margin-top: 6px; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font: inherit; font-weight: 400; font-size: 16px; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--bronze); outline-offset: 1px; border-color: transparent; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.chips-input { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chips-input label { cursor: pointer; }
.chips-input input { position: absolute; opacity: 0; }
.chips-input span { display: inline-block; border: 1px solid var(--line); background: #fff; padding: 8px 14px; border-radius: 20px; font-weight: 500; }
.chips-input input:checked + span { background: var(--deep); color: var(--on-deep); border-color: var(--deep); }
.chips-input input:focus-visible + span { outline: 2px solid var(--bronze); }
.hp { position: absolute; left: -9999px; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; color: var(--muted); }
.agree input { margin-top: 5px; }
.form .btn { justify-self: start; }
.form-msg { min-height: 1.5em; font-weight: 600; color: var(--deep); }
.contact-side { background: var(--ivory); padding: 36px; border-radius: var(--radius); }
.contact-side h2 { font-size: 22px; margin-bottom: 12px; }
.contact-side .big { font-family: var(--serif); font-size: 32px; margin-bottom: 8px; }
.contact-side .big a, .contact-side a { text-decoration: none; }
.contact-side hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.contact-side h3 { font-size: 16px; margin-bottom: 10px; }
.check { padding-left: 18px; margin: 0 0 12px; color: var(--muted); font-size: 15px; }

.prose { max-width: 820px; }
.prose h3 { font-size: 18px; margin: 32px 0 8px; }

/* 꼬리 */
.site-footer { background: #0a1f1a; color: var(--on-deep-muted); padding: 56px 0 28px; font-size: 14px; }
.footer-in { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 32px; }
.site-footer .logo strong { color: var(--on-deep); }
.site-footer .logo span { border-color: rgba(255,255,255,.2); color: var(--on-deep-muted); }
.site-footer .muted { color: var(--on-deep-muted); margin-top: 12px; }
.site-footer address { font-style: normal; line-height: 1.9; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--on-deep); }
.footer-nav { display: grid; gap: 6px; justify-items: start; }
.footer-nav b { color: var(--on-deep); }
.copy { margin-top: 40px; padding-top: 20px !important; border-top: 1px solid rgba(255,255,255,.08); font-size: 12px; }

/* 반응형 */
@media (max-width: 1080px) {
  .gnb { gap: 20px; }
  .brand-grid.compact { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
}
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .gnb { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; display: none; }
  .gnb.open { display: flex; }
  .gnb a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .gnb .btn { margin-top: 16px; justify-content: center; }
  .sol-grid, .pj-grid, .dl-grid, .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .std-grid, .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-in > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats-in > div { border-top: 1px solid var(--line); }
  .stats-in > div:nth-child(-n+2) { border-top: 0; }
  .greet-in, .info-grid, .map-grid, .sol-intro, .dl-one, .support-grid, .contact-grid, .footer-in { grid-template-columns: minmax(0, 1fr); }
  .greet-head h2 { position: static; }
  .chips { justify-content: flex-start; }
  .year-list ul { columns: 2; }
  .dl-card.featured { flex-direction: column; }
  .arch-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .arch-link { margin-left: 0; }
  .auto-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lb-prev { left: 4px; top: auto; bottom: -62px; }
  .lb-next { right: 4px; top: auto; bottom: -62px; }
}
@media (max-width: 600px) {
  .sol-grid, .pj-grid, .dl-grid, .stages, .std-grid, .cert-grid, .feat-grid, .row2, .support, .auto-grid, .org-row { grid-template-columns: minmax(0, 1fr); }
  .gallery .pj-open:first-child { grid-column: auto; grid-row: auto; }
  .gallery .pj-open:first-child .pj-img { aspect-ratio: 16/10; height: auto; min-height: 0; }
  .process { grid-template-columns: minmax(0, 1fr); }
  .process li { margin-right: 0; }
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-grid.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand-grid li { padding: 20px; }
  .year-list ul { columns: 1; }
  .arch-row ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info > div { grid-template-columns: 90px 1fr; }
  .bars li { grid-template-columns: 86px 1fr 40px; gap: 10px; font-size: 14px; }
  .hero::before { background: linear-gradient(180deg, rgba(10,30,25,.55), rgba(10,30,25,.92)); }
  .feat { padding: 26px; }
  .logo span { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.tag.own { background: var(--paper); color: var(--deep); }
.dl-card.featured { align-items: center; }
.dl-card.featured .dl-img { align-self: center; width: 100%; }
@media (min-width: 901px) { .dl-card.featured .dl-img { margin: 24px 0 24px 24px; border-radius: var(--radius); } }
