/* ============================================================
   십칠도씨 SIBCHILDOSSI — 시안 B · 그리드 풀배경 히어로
   거대 BARRISOL 배경 타이포 / 라이트·다크 밴드 교차
   ============================================================ */

:root {
  --ink:       #18181a;
  --ink-soft:  #54534f;
  --ink-faint: #8b8a83;
  --paper:     #e7e7e2;
  --paper-2:   #f2f2ee;
  --card:      #fbfbf9;
  --line:      rgba(24,24,26,.12);
  --line-2:    rgba(24,24,26,.18);
  --dark:      #161513;
  --dark-2:    #211f1c;
  --on-dark:   #e9e6df;
  --on-dark-soft: #a39f96;
  --accent:    #f59e2b;
  --accent-deep:#c8780f;
  --ok:        #6cc24a;

  --kr:   "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --disp: "Archivo", var(--kr);
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1180px;                 /* 콘텐츠 컨테이너 폭 — 그리드 세로선 기준 */
  --gutter: max(24px, calc((100% - var(--container)) / 2)); /* 컨테이너 좌측 여백 */

  word-break: keep-all;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--kr);
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; } /* 한글 이탤릭 금지 */

.mono {
  font-family: var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
}

/* ===== 전역 그리드 가이드 ===== */
.gridlines {
  position: fixed; top: 0; bottom: 0; left: 0; right: 0; z-index: 0; pointer-events: none;
  width: min(var(--container), calc(100% - 48px)); margin: 0 auto;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
main { position: relative; z-index: 1; }

/* ===== 플로팅 내비게이션 ===== */
.nav {
  position: sticky; top: 0; z-index: 60;           /* 히어로 아래에서 시작 → 스크롤 시 상단 고정 */
  display: flex;                                   /* 상단 풀블리드 바 */
  margin: 0 0 -61px;                               /* 아래 섹션 흐름을 밀지 않도록 자기 높이만큼 회수 */
  padding: 0;
}
.nav__pill {
  flex: 1; min-width: 0;
  display: flex; align-items: center; gap: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(250,250,247,.88));
  backdrop-filter: blur(14px) saturate(1.08);
  border-bottom: 1px solid var(--line-2);
  padding: 9px 24px;
}
.nav__brand { display: inline-flex; align-items: center; margin-right: 12px; }
.nav__logo { display: block; width: auto; }
.nav__logo--h { height: 28px; }
.nav__logo--mark { height: 32px; display: none; }
.nav__links { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.nav__links a { font-size: 14px; color: var(--ink); padding: 4px 2px; border-bottom: 1px solid transparent; }
.nav__links a.is-current { border-bottom-color: var(--accent); }

/* 시공 문의 — 좌상→우하 입체 오렌지 그라데이션 (레퍼런스형) */
.nav__links a.nav__cta {
  display: inline-flex; align-items: center; gap: 6px;
  color: #fff; font-weight: 700;
  padding: 10px 16px; border-radius: 7px;
  border-bottom: 0;
  background: #f5841e;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.32),     /* 상단 하이라이트 */
    0 5px 14px rgba(200,120,15,.32);         /* 떠 보이는 오렌지빛 그림자 */
}
.nav__cta-arr { width: 15px; height: 15px; flex: 0 0 auto; }
.nav__toggle { display: none; }

/* 모바일 하단 고정 CTA — 데스크톱은 미노출 */
.nav__mcta { display: none; }

/* 내비 SNS 바로가기 — 블로그·인스타그램 상시 노출 */
.nav__sns { display: flex; align-items: center; gap: 2px; }
.nav__sns::before { content: ""; width: 1px; height: 20px; background: var(--line-2); margin: 0 10px 0 2px; }
.nav__sns a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 7px; color: var(--ink); }
.nav__sns a svg { width: 19px; height: 19px; }
.nav__sns a:last-child svg { width: 22px; height: 22px; } /* 네이버 블로그 아이콘은 살짝 크게 */
.nav__sns a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ============================================================
   01 HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh; min-height: 640px;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  color: #fff;
}
.hero__bgs { position: absolute; inset: 0; }
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center center;
  opacity: 0; animation: heroDissolve 30s ease-in-out infinite;
}
.hero__bg:nth-child(1) { animation-delay: 0s; }
.hero__bg:nth-child(2) { animation-delay: 6s; }
.hero__bg:nth-child(3) { animation-delay: 12s; }
.hero__bg:nth-child(4) { animation-delay: 18s; }
.hero__bg:nth-child(5) { animation-delay: 24s; }
@keyframes heroDissolve {
  0%   { opacity: 0; }
  4%   { opacity: 1; }
  20%  { opacity: 1; }
  24%  { opacity: 0; }
  100% { opacity: 0; }
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,12,8,.38) 0%, rgba(15,12,8,.04) 30%, rgba(15,12,8,.04) 44%, rgba(10,8,5,.58) 100%),
    linear-gradient(90deg, rgba(10,8,5,.42) 0%, rgba(10,8,5,.02) 58%),
    rgba(14,11,8,.06);
}
.hero__inner {
  position: relative; z-index: 3;
  width: 100%;
  padding: 0 5vw;
}
.hero__main { position: relative; z-index: 0; max-width: 920px; }
/* 텍스트 영역 뒤 은은한 그라데이션 딤드 — 밝은 배경 사진에서도 가독성 확보 */
.hero__main::before {
  content: ""; position: absolute; z-index: -1;
  inset: -120px -30vw -120px -6vw;
  background: radial-gradient(55% 48% at 16% 50%, rgba(10,8,5,.5) 0%, rgba(10,8,5,.24) 55%, rgba(10,8,5,0) 100%);
  pointer-events: none;
}
.hero__logo { height: clamp(32px, 4.2vw, 56px); width: auto; margin: 0 0 18px 4px; }
.hero__title {
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 800; line-height: 1.14; letter-spacing: -0.02em;
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px;
  text-shadow: 0 2px 40px rgba(0,0,0,.3);
}
.hero__hr { display: inline-block; width: 46px; height: 2px; background: rgba(255,255,255,.55); }
.hero__title em { font-weight: 300; color: rgba(255,255,255,.78); }
.hero__sub { margin-top: 18px; font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.86); }
.hero__cta { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
/* 아래로 스크롤 인디케이터 — 히어로 하단, 테두리 없이 화살표만 아래로 흐름 */
.hero__scroll {
  position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 5;
  display: grid; place-items: center;
  width: 40px; height: 40px; overflow: hidden;
}
.hero__scroll svg {
  grid-area: 1 / 1;
  width: 20px; height: 20px; stroke: rgba(255,255,255,.85); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round;
  animation: scrollFlow 1.9s ease-in-out infinite;
}
.hero__scroll svg:nth-child(2) { animation-delay: .95s; }
@keyframes scrollFlow {
  0% { transform: translateY(-4px); opacity: 0; }
  45% { opacity: 1; }
  100% { transform: translateY(13px); opacity: 0; }
}

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 600;
  padding: 14px 24px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  white-space: nowrap;
}
/* 크기 미지정 인라인 SVG 는 고유 기본 크기(300×150 취급)로 부풀어 버튼을 두 줄 블롭으로 만든다 */
.btn__arr { width: 1em; height: 1em; flex: none; }
.btn--solid { background: #f5841e; color: #fff; }
.btn--solid span { color: #fff; }
.btn--line { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--accent { background: var(--accent); color: #211a0d; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ===== 히어로 기법 티커 ===== */
.hero__ticker {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 6;
  overflow: hidden; padding: 22px 0;
  background: linear-gradient(180deg, rgba(8,7,5,.28), rgba(8,7,5,.55));
  backdrop-filter: blur(14px) saturate(1.05);
  -webkit-backdrop-filter: blur(14px) saturate(1.05);
  border-top: 1px solid rgba(255,255,255,.18);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.tk-track {
  display: inline-flex; align-items: center;
  white-space: nowrap; will-change: transform;
  animation: tkFlow 42s linear infinite;
}
.tk-unit { display: inline-flex; align-items: center; }
.tk-item {
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.82);
}
.tk-sep { font-family: var(--mono); font-size: 12px; color: var(--accent); margin: 0 16px; }
@keyframes tkFlow { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   공통 밴드
   ============================================================ */
.band {
  position: relative;
  padding: 100px 5vw;
  background: transparent; /* 전역 그리드 노출 */
  border-top: 1px solid var(--line);
}
.band--dark { background: var(--dark); color: var(--on-dark); border-top-color: rgba(255,255,255,.16); }
/* 셀 좌상단 코너 마크 — 세로 그리드선과 밴드 경계의 교차점에 원형 도트 */
.band::before {
  content: ""; position: absolute; top: -4.5px; left: calc(var(--gutter) - 4.5px); z-index: 3;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent);
}
.bandhead { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.bandhead__no { color: var(--accent-deep); display: block; margin-bottom: 16px; }
.band--dark .bandhead__no { color: var(--accent); }
.bandhead__title {
  font-size: clamp(30px, 4.4vw, 56px);
  font-weight: 800; line-height: 1.16; letter-spacing: -0.015em;
  text-wrap: balance;
}
.bandhead__title .hl-accent { color: var(--accent); font-style: normal; }
.bandhead__sub { margin-top: 18px; font-size: 16px; color: var(--ink-soft); line-height: 1.7; }
.band--dark .bandhead__sub { color: var(--on-dark-soft); }

.maxw { max-width: 1180px; margin: 0 auto; }

/* ===== 02 BRIDGE — BARRISOL 회색 면 + 스크롤 연동 빛남·서명 곡선 ===== */
.bridge { --p: 0; --pl: 0; --pc: 0; padding-top: 230px; padding-bottom: 320px; text-align: center; overflow: hidden; }
/* 상단 오렌지 글로우 — 최초 0, 리드 노출 진행도(--pc)만큼 조명이 켜지듯 밝아짐 */
.bridge::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 420px;
  background: linear-gradient(180deg,
    rgba(255,138,32, calc(var(--pc) * 0.94)) 0%,
    rgba(255,150,48, calc(var(--pc) * 0.5)) 42%,
    rgba(255,150,48,0) 100%);
  z-index: 1; pointer-events: none;
}
.bridge__lead {
  max-width: 880px; margin: 120px auto 0;
  font-size: clamp(24px, 3.4vw, 44px);
  font-weight: 700; line-height: 1.4; letter-spacing: -0.01em;
  text-wrap: balance;
  opacity: 0; transform: translateY(36px);
  transition: opacity 2.4s ease, transform 2.4s cubic-bezier(.22,.61,.36,1);
}
.bridge.is-in .bridge__lead { opacity: 1; transform: none; }
.bridge__lead .hl { color: color-mix(in srgb, #f5841e calc(var(--pc) * 100%), var(--ink)); }
.bridge__art { position: relative; display: inline-block; margin: 300px 0 220px; }
/* 처음부터 점등된 워드마크 — 강한 블러·투명 상태에서 스크롤(--p)에 따라 선명해진다 */
.bridge__word {
  display: block; position: relative; z-index: 1;
  font-family: "Montserrat", var(--disp); font-weight: 800;
  font-size: clamp(56px, 16vw, 232px); line-height: .92;
  letter-spacing: -0.02em;
  color: #fff4e2;
  white-space: nowrap; user-select: none;
  opacity: var(--p);
  filter:
    blur(calc((1 - var(--p)) * 22px))
    drop-shadow(0 0 5px rgba(255,214,158,.45))
    drop-shadow(0 0 22px rgba(255,170,84,.22));
}
/* 로고 서명 곡선 — 스크롤 진행도만큼 그려짐 */
.bridge__line {
  position: absolute; left: 50%; top: 56%; transform: translate(-50%, -50%);
  width: 84%; aspect-ratio: 389 / 316; /* 박스 비율 = viewBox 비율 → none이어도 왜곡 없음 */
  overflow: visible; pointer-events: none; z-index: 2; /* BARRISOL 글자 위 */
}
.bridge__draw {
  stroke: var(--accent); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round;
  /* 유저 단위 굵기 고정 — 시각 굵기가 아트 폭(뷰포트)에 비례해 함께 축소 */
  stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--pl));
}

/* 소재 탐색기 — 좌측 탭 + 우측 설명·프로젝트 */
.matexp {
  max-width: 1080px; margin: 64px auto 0;
  display: grid; grid-template-columns: 248px 1fr; gap: 26px;
  text-align: left;
}
.matexp__tabs { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--line); align-self: start; }
.matexp__tab {
  text-align: left; padding: 18px 22px; border: 0; border-bottom: 1px solid var(--line);
  border-radius: 0; background: transparent;
  font-size: 16px; font-weight: 600; color: var(--ink-soft); cursor: pointer;
}
.matexp__tab:last-child { border-bottom: 0; }
.matexp__tab.is-active {
  color: var(--ink);
  background: linear-gradient(90deg, transparent 36%, rgba(245,158,43,.18) 100%);
}
.matexp__tab:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

.matexp__panel { border: 1px solid var(--line); border-radius: 0; background: transparent; padding: 32px 34px 34px; }
.matexp__no { display: block; color: var(--accent-deep); }
.matexp__name { font-size: 24px; font-weight: 800; margin: 10px 0 12px; letter-spacing: -0.01em; }
.matexp__body { font-size: 15px; color: var(--ink-soft); line-height: 1.7; max-width: 60ch; }
.matexp__bullets { list-style: none; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.matexp__bullets li { font-size: 14px; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 0; padding: 7px 14px; line-height: 1.4; }
.matexp__fit { margin-top: 18px; font-size: 14px; }
.matexp__fit b { font-family: var(--mono); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); margin-right: 8px; font-weight: 500; }

.matexp__projs { margin-top: 26px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; border-top: 1px solid var(--line); padding-top: 24px; }
.matexp__proj { cursor: pointer; border: 1px solid var(--line); border-radius: 0; overflow: hidden; background: transparent; }
.matexp__proj:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.matexp__proj-img { aspect-ratio: 16/10; overflow: hidden; }
.matexp__proj-img img { width: 100%; height: 100%; object-fit: cover; }
.matexp__proj-txt { padding: 12px 14px 14px; }
.matexp__proj-name { font-size: 15px; font-weight: 700; display: block; line-height: 1.32; }
.matexp__proj-loc { font-size: 11px; color: var(--ink-faint); text-transform: uppercase; margin-top: 5px; display: block; }

/* ===== 03 SOLUTIONS ===== */
/* 왜 바리솔인가 — 좌 인트로 + 우 2×2 라인(보더) 매트릭스 */
.why {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 64px; align-items: start;
}
.why__intro { text-align: left; }
.why__title {
  font-size: clamp(32px, 3.4vw, 46px); font-weight: 800; line-height: 1.14;
  letter-spacing: -0.015em; text-wrap: balance; margin: 12px 0 26px;
}
.sol-intro__lead {
  font-size: clamp(20px, 2.1vw, 26px); font-weight: 700; line-height: 1.46;
  letter-spacing: -0.01em; text-wrap: balance;
}
.sol-intro__lead em { font-weight: 700; font-style: normal; color: #f5841e; }
.sol-intro__body {
  margin: 24px 0 0; max-width: 48ch;
  font-size: 16px; color: var(--ink-soft); line-height: 1.78;
}
.sol-intro__body b { color: var(--ink); font-weight: 700; }

/* 우측: 2×2 특징 — 하이라인 매트릭스 (면 채움/라운드 없음) */
.why__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.merit {
  position: relative;
  background: transparent; border-radius: 0;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 32px 30px 36px; display: flex; flex-direction: column;
  min-height: 208px;
}
.merit__no { position: absolute; top: 28px; right: 28px; color: var(--ink-faint); font-size: 12px; }
.merit__ico { width: 30px; height: 30px; margin-bottom: 24px; display: grid; place-items: center; }
.merit__ico svg { width: 28px; height: 28px; stroke: var(--accent-deep); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.merit__t { font-size: 18px; font-weight: 700; }
.merit__d { font-size: 15px; color: var(--ink-soft); line-height: 1.62; margin-top: 10px; }

/* ===== 03.5 SOLUTIONS — 바리솔 조명 vs 일반 조명 QA (시안 A 이식) ===== */
.compare { max-width: 1080px; margin: 96px auto 0; }
.qa__label { display: block; color: var(--accent-deep); margin-bottom: 14px; }
.qa__title {
  font-size: clamp(24px, 3vw, 38px); font-weight: 800;
  letter-spacing: -0.015em; line-height: 1.2; text-wrap: balance;
}
.qa__list { list-style: none; margin-top: 34px; border-top: 1px solid var(--line-2); }
.qa__item {
  display: grid; grid-template-columns: 64px minmax(0, .72fr) minmax(0, 1.28fr);
  gap: 8px 28px; align-items: baseline;
  padding: 24px 2px; border-bottom: 1px solid var(--line);
}
.qa__no { color: var(--accent-deep); font-size: 13px; }
.qa__q { font-size: 18px; font-weight: 700; line-height: 1.5; }
.qa__a { font-size: 16px; color: var(--ink-soft); line-height: 1.7; }
.qa__a b { color: var(--accent-deep); font-weight: 700; }

/* ===== 04 PROJECTS ===== */
.filters { max-width: 1180px; margin: 0 auto 26px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.filter {
  font-family: var(--mono); font-size: 12px; letter-spacing: .03em; text-transform: uppercase;
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line-2); background: transparent; color: var(--ink-soft); cursor: pointer;
}
.filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* 5단 × 2줄(10개) — 컨테이너 좌우 가이드라인을 벗어나는 풀블리드 그리드 */
.proj-grid {
  max-width: none;
  margin-left: calc(24px - 5vw); margin-right: calc(24px - 5vw);
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.proj-card { cursor: pointer; background: var(--card); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.proj-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.proj-card__img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.proj-card__img img { width: 100%; height: 100%; object-fit: cover; }
.proj-card__tag {
  position: absolute; top: 10px; left: 10px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .04em; text-transform: uppercase;
  background: rgba(22,21,19,.82); color: #f3efe7; padding: 5px 9px; border-radius: 4px;
}
.proj-card__num { position: absolute; top: 10px; right: 12px; font-family: var(--mono); font-size: 12px; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.proj-card__txt { padding: 18px 18px 20px; }
.proj-card__name { font-size: 17px; font-weight: 700; line-height: 1.32; }
/* 지역명 뱃지 — 데스크톱·모바일 공통 */
.proj-card__loc { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.proj-card__loc span { border: 1px solid var(--line-2); border-radius: 4px; padding: 3px 9px; font-size: 15px; font-weight: 600; color: var(--ink); }
.proj-card__point { font-size: 13px; color: var(--ink-soft); margin-top: 10px; line-height: 1.55; text-wrap: balance; }

/* ===== 05 TECHNIQUE (dark) ===== */
.tech-grid {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.14);
  border-left: 1px solid rgba(255,255,255,.14);
}
.tech-cell {
  padding: 30px 28px 34px;
  border-right: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.tech-cell__thumb { display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid rgba(255,255,255,.14); margin-bottom: 22px; }
.tech-cell__thumb img { width: 100%; height: 100%; object-fit: cover; }
.tech-cell__name { font-size: 22px; font-weight: 800; margin: 0 0 8px; letter-spacing: -0.01em; }
.tech-cell__body { font-size: 14px; color: var(--on-dark-soft); line-height: 1.62; text-wrap: balance; }
.tech-cell__fit { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 7px; }
.tech-cell__fit b { font-family: var(--mono); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); font-weight: 500; margin-right: 3px; }
.tech-cell__fit span { font-size: 14px; color: var(--on-dark-soft); border: 1px solid rgba(255,255,255,.18); padding: 5px 11px; line-height: 1.3; }

/* ===== 05.5 TECHNIQUE — 디테일 어필 + 단점·보완 (시안 A 이식, 다크 밴드) ===== */
.tech-detail { max-width: 1180px; margin: 88px auto 0; }
.td__top {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 56px; align-items: start;
}
.td__title {
  font-size: clamp(26px, 3.2vw, 40px); font-weight: 800;
  letter-spacing: -0.015em; line-height: 1.18; text-wrap: balance;
}
.td__title em { color: var(--accent); }
.td__lead { margin-top: 18px; font-size: 16px; color: var(--on-dark-soft); line-height: 1.78; max-width: 54ch; }
.td__merits {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255,255,255,.14);
  border-left: 1px solid rgba(255,255,255,.14);
}
.td-merit { padding: 24px 24px 26px; border-right: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
.td-merit__ico { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-bottom: 14px; }
.td-merit__ico svg { width: 22px; height: 22px; stroke: var(--accent); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.td-merit__k { display: block; font-size: 17px; font-weight: 700; }
.td-merit__v { margin-top: 7px; font-size: 14px; color: var(--on-dark-soft); line-height: 1.62; }

.td__trade { margin-top: 76px; }
.td__trade-title { font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; letter-spacing: -0.015em; line-height: 1.32; text-wrap: balance; }
/* 100% — 글자 하단에 깔리는 옅은 브러쉬 스와이프 */
.hl-brush {
  position: relative; z-index: 0;
  display: inline-block; padding: 0 .08em;
  color: var(--accent); font-weight: 800; font-family: var(--disp);
}
.hl-brush__svg {
  position: absolute; z-index: -1;
  left: -0.12em; bottom: -0.05em;
  width: calc(100% + .24em); height: .42em;
  fill: var(--accent); opacity: .3;
  transform: rotate(-1.2deg);
}
/* Q&A — 2×2 셀 매트릭스 (위 장점 매트릭스와 호응, 고스트 넘버) */
.td-qa {
  list-style: none; margin-top: 34px;
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255,255,255,.16);
  border-left: 1px solid rgba(255,255,255,.16);
}
.td-qa__cell {
  position: relative; overflow: hidden;
  padding: 30px 32px 34px;
  border-right: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.td-qa__ghost {
  position: absolute; top: 10px; right: 22px;
  font-family: var(--disp); font-size: 44px; font-weight: 800; line-height: 1;
  color: rgba(255,255,255,.06); user-select: none;
}
.td-qa__q { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.45; padding-right: 84px; }
.td-qa__a {
  margin-top: 16px; padding-top: 16px;
  border-top: 1px dashed rgba(255,255,255,.18);
  font-size: 15px; color: var(--on-dark-soft); line-height: 1.7;
}
.td-qa__a b { color: var(--accent); font-weight: 700; margin-right: 4px; }

/* ===== 06 ABOUT (dark photo) ===== */
.about { background: var(--dark); color: var(--on-dark); overflow: clip; }  /* sticky 섹션 라벨 보존 */
.about::before { display: none; } /* 좌상단 오렌지 삼각형 제거 */
.about__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .26;
}
.about::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--dark) 8%, rgba(22,21,19,.4) 60%, rgba(22,21,19,.7)); }
.about__inner { position: relative; z-index: 2; max-width: 880px; margin: 0 auto; text-align: center; }
.about__inner .bandhead__no { color: var(--accent); }
.about__temp {
  margin: 18px 0 6px;
  font-family: var(--disp); font-weight: 800;
  font-size: clamp(56px, 10vw, 120px); line-height: 1;
  color: #fff; letter-spacing: -0.02em;
}
.about__temp span { font-family: var(--mono); font-weight: 500; }
.about__temp b { color: var(--accent); font-size: .5em; vertical-align: super; }
/* 온도가 차오르며 숫자가 달아오르는 글로우 — 릴이 멈추는 동안 서서히 밝아짐
   (text-shadow는 릴의 overflow에 각지게 잘림 → drop-shadow로 글자 윤곽을 따라 부드럽게) */
.about__num {
  filter: drop-shadow(0 0 0 rgba(255,208,140,0)) drop-shadow(0 0 0 rgba(255,152,50,0));
  transition: filter 2.4s cubic-bezier(.16, 1, .3, 1) .5s;
}
.about__num.is-rolled {
  filter: drop-shadow(0 0 9px rgba(255,208,140,.55)) drop-shadow(0 0 26px rgba(255,152,50,.35));
}
/* 슬롯머신 롤링 릴 */
.about__num.is-reel { display: inline-flex; align-items: stretch; }
.about__num .reel { display: inline-block; overflow: hidden; height: 1em; line-height: 1; }
.about__num .reel__strip { display: flex; flex-direction: column; transform: translateY(0); will-change: transform; }
.about__num.is-rolled .reel__strip { transform: translateY(calc(var(--final) * -1em)); transition: transform var(--dur, 1.8s) cubic-bezier(.16, 1, .3, 1); }
.about__num .reel__d { height: 1em; display: flex; align-items: center; justify-content: center; }
.about__num .reel-sep { display: flex; align-items: flex-end; line-height: 1; }
.about__title { font-size: clamp(28px, 4vw, 46px); font-weight: 800; letter-spacing: -0.015em; }
.about__lead { margin: 22px auto 0; max-width: 64ch; font-size: 17px; line-height: 1.78; color: var(--on-dark); }

.promises {
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid rgba(255,255,255,.16);
  text-align: left;
}
.promise { padding: 26px 22px; border-bottom: 1px solid rgba(255,255,255,.16); border-right: 1px solid rgba(255,255,255,.16); }
.promise:last-child { border-right: none; }
.promise__no { font-family: var(--mono); color: var(--accent); font-size: 12px; }
.promise__title { font-size: 19px; font-weight: 700; margin: 8px 0 6px; }
.promise__body { font-size: 14px; color: var(--on-dark-soft); line-height: 1.6; text-wrap: balance; }

/* ===== 07 PROCESS — 제품군별 시공 순서 ===== */
.proc-grid {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  align-items: stretch;
}
.proc-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 10px; padding: 30px 30px 30px;
  display: flex; flex-direction: column;
}
.proc-card__en { display: block; color: var(--ink-faint); }
.proc-card__name { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; margin: 10px 0 18px; }
.proc-steps { list-style: none; border-top: 1px solid var(--line); }
.proc-steps li {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 2px; border-bottom: 1px dashed var(--line-2);
}
.proc-steps li:last-child { border-bottom: none; }
.proc-steps__no { flex: 0 0 auto; color: var(--accent-deep); font-size: 13px; }
.proc-steps__txt { font-size: 16px; font-weight: 600; }
.proc-card__note { margin-top: auto; padding-top: 22px; min-height: calc(3 * 1.65em); font-size: 14px; color: var(--ink-soft); line-height: 1.65; }

/* ===== 08 SNS — 블로그·인스타그램 바로가기 (light) ===== */
.sns-grid {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr; /* 인스타(좌) 썸네일 강조 */
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.sns-card {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 22px 26px 24px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.sns-card:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.sns-card__ico { position: absolute; top: 20px; right: 24px; display: grid; place-items: center; width: 26px; height: 26px; }
.sns-card__ico svg { width: 24px; height: 24px; stroke: var(--accent-deep); }
.sns-card__ico--blog svg { width: 28px; height: 28px; } /* 네이버 블로그 아이콘은 살짝 크게 */
.sns-card__label { color: var(--ink-faint); }
.sns-card__title { display: block; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; margin-top: 7px; }
.sns-card__desc { margin-top: 5px; font-size: 14px; color: var(--ink-soft); line-height: 1.6; text-wrap: balance; }
/* SNS 최신 게시물 피드 (시안용 스냅샷) — 하단에 채널 바로가기 칩 */
.sns-feedcell {
  display: flex; flex-direction: column; gap: 16px;
  padding: 20px 26px 24px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.sns-feed__more {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: auto; align-self: flex-start;
  padding: 7px 12px;
  border: 1px solid var(--line-2); color: var(--ink);
  font-size: 11px; text-transform: none;
}
.sns-feed__more svg { width: 13px; height: 13px; stroke: var(--accent-deep); stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sns-feed__more:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.bfeed { list-style: none; }
.bfeed a {
  display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.bfeed li:last-child a { border-bottom: none; padding-bottom: 0; }
.bfeed li:first-child a { padding-top: 0; }
.bfeed__thumb { width: 56px; height: 56px; overflow: hidden; }
.bfeed__thumb img { width: 100%; height: 100%; object-fit: cover; }
.bfeed__meta { display: block; font-size: 10px; color: var(--accent-deep); margin-bottom: 5px; }
.bfeed__title { font-size: 15px; font-weight: 700; line-height: 1.4; letter-spacing: -0.005em; }
.ifeed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ifeed a { display: block; aspect-ratio: 1; overflow: hidden; }
.ifeed a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ifeed img { width: 100%; height: 100%; object-fit: cover; }

/* ===== 09 CONTACT (dark) ===== */
.contact { text-align: center; }
.contact__title { font-size: clamp(30px, 5vw, 60px); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
.contact__title em { font-weight: 300; color: var(--accent); }
.contact__sub { margin: 20px auto 0; max-width: 52ch; color: var(--on-dark-soft); font-size: 16px; }
/* 문의 폼(좌) + 컴팩트 연락처 사이드바(우) */
.contact__body {
  max-width: 1120px; margin: 54px auto 0; text-align: left;
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start;
}
.contact__side-label { display: block; color: var(--accent); margin-bottom: 14px; }
.contact__list { border-top: 1px solid rgba(255,255,255,.16); }
.contact__row {
  display: block; position: relative;
  padding: 15px 26px 15px 0; border-bottom: 1px solid rgba(255,255,255,.14);
}
.contact__row .mono { display: block; font-size: 12px; color: var(--on-dark-soft); margin-bottom: 5px; }
.contact__row b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; color: #fff; }
.contact__arr { position: absolute; top: 50%; right: 0; transform: translateY(-50%); display: inline-flex; }
.contact__arr svg { width: 18px; height: 18px; stroke: var(--accent); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.contact__row:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ===== FOOTER ===== */
.footer { position: relative; background: var(--dark-2); color: var(--on-dark-soft); padding: 0 5vw 40px; overflow: hidden; }
.footer__download {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 6px; margin-bottom: 24px;
  background: var(--accent); color: #211a0d;
  font-size: 15px; font-weight: 700;
}
.footer__download svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.footer__word {
  font-family: "Montserrat", var(--disp); font-weight: 800;
  font-size: 13.1vw; line-height: .9;
  letter-spacing: -0.03em; color: rgba(255,255,255,.05);
  padding-top: 72px; user-select: none;
  white-space: nowrap; margin: 0 -5vw 28px; text-align: center;
}
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.footer__info { display: flex; flex-direction: column; gap: 10px; }
.footer__tag { color: var(--on-dark); font-size: 15px; }
.footer__tag b { font-weight: 700; color: #fff; }
.footer__contact { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 2px 0 4px; }
.footer__contact li { font-size: 14px; color: var(--on-dark); }
.footer__contact a { color: var(--on-dark); }
.footer__contact .mono { color: var(--accent); font-size: 10px; margin-right: 9px; }
.footer__sns { display: flex; flex-wrap: wrap; gap: 10px; }
.footer__sns a {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 14px; border: 1px solid rgba(255,255,255,.16);
  color: var(--on-dark); font-size: 13px;
}
.footer__sns a .mono { color: var(--accent); font-size: 10px; }
.footer__dash { display: inline-block; width: 26px; height: 1px; background: rgba(255,255,255,.35); vertical-align: middle; margin: 0 12px; }
.footer__meta { color: #6f6c64; }

/* ============================================================
   모달
   ============================================================ */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: none;
  overflow-y: auto; overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
/* 오버레이는 ::before 로 분리 — .modal 에 backdrop-filter 를 두면 containing block 이 되어
   .modal__close 의 fixed 가 뷰포트가 아닌 스크롤 컨테이너 기준으로 붙어 스크롤에 밀려남 */
.modal::before {
  content: ""; position: fixed; inset: 0; z-index: 0;
  background: rgba(16,13,10,.8);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  pointer-events: none;   /* 히트테스트 제외 — fixed 레이어가 휠 타깃이 되면 스크롤 체인이 .modal 을 건너뜀 */
}
.modal__panel { z-index: 1; }
.modal.is-open { display: block; }
.modal__panel {
  position: relative;
  width: min(1040px, 94vw);
  margin: 4vh auto 7vh;
  background: var(--card);
  border-radius: 6px;
  overflow: hidden;
}
.modal__close {
  position: fixed; top: 16px; right: 16px; z-index: 110;
  background: var(--ink); color: #fff;
  border: none; cursor: pointer;
  padding: 10px 15px; border-radius: 999px;
  font-size: 11px;
}
.modal__close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* 모달 미디어 (Swiper 메인 + 세로 썸네일) */
.mdl-media {
  display: flex; gap: 8px;
  padding: 8px;
  background: var(--dark);
  height: clamp(340px, 60vh, 640px);
}
.mdl-main { position: relative; flex: 1 1 auto; min-width: 0; height: 100%; }
.mdl-main .swiper-slide { display: flex; align-items: center; justify-content: center; background: var(--dark); }
.mdl-main .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.mdl-main .swiper-pagination-bullet { background: #fff; opacity: .55; }
.mdl-main .swiper-pagination-bullet-active { background: var(--accent); opacity: 1; }
.mdl-pagination { display: none; }

.mdl-thumbs { flex: 0 0 94px; height: 100%; }
.mdl-thumbs .swiper-slide { height: 78px; cursor: pointer; opacity: .45; border-radius: 3px; overflow: hidden; }
.mdl-thumbs .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.mdl-thumbs .swiper-slide-thumb-active { opacity: 1; outline: 2px solid var(--accent); outline-offset: -2px; }
.mdl-info { padding: 30px 34px 40px; }
.mdl-info__top { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.mdl-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; background: var(--ink); color: #fff; padding: 5px 11px; border-radius: 4px; }
.mdl-tag--ghost { background: transparent; color: var(--ink-soft); border: 1px solid var(--line-2); }
.mdl-info__name { font-size: clamp(24px, 3vw, 34px); font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; }
.mdl-info__desc { margin-top: 16px; font-size: 16px; color: var(--ink-soft); line-height: 1.75; max-width: 60ch; }
/* 정보 표 — 선 대신 면: 셀마다 옅은 박스(홀수 행 끝 빈칸이 만들던 '뚫린 보더' 없음) */
.mdl-info__grid { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mdl-info__grid > div { padding: 16px 18px; background: var(--paper-2); border-radius: 4px; }
.mdl-info__grid dt { font-family: var(--mono); font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.mdl-info__grid dd { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }

/* ============================================================
   반응형
   ============================================================ */
@media (max-width: 1024px) {
  .sol-grid { grid-template-columns: 1fr; }
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: 1fr 1fr; }
  .why { grid-template-columns: 1fr; gap: 36px; }
  .proc-grid { grid-template-columns: 1fr; max-width: 560px; }
  .contact__body { grid-template-columns: 1fr; gap: 44px; max-width: 760px; }
  .td__top { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .nav { top: 0; margin: 0 0 -50px; padding: 0; }
  .nav__links { display: none; }
  .nav__pill { width: 100%; justify-content: space-between; gap: 10px; padding: 9px 10px 9px 16px; }
  .nav__logo--h { display: none; }
  .nav__logo--mark { display: block; }
  .nav__sns { margin-left: auto; }
  .nav__sns::before { display: none; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--card); padding: 2px 24px 8px;
    border-bottom: 1px solid var(--line-2);
    box-shadow: 0 18px 34px rgba(0,0,0,.14);
  }
  .nav.is-open .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav.is-open .nav__links a:nth-last-child(2) { border-bottom: 0; }
  .nav.is-open .nav__links a.nav__cta { display: none; }   /* 시공 문의 → 하단 고정 바 */

  .nav.is-open .nav__links { z-index: 2; }   /* 점프 메뉴 시트가 섹션 라벨 위 */

  /* 하단 고정 시공 문의 바 */
  .nav__mcta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    display: flex; align-items: center; justify-content: center; gap: 7px;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
    background: #f5841e; color: #fff; font-size: 15px; font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 -8px 22px rgba(0,0,0,.16);
  }
  .nav__mcta .nav__cta-arr { width: 15px; height: 15px; flex: 0 0 auto; }
  .nav__mcta { transition: transform .35s ease; }
  .nav__mcta.is-hidden { transform: translateY(110%); pointer-events: none; }

  .band { padding: 64px 16px; border-top: 0; }   /* 경계선 제거 — 섹션 경계는 스티키 라벨이 담당 */
  .hero__inner { padding: 80px 24px; }
  .matexp { grid-template-columns: 1fr; gap: 16px; }
  /* 모바일 — 탭 메뉴 삭제, 4개 소재 패널을 순차 노출 */
  .matexp__tabs { display: none; }
  .matexp__panel[hidden] { display: block; }
  /* 시공사례 필터 pill 축소 */
  .filters { gap: 6px; }
  .filter { padding: 6px 12px; }
  /* 소재 패널 — 약한 보더 + 컴팩트 패딩 */
  .matexp__panel { padding: 18px 16px 20px; }
  /* 솔루션 소재 사례 카드 — 보더·배경 없는 플랫(구획은 소재 패널 보더가 담당) */
  .matexp__proj { border: 0; }
  .matexp__proj-txt { padding: 10px 0 0; }
  .matexp__projs { gap: 20px; }
  /* 시공사례(Projects) 카드 — 테두리+배경 유지, 내부 패딩만 컴팩트 */
  .proj-card__txt { padding: 14px 14px 16px; }

  /* 상세 모달 — 닫기 하단 고정 바 + 컴팩트 정보 영역 */
  .modal__close {
    top: auto; bottom: 0; left: 0; right: 0; z-index: 120;
    border-radius: 0; text-align: center;
    padding: 15px 16px calc(15px + env(safe-area-inset-bottom, 0px));
    font-size: 12px; letter-spacing: .1em;
  }
  .modal__panel { padding-bottom: 52px; }
  .mdl-media { padding: 0; height: auto; }
  .mdl-main { height: auto; aspect-ratio: 4 / 3; }   /* 고정 가로 비율 — 원본은 탭하면 줌 뷰로 */
  .modal__close-x { display: none; }   /* 모바일은 CLOSE 텍스트만 */
  .mdl-info { padding: 20px 16px 28px; }
  .mdl-info__desc { margin-top: 12px; }
  .mdl-info__grid { margin-top: 20px; }
  .mdl-info__grid > div { padding: 13px 15px; }
  .matexp__projs { grid-template-columns: 1fr; }
  .proj-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .compare { margin-top: 72px; }
  .qa__item { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
  .tech-detail { margin-top: 64px; }
  .td__merits { grid-template-columns: 1fr; }
  .td__trade { margin-top: 56px; }
  .td-qa { grid-template-columns: 1fr; }
  .td-qa__cell { padding: 24px 22px 28px; }
  .td-qa__q { padding-right: 64px; }
  .sns-grid { grid-template-columns: 1fr; }
  .sns-card { padding: 20px 20px 22px; }
  /* 모바일: 채널별로 카드 → 피드 순서 유지 (인스타 먼저) */
  .sns-grid .sns-card:nth-of-type(1) { order: 1; }
  .sns-feedcell[data-mount="instafeed"] { order: 2; }
  .sns-grid .sns-card:nth-of-type(2) { order: 3; }
  .sns-feedcell[data-mount="blogfeed"] { order: 4; }
  .sns-feedcell { padding: 18px 20px 22px; }
  .proc-card { padding: 24px 22px; }
  .promises { grid-template-columns: 1fr; }
  .promise, .promise:last-child { border-right: none; }
  .mdl-info__grid { grid-template-columns: 1fr; gap: 8px; }
  .modal__panel { width: 100%; margin: 0; border-radius: 0; min-height: 100vh; }   /* 100vw 는 스크롤바·비주얼 뷰포트와 어긋나 가로로 삐져나감 */
  .mdl-thumbs { display: none; }
  .mdl-pagination { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .about__num { filter: drop-shadow(0 0 9px rgba(255,208,140,.55)) drop-shadow(0 0 26px rgba(255,152,50,.35)); transition: none; }
  .nav__links a.nav__cta { animation: none; background-position: 50% 50%; }
  .hero__bg { animation: none; }
  .hero__bg:first-child { opacity: 1; }
  .bridge { --p: 1; --pl: 1; --pc: 1; }
  .bridge__lead { opacity: 1; transform: none; transition: none; }
  .hero__scroll svg { animation: none; opacity: 1; transform: none; }
  .hero__scroll svg:nth-child(2) { display: none; }
}

/* ============================================================
   WordPress 통합 보정 (17doci)
   ============================================================ */

/* 관리바 노출 시 스티키 내비가 관리바 아래에 고정 */
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }

/* 히어로 배경 레이어 유틸(서버 렌더 background-image) */
.hero__bg[data-bg] { }


/* single bs_project — 랜딩 클래스 재사용 컨텍스트 여백 */
.project-single { padding-top: 0; }

/* ---- 문의 섹션 — 폼 스킨(레이아웃·다크·submit·라벨)은 beamers-forms 프레임워크(base)가 담당.
   다크 폼은 contact/render.php 의 [beamers_form ... variant="dark"] 로 전환(토큰/그리드/!important 불요).
   여기선 섹션(폼 + 사이드바) 배치만. ---- */
.contact .cform-wrap { min-width: 0; }
.contact .contact__body { align-items: start; }

/* ---- 브릿지 반응형 여백 — 데스크톱의 스크롤 연출용 대여백(230/320 + 120/300/220)이
   태블릿·모바일에선 빈 화면 수 스크린이 됨 → 화면 크기에 맞게 축소(연출 로직 --p 는 뷰포트 기반, 무영향) ---- */
@media (max-width: 1024px) {
  .bridge { padding-top: 150px; padding-bottom: 190px; }
  .bridge__lead { margin-top: 70px; }
  .bridge__art { margin: 170px 0 130px; }
}
@media (max-width: 720px) {
  .bridge { padding-top: 96px; padding-bottom: 110px; }
  .bridge__lead { margin-top: 36px; }
  .bridge__art { margin: 100px 0 70px; }
  .bridge::after { height: 150px; }   /* 상단 글로우 — 모바일은 더 낮게 */
}

/* ---- 뷰포트 단위 안정화 — 모바일 주소창 변동 대응 ----
   히어로 = svh(로드 시점 최소 뷰포트 기준 고정 → 스크롤 중 레이아웃 점프 없음).
   모달   = dvh(항상 현재 화면 전체를 덮어야 하는 오버레이). vh 선언은 구형 브라우저 폴백. */
.hero { height: 100svh; }
@media (max-width: 720px) {
  .hero { min-height: 560px; }              /* 소형 기기(SE 등)에서 640 고정으로 인한 어중간한 스크롤 방지 */
  .modal__panel { min-height: 100dvh; }
}

/* ---- 푸터 워드마크 — 17DOCI(6자) 기준 화면 폭 채움(구 12자 기준 13.1vw는 절반만 참) ---- */
.footer__word { font-size: 24vw; letter-spacing: -0.02em; }

/* ---- 모바일 가독 리듬 미세조정 (720px 이하) ---- */
@media (max-width: 720px) {
  /* 섹션 헤드 — 제목·설명·본문 간격 압축 */
  .bandhead { margin-bottom: 40px; }
  .bandhead__sub { margin-top: 12px; font-size: 15px; }

  /* 왜 바리솔 — 2×2 매트릭스가 좁은 화면에서 갑갑 → 1열, 높이 고정 해제 */
  .why__grid { grid-template-columns: 1fr; }
  .merit { min-height: 0; padding: 18px 16px 20px; }
  .why__title { margin: 10px 0 18px; }
  .sol-intro__body { margin-top: 18px; }
  .matexp { margin-top: 44px; }

  /* 기법(다크) 셀 — 여백 압축 */
  .tech-cell { padding: 24px 20px 28px; }
  .tech-cell__thumb { margin-bottom: 18px; }

  /* 소개·프로세스·문의 — 블록 간 리듬 */
  .promises { margin-top: 36px; }
  .proc-grid { gap: 14px; }
  .contact__body { margin-top: 40px; gap: 36px; }

  /* 히어로 — 스크롤 인디케이터를 티커 위로 여유 있게 */
  .hero__scroll { bottom: 84px; }

  /* 푸터 — 워드마크 상단 여백 압축 */
  .footer__word { padding-top: 52px; }
}

/* ---- SNS 피드셀 명시 배치 — 한쪽 피드만 있어도 자기 채널 카드 아래에 위치 ---- */
.sns-feedcell[data-mount="instafeed"] { grid-column: 1; grid-row: 2; }
.sns-feedcell[data-mount="blogfeed"]  { grid-column: 2; grid-row: 2; }
@media (max-width: 720px) {
  .sns-feedcell[data-mount="instafeed"],
  .sns-feedcell[data-mount="blogfeed"] { grid-column: 1; grid-row: auto; }  /* 1열 — order 규칙이 채널별 순서 유지 */
}

/* ===== TECH DETAIL — 별도 라이트 밴드 (다크 연속 차단: 기법(다크) → 디테일(라이트) → 소개(다크)) =====
   배경 디자인: paper-2 면 + 상단 오렌지 글로우. */
.band--detail {
  position: relative; overflow: clip;   /* hidden 은 스크롤 컨테이너가 되어 자식 sticky 를 깨뜨림 */
  background: var(--paper-2);
}
.band--detail::before { display: none; }   /* 좌상단 코너 도트 제거 */
.band--detail::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 240px;
  background: linear-gradient(180deg, rgba(255,150,48,.14) 0%, rgba(255,150,48,0) 100%);
  pointer-events: none;
}
.detail__inner { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; }

/* 다크 전제였던 td-* 스타일의 라이트 팔레트 오버라이드 */
.band--detail .td__title em { color: var(--accent-deep); }
.band--detail .td__lead { color: var(--ink-soft); }
.band--detail .td__merits { border-top-color: var(--line-2); border-left-color: var(--line-2); }
.band--detail .td-merit { border-right-color: var(--line); border-bottom-color: var(--line); }
.band--detail .td-merit__ico svg { stroke: var(--accent-deep); }
.band--detail .td-merit__v { color: var(--ink-soft); }
.band--detail .td-qa { border-top-color: var(--line-2); border-left-color: var(--line-2); }
.band--detail .td-qa__cell { border-right-color: var(--line); border-bottom-color: var(--line); background: var(--card); }
.band--detail .td-qa__ghost { color: rgba(24,24,26,.06); }
.band--detail .td-qa__a { border-top-color: var(--line-2); color: var(--ink-soft); }
.band--detail .td-qa__a b { color: var(--accent-deep); }

@media (max-width: 720px) {
  }

/* ---- 푸터 워드마크 — 글자별 상승 등장 + 상단 빛 그라데이션 ---- */
.footer__word { overflow: hidden; }
.footer__word-ch {
  display: inline-block;
  color: inherit;                             /* 부모 워드마크 톤 그대로(그라데이션 제거) */
  transform: translateY(105%); opacity: 0;
  transition: transform 2s cubic-bezier(.16, 1, .3, 1), opacity 1.4s ease;   /* 느긋한 상승 */
  transition-delay: calc(var(--i) * 130ms);
}
.footer__word.is-in .footer__word-ch { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .footer__word-ch { transform: none; opacity: 1; transition: none; }
}

/* ---- 문의 사이드바(DIRECT CONTACT) — 스크롤 고정 + 레이블 확대 ---- */
.contact__side { position: sticky; top: 92px; }
.contact__row .mono { font-size: 14px; }
@media (max-width: 1024px) {
  .contact__side { position: static; }   /* 1열 스택에선 고정 불필요 */
}

/* ---- 브랜드마크 — 심볼 SVG + Montserrat 워드텍스트(구 아웃라인 로고 텍스트 대체) ---- */
.brandmark { display: inline-flex; align-items: center; gap: 10px; }
.brandmark__sym { display: block; width: auto; height: 30px; }
.brandmark__txt {
  display: flex; flex-direction: column; gap: 2px;
  transform: translateY(-0.08em);   /* 심볼 시각 무게중심 대비 텍스트를 살짝 위로 */
  font-family: "Montserrat", var(--disp); font-weight: 800;
  font-size: 16px; line-height: .95; letter-spacing: .02em;
  color: var(--ink); white-space: nowrap;
}
.brandmark__txt b { font-weight: 800; }
.brandmark--light .brandmark__txt { color: #fff; }

/* nav — 기존 이미지 로고 규칙 대체 */
.nav__brand .brandmark__sym { height: 30px; }

/* hero — 큼직한 라이트 브랜드마크 */
.hero__logo { display: inline-flex; margin: 0 0 18px 4px; }
.hero__logo .brandmark { gap: 12px; }
.hero__logo .brandmark__sym { height: clamp(36px, 4.2vw, 54px); }
.hero__logo .brandmark__txt { font-size: clamp(17px, 2vw, 27px); gap: 3px; }

@media (max-width: 720px) {
  /* 모바일 nav — 심볼+텍스트 유지(충분히 컴팩트) */
  .nav__brand .brandmark__sym { height: 26px; }
  .nav__brand .brandmark__txt { font-size: 13.5px; }
}

/* ---- 소재 탐색기 탭 — 스크롤 고정(패널이 길어도 탭이 시야에) ---- */
.matexp__tabs { position: sticky; top: 92px; }
@media (max-width: 720px) {
  .matexp__tabs { position: static; }   /* 모바일은 가로 2열 상단 배치 — 고정 불필요 */
}

/* ---- 문의 내용 textarea — 기본 높이 확대(base :where 스킨을 (0,2,0)로 자연 오버라이드) ---- */
.contact .bsp-form textarea { min-height: 220px; }

/* ============================================================
   모바일 히어로 재구성 (720px 이하)
   상단 = 커버 사진 밴드(가로형 원본이 온전히 보이는 16:10),
   하단 = 다크 텍스트 패널. 패널 상단이 사진 하단을 살짝 덮으며
   그라디언트로 이어짐. 높이는 svh 고정 대신 콘텐츠 자연 높이.
   ============================================================ */
@media (max-width: 720px) {
  /* 배경 그리드 라인·코너 도트 — 모바일에선 세로선 중첩만 늘어 제거(콘텐츠 집중) */
  .gridlines { display: none; }
  .band::before { display: none; }

  /* 패널 배경 — 순검정 대신 살짝 톤 업한 웜 그레이 */
  .hero { --hero-panel: #262523; height: auto; min-height: 0; display: block; background: var(--hero-panel); }
  .hero__bgs { position: relative; aspect-ratio: 16 / 10; }
  .hero__scrim { display: none; }
  .hero__main::before { display: none; }   /* 라디얼 딤드 불요 — 패널이 이미 다크 */
  .hero__inner {
    position: relative; z-index: 3;
    margin-top: -26vw;
    padding: 27vw 24px 122px;
    background: linear-gradient(180deg,
      rgba(38,37,35,0) 0%, rgba(38,37,35,.28) 9vw,
      rgba(38,37,35,.62) 16vw, rgba(38,37,35,.9) 22vw, var(--hero-panel) 27vw);
  }
  /* 로고 축소 + 파트 간 간격 여유 */
  .hero__logo { margin-bottom: 28px; }
  .hero__logo .brandmark { gap: 9px; }
  .hero__logo .brandmark__sym { height: 28px; }
  .hero__logo .brandmark__txt { font-size: 14px; gap: 2px; }
  .hero__sub { margin-top: 20px; font-size: 15px; }

  /* 버튼 — 한 줄에 하나씩, 콘텐츠 너비 가득, 컴팩트한 높이 */
  .hero__cta { margin-top: 36px; display: grid; gap: 9px; }
  .hero__cta .btn { justify-content: center; }
  .hero__cta .btn { justify-content: center; }
  .btn { padding: 7px 15px; font-size: 14px; line-height: 1.45; gap: 7px; }
  .footer__download { padding: 10px 16px; font-size: 14px; }
}

/* ============================================================
   모바일 타이포 스케일 (720px 이하) — 하이라키 5단계 고정
   display 24 / title 20 / heading 17 / body 15 / caption 14
   개별 px 오버라이드 금지 — 새 요소는 아래 티어에 편입할 것.
   ============================================================ */
@media (max-width: 720px) {
  :root {
    --fs-display: 24px;   /* 섹션 제목 (h2) */
    --fs-title:   20px;   /* 밴드 내 중제목·리드 (h3) */
    --fs-heading: 17px;   /* 카드·아이템 제목 */
    --fs-body:    15px;   /* 본문 */
    --fs-caption: 14px;   /* 보조 설명·서브 (한글 하한) */
  }

  /* display — 섹션 제목 */
  .bandhead__title, .about__title, .contact__title { font-size: var(--fs-display); }
  .why__title { font-size: 22px; }   /* display 와 title 사이 반 눈금(사용자 지정) */

  /* title — 중제목·디스플레이 리드 */
  .hero__title, .bridge__lead, .td__title, .qa__title,
  .matexp__name, .mdl-info__name { font-size: var(--fs-title); }
  .td__trade-title { font-size: var(--fs-title); text-align: center; }

  /* heading — 카드·아이템 제목, 강조 리드 */
  .sol-intro__lead, .merit__t, .qa__q, .proj-card__name, .tech-cell__name,
  .td-merit__k, .td-qa__q, .promise__title, .proc-card__name, .sns-card__title,
  .contact__row b { font-size: var(--fs-heading); }

  /* body — 본문 문단 */
  .hero__sub, .sol-intro__body, .matexp__body, .qa__a, .td__lead, .td-qa__a,
  .about__lead, .contact__sub, .mdl-info__desc, .proc-steps__txt { font-size: var(--fs-body); }

  /* caption — 보조 설명·서브 */
  .bandhead__sub, .merit__d, .tech-cell__body, .td-merit__v, .promise__body,
  .proc-card__note, .sns-card__desc, .matexp__fit, .matexp__bullets li { font-size: var(--fs-caption); }

  /* 소개 리드 — 데스크톱용 수동 <br> 무시, 균형 줄바꿈으로 재배분 */
  .about__lead { text-wrap: balance; }
  .about__lead br { display: none; }
}

/* ============================================================
   모바일 푸터 컴팩트 (720px 이하)
   ============================================================ */
@media (max-width: 720px) {
  .footer { padding-bottom: 26px; }
  .footer__word { padding-top: 40px; margin-bottom: 16px; }
  .footer__row { gap: 12px; }
  .footer__info { gap: 5px; }
  /* 레이블·값 행잉 정렬 — 줄바꿈이 레이블 아래로 감기지 않게 */
  .footer__tag { font-size: 14px; display: flex; align-items: baseline; gap: 10px; }
  .footer__tag b { flex: none; white-space: nowrap; }
  .footer__dash { flex: none; align-self: center; width: 16px; margin: 0; }
  .footer__contact { gap: 4px 16px; margin: 0; }
  .footer__contact li, .footer__contact li > a { display: flex; align-items: baseline; min-width: 0; }
  .footer__contact li .mono { flex: none; }
  .footer__sns { gap: 7px; margin-top: 3px; }
  .footer__sns a { padding: 5px 10px; }
  .footer__meta { margin-top: 3px; }
  .footer__download {
    width: 100%; justify-content: center;
    margin: 8px 0 0; padding: 12px 16px;
  }
}

/* ============================================================
   모바일 스티키 섹션 라벨 (720px 이하) — 각 섹션 최상단에 심어진
   버튼이 position: sticky 로 내비 아래에 붙고, 다음 섹션 라벨이
   자연스럽게 밀어냄. 탭하면 점프 메뉴(내비 시트) 토글.
   ============================================================ */
.secsticky { display: none; }
@media (max-width: 720px) {
  .secsticky {
    display: flex; align-items: center; gap: 8px;
    position: sticky; top: 52px; z-index: 40;      /* 내비(53px, z60) 바로 아래 */
    width: calc(100% + 32px); margin: -64px -16px 28px;  /* 밴드 패딩(64/16) 상쇄 — 섹션 경계에서 시작 */
    padding: 8px 16px; border: 0; text-align: left; cursor: pointer;
    background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(250,250,247,.88));
    backdrop-filter: blur(12px) saturate(1.05);
    -webkit-backdrop-filter: blur(12px) saturate(1.05);
    border-bottom: 1px solid var(--line-2);
    font-family: var(--kr); font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.5;
  }
  .secsticky::before {
    content: ""; flex: none; width: 14px; height: 2px; background: var(--accent);
  }
  .secsticky svg { width: 14px; height: 14px; margin-left: auto; opacity: .55; }
  .admin-bar .secsticky { top: 98px; }             /* 관리바(46px) 노출 시 */
}

/* ============================================================
   줌 뷰 — 모달 슬라이드 이미지 탭/클릭 시 원본 비율 라이트박스
   (Swiper zoom: 핀치/더블탭 확대·패닝, 좌우 스와이프로 다른 사진)
   ============================================================ */
.mdl-main .swiper-slide img { cursor: zoom-in; }
.zoomview { position: fixed; inset: 0; z-index: 130; display: none; background: rgba(12,10,7,.97); }
.zoomview.is-open { display: block; }
.zv-swiper { width: 100%; height: 100%; }
.zv-swiper .swiper-slide { display: flex; align-items: center; justify-content: center; }
.zv-swiper .swiper-zoom-container img { max-width: 100%; max-height: 100%; object-fit: contain; }
.zv-swiper .swiper-pagination-bullet { background: #fff; opacity: .5; }
.zv-swiper .swiper-pagination-bullet-active { background: var(--accent); opacity: 1; }
.zoomview__nav {
  position: fixed; top: 50%; transform: translateY(-50%); z-index: 131;
  width: 44px; height: 44px; display: grid; place-items: center;
  background: rgba(255,255,255,.12); color: #fff;
  border: none; border-radius: 999px; cursor: pointer;
}
.zoomview__nav svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.zoomview__nav--prev { left: 14px; }
.zoomview__nav--next { right: 14px; }
.zoomview__nav.swiper-button-disabled { opacity: .3; pointer-events: none; }
.zoomview__nav:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.zoomview__close {
  position: fixed; top: 16px; right: 16px; z-index: 131;
  background: rgba(255,255,255,.12); color: #fff;
  border: none; cursor: pointer;
  padding: 10px 15px; border-radius: 999px;
  font-size: 11px;
}
.zoomview__close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 720px) {
  .zoomview__nav {
  position: fixed; top: 50%; transform: translateY(-50%); z-index: 131;
  width: 44px; height: 44px; display: grid; place-items: center;
  background: rgba(255,255,255,.12); color: #fff;
  border: none; border-radius: 999px; cursor: pointer;
}
.zoomview__nav svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.zoomview__nav--prev { left: 14px; }
.zoomview__nav--next { right: 14px; }
.zoomview__nav.swiper-button-disabled { opacity: .3; pointer-events: none; }
.zoomview__nav:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.zoomview__close {
    top: auto; bottom: 0; left: 0; right: 0; border-radius: 0; text-align: center;
    background: rgba(24,22,19,.94);
    padding: 15px 16px calc(15px + env(safe-area-inset-bottom, 0px));
    font-size: 12px; letter-spacing: .1em;
  }
}
