@charset "UTF-8";
/* font:auto — make-font.py 가 찍는다. 손으로 고치지 말 것 */
/* 이 사이트가 쓰는 글자만 담은 한 판(--font 의 맨 앞).
   여기 없는 글자는 받침(pretendard-fallback-1.3.9.css)에서 글자 단위로 채워진다.
   같은 서체라 이어 붙은 자리가 보이지 않는다.

   되돌린 판단 — 처음에는 한 글꼴 이름 안에서 unicode-range 를 겹쳐
   두었다. 크롬이 겹치는 구간의 파일을 **양쪽 다** 받아(홈 581KB)
   아낀 것이 없었다. 이름을 나누고 쌓으면 글자 단위 대체가 규격대로
   동작한다 — 캐시를 비운 새 문서에서 사이트 판 하나만 받는 것을
   확인했다.

   원고를 고치면 make-font.py 를 다시 돌릴 것. 잊으면 새 글자가
   받침에서 오는데(모양은 맞다) 받는 양이 늘고, 배포 빌드가 그
   글자 수를 세어 알려 준다. */
@font-face{font-family:'Pretendard Site';font-weight:45 920;font-style:normal;font-display:swap;src:url(../fonts/pretendard-1.3.9/pretendard-site.9c36f034.woff2) format('woff2')}
/* /font:auto */
/* =========================================================================
   진공 JINGONG — Design System
   비워야 보이고, 보이면 나아갈 수 있다.
   ========================================================================= */

/* 글꼴은 각 페이지 <head> 가 직접 부른다(preconnect 와 함께).
   여기 @import 로 두었더니 HTML → style.css → 글꼴 CSS → 글꼴 파일로 세 번을
   기다려야 글자가 제 모양이 됐다. @import 는 CSS 를 받아 파싱한 뒤에야 시작된다.
   페이지를 새로 만들 때 이 두 줄(preconnect, 글꼴 stylesheet)을 함께 넣을 것. */

/* --- 1. Tokens ----------------------------------------------------------- */
:root {
  /* Brand palette */
  --charcoal:      #1F2428;
  --charcoal-deep: #14181B;
  --charcoal-soft: #2B3237;
  /* 베이지(#D8C6AA)를 걷었다. 차콜과 짝지은 그 색은 2016~2019년 '고급
     인테리어'의 공식이었고, 안전하지만 어느 회사인지 기억에 안 남는다.
     사이트의 색이 브랜드가 아니라 시대를 말하고 있었다.
     액센트를 초록 하나로 줄인다. 나머지 색은 현장 사진 65장이 낸다. */
  --sage-soft:     #9CBCA7;   /* 어두운 바탕에서 sage 의 밝은 상태(hover 등) */
  --surface-soft:  #E7E9E3;   /* 밝은 바탕의 옅은 면. 옛 --beige-soft 자리 */
  --green:         #2F4F3E;
  --green-light:   #4A705B;
  /* 어두운 바탕 위의 초록. 브랜드 초록(#2F4F3E)은 차콜 위에서 대비가 2.8:1 밖에
     안 나와 작은 글씨로 못 쓴다. 같은 색을 밝게 올린 것이고 5.9:1 로 통과한다. */
  --sage:          #7FA98C;
  --offwhite:      #F1F2EE;
  --paper:         #FAFBF8;

  /* Semantic */
  --bg:            var(--offwhite);
  --fg:            var(--charcoal);
  /* #6B7276 이었으나 오프화이트 위 4.46:1, 베이지 위 3.85:1 로 AA(4.5)에
     미달했다. 세 가지 밝은 바탕(offwhite·paper·surface-soft) 모두에서
     통과하는 값 중 가장 밝은 쪽으로 내렸다. 5.17 / 5.60 / 4.75.
     (적혀 있던 5.30 / 5.73 / 4.58 은 브라우저 실측과 어긋났다. 판정이
     바뀌는 차이는 아니지만 brand/ 사본과 값이 갈리므로 실측으로 맞춘다.) */
  --fg-muted:      #60666B;
  /* #9AA1A6 이었다. 08-11 색 개편 때 대비 15쌍을 다시 쟀는데 이 값만 빠졌다.
     빠진 이유는 짐작이 간다 — 같은 날 .eyebrow 를 faint 에서 muted 로 올리면서
     (바로 위 .eyebrow 주석) 문제를 해결했다고 여긴 것이다. 그런데 토큰을 쓰는
     자리는 .eyebrow 말고도 20군데가 더 있었다. 실제로 재 보니 밝은 바탕 위
     2.31~2.52:1 로 전부 AA(4.5) 미달이었다. 폼 라벨과 연락처 항목까지 그랬다.

     --fg-muted 와 같은 방식으로 골랐다. 실제로 쓰이는 밝은 바탕 네 가지에서
     4.5 를 넘는 값 중 가장 밝은 쪽이다:
       offwhite #F1F2EE 4.60 / paper #FAFBF8 4.98
       읽는 중인 글 #F0F2EF 4.59 / 견적서 경고줄 #F5F0ED 4.57
     muted(5.17)와의 간격이 좁다. 좁을 수밖에 없다 — 흰 바탕에서 AA 를 지키면서
     muted 보다 더 옅을 수 있는 폭이 L* 로 3.6 밖에 없다. 옅은 단계를 더 벌리고
     싶으면 밝기가 아니라 크기·굵기·자간으로 벌려야 한다. */
  --fg-faint:      #676E75;
  /* 읽지 않아도 되는 표시 전용. 지금은 링크 끝의 '→' 세 군데뿐이다(.pf-row__go,
     .channel__go, .post-list__go). 셋 다 제목이 이미 링크 이름을 하고 있어서
     화살표가 사라져도 뜻이 남는다 — 그래서 읽기 기준 4.5:1 은 면제다.

     처음에는 옛 --fg-faint 값(#9AA1A6)을 그대로 물려받아 화면을 안 바꿨다.
     그런데 그 값은 2.33 이라 비텍스트 기준 3:1 에도 못 미쳤다. 면제는 '읽는
     기준'에서만 받는 것이고, 클릭할 수 있다는 표시 자체가 안 보이면 곤란하다.
     통과하는 값 중 밝은 쪽으로 올린다 — 3.28 / 3.55 / 3.28.
     (3.03 짜리(#858C92)가 더 밝지만 반올림 한 칸에 미달로 넘어간다. 배경에
      틴트가 하나만 더 얹혀도 깨지는 여유라 한 단계 내렸다.)
     읽어야 하는 글자에는 쓰지 말 것 — 그러라고 --fg-faint 를 따로 뒀다. */
  --deco:          #7F868C;

  /* 어두운 면 위의 같은 세 단계. 어두운 면은 .on-dark 말고도 .hero/.phero/.footer
     가 있고, 셋이 각자 값을 박아 쓰다가 어긋난 적이 있다(.crumbs 와 .footer__col h2
     가 #798086 을 따로 들고 있었다). 값은 여기 한 번만 적고 네 곳이 이걸 가리킨다.
     차콜 #1F2428 기준 7.05 / 5.16 / 3.91.
     deco-dark 는 밝은 쪽과 달리 손대지 않았다 — 어두운 면에서는 가장 빡빡한
     자리(어두운 카드 #282C30)에서도 3.51 로 이미 3:1 을 넘는다.
     주의 — 초록 띠(#2F4F3E) 위에는 이 셋을 못 쓴다. muted 도 4.10 이다. */
  --fg-muted-dark: #A8AFB4;
  --fg-faint-dark: #8E959A;
  --deco-dark:     #798086;

  --rule:          rgba(31, 36, 40, .13);
  --rule-strong:   rgba(31, 36, 40, .28);
  --rule-invert:   rgba(247, 244, 239, .16);

  /* Type */
  /* "Pretendard Site" 가 먼저다 — 이 사이트가 쓰는 글자만 담은 한 판(182KB).
     거기 없는 글자는 "Pretendard Variable"(구간별 92개)에서 글자 단위로
     채워진다. 같은 서체라 이어 붙은 자리가 보이지 않는다. 둘 다 make-font.py
     가 만든다. */
  --font: "Pretendard Site", "Pretendard Variable", Pretendard,
          -apple-system, BlinkMacSystemFont,
          "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  --mono: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;

  --t-display: clamp(2.75rem, 7.2vw, 6.25rem);
  --t-h1:      clamp(2.25rem, 5.2vw, 4rem);
  --t-h2:      clamp(1.75rem, 3.6vw, 2.875rem);
  --t-h3:      clamp(1.25rem, 2.1vw, 1.625rem);
  --t-lead:    clamp(1.0625rem, 1.5vw, 1.3125rem);
  --t-body:    clamp(0.9688rem, 1.05vw, 1.0625rem);
  --t-small:   0.875rem;
  /* 12px 이었다. 라벨·빵부스러기·표 머리글까지 두루 쓰는 값이라, 이 한 줄이
     화면 곳곳의 작은 글씨를 함께 정한다. 진공의 고객은 사업장을 운영하는
     40대 이상이 많다. 12px 은 그분들에게 읽히지 않는다. */
  --t-label:   0.8125rem;

  /* Layout */
  --shell:  1360px;
  --narrow: 900px;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --sec-y:  clamp(5.5rem, 11vw, 10.5rem);

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: .7s;

  --header-h: 78px;
}

/* --- 2. Reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
/* display 를 지정한 요소에는 hidden 속성이 먹지 않는다. 브라우저 기본값인
   display:none 이 작성자 규칙에 밀린다. 카카오 버튼을 감췄는데도 보였다. */
[hidden] { display: none !important; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%; scroll-behavior: smooth;
  /* 헤더가 항상 떠 있으므로, 앵커로 이동했을 때 제목이 가리지 않게 띄운다 */
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.85;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }
table { border-collapse: collapse; width: 100%; }
/* 키보드로 옮겨 다닐 때 지금 어디에 있는지 보여 준다.
   브랜드 초록은 밝은 바탕에서 8.29:1 로 넉넉하지만, 차콜 위에서는 1.72:1 로
   기준(3:1)에 한참 못 미쳐 헤더·푸터에서는 사실상 보이지 않았다.
   어두운 곳에서는 같은 계열의 밝은 초록으로 바꿔 단다. */
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible,
.footer :focus-visible,
.side__body :focus-visible,
.menu :focus-visible,
.hero :focus-visible,
.phero :focus-visible,
/* 헤더는 스크롤하면 밝게 바뀐다(is-solid). 그때 밝은 초록을 쓰면 2.41:1 로
   오히려 안 보인다. 어두운 화면 위에 떠 있을 때만 바꾼다. */
.header--over:not(.is-solid) :focus-visible { outline-color: var(--sage); }

::selection { background: var(--sage); color: var(--charcoal); }

/* ---------------------------------------------------------------- 누르는 범위
   손가락은 커서보다 뭉툭하다. 화살표 하나가 30×34 라 자주 헛눌렸다.

   보이는 크기는 건드리지 않는다. 키우면 여백 계산이 전부 흔들리고, 애초에
   디자인이 작아서가 아니라 누를 자리가 좁아서 생긴 문제다. 그래서 빈 겹을
   덧대 누르는 범위만 넓힌다.

   문장 안에 들어 있는 링크는 그대로 둔다. 줄 간격에 갇혀 있어 넓힐 수도
   없고, 기준에서도 빼 준다. 여기서 다루는 것은 혼자 서 있는 조작 요소다. */
.tap-wide { position: relative; }
.tap-wide::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 100%; height: 100%; min-width: 44px; min-height: 44px;
  transform: translate(-50%, -50%);
}

.pageflow__arrow, .brand, .link, .side__tel, .footer__admin { position: relative; }
.pageflow__arrow::before, .brand::before, .link::before,
.side__tel::before, .footer__admin::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 100%; height: 100%; min-width: 44px; min-height: 44px;
  transform: translate(-50%, -50%);
}
/* .link 은 밑줄을 ::after 로 그린다. ::before 를 겹쳐도 밑줄과 부딪히지 않는다. */

/* 겹이 아니라 실제로 키워도 되는 것들 — 원래 여백이 넉넉한 자리다.
   분야 태그는 뒤쪽 .hero__meta a 규칙에서 직접 잡았다. */
.side__toggle { min-height: 44px; }
.side__close { min-height: 44px; }

/* --- 3. Typography helpers ---------------------------------------------- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.28; letter-spacing: -.035em; }
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); letter-spacing: -.028em; }

.display { font-size: var(--t-display); line-height: 1.1; letter-spacing: -.045em; font-weight: 700; }
.lead    { font-size: var(--t-lead); line-height: 1.78; color: var(--fg-muted); }
.small   { font-size: var(--t-small); }
.muted   { color: var(--fg-muted); }
.faint   { color: var(--fg-faint); }
.accent   { color: var(--sage); }
.green   { color: var(--green); }
.balance { text-wrap: balance; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  /* 12px 은 라벨로도 작았다. 한 단계 올린다. */
  font-size: .8125rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  /* faint 로 두었을 때 밝은 바탕 2.39:1, 어두운 바탕 3.91:1 — 양쪽 다
     읽기 기준(4.5:1) 미달이었다. 장식이 아니라 섹션 이름이다.
     muted 로 올린다. .on-dark 가 토큰을 #A8AFB4 로 갈아끼우므로
     어두운 구역은 따로 손대지 않아도 7.05:1 로 통과한다. */
  color: var(--fg-muted);
}
.eyebrow::before {
  content: ""; width: 2.25rem; height: 1px;
  background: currentColor; opacity: .5;
}
.eyebrow--plain::before { display: none; }

/* 라벨이 아니라 문장인 눈썹 — '進空 · 나아갈 진, 빌 공' 같은 것.
   라벨 조판(작게·자간 넓게·대문자)은 영문 한두 단어라야 읽힌다. 한글은
   자간을 벌릴수록 글자가 흩어지고, 대문자 변환은 애초에 걸리지도 않는다.
   문장은 문장답게 — 키우고 자간을 좁힌다. */
.eyebrow--phrase {
  font-size: clamp(.95rem, 1.35vw, 1.1rem); font-weight: 500;
  letter-spacing: -.01em; text-transform: none;
}

.num {
  font-family: var(--mono); font-size: var(--t-label);
  letter-spacing: .12em; color: var(--fg-faint);
}

.hanja {
  font-size: .62em; font-weight: 500; letter-spacing: .1em;
  color: var(--sage); vertical-align: .35em;
}

/* --- 4. Layout ----------------------------------------------------------- */
.shell   { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.narrow  { max-width: var(--narrow); }
.section { padding-block: var(--sec-y); position: relative; }
.section--tight { padding-block: clamp(3.5rem, 7vw, 6rem); }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.75rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.split {
  display: grid; gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
}
.split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.split--7-4  { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.split--4-7  { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
/* 반반. --even 과 달리 윗변을 맞춘 채로 둔다(.split 의 align-items: start).
   철학 섹션이 이걸 쓴다 — 왼쪽 칸이 5fr 로는 좁아 3D 로고가 갇혔다. */
.split--6-6  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split--center { align-items: center; }
@media (max-width: 900px) {
  .split, .split--even, .split--7-4, .split--4-7, .split--6-6 { grid-template-columns: 1fr; }
}

.rule { height: 1px; background: var(--rule); border: 0; }
.stack > * + * { margin-top: 1.15em; }

/* Section header */
.sec-head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 4.25rem); }
.sec-head__title { max-width: 22ch; }
.sec-head--split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end; gap: clamp(1.5rem, 4vw, 4rem);
}
@media (max-width: 820px) { .sec-head--split { grid-template-columns: 1fr; align-items: start; } }

/* Dark surfaces */
.on-dark {
  background: var(--charcoal); color: var(--offwhite);
  /* faint 는 #798086 이었다. 어두운 쪽은 따로 봐야 한다고 미뤄 뒀던 값인데
     재 보니 여기도 미달이었다 — 차콜 위 3.91, 카드 면(#282C30) 위 3.51.
     #8E959A 로 올린다. 새로 고른 값이 아니라 이미 저장소에 있던 값이다:
     build-insight.py 가 .article__meta 한 줄만 이 색으로 덮어쓰고 있었다.
     한 자리를 인라인으로 때우는 대신 토큰을 옮기고 그 인라인을 걷었다.
     차콜 5.16 / 더 깊은 면 5.88 / 어두운 카드 면 4.63.
     deco 는 옛 faint 값을 그대로 쓴다 — 어두운 쪽 화살표도 3:1 은 넘는다(3.51). */
  --fg: var(--offwhite); --fg-muted: var(--fg-muted-dark);
  --fg-faint: var(--fg-faint-dark); --deco: var(--deco-dark);
  --rule: var(--rule-invert); --rule-strong: rgba(247,244,239,.3);
}
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--offwhite); }
.surface-paper { background: var(--paper); }
/* var(--sage-soft) 였다. 08-11 에 .surface-beige 를 여기로 갈아끼우면서 같은
   커밋이 만든 --surface-soft(옛 --beige-soft 자리)가 아니라 --sage-soft 로
   이어 붙였다. --sage-soft 는 어두운 바탕 위 hover 색이라 한참 진하다.
   그 바람에 이 판 하나가 사이트에서 대비가 가장 나쁜 자리가 됐다 —
   about 의 「중요하게 생각하는 것」 여섯 장에서 순번 1.27:1, 본문 2.82:1.
   눈에는 '초록 판'으로 보여서 걸리지 않았고, 08-11 의 대비 재계산은 이 판을
   #E7E9E3 으로 알고 계산했다. 재는 값과 칠하는 값이 갈라져 있었다.
   판 위에서는 faint 한 단계를 접는다. #E7E9E3 은 offwhite 보다 어두워서
   faint(#676E75)가 4.22 로 못 넘는다. muted 는 4.75 로 넘는다. */
.surface-soft { background: var(--surface-soft); --fg-faint: var(--fg-muted); }

/* --- 5. Buttons ---------------------------------------------------------- */
.btn {
  --btn-fg: var(--offwhite); --btn-bg: var(--charcoal); --btn-bd: var(--charcoal);
  position: relative; display: inline-flex; align-items: center; gap: .85em;
  padding: 1.05em 1.9em; font-size: var(--t-small); font-weight: 600;
  letter-spacing: .02em; line-height: 1;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1px solid var(--btn-bd); cursor: pointer;
  overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--green); transform: scaleY(0); transform-origin: bottom;
  transition: transform .5s var(--ease-out);
}
.btn:hover::after, .btn:focus-visible::after { transform: scaleY(1); }
.btn:hover, .btn:focus-visible { color: var(--offwhite); border-color: var(--green); }
.btn .arrow { transition: transform .45s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--charcoal); --btn-bd: var(--rule-strong); }
.on-dark .btn--ghost, .btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--offwhite); --btn-bd: rgba(247,244,239,.35); }
.btn--accent { --btn-bg: var(--green); --btn-fg: var(--offwhite); --btn-bd: var(--green); }
.btn--block { width: 100%; justify-content: center; }

/* Text link with underline sweep */
.link {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: var(--t-small); font-weight: 600; letter-spacing: .02em;
  padding-bottom: .35em; position: relative;
}
.link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform-origin: right; transform: scaleX(1);
  transition: transform .45s var(--ease-out);
}
.link:hover::after { transform-origin: left; animation: sweep .55s var(--ease-out); }
@keyframes sweep { 0% { transform: scaleX(1); transform-origin: right; }
                   49% { transform: scaleX(0); transform-origin: right; }
                   50% { transform: scaleX(0); transform-origin: left; }
                   100% { transform: scaleX(1); transform-origin: left; } }
.link .arrow { transition: transform .4s var(--ease); }
.link:hover .arrow { transform: translateX(4px); }

/* --- 6. Header ----------------------------------------------------------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .5s var(--ease), border-color .5s var(--ease),
              backdrop-filter .5s var(--ease), height .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header__inner {
  width: 100%; max-width: var(--shell); margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.header.is-solid {
  background: rgba(247, 244, 239, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--rule);
  height: 66px;
}
/* 헤더는 스크롤과 무관하게 항상 고정. 배경만 바뀐다. */
.header { transition-property: background, border-color, height; }

/* On pages with a dark hero, header starts light-on-dark */
.header--over { color: var(--offwhite); }
.header--over.is-solid { color: var(--charcoal); }

.brand { display: inline-flex; align-items: center; gap: .65rem; flex-shrink: 0; }
/* 심볼은 가로형(약 1.78:1)이다. 높이를 고정하고 폭은 비율에 맡긴다. */
.brand__mark { height: 20px; width: auto; flex: none; }
.brand__mark rect { transition: fill .4s var(--ease); }
.brand__text {
  font-size: 1.0625rem; font-weight: 700; letter-spacing: .16em;
}
.brand__sub {
  /* 10px 은 라벨이라도 너무 작았다 */
  font-size: .6875rem; letter-spacing: .3em; font-weight: 500;
  opacity: .55; margin-left: .1rem;
}
@media (max-width: 480px) { .brand__sub { display: none; } }

.nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.4vw, 2.35rem); }
.nav__link {
  font-size: .8125rem; font-weight: 600; letter-spacing: .06em;
  position: relative; padding-block: .5rem;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: .1rem; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after {
  transform: scaleX(1); transform-origin: left;
}
.nav__link[aria-current="page"] { color: var(--green); }
.header--over:not(.is-solid) .nav__link[aria-current="page"] { color: var(--sage); }
@media (max-width: 940px) { .nav { display: none; } }

.header__cta { margin-left: .5rem; padding: .85em 1.4em; }
@media (max-width: 1080px) { .header__cta { display: none; } }

/* Burger */
.burger {
  display: none; width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 6px;
}
.burger span {
  display: block; width: 22px; height: 1.5px; background: currentColor;
  transition: transform .4s var(--ease), opacity .3s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
@media (max-width: 940px) { .burger { display: flex; } }

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--charcoal); color: var(--offwhite);
  padding: calc(var(--header-h) + 2.5rem) var(--gutter) 3rem;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .75s var(--ease-out), visibility 0s linear .75s;
  overflow-y: auto;
}
.menu.is-open {
  clip-path: inset(0 0 0 0); visibility: visible;
  transition: clip-path .75s var(--ease-out), visibility 0s linear 0s;
}
.menu__list { display: grid; gap: .35rem; }
.menu__item { overflow: hidden; }
.menu__link {
  display: flex; align-items: baseline; gap: 1rem;
  font-size: clamp(1.9rem, 8vw, 3rem); font-weight: 700; letter-spacing: -.035em;
  padding-block: .28em;
  transform: translateY(110%);
  transition: transform .8s var(--ease-out) var(--d, 0s), color .3s var(--ease);
}
.menu.is-open .menu__link { transform: translateY(0); }
.menu__link:hover { color: var(--sage); }
.menu__link .num { color: var(--sage); opacity: .65; }
.menu__foot {
  display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem;
  padding-top: 2.5rem; margin-top: 2.5rem; border-top: 1px solid var(--rule-invert);
  font-size: var(--t-small); color: #A8AFB4;
  opacity: 0; transition: opacity .5s var(--ease) .35s;
}
.menu.is-open .menu__foot { opacity: 1; }
/* 움직임을 줄여 달라고 한 분에게는 메뉴가 위에서 내려오지도, 항목이 밑에서
   올라오지도 않고 그냥 열린다. 버거가 X 로 바뀌는 것은 상태 표시라 남기되
   도는 움직임은 뺀다. (Codex 재검토 — 영상·사진 벽만 챙기고 메뉴를 빠뜨렸다)
   이 블록은 메뉴의 기본 선언이 다 끝난 뒤에 있어야 한다. 특이도가 같아서
   뒤에 오는 쪽이 이긴다 — 처음에 .menu__foot 보다 앞에 두었다가 안 먹었다. */
@media (prefers-reduced-motion: reduce) {
  .menu, .menu.is-open { transition: none; }
  .menu__link { transform: none; transition: color .3s var(--ease); }
  .burger span { transition: none; }
  .menu__foot { transition: none; }
}

body.is-locked { overflow: hidden; }

/* Scroll progress */
.progress {
  position: fixed; top: 0; left: 0; z-index: 101;
  height: 2px; width: 100%; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--green), var(--sage));
}

/* --- 7. Hero ------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  background: var(--charcoal-deep); color: var(--offwhite);
  overflow: hidden;
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
  padding-top: calc(var(--header-h) + 3rem);
}
/* 좁은 화면에서는 화면을 꽉 채우던 높이를 조금 낮춘다.
   헤더 아래 빈 띠는 그대로 두되, 비워 두지 않고 순번을 올린다
   (아래 [data-no]::after). 자리를 줄이는 대신 쓰는 쪽을 택했다. */
@media (max-width: 640px) { .hero { min-height: 88svh; } }
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
}
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .82; transform: scale(1.08);
  animation: heroZoom 14s var(--ease-out) forwards;
  will-change: transform;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,24,27,.72) 0%, rgba(20,24,27,.25) 38%, rgba(20,24,27,.92) 100%),
    linear-gradient(90deg, rgba(20,24,27,.8) 0%, rgba(20,24,27,0) 62%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }

.hero__title { font-size: var(--t-display); line-height: 1.08; letter-spacing: -.048em; }
.hero__title em { font-style: normal; color: var(--sage); }
.hero__sub {
  max-width: 46ch; margin-top: clamp(1.5rem, 3vw, 2.25rem);
  font-size: var(--t-lead); line-height: 1.8; color: #C3C9CD;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: clamp(2.25rem, 4vw, 3.25rem); }

.hero__meta {
  margin-top: clamp(3rem, 6vw, 4.75rem);
  padding-top: 1.75rem; border-top: 1px solid var(--rule-invert);
  /* 여섯 개를 3열 2행으로 세운다. 글자 길이가 제각각(상업공간 ~ 기업·사무공간)
     이라 흘려 두면 줄마다 끝이 들쭉날쭉해진다. 칸을 똑같이 나누면 격자로 읽힌다. */
  /* 넓은 화면에서는 여섯 개를 한 줄로 세운다. 자리가 있는데 두 줄로
     접으면 그만큼 히어로가 아래로 밀린다.
     칸 최대 폭을 묶어 두는 이유 — 1fr 로 두면 한 칸이 370px 까지 늘어나
     '상업공간' 네 글자가 허허벌판에 놓인다. 최소는 0 이라 좁아지면
     알아서 줄어든다. */
  display: grid; grid-template-columns: repeat(6, minmax(0, 11rem));
  justify-content: start; gap: .6rem;
  font-size: var(--t-small); color: #8E959A;
}
/* 좁은 화면에서 여섯 칸은 한 칸이 50px 밖에 안 돼 글자가 다 접힌다.

   열 수를 화면 폭으로 못 박지 않는다. 3열로 고정해 두었더니 320px 짜리
   화면에서 한 칸이 87px 이 되어 여섯 개가 모두 두 줄로 접혔고, 높이가
   44px 에서 67px 로 불어났다. 375px 에서는 105px — 필요한 104px 을 1px
   차이로 겨우 넘고 있었다. 글꼴이 조금만 달라져도 무너지는 상태였다.

   auto-fit 으로 "들어갈 만큼 세워라" 해 보았더니 768px 에서 6열이 되면서
   여섯 개가 다 접혔다. 좌우 여백이 2vw 라 화면이 넓어질수록 한 줄에 필요한
   폭도 같이 커지는데, 최소값은 고정이라 어긋난 것이다. 그래서 열 수는
   그대로 못 박고, 3열이 버거워지는 지점에서만 2열로 내린다.

   이름을 줄이거나 글자를 작게 하는 방법도 있지만, 이름은 방문자가 자기
   업종을 찾는 단서라 줄이면 찾기 어려워지고, 글자를 줄이면 가뜩이나 작은
   화면에서 더 안 읽힌다. */
@media (max-width: 860px) {
  .hero__meta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* 3열이면 한 칸이 좁아 '기업·사무공간' 일곱 글자가 두 줄로 접히는 구간.
   375px 에서는 칸이 105px, 필요한 폭이 103px 이라 겨우 들어간다. 그보다
   좁아지면 무너진다. 2열 3행이면 칸이 135px 이라 넉넉하다. */
@media (max-width: 374px) {
  .hero__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* 분야 태그는 각 서비스 영역으로 가는 버튼이다. 히어로에서 자기 업종을
   본 사람이 메뉴를 거치지 않고 바로 그 자리로 간다.
   누를 수 있다는 것이 보여야 하므로 테두리를 두르고, 손을 올리면 베이지로
   또렷해진다. 점은 그대로 두어 목록처럼 읽히던 결을 유지한다. */
.hero__meta a {
  display: flex; align-items: center; justify-content: center; gap: .5em;
  /* 2.9em 이었는데 41px 로 나와 손가락 기준(44)에 3px 모자랐다.
     em 으로 두면 글자 크기가 바뀔 때마다 기준을 넘나든다. px 로 못 박는다. */
  min-height: 44px; text-align: center;
  /* 좁은 화면에서는 좌우 여백을 줄여야 '기업·사무공간' 이 한 줄에 남는다 */
  padding: .5em clamp(.35em, 2vw, .95em);
  border: 1px solid var(--rule-invert);
  transition: color .35s var(--ease), border-color .35s var(--ease),
              background-color .35s var(--ease);
}
.hero__meta a::before {
  content: ""; width: 4px; height: 4px; background: var(--sage); flex: none;
  transition: transform .35s var(--ease);
}
.hero__meta a:hover,
.hero__meta a:focus-visible {
  color: var(--offwhite); border-color: var(--sage);
  background: rgba(127, 169, 140, .1);
}
.hero__meta a:hover::before { transform: scale(1.6); }

/* 히어로 2단 구성 — 왼쪽 카피, 오른쪽 브랜드 영상.
   윗변을 맞춘다(start). 높이를 카피 블록에 맞춰 늘리면 영상이 세로로 길어져
   원본 16:9 화면의 좌우가 심하게 잘린다. */
.hero__grid {
  display: grid; gap: clamp(2rem, 3.5vw, 3.25rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, clamp(22rem, 40vw, 38rem));
  align-items: start;
}
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.25rem; }
}

.hero__film { position: relative; margin: 0; }
.hero__film video {
  display: block; width: 100%; aspect-ratio: 16 / 9;
  object-fit: cover; background: var(--charcoal-deep);
  border: 1px solid rgba(247, 244, 239, .22);
}
/* 오른쪽은 화면 끝까지 내보낸다.
   좌우를 잘라 키우는 대신 여백을 먹여 키우는 방식이라 원본 16:9 가 그대로 남는다.
   왼쪽 카피 폭도 건드리지 않는다. */
@media (min-width: 1001px) {
  .hero__film {
    margin-right: calc(-1 * (max(0px, (100vw - var(--shell)) / 2) + var(--gutter)));
  }
  .hero__film video { border-right: 0; }
}
/* 이 문장은 브랜드의 감성 카피다(BRAND-LANGUAGE.md 확정 문장). 라벨 크기로
   깔아 두니 영상 밑 설명글처럼 지나쳐졌다. 읽히는 크기로 올리고 자간을
   좁힌다 — 라벨은 넓게 벌려야 읽히지만 문장은 벌릴수록 흩어진다. */
.hero__film figcaption {
  display: flex; align-items: center; gap: .7rem;
  margin-top: 1rem;
  font-size: clamp(.95rem, 1.35vw, 1.1rem); font-weight: 500;
  letter-spacing: -.01em; line-height: 1.5; color: #B3BABF;
}
.hero__film figcaption::before {
  content: ""; width: 6px; height: 6px; background: var(--sage); flex: none;
}
/* 재생 중임을 알리는 작은 표시 */
.hero__film-tag {
  position: absolute; left: .9rem; top: .9rem; z-index: 2;
  padding: .35em .75em; font-size: var(--t-label); font-weight: 600;
  letter-spacing: .12em; background: rgba(20, 24, 27, .72);
  color: var(--offwhite); backdrop-filter: blur(6px);
}
/* 모션을 줄이는 설정이면 자동재생을 멈춘다(main.js). 이때는 포스터가 보이고
   재생 버튼이 생기므로 화면을 숨길 필요가 없다. 태그만 문구를 바꿔 준다. */
.hero__film.is-static .hero__film-tag::after { content: " · 정지"; }

/* 움직이는 것을 멈추는 단추 — 브랜드 영상과 사진 벽이 같이 쓴다.

   WCAG 2.2.2. 5초 넘게 저절로 움직이는 것에는 멈출 방법이 있어야 한다.
   prefers-reduced-motion 대응은 이미 있었지만 그것은 「그렇게 설정한 사람」만
   구제한다. 설정을 모르는 사람, 지금 이 화면에서만 멈추고 싶은 사람에게는
   버튼이 필요하다.

   사진과 영상 위에 얹히므로 바탕 밝기를 예측할 수 없다. 어두운 판을 깔아
   최악(흰 화면)에서도 대비를 확보한다 — 흰 글자 9.78:1.

   44×44 는 손가락 크기다. 아이콘만 두면 작아지므로 글자를 함께 둔다. */
.motion-toggle {
  position: absolute; right: .9rem; top: .9rem; z-index: 3;
  display: inline-flex; align-items: center; gap: .4em;
  min-height: 44px; min-width: 44px; padding: .35em .8em;
  border: 1px solid rgba(250, 251, 248, .34); border-radius: 2px;
  background: rgba(20, 24, 27, .82); color: var(--paper);
  font: 600 var(--t-label)/1 var(--font); letter-spacing: .06em;
  cursor: pointer; backdrop-filter: blur(6px); white-space: nowrap;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.motion-toggle:hover { background: rgba(20, 24, 27, .94); border-color: rgba(250, 251, 248, .6); }
/* 네모 두 개 ↔ 세모 하나. 글자가 상태를 말하지만 눈으로도 한 번에 읽히게 한다. */
.motion-toggle__icon { width: 10px; height: 12px; flex: none; fill: currentColor; }

/* 사진 벽의 단추는 아래쪽에 둔다. 위쪽은 앞 구역의 글이 끝나는 자리라
   거기 얹으면 그 글을 가린다. */
.mosaic .motion-toggle { top: auto; bottom: 1rem; }

.hero__scroll {
  position: absolute; right: var(--gutter); bottom: clamp(3rem, 7vw, 5.5rem); z-index: 2;
  display: inline-flex; flex-direction: column; align-items: center; gap: .9rem;
  font-size: var(--t-label); letter-spacing: .22em; color: #8E959A;
  writing-mode: vertical-rl;
}
.hero__scroll::after {
  content: ""; width: 1px; height: 64px;
  background: linear-gradient(180deg, var(--sage), transparent);
  animation: scrollPulse 2.4s var(--ease) infinite;
}
/* 끝없이 깜빡이는 것은 멈출 단추도 없다. 줄여 달라고 했으면 선만 남긴다. */
@media (prefers-reduced-motion: reduce) {
  .hero__scroll::after { animation: none; opacity: .6; }
}
@keyframes scrollPulse { 0%,100% { opacity: .25; transform: scaleY(.5); transform-origin: top; }
                          50% { opacity: 1; transform: scaleY(1); transform-origin: top; } }
@media (max-width: 900px) { .hero__scroll { display: none; } }

/* Page hero (interior pages) */
/* 상단은 어둡지만 .on-dark 를 달고 있지 않다. 그래서 토큰이 밝은 바탕 값
   그대로였고, 안에 있는 빵부스러기·글 정보는 색을 직접 박아 쓰고 있었다.

   처음에는 muted 를 빼고 faint 와 deco 만 옮겼다 — "상단에서 muted 를 쓰는
   자리가 없다"고 봤기 때문인데 틀렸다. service 상단의 분야 태그(.tag) 일곱 개와
   contact 상단의 체크리스트가 muted 를 쓰고 있었고 차콜 위 2.69:1 이었다.
   눈으로 훑어 없다고 판단한 것이 화근이었다. 셋 다 옮긴다. */
.hero, .phero {
  --fg-muted: var(--fg-muted-dark);
  --fg-faint: var(--fg-faint-dark);
  --deco: var(--deco-dark);
}

.phero {
  position: relative; background: var(--charcoal); color: var(--offwhite);
  padding-top: calc(var(--header-h) + clamp(4.5rem, 9vw, 8rem));
  padding-bottom: clamp(3.5rem, 7vw, 6.5rem);
  overflow: hidden;
}
.phero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at var(--gx, 88%) var(--gy, 0%),
                    rgba(127,169,140,var(--accent-a, .16)), transparent 58%),
    radial-gradient(80% 70% at var(--gx2, 0%) var(--gy2, 100%),
                    rgba(47,79,62,var(--green-a, .34)), transparent 60%);
}

/* ---- 페이지마다 다른 상단 ------------------------------------------------
   좁은 화면에서는 옆으로 밀어 페이지를 넘긴다. 그런데 상단이 전부 같아서
   넘어간 것을 알아채기 어려웠다. 빛이 드는 자리와 두 색의 비중을 순번에
   따라 돌린다. 색을 새로 만들지는 않는다 — 쓰는 것은 베이지와 딥그린뿐이고,
   어디서 얼마나 비추는지만 바꾼다.
   build-pagenav.py 가 data-tone 을 새긴다.
   -------------------------------------------------------------------------- */
.hero[data-tone="a"],
.phero[data-tone="a"] { --gx: 88%;  --gy: 0%;   --gx2: 0%;   --gy2: 100%; --accent-a: .16; --green-a: .34; --accent: var(--sage); }
.hero[data-tone="b"],
.phero[data-tone="b"] { --gx: 12%;  --gy: 0%;   --gx2: 100%; --gy2: 90%;  --accent-a: .10; --green-a: .46; --accent: var(--sage); }
.hero[data-tone="c"],
.phero[data-tone="c"] { --gx: 50%;  --gy: -20%; --gx2: 15%;  --gy2: 120%; --accent-a: .22; --green-a: .24; --accent: var(--sage); }
.hero[data-tone="d"],
.phero[data-tone="d"] { --gx: 100%; --gy: 60%;  --gx2: 0%;   --gy2: 0%;   --accent-a: .13; --green-a: .40; --accent: var(--sage); }
.hero[data-tone="e"],
.phero[data-tone="e"] { --gx: 30%;  --gy: 110%; --gx2: 85%;  --gy2: 0%;   --accent-a: .19; --green-a: .30; --accent: var(--sage); }

/* 상단 라벨 색도 함께 돈다. 넘어오자마자 눈에 닿는 자리라 변화가 가장 빨리 읽힌다.
   전에는 페이지마다 인라인으로 같은 베이지가 박혀 있어 바꿀 수가 없었다. */
.phero .eyebrow { color: var(--accent, var(--sage)); }

/* 상단 맨 위의 큰 순번.
   헤더와 본문 사이는 원래 그냥 비어 있던 자리다. 좁은 화면에서는 그 빈 띠가
   꽤 넓어 답답했다. 거기에 순번을 올린다. 자리도 쓰이고, 옆으로 밀어 넘어온
   것이 숫자로 바로 읽힌다. 배경 구석에 흐리게 두었을 때는 눈에 걸리지 않았다.
   .hero(홈)와 .phero(나머지)가 같은 자리를 쓴다. */
.hero[data-no]::after,
.phero[data-no]::after {
  content: attr(data-no);
  /* 배경 장식이므로 본문보다 뒤에 둔다. 같은 z-index 로 두면 나중에 그려지는
     쪽이 이겨서, About 상단의 로고 영상 위로 숫자가 올라탔다. */
  position: absolute; z-index: 0;
  /* 헤더 바로 아래에 붙인다. 필기체는 기기마다 글자 높이가 달라서,
     아래 본문과의 간격을 벌어 두지 않으면 어떤 기기에서는 닿는다. */
  top: calc(var(--header-h) - .5rem);
  right: var(--gutter);
  /* 크레용으로 칠한 듯한 숫자. 굵은 고딕 글자 모양 안을 사선으로 긋는다.
     이미지가 아니라 글자라서 어떤 크기에서도 또렷하고, 색은 그 페이지의
     색조를 그대로 따라간다.

     필기체를 써 봤지만 아니었다. 획이 가늘어 크게 키워도 힘이 없고,
     이 브랜드의 각진 결과도 어긋났다. 두께는 글자에서, 손맛은 칠에서 낸다. */
  font-family: var(--font);
  font-style: normal; font-weight: 800;
  font-size: clamp(3.75rem, 15vw, 9rem); line-height: 1; letter-spacing: -.04em;
  color: var(--accent, var(--sage)); opacity: .18;
  pointer-events: none; user-select: none;
}
/* 홈은 배경 사진 위라 같은 투명도로는 묻힌다 */
.hero[data-no]::after { opacity: .26; }

/* 사선 두 벌을 각도와 간격을 달리해 겹친다. 한 벌만 쓰면 기계로 그은 줄이
   되고, 어긋나게 겹쳐야 손으로 칠한 결이 난다.
   글자 모양으로 잘라내지 못하는 브라우저에서는 위의 단색으로 남는다. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero[data-no]::after,
  .phero[data-no]::after {
    color: transparent;
    background-image:
      repeating-linear-gradient(58deg,
        var(--accent, var(--sage)) 0 2px, transparent 2px 7px),
      repeating-linear-gradient(-34deg,
        var(--accent, var(--sage)) 0 1px, transparent 1px 11px);
    -webkit-background-clip: text;
    background-clip: text;
    opacity: .38;
  }
  .hero[data-no]::after { opacity: .5; }
}
.phero__inner { position: relative; z-index: 1; }

/* 상단을 둘로 나눠 오른쪽에 로고 영상을 놓는다(about).
   7:5 로 두어 글이 주인공으로 남는다. */
.phero__inner--split {
  display: grid; align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}
@media (max-width: 900px) { .phero__inner--split { grid-template-columns: 1fr; } }

.phero__film { margin: 0; justify-self: center; width: 100%; max-width: 380px; }
.phero__film video {
  display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  /* 영상 배경이 크림색이라 어두운 상단 위에서는 밝은 판으로 보인다.
     감추려 들지 않고 판으로 보이게 둔다 — 테두리를 둘러 의도한 자리로 읽히게. */
  background: var(--offwhite);
  border: 1px solid rgba(247, 244, 239, .2);
}
/* 좁은 화면에서는 글 아래로 내려오므로 조금 줄여 상단이 길어지지 않게 한다 */
@media (max-width: 900px) { .phero__film { max-width: 260px; } }
.phero__title { font-size: var(--t-h1); max-width: 20ch; letter-spacing: -.042em; }
.phero__sub { max-width: 52ch; margin-top: 1.5rem; color: #B3BABF; font-size: var(--t-lead); }

.crumbs {
  display: flex; align-items: center; gap: .6rem; flex-wrap: wrap;
  font-size: var(--t-label); letter-spacing: .16em; text-transform: uppercase;
  color: var(--fg-faint); margin-bottom: 1.5rem;
}
.crumbs a:hover { color: var(--sage); }
.crumbs span[aria-hidden] { opacity: .45; }

/* --- 8. Reveal animation ------------------------------------------------- */
[data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .95s var(--ease-out) var(--d, 0s),
              transform .95s var(--ease-out) var(--d, 0s);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
[data-reveal="left"]  { transform: translateX(-28px); }
[data-reveal="right"] { transform: translateX(28px); }
[data-reveal="scale"] { transform: scale(.965); }
[data-reveal="clip"]  { opacity: 1; clip-path: inset(0 0 100% 0); transform: none;
  transition: clip-path 1.1s var(--ease-out) var(--d, 0s); }
[data-reveal="clip"].is-in { clip-path: inset(0 0 0 0); }

/* Line-mask headline */
.reveal-line { display: block; overflow: hidden; }
.reveal-line > span {
  display: block; transform: translateY(105%);
  transition: transform 1.05s var(--ease-out) var(--d, 0s);
}
.is-in .reveal-line > span, .reveal-line.is-in > span { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], .reveal-line > span { opacity: 1 !important; transform: none !important;
    clip-path: none !important; transition: none !important; }
  .hero__bg img { animation: none; transform: none; }
}

/* --- 9. Philosophy / 로고 읽기 ------------------------------------------
   전에는 여기에 6×6 격자가 하나씩 사라지는 애니메이션이 있었다. '비움'을
   보여주려 한 것인데, 끝나고 나면 뜻 없는 초록 사각형만 남았다. 정사각형
   비율이라 좁은 화면에서는 한 화면을 통째로 먹었다.
   같은 자리에 로고를 놓는다. 로고는 이미 열린 프레임(空)과 세로 축(進)으로
   되어 있어서, 설명할 것이 그림 안에 들어 있다. 가로로 납작해 자리도 덜 쓴다.
   -------------------------------------------------------------------------- */
.logo-story { margin: 0; }
/* 평면 SVG 와 입체 캔버스가 같은 상자를 쓴다. 자리가 미리 잡혀 있어야
   3D 가 늦게 올라와도 아래 글이 밀리지 않는다. */
.logo-story__stage {
  position: relative;
  /* 처음 clamp(190px, 52vw, 320px) → 1.2배 → 1.3배.
     1.5배는 칸에 막혀 못 갔다. 칸을 5fr 에서 반반으로 넓히고 여기서 멈춘다.
     평면 SVG 와 입체가 같은 상자를 쓰므로, 상자를 키우면 둘이 함께 커져
     넘어갈 때 크기가 튀지 않는다. */
  width: 100%; max-width: clamp(300px, 80vw, 500px);
  aspect-ratio: 64 / 36;
}
.logo-story__mark {
  display: block; width: 100%; height: 100%;
  color: var(--charcoal);
}
.logo-story__stage canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity .8s var(--ease);
}
/* 입체가 자리를 잡으면 평면을 물리고 캔버스를 띄운다.
   SVG 는 지우지 않는다 — 3D 가 나중에 죽어도 돌아갈 자리가 있어야 한다. */
.logo-story__stage.is-live .logo-story__mark { opacity: 0; }
.logo-story__stage.is-live canvas { opacity: 1; }
.logo-story__mark { transition: opacity .8s var(--ease); }
/* 구분선을 뺐다. 선이 있을 때는 그 위아래로 숨 쉴 자리가 필요해 여백을
   margin 과 padding 둘로 나눠 줬는데, 선이 없으면 padding 은 하는 일이
   없다. 하나로 합친다.

   합친 값은 선이 있을 때의 총합보다 조금 작다(1280px 기준 39 → 30px).
   선이 사라진 만큼 벌릴 이유도 줄어든다 — 같은 간격을 두면 이번에는
   두 덩어리가 따로 노는 것으로 보인다. */
.logo-story__notes {
  margin-top: clamp(1.4rem, 2.4vw, 1.85rem);
  display: grid; gap: 1.1rem; max-width: 34rem;
}
.logo-note { display: flex; gap: .9rem; align-items: flex-start; }
.logo-note__fig {
  width: 26px; height: 20px; flex: none; margin-top: .3rem; color: var(--charcoal);
}
.logo-note__bar { fill: var(--green); }
.logo-note p { font-size: var(--t-small); color: var(--fg-muted); line-height: 1.8; }
.logo-note b {
  display: block; color: var(--fg); font-weight: 700; letter-spacing: -.015em;
}
.on-dark .logo-story__mark, .on-dark .logo-note__fig { color: var(--offwhite); }
.on-dark .logo-note b { color: var(--offwhite); }

.hanja-split { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3rem); }
.hanja-card {
  /* 최소 폭 200px 이면 오른쪽 칸이 440px 아래로 내려가는 순간 두 장이
     세로로 접힌다. 진과 공은 나란히 있어야 한 쌍으로 읽힌다. */
  flex: 1 1 168px; padding-top: 1.5rem; border-top: 1px solid var(--rule);
}
/* 한자를 세로로 쌓으면 글자 오른쪽이 통째로 비어 카드가 길어진다.
   훈과 음을 글자 옆에 붙여 그 여백을 쓴다. */
.hanja-card__head {
  display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.35rem);
}
.hanja-card__char {
  flex: none;
  font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 700; line-height: 1;
  letter-spacing: -.02em; color: var(--green);
}
.on-dark .hanja-card__char { color: var(--sage); }
/* 음(진·공)을 앞에 세우고 색을 준다. 이 두 글자가 곧 회사 이름이다.
   훈은 뒤에서 뜻을 거든다. */
.hanja-card__name {
  margin: 0; font-size: var(--t-h3); font-weight: 600;
  color: var(--fg-muted); line-height: 1.4;
}
.hanja-card__sound { color: var(--green); font-weight: 700; }
.on-dark .hanja-card__sound { color: var(--sage); }
.hanja-card__desc { margin-top: .85rem; color: var(--fg-muted); font-size: var(--t-small); }

/* --- 10. Cards ----------------------------------------------------------- */
.card {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(1.75rem, 2.6vw, 2.5rem);
  background: var(--paper); border: 1px solid var(--rule);
  transition: transform .6s var(--ease-out), border-color .5s var(--ease),
              box-shadow .6s var(--ease-out);
  overflow: hidden; height: 100%;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px;
  background: var(--green); transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease-out);
}
.card:hover { transform: translateY(-5px); border-color: var(--rule-strong);
  box-shadow: 0 22px 48px -30px rgba(31,36,40,.45); }
.card:hover::before { transform: scaleX(1); }
/* sage 였다. sage 는 어두운 바탕 전용 초록인데 .card 바탕은 paper 다 —
   2.54:1, 틴트가 얹힌 카드에서는 2.13:1 이었다. 밝은 바탕에는 브랜드 초록을 쓴다.
   about 의 마지막 카드가 <p class="card__num green"> 이었던 것이 힌트였다:
   쓴 사람은 초록을 의도했는데 .card__num 이 뒤에 있어 cascade 로 이겼다.
   그 카드도 이제 쓴 대로 나온다. 8.76 / 7.36. */
.card__num { font-family: var(--mono); font-size: var(--t-label); color: var(--green);
  letter-spacing: .12em; margin-bottom: 1.5rem; }
.on-dark .card__num { color: var(--sage); }
.card__title { font-size: var(--t-h3); }
.card__desc { margin-top: .85rem; color: var(--fg-muted); font-size: var(--t-small); line-height: 1.8; }
.card__foot { margin-top: auto; padding-top: 1.75rem; }
.on-dark .card { background: rgba(247,244,239,.04); border-color: var(--rule-invert); }
.on-dark .card:hover { background: rgba(247,244,239,.07); box-shadow: none; }
.on-dark .card::before { background: var(--sage); }

/* Experience card with tint */
.card--exp .card__tag {
  display: inline-block; margin-top: 1.25rem; padding: .35em .8em;
  font-size: var(--t-label); letter-spacing: .1em; font-weight: 600;
  background: rgba(47,79,62,.09); color: var(--green);
}
.on-dark .card--exp .card__tag { background: rgba(127,169,140,.12); color: var(--sage); }

/* Service list — editorial rows */
.srv-list { border-top: 1px solid var(--rule); }
.srv {
  display: grid; grid-template-columns: 5rem minmax(0, 1fr) minmax(0, 1.15fr) 3rem;
  gap: clamp(1rem, 3vw, 2.5rem); align-items: center;
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--rule);
  position: relative; isolation: isolate;
  transition: padding-inline .5s var(--ease), color .4s var(--ease);
}
.srv::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--paper); transform: scaleY(0); transform-origin: bottom;
  transition: transform .55s var(--ease-out);
}
.srv:hover::before { transform: scaleY(1); }
.srv:hover { padding-inline: clamp(.5rem, 2vw, 1.75rem); }
.srv__num { font-family: var(--mono); font-size: var(--t-label); color: var(--fg-faint); letter-spacing: .12em; }
.srv__title { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 700; letter-spacing: -.03em; }
.srv__desc { color: var(--fg-muted); font-size: var(--t-small); line-height: 1.8; }
.srv__go {
  justify-self: end; width: 2.75rem; height: 2.75rem; flex: none;
  display: grid; place-items: center; border: 1px solid var(--rule-strong);
  border-radius: 50%; transition: background .45s var(--ease), color .45s var(--ease),
  border-color .45s var(--ease), transform .45s var(--ease);
}
.srv:hover .srv__go { background: var(--green); border-color: var(--green);
  color: var(--offwhite); transform: rotate(45deg); }
@media (max-width: 860px) {
  .srv { grid-template-columns: 3rem minmax(0,1fr) 2.25rem; row-gap: .5rem; align-items: start; }
  .srv__desc { grid-column: 2 / 4; }
  .srv__go { width: 2.25rem; height: 2.25rem; }
}

/* --- 11. Portfolio ------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter {
  padding: .7em 1.25em; font-size: var(--t-small); font-weight: 600;
  border: 1px solid var(--rule); background: transparent; cursor: pointer;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.filter:hover { border-color: var(--rule-strong); }
.filter[aria-pressed="true"] { background: var(--charcoal); color: var(--offwhite); border-color: var(--charcoal); }

/* 전체 프로젝트 목록 --------------------------------------------------------
   분류를 고르면 그 갈래만 남는 한 줄짜리 목록. 사례가 늘어도 훑을 수 있어야
   해서 격자가 아니라 목록으로 둔다. 왼쪽 사진은 작게 — 어떤 공간인지 알아볼
   정도면 된다. 판단에 필요한 것(분류·위치·면적·기간)은 글자로 정렬한다.
   -------------------------------------------------------------------------- */
.pf-list { border-top: 1px solid var(--rule-strong); }
.pf-row {
  display: grid;
  grid-template-columns: clamp(4.5rem, 9vw, 6.5rem) minmax(0, 1fr) auto;
  gap: clamp(1rem, 2.2vw, 1.75rem); align-items: center;
  padding: clamp(.9rem, 1.8vw, 1.25rem) 0;
  border-bottom: 1px solid var(--rule);
  position: relative; isolation: isolate;
  transition: padding-inline .45s var(--ease);
}
.pf-row.is-hidden { display: none; }
/* 줄 전체에 옅은 바탕이 차오른다. .post-list 와 같은 결. */
.pf-row::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--paper); transform: scaleY(0); transform-origin: bottom;
  transition: transform .45s var(--ease-out);
}
.pf-row:hover::before { transform: scaleY(1); }
.pf-row:hover { padding-inline: clamp(.4rem, 1.6vw, 1.1rem); }

.pf-row__thumb {
  display: block; aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--charcoal-soft);
}
.pf-row__thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.pf-row:hover .pf-row__thumb img { transform: scale(1.06); }

.pf-row__body { display: block; min-width: 0; }
.pf-row__title {
  display: block; font-size: clamp(1rem, 1.7vw, 1.15rem); font-weight: 700;
  letter-spacing: -.028em; line-height: 1.5;
  transition: color .35s var(--ease);
}
.pf-row:hover .pf-row__title { color: var(--green); }
.pf-row__meta {
  display: block; margin-top: .3rem;
  font-size: var(--t-small); color: var(--fg-muted); line-height: 1.6;
}
/* 제목과 메타가 이미 링크 이름을 하고 있다. 화살표는 덧붙인 표시라 deco 다. */
.pf-row__go { color: var(--deco); transition: transform .35s var(--ease); }
.pf-row:hover .pf-row__go { transform: translateX(.35rem); color: var(--green); }
@media (max-width: 600px) {
  .pf-row { grid-template-columns: clamp(3.75rem, 18vw, 5rem) minmax(0, 1fr); }
  .pf-row__go { display: none; }
}

/* 홈의 3건 미리보기는 그대로 카드다. 거기서는 훑는 것이 아니라 눈길을 끄는
   것이 일이라 사진이 커야 한다. */
.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.4vw, 2rem); }
@media (max-width: 980px) { .pf-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pf-grid { grid-template-columns: 1fr; } }

.pf-card { display: block; position: relative; }
.pf-card.is-hidden { display: none; }

/* 거르기로 가려진 글 카드. 없으면 main.js 가 클래스만 붙이고 화면은 그대로다 —
   「지금 N편」 숫자만 바뀌고 카드 열 장이 남아, 보조기기에 전하는 상태와
   눈에 보이는 것이 어긋난다(Codex 검수). display:none 이라야 접근성 트리에서도
   함께 빠진다. 거를 대상을 새로 만들 때는 이 줄도 같이 만들 것. */
.post.is-hidden { display: none; }
.pf-card__media {
  position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--charcoal-soft);
}
.pf-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter .7s var(--ease);
}
.pf-card:hover .pf-card__media img { transform: scale(1.06); }
.pf-card__cat {
  position: absolute; left: 1rem; top: 1rem; z-index: 2;
  padding: .4em .85em; font-size: var(--t-label); font-weight: 600; letter-spacing: .08em;
  background: rgba(20,24,27,.78); color: var(--offwhite);
  backdrop-filter: blur(6px);
}
.pf-card__body { padding-top: 1.25rem; }
.pf-card__title { font-size: var(--t-h3); transition: color .4s var(--ease); }
.pf-card:hover .pf-card__title { color: var(--green); }
/* 링크는 제목에만 건다(낭독기가 문제·해결 문단까지 링크 이름으로 읽지 않도록).
   대신 이 그림자가 카드 전체를 덮어 어디를 눌러도 상세로 간다. */
.pf-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.pf-card__title a:focus-visible { outline: none; }
.pf-card:has(.pf-card__title a:focus-visible) { outline: 2px solid var(--green); outline-offset: 4px; }
.pf-card__meta {
  margin-top: .6rem; display: flex; flex-wrap: wrap; gap: .4rem .9rem;
  font-size: var(--t-small); color: var(--fg-muted);
}
.pf-card__meta li { display: inline-flex; align-items: center; gap: .5rem; }
.pf-card__meta li + li::before { content: ""; width: 3px; height: 3px; background: var(--rule-strong); }
.pf-card__note { margin-top: .85rem; font-size: var(--t-small); color: var(--fg-muted); line-height: 1.75; }

/* Before / After slider */
.ba {
  position: relative; overflow: hidden; aspect-ratio: 14 / 9;
  background: var(--charcoal); cursor: ew-resize; user-select: none;
  touch-action: none;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%);
  width: 2px; background: var(--offwhite); z-index: 3; pointer-events: none;
  box-shadow: 0 0 24px rgba(0,0,0,.45);
}
.ba__knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--offwhite); color: var(--charcoal);
  display: grid; place-items: center;
}
.ba__tag {
  position: absolute; bottom: 1rem; z-index: 2;
  padding: .4em .85em; font-size: var(--t-label); font-weight: 600; letter-spacing: .12em;
  background: rgba(20,24,27,.72); color: var(--offwhite); backdrop-filter: blur(6px);
}
.ba__tag--b { left: 1rem; }
.ba__tag--a { right: 1rem; background: rgba(47,79,62,.85); }

/* --- 12. Process --------------------------------------------------------- */
.process { position: relative; display: grid; gap: 0; }
.process__line {
  position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--rule);
}
.process__line::after {
  content: ""; position: absolute; inset: 0; background: var(--green);
  transform: scaleY(var(--p, 0)); transform-origin: top;
  transition: transform .2s linear;
}
.on-dark .process__line::after { background: var(--sage); }
.step {
  display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(1rem, 3vw, 2.5rem); align-items: baseline;
  padding: clamp(1.6rem, 2.8vw, 2.4rem) 0 clamp(1.6rem, 2.8vw, 2.4rem) clamp(1.5rem, 3vw, 3rem);
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.step:first-child { border-top: 1px solid var(--rule); }
.step::before {
  content: ""; position: absolute; left: -4px; top: 50%; width: 9px; height: 9px;
  background: var(--bg); border: 1px solid var(--rule-strong); border-radius: 50%;
  transform: translateY(-50%) scale(.8); transition: all .5s var(--ease-out);
}
.step.is-in::before { background: var(--green); border-color: var(--green); transform: translateY(-50%) scale(1); }
.on-dark .step::before { background: var(--charcoal); }
.on-dark .step.is-in::before { background: var(--sage); border-color: var(--sage); }
.step__num { font-family: var(--mono); font-size: var(--t-label); color: var(--fg-faint); letter-spacing: .12em; }
.step__title { font-size: clamp(1.05rem, 1.8vw, 1.35rem); font-weight: 700; letter-spacing: -.03em; }
.step__desc { color: var(--fg-muted); font-size: var(--t-small); line-height: 1.8; }
@media (max-width: 780px) {
  .step { grid-template-columns: 3rem minmax(0,1fr); row-gap: .45rem; }
  .step__desc { grid-column: 2; }
}

/* --- 13. Compare table --------------------------------------------------- */
.cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp { min-width: 620px; font-size: var(--t-small); }
.cmp th, .cmp td { padding: 1.15rem 1.25rem; text-align: left; vertical-align: top; line-height: 1.7; }
.cmp thead th {
  font-size: var(--t-label); letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600; color: var(--fg-faint); border-bottom: 1px solid var(--rule-strong);
}
.cmp tbody tr { border-bottom: 1px solid var(--rule); }
.cmp tbody th { font-weight: 600; color: var(--fg); white-space: nowrap; }
.cmp td:last-child {
  background: rgba(47,79,62,.055); font-weight: 600; color: var(--green);
}
.on-dark .cmp td:last-child { background: rgba(127,169,140,.08); color: var(--sage); }
.cmp thead th:last-child { color: var(--green); }
.on-dark .cmp thead th:last-child { color: var(--sage); }

/* --- 14. Stats ----------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule); border-block: 1px solid var(--rule); }
.stat { background: var(--bg); padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.25rem, 2vw, 2rem); }
.on-dark .stat { background: var(--charcoal); }
.stat__val { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.stat__val sup { font-size: .42em; font-weight: 600; vertical-align: super; margin-left: .12em; color: var(--sage); }
.stat__key { margin-top: .9rem; font-size: var(--t-small); color: var(--fg-muted); }
@media (max-width: 780px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* --- 15. (비어 있음) ----------------------------------------------------
   흐르는 문구 띠(marquee)가 있던 자리. 홈에서 빼면서 규칙도 함께 걷었다.
   되살리려면 이 커밋 직전을 보면 된다. -----------------------------------*/
/* --- 16. Insight cards --------------------------------------------------- */
.post { display: flex; flex-direction: column; height: 100%; padding-top: 1.6rem;
  border-top: 1px solid var(--rule-strong); }
.post__meta { display: flex; gap: 1rem; font-size: var(--t-label); letter-spacing: .12em;
  text-transform: uppercase; color: var(--fg-faint); }
.post__title { margin-top: 1.1rem; font-size: var(--t-h3); line-height: 1.42;
  transition: color .4s var(--ease); }
.post:hover .post__title { color: var(--green); }
.post__excerpt { margin-top: .85rem; font-size: var(--t-small); color: var(--fg-muted); line-height: 1.8; }
.post__foot { margin-top: auto; padding-top: 1.6rem; }

/* --- 17. Forms ----------------------------------------------------------- */
/* 폼 앞에 놓는 전화 버튼. 모바일에서는 이쪽이 훨씬 빠른 길이다. */
.call-first { margin-bottom: 2rem; }
.btn--call {
  display: inline-flex; align-items: center; gap: .6rem;
  width: 100%; justify-content: center; white-space: nowrap;
}
.btn--call svg { width: 18px; height: 18px; flex: none; }
.btn--call strong { font-weight: 700; letter-spacing: .01em; }
.call-first__note {
  margin: .55rem 0 0; font-size: .8125rem; color: var(--fg-muted); text-align: center;
}
/* 넓은 화면에서는 폭을 다 쓰지 않는다. 전화를 걸 수 없는 기기에서
   화면을 가로지르는 큰 버튼은 과하다 — 번호를 읽는 용도로 족하다. */
@media (min-width: 760px) {
  .btn--call { width: auto; }
  .call-first__note { text-align: left; }
}

.form { display: grid; gap: 1.35rem; }
.form__row { display: grid; gap: 1.35rem; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .55rem; }
.field__label {
  font-size: var(--t-label); font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--fg-faint);
}
.field__label .req { color: var(--green); margin-left: .3em; }
.on-dark .field__label .req { color: var(--sage); }
.field input, .field select, .field textarea {
  width: 100%; padding: .95em 1.05em;
  background: var(--paper); border: 1px solid var(--rule);
  font-size: var(--t-body); line-height: 1.6;
  transition: border-color .35s var(--ease), background .35s var(--ease);
  border-radius: 0; -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%236B7276' stroke-width='1.6'/></svg>");
  background-repeat: no-repeat; background-position: right 1.1em center; background-size: 12px;
  padding-right: 2.8em;
}
.field textarea { min-height: 9.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green); background: var(--paper);
}
.field input::placeholder, .field textarea::placeholder { color: #A9AFB3; }
.field.is-error input, .field.is-error select, .field.is-error textarea { border-color: #A6403A; }
.field__err { font-size: var(--t-small); color: #A6403A; display: none; }
.field.is-error .field__err { display: block; }

.file-drop {
  position: relative;
  display: grid; place-items: center; gap: .5rem; text-align: center;
  padding: 2.25rem 1.25rem; border: 1px dashed var(--rule-strong);
  background: var(--paper); cursor: pointer;
  transition: border-color .35s var(--ease), background .35s var(--ease);
}
.file-drop:focus-within { border-color: var(--green); }
.file-drop:hover, .file-drop.is-over { border-color: var(--green); background: rgba(47,79,62,.04); }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-drop__hint { font-size: var(--t-small); color: var(--fg-muted); }
.file-list { display: grid; gap: .4rem; font-size: var(--t-small); color: var(--fg-muted); }

.consent { display: flex; gap: .75rem; align-items: flex-start; font-size: var(--t-small); color: var(--fg-muted); }
.consent input { width: 1.15rem; height: 1.15rem; margin-top: .35rem; flex: none; accent-color: var(--green); }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.consent.is-error { color: #A6403A; }
.consent.is-error input { outline: 2px solid #A6403A; outline-offset: 2px; }
/* 동의 칸은 테두리만 빨개지고 무엇이 잘못됐는지 말이 없었다. 문구를 라벨 밖에 두는
   것은, 라벨 안에 넣으면 체크박스의 이름이 오류 문구까지 끌어안기 때문이다. */
.consent.is-error + .consent__err { display: block; margin-top: .4rem; }

/* 전송 실패 안내. 성공은 thanks.html 로 넘어가므로 화면에 남기지 않는다. */
.form__fail {
  display: none; padding: clamp(2rem, 4vw, 3rem); text-align: center;
  border: 1px solid #A8443A; background: rgba(168, 68, 58, .05);
}
.form__fail.is-shown { display: block; }
.form__fail h3 { color: #8E3A31; }

/* --- 18. Contact aside --------------------------------------------------- */
.contact-list { display: grid; gap: 1.75rem; }
.contact-item { display: grid; gap: .4rem; padding-top: 1.35rem; border-top: 1px solid var(--rule); }
.contact-item__key { font-size: var(--t-label); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-faint); }
.contact-item__val { font-size: clamp(1.05rem, 1.7vw, 1.3rem); font-weight: 600; letter-spacing: -.02em; }
.contact-item__val a:hover { color: var(--green); }
.on-dark .contact-item__val a:hover { color: var(--sage); }

/* --- 19. CTA band -------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; background: var(--green); color: var(--offwhite); }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(90% 120% at 100% 0%, rgba(127,169,140,.28), transparent 60%);
}
.cta-band__inner { position: relative; z-index: 1; }
/* 초록 띠 위의 눈썹글. index 에 rgba(247,244,239,.6) 이 인라인으로 박혀 있었고
   4.15:1 이었다. 여기서는 토큰 길이 막힌다 — 어두운 muted(#A8AFB4)를 얹어도
   초록 위에서는 4.10 이라 더 나쁘다. 띠 안의 본문이 쓰는 .78 로 맞춘다(5.79). */
.cta-band .eyebrow { color: rgba(247, 244, 239, .78); }
/* 띠 안의 체크리스트. ul 에 color 를 걸어 두었었지만 .checklist li 가 항목마다
   다시 잡아서 먹지 않았고, muted 가 초록 위에 그대로 남아 1.56:1 이었다 —
   고친 것 중 가장 나빴다. 쓴 사람이 의도한 .82 로 맞춘다(6.20). */
.cta-band .checklist li { color: rgba(247, 244, 239, .82); }
.cta-band h2 { color: var(--offwhite); max-width: 18ch; }
.cta-band p { color: rgba(247,244,239,.78); max-width: 44ch; margin-top: 1.25rem; }
.cta-band .btn { --btn-bg: var(--offwhite); --btn-fg: var(--charcoal); --btn-bd: var(--offwhite); }
.cta-band .btn::after { background: var(--charcoal); }
.cta-band .btn--ghost { --btn-bg: transparent; --btn-fg: var(--offwhite); --btn-bd: rgba(247,244,239,.4); }

/* --- 20. Footer ---------------------------------------------------------- */
/* 바닥글도 상단과 같다 — 어둡지만 .on-dark 가 아니다. */
.footer { background: var(--charcoal-deep); color: var(--fg-muted-dark);
  padding-top: clamp(4rem, 8vw, 6.5rem);
  --fg-muted: var(--fg-muted-dark);
  --fg-faint: var(--fg-faint-dark); --deco: var(--deco-dark); }
.footer__top {
  display: grid; gap: clamp(2.5rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}
@media (max-width: 900px) { .footer__top { grid-template-columns: repeat(2, 1fr); } }
/* 좁은 화면에서 1열로 떨어뜨리면 메뉴 6개 + 서비스 7개 + 연락처가 세로로
   전부 쌓여 푸터만 한 화면을 넘긴다. 링크 글자가 짧으니 2열로 둔다.
   로고와 연락처는 폭을 다 쓴다 — 슬로건은 두 줄로 끊기고, 주소는 길다. */
@media (max-width: 560px) {
  .footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 6vw, 2.5rem) 1.25rem;
  }
  .footer__top > :first-child,
  .footer__top > :last-child { grid-column: 1 / -1; }
  .footer__col li + li { margin-top: .45rem; }
  .footer__col li { line-height: 1.45; }
  .footer__col h2 { margin-bottom: .8rem; }
  .footer__slogan { font-size: 1.25rem; }
  .footer { padding-top: 3rem; }
}
.footer__slogan { font-size: clamp(1.35rem, 2.4vw, 1.85rem); font-weight: 700;
  letter-spacing: -.035em; color: var(--offwhite); line-height: 1.45; max-width: 16ch; }
.footer__col h2 { font-size: var(--t-label); letter-spacing: .16em; text-transform: uppercase;
  color: var(--fg-faint); font-weight: 600; margin-bottom: 1.2rem; }
.footer__col li + li { margin-top: .7rem; }
.footer__col a { font-size: var(--t-small); transition: color .3s var(--ease); }
.footer__col a:hover { color: var(--sage); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem;
  padding-block: 1.75rem; border-top: 1px solid var(--rule-invert);
  /* #6C737A 였다. 3.72:1 — 저작권 표시와 개인정보처리방침 링크가 여기 있다.
     개인정보처리방침은 법정 표시라 안 읽히면 곤란하다. 5.88 로 올린다. */
  font-size: var(--t-small); color: var(--fg-faint);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }

/* --- 21. 대표의 편지 ------------------------------------------------------ */
.letter {
  max-width: 62ch; font-size: clamp(1.02rem, 1.35vw, 1.15rem); line-height: 2.05;
}
.letter p + p { margin-top: 1.5em; }
.letter strong { font-weight: 700; }
.letter__lead {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 700;
  line-height: 1.62; letter-spacing: -.032em; margin-bottom: 1.75em;
}
.letter__sign {
  display: flex; align-items: center; gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.75rem; border-top: 1px solid var(--rule);
}
.letter__sign svg { height: 26px; width: auto; flex: none; opacity: .85; }
.letter__sign-photo {
  width: 56px; height: 56px; flex: none; border-radius: 50%;
  object-fit: cover; filter: grayscale(.15);
}
.letter__sign-name { font-size: 1.15rem; font-weight: 700; letter-spacing: -.02em; }
.letter__sign-role { font-size: var(--t-small); color: var(--fg-faint); margin-top: .15rem; }

/* 편지 발췌 — 메인용 */
.pullquote {
  position: relative; padding: clamp(2rem, 4vw, 3rem) 0;
}
.pullquote__mark {
  display: block; font-size: clamp(3rem, 7vw, 5rem); line-height: .8;
  font-weight: 700; color: var(--sage); margin-bottom: .3em;
}
.pullquote__body {
  font-size: clamp(1.15rem, 2.4vw, 1.75rem); font-weight: 600;
  line-height: 1.68; letter-spacing: -.032em; max-width: 26ch;
}
.pullquote__by {
  margin-top: 1.75rem; font-size: var(--t-small); color: var(--fg-faint);
  display: flex; align-items: center; gap: .7rem;
}
.pullquote__by::before { content: ""; width: 1.75rem; height: 1px; background: currentColor; }

/* --- 21b. 이름의 네 가지 읽기 --------------------------------------------- */
.meanings {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}
/* 넷이 한 줄에 서기엔 좁아지는 지점에서 2×2 로 접는다.
   1열까지 바로 떨어뜨리면 네 장이 세로로 길게 늘어져 읽는 리듬이 끊긴다. */
@media (max-width: 1100px) { .meanings { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .meanings { grid-template-columns: 1fr; } }

.meaning { padding-top: 1.5rem; border-top: 2px solid var(--green); }
.on-dark .meaning { border-top-color: var(--sage); }
.meaning__char {
  display: flex; align-items: baseline; gap: .6rem;
  font-size: clamp(2.75rem, 5.5vw, 4rem); font-weight: 700; line-height: 1;
  letter-spacing: -.02em; color: var(--green);
}
.on-dark .meaning__char { color: var(--sage); }
.meaning__char em {
  font-style: normal; font-size: .28em; font-weight: 600;
  letter-spacing: .14em; color: var(--fg-faint);
}
.meaning__title {
  margin-top: 1.1rem; font-size: var(--t-h3); font-weight: 700;
  letter-spacing: -.03em; line-height: 1.45;
}
.meaning__desc {
  margin-top: .85rem; font-size: var(--t-small); line-height: 1.85;
  color: var(--fg-muted);
}

/* 네 번째 글자 — 담기 위해 비운다 */
.meaning-close {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--rule);
}
@media (max-width: 640px) { .meaning-close { grid-template-columns: 1fr; } }
.meaning-close__char {
  font-size: clamp(4rem, 9vw, 7rem); font-weight: 700; line-height: .9;
  letter-spacing: -.03em; color: var(--fg);
  opacity: .16;
}
.meaning-close__body {
  font-size: clamp(1.1rem, 2vw, 1.45rem); font-weight: 600;
  line-height: 1.62; letter-spacing: -.03em; max-width: 34ch;
}
.meaning-close__note {
  margin-top: .9rem; font-size: var(--t-small); color: var(--fg-muted); line-height: 1.85;
  max-width: 46ch;
}

/* --- 22. 고객의 목소리 ---------------------------------------------------- */
.voice {
  display: flex; flex-direction: column; height: 100%;
  padding: clamp(1.75rem, 2.8vw, 2.5rem);
  background: var(--paper); border: 1px solid var(--rule);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.voice:hover { transform: translateY(-4px); box-shadow: 0 22px 48px -32px rgba(31,36,40,.4); }
.on-dark .voice { background: rgba(247,244,239,.04); border-color: var(--rule-invert); }
.voice__tag {
  align-self: flex-start; padding: .4em .85em; margin-bottom: 1.4rem;
  font-size: var(--t-label); font-weight: 600; letter-spacing: .08em;
  border: 1px solid var(--rule-strong); color: var(--fg-muted);
}
.voice__tag--fix {
  background: var(--green); border-color: var(--green); color: var(--offwhite);
}
.voice__body {
  font-size: clamp(1rem, 1.5vw, 1.1rem); line-height: 1.85; letter-spacing: -.018em;
}
.voice__by {
  margin-top: auto; padding-top: 1.6rem; font-size: var(--t-small); color: var(--fg-faint);
}
.voice__by strong { display: block; color: var(--fg); font-weight: 600; margin-bottom: .2rem; }

/* --- 23. 약속 / 보증 ------------------------------------------------------ */
.pledge {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--rule); border: 1px solid var(--rule);
}
@media (max-width: 780px) { .pledge { grid-template-columns: 1fr; } }
.pledge__item { background: var(--bg); padding: clamp(1.75rem, 3vw, 2.5rem); }
.on-dark .pledge { background: var(--rule-invert); border-color: var(--rule-invert); }
.on-dark .pledge__item { background: var(--charcoal); }
.pledge__val {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 700;
  letter-spacing: -.045em; line-height: 1; color: var(--green);
}
.on-dark .pledge__val { color: var(--sage); }
.pledge__val small { font-size: .42em; font-weight: 600; margin-left: .3em; letter-spacing: 0; }
.pledge__key { margin-top: 1rem; font-weight: 600; }
.pledge__desc { margin-top: .5rem; font-size: var(--t-small); color: var(--fg-muted); line-height: 1.8; }

/* --- 24. 견적서 미리보기 --------------------------------------------------- */
.quote-doc {
  border: 1px solid var(--rule-strong); background: var(--paper);
  font-size: var(--t-small);
}
.on-dark .quote-doc { background: rgba(247,244,239,.04); border-color: var(--rule-invert); }
.quote-doc__head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 1.1rem 1.35rem; border-bottom: 1px solid var(--rule-strong);
  font-size: var(--t-label); letter-spacing: .14em; text-transform: uppercase;
  color: var(--fg-faint);
}
.quote-doc__row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 1rem; align-items: baseline;
  padding: .85rem 1.35rem; border-bottom: 1px solid var(--rule);
}
.quote-doc__row:last-child { border-bottom: 0; }
.quote-doc__row b { font-weight: 600; }
.quote-doc__spec { font-size: var(--t-label); color: var(--fg-faint); display: block; margin-top: .25rem; }
.quote-doc__qty, .quote-doc__amt { font-variant-numeric: tabular-nums; color: var(--fg-muted); white-space: nowrap; }
.quote-doc__row--bad { background: rgba(166,64,58,.06); }
.quote-doc__row--bad b { color: #A6403A; }
.quote-doc__note {
  padding: 1.1rem 1.35rem; border-top: 1px solid var(--rule-strong);
  color: var(--fg-muted); line-height: 1.8;
}

/* --- 25. 리드 마그넷 ------------------------------------------------------ */
.magnet {
  display: grid; gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: minmax(0, 1fr) auto; align-items: center;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  border: 1px solid var(--green); background: rgba(47,79,62,.05);
}
.on-dark .magnet { border-color: var(--sage); background: rgba(127,169,140,.08); }
@media (max-width: 760px) { .magnet { grid-template-columns: 1fr; } }
.magnet__title { font-size: var(--t-h3); }
.magnet__desc { margin-top: .7rem; font-size: var(--t-small); color: var(--fg-muted); line-height: 1.8; }

/* --- 26. 연락 채널 -------------------------------------------------------- */
.channels { display: grid; gap: .6rem; }
.channel {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1em 1.35em; border: 1px solid var(--rule);
  background: var(--paper); transition: border-color .4s var(--ease),
  transform .4s var(--ease-out), background .4s var(--ease);
}
.channel:hover { transform: translateX(4px); border-color: var(--rule-strong); }
.channel__icon {
  width: 2.4rem; height: 2.4rem; flex: none; border-radius: 50%;
  display: grid; place-items: center; font-size: .8rem; font-weight: 700;
  background: var(--charcoal); color: var(--offwhite);
}
.channel__label { font-weight: 600; }
.channel__sub { font-size: var(--t-small); color: var(--fg-muted); margin-top: .1rem; }
.channel__go { margin-left: auto; color: var(--deco); }
.channel--kakao { background: #FEE500; border-color: #FEE500; color: #191600; }
.channel--kakao:hover { background: #F5DC00; border-color: #F5DC00; }
.channel--kakao .channel__icon { background: #191600; color: #FEE500; }
.channel--kakao .channel__sub { color: rgba(25,22,0,.62); }
.channel--kakao .channel__go { color: rgba(25,22,0,.55); }

/* --- 26b. 아티클 본문 ------------------------------------------------------ */
.article { max-width: 46rem; margin-inline: auto; }
.article__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.1rem;
  font-size: var(--t-label); letter-spacing: .14em; text-transform: uppercase;
  color: var(--fg-faint);
}
.article__meta span + span::before {
  content: ""; display: inline-block; width: 3px; height: 3px;
  background: currentColor; vertical-align: middle; margin-right: 1.1rem;
}
.article__lead {
  font-size: clamp(1.1rem, 2.1vw, 1.45rem); font-weight: 600;
  line-height: 1.68; letter-spacing: -.03em; color: var(--fg);
}

.prose { font-size: clamp(1rem, 1.35vw, 1.0938rem); line-height: 1.95; }
.prose > * + * { margin-top: 1.35em; }
.prose h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.75rem); letter-spacing: -.035em;
  margin-top: 2.6em; padding-top: 1.5rem; border-top: 1px solid var(--rule);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: clamp(1.08rem, 1.9vw, 1.25rem); margin-top: 2em; }
.prose p { color: var(--fg-muted); }
.prose strong { color: var(--fg); font-weight: 700; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--green); }

/* 목록 항목은 그리드로 만들지 않는다.
   li 를 grid 로 두면 안에 있는 <strong> 같은 인라인 요소가 각각 별도 항목이 되어,
   뒤따르는 텍스트가 다음 줄 첫 칸으로 밀려 한 글자씩 쌓인다.
   마커는 절대 위치로 띄우고 본문은 일반 흐름을 그대로 둔다. */
.prose ul, .prose ol { display: grid; gap: .85rem; }
.prose li {
  position: relative; padding-left: 2.1rem;
  color: var(--fg-muted); line-height: 1.85;
}
.prose ul > li::before {
  content: ""; position: absolute; left: 0; top: .78em;
  width: 7px; height: 7px; background: var(--green);
}
.prose ol { counter-reset: n; }
.prose ol > li { counter-increment: n; }
.prose ol > li::before {
  content: counter(n, decimal-leading-zero);
  position: absolute; left: 0; top: .34em;
  font-family: var(--mono); font-size: .78em; color: var(--sage);
  letter-spacing: .04em;
}

.prose figure { margin-block: 2.4em; }
.prose figure img { width: 100%; }
.prose figcaption {
  margin-top: .8rem; font-size: var(--t-small); color: var(--fg-faint);
  line-height: 1.7;
}

/* 본문 중 강조 박스 */
.aside-note {
  padding: clamp(1.35rem, 2.6vw, 1.9rem);
  border-left: 2px solid var(--green); background: rgba(47,79,62,.05);
  font-size: var(--t-small); line-height: 1.9;
}
.aside-note > * + * { margin-top: .8em; }
.aside-note strong { color: var(--green); }
.aside-note__label {
  display: block; font-size: var(--t-label); font-weight: 700;
  letter-spacing: .14em; color: var(--green); margin-bottom: .5em;
}

/* 진공의 판단 — 각 글의 결론 블록 */
.verdict {
  margin-top: 3em; padding: clamp(1.75rem, 3.2vw, 2.5rem);
  background: var(--charcoal); color: var(--offwhite);
}
.verdict__label {
  font-size: var(--t-label); font-weight: 700; letter-spacing: .18em;
  color: var(--sage); margin-bottom: 1rem;
}
.verdict p { color: rgba(247,244,239,.82); line-height: 1.9; }
.verdict p + p { margin-top: .9em; }
.verdict strong { color: var(--offwhite); }

/* 이 글의 순서 — 본문 h2 로 가는 목차. 긴 글에서 원하는 단계로 바로 가고,
   검색·답변 엔진이 글의 마디를 읽게 한다(Codex 검수). */
.toc { padding: 1.25rem 1.5rem; border: 1px solid var(--rule); background: var(--paper); }
.toc__title {
  font-size: var(--t-label); font-weight: 700; letter-spacing: .18em;
  color: var(--fg-muted); margin-bottom: .75rem;
}
.toc__list { display: grid; gap: .45rem; padding-left: 0; list-style: none; counter-reset: toc; }
.toc__list a { color: var(--fg); text-decoration: none; line-height: 1.6; }
.toc__list a:hover { color: var(--green); text-decoration: underline; text-underline-offset: .2em; }
/* 앵커로 뛰었을 때 고정 헤더에 가리지 않는 것은 html 의 scroll-padding-top 이
   이미 맡는다. 여기 scroll-margin 을 또 주었더니 둘이 더해져 제목이 헤더 아래
   94px 이 아니라 188px 에 섰다 — 재서 알았다. */

/* 이어서 보기 — 판단 뒤에 서비스와 함께 읽을 글 */
.related__title {
  font-size: var(--t-label); font-weight: 700; letter-spacing: .18em;
  color: var(--fg-muted); margin-bottom: .5rem;
}
.related__list { list-style: none; padding-left: 0; border-top: 1px solid var(--rule-strong); }
.related__link {
  display: flex; align-items: baseline; gap: 1rem; padding: 1rem 0;
  border-bottom: 1px solid var(--rule); color: var(--fg); text-decoration: none;
}
.related__kind { flex: none; min-width: 5.5em; font-size: var(--t-label); letter-spacing: .08em; color: var(--fg-muted); }
.related__name { flex: 1; font-weight: 600; line-height: 1.5; }
.related__link .arrow { flex: none; color: var(--fg-muted); transition: transform .3s var(--ease); }
.related__link:hover .related__name { color: var(--green); }
.related__link:hover .arrow { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .related__link .arrow { transition: none; } }

/* 전체 글 목록 — 상세 페이지 하단 */
.post-list { border-top: 1px solid var(--rule-strong); }
.post-list__item {
  display: grid; grid-template-columns: 2.75rem minmax(0, 1fr) auto;
  gap: clamp(.9rem, 2vw, 1.75rem); align-items: baseline;
  padding: clamp(1.1rem, 2.2vw, 1.5rem) 0;
  border-bottom: 1px solid var(--rule);
  position: relative; isolation: isolate;
  transition: padding-inline .45s var(--ease);
}
.post-list__item::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--paper); transform: scaleY(0); transform-origin: bottom;
  transition: transform .45s var(--ease-out);
}
a.post-list__item:hover::before { transform: scaleY(1); }
a.post-list__item:hover { padding-inline: clamp(.4rem, 1.6vw, 1.1rem); }
@media (max-width: 600px) {
  .post-list__item { grid-template-columns: 2.25rem minmax(0, 1fr); }
  .post-list__go { display: none; }
}

.post-list__num {
  font-family: var(--mono); font-size: var(--t-label);
  letter-spacing: .1em; color: var(--fg-faint);
}
.post-list__title {
  display: block; font-size: clamp(1rem, 1.7vw, 1.15rem); font-weight: 700;
  letter-spacing: -.028em; line-height: 1.5;
  transition: color .35s var(--ease);
}
a.post-list__item:hover .post-list__title { color: var(--green); }
.post-list__cat {
  display: block; margin-top: .4rem;
  font-size: var(--t-label); letter-spacing: .1em; color: var(--fg-faint);
}
.post-list__go {
  font-size: var(--t-small); color: var(--deco);
  transition: transform .4s var(--ease), color .35s var(--ease);
}
a.post-list__item:hover .post-list__go { color: var(--green); transform: translateX(4px); }

/* 지금 읽고 있는 글 */
.post-list__item--current { background: rgba(47,79,62,.05); }
.post-list__item--current .post-list__num,
.post-list__item--current .post-list__title { color: var(--green); }
.post-list__item--current .post-list__go {
  font-weight: 600; color: var(--green); letter-spacing: .06em;
}

/* 이전 / 다음 글 */
.article-nav {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--rule); border-block: 1px solid var(--rule);
}
@media (max-width: 620px) { .article-nav { grid-template-columns: 1fr; } }
.article-nav__item {
  background: var(--bg); padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex; flex-direction: column; gap: .7rem;
  transition: background .4s var(--ease);
}
.article-nav__item:hover { background: var(--paper); }
.article-nav__dir {
  font-size: var(--t-label); letter-spacing: .16em; color: var(--fg-faint);
}
.article-nav__title { font-weight: 700; letter-spacing: -.028em; line-height: 1.5; }
.article-nav__item--next { text-align: right; }
@media (max-width: 620px) { .article-nav__item--next { text-align: left; } }

/* --- 27. Misc ------------------------------------------------------------ */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  padding: 1em 1.5em; background: var(--charcoal); color: var(--offwhite);
}
.skip:focus { left: .5rem; top: .5rem; }

.figure { position: relative; overflow: hidden; }
.figure img { width: 100%; }
.figure figcaption {
  margin-top: .9rem; font-size: var(--t-small); color: var(--fg-faint);
  display: flex; gap: .6rem; align-items: baseline;
}
.figure figcaption::before { content: ""; width: 1.5rem; height: 1px; background: currentColor; flex: none; transform: translateY(-.35em); }

.ratio-4-5 { aspect-ratio: 4 / 5; }
.ratio-3-4 { aspect-ratio: 3 / 4; }
.ratio-3-2 { aspect-ratio: 3 / 2; }
.ratio-1-1 { aspect-ratio: 1 / 1; }
.ratio-4-5 img, .ratio-3-4 img, .ratio-3-2 img, .ratio-1-1 img {
  width: 100%; height: 100%; object-fit: cover;
}

.tag-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag {
  padding: .45em .9em; font-size: var(--t-label); font-weight: 600; letter-spacing: .06em;
  border: 1px solid var(--rule); color: var(--fg-muted);
}
.on-dark .tag { border-color: var(--rule-invert); }

/* .prose li 와 같은 이유로 그리드를 쓰지 않는다.
   항목이 <strong>으로 시작하면 줄이 통째로 무너진다. */
.checklist { display: grid; gap: .9rem; }
.checklist li {
  position: relative; padding-left: 1.85rem;
  font-size: var(--t-small); line-height: 1.8; color: var(--fg-muted);
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 8px; height: 8px; background: var(--green);
}
/* 마커는 --green 이라 밝은 바탕에서만 보인다(8.09 / 8.76). 어두운 면에는
   sage 로 바꾸는 규칙이 있었는데 .on-dark 만 걸려 있었다. 상단(.phero)과
   초록 띠(.cta-band)는 .on-dark 가 아니라 빠져 있었고 —
   상단에서 1.72:1, 초록 띠에서는 초록 위 초록으로 정확히 1:1 이었다.
   글자만 재고 마커를 안 쟀으면 못 봤을 자리다. */
.on-dark .checklist li::before,
.phero .checklist li::before,
.cta-band .checklist li::before { background: var(--sage); }

.quote {
  font-size: clamp(1.25rem, 2.6vw, 1.95rem); font-weight: 600; line-height: 1.6;
  letter-spacing: -.03em; padding-left: clamp(1.25rem, 3vw, 2.25rem);
  border-left: 2px solid var(--green);
}
.on-dark .quote { border-left-color: var(--sage); }
.quote cite { display: block; margin-top: 1.25rem; font-size: var(--t-small);
  font-weight: 500; font-style: normal; color: var(--fg-faint); letter-spacing: 0; }

.faq { border-top: 1px solid var(--rule); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.5rem 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-size: clamp(1rem, 1.7vw, 1.15rem); font-weight: 600; letter-spacing: -.02em;
  transition: color .35s var(--ease);
}
.faq__q:hover { color: var(--green); }
.faq__icon { position: relative; width: 14px; height: 14px; flex: none; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: currentColor;
  transition: transform .45s var(--ease-out), opacity .3s var(--ease);
}
.faq__icon::before { left: 0; top: 6.5px; width: 14px; height: 1.5px; }
.faq__icon::after  { left: 6.5px; top: 0; width: 1.5px; height: 14px; }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: scaleY(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease-out); }
.faq__q[aria-expanded="true"] + .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding-bottom: 1.75rem; color: var(--fg-muted); font-size: var(--t-small); line-height: 1.85; max-width: 62ch; }

.notice {
  padding: 1.15rem 1.35rem; border-left: 2px solid var(--sage);
  background: rgba(127,169,140,.15); font-size: var(--t-small); color: var(--fg-muted); line-height: 1.8;
}

.mt-s { margin-top: 1rem; } .mt-m { margin-top: 2rem; } .mt-l { margin-top: clamp(2.5rem, 5vw, 4rem); }
.center { text-align: center; }
.sticky { position: sticky; top: calc(var(--header-h) + 2rem); }
@media (max-width: 900px) { .sticky { position: static; } }

/* Mobile floating CTA */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; gap: 1px; background: var(--rule-strong);
  transform: translateY(100%); transition: transform .5s var(--ease-out);
  box-shadow: 0 -12px 32px -20px rgba(0,0,0,.5);
}
.dock.is-shown { transform: none; }
.dock a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: .55em;
  padding: 1.05rem .5rem; font-size: var(--t-small); font-weight: 600;
  background: var(--charcoal); color: var(--offwhite);
}
.dock a.dock--primary { background: var(--green); }
@media (max-width: 760px) { .dock { display: flex; } body { padding-bottom: 0; } }

/* --- 28. 왼쪽 사이드바 ------------------------------------------------------
   접힘: 폭 46px 의 레일. 펼침: 340px 패널.
   본문을 밀지 않고 위에 겹친다. 미는 방식은 헤더(fixed)·히어로 영상(100vw)
   까지 전부 다시 계산해야 해서 사이트 전체가 흔들린다.
   레일이 46px 인 것은 계산 결과다. 사이드바가 나오는 1001px 에서 좌우 여백이
   5vw = 50px 이라, 그보다 좁아야 본문 글자를 가리지 않는다.
   -------------------------------------------------------------------------- */
:root { --side-rail: 46px; --side-open: 340px; }

.side {
  position: fixed; left: 0; top: var(--header-h); bottom: 0; z-index: 92;
  display: flex; align-items: stretch;
  color: var(--offwhite);
  font-family: var(--font);
}
.side__rail {
  position: relative; z-index: 2; flex: none;
  width: var(--side-rail);
  display: flex; flex-direction: column; align-items: center;
  padding-block: 1rem;
  background: rgba(20, 24, 27, .9);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-right: 1px solid var(--rule-invert);
}

.side__icon { width: 20px; height: 20px; flex: none; }
.side__chev { transition: transform .45s var(--ease-out); }
.side.is-open .side__chev { transform: rotate(180deg); }

.side__toggle {
  flex: 1; width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: .9rem;
  padding: .5rem 0 1rem;
  background: none; border: 0; color: inherit; cursor: pointer;
  font: inherit; letter-spacing: inherit;
}
.side__toggle:hover { color: var(--sage); }
/* 접힌 상태에서 이름을 읽을 수 있는 유일한 자리다. 세로로 세운다.
   점(dot)은 이 안에 넣지 않는다. flex 아이템이 되면서 글자 폭을 좁혀
   세로 글줄이 두 줄로 쪼개진다. */
.side__vlabel {
  writing-mode: vertical-rl; text-orientation: mixed;
  margin-block: auto;            /* 레일 가운데에 오도록 남는 공간을 나눠 먹는다 */
  font-size: var(--t-label); font-weight: 600; letter-spacing: .22em;
  white-space: nowrap;
}
/* 진행 중인 이벤트가 있을 때만 켜진다 */
.side__dot {
  width: 6px; height: 6px; flex: none; background: var(--sage);
  box-shadow: 0 0 0 0 rgba(127, 169, 140, .7);
  animation: sideDot 2.6s var(--ease) infinite;
}
@keyframes sideDot {
  0%, 70%, 100% { box-shadow: 0 0 0 0 rgba(127, 169, 140, .55); }
  35%           { box-shadow: 0 0 0 7px rgba(127, 169, 140, 0); }
}
/* 접혀 있어도 채널과 전화는 한 번에 눌러 갈 수 있어야 한다.
   사이드바를 여는 수고를 요구하면 마케팅 채널은 아무도 안 누른다. */
.side__rail-links {
  flex: none; width: 100%;
  display: flex; flex-direction: column;
  border-top: 1px solid var(--rule-invert);
}
.side__rail-ch, .side__rail-call {
  display: grid; place-items: center; width: 100%; padding-block: .8rem;
  transition: background .3s var(--ease);
}
.side__rail-ch:hover, .side__rail-call:hover { background: rgba(247, 244, 239, .09); }
.side__rail-call { border-top: 1px solid var(--rule-invert); }

/* ---- 펼쳐지는 패널 ---- */
.side__body {
  flex: none; width: var(--side-open); max-width: calc(100vw - var(--side-rail));
  background: rgba(20, 24, 27, .96);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-right: 1px solid var(--rule-invert);
  box-shadow: 24px 0 60px -40px rgba(0, 0, 0, .85);
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform .5s var(--ease-out), visibility .5s;
}
.side.is-open .side__body { transform: none; visibility: visible; }
/* 내용이 길어지면 패널 안에서만 스크롤한다 */
.side__scroll {
  height: 100%; overflow-y: auto; overscroll-behavior: contain;
  padding: 1.75rem 1.5rem 2.5rem;
  display: flex; flex-direction: column; gap: 1.75rem;
}

.side__h {
  font-size: var(--t-label); font-weight: 600; letter-spacing: .22em;
  color: #8E959A;
}

/* ---- 맨 위 강조 카드 — 핵심 행동 하나(무료 견적) ---- */
.side-cta {
  display: block; padding: 1.4rem 1.3rem 1.5rem;
  background: linear-gradient(160deg, rgba(47, 79, 62, .6), rgba(47, 79, 62, .14));
  border: 1px solid rgba(127, 169, 140, .3);
  transition: border-color .35s var(--ease), background .35s var(--ease);
}
.side-cta:hover {
  border-color: var(--sage);
  background: linear-gradient(160deg, rgba(47, 79, 62, .78), rgba(47, 79, 62, .2));
}
.side-cta__icon { width: 22px; height: 22px; color: var(--sage); }
.side-cta__title {
  margin-top: .85rem; font-size: 1.1875rem; font-weight: 700;
  letter-spacing: -.02em; line-height: 1.35;
}
.side-cta__body {
  margin-top: .55rem; font-size: var(--t-small); line-height: 1.75; color: #C3C9CD;
}
.side-cta__note {
  margin-top: .7rem; font-size: var(--t-label); letter-spacing: .08em;
  color: var(--sage);
}
.side-cta__go {
  margin-top: 1.2rem;
  display: inline-flex; align-items: center; gap: .5em;
  padding: .8em 1.15em; font-size: var(--t-small); font-weight: 600;
  background: var(--sage); color: var(--charcoal-deep);
  transition: background .3s var(--ease);
}
.side-cta:hover .side-cta__go { background: var(--sage-soft); }

/* ---- 채널·바로가기 줄 ---- */
.side-rows { list-style: none; padding: 0; }
.side-row {
  display: flex; align-items: center; gap: .85rem;
  padding: .95rem .25rem;
  border-bottom: 1px solid var(--rule-invert);
  transition: color .3s var(--ease), padding-left .3s var(--ease);
}
.side-rows li:first-child .side-row { border-top: 1px solid var(--rule-invert); }
.side-row:hover { color: var(--sage); padding-left: .55rem; }
.side-row__t { display: flex; flex-direction: column; gap: .18rem; min-width: 0; }
.side-row__t strong { font-size: .9375rem; font-weight: 600; letter-spacing: -.01em; }
.side-row__t span {
  font-size: var(--t-label); letter-spacing: .04em; color: #8E959A;
}
.side-row__go {
  margin-left: auto; font-size: .8125rem; color: #6F767B;
  transition: transform .3s var(--ease-out), color .3s var(--ease);
}
.side-row:hover .side-row__go { color: var(--sage); transform: translateX(3px); }

/* 주소가 아직 없는 채널 — 자리는 있지만 누를 수 없다 */
.side-row--pending { cursor: default; opacity: .5; }
.side-row--pending:hover { color: inherit; padding-left: .25rem; }
.side-row__soon {
  margin-left: auto; flex: none;
  padding: .25em .6em; font-size: var(--t-label); letter-spacing: .1em;
  border: 1px solid var(--rule-invert); color: #8E959A;
}

/* 채널은 각자의 색으로 알아본다. 전부 베이지로 칠하면 무엇인지 구분되지 않는다. */
.side__icon--estimate,
.side__icon--grid,
.side__icon--steps,
.side__icon--doc     { color: var(--sage); }
.side__icon--kakao     { color: #FAE100; }
.side__icon--blog      { color: #03C75A; }
.side__icon--instagram { color: #E46C8C; }
.side__icon--youtube   { color: #FF4E45; }

/* ---- 맨 아래 전화 ---- */
.side__foot { margin-top: auto; padding-top: .5rem; }
.side__tel {
  font-size: 1.125rem; font-weight: 700; letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}
.side__tel:hover { color: var(--sage); }
.side__hours {
  margin-top: .3rem; font-size: var(--t-label); letter-spacing: .06em; color: #6F767B;
}

/* ---- 접힌 상태에서는 화면 밖으로 밀려 있으므로 초점이 가면 안 된다 ---- */
.side:not(.is-open) .side__body { pointer-events: none; }

/* ---- 컨테이너는 클릭을 받지 않는다 --------------------------------------
   .side 는 레일(46px)과 본문(340px)을 나란히 담은 flex 상자다. 접히면
   본문은 transform 으로 화면 밖에 나가지만 자리는 그대로 차지한다.
   그래서 컨테이너가 386px 폭으로 본문 위를 덮고, 그 안의 것들이 눌리지
   않는다. 상담 폼의 동의 체크박스(x=64)가 여기 걸려 있었다.
   눈에 보이지 않는 데다 누르면 아무 일도 안 일어나서 찾기 어려운 종류다.

   컨테이너는 통과시키고, 실제로 눌러야 하는 것만 되살린다. */
.side { pointer-events: none; }
.side__rail { pointer-events: auto; }
.side.is-open .side__body { pointer-events: auto; }

/* ---- 좁은 화면 ----------------------------------------------------------
   화면 가운데 높이의 세로 탭은 쓸 수 없다. 히어로의 '프로젝트 상담하기'
   버튼 위에 정확히 겹쳐 앉는다. 페이지마다 내용이 달라 안전한 높이가 없다.
   그래서 아무것도 놓이지 않는 왼쪽 아래 구석으로 내리고 가로 알약으로 바꾼다.
   -------------------------------------------------------------------------- */
.side__vlabel--short { display: none; }
.side__close { display: none; }

@media (max-width: 1000px) {
  .side {
    top: auto; bottom: 1rem; align-items: flex-end;
  }
  .side__rail {
    flex-direction: row; align-items: center;
    width: auto; height: auto; padding: .7rem 1.05rem .7rem .9rem;
    border: 1px solid var(--rule-invert); border-left: 0;
  }
  .side__toggle {
    flex: none; flex-direction: row; align-items: center; gap: .55rem;
    padding: 0;
  }
  .side__rail-links { display: none; }
  /* 세로로 세운 글자는 알약 안에서 읽히지 않는다 */
  .side__vlabel { display: none; }
  .side__vlabel--short {
    display: block; writing-mode: horizontal-tb; margin: 0;
    font-size: var(--t-small); letter-spacing: .04em;
  }
  .side__dot { margin-right: .1rem; }

  /* 패널은 왼쪽 전체를 덮는 서랍이 된다.
     top 을 0 으로 두면 고정 헤더(z-index 100)가 패널 맨 위 글자를 덮는다. */
  .side__body {
    position: fixed; left: 0; top: var(--header-h); bottom: 0;
    width: min(21.25rem, calc(100vw - 3rem));
    border-right: 1px solid var(--rule-invert);
  }
  /* 열려 있는 동안 알약은 패널 뒤로 숨는다. 닫기는 패널 안의 버튼과
     뒷배경 탭으로 한다. 알약이 패널 위에 떠 있으면 무엇을 누르는지 헷갈린다. */
  .side.is-open .side__rail { opacity: 0; pointer-events: none; }
  .side__rail { transition: opacity .3s var(--ease); }

  .side__close {
    display: flex; align-items: center; justify-content: flex-end;
    width: 100%; padding: .9rem 1.5rem .1rem;
    background: none; border: 0; color: #8E959A; cursor: pointer;
    font: inherit; font-size: var(--t-label); letter-spacing: .12em;
  }
  .side__close:hover { color: var(--sage); }
  .side__scroll { padding-top: .75rem; }
}

/* 하단 고정 CTA(전화·카카오 바)가 뜨는 폭에서는 그 위로 올린다 */
@media (max-width: 760px) {
  .side { bottom: calc(56px + .85rem); }
}
/* 열었을 때 뒤를 눌러 닫을 수 있게 한다 */
.side__scrim {
  position: fixed; inset: 0; z-index: 91;
  background: rgba(20, 24, 27, .5);
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.side.is-open ~ .side__scrim,
.side__scrim.is-shown { opacity: 1; visibility: visible; }
@media (min-width: 1001px) { .side__scrim { display: none; } }

/* 인쇄물에는 사이트 조작 UI 가 들어갈 이유가 없다 */
@media print { .side, .side__scrim { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .side__body, .side__chev, .side__scrim,
  .side-row, .side-row__go, .side-cta, .side-cta__go { transition: none; }
  .side__dot { animation: none; }
}

/* --- 29. 좁은 화면 페이지 넘기기 --------------------------------------------
   좁은 화면에서는 상단 메뉴가 햄버거로 숨어 지금 어디인지 알 수 없다.
   헤더 안에 현재 페이지 이름과 순번을 넣는다.
   화살표는 옆으로 미는 동작을 모르는 사람을 위한 것이다. 손짓만 두면
   그런 기능이 있다는 걸 아무도 모른다.
   -------------------------------------------------------------------------- */
.pageflow { display: none; }

@media (max-width: 940px) {
  /* 헤더의 기본 간격(2rem)을 그대로 두면 이 칸이 들어오면서 햄버거 버튼이
     화면 밖으로 밀려난다. 좁은 화면에서는 간격을 줄인다. */
  .header__inner { gap: .7rem; }
  .pageflow {
    display: flex; align-items: center; gap: .1rem;
    margin-left: auto; min-width: 0; max-width: 11.5rem;
  }
  .pageflow__arrow {
    flex: none; display: grid; place-items: center;
    width: 30px; height: 34px; font-size: 1.25rem; line-height: 1;
    opacity: .55; transition: opacity .3s var(--ease);
  }
  .pageflow__arrow:hover, .pageflow__arrow:focus-visible { opacity: 1; }
  .pageflow__now {
    display: flex; flex-direction: column; align-items: center; gap: .1rem;
    min-width: 0; padding-inline: .15rem;
  }
  .pageflow__now strong {
    font-size: .8125rem; font-weight: 700; letter-spacing: -.01em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    max-width: 100%;
  }
  .pageflow__count {
    font-family: var(--mono); font-size: .6875rem; letter-spacing: .14em;
    font-variant-numeric: tabular-nums; opacity: .5;
  }
  .pageflow__count i { font-style: normal; padding-inline: .1em; }
}

/* 화면이 아주 좁으면 이전 화살표를 뺀다. 셋 다 넣으면 로고와 붙는다.
   다음 화살표를 남기는 것은 미는 방향(왼쪽=다음)과 같기 때문이다. */
@media (max-width: 420px) {
  .pageflow { max-width: 8.5rem; }
  .pageflow__arrow[rel="prev"] { display: none; }
}

/* 옆으로 미는 동안 살짝 따라 움직인다. 화면이 반응하지 않으면
   미는 동작이 먹혔는지 알 수 없다. */
.swipe-shift {
  transition: transform .28s var(--ease-out), opacity .28s var(--ease-out);
  will-change: transform;
}
.swipe-shift--left  { transform: translateX(-3.5%); opacity: .55; }
.swipe-shift--right { transform: translateX(3.5%);  opacity: .55; }
@media (prefers-reduced-motion: reduce) {
  .swipe-shift { transition: none; }
  .swipe-shift--left, .swipe-shift--right { transform: none; opacity: 1; }
}

/* 미는 동작을 처음 만나는 사람에게 한 번만 알려준다.
   아래쪽에 두면 사이드바 알약과 하단 고정 CTA 사이에 끼어 겹친다.
   헤더 바로 밑은 늘 비어 있고, 페이지 이동 안내라 자리도 맞는다. */
.swipe-hint {
  position: fixed; left: 50%; top: calc(var(--header-h) + .75rem); z-index: 95;
  transform: translateX(-50%) translateY(-.4rem);
  display: none; align-items: center; gap: .55rem;
  padding: .7rem 1.15rem;
  background: rgba(20, 24, 27, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--rule-invert);
  color: var(--offwhite); font-size: var(--t-label); letter-spacing: .06em;
  opacity: 0; pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease-out);
}
@media (max-width: 940px) { .swipe-hint { display: flex; } }
.swipe-hint.is-shown { opacity: 1; transform: translateX(-50%) translateY(0); }

/* --- 30. 관리자 진입 --------------------------------------------------------
   대표님이 관리자에 로그인해 두면 사이트 어느 페이지에서든 바로 관리자로
   넘어갈 수 있게 한다. 로그인 여부는 Decap 이 남긴 브라우저 저장값으로 안다.
   이것은 편의 장치일 뿐 잠금장치가 아니다. 실제 권한은 GitHub 로그인과
   저장소 참여자 권한이 정한다.
   -------------------------------------------------------------------------- */
/* #575E64 였다. 2.71:1 — 바닥글에서도 유난히 흐렸다. 눈에 안 띄게 두려던
   뜻은 알겠으나, 대비로 감추는 것은 감추는 것이 아니다. 위 주석대로 이건
   잠금장치가 아니라 편의 장치고, 실제 권한은 GitHub 가 정한다. 조용함은
   자리(바닥글 맨 아래)가 이미 내고 있으니 색은 읽히는 값으로 둔다. */
.footer__admin { color: var(--fg-faint); transition: color .3s var(--ease); }
.footer__admin:hover { color: var(--sage); }
.footer__admin--on { color: var(--sage); }

.admin-fab {
  position: fixed; right: 1.15rem; bottom: 1.15rem; z-index: 94;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 1.15rem;
  background: var(--green); color: var(--offwhite);
  border: 1px solid var(--green-light);
  font-size: var(--t-small); font-weight: 600; letter-spacing: -.01em;
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .8);
  opacity: 0; transform: translateY(.6rem);
  transition: opacity .45s var(--ease), transform .45s var(--ease-out),
              background .3s var(--ease);
}
.admin-fab.is-shown { opacity: 1; transform: none; }
.admin-fab:hover { background: var(--green-light); }
.admin-fab__who {
  padding-left: .6rem; margin-left: .1rem;
  border-left: 1px solid rgba(247, 244, 239, .28);
  font-size: var(--t-label); font-weight: 500; opacity: .75;
}
.admin-fab svg { width: 17px; height: 17px; flex: none; }
/* 하단 고정 CTA 가 뜨는 폭에서는 그 위로 올린다 */
@media (max-width: 760px) {
  .admin-fab { bottom: calc(56px + .85rem); padding: .75rem 1rem; }
  .admin-fab__who { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .admin-fab { transition: none; }
}
@media print { .admin-fab { display: none; } }

/* 길찾기 — 지도를 박지 않고 각자의 지도 앱으로 보낸다 */
.findway { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .7rem; }
.findway a {
  padding: .4em .8em; font-size: var(--t-label); letter-spacing: .02em;
  border: 1px solid var(--rule); background: var(--paper);
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.findway a::after { content: " ↗"; opacity: .5; }
.findway a:hover { border-color: var(--green); color: var(--green); }

/* --- 31. 작업 모자이크 (홈 첫 화면) ------------------------------------------
   현장 사진 67장이 칸마다 제각기 바뀌면서 벽 전체가 살아 있게 보인다.

   칸을 한꺼번에 바꾸지 않는다. 화면 전체가 동시에 번쩍이면 눈이 아프고,
   무엇보다 1초에 세 번 넘게 명멸하는 화면은 발작을 유발할 수 있다.
   칸마다 시간을 어긋나게 두어 "어딘가 늘 바뀌는" 정도로만 움직인다.

   한 칸에 사진 두 장을 겹쳐 두고 서로 투명도를 넘긴다. 한 장만 두고
   src 를 갈아 끼우면 새 사진을 받아오는 동안 칸이 비어 깜빡인다.        */
.mosaic { position: relative; background: var(--ink); overflow: hidden; }
.mosaic__grid {
  display: grid; gap: 2px;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(88px, 11vw, 150px);
  /* dense 가 없으면 두 칸짜리가 줄 끝에 안 들어갈 때 그 자리를 비우고 다음
     줄로 넘어간다. 사진 벽에 검은 구멍이 뚫린다 — 실제로 5%가 비었다.
     dense 는 뒤에 오는 작은 칸을 끌어와 그 구멍을 메운다. */
  grid-auto-flow: row dense;
}
/* perspective 를 칸이 들고 있어야 rotateY/rotateX 가 납작하게 도는 대신
   실제로 젖혀진다. 값이 작을수록 과장이 세진다. 900px 은 문짝이 열리는
   정도로, 이보다 작으면 사진이 엿가락처럼 늘어져 보인다. */
.mtile { position: relative; overflow: hidden; background: #2A3034; perspective: 900px; }
.mtile img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transform: none;
  /* 길이(--md)와 가감속(--ez)을 칸마다 다르게 준다. 다 같으면 방향만 바뀌고
     박자는 하나라 여전히 규칙적으로 읽힌다. */
  transition:
    opacity   var(--md, .5s) var(--ez, ease),
    transform var(--md, .5s) var(--ez, ease),
    filter    var(--md, .5s) var(--ez, ease),
    clip-path var(--md, .5s) var(--ez, ease);
  will-change: opacity, transform;
}

/* 들어오는 방식. 매번 다른 것을 골라 붙인다 — 한 가지로만 들어오면
   화면이 벽이 아니라 슬라이드쇼로 읽힌다.

   미는 것(translate)·크기(scale)·흐림(blur)·닦아내기(clip-path inset)·
   조리개(circle)·기울임·회전·색빠짐을 섞는다. 서로 성질이 다른 것들이라
   연달아 나와도 같은 효과의 변주로 안 보인다. */
.mtile img.f-l   { transform: translateX(-9%); }
.mtile img.f-r   { transform: translateX(9%); }
.mtile img.f-t   { transform: translateY(-9%); }
.mtile img.f-b   { transform: translateY(9%); }
.mtile img.f-in  { transform: scale(1.14); }
.mtile img.f-out { transform: scale(.9); }
.mtile img.f-blur{ filter: blur(12px); transform: scale(1.06); }
.mtile img.f-gray{ filter: grayscale(1) contrast(1.15); transform: scale(1.04); }
.mtile img.f-rot { transform: rotate(2.2deg) scale(1.1); }
.mtile img.f-skew{ transform: skewY(2.4deg) scale(1.08); }

/* 닦아내기와 조리개는 시작·끝 모양이 같은 종류여야 사이가 이어진다.
   inset 은 inset 끼리, circle 은 circle 끼리. 섞으면 뚝 끊긴다. */
.mtile img.f-wl { clip-path: inset(0 100% 0 0); }
.mtile img.f-wr { clip-path: inset(0 0 0 100%); }
.mtile img.f-wb { clip-path: inset(100% 0 0 0); }
.mtile img.f-wl.is-on,
.mtile img.f-wr.is-on,
.mtile img.f-wb.is-on { clip-path: inset(0 0 0 0); }
.mtile img.f-iris { clip-path: circle(0% at 50% 55%); transform: scale(1.08); }
.mtile img.f-iris.is-on { clip-path: circle(85% at 50% 55%); }

/* 입체 — 젖히기·말기·찢기.

   앞의 것들은 결국 평면 위의 이동이라, 여러 개를 섞어도 "판이 미끄러진다"는
   인상 하나로 모인다. 젖히는 것은 축이 화면 밖으로 나가므로 성질이 다르다.
   헌 사진이 아래에 그대로 깔려 있어서 젖혀지는 동안 그 뒤가 비지 않는다. */
.mtile img.f-dl { transform: rotateY(-84deg); transform-origin: left center; }
.mtile img.f-dr { transform: rotateY(84deg);  transform-origin: right center; }
.mtile img.f-dt { transform: rotateX(84deg);  transform-origin: top center; }
.mtile img.f-db { transform: rotateX(-84deg); transform-origin: bottom center; }

/* 말기 — 블라인드가 내려오듯 위에서 펴진다. 살짝 젖혀 두어야 종이가
   말려 있다가 펴지는 것으로 읽히고, 안 그러면 그냥 세로로 늘어난다. */
.mtile img.f-roll { transform: scaleY(.04) rotateX(34deg); transform-origin: top center; }

/* 찢기 — 톱니 모양 경계가 왼쪽에서 오른쪽으로 지나간다.
   시작과 끝의 점 개수가 같아야 사이가 이어진다. 다르면 뚝 끊긴다. */
.mtile img.f-tear {
  clip-path: polygon(0% 0%, 2% 0%, 0% 20%, 3% 40%, 0% 60%, 2% 80%, 0% 100%, 0% 100%);
}
.mtile img.f-tear.is-on {
  clip-path: polygon(0% 0%, 97% 0%, 100% 20%, 96% 40%, 100% 60%, 97% 80%, 100% 100%, 0% 100%);
}

.mtile img.is-on { opacity: 1; transform: none; filter: none; }

/* 칸 크기를 섞는다. 같은 크기로 깔면 사진이 아니라 표로 읽힌다. */
.mtile--w2 { grid-column: span 2; }
.mtile--h2 { grid-row: span 2; }

/* 로고 칸. 사진 칸이 23개라 6열에서 한 칸이 남는다(23 + 1 = 24 = 4줄).
   그 자리를 비워 두면 구멍인데, 밝은 판에 마크를 얹으면 어두운 사진 사이에서
   또렷하게 떠서 서명처럼 읽힌다. 4열에서도 24칸이라 그대로 맞아떨어진다. */
.mtile--logo {
  background: var(--offwhite);
  display: grid; place-items: center;
  padding: clamp(.9rem, 2.2vw, 1.6rem);
}
.mtile--logo svg { width: 100%; max-width: 132px; height: auto; }

/* 글자가 사진 위에 얹히므로 아래쪽을 어둡게 깔아 준다 */
.mosaic__veil {
  position: absolute; inset: auto 0 0 0; height: 62%; pointer-events: none;
  background: linear-gradient(to top, rgba(31,36,40,.92) 0%, rgba(31,36,40,.55) 45%, rgba(31,36,40,0) 100%);
}
.mosaic__say {
  position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(1.5rem,4vw,3rem);
  color: var(--paper);
}
.mosaic__say .eyebrow { color: var(--sage); }
.mosaic__count { font-variant-numeric: tabular-nums; }

@media (max-width: 900px) {
  .mosaic__grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 560px) {
  /* 칸 크기 섞기를 푼다. 두 칸짜리는 여섯 칸 배치를 보고 정한 것이라
     세 칸에서는 한 줄을 거의 다 먹고 그 옆에 구멍을 남긴다(실측 88%).
     좁은 화면에서는 고르게 까는 편이 사진이 더 커 보인다. */
  .mosaic__grid { grid-template-columns: repeat(3, 1fr); }
  .mtile--w2, .mtile--h2 { grid-column: auto; grid-row: auto; }
  /* 3열에서는 칸 늘리기가 풀려 항목 수가 곧 칸 수다. 16개면 5줄에 한 칸이
     남으므로 사진 하나를 접어 15개로 맞춘다. 로고는 남긴다 — 지금 접는 것이
     로고면 좁은 화면에서만 서명이 사라진다. */
  .mosaic__grid > .mtile:nth-last-child(2) { display: none; }
}

/* 움직임을 줄여 달라고 한 분에게는 바꾸지 않는다. 빠르게 바뀌는 화면은
   어지럼증을 부른다. 첫 장을 그대로 두면 모자이크는 그대로 남는다. */
@media (prefers-reduced-motion: reduce) {
  .mtile img { transition: none; transform: none; }
}

