/* ==========================================================================
   곁애:愛 — style.css
   토큰 구조는 likelion.md(Pretendard · 4px 스페이싱 · 2~24px+full 라운드 · 쿨그레이)를 따르고,
   primary 램프만 민트 #4ECDC4 기준으로 바꿨습니다.
   ========================================================================== */

:root {
  /* Primary (민트 시그니처) */
  --primary-50: #EDFAF9;
  --primary-100: #D8F5F2;
  --primary-200: #B5EBE7;
  --primary-300: #8FE0DA;
  --primary-400: #6DD6CF;
  --primary-500: #4ECDC4;
  --primary-600: #2FB3AA;
  --primary-700: #1F8F88;
  --primary-800: #146B66;
  --primary-900: #0D4A47;

  /* Gray (쿨톤 뉴트럴) */
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EA;
  --gray-300: #D1D6DC;
  --gray-400: #B1B8C0;
  --gray-500: #8A95A0;
  --gray-600: #6B7583;
  --gray-700: #4E5967;
  --gray-800: #333D4B;
  --gray-850: #262F3C;
  --gray-900: #191F28;
  --gray-950: #191C1F;
  --black: #0B0D0F;
  --white: #FFFFFF;

  /* Semantic */
  --bg-white: var(--white);
  --bg-normal: var(--gray-100);
  --bg-primary: var(--primary-500);
  --bg-primary-weak: var(--primary-50);
  --bg-inverse: var(--black);
  --bg-film: #FFFFFF;
  --fg-strong: var(--gray-950);
  --fg-normal: var(--gray-800);
  --fg-muted: var(--gray-600);
  --fg-primary: var(--primary-800);
  --fg-on-primary: var(--gray-950);
  --fg-on-primary-muted: var(--primary-900);
  --fg-white: var(--white);
  --fg-disabled: var(--gray-400);
  --border-normal: var(--gray-300);
  --border-weak: var(--gray-200);
  --border-primary: var(--primary-500);
  --danger: #8F1D14;
  --danger-on-dark: #FF9B92;

  /* Spacing (4px 기준) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-section: clamp(96px, 13vw, 208px);
  --gutter: clamp(20px, 4.6vw, 72px);

  /* Rounded */
  --radius-05: 2px;
  --radius-1: 4px;
  --radius-2: 8px;
  --radius-3: 12px;
  --radius-4: 16px;
  --radius-5: 20px;
  --radius-6: 24px;
  --radius-field: clamp(28px, 3.4vw, 48px);
  --radius-full: 999px;

  /* Weight: 제목과 강조는 모두 미디엄. 굵기를 바꾸려면 이 값만 고치면 됩니다. */
  --fw-medium: 500;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  /* 제목용 명조. 얇은 Light(300) 굵기로 씁니다. */
  --font-heading: "Noto Serif KR", "Nanum Myeongjo", "Batang", serif;
  --header-h: 84px;
}

/* ───────── Base ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; scrollbar-color: var(--gray-400) var(--gray-100); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg-normal);
  background: var(--bg-white);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--primary-700);
}
::selection { background: var(--primary-500); color: var(--gray-950); }
[data-tone="mint"] ::selection { background: var(--gray-950); color: var(--primary-300); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-400); border-radius: 999px; border: 3px solid var(--gray-100); }
::-webkit-scrollbar-thumb:hover { background: var(--gray-600); }

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
strong { font-weight: var(--fw-medium); color: var(--fg-strong); }
small { font-size: 0.8em; }

:focus-visible { outline: 3px solid var(--gray-950); outline-offset: 3px; border-radius: 6px; }
[data-tone="dark"] :focus-visible { outline-color: var(--primary-500); }

.mint { color: var(--primary-500); }
.white { color: var(--white); }
.br-m { display: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { flex: none; width: 30px; height: 30px; fill: none; stroke: var(--primary-500); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: scale .5s var(--ease-out); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 300; background: var(--gray-950); color: var(--white); padding: 12px 20px; border-radius: var(--radius-full); font-weight: var(--fw-medium); transition: top .2s var(--ease-out); }
.skip-link:focus { top: 16px; }

.wrap { width: min(100% - var(--gutter) * 2, 1320px); margin-inline: auto; }

/* ───────── Type ───────── */
.poster {
  font-size: clamp(2.5rem, 6.4vw, 6rem);
  font-weight: var(--fw-medium);
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--fg-strong);
  text-wrap: balance;
}
.display {
  font-size: clamp(1.75rem, 3.3vw, 3.125rem);
  font-weight: var(--fw-medium);
  line-height: 1.22;
  letter-spacing: -0.03em;
  color: var(--fg-strong);
  text-wrap: balance;
}
.mega {
  font-size: clamp(3.25rem, 9.3vw, 9.75rem);
  font-weight: var(--fw-medium);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 52px; padding: 6px 6px 6px 24px;
  border: 0; border-radius: var(--radius-full);
  font-size: 16px; font-weight: var(--fw-medium); letter-spacing: -0.01em; line-height: 1;
  transition: transform .5s var(--ease-out), background-color .25s ease, color .25s ease;
}
.btn__arrow {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  overflow: hidden;
}
.btn__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease-out); }
.btn:hover .btn__arrow svg { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }
.btn--dark { background: var(--gray-950); color: var(--white); }
.btn--dark .btn__arrow { background: var(--primary-500); color: var(--gray-950); }
.btn--dark:hover { background: var(--black); }
.btn--mint { background: var(--primary-500); color: var(--gray-950); }
.btn--mint .btn__arrow { background: var(--gray-950); color: var(--primary-500); }
.btn--mint:hover { background: var(--primary-400); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ───────── Loader ───────── */
.loader {
  position: fixed; inset: 0; z-index: 200;
  display: none; place-items: center;
  background: var(--primary-500); color: var(--gray-950);
  clip-path: circle(150% at 62% 52%);
}
.js .loader { display: grid; }
.loader__inner { display: grid; justify-items: center; gap: 20px; }
.loader__logo { width: clamp(180px, 22vw, 300px); height: auto; }
/* 로고 아래 1px 선: 화면 왼쪽 끝에서 오른쪽 끝으로 로딩 진행만큼 찹니다. */
.loader__line { display: block; width: 100vw; height: 1px; background: rgba(25, 28, 31, .16); }
.loader__line i { display: block; height: 100%; background: var(--gray-950); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; transition: transform .35s linear; }
.loader__tag { font-size: 15px; font-weight: var(--fw-medium); color: var(--fg-on-primary-muted); }
.loader__count { position: absolute; right: var(--gutter); bottom: clamp(20px, 4vw, 48px); font-size: clamp(3rem, 8vw, 7rem); font-weight: var(--fw-medium); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.loader.is-done { display: none; }

/* ───────── Header ───────── */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; gap: 16px;
  height: var(--header-h); padding-inline: var(--gutter);
  pointer-events: none;
  transition: translate .6s var(--ease-out);
}
.header.is-hidden { translate: 0 -110%; }
.header.is-hidden:focus-within { translate: 0 0; }
.header > * { pointer-events: auto; }
.header__logo { position: relative; display: block; margin-right: auto; height: 34px; aspect-ratio: 534 / 160; }
.header__logo .logo { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .35s ease; }
.logo--mono, .logo--white { opacity: 0; }
.header[data-tone="mint"] .logo--color, .header[data-tone="dark"] .logo--color { opacity: 0; }
.header[data-tone="mint"] .logo--mono { opacity: 1; }
.header[data-tone="dark"] .logo--white { opacity: 1; }

.header__nav {
  display: flex; gap: 2px; padding: 5px;
  background: var(--white); border-radius: var(--radius-full);
  box-shadow: 0 10px 30px -12px rgba(25, 31, 40, .22), 0 1px 2px rgba(25, 31, 40, .06);
}
.header__nav a { padding: 8px 16px; border-radius: var(--radius-full); font-size: 15px; font-weight: var(--fw-medium); color: var(--gray-800); line-height: 1.2; transition: background-color .2s ease, color .2s ease; }
.header__nav a:hover { background: var(--gray-100); color: var(--gray-950); }
.header__nav a.is-current { background: var(--gray-950); color: var(--white); }
.header__cta {
  display: inline-flex; align-items: center; height: 44px; padding: 0 22px;
  border-radius: var(--radius-full); background: var(--gray-950); color: var(--white);
  font-size: 15px; font-weight: var(--fw-medium); transition: background-color .25s ease, color .25s ease, translate .5s var(--ease-out);
}
.header__cta:hover { translate: 0 -2px; }
.header[data-tone="dark"] .header__cta { background: var(--primary-500); color: var(--gray-950); }
.header__menu { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--white); box-shadow: 0 10px 30px -12px rgba(25, 31, 40, .22), 0 1px 2px rgba(25, 31, 40, .06); }
.header__menu-bars { display: grid; gap: 6px; justify-items: center; }
.header__menu-bars i { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--gray-950); transition: transform .4s var(--ease-out); }
.header__menu[aria-expanded="true"] .header__menu-bars i:first-child { transform: translateY(4px) rotate(45deg); }
.header__menu[aria-expanded="true"] .header__menu-bars i:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 90; background: var(--primary-500); padding: calc(var(--header-h) + 24px) var(--gutter) 40px; overflow: auto; }
.menu[hidden] { display: none; }
.menu__nav { display: grid; }
.menu__nav a { padding: 16px 0; font-size: clamp(1.75rem, 8vw, 2.5rem); font-weight: var(--fw-medium); letter-spacing: -0.03em; color: var(--gray-950); border-bottom: 1px solid rgba(13, 74, 71, .25); }

/* ───────── Film (scroll-scrubbed one take) ───────── */
.film { position: relative; height: 780vh; background: var(--bg-film); }
.film__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.film__stage {
  --sx-from: 19; --ss-from: 0.86; --sp: 0;
  position: absolute; inset: 0;
  transform: translate3d(calc((1 - var(--sp)) * var(--sx-from) * 1vw), 0, 0) scale(calc(var(--ss-from) + (1 - var(--ss-from)) * var(--sp)));
  transform-origin: 50% 55%;
  will-change: transform;
}
/* 영상의 흰 배경(253 안팎)을 완전한 흰색으로 밀어 올려 페이지 바탕과 이음새가 보이지 않게 합니다. */
.film__stage canvas, .film__poster { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; filter: brightness(1.03); }
.film__poster { object-fit: cover; transition: opacity .4s ease; }
.film.is-ready .film__poster { opacity: 0; }
.film__edge { position: absolute; inset: 0 auto 0 -1px; width: 22%; background: linear-gradient(90deg, var(--bg-film) 0%, rgba(255, 255, 255, 0) 100%); pointer-events: none; }

.film__text { position: absolute; inset: 0; pointer-events: none; }
.hero { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: var(--header-h) var(--gutter) 24px; }
.hero > * { pointer-events: auto; }
.hero__title {
  font-size: clamp(2.5rem, 5.2vw, 5.5rem);
  font-weight: var(--fw-medium); line-height: 1.12; letter-spacing: -0.04em;
  color: var(--fg-strong);
}
.hero__lead { margin-top: clamp(20px, 2.4vw, 36px); max-width: 30em; font-size: clamp(1rem, 1.25vw, 1.25rem); line-height: 1.7; color: var(--gray-800); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: clamp(28px, 3vw, 44px); }
.hero__cue { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: var(--fw-medium); letter-spacing: 0.06em; color: var(--gray-700); }
.hero__cue-line { position: relative; width: 2px; height: 36px; background: var(--gray-300); overflow: hidden; border-radius: 2px; }
.hero__cue-line::after { content: ""; position: absolute; inset: 0; background: var(--gray-950); transform: translateY(-100%); animation: cue 2.2s var(--ease-in-out) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 55% { transform: translateY(0); } 100% { transform: translateY(100%); } }

.stop {
  position: absolute; left: var(--gutter); bottom: clamp(28px, 6.5vh, 64px);
  width: min(678px, calc(100% - var(--gutter) * 2));
  padding: 30px 32px 28px;
  background: var(--white); border-radius: var(--radius-6);
  box-shadow: 0 30px 60px -28px rgba(25, 31, 40, .38), 0 2px 8px rgba(25, 31, 40, .06);
  pointer-events: auto;
}
.js .stop { opacity: 0; visibility: hidden; }
.stop__title { font-size: clamp(1.5rem, 2.1vw, 2rem); font-weight: var(--fw-medium); line-height: 1.28; letter-spacing: -0.03em; color: var(--fg-strong); text-wrap: balance; }
.stop__body { margin-top: 14px; font-size: 16px; line-height: 1.7; color: var(--gray-700); }
.stop__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 15px; font-weight: var(--fw-medium); color: var(--gray-950); border-bottom: 2px solid var(--primary-500); padding-bottom: 2px; transition: border-color .2s ease; }
.stop__more:hover { border-color: var(--gray-950); }

.rail { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); display: grid; gap: 4px; justify-items: end; }
.js .rail { opacity: 0; }
.rail button { display: flex; align-items: center; gap: 12px; padding: 7px 0; border: 0; background: none; font-size: 13px; font-weight: var(--fw-medium); color: var(--gray-700); }
.rail button span { opacity: 0; transform: translateX(8px); transition: opacity .3s ease, transform .5s var(--ease-out); background: var(--white); padding: 4px 10px; border-radius: var(--radius-full); box-shadow: 0 2px 8px rgba(25, 31, 40, .08); }
.rail button::after { content: ""; width: 40px; height: 3px; border-radius: 3px; background: var(--gray-500); transform: scaleX(0.55); transform-origin: 100% 50%; transition: transform .5s var(--ease-out), background-color .3s ease; box-shadow: 0 0 0 2px rgba(255, 255, 255, .7); }
.rail button:hover span, .rail button:focus-visible span, .rail button.is-active span { opacity: 1; transform: none; }
.rail button.is-active { color: var(--gray-950); }
.rail button.is-active::after { transform: none; background: var(--gray-950); }

.film__iris { --r: 0vmax; position: absolute; inset: 0; background: var(--primary-500); clip-path: circle(var(--r) at 50% 58%); pointer-events: none; visibility: hidden; }

/* 스크립트가 없을 때: 영상 대신 첫 장면과 설명을 순서대로 보여줍니다 */
html:not(.js) .film { height: auto; }
html:not(.js) .film__sticky { position: relative; height: auto; overflow: visible; }
html:not(.js) .film__stage { position: relative; inset: auto; height: 70vh; transform: none; }
html:not(.js) .film__text { position: relative; }
html:not(.js) .hero { position: relative; padding-block: 48px; }
html:not(.js) .stop { position: relative; left: auto; bottom: auto; margin: 0 var(--gutter) 24px; }
html:not(.js) .rail, html:not(.js) .film__iris { display: none; }

/* ───────── Why (민트 필드) ───────── */
.why { position: relative; background: var(--primary-500); color: var(--fg-on-primary); padding-block: var(--space-section) calc(var(--space-section) + var(--radius-field)); }
.why__statement { text-wrap: wrap; }
.why__statement .w { display: inline-block; }
.why__statement .hl { display: inline; color: var(--white); }
.why__statement .hl { display: inline; color: var(--white); }
.why__intro { margin: clamp(48px, 6vw, 96px) 0 0; width: min(100%, 44rem); display: grid; gap: 1.2em; font-size: clamp(1.0625rem, 1.5vw, 1.375rem); line-height: 1.7; color: var(--fg-on-primary-muted); }
.why__intro strong { color: var(--gray-950); }
.why__gap { margin-top: var(--space-section); }
.why__gap .display { max-width: 13em; }
.facts { margin-top: clamp(40px, 5vw, 72px); border-top: 2px solid var(--gray-950); }
.fact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px 48px; align-items: center; padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid rgba(13, 74, 71, .32); }
.fact__figure { display: flex; align-items: baseline; gap: clamp(16px, 2vw, 28px); color: var(--gray-950); }
.fact__figure strong { color: var(--white); font-size: clamp(3.5rem, 8vw, 7.5rem); font-weight: var(--fw-medium); letter-spacing: -0.04em; line-height: 0.95; font-variant-numeric: tabular-nums; }
.fact__figure i { font-style: normal; font-size: 0.45em; letter-spacing: 0; margin-left: 0.06em; }
.fact__figure span { font-size: clamp(1.125rem, 1.8vw, 1.5rem); font-weight: var(--fw-medium); letter-spacing: -0.02em; }
.fact__text { max-width: 30em; color: var(--fg-on-primary-muted); }

.quiet { margin-top: var(--space-section); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(28px, 5vw, 72px); background: var(--white); border-radius: var(--radius-field); }
.quiet__copy { display: grid; gap: 1.1em; }
.quiet__copy p { max-width: 30em; color: var(--gray-700); }
.quiet__copy .display { margin-bottom: 0.3em; }
.quiet__figure img { width: 100%; mix-blend-mode: multiply; }

/* ───────── Service ───────── */
.service { position: relative; z-index: 1; margin-top: calc(var(--radius-field) * -1); padding-block: var(--space-section) 0; background: var(--white); border-radius: var(--radius-field) var(--radius-field) 0 0; }
.service__title { max-width: none; }
.service__figure { margin-top: clamp(48px, 6vw, 96px); padding: clamp(20px, 4vw, 64px); background: var(--bg-film); border: 1px solid var(--border-weak); border-radius: var(--radius-field); overflow: hidden; }
.service__figure img { width: 100%; max-width: 1120px; margin-inline: auto; mix-blend-mode: multiply; }
.steps { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.4vw, 56px); }
.step { padding-top: 28px; border-top: 2px solid var(--gray-950); }
.step__no { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--primary-500); color: var(--gray-950); font-size: 16px; font-weight: var(--fw-medium); }
.step__title { margin-top: 24px; font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: var(--fw-medium); letter-spacing: -0.03em; line-height: 1.25; color: var(--fg-strong); }
.step__sub { margin-top: 6px; font-size: 15px; font-weight: var(--fw-medium); color: var(--fg-primary); }
.step p:last-child { margin-top: 16px; color: var(--gray-700); }

.marquee { margin-top: var(--space-section); overflow: hidden; padding-block: 8px; }
.marquee__track { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); width: max-content; animation: marquee 36s linear infinite; }
.marquee__track span { font-size: clamp(3rem, 9vw, 8.5rem); font-weight: var(--fw-medium); letter-spacing: -0.04em; line-height: 1.1; color: var(--gray-950); white-space: nowrap; }
.marquee__track span:nth-of-type(3n + 2) { color: var(--primary-700); }
.marquee__track i { flex: none; width: clamp(16px, 2vw, 28px); height: clamp(16px, 2vw, 28px); border-radius: 50%; background: var(--gray-950); }
@keyframes marquee { to { transform: translateX(-50%); } }

.index { padding-block: var(--space-section); }
.index__head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 24px 48px; align-items: end; }
.index__head p { max-width: 30em; color: var(--gray-700); }
.dot-note { display: block; margin-top: 10px; font-size: 14px; font-weight: var(--fw-medium); color: var(--gray-800); }
.dot-note::before { content: ""; display: inline-block; width: 24px; height: 24px; margin-right: 8px; vertical-align: -6px; border-radius: 50%; background: var(--gray-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23191C1F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M6 13l6 6 6-6'/%3E%3C/svg%3E") center / 13px no-repeat; }
.index__cols { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 88px); align-items: start; }
.index__label { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 2px solid var(--gray-950); font-size: 16px; font-weight: var(--fw-medium); color: var(--gray-950); }
.index__label em { font-style: normal; display: inline-grid; place-items: center; min-width: 34px; height: 28px; padding: 0 10px; border-radius: var(--radius-full); background: var(--gray-950); color: var(--white); font-size: 14px; font-variant-numeric: tabular-nums; }
.index__list li { position: relative; border-bottom: 1px solid var(--border-weak); font-size: clamp(1.1875rem, 1.9vw, 1.625rem); font-weight: var(--fw-medium); letter-spacing: -0.025em; line-height: 1.3; color: var(--gray-950); }
.index__list li:not(:has(a)) { display: flex; align-items: center; gap: 14px; padding: 16px 0; color: var(--gray-700); font-weight: var(--fw-medium); }
.index__list a { display: flex; align-items: center; gap: 14px; padding: 16px 56px 16px 0; position: relative; }
.index__list a::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%;
  background: var(--gray-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23191C1F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M6 13l6 6 6-6'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: background-color .25s ease, transform .5s var(--ease-out);
}
.index__list a:hover .ico { scale: 1.14; }
.index__list a:hover::after { background-color: var(--primary-500); transform: translateY(3px); }

/* ───────── Features ───────── */
.features { background: var(--gray-50); padding-block: var(--space-section) calc(var(--space-section) + var(--radius-field)); }
.features__layout { margin-top: clamp(48px, 6vw, 96px); display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.features__nav { position: sticky; top: 124px; display: grid; gap: 2px; }
.features__nav a { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: 15px; font-weight: var(--fw-medium); color: var(--gray-700); transition: color .25s ease, transform .5s var(--ease-out); }
.features__nav a::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--gray-300); transition: background-color .25s ease, transform .5s var(--ease-out); }
.features__nav a:hover { color: var(--gray-950); }
.features__nav a.is-active { color: var(--gray-950); font-weight: var(--fw-medium); transform: translateX(4px); }
.features__nav a.is-active::before { background: var(--primary-500); transform: scale(1.5); }

.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 64px); align-items: start; padding-block: clamp(40px, 5vw, 72px); border-top: 1px solid var(--border-normal); scroll-margin-top: 110px; }
.feature:first-child { padding-top: 0; border-top: 0; }
.feature:last-child { padding-bottom: 0; }
.feature__media { position: sticky; top: 124px; display: grid; place-items: center; aspect-ratio: 5 / 4; padding: clamp(16px, 2vw, 28px); background: var(--white); border-radius: var(--radius-6); overflow: hidden; border: 1px solid var(--border-weak); }
.feature__media img { width: 100%; height: 100%; object-fit: contain; }
.feature__title { font-size: clamp(1.75rem, 2.9vw, 2.75rem); font-weight: var(--fw-medium); line-height: 1.2; letter-spacing: -0.035em; color: var(--fg-strong); text-wrap: balance; }
.feature__lead { margin-top: 18px; max-width: 32em; color: var(--gray-700); }
.checks { margin-top: 28px; border-top: 1px solid var(--border-normal); }
.checks li { position: relative; padding: 15px 0 15px 38px; border-bottom: 1px solid var(--border-weak); font-size: 16px; font-weight: 500; line-height: 1.55; color: var(--gray-900); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 16px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--primary-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23191C1F' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* ───────── Screens (블랙 필드) ───────── */
.screens { position: relative; z-index: 1; margin-top: calc(var(--radius-field) * -1); padding-block: var(--space-section) calc(var(--space-section) + var(--radius-field)); background: var(--black); color: var(--gray-300); border-radius: var(--radius-field) var(--radius-field) 0 0; overflow: hidden; }
.screens__title { color: var(--white); }
.screens__lead { margin-top: 24px; max-width: none; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--gray-400); }
.screens__layout { margin-top: clamp(56px, 7vw, 112px); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.mode__title { font-size: clamp(1.5rem, 2.3vw, 2.125rem); font-weight: var(--fw-medium); letter-spacing: -0.03em; line-height: 1.2; color: var(--white); }
.mode__sub { margin-top: 6px; font-size: 15px; font-weight: var(--fw-medium); color: var(--primary-400); }
.mode__list { margin-top: 24px; border-top: 1px solid rgba(255, 255, 255, .28); }
.mode__list li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); font-size: clamp(1.0625rem, 1.4vw, 1.25rem); font-weight: var(--fw-medium); letter-spacing: -0.02em; color: var(--white); }
.mode__list small { font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--gray-400); }
.screens__phone { position: relative; width: clamp(240px, 24vw, 330px); isolation: isolate; }
.screens__phone::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 46%; width: 126%; aspect-ratio: 1; border-radius: 50%; background: var(--primary-500); transform: translate(-50%, -50%) scale(var(--disc, 1)); }
.screens__phone img { width: 100%; border-radius: 13.5% / 6.4%; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .7); }
.screens__phone figcaption { margin-top: 18px; text-align: center; font-size: 13px; font-weight: var(--fw-medium); line-height: 1.5; color: var(--gray-400); }

/* ───────── Compare · Promise ───────── */
.compare { position: relative; z-index: 2; margin-top: calc(var(--radius-field) * -1); padding-block: var(--space-section) calc(var(--space-section) + var(--radius-field)); background: var(--white); border-radius: var(--radius-field) var(--radius-field) 0 0; }
.compare__lead { margin-top: 24px; max-width: 30em; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--gray-700); }
.table-scroll { margin-top: clamp(40px, 5vw, 72px); overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-4); }
.table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 16px; }
.table th, .table td { padding: 20px 16px; text-align: center; border-bottom: 1px solid var(--border-weak); }
.table thead th { padding-block: 18px; font-size: 15px; font-weight: var(--fw-medium); color: var(--gray-700); border-bottom: 2px solid var(--gray-950); vertical-align: bottom; }
.table tbody th, .table thead th:first-child { text-align: left; padding-left: 0; }
.table tbody th { font-size: clamp(1rem, 1.5vw, 1.25rem); font-weight: var(--fw-medium); letter-spacing: -0.02em; color: var(--gray-950); }
.table .is-us { background: var(--primary-50); }
.table thead .is-us { background: var(--primary-500); color: var(--gray-950); font-size: 18px; font-weight: var(--fw-medium); border-radius: var(--radius-4) var(--radius-4) 0 0; border-bottom-color: var(--gray-950); }
.table tbody tr:last-child .is-us { border-radius: 0 0 var(--radius-4) var(--radius-4); border-bottom-color: transparent; }
.mark { display: inline-block; width: 22px; height: 22px; vertical-align: middle; border-radius: 50%; }
.mark--yes { background: var(--primary-700); }
.is-us .mark--yes { background: var(--gray-950); }
.mark--part { border: 3px solid var(--primary-700); background: linear-gradient(90deg, var(--primary-700) 50%, transparent 50%); }
.mark--no { width: 16px; height: 3px; border-radius: 3px; background: var(--gray-500); }
.table-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; color: var(--gray-700); }
.table-legend .mark { width: 14px; height: 14px; margin-left: 14px; }
.table-legend .mark:first-child { margin-left: 0; }
.table-legend .mark--part { border-width: 2px; }
.table-legend .mark--no { width: 12px; height: 3px; }

.promise { margin-top: var(--space-section); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.promise__title { position: sticky; top: 124px; }
.promise__list li { padding: clamp(24px, 3vw, 36px) 0; border-top: 2px solid var(--gray-950); }
.promise__list li:last-child { padding-bottom: 0; }
.promise__list h4 { font-size: clamp(1.375rem, 2.1vw, 1.875rem); font-weight: var(--fw-medium); letter-spacing: -0.03em; line-height: 1.3; color: var(--fg-strong); }
.promise__list p { margin-top: 10px; max-width: 42em; color: var(--gray-700); }

/* ───────── Forms ───────── */
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field[hidden] { display: none; }
.field label { font-size: 15px; font-weight: var(--fw-medium); color: inherit; }
.field label small { margin-left: 6px; font-size: 13px; font-weight: var(--fw-medium); opacity: .7; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 60px; padding: 16px 20px;
  border: 2px solid transparent; border-radius: var(--radius-4);
  background: var(--white); color: var(--gray-950);
  font-size: 17px; line-height: 1.5;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 148px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B1B8C0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; background-size: 20px; padding-right: 52px; }
.field input::placeholder, .field textarea::placeholder { color: var(--gray-600); opacity: 1; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--gray-950); box-shadow: 0 0 0 4px rgba(25, 28, 31, .16); border-radius: var(--radius-4); }
.field__hint { font-size: 14px; color: var(--fg-on-primary-muted); }
.field__error { font-size: 14px; font-weight: var(--fw-medium); color: var(--danger); min-height: 0; }
.field__error:empty { display: none; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--danger); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.check { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; font-size: 15px; line-height: 1.6; cursor: pointer; }
.check input { appearance: none; width: 26px; height: 26px; margin: 0; border: 2px solid var(--gray-950); border-radius: var(--radius-2); background: var(--white); display: grid; place-items: center; transition: background-color .2s ease; cursor: pointer; }
.check input::after { content: ""; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ECDC4' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; transform: scale(0); transition: transform .35s var(--ease-out); }
.check input:checked { background: var(--gray-950); }
.check input:checked::after { transform: scale(1); }

.segment { display: inline-flex; gap: 4px; padding: 5px; margin: 0; border: 2px solid var(--gray-950); border-radius: var(--radius-full); min-width: 0; justify-self: start; }
.segment__item { position: relative; cursor: pointer; }
.segment__item input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.segment__item span { display: block; padding: 8px 20px; border-radius: var(--radius-full); font-size: 15px; font-weight: var(--fw-medium); color: var(--gray-950); transition: background-color .25s ease, color .25s ease; }
.segment__item input:checked + span { background: var(--gray-950); color: var(--white); }
.segment__item input:focus-visible + span { outline: 3px solid var(--gray-950); outline-offset: 3px; }

.form__done { padding: 22px 24px; border-radius: var(--radius-4); font-size: 17px; font-weight: var(--fw-medium); line-height: 1.6; }
.form__done[hidden] { display: none; }

/* ───────── Newsletter (민트 필드) ───────── */
.newsletter { position: relative; z-index: 3; margin-top: calc(var(--radius-field) * -1); padding-block: var(--space-section) calc(var(--space-section) + var(--radius-field)); background: var(--primary-500); color: var(--fg-on-primary); border-radius: var(--radius-field) var(--radius-field) 0 0; }
.newsletter__wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 104px); align-items: center; }
.newsletter__copy p { margin-top: 24px; max-width: 30em; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--fg-on-primary-muted); }
.form--newsletter .form__done { background: var(--gray-950); color: var(--white); }

/* ───────── Contact (블랙 필드) ───────── */
.contact { position: relative; z-index: 4; margin-top: calc(var(--radius-field) * -1); padding-top: var(--space-section); background: var(--black); color: var(--gray-300); border-radius: var(--radius-field) var(--radius-field) 0 0; overflow: hidden; }
.contact__title { color: var(--white); white-space: nowrap; font-size: clamp(2rem, 5.6vw, 5.85rem); line-height: 1.12; }
.contact__title .c { display: inline-block; }
.contact__layout { margin-top: clamp(48px, 6vw, 104px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.contact__lead { max-width: 24em; font-size: clamp(1.125rem, 1.6vw, 1.5rem); font-weight: 500; line-height: 1.6; color: var(--white); }
.contact__notes { margin-top: 32px; display: grid; gap: 10px; font-size: 15px; color: var(--gray-400); }
.contact__notes li { padding-left: 20px; position: relative; }
.contact__notes li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 8px; border-radius: 50%; background: var(--primary-500); }

.tabs { display: inline-flex; gap: 4px; padding: 5px; border: 2px solid rgba(255, 255, 255, .28); border-radius: var(--radius-full); justify-self: start; }
.tabs button { padding: 9px 22px; border: 0; border-radius: var(--radius-full); background: none; font-size: 16px; font-weight: var(--fw-medium); color: var(--gray-300); transition: background-color .25s ease, color .25s ease; }
.tabs button:hover { color: var(--white); }
.tabs button[aria-selected="true"] { background: var(--primary-500); color: var(--gray-950); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field--full { grid-column: 1 / -1; }
.form--contact { color: var(--white); }
.form--contact .field input, .form--contact .field select, .form--contact .field textarea { background: var(--gray-900); border-color: var(--gray-700); color: var(--white); }
.form--contact .field select { color: var(--white); }
.form--contact .field select option { color: var(--gray-950); background: var(--white); }
.form--contact .field input::placeholder, .form--contact .field textarea::placeholder { color: var(--gray-500); }
.form--contact .field input:focus-visible, .form--contact .field select:focus-visible, .form--contact .field textarea:focus-visible { border-color: var(--primary-500); box-shadow: 0 0 0 4px rgba(78, 205, 196, .24); }
.form--contact .field__error { color: var(--danger-on-dark); }
.form--contact .field.is-invalid input, .form--contact .field.is-invalid select, .form--contact .field.is-invalid textarea { border-color: var(--danger-on-dark); }
.form--contact .check { color: var(--gray-300); }
.form--contact .check input { background: transparent; border-color: var(--gray-400); }
.form--contact .check input::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23191C1F' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.form--contact .check input:checked { background: var(--primary-500); border-color: var(--primary-500); }
.form--contact .form__done { background: var(--primary-500); color: var(--gray-950); }

/* ───────── Footer ───────── */
.footer { margin-top: var(--space-section); border-top: 1px solid rgba(255, 255, 255, .16); padding-block: clamp(40px, 5vw, 72px) clamp(96px, 9vw, 120px); }
.footer__wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 48px; align-items: end; }
.footer__logo { width: clamp(80px, 9vw, 130px); }
.footer__tag { grid-column: 1; font-size: 15px; color: var(--gray-400); }
.footer__nav { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 24px; max-width: 420px; }
.footer__nav a { padding: 6px 0; font-size: 15px; font-weight: var(--fw-medium); color: var(--gray-300); border-bottom: 2px solid transparent; transition: color .2s ease, border-color .2s ease; }
.footer__nav a:hover { color: var(--white); border-color: var(--primary-500); }
.footer__copy { grid-column: 1 / -1; margin-top: 24px; font-size: 13px; color: var(--gray-500); }

/* ───────── Responsive ───────── */
@media (max-width: 1080px) {
  .features__layout { grid-template-columns: minmax(0, 1fr); }
  .features__nav { display: none; }
  .screens__layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .screens__phone { grid-column: 1 / -1; grid-row: 1; justify-self: center; margin-bottom: 40px; }
  .header__nav { display: none; }
  .header__menu { display: grid; place-items: center; }
}

@media (max-width: 820px) {
  :root { --header-h: 68px; }
  body { font-size: 16px; }
  .header__logo { height: 28px; }
  .header__cta { height: 42px; padding: 0 18px; font-size: 14px; }
  .header__menu { width: 42px; height: 42px; }

  .br-pc { display: none; }
  .br-m { display: inline; }
  .film { height: 700vh; --stage-h: min(calc(100svh - var(--header-h) - 264px), 112vw); }
  @supports (height: 100dvh) {
    .film { --stage-h: min(calc(100dvh - var(--header-h) - 264px), 112vw); }
    .film__sticky { height: 100dvh; }
  }
  .film__stage {
    --sx-from: 0; --ss-from: 1;
    inset: var(--header-h) 0 auto 0; height: var(--stage-h);
    transform: translate3d(0, calc((1 - var(--sp)) * var(--header-h) * -1), 0) scale(calc(1 + var(--grow, 0) * (1 - var(--sp))));
    transform-origin: 50% 0;
  }
  /* 스크롤하면 메뉴바에 흰 바탕이 깔리고, 로고와 버튼은 기본 색으로 돌아옵니다. */
  .header { transition: translate .6s var(--ease-out), background-color .35s ease, box-shadow .35s ease; }
  .header.is-solid { background: var(--white); box-shadow: 0 1px 0 var(--border-weak); }
  .header.is-solid .logo--color { opacity: 1; }
  .header.is-solid .logo--mono, .header.is-solid .logo--white { opacity: 0; }
  .header.is-solid .header__cta { background: var(--gray-950); color: var(--white); }
  .header.is-solid .header__menu { box-shadow: none; background: var(--gray-100); }
  .film__edge { display: none; }
  .film__text { inset: calc(var(--header-h) + var(--stage-h)) 0 0 0; background: var(--white); }
  .hero { justify-content: flex-start; padding: 12px var(--gutter) 12px; }
  .hero__title { font-size: clamp(2.25rem, 10.4vw, 3.25rem); }
  .hero__lead { margin-top: 10px; font-size: 14.5px; line-height: 1.55; }
  .hero__actions { margin-top: 12px; gap: 14px 20px; }
  .hero__cue-line { height: 26px; }
  .btn { min-height: 48px; padding-left: 20px; font-size: 15px; }
  .btn__arrow { width: 36px; height: 36px; }
  .stop { left: 0; right: 0; top: 0; bottom: auto; width: auto; padding: 38px var(--gutter) 0; background: none; box-shadow: none; border-radius: 0; }
  .stop__title { font-size: clamp(1.5rem, 6.6vw, 2rem); }
  .stop__body { font-size: 15px; margin-top: 10px; }
  .rail { right: auto; left: var(--gutter); top: calc(var(--header-h) + var(--stage-h) + 14px); transform: none; display: flex; gap: 6px; }
  .rail button { padding: 6px 0; }
  .rail button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .rail button::after { width: 26px; transform: none; box-shadow: none; background: var(--gray-300); }

  .fact { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .quiet, .index__head, .index__cols, .promise, .newsletter__wrap, .contact__layout { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .feature { grid-template-columns: minmax(0, 1fr); }
  .feature__media, .promise__title { position: static; }
  .screens__layout { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .screens__phone { width: min(64vw, 280px); margin-bottom: 28px; }
  .contact__title { white-space: normal; font-size: clamp(1.9rem, 9.3vw, 3rem); }
  .form__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__wrap { grid-template-columns: minmax(0, 1fr); }
  .footer__nav { grid-column: 1; grid-row: auto; justify-content: flex-start; margin-top: 12px; }
}


@media (prefers-reduced-motion: reduce) {
  .marquee__track, .hero__cue-line::after { animation: none; }
  .btn, .btn__arrow svg, .header, .header__cta { transition: none; }
}

/* ───────── Cases (시공사례) ───────── */
.cases { position: relative; z-index: 1; margin-top: calc(var(--radius-field) * -1); padding-block: var(--space-section) calc(var(--space-section) + var(--radius-field)); background: var(--white); border-radius: var(--radius-field) var(--radius-field) 0 0; }
.cases__lead { margin-top: 24px; max-width: 36em; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--gray-700); }

.pipe { margin-top: clamp(56px, 7vw, 112px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; scroll-margin-top: 110px; }
.pipe__media { position: relative; }
.pipe__video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-6); background: var(--gray-200); }
.pipe__toggle { position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 10px; min-height: 34px; padding: 6px 14px 6px 12px; border: 0; border-radius: var(--radius-full); background: var(--gray-950); color: var(--white); font-size: 13px; font-weight: var(--fw-medium); transition: background-color .2s ease; }
.pipe__toggle:hover { background: var(--black); }
.pipe__toggle-icon { width: 11px; height: 12px; border-inline: 4px solid var(--primary-500); }
.pipe__toggle[aria-pressed="true"] .pipe__toggle-icon { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent var(--primary-500); }
.pipe__media figcaption { margin-top: 14px; font-size: 14px; color: var(--gray-600); }
.pipe__copy p { margin-top: 20px; max-width: 30em; color: var(--gray-700); }
.pipe__copy .checks { margin-top: 24px; }

.gallery { margin-top: var(--space-section); scroll-margin-top: 110px; }
.gallery__head { display: grid; gap: 16px; }
.gallery__head p { max-width: none; color: var(--gray-700); }
.works { margin-top: clamp(40px, 5vw, 72px); }
.works__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-size: clamp(1.25rem, 1.8vw, 1.625rem); font-weight: var(--fw-medium); letter-spacing: -0.025em; color: var(--fg-strong); }
.works__title span { font-size: 15px; letter-spacing: 0; color: var(--fg-primary); }
.works__grid { margin-top: 20px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.work { display: grid; align-content: start; gap: 8px; padding: clamp(18px, 1.8vw, 26px); background: var(--gray-50); border: 1px solid var(--border-weak); border-radius: var(--radius-5); }
.work .ico { width: 34px; height: 34px; margin-bottom: 6px; }
.work__title { font-size: clamp(1rem, 1.25vw, 1.1875rem); font-weight: var(--fw-medium); letter-spacing: -0.02em; line-height: 1.4; color: var(--fg-strong); }
.work__note { font-size: 14px; line-height: 1.55; color: var(--gray-600); }
@media (max-width: 1080px) { .works__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gallery__grid { margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 3.6vw, 56px) clamp(16px, 2vw, 28px); align-items: start; }
.shot__open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--gray-100); border-radius: var(--radius-6); overflow: hidden; cursor: zoom-in; }
.shot__open { aspect-ratio: 4 / 3; }
.shot__open img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.1s var(--ease-out); }
.shot__open:hover img { scale: 1.045; }
.shot__plus {
  position: absolute; right: 16px; bottom: 16px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23191C1F' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 20px no-repeat;
  box-shadow: 0 8px 20px -8px rgba(11, 13, 15, .4);
  scale: 0; transition: scale .5s var(--ease-out);
}
.shot__open:hover .shot__plus, .shot__open:focus-visible .shot__plus { scale: 1; }
@media (hover: none) { .shot__plus { scale: 1; width: 40px; height: 40px; right: 12px; bottom: 12px; } }
.shot__cap { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; }
.shot__cap strong { font-size: clamp(1.125rem, 1.6vw, 1.5rem); font-weight: var(--fw-medium); letter-spacing: -0.025em; line-height: 1.3; }
.shot__cap span { flex: none; padding: 5px 14px; border: 1.5px solid var(--gray-950); border-radius: var(--radius-full); font-size: 13px; font-weight: var(--fw-medium); color: var(--gray-950); line-height: 1.4; }

/* 사진 크게 보기 */
.lightbox { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: clamp(64px, 8vh, 96px) clamp(16px, 7vw, 120px) clamp(24px, 5vh, 56px); border: 0; background: var(--black); color: var(--white); overflow: hidden; }
.lightbox:not([open]) { display: none; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: var(--black); }
.lightbox__figure { display: grid; gap: 16px; justify-items: center; max-height: 100%; min-height: 0; }
.lightbox__figure img { max-width: 100%; max-height: calc(100dvh - 220px); width: auto; height: auto; object-fit: contain; border-radius: var(--radius-4); background: var(--gray-900); }
.lightbox__figure figcaption { font-size: 17px; font-weight: var(--fw-medium); letter-spacing: -0.02em; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--white); color: var(--gray-950); transition: background-color .2s ease, scale .4s var(--ease-out); }
.lightbox__btn:hover { background: var(--primary-500); scale: 1.06; }
.lightbox__btn:focus-visible { outline: 3px solid var(--primary-500); outline-offset: 3px; border-radius: 50%; }
.lightbox__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__close { top: clamp(12px, 2.4vw, 28px); right: clamp(12px, 2.4vw, 28px); }
.lightbox__prev { left: clamp(12px, 2.4vw, 28px); top: 50%; margin-top: -26px; }
.lightbox__next { right: clamp(12px, 2.4vw, 28px); top: 50%; margin-top: -26px; }

@media (max-width: 820px) {
  .pipe, .gallery__head { grid-template-columns: minmax(0, 1fr); }
  .gallery__grid { grid-template-columns: minmax(0, 1fr); }
  .works__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work { padding: 16px; }
  .lightbox { padding-inline: 12px; padding-bottom: 96px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 24px; margin-top: 0; }
  .lightbox__prev { left: calc(50% - 62px); }
  .lightbox__next { right: calc(50% - 62px); }
}
@media (prefers-reduced-motion: reduce) {
  .shot__open img, .shot__plus, .lightbox__btn { transition: none; }
}

/* 모바일 비교표: 가로 스크롤 없이 다섯 열이 모두 보이게 좁힙니다. */
@media (max-width: 820px) {
  .table-scroll { overflow-x: visible; }
  .table { min-width: 0; table-layout: fixed; font-size: 14px; }
  .table th, .table td { padding: 14px 2px; }
  .table thead th { font-size: 11.5px; line-height: 1.3; word-break: keep-all; }
  .table thead th:first-child, .table tbody th { width: 37%; }
  .table thead .is-us { font-size: 14px; }
  .table tbody th { font-size: 14px; line-height: 1.4; padding-right: 8px; }
  .mark { width: 16px; height: 16px; }
  .mark--part { border-width: 2.5px; }
  .mark--no { width: 12px; height: 3px; }
}

/* ───────── 제목 서체: 히어로와 각 섹션 제목은 얇은 명조(Noto Serif KR Light) ───────── */
.hero__title, .poster, .display, .mega, .stop__title, .feature__title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-synthesis: none;
  letter-spacing: -0.045em;
}
/* 명조는 글자 폭이 넓어 첫 화면 제목만 조금 줄입니다. */
.hero__title { font-size: clamp(2.4rem, 4.9vw, 5.2rem); }
@media (max-width: 820px) { .hero__title { font-size: clamp(2.1rem, 9.6vw, 3rem); } }
.newsletter__copy .poster { font-size: clamp(2.3rem, 5.4vw, 5.2rem); }
/* 필름 자막 박스 제목은 작은 크기에서도 또렷하도록 같은 명조의 미디엄(500)으로 씁니다. */
.stop__title { font-weight: 500; }
/* 흐르는 문구도 제목과 같은 얇은 명조로 씁니다. */
.marquee__track span { font-family: var(--font-heading); font-weight: 300; font-synthesis: none; letter-spacing: -0.045em; }
