/* RODI v2 · forms.css (WU6) — 문의(contact) · 사례(projects) · 회사(about) 페이지 전용
   토큰은 tokens.css, 공통 부품은 components.css(WU1)를 쓴다. 접두어 r-.
   상태 문법: ::after 는 [data-status="plan|concept"] 배지 전용(status.css) — 여기서는 그런 요소에 ::after 를 쓰지 않는다.
   강조색 의미 유지: --wire 도면·치수·링크·입력 초점 / --wood 실물·현재 / --plan 2027 계획만 / --concept AI만.
   U15(2026-10-01): 화면 라벨은 한글 — 한글만 담는 클래스는 --font-sans, 대문자 변환 없음, 자간 .02em 이하. 코드·숫자만 담는 클래스는 모노 유지. */

/* ═════════════════════════════════════════ 공통 */
.r-tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 1px 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--text-2);
  white-space: nowrap;
}
.r-tag--plan { border-style: dashed; border-color: var(--plan); color: var(--plan); }
.r-tag--ext { border-style: dotted; }

.r-sechead--rfq { margin-bottom: var(--s-5); gap: var(--s-3); }
.r-sechead--rfq .r-sechead__title { font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.02em; max-width: none; }
.r-sechead--rfq .r-between { align-items: center; }

.r-input {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-1);
  background: var(--bg-2);
  color: var(--text);
  font-size: 16px; /* iOS 확대 방지 */
  line-height: 1.45;
  transition: border-color var(--dur-1) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), background-color var(--dur-1);
  -webkit-appearance: none;
  appearance: none;
}
.r-input::placeholder { color: color-mix(in srgb, var(--text-2) 72%, transparent); opacity: 1; }
.r-input:hover { border-color: var(--text-2); }
.r-input:focus { border-color: var(--wire); box-shadow: 0 0 0 4px color-mix(in srgb, var(--wire) 12%, transparent); }
.r-input--sm { min-height: 40px; padding: 8px 10px; font-size: 15px; }
.r-textarea { min-height: 148px; resize: vertical; }
.r-select {
  padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(-45deg, transparent 50%, var(--text-2) 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}
.r-input[type="number"] { -moz-appearance: textfield; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.r-input[type="number"]::-webkit-inner-spin-button, .r-input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* ═════════════════════════════════════════ CONTACT */
.r-contact-tb a.r-titleblock__cell { color: inherit; text-decoration: none; transition: background-color var(--dur-1) var(--ease-out); }
.r-contact-tb a.r-titleblock__cell:hover { background: color-mix(in srgb, var(--wire) 6%, transparent); }
.r-contact-tb a.r-titleblock__cell:hover b { color: var(--wire); }
.r-contact-tb .r-titleblock__cell > b { font-size: 14px; }

/* 작성 순서 눈금 */
.r-rfq-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(32px, 5vw, 56px);
  border-top: 1px solid var(--line-strong);
  counter-reset: none;
}
.r-rfq-steps li { position: relative; }
.r-rfq-steps li::before {
  content: "";
  position: absolute;
  left: 0; top: -5px;
  width: 1px; height: 9px;
  background: var(--line-strong);
}
.r-rfq-steps a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 12px 4px 12px;
  margin-top: -1px;
  border-top: 2px solid transparent;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--dur-1) var(--ease-out), border-color var(--dur-2) var(--ease-out);
}
.r-rfq-steps a b { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; color: var(--wire); }
.r-rfq-steps a:hover, .r-rfq-steps a[aria-current] { color: var(--text); border-top-color: var(--wire); }
@media (max-width: 479.98px) {
  .r-rfq-steps a { flex-direction: column; gap: 2px; padding-inline: 6px; font-size: 13px; }
}

.r-composer { padding-top: clamp(40px, 6vw, 80px); }
html:not(.js) .r-rfq { display: none; }
.r-nojs { max-width: 720px; }
.r-nojs__lines { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; font-family: var(--font-sans); font-variant-numeric: tabular-nums; font-size: 15px; } /* '전화 …'·'팩스 …' 한글 낱말 포함 → sans */
.r-nojs__lines a { color: var(--wire); }

.r-rfq { display: grid; gap: clamp(48px, 6vw, 72px); align-items: start; }
.r-rfq__main { display: grid; gap: clamp(48px, 6vw, 72px); min-width: 0; }
.r-rfq__block { scroll-margin-top: calc(var(--header-h) + 16px); min-width: 0; }
@media (min-width: 1180px) {
  .r-rfq { grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr); column-gap: clamp(32px, 4vw, 64px); }
  .r-rfq__side { align-self: stretch; }
}
/* 오른쪽 문서 패널: 화면 높이 안에 고정하고 미리보기 본문만 스크롤(보내기 버튼이 항상 보이도록) */
@media (min-width: 1180px) and (min-height: 700px) {
  .r-rfq__sticky { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; max-height: calc(100vh - var(--header-h) - 40px); }
  .r-rfq__sticky > * { flex: none; }
  .r-rfq__sticky > .r-sechead { margin-bottom: var(--s-4); }
  .r-rfq__sticky > .r-rfqdoc { flex: 1 1 auto; min-height: 200px; display: flex; flex-direction: column; }
  .r-rfqdoc > .r-sheet__head, .r-rfqdoc > .r-titleblock { flex: none; }
  .r-rfq__sticky .r-rfqdoc__body { flex: 1 1 auto; min-height: 0; max-height: none; }
  .r-rfq__sticky .r-meter { margin-top: 14px; }
  .r-rfq__sticky .r-sendgrid { margin-top: 12px; }
  .r-rfq__sticky .r-rfq__privacy { margin-top: 10px; }
}

/* ── §01 트랙 카드 */
.r-tracks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.r-track {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 100%;
  padding: 18px 18px 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color var(--dur-2) var(--ease-out), background-color var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
}
.r-track:hover { border-color: var(--text-2); }
.r-track input {
  position: absolute;
  top: 16px; right: 16px;
  width: 18px; height: 18px;
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--bg-2);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-2);
}
.r-track input:checked { border-color: var(--wire); box-shadow: inset 0 0 0 4px var(--bg-2), inset 0 0 0 9px var(--wire); }
.r-track__icon { width: 40px; height: 40px; margin: 6px 0 2px; fill: none; stroke: var(--text); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; transition: stroke var(--dur-2); }
.r-track--plan .r-track__icon { stroke: var(--plan); }
.r-track__title { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.r-track__title small { font-size: 13px; font-weight: 500; color: var(--text-2); margin-left: 4px; }
.r-track__text { font-size: 14px; line-height: 1.6; color: var(--text-2); }
.r-track__tags {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-family: var(--font-sans); /* U15: '견적 · 규격서 · 국산목재 서류' 등 한글 위주 → sans(모노 공백 벌어짐 방지) */
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  color: var(--text-2);
}
.r-track:has(input:checked) {
  border-color: var(--wire);
  background:
    linear-gradient(var(--wire), var(--wire)) 0 0 / 12px 2px no-repeat,
    linear-gradient(var(--wire), var(--wire)) 0 0 / 2px 12px no-repeat,
    linear-gradient(var(--wire), var(--wire)) 100% 100% / 12px 2px no-repeat,
    linear-gradient(var(--wire), var(--wire)) 100% 100% / 2px 12px no-repeat,
    color-mix(in srgb, var(--wire) 5%, var(--bg-2));
}
.r-track:not(.r-track--plan):has(input:checked) .r-track__icon { stroke: var(--wire); }
.r-track:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.r-track input:focus-visible { outline: none; }
@supports not selector(:has(*)) {
  .r-track input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
}

/* ── §02 문의함 */
.r-cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.6em;
  height: 1.3em;
  margin-left: .2em;
  padding: 0 .35em;
  border-radius: var(--r-pill);
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: .62em;
  font-weight: 500;
  vertical-align: .2em;
  font-variant-numeric: tabular-nums;
}
#cart-title:focus { outline: none; }
#cart-title:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.r-cart { container-type: inline-size; border: 1px solid var(--line-strong); background: var(--bg-2); }
.r-cart__list { list-style: none; margin: 0; padding: 0; }
.r-cartrow {
  display: grid;
  grid-template-columns: 2.6em 176px 128px minmax(0, 1fr) 40px;
  grid-template-areas: "no main main main del" ". qty len memo .";
  align-items: end;
  gap: 12px 14px;
  padding: 16px 16px 18px;
  border-bottom: 1px solid var(--line);
}
.r-cartrow.is-new { animation: r-row-in var(--dur-3) var(--ease-out) both; }
@keyframes r-row-in { from { opacity: 0; transform: translateY(6px); } }
.r-cartrow__no { grid-area: no; font-family: var(--font-mono); font-size: 12px; color: var(--wire); letter-spacing: .06em; align-self: start; padding-top: 3px; }
.r-cartrow__main { grid-area: main; min-width: 0; }
.r-cartrow__name { margin: 0; font-weight: 600; font-size: 15px; line-height: 1.4; }
.r-cartrow__spec { margin: 4px 0 0; font-family: var(--font-mono); font-size: 11.5px; line-height: 1.5; color: var(--text-2); letter-spacing: .01em; }
.r-cartrow__meta { display: flex; flex-wrap: wrap; gap: 2px 10px; margin: 6px 0 0; font-family: var(--font-sans); font-size: 10.5px; font-variant-numeric: tabular-nums; letter-spacing: .02em; color: var(--text-2); } /* 제품군 · 출처(한글) → sans */
/* 구분점은 앞 항목 끝에 붙인다 — 다음 항목이 줄을 바꿔도 줄 맨 앞에 '·'만 남지 않게 */
.r-cartrow__meta span:not(:last-child)::after { content: "·"; margin-left: 10px; color: var(--line-strong); }
.r-cartrow__qty { grid-area: qty; display: flex; align-items: center; gap: 8px; }
.r-cartrow__len { grid-area: len; display: block; }
.r-cartrow__memo { grid-area: memo; display: block; min-width: 0; }
.r-cartrow__lab { display: block; font-family: var(--font-sans); font-size: 11.5px; letter-spacing: .02em; color: var(--text-2); margin-bottom: 4px; }
.r-cartrow__unit { font-size: 12px; color: var(--text-2); white-space: nowrap; }
.r-cartrow__del {
  grid-area: del;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--r-1);
  background: none;
  color: var(--text-2);
  font-size: 20px;
  line-height: 1;
  transition: color var(--dur-1), border-color var(--dur-1);
}
.r-cartrow__del:hover { color: var(--text); border-color: var(--line-strong); }
.r-cartrow.is-request { background: color-mix(in srgb, var(--bg-3) 50%, transparent); }
.r-cartrow.is-request .r-cartrow__memo { grid-column: 2 / 5; }
.r-cartrow.is-request .r-cartrow__spec { font-family: var(--font-sans); letter-spacing: .02em; } /* 자료 요청 줄의 규격 칸은 '자료 요청'(한글)뿐 → sans. 일반 규격 문자열은 라이브러리(.r-item__spec)와 같게 모노 */
.r-cartrow__del { align-self: start; margin-top: -8px; }
.r-cartrow__qty { flex-wrap: wrap; }
.r-cartrow__qty .r-cartrow__lab { flex-basis: 100%; margin-bottom: 0; }
@container (max-width: 559.98px) {
  .r-cartrow {
    grid-template-columns: 2.2em minmax(0, 104px) minmax(0, 1fr) 40px;
    grid-template-areas: "no main main del" ". qty qty qty" ". len memo memo";
    column-gap: 10px;
  }
  .r-cartrow.is-request .r-cartrow__memo { grid-column: 2 / -1; }
}
.r-unitbox { position: relative; display: block; }
.r-unitbox i { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-style: normal; font-family: var(--font-mono); font-size: 12px; color: var(--text-2); pointer-events: none; }
.r-unitbox .r-input { padding-right: 26px; }

.r-stepper { display: inline-grid; grid-template-columns: 34px 52px 34px; height: 40px; border: 1px solid var(--line-strong); border-radius: var(--r-1); background: var(--bg-2); overflow: hidden; }
.r-stepper__btn { padding: 0; border: 0; background: var(--bg-3); color: var(--text); font-family: var(--font-mono); font-size: 16px; transition: background-color var(--dur-1), color var(--dur-1); }
.r-stepper__btn:hover { background: var(--text); color: var(--bg); }
.r-stepper__input {
  width: 100%;
  min-width: 0;
  padding: 0 4px;
  border: 0;
  border-inline: 1px solid var(--line);
  background: transparent;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}
.r-stepper__input::-webkit-inner-spin-button, .r-stepper__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.r-stepper__input:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
@media (pointer: coarse) {
  .r-stepper { grid-template-columns: 44px 52px 44px; height: 44px; }
  .r-input--sm { min-height: 44px; }
  .r-cartrow__del { width: 44px; height: 44px; }
}

.r-cart__empty {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: clamp(28px, 5vw, 48px) var(--s-5);
  text-align: center;
  border-bottom: 1px solid var(--line);
  background: none; /* C안: 장식용 소형 격자 제거 */
}
.r-cart__emptyfig svg { width: 220px; max-width: 100%; height: auto; fill: none; stroke: var(--line-strong); stroke-width: 1.25; }
.r-cart__emptyfig .d { stroke: var(--wire); }
.r-cart__emptyfig text { fill: var(--wire); stroke: none; font: 500 11px var(--font-sans); letter-spacing: .02em; }
.r-cart__emptytitle { margin: 4px 0 0; font-size: 17px; font-weight: 600; }
.r-cart__emptytext { margin: 0 0 8px; max-width: 44ch; font-size: 14px; color: var(--text-2); }
.r-cart__emptytext b { color: var(--text); font-weight: 600; }
.r-cart__empty .r-row { justify-content: center; }

.r-cart__add { display: grid; gap: 16px 24px; padding: 16px; background: color-mix(in srgb, var(--bg-3) 55%, transparent); }
@container (min-width: 720px) { .r-cart__add { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; } }
.r-cart__add .r-label { margin: 0 0 8px; display: block; }
.r-cart__add .r-row { gap: 8px; }
.r-chip--add { text-transform: none; letter-spacing: 0; font-family: var(--font-sans); font-size: 13px; font-weight: 500; background: var(--bg-2); }
.r-chip--add::before { content: "+"; font-family: var(--font-mono); color: var(--wire); margin-right: 2px; }
.r-chip--add[data-in-cart="true"]::before { content: ""; margin: 0; }
.r-cart__pickrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.r-cart__pickrow .r-select { min-height: 40px; padding-block: 8px; font-size: 14px; }
.r-cart__note { margin: 0; padding: 0 16px; font-size: 12px; color: var(--text-2); }
.r-cart__note:not(:empty) { padding: 10px 16px 14px; }

/* ── §03 필드 */
.r-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
@media (max-width: 639.98px) { .r-fields { grid-template-columns: minmax(0, 1fr); } }
.r-field { display: block; min-width: 0; margin: 0; padding: 0; border: 0; }
.r-field--full { grid-column: 1 / -1; }
.r-field__label {
  display: flex;
  align-items: baseline;
  gap: 10px;
  width: 100%;
  margin: 0 0 8px;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.r-field__label i { font-style: normal; font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .1em; color: var(--wire); }
.r-field__label small { margin-left: auto; font-family: var(--font-sans); font-variant-numeric: tabular-nums; font-size: 11px; font-weight: 500; color: var(--text-2); letter-spacing: .02em; } /* '복수 선택' · '0 / 2,000' */

.r-stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line-strong); border-radius: var(--r-1); background: var(--bg-2); }
.r-stage-opt { position: relative; display: block; }
.r-stage-opt + .r-stage-opt { border-left: 1px solid var(--line); }
.r-stage-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.r-stage-opt span {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-2);
  transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2);
}
.r-stage-opt span b { font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .06em; color: var(--text-2); }
.r-stage-opt + .r-stage-opt span::before {
  content: "";
  position: absolute;
  left: -5px; top: 50%;
  width: 8px; height: 8px;
  border-top: 1px solid var(--line-strong);
  border-right: 1px solid var(--line-strong);
  background: var(--bg-2);
  transform: translateY(-50%) rotate(45deg);
  z-index: 2;
}
.r-stage-opt:hover span { color: var(--text); background: var(--bg-3); }
.r-stage-opt input:checked + span { background: var(--text); color: var(--bg); }
.r-stage-opt input:checked + span b { color: var(--night-wire); }
.r-stage-opt input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: -4px; }
@media (max-width: 419.98px) { .r-stage-opt span { flex-direction: column; gap: 0; font-size: 14px; min-height: 56px; } }

.r-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.r-check { position: relative; display: inline-block; }
.r-check input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.r-check span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-1);
  background: var(--bg-2);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: border-color var(--dur-1), color var(--dur-1), background-color var(--dur-1);
}
.r-check span::before { content: ""; flex: none; width: 14px; height: 14px; border: 1px solid var(--line-strong); background: var(--bg-2); transition: background-color var(--dur-1), border-color var(--dur-1); }
.r-check span::after {
  content: "";
  position: absolute;
  left: 15px; top: 50%;
  width: 8px; height: 4px;
  border-left: 1.5px solid var(--bg-2);
  border-bottom: 1.5px solid var(--bg-2);
  transform: translateY(-70%) rotate(-45deg);
  opacity: 0;
}
.r-check:hover span { color: var(--text); border-color: var(--text-2); }
.r-check input:checked + span { color: var(--text); border-color: var(--wire); background: color-mix(in srgb, var(--wire) 7%, var(--bg-2)); }
.r-check input:checked + span::before { background: var(--wire); border-color: var(--wire); }
.r-check input:checked + span::after { opacity: 1; }
.r-check input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }

/* ── §04 보내기: 문의서 미리보기 */
.r-rfqdoc { --dim-bg: var(--bg-2); box-shadow: 0 30px 60px -40px rgba(21, 25, 28, .35); }
.r-rfqdoc .r-sheet__head b { font-family: var(--font-mono); }
.r-rfqdoc__body {
  padding: 18px 18px 20px;
  max-height: min(56vh, 560px);
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
  font-size: 13.5px;
  line-height: 1.55;
}
@media (max-width: 1179.98px) { .r-rfqdoc__body { max-height: 60vh; } }
.r-rfqdoc__to { display: flex; gap: 10px; margin: 0 0 6px; font-family: var(--font-mono); font-size: 12px; color: var(--text-2); }
.r-rfqdoc__to span { flex: none; color: var(--wire); font-family: var(--font-sans); letter-spacing: .02em; white-space: nowrap; }
.r-rfqdoc__subject { margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line-strong); font-size: 15px; font-weight: 600; line-height: 1.45; word-break: break-all; }
.r-rfqdoc__kv { display: grid; margin: 0 0 16px; }
.r-rfqdoc__kv > div { display: grid; grid-template-columns: 6.2em minmax(0, 1fr); gap: 10px; padding: 5px 0; border-bottom: 1px dotted var(--line); }
.r-rfqdoc__kv dt { font-family: var(--font-sans); font-size: 11.5px; letter-spacing: .02em; color: var(--text-2); padding-top: 1px; }
.r-rfqdoc__kv dd { min-width: 0; overflow-wrap: anywhere; }
.r-rfqdoc .is-empty { color: color-mix(in srgb, var(--text-2) 70%, transparent); }
.r-rfqdoc__h { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 8px; font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--text-2); }
.r-rfqdoc__h b { font-weight: 500; color: var(--text); }
.r-rfqdoc__items { list-style: none; counter-reset: rfq; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.r-rfqdoc__items > li { counter-increment: rfq; display: grid; grid-template-columns: 2.2em minmax(0, 1fr) auto; gap: 2px 8px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.r-rfqdoc__items > li::before { content: counter(rfq, decimal-leading-zero); font-family: var(--font-mono); font-size: 11px; color: var(--wire); padding-top: 2px; }
.r-rfqdoc__items > li.is-empty { display: block; padding: 10px 0; font-size: 13px; }
.r-rfqdoc__items > li.is-empty::before { content: none; }
.r-rfqdoc__iname { min-width: 0; font-weight: 500; }
.r-rfqdoc__iqty { font-family: var(--font-mono); font-size: 12px; white-space: nowrap; color: var(--text); }
.r-rfqdoc__ispec { grid-column: 2 / -1; font-family: var(--font-mono); font-size: 10.5px; line-height: 1.5; color: var(--text-2); }
.r-rfqdoc__imemo { grid-column: 2 / -1; font-size: 12px; color: var(--text-2); }
.r-rfqdoc__imemo::before { content: "메모 · "; font-family: var(--font-sans); font-size: 11px; color: var(--wire); }
.r-rfqdoc__msg { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.r-rfqdoc > .r-titleblock { width: 100%; border-left: 0; }

/* 메일 링크 길이 계기 */
.r-meter { margin-top: 18px; }
.r-meter__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.r-meter__row .r-label { font-size: 10.5px; }
.r-meter__val { font-family: var(--font-mono); font-size: 12px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.r-meter__val b { font-weight: 500; color: var(--text); }
.r-meter__bar {
  position: relative;
  height: 8px;
  margin-top: 8px;
  border: 1px solid var(--line-strong);
  background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), var(--line) calc(10% - 1px) 10%);
  overflow: hidden;
}
.r-meter__bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--wire); transition: width var(--dur-2) var(--ease-out); }
.r-meter.is-over .r-meter__bar i { background: repeating-linear-gradient(-45deg, var(--text) 0 2px, transparent 2px 5px), color-mix(in srgb, var(--text) 18%, transparent); }
.r-meter.is-over .r-meter__val b { color: var(--text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.r-meter__note { margin: 8px 0 0; font-size: 12px; line-height: 1.55; color: var(--text-2); }

/* 보내기 4종 — 같은 급 */
.r-sendgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.r-send {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "icon label" "icon meta";
  align-items: center;
  column-gap: 12px;
  min-height: 68px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-1);
  background: var(--bg-2);
  color: var(--text);
  text-align: left;
  transition: border-color var(--dur-1) var(--ease-out), background-color var(--dur-1) var(--ease-out), color var(--dur-1);
}
.r-send .r-icon { grid-area: icon; width: 22px; height: 22px; color: var(--text-2); transition: color var(--dur-1); }
.r-send__label { grid-area: label; font-size: 15px; font-weight: 600; line-height: 1.3; }
.r-send__meta { grid-area: meta; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-sans); font-variant-numeric: tabular-nums; font-size: 10.5px; letter-spacing: .02em; color: var(--text-2); } /* '메일·메신저에 붙여 넣기' 등 한글 포함 → sans */
.r-send::before {
  content: "";
  position: absolute;
  inset: -5px;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur-2) var(--ease-out);
  --b: var(--wire);
  background:
    linear-gradient(var(--b), var(--b)) 0 0 / 7px 1px no-repeat, linear-gradient(var(--b), var(--b)) 0 0 / 1px 7px no-repeat,
    linear-gradient(var(--b), var(--b)) 100% 0 / 7px 1px no-repeat, linear-gradient(var(--b), var(--b)) 100% 0 / 1px 7px no-repeat,
    linear-gradient(var(--b), var(--b)) 0 100% / 7px 1px no-repeat, linear-gradient(var(--b), var(--b)) 0 100% / 1px 7px no-repeat,
    linear-gradient(var(--b), var(--b)) 100% 100% / 7px 1px no-repeat, linear-gradient(var(--b), var(--b)) 100% 100% / 1px 7px no-repeat;
}
.r-send:hover { border-color: var(--text); background: var(--text); color: var(--bg); }
.r-send:hover .r-icon, .r-send:hover .r-send__meta { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.r-send:hover::before, .r-send:focus-visible::before { opacity: 1; }
.r-send:active { transform: translateY(1px); }
@media (max-width: 379.98px) { .r-sendgrid { grid-template-columns: minmax(0, 1fr); } }

.r-rfq__status { min-height: 1.6em; margin: 14px 0 0; padding: 0; font-size: 13px; line-height: 1.6; color: var(--text); }
.r-rfq__status:not(:empty) { padding: 10px 12px 10px 14px; border-left: 2px solid var(--wire); background: color-mix(in srgb, var(--wire) 7%, transparent); }
.r-rfq__status[data-tone="warn"]:not(:empty) { border-left-color: var(--text); background: color-mix(in srgb, var(--text) 6%, transparent); }
.r-rfq__privacy { display: flex; flex-direction: column; gap: 4px; margin: 16px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--text-2); }
.r-rfq__privacy .r-label { font-size: 10.5px; color: var(--wire); }

/* ── §05 연락처 */
.r-contactinfo { align-items: stretch; }
.r-bigtel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  height: 100%;
  min-height: 200px;
  padding: 24px;
  border: 1px solid var(--line-strong);
  background: var(--night-bg);
  background-image:
    linear-gradient(rgba(95, 212, 196, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 212, 196, .07) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--night-text);
  text-decoration: none;
  transition: border-color var(--dur-2);
}
.r-bigtel .r-label { color: var(--night-text-2); }
.r-bigtel__no { font-family: var(--font-mono); font-size: clamp(32px, 4.4vw, 58px); font-weight: 500; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--night-text); transition: color var(--dur-2); }
.r-bigtel__go { font-size: 14px; font-weight: 600; color: var(--night-wire); }
.r-bigtel:hover { color: var(--night-text); border-color: var(--night-wire); }
.r-bigtel:hover .r-bigtel__no { color: var(--night-wire); }
.r-contactinfo .r-kv dd a { color: var(--wire); text-decoration: none; }
.r-privacy { position: relative; height: 100%; padding: 20px; border: 1px solid var(--line-strong); background: var(--bg-2); font-size: 14px; line-height: 1.65; }
.r-privacy__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.r-privacy__head .r-label { color: var(--wire); }
.r-privacy__lock { position: relative; width: 16px; height: 18px; }
.r-privacy__lock::before { content: ""; position: absolute; left: 3px; top: 0; width: 10px; height: 10px; border: 1.5px solid var(--wire); border-bottom: 0; border-radius: 6px 6px 0 0; }
.r-privacy__lock::after { content: ""; position: absolute; left: 0; bottom: 0; width: 16px; height: 10px; background: var(--wire); border-radius: 1px; }
.r-privacy__sub { margin-top: 10px; font-size: 12.5px; color: var(--text-2); }
.r-contact-routes { margin-top: clamp(32px, 5vw, 56px); row-gap: var(--col-gap); }

/* ═════════════════════════════════════════ PROJECTS */
.r-cases-note { margin-top: var(--s-6); max-width: 780px; }
.r-cases-note b { font-weight: 600; }

.r-filterbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: var(--s-5); padding-bottom: var(--s-4); border-bottom: 1px solid var(--line); }
.r-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.r-filters .r-chip { text-transform: none; font-family: var(--font-sans); font-size: 14px; letter-spacing: 0; gap: 8px; }
.r-filters .r-chip i { font-style: normal; font-family: var(--font-mono); font-size: 10.5px; opacity: .65; letter-spacing: .04em; }
.r-filterbar__readout { margin: 0; }
html:not(.js) .r-filters, html:not(.js) .r-filterbar__readout { display: none; }

.r-cases { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--col-gap); grid-auto-flow: row dense; }
@media (min-width: 768px) {
  .r-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .r-case--wide { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .r-cases { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .r-case--wide { grid-row: span 2; }
}
@media (min-width: 1280px) { .r-cases { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.r-cases[data-filter="rest"] .r-case, .r-cases[data-filter="trail"] .r-case { grid-row: auto; }

.r-case {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--bg-2);
  border: 1px solid var(--line);
  transition: border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-3) var(--ease-out);
}
.r-case:hover { border-color: var(--wire); box-shadow: 0 28px 48px -36px rgba(21, 25, 28, .45); }
.r-case.is-shown { animation: r-case-in var(--dur-3) var(--ease-out) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes r-case-in { from { opacity: 0; transform: translateY(10px); clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.r-case__media { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-3); }
.r-case__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.r-case:hover .r-case__media img { transform: scale(1.04); }
.r-case__media::after {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
  --b: rgba(255, 255, 255, .9);
  background:
    linear-gradient(var(--b), var(--b)) 0 0 / 14px 1px no-repeat, linear-gradient(var(--b), var(--b)) 0 0 / 1px 14px no-repeat,
    linear-gradient(var(--b), var(--b)) 100% 0 / 14px 1px no-repeat, linear-gradient(var(--b), var(--b)) 100% 0 / 1px 14px no-repeat,
    linear-gradient(var(--b), var(--b)) 0 100% / 14px 1px no-repeat, linear-gradient(var(--b), var(--b)) 0 100% / 1px 14px no-repeat,
    linear-gradient(var(--b), var(--b)) 100% 100% / 14px 1px no-repeat, linear-gradient(var(--b), var(--b)) 100% 100% / 1px 14px no-repeat;
}
.r-case:hover .r-case__media::after, .r-case:focus-within .r-case__media::after { opacity: 1; transform: none; }
/* 사진 n장 (U15: 카드의 영문 유형 태그 .r-case__no(PLAY·TRAIL·REST)는 본문 유형과 겹쳐 지웠고, 그 규칙도 정리) */
.r-case__frames {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  padding: 3px 8px;
  background: rgba(11, 14, 16, .72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #5FD4C4;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .02em;
  white-space: nowrap;
}
.r-case__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 18px 20px 0; }
.r-case__meta { display: flex; justify-content: space-between; gap: 12px; margin: 0; font-family: var(--font-sans); font-size: 11px; font-variant-numeric: tabular-nums; letter-spacing: .02em; color: var(--text-2); } /* '놀이' · '지역 태안 안면도 · 2026' → sans */
.r-case__cat { color: var(--wire); }
.r-case__title { margin: 2px 0 0; font-size: 19px; line-height: 1.35; letter-spacing: -0.01em; }
.r-case__open {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.r-case__open::before { content: ""; position: absolute; inset: 0; z-index: 1; }
@media (max-width: 1023.98px), (pointer: coarse) {
  /* 터치 영역 44px: 카드 전체가 눌리지만(::before) 버튼 자체도 44px 이상 */
  .r-case__open { display: inline-flex; align-items: center; min-height: 44px; }
}
.r-case__open:focus-visible { outline: none; }
.r-case:has(.r-case__open:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
html:not(.js) .r-case__open { cursor: default; }
html:not(.js) .r-case__open::before { display: none; }
.r-case__type { margin: 0; font-size: 13px; font-weight: 500; color: var(--text); }
.r-case__desc { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text-2); }
.r-case__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin: auto -20px 0;
  margin-top: auto;
  padding: 12px 20px 14px;
  border-top: 1px solid var(--line);
}
.r-case__body > .r-case__desc { margin-bottom: 14px; }
.r-case__label { font-family: var(--font-sans); font-size: 11.5px; letter-spacing: .02em; color: var(--text-2); }
.r-case__prods { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.r-case__prods a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  color: var(--text);
  background: var(--bg-2);
}
.r-case__prods a:hover { border-color: var(--wire); color: var(--wire); }
@media (pointer: coarse) { .r-case__prods a { min-height: 36px; } }
.r-case--wide .r-case__title { font-size: clamp(20px, 1.8vw, 26px); }
@media (min-width: 1024px) {
  .r-case--wide .r-case__media { aspect-ratio: auto; flex: 1 1 auto; min-height: 300px; }
  .r-case--wide .r-case__body { flex: 0 0 auto; }
}
@media (min-width: 768px) and (max-width: 1023.98px) { .r-case--wide .r-case__media { aspect-ratio: 16 / 8; } }

/* 대표 사례 */
.r-feature { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--col-gap); }
@media (min-width: 1024px) { .r-feature { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); } }
.r-feature__hero { position: relative; margin: 0; }
.r-feature__hero .r-hud { bottom: 30px; }
.r-feature__hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 1600 / 739; z-index: 1; pointer-events: none; background: linear-gradient(rgba(11, 14, 16, .45), transparent 26%, transparent 72%, rgba(11, 14, 16, .55)); }
.r-feature__hero .r-hud > * { pointer-events: none; }
/* 밝은 배경(태안 드론 전경의 흰 전시동 등)에서도 읽히도록 HUD 글자에 어두운 칩을 깐다(2026-09-30 화면 QA) */
.r-feature__hero .r-hud .r-coord, .r-feature__hero .r-hud .r-hud__step { align-self: flex-start; padding: 3px 7px; border-radius: 2px; background: rgba(11, 14, 16, .62); color: #E8EAE5; text-shadow: none; }
.r-feature__hero .r-hud__tr .r-coord { align-self: flex-end; }
@media (max-width: 599.98px) { .r-feature__hero .r-hud__bl { display: none; } } /* 폰: 사진 아래 캡션과 겹치는 '자안 제작 제품 설치 현장' 칩은 숨겨 사진을 덜 가린다 */
/* 폰: 사례 칩(태안 안면도 · 2026)이 두 줄로 접히지 않게 오른쪽 사진 번호 칩 자리만 비운다(2026-09-30 화면 QA v6) */
@media (max-width: 599.98px) { .r-feature__hero .r-hud__tl { max-width: calc(100% - 160px); } }
.r-feature__hero .r-hud .r-coord b { color: #5FD4C4; }
.r-feature__hero .r-hud { --hud-c: rgba(255, 255, 255, .8); }
.r-frames__btn {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: var(--bg-3);
  overflow: hidden;
  cursor: zoom-in;
}
.r-frames__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out), filter var(--dur-3); }
.r-frames__btn:hover img { transform: scale(1.04); }
.r-frames__btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.r-feature__herobtn { height: auto; aspect-ratio: 1600 / 739; }
.r-feature__hero figcaption { margin-top: 10px; font-family: var(--font-sans); font-size: 11px; font-variant-numeric: tabular-nums; letter-spacing: .02em; color: var(--text-2); } /* '전경 · 전시동 옆 …' 한글 → sans, 번호(b)만 모노 */
.r-feature__hero figcaption b, .r-frames figcaption b { color: var(--wire); font-family: var(--font-mono); font-weight: 500; margin-right: 8px; }
.r-feature__info { display: flex; flex-direction: column; }
.r-feature__kv { padding: 8px 18px 0; }
.r-feature__kv > div:first-child { border-top: 0; }
.r-feature__kv dd { font-size: 14px; }
.r-feature__links { display: grid; gap: 8px; margin-top: auto; padding: 18px; }
/* 대표 사례가 2건(2026-09-30 태안 박람회 추가): 블록마다 머리글. 드론 전경(16:9)은 --wide */
.r-feature__head { display: grid; gap: 8px; max-width: 64em; margin: 0 0 var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--line-strong); }
.r-feature + .r-feature__head { margin-top: clamp(56px, 7vw, 96px); }
.r-feature__head .r-label { margin: 0; }
.r-feature__title { margin: 0; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.25; font-weight: 650; letter-spacing: -0.02em; }
.r-feature__lead { margin: 0; font-size: 15px; line-height: 1.65; color: var(--text-2); }
.r-feature--wide .r-feature__herobtn, .r-feature--wide .r-feature__hero::before { aspect-ratio: 16 / 9; }
.r-frames { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(112px, 26vw, 180px); gap: 10px; }
@media (min-width: 768px) { .r-frames { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(120px, 13vw, 200px); } }
.r-frames__item--wide { grid-column: span 2; }
.r-frames__item figure { position: relative; height: 100%; margin: 0; }
.r-frames figcaption {
  position: absolute;
  left: 8px; bottom: 8px;
  z-index: 1;
  max-width: calc(100% - 16px);
  padding: 3px 8px;
  background: rgba(11, 14, 16, .74);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #E8EAE5;
  font-size: 12px;
  font-weight: 500;
  pointer-events: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.r-frames figcaption b { font-family: var(--font-mono); font-size: 10.5px; color: #5FD4C4; }
/* 대표 사례 보조 블록(2026-09-30 태안 진입로 정비 전후 비교): 글 4 : 비교 슬라이더 8 — 위 사례 블록(사진 8 : 시트 4)과 좌우를 바꿔 반복을 피한다 */
.r-feature__sub { display: grid; gap: var(--s-4); margin-top: clamp(32px, 4vw, 56px); }
@media (min-width: 1024px) { .r-feature__sub { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: start; column-gap: var(--col-gap); } }
.r-feature__subhead { display: grid; gap: 6px; padding-top: var(--s-4); border-top: 1px solid var(--line); }
.r-feature__subhead .r-label { margin: 0; }
.r-feature__subtitle { margin: 0; font-size: clamp(18px, 1.6vw, 22px); font-weight: 650; line-height: 1.3; letter-spacing: -0.015em; }
.r-feature__sublead { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--text-2); }
.r-feature__sub + .r-feature__head { margin-top: clamp(56px, 7vw, 96px); }

.r-cases-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: clamp(48px, 7vw, 96px);
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line-strong);
  background: var(--bg-2);
}
.r-cases-cta .r-label { margin: 0 0 8px; }
.r-cases-cta__title { margin: 0; font-size: clamp(22px, 2.4vw, 32px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }

/* 상세 창 */
.modal-open, .modal-open body { overflow: hidden; }
.r-lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--text);
  overscroll-behavior: contain;
}
.r-lightbox[open] { display: block; }
.r-lightbox::backdrop { background: rgba(5, 7, 8, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.r-lightbox[open] .r-lightbox__frame { animation: r-lb-in var(--dur-3) var(--ease-out) both; }
@keyframes r-lb-in { from { opacity: 0; transform: scale(.985); } }
.r-lightbox__frame {
  position: relative;
  display: grid;
  height: 100%;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(52vh, 1fr) auto;
  overflow: auto;
}
@media (min-width: 1024px) {
  .r-lightbox__frame { grid-template-columns: minmax(0, 1fr) 400px; grid-template-rows: minmax(0, 1fr); overflow: hidden; }
}
.r-lightbox__stage { position: relative; min-height: 0; padding: 64px 16px 48px; overflow: hidden; }
@media (min-width: 1024px) { .r-lightbox__stage { padding: 72px 88px 64px; border-right: 1px solid var(--line); } }
.r-lightbox__img { position: absolute; inset: 64px 16px 48px; width: calc(100% - 32px); height: calc(100% - 112px); object-fit: contain; }
@media (min-width: 1024px) { .r-lightbox__img { inset: 72px 88px 64px; width: calc(100% - 176px); height: calc(100% - 136px); } }
.r-lightbox__stage.is-scan .r-lightbox__img { animation: r-lb-scan var(--dur-4) var(--ease-out) both; }
@keyframes r-lb-scan { from { clip-path: inset(0 100% 0 0); opacity: .4; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
.r-lightbox__stage .r-hud { z-index: 2; pointer-events: none; }
.r-lightbox__stage .r-hud > * { pointer-events: none; }
.r-lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-top: -24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-1);
  background: var(--glass);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 18px;
  transition: border-color var(--dur-1), color var(--dur-1);
}
.r-lightbox__nav:hover { border-color: var(--wire); color: var(--wire); }
.r-lightbox__nav--prev { left: 16px; }
.r-lightbox__nav--next { right: 16px; }
@media (min-width: 1024px) { .r-lightbox__nav--prev { left: 24px; } .r-lightbox__nav--next { right: 24px; } }
.r-lightbox:not(.is-multi) .r-lightbox__nav { display: none; }
.r-lightbox__info { display: flex; flex-direction: column; gap: 12px; padding: 28px 20px 40px; background: var(--bg-2); border-top: 1px solid var(--line); }
@media (min-width: 1024px) { .r-lightbox__info { padding: 72px 32px 40px; overflow: auto; border-top: 0; } }
.r-lightbox__info .r-label { margin: 0; color: var(--wire); }
.r-lightbox__title { margin: 0; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.25; letter-spacing: -0.02em; }
.r-lightbox__type { margin: 0; font-weight: 500; }
.r-lightbox__desc { margin: 0; color: var(--text-2); line-height: 1.7; }
.r-lightbox__cap { margin: 0; font-family: var(--font-sans); font-size: 12px; font-variant-numeric: tabular-nums; color: var(--text); } /* '01 · 전경 · …' 한글 위주 → sans */
.r-lightbox__cap:empty { display: none; }
.r-lightbox__thumbs { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.r-lightbox__thumb { display: block; width: 100%; aspect-ratio: 16 / 10; padding: 0; border: 1px solid var(--line); background: var(--bg-3); overflow: hidden; opacity: .6; transition: opacity var(--dur-1), border-color var(--dur-1); }
.r-lightbox__thumb img { width: 100%; height: 100%; object-fit: cover; }
.r-lightbox__thumb:hover { opacity: 1; }
.r-lightbox__thumb[aria-current="true"] { opacity: 1; border-color: var(--wire); box-shadow: 0 0 0 1px var(--wire); }
.r-lightbox__prods { display: flex; flex-wrap: wrap; gap: 8px; }
.r-lightbox__prods .r-chip { text-transform: none; font-family: var(--font-sans); font-size: 13px; letter-spacing: 0; }
.r-lightbox__label { margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-family: var(--font-sans); font-size: 12px; letter-spacing: .02em; color: var(--text-2); }
.r-lightbox__info > .r-btn { align-self: flex-start; }
.r-lightbox__close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 10px 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-1);
  background: var(--glass);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
}
.r-lightbox__close:hover { border-color: var(--wire); color: var(--wire); }
@media (max-width: 767.98px) { .r-lightbox__close .r-kbd { display: none; } }
/* (QA 2026-09-30) 1024 미만: 무대가 전체 폭이라 닫기 버튼(44px)이 오른쪽 위 '사진 01 / 08' 표기를 가렸다 → 표기를 버튼 왼쪽으로 */
@media (max-width: 1023.98px) { .r-lightbox__stage .r-hud__tr { right: 68px; } }

/* ═════════════════════════════════════════ ABOUT */
.r-relation {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-top: clamp(40px, 6vw, 72px);
  border: 1px solid var(--line-strong);
  background: var(--bg-2);
}
@media (min-width: 900px) { .r-relation { grid-template-columns: minmax(0, 1fr) minmax(140px, 200px) minmax(0, 1fr); } }
.r-relation__node { display: flex; flex-direction: column; gap: 18px; padding: clamp(20px, 3vw, 32px); min-width: 0; }
.r-relation__node .r-label { margin: 0; }
.r-relation__logo { align-self: flex-start; width: auto; height: clamp(30px, 3vw, 40px); }
.r-relation__brand { margin: 0; color: var(--text); }
.r-relation__mark { width: auto; height: clamp(34px, 3.4vw, 46px); }
.r-relation__kv { display: grid; gap: 0; margin-top: auto; font-size: 14px; }
.r-relation__kv > div { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); }
.r-relation__kv dt { font-family: var(--font-sans); font-size: 12px; letter-spacing: .02em; color: var(--text-2); padding-top: 1px; }
.r-relation__link {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  padding: 16px 20px;
  border-block: 1px solid var(--line);
  background: var(--bg); /* C안: 장식용 소형 격자 제거 */
}
@media (min-width: 900px) { .r-relation__link { border-block: 0; border-inline: 1px solid var(--line); } }
.r-relation__tag { font-family: var(--font-sans); font-size: 12px; letter-spacing: .02em; color: var(--text-2); text-align: center; } /* 화살표 이름 '개발·제작' 하나(U15: 오른쪽 카드 머리와 겹치던 '브랜드' 태그 --b 는 삭제) */
.r-relation__line {
  position: relative;
  display: block;
  height: 12px;
  background:
    linear-gradient(var(--wire), var(--wire)) 0 50% / calc(100% - 8px) 1px no-repeat,
    linear-gradient(var(--wire), var(--wire)) 0 0 / 1px 100% no-repeat;
}
.r-relation__line::before {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  border: 5px solid transparent;
  border-left: 9px solid var(--wire);
  border-right: 0;
  transform: translateY(-50%);
}
@media (max-width: 899.98px) {
  .r-relation__line { width: 12px; height: 44px; margin: 0 auto; background: linear-gradient(var(--wire), var(--wire)) 50% 0 / 1px calc(100% - 8px) no-repeat, linear-gradient(var(--wire), var(--wire)) 0 0 / 100% 1px no-repeat; }
  .r-relation__line::before { top: auto; bottom: 0; right: 50%; border: 5px solid transparent; border-top: 9px solid var(--wire); border-bottom: 0; transform: translateX(50%); }
}

.r-quote { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 20px; margin: clamp(32px, 5vw, 56px) 0 0; max-width: 980px; }
.r-quote::before { content: "“"; grid-row: span 2; font-family: var(--font-mono); font-size: 56px; line-height: .9; color: var(--wire); }
.r-quote blockquote p { margin: 0; font-size: clamp(18px, 1.55vw, 22px); line-height: 1.65; font-weight: 500; letter-spacing: -0.01em; }
.r-quote figcaption { display: flex; gap: 10px; margin-top: 10px; font-family: var(--font-sans); font-size: 11px; font-variant-numeric: tabular-nums; letter-spacing: .02em; color: var(--text-2); } /* 'RODI 정의 · 회사 소개 자료 원문(2025)' → sans */
.r-quote figcaption b { color: var(--wire); font-weight: 500; }

/* 비전 */
.r-vision__grid { align-items: center; row-gap: var(--s-8); }
.r-slogan { margin: 18px 0 clamp(36px, 5vw, 56px); }
.r-slogan p { margin: 0; font-size: clamp(36px, 5.2vw, 78px); line-height: 1.12; letter-spacing: -0.035em; font-weight: 600; }
.r-slogan span { display: block; }
.r-slogan em { font-style: normal; }
.r-slogan span:first-child em { color: var(--wire); }
.r-slogan span:last-child em { color: var(--wood); }
.r-mvv { display: grid; gap: 0; max-width: 680px; }
.r-mvv > div { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.r-mvv > div:last-child { border-bottom: 1px solid var(--line); }
.r-mvv dt { display: flex; align-items: center; gap: 10px; font-family: var(--font-sans); font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--text-2); } /* U15: 영문 머리글자 상자(V·M)와 영문 표기는 지우고 회사 원문 용어 '비전'·'미션'만 */
.r-mvv dd { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; font-weight: 500; }
@media (max-width: 599.98px) { .r-mvv > div { grid-template-columns: minmax(0, 1fr); gap: 8px; } }
.r-bridge { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 32px; max-width: 680px; }
@media (min-width: 640px) { .r-bridge { grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr); align-items: stretch; } }
.r-bridge__col { padding: 16px 18px; border: 1px solid color-mix(in srgb, var(--wood) 55%, transparent); font-size: 14px; line-height: 1.6; }
.r-bridge__col p { margin: 0; }
.r-bridge__col--plan { border: 1px dashed var(--plan); }
.r-bridge__k { margin-bottom: 10px !important; }
.r-bridge__col .r-btn--ghost { margin-top: 6px; min-height: 36px; }
.r-bridge__arrow { position: relative; }
.r-bridge__arrow::before { content: ""; position: absolute; left: 50%; top: 50%; width: 100%; height: 1px; transform: translate(-50%, -50%); background: repeating-linear-gradient(90deg, var(--text-2) 0 4px, transparent 4px 7px); }
.r-bridge__arrow::after { content: ""; position: absolute; right: 0; top: 50%; border: 4px solid transparent; border-left: 7px solid var(--text-2); border-right: 0; transform: translateY(-50%); }
@media (max-width: 639.98px) { .r-bridge__arrow { height: 20px; } .r-bridge__arrow::before { width: 1px; height: 100%; background: repeating-linear-gradient(var(--text-2) 0 4px, transparent 4px 7px); } .r-bridge__arrow::after { right: auto; left: 50%; top: auto; bottom: 0; border: 4px solid transparent; border-top: 7px solid var(--text-2); border-bottom: 0; transform: translateX(-50%); } }

.r-vision__fig { margin: 0; }
.r-vision__media { position: relative; aspect-ratio: 3 / 4; max-height: 72vh; overflow: hidden; border: 1px solid var(--line-strong); background: var(--bg-3); }
.r-vision__media img { width: 100%; height: 100%; object-fit: cover; }
/* 배경 제거 제품 컷(원목 단면 D015-cutout, 2026-09-30): 표면 단색 + 미세 그림자, HUD 글자와 겹치지 않게 위아래 여백 */
.r-vision__media--cut img { object-fit: contain; padding: 20% 13% 24%; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .5)) drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); }
.r-vision__media::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(rgba(11, 14, 16, .55), transparent 22%, transparent 70%, rgba(11, 14, 16, .7)); }
.r-vision__media .r-hud { --hud-c: rgba(232, 234, 229, .75); }
.r-vision__media .r-hud .r-coord, .r-vision__media .r-hud .r-hud__step { color: #E8EAE5; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.r-vision__media .r-hud__tr .r-coord b { color: var(--wood); }
.r-vision__fig figcaption { margin-top: 12px; display: flex; gap: 10px; font-family: var(--font-sans); font-size: 11px; font-variant-numeric: tabular-nums; letter-spacing: .02em; color: var(--text-2); } /* '국산 아까시 원목 단면 …' → sans */
.r-vision__fig figcaption b { color: var(--wood); font-weight: 500; }

/* 거점 */
.r-sites { align-items: start; }
/* 공장 실내 about.factory.interior (A4): 모바일 세로 1장 + 가로 2장, 768 이상 왼쪽 세로 1장 · 오른쪽 가로 2장 */
.r-factory { margin: 0; display: grid; gap: 12px; }
.r-factory__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.r-factory__grid > li { aspect-ratio: 4 / 3; border-radius: var(--r-1); }
.r-factory__grid > li:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
.r-factory__grid > li > img { position: absolute; inset: 0; display: block; }
@media (min-width: 768px) {
  .r-factory__grid { grid-template-rows: repeat(2, minmax(0, 1fr)); gap: var(--col-gap); }
  .r-factory__grid > li { aspect-ratio: auto; }
  .r-factory__grid > li:first-child { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: 3 / 4; }
}
.r-factory > .r-caption { margin-top: 0; }
/* 1공장 / 원목 야적장 소제목 + 야적장 about.factory.yard (2026-09-30 촬영지 확인 1): 1공장 사진과 소제목·캡션으로 구분 */
.r-factory__sub { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 14px; font-size: clamp(18px, 1.6vw, 22px); font-weight: 650; line-height: 1.35; letter-spacing: -0.015em; } /* U15: 소제목 앞 영문 span(FACTORY·YARD)은 삭제 */
.r-yard { display: grid; gap: 16px; margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(24px, 3vw, 32px); border-top: 1px solid var(--line); }
.r-yard__text .r-factory__sub { margin-bottom: 10px; }
.r-yard__lead { margin: 0; max-width: 46ch; font-size: 15px; line-height: 1.65; color: var(--text-2); }
.r-yard__fig { margin: 0; display: grid; gap: 12px; }
.r-yard__media { aspect-ratio: 4 / 3; border-radius: var(--r-1); }
.r-yard__media > img { position: absolute; inset: 0; display: block; }
.r-yard__fig > .r-caption { margin-top: 0; }
@media (min-width: 768px) { .r-yard { grid-template-columns: 5fr 7fr; column-gap: var(--col-gap); align-items: start; } }
.r-sitemap-wrap { margin: 0; }
.r-sitemap { display: block; width: 100%; height: auto; padding: clamp(8px, 1.5vw, 16px); color: var(--text); }
.r-sitemap-wrap > .r-caption { margin: 0; padding: 10px 16px; border-top: 1px solid var(--line); }
.r-nodes { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.r-node { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.r-node__code { display: block; width: 36px; height: 36px; color: var(--wire); }
.r-node__code svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.r-node__body .r-label { margin: 0 0 6px; }
.r-node__title { margin: 0; font-size: 20px; letter-spacing: -0.01em; }
.r-node__text { margin: 6px 0 0; font-size: 14px; color: var(--text-2); }
.r-node__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 10px 0 0; font-family: var(--font-sans); font-size: 11.5px; font-variant-numeric: tabular-nums; color: var(--text); } /* '2024-07 홍성 이전' 등 날짜+한글 → sans + 고정폭 숫자 */
.r-node__meta span::before { content: "▸ "; color: var(--wood); }

/* 연혁 눈금자 */
.r-yearscale {
  position: relative;
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line-strong);
}
.r-yearscale__y {
  position: relative;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 4px;
  min-height: 92px;
  padding: 0 0 8px 8px;
  border-left: 1px solid var(--line);
}
.r-yearscale__y::before { content: ""; position: absolute; left: -1px; bottom: -6px; width: 1px; height: 11px; background: var(--line-strong); }
.r-yearscale__y span { margin-top: 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .02em; color: var(--text-2); font-variant-numeric: tabular-nums; }
.r-yearscale__y i { display: block; width: 18px; height: 5px; background: var(--wood); }
.r-yearscale__y--ext i { background: transparent; border: 1px dotted var(--text-2); height: 6px; }
.r-yearscale__y b { position: absolute; top: 0; left: 8px; font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; } /* 현재 · 계획 */
.r-yearscale__y--now { background: linear-gradient(color-mix(in srgb, var(--wire) 7%, transparent), transparent); }
.r-yearscale__y--now b { color: var(--wire); }
.r-yearscale__y--now span { color: var(--text); }
.r-yearscale__y--plan { border-left: 1px dashed var(--plan); }
.r-yearscale__y--plan b, .r-yearscale__y--plan span { color: var(--plan); }
.r-yearscale__y--plan i { background: transparent; border: 1px dashed var(--plan); height: 7px; }
@media (max-width: 599.98px) {
  .r-yearscale__y { padding-left: 4px; min-height: 80px; }
  .r-yearscale__y span { font-size: 9.5px; letter-spacing: -0.02em; }
  .r-yearscale__y i { width: 12px; }
  .r-yearscale__y b { left: 4px; font-size: 9.5px; letter-spacing: 0; }
}
.r-revtable .r-table th[scope="row"] { font-weight: 500; }
.r-revtable .r-table td:first-child { color: var(--wire); width: 4.5em; }
.r-revtable .r-table td:nth-child(2) { width: 8em; white-space: nowrap; }
.r-revtable .r-table td:last-child { width: 7em; }
.r-revtable .r-muted { display: inline-block; margin-left: 6px; font-family: var(--font-sans); font-variant-numeric: tabular-nums; font-size: 11.5px; font-weight: 400; } /* '10-1989321 · 권리 유지 중' → sans + 고정폭 숫자 */
.r-revtable tr.is-ext th[scope="row"] { color: var(--text-2); }
.r-revtable tr.is-plan > * { border-top: 1px dashed var(--plan); background: color-mix(in srgb, var(--plan) 4%, transparent); }
/* 연혁 2024 사진 about.history.workshop (2026-09-30 촬영지 확인 3, 이전 자사 작업장): 세로 3:4 한 장이 줄 높이를 정하고 가로 사진이 같은 높이로 채운다 */
.r-histfig { margin: clamp(28px, 4vw, 48px) 0 0; max-width: 760px; display: grid; gap: 12px; }
.r-histfig__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 9fr 16fr; gap: 12px; }
.r-histfig__grid > li { border-radius: var(--r-1); }
.r-histfig__grid > li:first-child { aspect-ratio: 3 / 4; }
.r-histfig__grid > li > img { position: absolute; inset: 0; display: block; }
.r-histfig > .r-caption { margin-top: 0; }
.r-revtable tr.is-plan td:first-child { color: var(--plan); }
.r-revtable__link { margin-left: 8px; font-family: var(--font-sans); font-size: 12px; letter-spacing: .02em; color: var(--wire); text-decoration: none; white-space: nowrap; } /* 'RODI LAB →' · '로드맵 →' */
@media (max-width: 599.98px) {
  .r-revtable .r-table, .r-revtable tbody { display: block; }
  .r-revtable .r-table caption { display: block; }
  .r-revtable thead { display: none; }
  .r-revtable tr { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .r-revtable tr:last-child { border-bottom: 0; }
  .r-revtable .r-table th, .r-revtable .r-table td { display: block; width: auto !important; padding: 0; border: 0 !important; background: none !important; }
  .r-revtable .r-table td:first-child { grid-area: 1 / 1; }
  .r-revtable .r-table td:nth-child(2) { grid-area: 1 / 2; color: var(--text-2); }
  .r-revtable .r-table td:last-child { grid-area: 1 / 3; }
  .r-revtable .r-table th[scope="row"] { grid-area: 2 / 1 / 3 / -1; }
  .r-revtable tr.is-plan { border-top: 1px dashed var(--plan); background: color-mix(in srgb, var(--plan) 4%, transparent); }
}

/* 등록·확인 판 */
.r-plates { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--col-gap); }
@media (min-width: 640px) { .r-plates { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .r-plates { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.r-plate {
  --m: var(--line-strong);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  min-height: 250px;
  padding: 22px 22px 20px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  transition: border-color var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
}
.r-plate::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background:
    linear-gradient(var(--m), var(--m)) 0 0 / 10px 1px no-repeat, linear-gradient(var(--m), var(--m)) 0 0 / 1px 10px no-repeat,
    linear-gradient(var(--m), var(--m)) 100% 0 / 10px 1px no-repeat, linear-gradient(var(--m), var(--m)) 100% 0 / 1px 10px no-repeat,
    linear-gradient(var(--m), var(--m)) 0 100% / 10px 1px no-repeat, linear-gradient(var(--m), var(--m)) 0 100% / 1px 10px no-repeat,
    linear-gradient(var(--m), var(--m)) 100% 100% / 10px 1px no-repeat, linear-gradient(var(--m), var(--m)) 100% 100% / 1px 10px no-repeat;
  transition: background var(--dur-2);
}
.r-plate:hover { border-color: var(--line-strong); --m: var(--wire); }
.r-plate__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0; font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--text-2); }
.r-plate__title { margin: 6px 0 0; font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--text); }
.r-plate__value { margin: 0; font-family: var(--font-sans); font-size: clamp(19px, 1.7vw, 24px); font-weight: 500; line-height: 1.3; letter-spacing: .01em; color: var(--text); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; } /* '공주 유구 공장'·'홍성군 제2023-1호' 등 한글 → sans */
.r-plate__value--code { font-family: var(--font-mono); } /* 번호만 담는 판(WINZ-…, 이력번호)은 모노 유지 */
.r-plate__kv { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 2px 0 0; font-size: 13px; }
.r-plate__kv > div { display: flex; gap: 8px; }
.r-plate__kv dt { font-family: var(--font-sans); font-size: 11.5px; letter-spacing: .02em; color: var(--text-2); padding-top: 1px; }
.r-plate__note { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.55; color: var(--text-2); }
.r-plate__text { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text-2); }
.r-plate--key { background: linear-gradient(var(--wood), var(--wood)) 0 0 / 100% 2px no-repeat, var(--bg-2); }
.r-plate--key .r-plate__value { color: var(--wood); }
.r-plate--rule { background: transparent; }
.r-plate__ext { padding: 2px 8px; border: 1px dotted var(--text-2); font-weight: 500; letter-spacing: .02em; }
.r-plate--req { background: transparent; border-color: var(--line-strong); }
.r-plate__actions { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: auto; }
.r-trust-foot { margin-top: var(--s-6); }

/* 자료 카드 */
.r-docs { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--col-gap); }
@media (min-width: 640px) { .r-docs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .r-docs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.r-doccard {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: border-color var(--dur-2) var(--ease-out);
}
/* 슬롯 pending 표시: 카드 전체 X 대신 표지(cover)의 모서리 십자로 (SPEC §1.2 "모서리 십자만") */
.r-doccard[data-status="pending"] { background-image: none; background-color: var(--bg-2); border: 1px solid var(--line); }
a.r-doccard:hover { border-color: var(--wire); color: inherit; }
.r-doccard__cover {
  --m: var(--text-2);
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  margin: 14px 14px 0;
  border: 1px solid var(--line);
  background: var(--bg-3); /* C안: 장식용 소형 격자 제거 */
  overflow: hidden;
}
.r-doccard[data-status="pending"] .r-doccard__cover {
  border-color: transparent;
  background:
    linear-gradient(var(--m), var(--m)) 0 0 / 12px 1px no-repeat, linear-gradient(var(--m), var(--m)) 0 0 / 1px 12px no-repeat,
    linear-gradient(var(--m), var(--m)) 100% 0 / 12px 1px no-repeat, linear-gradient(var(--m), var(--m)) 100% 0 / 1px 12px no-repeat,
    linear-gradient(var(--m), var(--m)) 0 100% / 12px 1px no-repeat, linear-gradient(var(--m), var(--m)) 0 100% / 1px 12px no-repeat,
    linear-gradient(var(--m), var(--m)) 100% 100% / 12px 1px no-repeat, linear-gradient(var(--m), var(--m)) 100% 100% / 1px 12px no-repeat,
    var(--bg-3);
}
.r-doccard__kind { position: absolute; top: 10px; left: 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .02em; color: var(--wire); } /* PDF · DWG · SVG 와 한글(확인서·점검표) */
.r-doccard__lines {
  display: grid;
  align-content: start;
  gap: 7px;
  width: 38%;
  aspect-ratio: 210 / 297;
  max-height: 78%;
  padding: 14% 10%;
  background: var(--bg-2);
  box-shadow: 0 10px 24px -14px rgba(21, 25, 28, .45);
  transition: transform var(--dur-3) var(--ease-out);
}
.r-doccard__lines i { display: block; height: 3px; background: var(--line); }
.r-doccard__lines i:first-child { width: 60%; height: 5px; background: var(--text-2); }
.r-doccard__lines i:nth-child(3) { width: 80%; }
.r-doccard:hover .r-doccard__lines { transform: translateY(-3px) rotate(-1deg); }
.r-doccard__cover--cert { align-content: center; gap: 6px; }
.r-doccard__num { font-family: var(--font-mono); font-size: clamp(12px, 1.1vw, 14px); letter-spacing: .04em; color: var(--text); padding: 3px 8px; background: var(--bg-2); border: 1px solid var(--line); }
.r-doccard__num:first-of-type { color: var(--wood); }
.r-doccard__cover--dwg svg { width: 62%; height: auto; fill: none; stroke: var(--text); stroke-width: 1.25; }
.r-doccard__cover--dwg svg .d { stroke: var(--wire); }
.r-doccard__checks { display: grid; gap: 7px; width: 46%; }
.r-doccard__checks i { position: relative; display: block; height: 10px; padding-left: 16px; }
.r-doccard__checks i::before { content: ""; position: absolute; left: 0; top: 0; width: 10px; height: 10px; border: 1px solid var(--wire); }
.r-doccard__checks i::after { content: ""; position: absolute; left: 16px; right: 0; top: 4px; height: 2px; background: var(--line-strong); }
.r-doccard__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px 18px 20px; }
.r-doccard__body .r-label { margin: 0; }
.r-doccard__title { margin: 0; font-size: 18px; letter-spacing: -0.01em; line-height: 1.35; }
.r-doccard__text { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text-2); }
.r-doccard__req { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.r-doccard__go { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--font-sans); font-size: 13px; font-weight: 600; color: var(--wire); display: flex; justify-content: space-between; }

/* ═════════════════════════════════════════ PRINT */
@media print {
  /* 문의: 문의서 미리보기만 A4 한 장으로 */
  body[data-page="contact"] #intro,
  body[data-page="contact"] #info,
  body[data-page="contact"] .r-rfq__main,
  body[data-page="contact"] .r-rfq__side > .r-rfq__sticky > .r-sechead,
  body[data-page="contact"] .r-meter,
  body[data-page="contact"] .r-sendgrid,
  body[data-page="contact"] .r-rfq__status,
  body[data-page="contact"] noscript { display: none !important; }
  body[data-page="contact"] .r-rfq { display: block !important; }
  body[data-page="contact"] .r-composer { padding: 0 !important; }
  .r-rfq__sticky { position: static !important; }
  .r-rfqdoc { box-shadow: none; border: 1px solid #8E948D; }
  .r-rfqdoc::before { display: none; }
  .r-rfqdoc__body { max-height: none !important; overflow: visible !important; font-size: 10pt; }
  .r-rfqdoc__subject { font-size: 12.5pt; }
  .r-rfq__privacy { font-size: 8pt; }

  /* 사례·회사 */
  .r-lightbox, .r-filterbar, .r-rfq-steps, .r-cases-cta .r-row, .r-yearscale { display: none !important; }
  .r-case, .r-plate, .r-doccard, .r-node { break-inside: avoid; }
  .r-cases { grid-template-columns: repeat(3, 1fr) !important; }
  .r-case--wide { grid-column: span 3 !important; grid-row: auto !important; }
  .r-case__open::before { display: none; }
  .r-frames { grid-template-columns: repeat(4, 1fr) !important; grid-auto-rows: 28mm !important; }
  .r-bigtel { background: #fff !important; color: #111416 !important; }
  .r-bigtel__no { color: #111416 !important; }
}
/* U15 3차: 폰에서 보내기 버튼 아래 작은 글(팩스 번호·파일 이름)이 잘리지 않게 줄바꿈 허용 */
@media (max-width: 599.98px) { .r-send__meta { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; } }
