/* LK PRIVATE 홈 시안 v2
   컨셉: 원본 사이트의 풀스크린 장면 구성을 유지하고 네이비 / 화이트 / 블랙 / 골드로 재구성
   이동: 데스크톱(마우스, 트랙패드)에서는 한 번 스크롤에 한 화면씩 넘어간다 (html.is-stepped, 아래 "한 칸씩 이동 모드" 참고)
   모바일: 손가락 스크롤을 그대로 둔다. 화면에 달라붙지 않고, 글을 가리거나 흐리게 하는 스크롤 연출도 쓰지 않는다 (main.js 의 calm)
   골드: 채도를 낮춘 샴페인 톤. 선, 숫자, 작은 라벨, 주요 버튼 한 종류에만 사용
   모서리: 로고의 사각형 모티프에 맞춰 전부 직각
   z-index: fab 30 / nav panel 40 / header 50 / progress 55 / grain 60 / loader 80 / skip-link 90
   모션: 초기 숨김 상태는 전부 main.js(GSAP)가 설정한다. JS가 없으면 이 파일만으로 정적 페이지가 된다
   호버 변형은 transform 대신 translate / scale 개별 속성을 쓴다. GSAP가 같은 요소의 transform을 인라인으로 쓰기 때문이다 */

/* 글꼴 조각: tools/optimize_assets.py 가 쓴다 */
@font-face {
  font-family: "Pretendard Variable";
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/PretendardVariable.woff2") format("woff2-variations");
  unicode-range: U+1100-11FF, U+3130-318F, U+AC00-D7A3;
}

@font-face {
  font-family: "Pretendard Variable";
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/Pretendard-ks.woff2") format("woff2-variations");
  unicode-range: U+AC00-D7A3;
}

@font-face {
  font-family: "Pretendard Variable";
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/Pretendard-core.woff2") format("woff2-variations");
  unicode-range: U+3131-3163, U+321C, U+AC00-AC01, U+AC04, U+AC08, U+AC10-AC12, U+AC14-AC16, U+AC19, U+AC1C-AC1D, U+AC20, U+AC24, U+AC70-AC71, U+AC74, U+AC77-AC78, U+AC80-AC81, U+AC83, U+AC8C, U+ACA0, U+ACA8-ACAA, U+ACAC, U+ACB0, U+ACB8-ACB9, U+ACBC-ACBD, U+ACC4, U+ACE0-ACE1, U+ACE7-ACE8, U+ACF1, U+ACF3, U+ACF5, U+ACFC-ACFD, U+AD00, U+AD11, U+AD50, U+AD6C-AD6D, U+AD70, U+AD74-AD75, U+AD8C, U+ADC0, U+ADDC, U+ADE0, U+ADF8-ADF9, U+ADFC, U+AE00, U+AE08-AE09, U+AE0B, U+AE0D, U+AE30, U+AE34, U+AE38, U+AE40, U+AE4A, U+AE4C, U+AE50, U+AE54, U+AE5D, U+AE65, U+AE68, U+AEBE, U+AED8, U+AF2D, U+AF34, U+AF49, U+AFB8, U+AFBC, U+AFC8-AFC9, U+AFD4, U+AFE8, U+B00C, U+B010, U+B01D, U+B044, U+B04A, U+B04C, U+B054, U+B057, U+B05D, U+B07C, U+B080, U+B08D, U+B098-B099, U+B09C, U+B0A0, U+B0A8-B0A9, U+B0AC-B0AE, U+B0B1, U+B0B4, U+B0B8, U+B0BC, U+B0C5, U+B0C8, U+B0D0, U+B0E5, U+B108, U+B10C, U+B110, U+B113, U+B118, U+B123-B124, U+B137, U+B141, U+B144, U+B15C, U+B178-B179, U+B17C, U+B192-B193, U+B204, U+B208, U+B20C, U+B220, U+B274, U+B290, U+B294, U+B298, U+B2A5-B2A6, U+B2C8, U+B2CC, U+B2D8-B2D9, U+B2DD, U+B2E4-B2E5, U+B2E8, U+B2EB-B2ED, U+B2F4-B2F5, U+B2F9, U+B2FF-B300, U+B313, U+B354-B355, U+B358, U+B35C, U+B369, U+B370, U+B378, U+B3C4-B3C5, U+B3C8, U+B3CC, U+B3D9, U+B3FC, U+B410, U+B418, U+B41C, U+B420, U+B429, U+B450, U+B454, U+B458, U+B4A4, U+B4B7, U+B4DC, U+B4E0, U+B4E3-B4E4, U+B4ED, U+B4EF, U+B4F1, U+B514, U+B529, U+B530-B531, U+B54C, U+B550, U+B560, U+B5A0, U+B5A4, U+B5A8, U+B5BB, U+B5C0, U+B610, U+B69D, U+B6F0, U+B6F4, U+B701, U+B728, U+B73B, U+B744, U+B760, U+B77C-B77D, U+B780, U+B78C-B78D, U+B790-B791, U+B798-B799, U+B79C, U+B7A8, U+B7AB, U+B7AD, U+B7B5, U+B7C9, U+B7EC-B7ED, U+B7F0, U+B7F4, U+B7FC-B7FD, U+B7FF, U+B807-B809, U+B80C, U+B81B, U+B824-B825, U+B828, U+B82C, U+B834-B835, U+B838-B839, U+B840, U+B85C-B85D, U+B860, U+B864, U+B86D, U+B86F, U+B8B0, U+B8CC, U+B8E8, U+B8F0, U+B8F8-B8F9, U+B904, U+B958, U+B960, U+B96D, U+B974, U+B978, U+B97C, U+B984-B985, U+B9AC-B9AD, U+B9B0, U+B9B4, U+B9BC-B9BD, U+B9BF, U+B9C1, U+B9C8-B9C9, U+B9CC, U+B9CE, U+B9D0, U+B9DD-B9DE, U+B9E1, U+B9E4-B9E5, U+B9E8, U+BA38, U+BA3C, U+BA40, U+BA48, U+BA4B, U+BA54, U+BA58, U+BA70, U+BA74, U+BA85, U+BA87, U+BAA8-BAA9, U+BAB0, U+BAB8, U+BABB, U+BB34, U+BB36, U+BB38, U+BB3B-BB3C, U+BB47, U+BB49, U+BBA4, U+BBAC, U+BBC0, U+BBF8, U+BBFC, U+BBFF-BC00, U+BC0D, U+BC0F, U+BC11, U+BC14-BC16, U+BC18, U+BC1B-BC1D, U+BC29, U+BC30-BC31, U+BC84, U+BC88, U+BC8C, U+BC94-BC95, U+BC97, U+BC99, U+BCA0, U+BCA4, U+BCA8, U+BCBD, U+BCC0, U+BCC4, U+BCCD, U+BCD1, U+BCF4-BCF5, U+BCF8, U+BCFC, U+BD05, U+BD07, U+BD09, U+BD80-BD81, U+BD84, U+BD88, U+BD90, U+BD99, U+BDF0, U+BE0C, U+BE14, U+BE44-BE45, U+BE48, U+BE4C, U+BE55, U+BE57, U+BE59, U+BE5B, U+BE60, U+BE74, U+BE7C, U+BE80, U+BE84, U+BE90, U+BFD0, U+C0AC-C0AD, U+C0B0, U+C0B4, U+C0BC-C0BD, U+C0C1, U+C0C8-C0C9, U+C0DD, U+C0F4, U+C0F7, U+C11C-C11E, U+C120, U+C124, U+C12C-C12D, U+C12F, U+C131, U+C138, U+C13C, U+C140, U+C149, U+C14B, U+C154, U+C158, U+C168, U+C18C-C18D, U+C190, U+C194, U+C1A1, U+C1FC, U+C20D, U+C218-C219, U+C21C, U+C220, U+C228, U+C22B, U+C26C, U+C27D, U+C288, U+C2A4, U+C2A8, U+C2AC, U+C2B5, U+C2B9, U+C2DC-C2DD, U+C2E0, U+C2E4, U+C2EC-C2ED, U+C2F1, U+C2F6, U+C313, U+C368, U+C36C, U+C4F0, U+C4F4, U+C4F8, U+C500, U+C528-C529, U+C52C, U+C544-C545, U+C548, U+C54A, U+C54C, U+C553-C555, U+C558, U+C55E, U+C560-C561, U+C564, U+C568, U+C570-C571, U+C57C-C57D, U+C591, U+C5B4-C5B5, U+C5B8, U+C5BB-C5BC, U+C5C4-C5C8, U+C5D0, U+C5D4, U+C5D8, U+C5EC-C5ED, U+C5F0, U+C5F4, U+C5FC, U+C600-C601, U+C606, U+C608, U+C624, U+C628, U+C62C, U+C62E, U+C635, U+C640, U+C644, U+C654, U+C65C, U+C678, U+C67C, U+C694, U+C6A9, U+C6B0-C6B1, U+C6B4, U+C6B8, U+C6C0-C6C1, U+C6C3, U+C6CC, U+C6D0, U+C6D4, U+C6E0, U+C6E8, U+C6F9, U+C704, U+C720-C721, U+C724, U+C728, U+C735, U+C73C, U+C740, U+C744, U+C74C, U+C751, U+C758, U+C774-C775, U+C778, U+C77C-C77D, U+C784-C785, U+C787-C789, U+C790-C791, U+C798, U+C7A0-C7A1, U+C7A5, U+C7AC, U+C7B0, U+C7C1, U+C800-C801, U+C804, U+C808, U+C810-C811, U+C815, U+C81C-C81D, U+C838, U+C84C, U+C870-C871, U+C874, U+C881, U+C885, U+C88B-C88C, U+C8C4, U+C8E0, U+C8FC, U+C900, U+C904, U+C90C-C90D, U+C911, U+C92C, U+C988-C989, U+C98C, U+C990, U+C998, U+C99D, U+C9C0-C9C1, U+C9C4, U+C9C8, U+C9D0-C9D1, U+C9D3, U+C9D5, U+C9DC-C9DD, U+C9E7, U+C9F8, U+CABC-CABD, U+CB48, U+CB59, U+CB64, U+CBE4, U+CC0D, U+CC28-CC29, U+CC2C, U+CC30, U+CC38, U+CC3D-CC3E, U+CC44-CC45, U+CC54, U+CC59, U+CC98, U+CC9C, U+CCA0, U+CCA8-CCA9, U+CCAB, U+CCAD, U+CCB4, U+CCD0, U+CCE4, U+CD08-CD09, U+CD18, U+CD1D, U+CD2C, U+CD5C, U+CD94-CD95, U+CD98, U+CD9C, U+CDA4-CDA5, U+CDA9, U+CDB0, U+CDC4, U+CDE8, U+CE20-CE21, U+CE35, U+CE58-CE59, U+CE5C, U+CE60, U+CE68-CE69, U+CE6D, U+CE74, U+CE78, U+CE90, U+CE94, U+CEA0-CEA1, U+CEE4, U+CEE8, U+CEF4, U+CEF7, U+CF00, U+CF13, U+CF1C, U+CF20, U+CF54, U+CF58, U+CF5C, U+CF8C, U+D004, U+D035, U+D050, U+D06C, U+D070, U+D074, U+D07C, U+D0A4, U+D0A8, U+D0AC, U+D0B5, U+D0B7, U+D0B9, U+D0C0-D0C1, U+D0C4, U+D0C8, U+D0D0-D0D1, U+D0D5, U+D0DC-D0DD, U+D0E0, U+D0ED, U+D130-D131, U+D138, U+D14C, U+D150, U+D154, U+D15C-D15D, U+D1A0-D1A1, U+D1A4, U+D1B1, U+D1B5, U+D1F4, U+D22C, U+D234, U+D2B8-D2B9, U+D2BC, U+D2C0, U+D2C8, U+D2F0, U+D2F4, U+D300, U+D305, U+D30C, U+D30E, U+D310, U+D31D, U+D320, U+D328, U+D37C, U+D391, U+D398, U+D3AB, U+D3B4, U+D3B8, U+D3BC, U+D3C9, U+D3EC-D3ED, U+D3F0, U+D3F4, U+D3FC, U+D45C, U+D478, U+D480, U+D488, U+D48D, U+D504, U+D508, U+D50C, U+D53C-D53D, U+D544, U+D551, U+D558-D559, U+D55C, U+D560, U+D568-D569, U+D56D, U+D574-D575, U+D578, U+D588-D589, U+D5A5, U+D5C8, U+D5D8, U+D5E4, U+D600-D601, U+D604, U+D611, U+D615, U+D638-D639, U+D63C, U+D640, U+D648, U+D654-D655, U+D658, U+D65C, U+D669, U+D68C-D68D, U+D6A8, U+D6C4-D6C5, U+D6C8, U+D6CC, U+D6FC, U+D718, U+D720, U+D734, U+D750, U+D754, U+D761, U+D76C, U+D770, U+D788, U+D78C, U+D790, U+D798;
}

@font-face {
  font-family: "Pretendard Variable";
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/Pretendard-latin.woff2") format("woff2-variations");
  unicode-range: U+0020-007E, U+00A0-00FF, U+2010-2027, U+203B, U+2103, U+2122, U+2190-2193, U+25A0-25A1, U+25B2-25B3, U+25BC-25BD, U+25C6-25C7, U+25CB, U+25CF, U+2605-2606, U+2665;
}
/* 글꼴 조각 끝 */

@font-face {
  font-family: "Jost";
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/Jost-Variable.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+2000-206F;
}

:root {
  color-scheme: dark;

  --black: #07070a;
  --coal: #0e0e14;
  --navy: #272361;
  --navy-deep: #16143d;
  --navy-ink: #0f0e2b;
  --paper: #f6f5f0;
  --paper-pure: #fdfcf8;
  --gold: #c2a56b;
  --gold-soft: #e0d3b0;
  --gold-deep: #846a34;
  --gold-foil: linear-gradient(112deg, #e9dab4 0%, #c2a56b 46%, #a58a52 100%);

  --text: #f4f3ee;
  --text-soft: rgba(244, 243, 238, 0.74);
  --muted: rgba(244, 243, 238, 0.5);
  --line: rgba(244, 243, 238, 0.14);
  --line-gold: rgba(194, 165, 107, 0.42);
  --ink-soft: rgba(15, 14, 43, 0.68);
  --ink-line: rgba(15, 14, 43, 0.14);

  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-latin: "Jost", "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", sans-serif;

  --gutter: clamp(20px, 4vw, 56px);
  --container: 1440px;
  --rail-pad: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  --header-h: 76px;
  --section-y: clamp(96px, 13vw, 192px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-wipe: cubic-bezier(0.77, 0, 0.18, 1);

  --z-fab: 30;
  --z-nav: 40;
  --z-header: 50;
  --z-progress: 55;
  --z-grain: 60;
  --z-loader: 80;
  --z-skip: 90;
}

/* 언어별 글꼴: 영문과 숫자는 Pretendard, 그 언어의 글자는 기기에 있는 글꼴로 그린다.
   일본어와 중국어는 띄어쓰기가 없으므로 한국어용 줄바꿈 규칙(keep-all)을 쓰지 않는다 */
html:lang(ja) {
  --font-sans: "Pretendard Variable", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, "Noto Sans JP", "Noto Sans CJK JP", sans-serif;
}

html:lang(zh-CN) {
  --font-sans: "Pretendard Variable", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", sans-serif;
}

html:lang(zh-TW) {
  --font-sans: "Pretendard Variable", "PingFang TC", "Microsoft JhengHei UI", "Microsoft JhengHei", "Noto Sans TC", "Noto Sans CJK TC", sans-serif;
}

html:lang(ja) body,
html:lang(zh) body {
  word-break: normal;
  line-break: strict;
}

/* 영어 페이지에서는 서비스 이름이 이미 영어라 옆의 영문 표기가 겹친다 */
html:lang(en) .svc__en {
  display: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

html.is-loading {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

/* 필름 그레인: 고정 레이어에만 적용 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: var(--gold);
  color: var(--black);
}

h1,
h2,
h3,
p,
ul,
dl,
dd,
figure {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

address,
em {
  font-style: normal;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
}

main:focus {
  outline: none;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: currentColor;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: var(--z-skip);
  padding: 12px 18px;
  background: var(--gold);
  color: var(--black);
  font-weight: 600;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.num,
.unit {
  font-variant-numeric: tabular-nums;
}

/* 줄 단위 마스크: 안쪽 span이 아래에서 올라온다 */
.line {
  display: block;
  overflow: hidden;
  padding-block: 0.08em;
  margin-block: -0.08em;
}

.line > span {
  display: block;
}

/* ---------- Type ---------- */

.display {
  font-size: clamp(1.75rem, 7vw, 3rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.038em;
}

.heading {
  font-size: clamp(1.625rem, 6.4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.heading--latin {
  font-family: var(--font-latin);
  font-size: clamp(2rem, 8vw, 3.25rem);
  font-weight: 300;
  letter-spacing: -0.025em;
}

.lead {
  max-width: 34em;
  margin-top: 20px;
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: 1.75;
  text-wrap: pretty;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(20px, 2.6vw, 32px);
  color: var(--gold);
  font-family: var(--font-latin);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 56px;
  height: 1px;
  background: currentColor;
}

@media (min-width: 934px) {
  .display {
    font-size: clamp(2.5rem, min(4.4vw, 7.6vh), 4.25rem);
  }

  .heading {
    font-size: clamp(2.25rem, min(3.6vw, 6.4vh), 3.25rem);
  }

  .heading--latin {
    font-size: clamp(2.75rem, min(4.8vw, 8vh), 4.25rem);
  }
}

/* ---------- Buttons, links ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  height: 56px;
  padding: 0 30px;
  border: 1px solid transparent;
  overflow: hidden;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease), scale 0.2s var(--ease);
}

.btn .icon {
  transition: translate 0.35s var(--ease);
}

.btn:hover .icon {
  translate: 4px 0;
}

.btn:active {
  scale: 0.98;
}

.btn--sm {
  height: 42px;
  padding: 0 20px;
  font-size: 0.9375rem;
}

.btn--gold {
  background: linear-gradient(135deg, #d4bb85 0%, var(--gold) 55%, #b0945a 100%);
  color: var(--black);
}

/* 호버 시 금속 광택이 한 번 지나간다 */
.btn--gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 34%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 66%);
  transform: translateX(-130%);
  transition: transform 0.9s var(--ease);
  pointer-events: none;
}

.btn--gold:hover::after {
  transform: translateX(130%);
}

.btn--line {
  border-color: var(--line-gold);
  color: var(--text);
}

.btn--line:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--black);
}

.btn--line:hover .icon {
  translate: 0 0;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding-block: 6px;
  font-weight: 500;
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1px no-repeat;
  transition: color 0.3s var(--ease);
}

.link-arrow .icon {
  transition: translate 0.35s var(--ease);
}

.link-arrow:hover {
  color: var(--gold-soft);
}

.link-arrow:hover .icon {
  translate: 4px 0;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-gold);
  background: transparent;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), opacity 0.3s var(--ease), scale 0.2s var(--ease);
}

.icon-btn:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--black);
}

.icon-btn:active {
  scale: 0.96;
}

.icon-btn:disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* ---------- Loader ---------- */

.loader {
  display: none;
}

.js .loader {
  position: fixed;
  inset: 0;
  z-index: var(--z-loader);
  display: block;
  /* 스크립트가 어떤 이유로든 멈추면 8초 뒤 스스로 사라진다 */
  animation: loader-failsafe 0.01s linear 8s forwards;
}

.js.no-motion .loader {
  display: none;
}

.loader__door {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.2%;
  background: var(--black);
}

.loader__door--l {
  left: 0;
}

.loader__door--r {
  right: 0;
}

.loader__seam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, rgba(194, 165, 107, 0), var(--gold) 22%, var(--gold-soft) 50%, var(--gold) 78%, rgba(194, 165, 107, 0));
  transform: scaleY(0);
}

.loader__center {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 28px;
}

.loader__mark {
  width: auto;
  height: 64px;
  opacity: 0;
}

.loader__bar {
  width: 132px;
  height: 1px;
  overflow: hidden;
  background: var(--line);
}

.loader__bar i {
  display: block;
  height: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}

@keyframes loader-failsafe {
  to {
    visibility: hidden;
  }
}

/* ---------- Scroll progress ---------- */

.progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-progress);
  height: 2px;
  pointer-events: none;
}

.progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold) 60%, var(--gold-soft));
  transform: scaleX(0);
  transform-origin: left;
}

/* ---------- Header ---------- */

.top-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 96px;
  pointer-events: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  height: var(--header-h);
  transition: transform 0.55s var(--ease);
}

.site-header.is-hidden {
  transform: translateY(-102%);
}

/* 헤더는 스크롤 내내 상단에 고정된다. is-hidden은 진입 연출에서 한 번 내려올 때만 쓴다.
   메뉴가 열려 있으면 transform을 쓰지 않는다. transform은 모바일 메뉴(position: fixed)의 기준 박스를 헤더로 바꾼다 */
.site-header.is-open,
.site-header:focus-within {
  transform: none;
}

/* 블러도 같은 이유로 헤더 자체가 아니라 ::before에 둔다 */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 7, 10, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.site-header.is-solid::before,
.site-header.is-open::before {
  opacity: 1;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-right: auto;
}

.brand__mark {
  width: auto;
  height: 30px;
}

.brand__word {
  width: auto;
  height: 13px;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 40px);
}

.primary-nav a {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  color: var(--text-soft);
  font-size: 0.9375rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--text);
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* 언어 버튼: 지금 언어를 보여 주고, 누르면 다섯 언어가 아래로 펼쳐진다 (details 라 스크립트 없이도 열린다) */
.lang {
  position: relative;
}

.lang summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  color: var(--text-soft);
  font-size: 0.9375rem;
  font-weight: 500;
  white-space: nowrap;
  list-style: none;
  cursor: pointer;
  transition: color 0.25s var(--ease);
}

.lang summary::-webkit-details-marker {
  display: none;
}

.lang summary:hover,
.lang details[open] summary {
  color: var(--text);
}

.primary-nav .lang ul {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  display: block;
  min-width: 152px;
  padding: 8px 0;
  border: 1px solid var(--line-gold);
  background: rgba(7, 7, 10, 0.96);
}

.primary-nav .lang ul a {
  display: block;
  padding: 9px 18px;
}

.primary-nav .lang ul a::after {
  display: none;
}

.primary-nav .lang ul a[aria-current] {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-gold);
  background: transparent;
  cursor: pointer;
}

.nav-toggle .icon {
  width: 22px;
  height: 22px;
}

.nav-toggle__close,
.nav-toggle[aria-expanded="true"] .nav-toggle__open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
  display: block;
}

/* ---------- 1. Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--header-h) + 24px) 0 clamp(56px, 10vh, 120px);
  overflow: hidden;
  background: var(--black);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero__parallax {
  position: absolute;
  inset: 0;
}

.hero__img,
.hero__light img {
  object-fit: cover;
  object-position: 72% 30%;
}

.hero__img {
  width: 100%;
  height: 100%;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--black) 0%, rgba(7, 7, 10, 0.72) 24%, rgba(7, 7, 10, 0.08) 60%, rgba(7, 7, 10, 0.5) 100%),
    linear-gradient(to right, rgba(7, 7, 10, 0.76) 0%, rgba(7, 7, 10, 0.18) 50%, rgba(7, 7, 10, 0) 74%);
}

/* 포인터를 따라가는 조명 (마우스 사용 시에만 main.js가 켠다).
   원형 창(.hero__light)이 포인터를 따라 움직이고, 안쪽의 밝은 사본은 반대로 움직여 원본 사진과 같은 자리에 머문다.
   둘 다 transform만 바뀌므로 다시 그리지 않고 합성만 한다 */
.hero__light {
  --r: 380px;
  position: absolute;
  top: 0;
  left: 0;
  width: calc(var(--r) * 2);
  height: calc(var(--r) * 2);
  margin: calc(var(--r) * -1) 0 0 calc(var(--r) * -1);
  overflow: hidden;
  border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle closest-side, #000 0%, rgba(0, 0, 0, 0.6) 42%, rgba(0, 0, 0, 0) 100%);
  mask-image: radial-gradient(circle closest-side, #000 0%, rgba(0, 0, 0, 0.6) 42%, rgba(0, 0, 0, 0) 100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* 크기는 main.js가 원본 사진과 같게 맞춘다 */
.hero__light img {
  position: absolute;
  top: var(--r);
  left: var(--r);
  max-width: none;
  filter: brightness(1.95) saturate(1.12);
}

/* 진입 때 한 번 지나가는 빛줄기. 시작 위치는 main.js가 잡는다 */
.hero__sweep {
  position: absolute;
  inset: 0;
  background: linear-gradient(104deg, rgba(255, 236, 196, 0) 36%, rgba(255, 236, 196, 0.16) 50%, rgba(255, 236, 196, 0) 64%);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
}

.hero__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(20px, 3vh, 32px);
  color: var(--gold);
  font-family: var(--font-latin);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.hero__brand i {
  width: 56px;
  height: 1px;
  background: var(--gold);
}

.hero__brand span:last-child {
  color: var(--text-soft);
}

.hero__title {
  font-size: clamp(1.625rem, 7.6vw, 3rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.hero__title em {
  background: var(--gold-foil);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  max-width: 30em;
  margin-top: clamp(20px, 3vh, 28px);
  color: var(--text-soft);
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  margin-top: clamp(28px, 4vh, 40px);
}

@media (min-width: 934px) {
  .hero__title {
    font-size: clamp(2.5rem, min(4.6vw, 8.2vh), 4.5rem);
  }
}

/* ---------- 2. Manifesto (white) ---------- */

.manifesto {
  padding-block: var(--section-y);
  background: var(--paper);
  color: var(--navy-ink);
}

.manifesto__text {
  max-width: 19em;
  font-size: clamp(1.5rem, 3.6vw, 3rem);
  text-wrap: balance;
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.038em;
}

/* 단어 하나가 줄 끝에서 쪼개지지 않게 한다. 예: (주)엘케이프라이빗은 */
.manifesto__text .w {
  display: inline-block;
}

.stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px clamp(24px, 4vw, 72px);
  margin-top: clamp(64px, 9vw, 128px);
  padding-top: 32px;
}

/* 상단 금색 선: main.js가 --rule을 0에서 1로 올려 그린다 */
.stats::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: var(--gold-deep);
  transform: scaleX(var(--rule, 1));
  transform-origin: left;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat dt {
  color: var(--ink-soft);
  font-size: 0.9375rem;
  font-weight: 500;
}

.stat dd {
  display: flex;
  align-items: baseline;
  gap: 0.14em;
}

.stat .num {
  color: var(--navy);
  font-family: var(--font-latin);
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat .unit {
  color: var(--gold-deep);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 600;
}

/* 서버 응답을 받기 전: 숫자 자리에 상태만 작게 보여 준다 (선택자를 길게 써서 한 칸씩 이동 모드의 숫자 크기보다 우선) */
.stats .stat.is-pending .num {
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: clamp(1.125rem, 1.6vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.stats .stat.is-pending .unit {
  display: none;
}

/* ---------- 3~5. Scenes ---------- */

.scenes {
  position: relative;
  background: var(--black);
}

.scene {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 32px) 0 clamp(64px, 11vh, 128px);
  overflow: hidden;
}

/* 데스크톱 고정 모드: 세 장면이 같은 자리에 겹치고 main.js가 순서대로 연다 */
.scenes.is-pinned {
  height: 100vh;
  overflow: hidden;
}

.scenes.is-pinned .scene {
  position: absolute;
  inset: 0;
  min-height: 0;
}

.scene__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.scene__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scene__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(7, 7, 10, 0.95) 0%, rgba(7, 7, 10, 0.58) 40%, rgba(7, 7, 10, 0.2) 70%, rgba(7, 7, 10, 0.6) 100%),
    linear-gradient(to right, rgba(7, 7, 10, 0.6) 0%, rgba(7, 7, 10, 0) 60%),
    rgba(22, 20, 61, 0.32);
}

/* 첫 장면(입구에서 맞이하는 두 사람): 사진이 밝아서 글 아래쪽을 조금 더 눌러 주고, 세로 화면에서는 왼쪽 사람이 보이게 자른다 */
.scene--welcome .scene__media img {
  object-position: 50% 30%;
}

.scene--welcome .scene__media::after {
  background:
    linear-gradient(to top, rgba(7, 7, 10, 0.96) 0%, rgba(7, 7, 10, 0.72) 38%, rgba(7, 7, 10, 0.24) 68%, rgba(7, 7, 10, 0.55) 100%),
    linear-gradient(to right, rgba(7, 7, 10, 0.62) 0%, rgba(7, 7, 10, 0) 60%),
    rgba(22, 20, 61, 0.3);
}

@media (max-width: 860px) {
  .scene--welcome .scene__media img {
    object-position: 24% 30%;
  }
}

.scene--right .scene__media::after {
  background:
    linear-gradient(to top, rgba(7, 7, 10, 0.95) 0%, rgba(7, 7, 10, 0.58) 40%, rgba(7, 7, 10, 0.2) 70%, rgba(7, 7, 10, 0.6) 100%),
    linear-gradient(to left, rgba(7, 7, 10, 0.66) 0%, rgba(7, 7, 10, 0) 62%),
    rgba(22, 20, 61, 0.32);
}

.scene--scale .scene__media::after {
  background:
    linear-gradient(to top, rgba(7, 7, 10, 0.96) 0%, rgba(7, 7, 10, 0.72) 46%, rgba(7, 7, 10, 0.4) 76%, rgba(7, 7, 10, 0.66) 100%),
    rgba(22, 20, 61, 0.42);
}


.scene--right .scene__inner {
  margin-left: auto;
  text-align: right;
}

.scene__title {
  font-size: clamp(1.625rem, 7.2vw, 2.75rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.scene__text {
  max-width: 30em;
  margin-top: clamp(18px, 2.6vh, 28px);
  color: var(--text-soft);
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  text-wrap: pretty;
}

.scene--right .scene__text {
  margin-left: auto;
}

.fields {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin-top: clamp(20px, 3vh, 32px);
  font-size: clamp(1rem, 1.5vw, 1.375rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.6;
}

.fields li:not(:last-child)::after {
  content: "/";
  margin-inline: 0.6em;
  color: var(--gold);
  font-weight: 300;
}

/* 로고의 꺾인 선 모티프를 액자로 사용 */
.scene__inset {
  position: absolute;
  z-index: 1;
  left: var(--rail-pad);
  bottom: clamp(64px, 11vh, 128px);
  display: none;
  width: clamp(200px, 21vw, 330px);
}

.scene__inset img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 80% 50%;
}

.scene__inset::before {
  content: "";
  position: absolute;
  left: -14px;
  bottom: -14px;
  width: 62%;
  height: 62%;
  border-left: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  pointer-events: none;
}

/* 왼쪽 열은 제목 두 줄이 꺾이지 않는 너비를 갖고, 나머지를 사각형 격자가 쓴다 */
.scene__grid {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: end;
  gap: clamp(32px, 6vw, 96px);
}

.scene__grid .line > span {
  white-space: nowrap;
}

.crowd {
  justify-self: end;
  width: 100%;
  max-width: 540px;
}

.crowd__count {
  display: flex;
  align-items: baseline;
  gap: 0.1em;
  line-height: 0.92;
}

.crowd__num {
  background: var(--gold-foil);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-latin);
  font-size: clamp(3rem, min(7vw, 12vh), 6rem);
  font-weight: 300;
  letter-spacing: -0.045em;
}

.crowd__unit {
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  font-weight: 500;
}

/* 스태프 300명을 사각형 300개로 표현 (25 x 12). 사각형은 main.js가 생성 */
.crowd__grid {
  display: grid;
  grid-template-columns: repeat(25, minmax(0, 1fr));
  gap: clamp(2px, 0.4vw, 5px);
  margin-top: 20px;
}

.crowd__grid i {
  aspect-ratio: 1;
  background: var(--gold);
}

.crowd__label {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.875rem;
}

.scenes__ticks {
  position: absolute;
  top: 50%;
  right: clamp(16px, 2.4vw, 32px);
  z-index: 5;
  display: none;
  flex-direction: column;
  gap: 10px;
  translate: 0 -50%;
}

.scenes.is-pinned .scenes__ticks {
  display: flex;
}

.scenes__ticks i {
  width: 2px;
  height: 36px;
  background: rgba(244, 243, 238, 0.24);
  transition: background-color 0.4s var(--ease);
}

.scenes__ticks i.is-active {
  background: var(--gold);
}

@media (min-width: 861px) {
  .scene__inset {
    display: block;
  }
}

@media (min-width: 934px) {
  .scene__title {
    font-size: clamp(2.25rem, min(4vw, 7.2vh), 3.75rem);
  }
}

/* ---------- 7. Services ---------- */

.services {
  position: relative;
  padding-block: var(--section-y) calc(var(--section-y) * 1.05);
  overflow: clip;
  background:
    radial-gradient(110% 70% at 92% 0%, rgba(39, 35, 97, 0.95) 0%, rgba(39, 35, 97, 0) 62%),
    var(--navy-ink);
}

.services__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: start;
  gap: clamp(32px, 6vw, 104px);
  margin-top: clamp(40px, 6vw, 88px);
}

.svc-list li {
  border-top: 1px solid var(--line);
}

.svc-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.svc {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 20px;
  width: 100%;
  padding: clamp(16px, 2vw, 26px) 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}

.svc::before {
  content: "";
  position: absolute;
  inset: -1px 0 auto 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}

.svc__name {
  color: rgba(244, 243, 238, 0.36);
  font-size: clamp(1.375rem, 2.6vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.035em;
  transition: color 0.4s var(--ease), translate 0.6s var(--ease);
}

.svc__en {
  color: var(--muted);
  font-family: var(--font-latin);
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  transition: color 0.4s var(--ease), translate 0.6s var(--ease);
}

.svc__arrow {
  align-self: center;
  width: 1.5rem;
  height: 1.5rem;
  margin-left: auto;
  color: var(--gold);
  opacity: 0;
  translate: -14px 0;
  transition: opacity 0.4s var(--ease), translate 0.6s var(--ease);
}

.svc.is-active::before {
  transform: scaleX(1);
}

.svc.is-active .svc__name {
  color: var(--text);
  translate: 14px 0;
}

.svc.is-active .svc__en {
  color: var(--gold);
  translate: 14px 0;
}

.svc.is-active .svc__arrow {
  opacity: 1;
  translate: 0 0;
}

.svc-stage {
  position: sticky;
  top: calc(var(--header-h) + 28px);
}

.svc-stage::before {
  content: "";
  position: absolute;
  left: -16px;
  bottom: -16px;
  width: 56%;
  height: 56%;
  border-left: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  pointer-events: none;
}

.svc-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: calc(100vh - var(--header-h) - 72px);
  overflow: hidden;
  background: var(--coal);
}

/* 새 사진(is-active)이 위에서 아래로 열리는 동안 직전 사진(is-prev)이 바닥에 남아 빈틈이 생기지 않는다 */
.svc-shot {
  position: absolute;
  inset: 0;
  z-index: 0;
  clip-path: inset(0 0 100% 0);
}

.svc-shot.is-prev {
  z-index: 1;
  clip-path: inset(0);
}

.svc-shot.is-active {
  z-index: 2;
  clip-path: inset(0);
  transition: clip-path 0.85s var(--ease-wipe);
}

.svc-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  scale: 1.14;
}

.svc-shot.is-prev img {
  scale: 1;
}

.svc-shot.is-active img {
  scale: 1;
  transition: scale 1.6s var(--ease);
}

.svc-shot figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 72px clamp(18px, 2vw, 28px) clamp(18px, 2vw, 26px);
  background: linear-gradient(to top, rgba(7, 7, 10, 0.94) 0%, rgba(7, 7, 10, 0.6) 55%, rgba(7, 7, 10, 0) 100%);
}

.svc-shot figcaption span {
  color: var(--gold);
  font-family: var(--font-latin);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.svc-shot figcaption p {
  margin-top: 6px;
  font-size: 1rem;
  line-height: 1.55;
}

/* ---------- 8. Works ---------- */

.works {
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.works__ghost {
  position: absolute;
  left: 0;
  bottom: -0.2em;
  z-index: 0;
  color: transparent;
  font-family: var(--font-latin);
  font-size: 21vw;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(194, 165, 107, 0.2);
  pointer-events: none;
  user-select: none;
}

.works__inner {
  position: relative;
  z-index: 1;
  padding-block: var(--section-y);
}

.works__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
}

.works__tools {
  display: flex;
  align-items: center;
  gap: 28px;
}

.rail-nav {
  display: flex;
  gap: 8px;
}

.works__track {
  display: flex;
  gap: clamp(14px, 1.8vw, 28px);
  margin-top: clamp(28px, 4vw, 56px);
  padding: 4px var(--rail-pad) 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--rail-pad);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.works__track::-webkit-scrollbar {
  display: none;
}

.work {
  flex: none;
  width: clamp(232px, 72vw, 340px);
  scroll-snap-align: start;
}

.work__img {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--coal);
}

/* 가로 이동 중 사진이 액자 안에서 조금 늦게 따라오도록 좌우 여유를 둔다 */
.work__img img {
  width: 114%;
  max-width: none;
  height: 100%;
  margin-left: -7%;
  object-fit: cover;
  transition: scale 1s var(--ease);
}

.work:hover .work__img img {
  scale: 1.05;
}

.work figcaption {
  position: relative;
  padding-top: 18px;
}

.work figcaption::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}

.work:hover figcaption::before {
  transform: scaleX(1);
}

.work h3 {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.4;
}

.work p {
  color: var(--muted);
  font-size: 0.9375rem;
}

.work--more a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 4 / 5;
  padding: clamp(20px, 2.4vw, 32px);
  border: 1px solid var(--line-gold);
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.work--more a:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--black);
}

.work--more .icon {
  align-self: flex-end;
  width: 2rem;
  height: 2rem;
}

.works__progress {
  display: none;
  height: 1px;
  margin: clamp(24px, 4vh, 40px) var(--rail-pad) 0;
  background: var(--line);
}

.works__progress i {
  display: block;
  height: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}

/* 데스크톱 고정 모드: 세로 스크롤이 트랙의 가로 이동으로 바뀐다 (main.js) */
.works.is-pinned {
  height: 100vh;
}

.works.is-pinned .works__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding-block: calc(var(--header-h) + 12px) 32px;
}

.works.is-pinned .works__track {
  width: max-content;
  padding-bottom: 0;
  overflow: visible;
  scroll-snap-type: none;
}

.works.is-pinned .work {
  width: calc(min(48vh, 540px) * 0.8);
}

.works.is-pinned .rail-nav {
  display: none;
}

.works.is-pinned .works__progress {
  display: block;
}

/* ---------- 6. 허가 (white) ----------
   왼쪽에 제목, 오른쪽에 허가 4건. 장식 없이 굵은 이름, 번호, 기관, 날짜만 선으로 구분한다 */

.license {
  padding-block: var(--section-y);
  background: var(--paper);
  color: var(--navy-ink);
}

.license .lead {
  color: var(--ink-soft);
}

.license__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(32px, 6vw, 104px);
}

.permits {
  border-top: 1px solid var(--navy-ink);
}

/* 한 줄 = 허가 한 건. 왼쪽에 이름과 기관, 오른쪽에 번호와 날짜 */
.permit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 4px clamp(16px, 3vw, 40px);
  padding-block: clamp(14px, 2.6vh, 28px);
  border-bottom: 1px solid var(--ink-line);
}

.permit__name {
  font-size: clamp(1.0625rem, 1.5vw, 1.375rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.permit__no {
  color: var(--navy);
  font-family: var(--font-latin);
  font-size: clamp(1.0625rem, 1.5vw, 1.375rem);
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
  text-align: right;
  white-space: nowrap;
}

.permit__by,
.permit__detail {
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.permit__detail {
  text-align: right;
}

/* ---------- 7-1. 해외 임원 · 셀럽 수행 (white) ----------
   허가 화면과 같은 짜임: 왼쪽에 제목과 근거 현장, 오른쪽에 하는 일 4가지를 번호와 선으로 구분한다 */

.vip {
  padding-block: var(--section-y);
  background: var(--paper);
  color: var(--navy-ink);
}

.vip .lead {
  color: var(--ink-soft);
}

.vip__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(32px, 6vw, 104px);
}

.vip__note {
  margin-top: clamp(16px, 2.4vh, 28px);
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.vip__note::before {
  content: "Works · ";
  color: var(--gold-deep);
  font-family: var(--font-latin);
  letter-spacing: 0.1em;
}

.vip__more {
  margin-top: clamp(20px, 3vh, 36px);
  background-image: linear-gradient(var(--gold-deep), var(--gold-deep));
}

.vip__more:hover {
  color: var(--gold-deep);
}

.vip-steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--navy-ink);
  list-style: none;
}

/* 한 줄 = 하는 일 하나. 왼쪽에 번호, 오른쪽에 이름과 설명 */
.vip-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px clamp(16px, 2.4vw, 32px);
  padding-block: clamp(14px, 2.6vh, 28px);
  border-bottom: 1px solid var(--ink-line);
}

.vip-step__no {
  grid-row: span 2;
  min-width: 2ch;
  font-variant-numeric: tabular-nums;
  color: var(--gold-deep);
  font-family: var(--font-latin);
  font-size: clamp(1.0625rem, 1.5vw, 1.375rem);
  font-weight: 300;
  line-height: 1.35;
}

.vip-step__name {
  font-size: clamp(1.0625rem, 1.5vw, 1.375rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.vip-step__text {
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* ---------- 9. Contact (navy) ---------- */

.contact {
  position: relative;
  isolation: isolate;
  padding-block: clamp(96px, 12vw, 184px);
  overflow: hidden;
  background:
    radial-gradient(90% 120% at 100% 0%, #332e7c 0%, rgba(51, 46, 124, 0) 56%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}

.contact__mark {
  position: absolute;
  top: 6%;
  right: -3%;
  z-index: -1;
  width: clamp(260px, 38vw, 600px);
  opacity: 0.07;
}

.contact__grid {
  display: grid;
  grid-template-columns: 7fr 4fr;
  align-items: end;
  gap: clamp(40px, 6vw, 96px);
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(32px, 4vw, 48px);
}

.contact__info {
  display: grid;
  gap: 14px;
  color: var(--text-soft);
  font-size: 0.9375rem;
}

.contact__info a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  min-height: 44px;
  color: var(--text);
  font-family: var(--font-latin);
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  transition: color 0.3s var(--ease);
}

.contact__info a:hover {
  color: var(--gold-soft);
}

.contact__info a .icon {
  color: var(--gold);
}

.contact__info p {
  margin-top: 8px;
}

/* ---------- Footer ---------- */

.site-footer {
  padding-block: 56px 48px;
  background: var(--black);
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.site-footer__logo {
  width: auto;
  height: 14px;
}

.site-footer__legal {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding-right: 72px;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.7;
}

/* ---------- Floating KakaoTalk ---------- */

.fab {
  position: fixed;
  right: max(clamp(16px, 2.4vw, 32px), env(safe-area-inset-right));
  bottom: max(clamp(16px, 2.4vw, 32px), env(safe-area-inset-bottom));
  z-index: var(--z-fab);
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--gold);
  background: rgba(7, 7, 10, 0.86);
  color: var(--gold);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), translate 0.3s var(--ease);
}

.fab:hover {
  background: var(--gold);
  color: var(--black);
  translate: 0 -3px;
}

.fab .icon {
  width: 24px;
  height: 24px;
}

/* ---------- Works 페이지 (works.html) ----------
   일반 세로 스크롤 페이지. 현장마다 왼쪽에 이름, 오른쪽에 사진 격자. 모바일은 위아래로 적층 */

.page-head {
  padding: calc(var(--header-h) + clamp(56px, 9vw, 128px)) 0 clamp(40px, 6vw, 88px);
}

.page-head .lead {
  color: var(--text-soft);
}

.projects {
  padding-bottom: var(--section-y);
}

/* 봇이 등록한 현장이 맨 위에 붙으면서 아래 내용이 밀려 보이지 않게, page.js가 준비를 끝낼 때(is-ready)까지 목록을 그리지 않는다.
   스크립트가 어떤 이유로든 멈추면 2초 뒤 스스로 보인다 */
.js [data-projects]:not(.is-ready) {
  visibility: hidden;
  animation: projects-failsafe 0.01s linear 2s forwards;
}

@keyframes projects-failsafe {
  to {
    visibility: visible;
  }
}

.project {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  align-items: start;
  gap: 20px clamp(24px, 4vw, 72px);
  padding-block: clamp(28px, 4vw, 56px);
  border-top: 1px solid var(--line);
}

.project__head {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.project__name {
  font-size: clamp(1.25rem, 1.8vw, 1.625rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.project__svc {
  margin-top: 6px;
  color: var(--gold);
  font-size: 0.9375rem;
}

.project__photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(132px, 17vw, 228px), 1fr));
  gap: clamp(8px, 1vw, 14px);
}

.shot {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--coal);
  cursor: zoom-in;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 0.8s var(--ease);
}

.shot:hover img {
  scale: 1.05;
}

.insta {
  padding-block: 0 var(--section-y);
}

.insta__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 40px;
  padding-top: clamp(40px, 6vw, 80px);
  border-top: 1px solid var(--line);
}

.insta__feed {
  margin-top: clamp(24px, 4vw, 48px);
}

/* 사진첩: 최근 게시물을 정사각 타일로 촘촘히 잇는다. 타일은 위 현장 사진과 같은 .shot */
.insta__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(4px, 0.5vw, 8px);
}

/* 스크립트가 없을 때 보이는 링크 */
.insta__feed p {
  color: var(--text-soft);
}

/* 사진 목록이 없을 때: 인스타그램 공식 프로필 임베드에서 위쪽 프로필 영역을 잘라 사진 격자(3열 2줄)만 타일로 보여 준다.
   프로필 영역의 높이는 임베드 폭이 481px 이상이면 158px, 그보다 좁으면 147px 이다 (2026년 10월에 잰 값).
   인스타그램이 임베드 모양을 바꿔 타일이 어긋나면 이 두 숫자를 다시 재서 맞춘다 */
.insta__crop {
  position: relative;
  aspect-ratio: 3 / 1.998;
  overflow: hidden;
  container-type: inline-size;
  background: var(--coal);
}

.insta__crop iframe {
  position: absolute;
  top: -158px;
  left: 0;
  width: 100%;
  height: calc(100% + 158px);
  border: 0;
}

@container (max-width: 480px) {
  .insta__crop iframe {
    top: -147px;
    height: calc(100% + 147px);
  }
}

.page-cta {
  padding-block: clamp(72px, 9vw, 128px);
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}

.page-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 48px;
}

.page-cta .heading {
  max-width: 14em;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
}

/* 사진 크게 보기 */
.viewer {
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  overflow: visible;
  background: transparent;
}

.viewer::backdrop {
  background: rgba(7, 7, 10, 0.9);
}

.viewer img {
  width: auto;
  max-width: 92vw;
  height: auto;
  max-height: 86vh;
}

.viewer__close {
  position: absolute;
  top: -52px;
  right: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-gold);
  background: var(--black);
  color: var(--gold-soft);
  cursor: pointer;
}

/* 스크롤하면 현장이 차례로 드러난다 (page.js가 html에 reveal-ready를 붙였을 때만) */
.reveal-ready .page [data-reveal] {
  opacity: 0;
  translate: 0 28px;
  transition: opacity 0.9s var(--ease), translate 0.9s var(--ease);
}

.reveal-ready .page [data-reveal].is-in {
  opacity: 1;
  translate: 0 0;
}

@media (max-width: 860px) {
  .project {
    grid-template-columns: 1fr;
  }

  .project__head {
    position: static;
  }

  .project__photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .insta__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- CCTV 페이지 (cctv.html) ----------
   기존 CCTV 페이지(workproof.co.kr/cctv.html)의 구성과 문구를 그대로 두고 테마만 바꿨다.
   배치, 간격, 글자 크기는 원본 값이고 색, 글꼴 굵기, 모서리만 이 사이트의 것이다.
   색 옮기기: 원본의 흰 구역 → 화이트(--paper), 회색 구역 → 블랙, 검정 띠 → 네이비, 파란 강조 → 골드.
   모서리는 전부 직각. 이모지 아이콘은 그대로 두고 골드 한 색으로만 보이게 한다 */

html:has(.sr) {
  scroll-behavior: smooth;
}

.sr [id] {
  scroll-margin-top: var(--header-h);
}

.sr-section-label {
  margin-bottom: 12px;
  color: var(--gold);
  font-family: var(--font-latin);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.sr-section-title {
  margin-bottom: 48px;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.3;
}

/* 이모지를 골드 한 색으로: 색을 뺀 뒤 밝기를 올리고 골드 쪽으로 물들인다 */
.sr-emoji {
  filter: grayscale(1) brightness(1.2) sepia(1) saturate(1.5) hue-rotate(-12deg);
}

.sr-emoji:is(span) {
  display: inline-block;
}

/* 첫 화면 */
.sr-hero {
  padding: calc(var(--header-h) + 60px) 24px 80px;
  text-align: center;
}

.sr-hero-badge {
  display: inline-block;
  margin-bottom: 24px;
  padding: 6px 16px;
  border: 1px solid var(--line-gold);
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.sr-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.038em;
  line-height: 1.2;
}

.sr-hero h1 em {
  background: var(--gold-foil);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sr-hero > p {
  max-width: 560px;
  margin: 0 auto 36px;
  color: var(--text-soft);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.7;
}

.sr-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

@keyframes sr-fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
}

.sr-hero-badge,
.sr-hero h1,
.sr-hero > p,
.sr-hero-actions,
.sr-monitor-wrap {
  animation: sr-fade-up 0.6s ease both;
}

.sr-hero h1 {
  animation-delay: 0.1s;
}

.sr-hero > p {
  animation-delay: 0.2s;
}

.sr-hero-actions {
  animation-delay: 0.3s;
}

.sr-monitor-wrap {
  animation-delay: 0.45s;
}

/* 4채널 멀티뷰 예시 화면: 태블릿에서 카메라 4대를 한 번에 보는 모습.
   사진은 CCTV 화면처럼 가공해 둔 것이고, 카메라 이름, 녹화 표시, 장소, 시각은 화면에 찍히는 글자처럼 사진 위에 올린다 */
.sr-monitor-wrap {
  max-width: 860px;
  margin: 56px auto 0;
}

.sr-monitor {
  padding: clamp(8px, 1.2vw, 16px);
  border: 1px solid var(--line-gold);
  background: var(--coal);
}

.sr-monitor-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: clamp(8px, 1.2vw, 14px);
  color: var(--muted);
  font-family: var(--font-latin);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.sr-monitor-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
}

.sr-monitor-live::before,
.sr-cam-rec::before {
  content: "";
  width: 6px;
  height: 6px;
  background: currentColor;
  animation: sr-blink 1.6s steps(2, jump-none) infinite;
}

@keyframes sr-blink {
  50% {
    opacity: 0.2;
  }
}

.sr-monitor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}

.sr-cam {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--black);
  color: #f2f2f2;
  font-family: ui-monospace, Consolas, "Courier New", monospace;
  font-size: clamp(0.5625rem, 1.15vw, 0.8125rem);
  line-height: 1;
  text-shadow: 0 0 2px #000, 0 1px 1px #000;
}

.sr-cam img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 주사선: 화면 전체에 가는 가로줄을 깐다 */
.sr-cam::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.16) 0 1px, transparent 1px 3px);
  pointer-events: none;
}

.sr-cam-name,
.sr-cam-rec,
.sr-cam-place,
.sr-cam-time {
  position: absolute;
  z-index: 1;
}

.sr-cam-name {
  top: 4%;
  left: 3%;
}

.sr-cam-rec {
  top: 4%;
  right: 3%;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #ff5a4d;
}

.sr-cam-place {
  bottom: 4%;
  left: 3%;
}

.sr-cam-time {
  right: 3%;
  bottom: 4%;
  font-variant-numeric: tabular-nums;
}

.sr-monitor-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.8125rem;
}

/* 화이트 구역: 원본에서 구역 자체가 가운데 1100px 이라, 바탕색만 화면 끝까지 넓힌다 */
.sr-features,
.sr-howitworks,
.sr-pricing {
  background: var(--paper);
  box-shadow: 0 0 0 100vmax var(--paper);
  clip-path: inset(0 -100vmax);
  color: var(--navy-ink);
}

.sr-features .sr-section-label,
.sr-howitworks .sr-section-label,
.sr-pricing .sr-section-label {
  color: var(--gold-deep);
}

/* 특징 4 */
.sr-features {
  max-width: 1148px;
  margin: 0 auto;
  padding: 80px 24px;
}

.sr-feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.sr-feat-card,
.sr-how-step {
  padding: 28px 24px;
  border: 1px solid var(--ink-line);
  transition: border-color 0.2s, background-color 0.2s;
}

.sr-feat-card:hover,
.sr-how-step:hover {
  border-color: var(--gold-deep);
  background: var(--paper-pure);
}

/* Phosphor 듀오톤 아이콘(아이콘 묶음의 d- 로 시작하는 symbol). 면과 선이 모두 글자색을 따른다 */
.sr-icon {
  display: block;
  fill: currentColor;
}

/* 아이콘 상자: 네이비 바탕에 위쪽이 살짝 밝은 결, 안쪽에 골드 실선 한 줄. 아이콘은 Phosphor 듀오톤(옅은 면 + 선)을 골드 한 색으로 */
.sr-feat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  background: linear-gradient(160deg, #2c2870 0%, var(--navy-ink) 70%);
  box-shadow: inset 0 0 0 1px rgba(194, 165, 107, 0.38);
  color: var(--gold);
}

.sr-feat-icon .sr-icon {
  width: 28px;
  height: 28px;
}

.sr-feat-card h3,
.sr-usecase-card h3,
.sr-how-step h3 {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.sr-feat-card p,
.sr-how-step p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}

.sr-how-step p {
  line-height: 1.7;
}

/* 쓰이는 현장 6 */
.sr-usecases {
  padding: 80px 24px;
  background: var(--coal);
}

.sr-usecase-inner,
.sr-set-inner,
.sr-how-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.sr-usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.sr-usecase-card {
  padding: 28px 24px;
  border: 1px solid var(--line);
  background: var(--black);
  transition: border-color 0.2s;
}

.sr-usecase-card:hover {
  border-color: var(--line-gold);
}

/* 검정 카드의 아이콘 상자: 골드가 아주 옅게 비치는 바탕과 골드 실선 */
.sr-usecase-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  background: linear-gradient(160deg, rgba(194, 165, 107, 0.16) 0%, rgba(194, 165, 107, 0.02) 75%);
  box-shadow: inset 0 0 0 1px var(--line-gold);
  color: var(--gold);
  transition: background-color 0.3s, box-shadow 0.3s;
}

.sr-usecase-icon .sr-icon {
  width: 28px;
  height: 28px;
}

.sr-usecase-card:hover .sr-usecase-icon {
  box-shadow: inset 0 0 0 1px var(--gold);
}

.sr-usecase-card p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
}

/* 세트 구성 */
.sr-set-spec {
  padding: 80px 24px;
  border-top: 1px solid var(--line);
}

.sr-set-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 36px;
  border: 1px solid var(--line-gold);
  background: var(--coal);
}

.sr-set-visual {
  flex: 1;
  min-width: 260px;
  text-align: center;
}

.sr-set-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.sr-set-item {
  text-align: center;
}

.sr-set-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 8px;
  border: 1px solid var(--line-gold);
  background: linear-gradient(160deg, rgba(194, 165, 107, 0.14) 0%, var(--black) 80%);
  color: var(--gold);
}

.sr-set-item-icon .sr-icon {
  width: 34px;
  height: 34px;
}

.sr-set-item span {
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 500;
}

.sr-set-item strong {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  font-weight: 700;
}

.sr-set-info {
  flex: 1;
  min-width: 280px;
}

.sr-set-info h2 {
  margin-bottom: 8px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.sr-set-price-tag {
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 700;
}

.sr-set-detail {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sr-set-detail li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.5;
}

.sr-set-detail li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background: var(--gold);
}

/* 연결 그림과 단계 4 */
.sr-howitworks {
  padding: 80px 24px;
}

.sr-diagram-wrap {
  margin-bottom: 48px;
  padding: 32px 16px;
  border: 1px solid var(--ink-line);
  background: var(--paper-pure);
  overflow-x: auto;
}

.sr-diagram-mobile {
  display: none;
}

.sr-how-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.sr-how-step-num {
  margin-bottom: 8px;
  color: var(--gold-deep);
  font-family: var(--font-latin);
  font-size: 32px;
  font-weight: 300;
  letter-spacing: -1px;
  line-height: 1.3;
  opacity: 0.6;
}

/* 요금표 */
.sr-pricing {
  max-width: 1148px;
  margin: 0 auto;
  padding: 80px 24px;
}

.sr-price-table {
  width: 100%;
  margin-top: 8px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.sr-price-table thead th {
  padding: 14px 16px;
  border-bottom: 2px solid var(--navy-ink);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-align: left;
}

.sr-price-table tbody td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--ink-line);
  font-size: 15px;
}

.sr-price-table tbody td:first-child {
  font-size: 16px;
  font-weight: 700;
}

.sr-price-table thead th:not(:first-child),
.sr-price-table tbody td:not(:first-child) {
  text-align: right;
}

.sr-price-table tbody tr:hover {
  background: var(--paper-pure);
}

.sr-price-table .sr-td-daily {
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
}

.sr-price-table .sr-td-total {
  font-size: 16px;
  font-weight: 700;
}

.sr-price-table .sr-td-badge {
  width: 70px;
  padding-right: 4px;
}

.sr-discount-badge {
  display: inline-block;
  padding: 3px 9px;
  border: 1px solid var(--gold-deep);
  color: var(--gold-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.sr-discount-badge.sr-best {
  background: var(--gold-deep);
  color: var(--paper-pure);
}

.sr-price-note {
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

/* 문의 */
.sr-cta-banner {
  padding: 80px 24px;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  text-align: center;
}

.sr-cta-banner h2 {
  margin-bottom: 12px;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.sr-cta-banner p {
  margin-bottom: 36px;
  color: var(--text-soft);
  font-size: 17px;
}

/* ---------- 매장 보안 페이지 (security.html) ----------
   CCTV 페이지의 sr- 구역을 그대로 쓰고, 여기에는 그 페이지에 없던 것만 둔다 */

/* 첫 화면 사진: CCTV 페이지의 멀티뷰 화면 자리 */
.sr-hero-photo {
  max-width: 960px;
  margin: 56px auto 0;
  border: 1px solid var(--line-gold);
  animation: sr-fade-up 0.6s ease 0.45s both;
}

.sr-hero-photo img {
  width: 100%;
}

/* 하는 일 카드는 6장이라 3장씩 두 줄로 (CCTV 특징 4장은 auto-fit 그대로). 좁은 화면은 아래 640px 규칙과 같이 1열 */
.sr-feat-grid--six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .sr-feat-grid--six {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .sr-feat-grid--six {
    grid-template-columns: 1fr;
  }
}

/* 서비스 전체 10가지를 세 화면에 나눈 짜임: 왼쪽에 제목과 한 줄 소개, 오른쪽에 서비스 줄.
   한 줄 = 아이콘 | 영문명 · 이름 · 하는 일 | 근거. 화이트 화면(sr-features)과 검정 화면(sr-usecases)에서 선과 글자 색만 다르다 */
.sr-split {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(32px, 5vw, 88px);
}

.sr-split .sr-section-title {
  margin-bottom: 20px;
}

.sr-split__lead {
  max-width: 26em;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
}

.sr-usecases .sr-split__lead {
  color: var(--text-soft);
}

.sr-rows {
  border-top: 1px solid var(--navy-ink);
}

.sr-usecases .sr-rows {
  border-top-color: var(--line-gold);
}

.sr-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 4px 20px;
  padding-block: clamp(14px, 2.4vh, 24px);
  border-bottom: 1px solid var(--ink-line);
}

.sr-usecases .sr-row {
  border-bottom-color: var(--line);
}

.sr-row .sr-feat-icon,
.sr-row .sr-usecase-icon {
  width: 44px;
  height: 44px;
  margin: 0;
}

.sr-row .sr-icon {
  width: 24px;
  height: 24px;
}

.sr-row h3 {
  margin-bottom: 4px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.sr-row__body p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}

.sr-usecases .sr-row__body p {
  color: var(--text-soft);
}

.sr-svc-en {
  display: block;
  margin-bottom: 2px;
  color: var(--gold-deep);
  font-family: var(--font-latin);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sr-usecases .sr-svc-en {
  color: var(--gold);
}

/* 근거는 줄의 오른쪽 끝, 이름과 같은 높이 */
.sr-svc-proof {
  padding-top: 20px;
  color: var(--gold-deep);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.2px;
  text-align: right;
  white-space: nowrap;
}

.sr-usecases .sr-svc-proof {
  color: var(--gold);
}

/* 운영 지원 화면: 장점 세 줄을 왼쪽 제목 아래에 세로로 */
.sr-split__head .sr-bundle-points {
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 1024px) {
  .sr-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .sr-split__lead {
    max-width: none;
  }
}

/* 좁은 화면은 근거를 하는 일 아래로 내린다 */
@media (max-width: 640px) {
  .sr-row {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 4px 16px;
  }

  .sr-svc-proof {
    grid-column: 2;
    padding-top: 6px;
    text-align: left;
    white-space: normal;
  }
}

/* 통합 공급: 카드 아래 장점 세 줄 */
.sr-bundle-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--ink-line);
}

.sr-bundle-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.sr-bundle-points li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background: var(--gold-deep);
}

/* 해외 임원 · 셀럽 방한 수행: 카드 4장을 한 줄로, 아래에 근거가 되는 현장 한 줄 */
.sr-usecase-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1024px) {
  .sr-usecase-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .sr-usecase-grid--four {
    grid-template-columns: 1fr;
  }
}

.sr-escort-note {
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
}

.sr-escort-note::before {
  content: "Works · ";
  color: var(--gold);
  font-family: var(--font-latin);
  letter-spacing: 0.1em;
}

/* 앞 구역(통합 공급, 화이트) 다음이 검정이고 뒤 구역(배치 기준)도 검정이라 경계선으로 나눈다 */
.sr-escort + .sr-set-spec {
  border-top-color: var(--line-gold);
}

/* 한 칸씩 이동 (data-steps 가 붙은 페이지, 데스크톱 마우스·트랙패드만): page.js 가 html 에 is-stepped 를 붙인다.
   홈과 같은 방식으로 구역마다 한 화면 높이를 채우고 내용을 가운데에 둔다. 위쪽 여백에 헤더 높이를 넣어 제목이 헤더 밑으로 들어가지 않게 한다.
   한 화면보다 긴 구역은 page.js 가 위와 아래에 한 번씩 멈춘다 */
.is-stepped [data-steps] > section {
  display: grid;
  align-content: center;
  min-height: 100vh;
  padding-top: calc(var(--header-h) + clamp(16px, 4vh, 56px));
  padding-bottom: clamp(24px, 5vh, 64px);
}

/* 격자 안에서 가운데 정렬(margin: 0 auto)한 안쪽 상자가 내용 폭으로 줄어들지 않게 한다 */
.is-stepped [data-steps] > section:not(.sr-hero, .sr-cta-banner) > * {
  width: 100%;
  min-width: 0;
}

/* 문의 칸의 버튼은 내용 폭 그대로 가운데에 둔다 */
.is-stepped [data-steps] > .sr-cta-banner {
  justify-items: center;
}

/* 첫 화면은 정확히 한 화면 높이. 글과 버튼을 놓고 남는 높이를 사진이 채워서 창 높이가 어떻든 한 화면에 들어온다.
   배지처럼 내용 폭인 요소가 있어 가운데로 모은다 */
.is-stepped [data-steps] > .sr-hero {
  grid-template-rows: auto auto auto auto minmax(0, 1fr);
  align-content: stretch;
  justify-items: center;
  height: 100vh;
}

.is-stepped [data-steps] .sr-hero-photo {
  width: 100%;
  max-height: 600px;
  min-height: 0;
  margin-top: clamp(24px, 4vh, 56px);
}

/* 낮은 창에서 사진이 얇아지면 얼굴이 남도록 위쪽을 기준으로 자른다 */
.is-stepped [data-steps] .sr-hero-photo img {
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.is-stepped [data-steps] .sr-section-title {
  margin-bottom: clamp(24px, 4.4vh, 48px);
}

/* 서비스 줄과 카드의 위아래 간격을 화면 높이에 맞춰, 낮은 창(1280×720)에서 문장이 긴 영어판도 한 화면에 들어오게 한다 */
.is-stepped [data-steps] .sr-row {
  padding-block: clamp(10px, 2vh, 24px);
}

.is-stepped [data-steps] .sr-split .sr-section-title {
  margin-bottom: clamp(12px, 2.2vh, 20px);
}

.is-stepped [data-steps] .sr-feat-card {
  padding-block: clamp(20px, 3.4vh, 28px);
}

/* 마지막 칸은 문의와 푸터를 합쳐 한 화면. --footer-h 는 page.js 가 잰다 */
.is-stepped [data-steps] > .sr-cta-banner {
  min-height: calc(100vh - var(--footer-h, 0px));
}

/* 배치 기준 상자의 제목: CCTV 세트 이름(.sr-set-info h2)과 같은 모양 */
.sr-set-title {
  margin-bottom: 20px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

@media (max-width: 640px) {
  .sr-hero {
    padding: calc(var(--header-h) + 40px) 16px 60px;
  }

  .sr-hero h1 {
    font-size: 28px;
  }

  .sr-hero p {
    font-size: 15px;
  }

  .sr-hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .sr-features,
  .sr-pricing,
  .sr-usecases,
  .sr-set-spec,
  .sr-howitworks,
  .sr-cta-banner {
    padding: 60px 16px;
  }

  .sr-section-title {
    margin-bottom: 32px;
    font-size: 24px;
  }

  .sr-feat-grid,
  .sr-usecase-grid,
  .sr-how-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sr-set-box {
    flex-direction: column;
    gap: 24px;
    padding: 24px 16px;
  }

  .sr-set-info h2 {
    font-size: 22px;
  }

  .sr-diagram-wrap {
    padding: 16px 8px;
  }

  .sr-diagram-desktop {
    display: none;
  }

  .sr-diagram-mobile {
    display: block;
  }

  .sr-price-table {
    font-size: 13px;
  }

  .sr-price-table thead th,
  .sr-price-table tbody td {
    padding: 12px 6px;
  }

  .sr-price-table .sr-td-daily,
  .sr-price-table .sr-td-total {
    font-size: 14px;
  }

  .sr-price-table .sr-td-badge {
    width: 55px;
  }

  .sr-discount-badge {
    padding: 2px 5px;
    font-size: 11px;
  }

  .sr-cta-banner h2 {
    font-size: 24px;
  }
}

/* ---------- 외부 페이지를 불러오는 화면 (blog.html, order.html) ----------
   메뉴 아래에 기존 페이지를 그대로 넣는다. 처음에는 메뉴 아래 화면을 꽉 채우고,
   불러온 페이지가 자기 높이를 알려 주면 page.js가 그 높이로 늘린다 */

/* 번역 페이지에서만: 불러오는 화면이 한국어뿐이라는 안내 한 줄 */
.embed-note {
  margin-top: var(--header-h);
  padding: 12px var(--gutter);
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 0.875rem;
  line-height: 1.5;
  text-align: center;
}

.embed-note + .embed {
  margin-top: 0;
}

.embed {
  display: block;
  width: 100%;
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  margin-top: var(--header-h);
  border: 0;
  background: var(--black);
}

/* ---------- 한 칸씩 이동 모드 ----------
   데스크톱에서 마우스나 트랙패드를 쓰면 main.js가 html에 is-stepped를 붙인다.
   모든 화면을 정확히 한 화면 높이로 맞추고, 글자와 간격을 화면 높이(vh)에 비례시켜 낮은 창에서도 한 화면에 들어오게 한다 */

.is-stepped,
.is-stepped body {
  overscroll-behavior-y: none;
}

.is-stepped .hero {
  min-height: 100vh;
}

.is-stepped .manifesto,
.is-stepped .services,
.is-stepped .vip,
.is-stepped .license {
  display: grid;
  align-content: center;
  min-height: 100vh;
  padding-block: calc(var(--header-h) + clamp(16px, 3.4vh, 44px)) clamp(20px, 4.4vh, 52px);
}

.is-stepped .manifesto__text {
  font-size: clamp(1.5rem, min(3.6vw, 6vh), 3rem);
}

.is-stepped .stats {
  margin-top: clamp(32px, 7vh, 96px);
  padding-top: clamp(18px, 3vh, 32px);
}

.is-stepped .stat .num {
  font-size: clamp(2.5rem, min(6vw, 10vh), 5.5rem);
}

.is-stepped .services .eyebrow {
  margin-bottom: clamp(10px, 1.8vh, 24px);
}

.is-stepped .services .heading {
  font-size: clamp(1.625rem, min(3.4vw, 5vh), 3rem);
}

.is-stepped .services__grid {
  align-items: center;
  margin-top: clamp(16px, 3.2vh, 44px);
}

.is-stepped .svc {
  padding-block: clamp(5px, 1vh, 14px);
}

.is-stepped .svc__name {
  font-size: clamp(1.0625rem, min(2.2vw, 3.3vh), 2rem);
}

/* 화면이 고정된 한 칸이므로 사진을 붙여 둘 필요가 없다 */
.is-stepped .svc-stage {
  position: relative;
  top: auto;
}

.is-stepped .svc-preview {
  height: min(56vh, 600px);
  max-height: none;
  aspect-ratio: auto;
}

.is-stepped .vip .heading,
.is-stepped .license .heading {
  font-size: clamp(1.75rem, min(3.6vw, 6.4vh), 3.25rem);
}

/* 마지막 칸은 문의와 푸터를 합쳐 한 화면. --footer-h는 main.js가 잰다.
   위쪽 여백에 헤더 높이를 포함해 낮은 창에서도 제목이 헤더 밑으로 들어가지 않게 하고,
   글자와 간격을 화면 높이에 비례시켜 문의와 푸터가 함께 한 화면에 들어오게 한다 */
.is-stepped .contact {
  display: grid;
  align-content: center;
  min-height: calc(100vh - var(--footer-h, 0px));
  padding-block: calc(var(--header-h) + clamp(10px, 2.4vh, 40px)) clamp(18px, 4vh, 56px);
}

.is-stepped .contact .eyebrow {
  margin-bottom: clamp(10px, 2vh, 28px);
}

.is-stepped .contact .display {
  font-size: clamp(1.75rem, min(4.4vw, 7vh), 4.25rem);
}

/* 좁은 데스크톱에서도 두 열을 유지해 마지막 칸이 한 화면을 넘지 않게 한다 */
.is-stepped .contact__grid {
  grid-template-columns: 7fr 4fr;
  align-items: end;
}

.is-stepped .contact__actions {
  margin-top: clamp(16px, 3.4vh, 48px);
}

.is-stepped .site-footer {
  padding-block: clamp(16px, 3vh, 56px) clamp(14px, 2.6vh, 48px);
}

.is-stepped .site-footer__top {
  padding-bottom: clamp(12px, 2.4vh, 32px);
}

.is-stepped .site-footer__legal {
  gap: clamp(2px, 0.8vh, 8px);
  margin-top: clamp(10px, 2vh, 28px);
}

/* ---------- Tablet ---------- */

@media (max-width: 1024px) {
  .contact__grid {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

/* ---------- Mobile: 비대칭 레이아웃은 전부 1열로 적층 ---------- */

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-grid;
  }

  .site-header__inner {
    gap: 12px;
  }

  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: var(--z-nav);
    padding: 24px var(--gutter) 40px;
    background: var(--black);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
  }

  .primary-nav.is-open {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s var(--ease);
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .primary-nav a {
    display: block;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    font-size: 1.5rem;
    font-weight: 600;
  }

  .primary-nav a::after {
    display: none;
  }

  .primary-nav a[aria-current="page"] {
    color: var(--gold);
  }

  /* 언어 버튼: 메뉴의 마지막 줄. 펼치면 다섯 언어가 그 아래에 나란히 놓인다 */
  .lang summary {
    padding: 18px 0;
    color: var(--text);
    font-size: 1.125rem;
  }

  .primary-nav .lang ul {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px 20px;
    min-width: 0;
    padding: 0 0 12px;
    border: 0;
    background: none;
  }

  .primary-nav .lang ul a {
    padding: 10px 0;
    border-bottom: 0;
    color: var(--text-soft);
    font-size: 1rem;
    font-weight: 500;
  }

  .hero__img,
  .hero__light img {
    object-position: 74% 30%;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 0;
  }

  .stat {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    padding-block: 22px;
    border-bottom: 1px solid var(--ink-line);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .scene--right .scene__inner {
    margin-left: 0;
    text-align: left;
  }

  .scene--right .scene__text {
    margin-left: 0;
  }

  .scene--right .scene__media::after {
    background:
      linear-gradient(to top, rgba(7, 7, 10, 0.95) 0%, rgba(7, 7, 10, 0.58) 40%, rgba(7, 7, 10, 0.2) 70%, rgba(7, 7, 10, 0.6) 100%),
      rgba(22, 20, 61, 0.32);
  }

  .scene__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .license__grid,
  .vip__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .scene__grid .line > span {
    white-space: normal;
  }

  .crowd {
    justify-self: start;
  }

  /* 사진을 헤더 바로 아래에 고정하고 목록이 그 밑으로 흐른다. 스크롤 위치에 따라 main.js가 사진을 바꾼다 */
  .services {
    padding-bottom: clamp(72px, 12vw, 120px);
  }

  .services__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .svc-stage {
    top: var(--header-h);
    z-index: 2;
    order: -1;
    margin-inline: calc(var(--gutter) * -1);
  }

  .svc-stage::before {
    display: none;
  }

  .svc-preview {
    aspect-ratio: 16 / 11;
    max-height: none;
  }

  .svc-list li:first-child {
    border-top: 0;
  }

  .svc {
    padding-block: 20px;
  }

  .works__tools {
    width: 100%;
    justify-content: space-between;
  }

  .works__ghost {
    font-size: 30vw;
  }

  .contact__mark {
    top: auto;
    right: -18%;
    bottom: -6%;
    width: 78vw;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 1rem;
  }

  .brand__mark {
    height: 26px;
  }

  .brand__word {
    height: 11px;
  }

  .hero__actions .btn,
  .contact__actions .btn {
    width: 100%;
  }

  /* 좁은 화면에서는 번호와 날짜를 이름 아래로 내린다 */
  .permit {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .permit__no,
  .permit__detail {
    text-align: left;
    white-space: normal;
  }

  .permit__no {
    order: 3;
    margin-top: 6px;
  }

  .permit__detail {
    order: 4;
  }

  .site-footer__legal {
    padding-right: 0;
    padding-bottom: 56px;
  }
}
