/* TEXON Cooling Solution: coolant-loop schematic world.
   Paper ground, ink linework, supply blue / return red used only where the parts themselves carry those bands. */

:root {
  --paper: #EEF1F4;
  --paper-2: #E4E9EE;
  --sheet: #F8FAFC;
  --ink: #0F1F33;
  --ink-2: #35465C;
  --ink-3: #5F7088;
  --line: #C6D0DB;
  --line-2: #A9B6C4;
  --supply: #235FA8;      /* TEXON Blue (CI 매뉴얼 06장 공식값) */
  --supply-ink: #1B4A86;
  --texon-green: #94CE22; /* TEXON Green: 로고 지구 심볼 전용. 상태 표시나 넓은 배경에 쓰지 않음 */
  --return: #C8362B;
  --return-ink: #A12A21;
  --metal: #8B96A3;
  --on-supply: #FFFFFF;
  --focus: #2F6FD6;
  --ok: #1F7A4D;
  --shadow: 0 10px 30px -14px rgba(15, 31, 51, .28);
  --radius: 2px;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --sans: "Archivo", "Noto Sans KR", system-ui, -apple-system, "Segoe UI", sans-serif;
  --cond: "Archivo", "Noto Sans KR", system-ui, sans-serif;
  --head-h: 68px;
  color-scheme: light;
}
/* The site is a paper drawing sheet; there is no dark rendition of the world. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  accent-color: var(--supply);
}
::selection { background: var(--supply); color: var(--on-supply); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
a { color: var(--supply-ink); text-decoration-thickness: 1px; text-underline-offset: .18em; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.015em; text-wrap: balance; font-weight: 600; }
p { margin: 0; }
:lang(ko) h1, :lang(ko) h2, :lang(ko) h3, :lang(ko) p, :lang(ko) dt, :lang(ko) dd, :lang(ko) label, :lang(ko) li { word-break: keep-all; overflow-wrap: anywhere; }
.muted { color: var(--ink-3); }
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(1280px, 100% - 32px); margin-inline: auto; }
@media (min-width: 760px) { .wrap { width: min(1280px, 100% - 64px); } }

.skip { position: absolute; left: 16px; top: -48px; padding: 10px 14px; background: var(--ink); color: var(--paper); z-index: 100; border-radius: var(--radius); }
.skip:focus { top: 12px; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); }
.head-row { height: var(--head-h); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; padding-block: 8px; }
/* 시그니처 원본 비율 4.22:1 고정. 클리어 스페이스 ½X는 좌우 gap과 header 여백으로 확보 */
.brand-logo { height: 36px; width: auto; display: block; }
.brand-text { display: inline-grid; line-height: 1; padding-left: 14px; border-left: 1px solid var(--line-2); }
.brand-text span { font-size: 12.5px; color: var(--ink-2); letter-spacing: .02em; font-weight: 500; }
.site-link { color: var(--ink-2); text-decoration: none; }
.site-link svg { width: 14px; height: 14px; }
.site-link[hidden] { display: none; }
.main-nav { display: flex; gap: 4px; justify-content: center; }
.main-nav a { position: relative; padding: 10px 12px; color: var(--ink-2); text-decoration: none; font-size: 14.5px; font-weight: 500; border-radius: var(--radius); }
.main-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: var(--supply); transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--ease-out); }
.main-nav a[aria-current="page"] { color: var(--ink); }
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .main-nav a:hover { color: var(--ink); } }
.head-tools { display: flex; align-items: center; gap: 6px; }
.tool { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; background: transparent; border: 1px solid transparent; border-radius: var(--radius); font-size: 13.5px; font-weight: 500; cursor: pointer; transition: transform 160ms var(--ease-out), background 160ms ease, border-color 160ms ease; position: relative; }
.tool-icon { width: 38px; padding: 0; justify-content: center; }
.tool svg { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) { .tool:hover { background: var(--paper-2); border-color: var(--line); } }
.tool:active { transform: scale(.96); }
.count { position: absolute; top: 3px; right: 3px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--supply); color: var(--on-supply); font-size: 10.5px; font-weight: 700; display: grid; place-items: center; }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .head-row { grid-template-columns: auto 1fr; }
  .menu-btn { display: inline-flex; }
  .main-nav { position: absolute; left: 0; right: 0; top: var(--head-h); flex-direction: column; padding: 8px 16px 16px; background: var(--paper); border-bottom: 1px solid var(--line); display: none; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 8px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .head-tools { justify-self: end; }
  #langBtn { padding: 0 10px; }
  .brand-logo { height: 30px; }
  .brand-text { display: none; }
  .site-link span { display: none; }
  .site-link { width: 38px; padding: 0; justify-content: center; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: var(--radius); border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform 160ms var(--ease-out), background 160ms ease, color 160ms ease, border-color 160ms ease; }
.btn:active { transform: scale(.97); }
.btn.ghost { background: transparent; color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--ink-2); border-color: var(--ink-2); color: var(--paper); }
  .btn.ghost:hover { background: var(--paper-2); color: var(--ink); border-color: var(--ink); }
}
.btn.sm { min-height: 34px; padding: 0 12px; font-size: 13px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn svg { width: 16px; height: 16px; }

/* ---------- page scaffold ---------- */
.app { min-height: 60vh; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 62ch; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); }
.section-head p { margin-top: 12px; color: var(--ink-2); font-size: 17px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 18px; font-size: 13.5px; color: var(--ink-3); }
.crumbs a { color: var(--supply-ink); text-decoration: none; }
.crumbs span::before { content: "/"; margin-inline: 2px 8px; color: var(--line-2); }
.crumbs span:first-child::before { content: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: clip; border-bottom: 1px solid var(--line); background:
  linear-gradient(to right, var(--line) 1px, transparent 1px) 0 0 / 96px 96px,
  linear-gradient(to bottom, var(--line) 1px, transparent 1px) 0 0 / 96px 96px,
  var(--paper); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 70% at 70% 40%, color-mix(in srgb, var(--paper) 0%, transparent), var(--paper) 72%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-top: clamp(20px, 3vw, 40px); padding-bottom: 8px; }
.hero h1 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -.03em; line-height: 1.08; max-width: 19ch; }
.hero-sub { margin-top: 20px; font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-fig { position: relative; margin: 0; justify-self: center; width: min(100%, 370px); }
.hero-fig img { aspect-ratio: 3 / 4; object-fit: cover; mix-blend-mode: multiply; filter: contrast(1.04); }
.hero-fig figcaption { position: absolute; left: 0; bottom: 0; padding: 6px 10px; background: var(--ink); color: var(--paper); font-size: 12px; letter-spacing: .04em; }
.hero-fig::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line-2); pointer-events: none; }
.hero-fig .tick { position: absolute; font-size: 11px; color: var(--ink-3); letter-spacing: .06em; }
.hero-fig .tick.t { top: -22px; left: 0; }
.hero-fig .tick.r { right: -24px; top: 0; writing-mode: vertical-rl; }
.hero-loop { position: relative; padding-block: 12px 28px; }
.hero-loop p { font-size: 13.5px; color: var(--ink-3); margin-bottom: 8px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-fig { width: min(100%, 420px); order: -1; }
  .hero-fig img { aspect-ratio: 4 / 3; object-position: center 40%; }
  .hero h1 { max-width: none; }
}

/* ---------- loop schematic ---------- */
.loop { width: 100%; height: auto; display: block; overflow: visible; font-family: var(--cond); }
.loop .pipe { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.loop .pipe.s { stroke: var(--supply); }
.loop .pipe.r { stroke: var(--return); }
.loop .flow { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 6 18; opacity: .9; }
.loop .flow.s { stroke: color-mix(in srgb, var(--supply) 45%, var(--paper)); animation: flow 1.6s linear infinite; }
.loop .flow.r { stroke: color-mix(in srgb, var(--return) 45%, var(--paper)); animation: flow 1.6s linear infinite; } /* 경로가 트레이→CDU 방향으로 그려져 있으므로 정방향 재생 = 회수 흐름 */
.loop .mani { fill: var(--sheet); stroke: var(--ink-2); stroke-width: 1.5; }
.loop .mani-label { fill: var(--ink-2); font-size: 10.5px; font-weight: 600; letter-spacing: .04em; text-anchor: middle; }
.loop .node.ghost { cursor: default; }
.loop .node.ghost .sym { stroke: var(--line-2); stroke-dasharray: 3 3; }
.loop .node.ghost .sym-in { fill: var(--line-2); }
.loop .node.ghost .lbl { fill: var(--ink-3); }
.plat-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 13px; color: var(--ink-3); }
.plat-bar .seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.plat-bar button { padding: 8px 14px; background: var(--sheet); border: 0; color: var(--ink-2); font-weight: 600; font-size: 13px; cursor: pointer; transition: background 160ms ease, color 160ms ease; }
.plat-bar button + button { border-left: 1px solid var(--line-2); }
.plat-bar button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.plat-bar button:active { transform: scale(.97); }
.feature-block { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); border: 1px solid var(--line); background: var(--sheet); padding: clamp(20px, 3vw, 36px); align-items: start; }
.feature-block img { aspect-ratio: 4 / 5; object-fit: cover; mix-blend-mode: multiply; border: 1px solid var(--line); background: var(--sheet); }
.feature-block h3 { font-size: clamp(24px, 2.6vw, 32px); }
.feature-block .code { display: block; font-size: 12px; letter-spacing: .08em; color: var(--ink-3); margin-top: 6px; font-stretch: 75%; }
.feature-block .where { margin-top: 12px; color: var(--ink-2); font-size: 16px; }
.feature-block .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
@media (max-width: 860px) { .feature-block { grid-template-columns: 1fr; } .feature-block img { aspect-ratio: 4 / 3; } }
@keyframes flow { to { stroke-dashoffset: -24; } }
@media (prefers-reduced-motion: reduce) { .loop .flow { animation: none; stroke-dasharray: none; opacity: .35; } }
.loop .box { fill: var(--sheet); stroke: var(--ink-2); stroke-width: 1.5; }
.loop .box-label { fill: var(--ink-2); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-anchor: middle; }
.loop .box-sub { fill: var(--ink-3); font-size: 10.5px; text-anchor: middle; }
.loop .axis { fill: var(--ink-3); font-size: 11px; letter-spacing: .08em; font-weight: 600; }
.loop .node { cursor: pointer; }
.loop .node .sym { fill: var(--paper); stroke: var(--ink); stroke-width: 2; transition: transform 200ms var(--ease-out), fill 160ms ease; transform-box: fill-box; transform-origin: center; }
.loop .node .sym-in { fill: var(--ink); transition: fill 160ms ease; }
.loop .node .lbl { fill: var(--ink); font-size: 14px; font-weight: 700; letter-spacing: .02em; text-anchor: middle; }
.loop .node .sub { fill: var(--ink-3); font-size: 10.5px; text-anchor: middle; }
.loop .node .hit { fill: transparent; }
@media (hover: hover) and (pointer: fine) {
  .loop .node:hover .sym { transform: scale(1.12); fill: var(--sheet); }
}
.loop .node:focus-visible { outline: none; }
.loop .node:focus-visible .sym, .loop .node.active .sym { stroke: var(--supply); fill: var(--sheet); }
.loop .node.active .sym-in { fill: var(--supply); }
.loop .node.active .lbl { fill: var(--supply-ink); }
.loop-wrap { max-width: 100%; }
.loop-v { display: none; }
@media (max-width: 760px) { .loop-h { display: none; } .loop-v { display: block; max-width: 420px; margin-inline: auto; } }
.apps-stage > *, .two-col > *, .hero-loop, .sheet > *, .jump > * { min-width: 0; }
/* Engineering label register: Archivo's width axis at 75% for every small label. */
.loop text, .hero-fig .tick, .fam .code, .tblock-head small, .badge, .parts th, .matrix thead th, .matrix .code, .brand-text span, .detail-head .full, .crumbs, .count { font-stretch: 75%; }

/* ---------- family cards ---------- */
.fam-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.fam { background: var(--paper); padding: 22px 22px 24px; display: flex; flex-direction: column; min-width: 0; position: relative; transition: background 200ms ease; }
@media (hover: hover) and (pointer: fine) { .fam:hover { background: var(--sheet); } .fam:hover .fam-img img { transform: scale(1.04); } }
.fam-img { aspect-ratio: 1; overflow: hidden; margin-bottom: 18px; background: #fff; border: 1px solid var(--line); }
.fam-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.fam h3 { font-size: 21px; }
.fam h3 a { color: inherit; text-decoration: none; }
.fam h3 a::after { content: ""; position: absolute; inset: 0; }
.fam .code { display: inline-block; font-size: 11.5px; letter-spacing: .1em; color: var(--ink-3); margin-top: 6px; }
.fam .where { margin-top: 10px; color: var(--ink-2); font-size: 14.5px; min-height: 3.2em; }
.fam .count-line { margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.spec { margin-top: 16px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; font-size: 13.5px; }
.spec dt { color: var(--ink-3); } .spec dd { margin: 0; text-align: right; font-weight: 600; }
.spec dt, .spec dd { padding: 8px 0; border-bottom: 1px solid var(--line); }
.spec.hidden { display: none; }
.fam .open { margin-top: auto; padding-top: 18px; font-size: 14px; font-weight: 600; color: var(--supply-ink); display: inline-flex; gap: 6px; align-items: center; }
.fam .open svg { width: 16px; height: 16px; flex: none; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .fam:hover .open svg { transform: translateX(3px); } }
@media (max-width: 1080px) { .fam-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .fam-grid { grid-template-columns: 1fr; } .fam { flex-direction: row; flex-wrap: wrap; gap: 0 18px; } .fam-img { width: 110px; aspect-ratio: 1; margin: 0; } .fam-body { flex: 1 1 200px; } .spec, .fam .open { flex-basis: 100%; } .fam .where { min-height: 0; } }
.tech-toggle { display: flex; justify-content: flex-end; margin-bottom: 14px; }

/* ---------- part jump + table ---------- */
.jump { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); gap: 40px; align-items: start; }
.jump-form { display: grid; gap: 8px; }
.jump-form label { font-size: 13px; color: var(--ink-3); font-weight: 600; letter-spacing: .04em; }
.jump-row { display: flex; gap: 8px; }
.jump-row input { flex: 1; min-width: 0; }
.input, .form input, .form select, .form textarea, #searchInput { width: 100%; min-height: 44px; padding: 10px 12px; background: var(--sheet); color: var(--ink); border: 1px solid var(--line-2); border-radius: var(--radius); font: inherit; caret-color: var(--supply); }
.form textarea { min-height: 120px; resize: vertical; }
.input::placeholder, .form input::placeholder, #searchInput::placeholder { color: var(--ink-3); }
.input:focus, .form input:focus, .form select:focus, .form textarea:focus, #searchInput:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: var(--focus); }
.jump-msg { font-size: 13.5px; min-height: 1.4em; color: var(--return-ink); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--sheet); }
table.parts { width: 100%; border-collapse: collapse; font-size: 14px; }
.parts th, .parts td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.parts th { font-size: 12px; letter-spacing: .06em; color: var(--ink-3); font-weight: 600; background: var(--paper-2); position: sticky; top: 0; }
.parts tbody tr { transition: background 160ms ease, box-shadow 200ms var(--ease-out); }
.parts tbody tr:last-child td { border-bottom: 0; }
@media (hover: hover) and (pointer: fine) { .parts tbody tr:hover { background: var(--paper); } }
.parts tr.struck { background: var(--sheet); box-shadow: inset 0 0 0 1px var(--ink); }
.parts tr.dim td { color: var(--ink-3); }
.parts tr.struck td { color: var(--ink); }
.parts tr.struck .no a { text-decoration: underline; text-decoration-color: var(--supply); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.parts td.first { display: flex; align-items: center; gap: 8px; }
.parts .lead { display: none; color: var(--supply-ink); }
.parts .lead svg { width: 16px; height: 16px; }
.parts tr.struck .lead { display: inline-flex; }
.parts .no { font-weight: 700; letter-spacing: .02em; }
.parts .no a { color: var(--ink); text-decoration: none; }
.parts .thumb { width: 44px; height: 44px; object-fit: cover; border: 1px solid var(--line); background: #fff; }
.parts .acts { display: flex; gap: 6px; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 2px; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; border: 1px solid var(--line-2); color: var(--ink-2); }
.badge.plug { border-color: color-mix(in srgb, var(--return) 55%, var(--line)); color: var(--return-ink); }
.badge.socket { border-color: color-mix(in srgb, var(--supply) 55%, var(--line)); color: var(--supply-ink); }
@media (max-width: 960px) { .jump { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- proof strip ---------- */
.proof { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.proof-img { aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); background: #fff; }
.proof ul { list-style: none; margin: 0; padding: 0; display: grid; }
.proof li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.proof li:last-child { border-bottom: 1px solid var(--line); }
.proof li svg { width: 28px; height: 28px; }
.proof li h3 { font-size: 18px; }
.proof li p { margin-top: 4px; color: var(--ink-2); font-size: 15px; }
.band { display: inline-block; width: 28px; height: 28px; border-radius: 50%; border: 6px solid var(--supply); background: var(--metal); box-shadow: inset 0 0 0 2px var(--paper); }
.band.r { border-color: var(--return); }
@media (max-width: 860px) { .proof { grid-template-columns: 1fr; } }

/* ---------- title block ---------- */
.sheet { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.tblock { background: var(--sheet); border: 1.5px solid var(--ink-2); font-size: 13.5px; }
.tblock-head { display: grid; grid-template-columns: 1fr auto; border-bottom: 1.5px solid var(--ink-2); }
.tblock-head div { padding: 10px 14px; }
.tblock-head div + div { border-left: 1.5px solid var(--ink-2); }
.tblock-head small { display: block; font-size: 10.5px; letter-spacing: .08em; color: var(--ink-3); }
.tblock-head b { font-size: 15px; }
.tblock dl { margin: 0; display: grid; grid-template-columns: auto 1fr; }
.tblock dt, .tblock dd { margin: 0; padding: 8px 14px; border-bottom: 1px solid var(--line); }
.tblock dt { color: var(--ink-3); border-right: 1px solid var(--line); white-space: nowrap; }
.tblock dd { font-weight: 600; }
.tblock dl > *:nth-last-child(-n+2) { border-bottom: 0; }
.sheet-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
@media (max-width: 860px) { .sheet { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--paper); }
.cta-band .section { border-top: 0; }
.cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.cta-inner h2 { font-size: clamp(24px, 3vw, 34px); color: var(--paper); }
.cta-inner p { margin-top: 8px; color: color-mix(in srgb, var(--paper) 70%, var(--ink)); }
.cta-band .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .cta-band .btn:hover { background: #fff; color: var(--ink); } }
@media (max-width: 760px) { .cta-inner { grid-template-columns: 1fr; } }

/* ---------- family detail ---------- */
.detail-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding-block: 24px 40px; }
.detail-head h1 { font-size: clamp(30px, 4vw, 48px); }
.detail-head .full { margin-top: 6px; color: var(--ink-3); font-size: 15px; letter-spacing: .02em; }
.detail-head .lead { margin-top: 18px; font-size: 16.5px; color: var(--ink-2); max-width: 60ch; }
.detail-spec { margin-top: 28px; }
.detail-spec h2 { font-size: 20px; margin-bottom: 8px; }
.detail-spec dl { margin: 0; display: grid; grid-template-columns: auto 1fr; font-size: 14.5px; }
.detail-spec dt, .detail-spec dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }
.detail-spec dt { color: var(--ink-3); padding-right: 24px; }
.detail-spec dd { font-weight: 600; }
.gallery { display: grid; gap: 10px; }
.gallery-main { aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line); background: #fff; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.gallery-thumbs button { padding: 0; border: 1px solid var(--line); background: #fff; aspect-ratio: 1; cursor: pointer; transition: border-color 160ms ease, transform 160ms var(--ease-out); }
.gallery-thumbs button:active { transform: scale(.96); }
.gallery-thumbs button[aria-pressed="true"] { border-color: var(--supply); box-shadow: inset 0 0 0 1px var(--supply); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .detail-head { grid-template-columns: 1fr; } .gallery { order: -1; } }

.tabs { display: flex; gap: 2px; border-bottom: 2px solid var(--ink); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { position: relative; padding: 12px 18px; background: var(--paper-2); border: 1px solid var(--line); border-bottom: 0; color: var(--ink-2); font-weight: 600; font-size: 14.5px; cursor: pointer; white-space: nowrap; transition: background 160ms ease, color 160ms ease; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .tabs button:not([aria-selected="true"]):hover { background: var(--sheet); color: var(--ink); } }
.panel { padding-block: 36px 8px; }
.panel[hidden] { display: none; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.feat { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; font-size: 15.5px; }
.feat li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; }
.feat li svg { width: 18px; height: 18px; margin-top: 3px; color: var(--ink-2); } /* 녹색 체크 금지: TEXON Green과 혼동되지 않도록 잉크색 */
.panel h2 { font-size: 22px; }
.panel .note { margin-top: 14px; font-size: 13px; color: var(--ink-3); max-width: 80ch; }
.ask { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; padding: 18px 20px; border: 1px solid var(--line); background: var(--sheet); }
.ask p { flex: 1; font-size: 15px; }
.rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rel { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); background: var(--sheet); text-decoration: none; color: inherit; transition: border-color 160ms ease, transform 200ms var(--ease-out); }
.rel:active { transform: scale(.985); }
@media (hover: hover) and (pointer: fine) { .rel:hover { border-color: var(--ink-2); } }
.rel img { aspect-ratio: 4 / 3; object-fit: cover; background: #fff; }
.rel div { padding: 14px 16px 16px; }
.rel b { font-size: 17px; display: block; }
.rel span { font-size: 13.5px; color: var(--ink-3); display: block; margin-top: 4px; }
@media (max-width: 700px) { .rel-grid { grid-template-columns: 1fr; } .rel { grid-template-columns: 120px 1fr; grid-template-rows: none; } .rel img { aspect-ratio: 1; height: 100%; } }
.files { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--line); }
.files li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.files li > svg, .proof li > svg { width: 22px; height: 22px; flex: none; color: var(--ink-3); }
.files li .grow { flex: 1; min-width: 0; }
.files li .grow small { display: block; color: var(--ink-3); font-size: 12.5px; }
.files li .no { font-weight: 700; }
.spec-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.spec-list li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; }
.spec-list svg { width: 18px; height: 18px; margin-top: 3px; color: var(--ink-3); }

/* ---------- applications ---------- */
.apps-stage { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.apps-panel { border: 1px solid var(--line); background: var(--sheet); padding: 20px; min-height: 280px; position: sticky; top: calc(var(--head-h) + 16px); }
.apps-panel h3 { font-size: 22px; }
.apps-panel .full { color: var(--ink-3); font-size: 13.5px; margin-top: 4px; }
.apps-panel p.where { margin-top: 12px; color: var(--ink-2); font-size: 15px; }
.apps-panel dl { margin: 16px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 0 16px; font-size: 14px; }
.apps-panel dt { color: var(--ink-3); padding: 6px 0; border-bottom: 1px solid var(--line); }
.apps-panel dd { margin: 0; padding: 6px 0; border-bottom: 1px solid var(--line); font-weight: 600; text-align: right; }
.apps-panel .btn { margin-top: 18px; }
.legend { display: flex; gap: 20px; font-size: 13px; color: var(--ink-2); margin-top: 14px; }
.legend i { display: inline-block; width: 22px; height: 3px; vertical-align: middle; margin-right: 8px; border-radius: 2px; }
.legend i.s { background: var(--supply); } .legend i.r { background: var(--return); }
@media (max-width: 900px) { .apps-stage { grid-template-columns: 1fr; } .apps-panel { position: static; } }

/* ---------- design center ---------- */
.dc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dc-fam { border: 1px solid var(--line); background: var(--sheet); }
.dc-fam header { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.dc-fam header img { width: 48px; height: 48px; object-fit: cover; border: 1px solid var(--line); background: #fff; }
.dc-fam header b { font-size: 18px; display: block; }
.dc-fam header span { font-size: 13px; color: var(--ink-3); }
.dc-fam .files { margin: 0; border-top: 0; padding: 0 18px; }
.dc-fam .files li:last-child { border-bottom: 0; }
@media (max-width: 760px) { .dc-grid { grid-template-columns: 1fr; } }

/* ---------- guides matrix ---------- */
.matrix-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--sheet); }
table.matrix { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.matrix th, .matrix td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.matrix thead th { background: var(--paper-2); font-size: 12px; letter-spacing: .06em; color: var(--ink-3); }
.matrix thead th:not(:first-child) { min-width: 180px; }
.matrix thead th b { display: block; font-size: 22px; color: var(--ink); letter-spacing: 0; font-stretch: 100%; }
.matrix thead th .code { display: block; font-size: 12px; letter-spacing: .04em; color: var(--ink-3); margin-top: 4px; font-weight: 500; }
.matrix tbody th { color: var(--ink-3); font-weight: 500; white-space: nowrap; }
.matrix td { font-weight: 600; }
.matrix td.empty { color: var(--line-2); font-weight: 400; }
.matrix tbody tr:last-child th, .matrix tbody tr:last-child td { border-bottom: 0; }
.matrix td a.btn { margin-top: 2px; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field .err { font-size: 13px; color: var(--return-ink); min-height: 1.2em; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--return); }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: 14px; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; }
.form-msg { font-size: 14.5px; padding: 12px 14px; border: 1px solid var(--line); background: var(--sheet); }
.form-msg.ok { border-color: var(--ok); color: var(--ok); }
.form-msg.bad { border-color: var(--return); color: var(--return-ink); }
.form-msg[hidden] { display: none; }
.copybox { display: grid; gap: 10px; }
.copybox textarea { min-height: 160px; font-size: 13px; }
.contact-side h2 { font-size: 20px; }
.contact-side .box { margin-top: 12px; padding: 18px 20px; border: 1px solid var(--line); background: var(--sheet); font-size: 15px; display: grid; gap: 8px; }
.inq-mini { margin-top: 24px; }
.inq-mini h2 { font-size: 20px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .form .row { grid-template-columns: 1fr; } }

/* ---------- inquiry list ---------- */
.inq-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.inq-list li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.inq-list img { width: 44px; height: 44px; object-fit: cover; border: 1px solid var(--line); background: #fff; }
.inq-list .grow { flex: 1; min-width: 0; }
.inq-list .grow small { display: block; color: var(--ink-3); font-size: 12.5px; }
.inq-list .qty { width: 64px; min-height: 36px; padding: 6px 8px; text-align: center; }
.inq-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.empty { padding: 28px 0; color: var(--ink-3); font-size: 15px; text-align: center; }

/* ---------- dialogs ---------- */
.dlg { border: 0; border-radius: var(--radius); background: var(--paper); color: var(--ink); padding: 20px 22px 24px; width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); box-shadow: var(--shadow); }
.dlg::backdrop { background: color-mix(in srgb, var(--ink) 45%, transparent); backdrop-filter: blur(2px); }
.dlg[open] { animation: dlg-in 220ms var(--ease-out); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(8px) scale(.985); } }
@media (prefers-reduced-motion: reduce) { .dlg[open] { animation: dlg-fade 160ms ease; } @keyframes dlg-fade { from { opacity: 0; } } }
.dlg-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.dlg-head h2 { font-size: 20px; }
.dlg .x { width: 36px; height: 36px; display: grid; place-items: center; background: transparent; border: 1px solid transparent; border-radius: var(--radius); cursor: pointer; transition: transform 160ms var(--ease-out), background 160ms ease; }
.dlg .x svg { width: 18px; height: 18px; }
.dlg .x:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .dlg .x:hover { background: var(--paper-2); border-color: var(--line); } }
.dlg-search { width: min(640px, calc(100vw - 32px)); }
.dlg-search .dlg-head { justify-content: flex-end; margin-bottom: 6px; }
.search-list { list-style: none; margin: 12px 0 0; padding: 0; max-height: 50vh; overflow: auto; }
.search-list li a { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 10px 8px; color: inherit; text-decoration: none; border-radius: var(--radius); }
.search-list li a:hover, .search-list li a:focus-visible { background: var(--paper-2); }
.search-list img { width: 44px; height: 44px; object-fit: cover; border: 1px solid var(--line); background: #fff; }
.search-list b { display: block; }
.search-list small { color: var(--ink-3); }
.search-list .none { padding: 16px 8px; color: var(--ink-3); font-size: 14px; }
.dl-target { margin: 14px 0 6px; font-weight: 600; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); background: var(--paper-2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-block: 44px 28px; }
.foot-logo { height: 44px; width: auto; display: block; }
.foot-div { margin-top: 14px; font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.foot-note { margin-top: 8px; font-size: 13.5px; color: var(--ink-3); max-width: 44ch; }
.foot-site { display: inline-block; margin-top: 12px; font-size: 13.5px; color: var(--supply-ink); }
.foot-site[hidden] { display: none; }
.foot-contact { font-style: normal; }
.foot-contact .legal { font-size: 13.5px; color: var(--ink); letter-spacing: .02em; }
.foot-contact a { color: var(--ink-2); text-decoration: none; }
.contact-side .box .legal { font-size: 15px; }
.foot-nav { display: grid; gap: 8px; align-content: start; }
.foot-nav a { color: var(--ink-2); text-decoration: none; font-size: 14.5px; }
.foot-contact { font-size: 14px; color: var(--ink-2); display: grid; gap: 6px; align-content: start; }
.foot-base { padding-block: 16px 28px; font-size: 12.5px; color: var(--ink-3); border-top: 1px solid var(--line); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- metal sits on the sheet, never in a white box ---------- */
.fam-img, .proof-img, .gallery-main, .gallery-thumbs button, .parts .thumb, .rel img, .dc-fam header img, .inq-list img, .search-list img { background: var(--sheet); }
.fam-img img, .proof-img, .gallery-main, .gallery-thumbs img, .parts .thumb, .rel img, .dc-fam header img, .inq-list img, .search-list img { mix-blend-mode: multiply; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.notfound { padding-block: 120px; text-align: center; }
.notfound h1 { font-size: 28px; margin-bottom: 20px; }
