@font-face {
  font-family: "Pretendard Latin";
  src: url("fonts/web/PretendardLatin-Variable.woff2") format("woff2-variations");
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0-00FF, U+2010-2027, U+2030-203A, U+2190-2193, U+2212;
}
@font-face {
  font-family: "Noto Sans KR";
  src: url("fonts/web/NotoSansKR-Light-rare.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
  unicode-range: U+AC00-D7A3, U+3000-303F, U+3130-318F, U+FF01-FF5E, U+2022, U+2026;
}
@font-face {
  font-family: "Noto Sans KR";
  src: url("fonts/web/NotoSansKR-Light-common.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
  unicode-range: U+AC00-D7A3, U+3000-303F, U+3130-318F, U+FF01-FF5E, U+2022, U+2026;
}
@font-face {
  font-family: "Noto Sans KR";
  src: url("fonts/web/NotoSansKR-Regular-rare.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+AC00-D7A3, U+3000-303F, U+3130-318F, U+FF01-FF5E, U+2022, U+2026;
}
@font-face {
  font-family: "Noto Sans KR";
  src: url("fonts/web/NotoSansKR-Regular-common.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+AC00-D7A3, U+3000-303F, U+3130-318F, U+FF01-FF5E, U+2022, U+2026;
}
@font-face {
  font-family: "Noto Sans KR";
  src: url("fonts/web/NotoSansKR-Medium-rare.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
  unicode-range: U+AC00-D7A3, U+3000-303F, U+3130-318F, U+FF01-FF5E, U+2022, U+2026;
}
@font-face {
  font-family: "Noto Sans KR";
  src: url("fonts/web/NotoSansKR-Medium-common.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
  unicode-range: U+AC00-D7A3, U+3000-303F, U+3130-318F, U+FF01-FF5E, U+2022, U+2026;
}
@font-face {
  font-family: "Noto Sans KR";
  src: url("fonts/web/NotoSansKR-Bold-rare.woff2") format("woff2");
  font-weight: 600 800;
  font-display: swap;
  unicode-range: U+AC00-D7A3, U+3000-303F, U+3130-318F, U+FF01-FF5E, U+2022, U+2026;
}
@font-face {
  font-family: "Noto Sans KR";
  src: url("fonts/web/NotoSansKR-Bold-common.woff2") format("woff2");
  font-weight: 600 800;
  font-display: swap;
  unicode-range: U+AC00-D7A3, U+3000-303F, U+3130-318F, U+FF01-FF5E, U+2022, U+2026;
}
@font-face {
  font-family: "Noto Sans KR";
  src: url("fonts/web/NotoSansKR-Heavy-rare.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
  unicode-range: U+AC00-D7A3, U+3000-303F, U+3130-318F, U+FF01-FF5E, U+2022, U+2026;
}
@font-face {
  font-family: "Noto Sans KR";
  src: url("fonts/web/NotoSansKR-Heavy-common.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
  unicode-range: U+AC00-D7A3, U+3000-303F, U+3130-318F, U+FF01-FF5E, U+2022, U+2026;
}
@font-face {
  font-family: "Saira Display";
  src: url("fonts/web/SairaExpanded.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Saira Display";
  src: url("fonts/web/SairaExpanded-Italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
/* ==========================================================================
   CARWASH RUN 마산 본점 · Cinematic 버전
   (어두운 시네마틱 히어로 + 글래스 UI + 스크롤 리빌)
   ========================================================================== */
:root {
  --display: "Saira Display", "Pretendard Latin", "Noto Sans KR", sans-serif;
  --font: "Pretendard Latin", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --bg: #050608;
  --bg-alt: #0a0c10;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-solid: #0e1116;
  --line: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --muted: #a8a8a8;
  --silver: #bdc6d5;
  --blue: #013de4;
  --blue-hi: #5b86ff;
  --pill-bg: #ffffff;
  --pill-fg: #0a0a0a;
  --glass: rgba(255, 255, 255, 0.07);
  --max: 1180px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  /* --- 고정 색 (테마와 무관하게 어두운 히어로·헤더 위에서 쓰는 색) --- */
  --on-dark: #fff;
  --on-light: #0a0a0a;
  --hero-bg: #000;
  --hero-fade: #050608;
  --hero-text: #e3e8f2;
  --hero-cap: #cfd6e6;
  --hero-dim: #c5ccda;
  --hero-faint: #8892a6;
  --glass-dark: rgba(10, 12, 16, 0.45);
  --glass-dark-2: rgba(10, 12, 16, 0.5);
  --glass-dark-3: rgba(10, 12, 16, 0.55);
  --menu-bg: rgba(8, 10, 14, 0.92);
  --glass-line: rgba(255, 255, 255, 0.16);
  --glass-line-2: rgba(255, 255, 255, 0.22);
  --text-shadow: rgba(0, 0, 0, 0.6);
  --blue-glow: rgba(1, 61, 228, 0.35);
  --focus: var(--blue-hi);
  --focus-on-dark: #5b86ff;

  /* --- 글자 크기 단계 --- */
  --fs-2xs: 12px;
  --fs-xs: 13px;
  --fs-sm: 14px;
  --fs-base: 15px;
  --fs-md: 16px;
  --fs-lg: 17px;
  --fs-xl: 20px;
  --fs-2xl: 24px;
  --fs-3xl: 32px;

  /* --- 모서리 --- */
  --r-sm: 14px;
  --r-md: 24px;
  --r-lg: 28px;
  --r-pill: 999px;

  /* --- 움직임 시간 --- */
  --dur-fast: 0.2s;
  --dur-base: 0.35s;
  --dur-slow: 0.6s;
  --dur-xslow: 0.85s;
}

:root[data-theme="light"] {
  --bg: #f4f4f4;
  --bg-alt: #eaebed;
  --panel: rgba(0, 0, 0, 0.04);
  --panel-solid: #ffffff;
  --line: rgba(0, 0, 0, 0.12);
  --text: #0a0a0a;
  --muted: #555a63;
  --silver: #3c4350;
  --blue-hi: #013de4;
  --pill-bg: #0a0a0a;
  --pill-fg: #ffffff;
  --glass: rgba(0, 0, 0, 0.05);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ul, figure, dl { margin: 0; }
ul { padding: 0; list-style: none; }
.wrap { width: min(var(--max), 100% - 48px); margin-inline: auto; }
section[id] { scroll-margin-top: 20px; }

/* ---------- Pills ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border-radius: var(--r-pill); border: 1px solid transparent;
  background: var(--pill-bg); color: var(--pill-fg);
  font-weight: 700; font-size: var(--fs-md); letter-spacing: 0.02em;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast);
  width: max-content; max-width: 100%;
}
.pill i { font-style: normal; transition: transform var(--dur-fast) var(--ease); }
.pill { position: relative; overflow: hidden; transform: translate(var(--tx, 0px), var(--ty, 0px)); }
.pill > * { position: relative; }
.pill::before { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, 0.4) 50%, transparent 68%); transform: translateX(-130%); transition: transform var(--dur-xslow) var(--ease); pointer-events: none; }
.pill:hover::before { transform: translateX(130%); }
.pill:hover { transform: translate(var(--tx, 0px), calc(var(--ty, 0px) - 2px)); box-shadow: 0 10px 30px var(--blue-glow); }
.pill:hover i { transform: translateX(4px); }
.pill-sm { min-height: 44px; padding: 0 20px; font-size: var(--fs-sm); }
.pill-glass {
  background: var(--glass); color: var(--text); border-color: var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.pill-naver { margin: 28px 0 4px; display: flex; }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 18px 24px auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  pointer-events: none;
}
.hdr > * { pointer-events: auto; }
.hdr-brand { display: flex; align-items: center; gap: 12px; color: var(--on-dark); }
.hdr-brand img { width: 150px; height: auto; }
.tag {
  padding: 4px 11px; border-radius: var(--r-pill); background: var(--on-dark); color: var(--on-light);
  font-family: var(--display); font-weight: 700; font-size: var(--fs-2xs); letter-spacing: 0.12em;
}
.hdr-nav {
  display: flex; gap: 4px; padding: 6px;
  border-radius: var(--r-pill); border: 1px solid var(--glass-line);
  background: var(--glass-dark);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.hdr-nav a {
  padding: 9px 16px; border-radius: var(--r-pill); color: var(--on-dark);
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.1em;
  transition: background var(--dur-fast);
}
.hdr-nav a:hover, .hdr-nav a.is-on { background: var(--glass-line); }
.hdr-tools { display: flex; align-items: center; gap: 10px; }
.hdr .pill { background: var(--on-dark); color: var(--on-light); }
.tgl {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--glass-line); background: var(--glass-dark);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  display: grid; place-items: center; color: var(--on-dark);
}
.tgl svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tgl .i-moon { display: none; }
:root[data-theme="light"] .tgl .i-sun { display: none; }
:root[data-theme="light"] .tgl .i-moon { display: block; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--glass-line); background: var(--glass-dark-3); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--on-dark); transition: transform var(--dur-fast), top var(--dur-fast); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero-wrap { position: relative; height: 240svh; }
.hero {
  position: sticky; top: 0; height: 100svh; min-height: 560px;
  display: flex; align-items: center; overflow: hidden;
  background: var(--hero-bg); color: var(--on-dark); isolation: isolate;
}
.hero-stage { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse 60% 70% at 72% 52%, rgba(30, 58, 150, 0.34), transparent 70%), var(--hero-bg); }
.gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-photo { display: none; }
.no-gl .hero-photo { display: block; }
.no-gl .gl { display: none; }
.hero-inner { opacity: var(--o1, 1); transform: translateY(var(--y1, 0)); will-change: opacity, transform; }
.hero-cap2 { position: absolute; z-index: 2; left: max(24px, calc((100% - var(--max)) / 2)); top: 50%; transform: translateY(-50%); opacity: var(--o2, 0); pointer-events: none; }
.hero-cap2 h2 { margin-top: 20px; font-size: clamp(34px, 4.6vw, 72px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.1; }
.hero-cap2 p:last-child { margin-top: 20px; color: var(--hero-cap); font-size: clamp(15px, 1.4vw, 19px); }
.inspect { position: absolute; z-index: 3; right: 24px; bottom: 64px; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; opacity: var(--o1, 1); }
.inspect-cap { max-width: 22em; text-align: right; font-size: var(--fs-sm); color: var(--hero-dim); line-height: 1.6; }
.inspect-btns { display: flex; gap: 8px; }
.inspect-btns button {
  padding: 10px 20px; border-radius: var(--r-pill); border: 1px solid var(--glass-line-2);
  background: var(--glass-dark-2); color: var(--on-dark); font-family: var(--display); font-weight: 600; font-size: var(--fs-xs); letter-spacing: 0.18em;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: all var(--dur-fast) var(--ease);
}
.inspect-btns button:hover { border-color: var(--blue-hi); }
.inspect-btns button.is-on { background: var(--on-dark); color: var(--on-light); border-color: transparent; }
.hero-photo {
  position: absolute; right: -5%; top: 0; height: 100%; width: auto; max-width: none;
  transform: translate3d(calc(var(--px, 0) * -14px), calc(var(--py, 0) * -10px), 0) scale(1.03);
  transition: transform var(--dur-slow) var(--ease);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, var(--hero-bg) 30%);
  mask-image: linear-gradient(90deg, transparent 0%, var(--hero-bg) 30%);
  animation: photoIn 1.6s var(--ease) both;
}
@keyframes photoIn { from { opacity: 0; filter: blur(10px); } to { opacity: 1; filter: blur(0); } }
.beam {
  position: absolute; top: -20%; width: 22vw; height: 120%;
  background: linear-gradient(180deg, rgba(170, 200, 255, 0.42), rgba(170, 200, 255, 0) 78%);
  filter: blur(26px); mix-blend-mode: screen; opacity: 0.55;
  transform-origin: 50% 0;
}
.beam-a { left: 46%; transform: rotate(22deg); animation: sway 9s ease-in-out infinite alternate; }
.beam-b { left: 58%; width: 12vw; opacity: 0.4; transform: rotate(30deg); animation: sway 12s ease-in-out infinite alternate-reverse; }
@keyframes sway { from { transform: rotate(18deg); opacity: 0.35; } to { transform: rotate(27deg); opacity: 0.62; } }
.dust { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.8; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--hero-bg) 0%, var(--hero-bg) 34%, rgba(0, 0, 0, 0) 62%),
    linear-gradient(0deg, var(--hero-fade) 0%, rgba(5, 6, 8, 0) 26%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0) 22%);
}
.hero-inner { position: relative; z-index: 2; width: min(var(--max), 100% - 48px); margin-inline: auto; padding: 120px 0 130px; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 600; font-size: var(--fs-xs); letter-spacing: 0.24em; color: var(--silver);
}
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-hi); box-shadow: 0 0 0 5px rgba(91, 134, 255, 0.2); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(91, 134, 255, 0); } }
.hero h1 { margin-top: 26px; font-weight: 700; letter-spacing: -0.045em; line-height: 1.08; }
.hero h1 { font-size: clamp(34px, 5vw, 78px); }
.hero h1 span.l1, .hero h1 span.l2, .hero h1 span.l3 { display: block; white-space: nowrap; }
.hero h1 .l1 { font-size: 0.8em; }
.hero h1 .l2 .en { font-family: var(--display); font-style: italic; font-weight: 600; letter-spacing: 0.04em; margin-right: 0.05em; }
.hero h1 .l2 .en em { font-style: italic; color: var(--blue-hi); }
.hero h1 .l1, .hero h1 .l2, .hero h1 .l3 { animation: rise 1s var(--ease) both; }
.hero h1 .l2 { animation-delay: 0.12s; }
.hero h1 .l3 { animation-delay: 0.22s; }
.hero-sub { margin-top: 30px; font-size: clamp(15px, 1.45vw, 19px); line-height: 1.7; color: var(--hero-text); max-width: 30em; animation: rise 1s 0.3s var(--ease) both; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; animation: rise 1s 0.44s var(--ease) both; }
.hero .pill:not(.pill-glass) { background: var(--on-dark); color: var(--on-light); }
.hero .pill-glass { color: var(--on-dark); border-color: var(--glass-line-2); }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero-foot {
  position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 26px;
  display: flex; justify-content: space-between; align-items: end; gap: 16px;
  font-size: var(--fs-xs); color: var(--hero-dim);
}
.area-line b { font-family: var(--display); letter-spacing: 0.2em; margin-right: 14px; color: var(--blue-hi); font-size: var(--fs-2xs); }
.scroll-cue { font-family: var(--display); letter-spacing: 0.3em; font-size: var(--fs-2xs); color: var(--hero-faint); writing-mode: vertical-rl; }
.scroll-cue::after { content: ""; display: inline-block; width: 1px; height: 38px; margin-top: 10px; background: linear-gradient(var(--hero-faint), transparent); animation: drip 2s ease-in-out infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 60% { transform: scaleY(1); transform-origin: top; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Glance ---------- */
.glance { padding: 56px 0 0; }
.g-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.g-card { padding: 34px 32px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); }
.g-num { font-family: var(--display); font-weight: 600; font-size: clamp(54px, 6vw, 84px); line-height: 1; letter-spacing: -0.03em; color: var(--blue-hi); }
.g-card h3 { margin-top: 18px; font-size: var(--fs-xl); font-weight: 700; }
.g-card p { margin-top: 8px; font-size: var(--fs-base); color: var(--muted); }

/* ---------- Sections ---------- */
.sec { padding: 130px 0; }
.sec-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.eyebrow { font-family: var(--display); font-weight: 600; font-size: var(--fs-xs); letter-spacing: 0.26em; color: var(--blue-hi); }
.sec-head h2 { margin-top: 18px; font-weight: 800; font-size: clamp(30px, 4.6vw, 64px); line-height: 1.1; letter-spacing: -0.02em; text-transform: uppercase; font-family: var(--font); font-style: italic; }
.sec-head h2 .dim { font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.sec-head h2 .ko { font-style: normal; text-transform: none; font-weight: 700; letter-spacing: -0.03em; color: var(--muted); }

.sec-head h2:lang(ko) { word-break: keep-all; }
.lead { margin-top: 22px; color: var(--muted); font-size: var(--fs-lg); max-width: 32em; }
.sec-head { margin-bottom: 56px; }
.res-grid .sec-head, .res-grid .form { margin: 0; }

/* ---------- Programs ---------- */
.prog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.prog { display: block; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--panel-solid); transition: transform var(--dur-base) var(--ease), border-color var(--dur-base); }
.prog:hover { transform: translateY(-8px); border-color: var(--blue-hi); }
.prog-img { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.prog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-xslow) var(--ease); }
.prog:hover .prog-img img { transform: scale(1.06); }
.prog-img b { position: absolute; top: 18px; left: 20px; font-family: var(--display); font-size: var(--fs-base); letter-spacing: 0.14em; color: var(--on-dark); text-shadow: 0 1px 12px var(--text-shadow); }
.prog-body { padding: 26px 28px 30px; }
.prog-body h3 { font-family: var(--font); font-weight: 700; font-size: var(--fs-2xl); letter-spacing: -0.01em; }
.prog-body p { margin-top: 10px; color: var(--muted); font-size: var(--fs-md); line-height: 1.65; }
.more { display: inline-flex; gap: 8px; margin-top: 22px; font-family: var(--display); font-weight: 600; font-size: var(--fs-xs); letter-spacing: 0.18em; color: var(--blue-hi); }
.more i { font-style: normal; transition: transform var(--dur-fast) var(--ease); }
.prog:hover .more i { transform: translateX(5px); }

/* ---------- Process ---------- */
.proc-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.proc-tabs button {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px;
  border-radius: var(--r-pill); border: 1px solid var(--line); background: transparent;
  font-family: var(--display); font-weight: 600; font-size: var(--fs-sm); letter-spacing: 0.16em; color: var(--muted);
  transition: all var(--dur-fast) var(--ease);
}
.proc-tabs button b { color: var(--blue-hi); }
.proc-tabs button:hover { color: var(--text); }
.proc-tabs button.is-on { background: var(--pill-bg); color: var(--pill-fg); border-color: transparent; }
.proc-tabs button.is-on b { color: var(--blue); }
.proc-body { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; align-items: stretch; }
.proc-text { padding: 44px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel-solid); display: flex; flex-direction: column; justify-content: center; min-height: 360px; }
.proc-no { font-family: var(--font); font-weight: 700; letter-spacing: -0.05em; font-size: clamp(80px, 10vw, 140px); line-height: 0.9; color: var(--blue-hi); opacity: 0.9; }
.proc-text h3 { margin-top: 20px; font-size: var(--fs-3xl); font-weight: 700; letter-spacing: -0.02em; }
.proc-text p { margin-top: 14px; color: var(--muted); font-size: var(--fs-lg); line-height: 1.75; max-width: 28em; }
.proc-img { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); min-height: 360px; position: relative; }
.proc-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.proc-body.swap .proc-text, .proc-body.swap .proc-img { animation: swapIn var(--dur-slow) var(--ease); }
@keyframes swapIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Work ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filters button { padding: 10px 20px; border-radius: var(--r-pill); border: 1px solid var(--line); background: transparent; font-family: var(--display); font-weight: 600; font-size: var(--fs-xs); letter-spacing: 0.16em; color: var(--muted); transition: all var(--dur-fast); }
.filters button.is-on { background: var(--pill-bg); color: var(--pill-fg); border-color: transparent; }
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.w-card { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: var(--panel-solid); transition: opacity var(--dur-base), transform var(--dur-base) var(--ease); }
.w-card:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.w-card img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-xslow) var(--ease); }
.w-card:hover img { transform: scale(1.07); }
.w-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; color: var(--on-dark); font-size: var(--fs-base); background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), transparent); }
.w-card figcaption b { display: block; font-family: var(--display); font-weight: 600; font-size: var(--fs-2xs); letter-spacing: 0.2em; color: var(--silver); margin-bottom: 2px; }
.w-card.is-hidden { display: none; }

/* ---------- Reservation / forms ---------- */
.res-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.tel-line { display: flex; align-items: center; gap: 10px; margin-top: 22px; width: max-content; font-family: var(--display); font-weight: 600; font-size: var(--fs-2xl); letter-spacing: 0.02em; }
.tel-line svg { width: 20px; height: 20px; fill: var(--blue-hi); }
.glass { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); padding: 34px; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.form fieldset { border: 0; padding: 0; margin: 0 0 26px; }
.form legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 12px; font-family: var(--display); font-weight: 600; font-size: var(--fs-xs); letter-spacing: 0.2em; }
.form legend b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: var(--on-dark); font-size: var(--fs-2xs); letter-spacing: 0; }
.form legend small { color: var(--muted); letter-spacing: 0.1em; font-weight: 400; text-transform: uppercase; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 10px 18px; border-radius: var(--r-pill); border: 1px solid var(--line); background: transparent; font-size: var(--fs-base); font-weight: 500; transition: all var(--dur-fast); }
.chip:hover { border-color: var(--blue-hi); }
.chip[aria-pressed="true"] { background: var(--pill-bg); color: var(--pill-fg); border-color: transparent; font-weight: 700; }
.summary { margin: 4px 0 22px; padding: 14px 18px; border: 1px dashed var(--line); border-radius: var(--r-sm); font-size: var(--fs-base); color: var(--muted); }
.summary.ready { color: var(--text); border-style: solid; border-color: var(--blue-hi); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.actions .pill { min-height: 48px; padding: 0 22px; font-size: var(--fs-base); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 24px; }
.fields label span { display: block; margin-bottom: 8px; font-family: var(--display); font-weight: 600; font-size: var(--fs-2xs); letter-spacing: 0.2em; color: var(--muted); }
.fields input { width: 100%; padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid var(--line); background: transparent; color: var(--text); font: inherit; font-size: var(--fs-md); }
.fields input:focus { outline: 2px solid var(--focus); outline-offset: 1px; }

/* ---------- Contact ---------- */
.c-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.c-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 52px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel); transition: transform var(--dur-base) var(--ease), border-color var(--dur-base); min-height: 170px; }
.c-card:hover { transform: translateY(-6px); border-color: var(--blue-hi); }
.c-card span { font-family: var(--display); font-weight: 600; font-size: var(--fs-2xs); letter-spacing: 0.22em; color: var(--blue-hi); }
.c-card strong { font-size: var(--fs-lg); font-weight: 700; word-break: break-all; }
.c-card i { position: absolute; right: 22px; bottom: 18px; font-style: normal; font-size: var(--fs-xl); transition: transform var(--dur-base) var(--ease); }
.c-card:hover i { transform: translateX(5px); }

/* ---------- Partnership ---------- */
.ptypes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 28px; }
.ptypes li { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel); }
.ptypes b { font-family: var(--display); font-size: var(--fs-xs); letter-spacing: 0.2em; color: var(--blue-hi); }
.ptypes strong { font-size: var(--fs-lg); font-weight: 700; }
.p-box { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 16px; align-items: start; }
.p-left h3 { font-family: var(--font); font-weight: 700; font-size: var(--fs-2xl); letter-spacing: -0.01em; margin-bottom: 18px; }
.p-left li { padding: 13px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: var(--fs-md); }
.p-left li::before { content: "·"; margin-right: 10px; color: var(--blue-hi); font-weight: 900; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.faq-wrap .sec-head { margin: 0; position: sticky; top: 100px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 4px; font-size: var(--fs-lg); font-weight: 600; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: var(--fs-2xl); font-weight: 300; color: var(--blue-hi); transition: transform var(--dur-base) var(--ease); flex: none; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 4px 26px; color: var(--muted); font-size: var(--fs-md); line-height: 1.75; }
.inline-link { color: var(--blue-hi); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.ftr { padding: 80px 0 34px; border-top: 1px solid var(--line); background: var(--bg-alt); }
.ftr-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.ftr-brand img { width: 200px; filter: none; }
:root[data-theme="light"] .ftr-brand img, :root[data-theme="light"] .hdr-brand img { filter: invert(1); }
:root[data-theme="light"] .hdr-brand img { filter: none; }
.ftr-brand p { margin-top: 14px; font-family: var(--display); font-size: var(--fs-2xs); letter-spacing: 0.22em; color: var(--muted); }
.ftr-info { display: grid; gap: 8px; font-size: var(--fs-base); color: var(--muted); }
.ftr-info span { display: inline-block; width: 92px; font-family: var(--display); font-weight: 600; font-size: var(--fs-2xs); letter-spacing: 0.18em; color: var(--blue-hi); }
.ftr-info a:hover { color: var(--text); }
.ftr-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--muted); letter-spacing: 0.04em; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity var(--dur-xslow) var(--ease), transform var(--dur-xslow) var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.js-off .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hdr { inset: 12px 14px auto; }
  .hdr-brand img { width: 130px; }
  .burger { display: block; }
  .hdr .pill-sm { display: none; }
  .hdr-nav {
    position: fixed; inset: 70px 14px auto; flex-direction: column; gap: 2px; padding: 12px; border-radius: var(--r-lg);
    background: var(--menu-bg); opacity: 0; transform: translateY(-10px); pointer-events: none; transition: all var(--dur-base) var(--ease);
  }
  .hdr-nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .hdr-nav a { padding: 14px 16px; font-size: var(--fs-base); color: var(--on-dark); }
  :root[data-theme="light"] .dpage .hdr-nav a { color: var(--on-dark); }
  :root[data-theme="light"] .dpage .hdr-nav { background: var(--menu-bg); }
  .work-grid { grid-template-columns: repeat(3, 1fr); }
  .c-grid, .ptypes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .hdr { inset: 12px 14px auto; }
  .hdr-brand img { width: 118px; }
  .burger { display: block; }
  .hdr .pill-sm { display: none; }
  .hdr-nav {
    position: fixed; inset: 70px 14px auto; flex-direction: column; gap: 2px; padding: 12px; border-radius: var(--r-lg);
    background: var(--menu-bg); opacity: 0; transform: translateY(-10px); pointer-events: none; transition: all var(--dur-base) var(--ease);
  }
  .hdr-nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .hdr-nav a { padding: 14px 16px; font-size: var(--fs-base); }

  .hero-wrap { height: 210svh; }
  .hero { align-items: flex-end; }
  .hero-cap2 { left: 18px; top: auto; bottom: 150px; transform: none; }
  .inspect { right: 18px; left: 18px; top: 82px; bottom: auto; align-items: flex-start; flex-direction: column-reverse; gap: 8px; }
  .inspect-cap { text-align: left; font-size: var(--fs-xs); }
  .hero-photo { right: 0; width: 100%; height: 62%; object-fit: cover; object-position: 66% 30%; transform: none; -webkit-mask-image: linear-gradient(0deg, transparent 0%, var(--hero-bg) 45%); mask-image: linear-gradient(0deg, transparent 0%, var(--hero-bg) 45%); }
  .beam { display: none; }
  .hero-shade { background: linear-gradient(0deg, var(--hero-bg) 0%, var(--hero-bg) 30%, rgba(0, 0, 0, 0.1) 62%), linear-gradient(180deg, var(--text-shadow), transparent 20%); }
  .hero-inner { padding: 0 0 120px; }
  .hero h1 { font-size: clamp(30px, 9.4vw, 52px); }
  .hero h1 span.l1, .hero h1 span.l2, .hero h1 span.l3 { white-space: normal; }
  .hero-foot { left: 18px; right: 18px; }
  .scroll-cue { display: none; }
  .area-line { font-size: var(--fs-2xs); line-height: 1.7; }
  .area-line b { display: block; margin: 0 0 2px; }

  .g-grid, .prog-grid { grid-template-columns: 1fr; }
  .sec { padding: 84px 0; }
  .sec-head { margin-bottom: 36px; }
  .proc-body, .res-grid, .p-box, .faq-wrap { grid-template-columns: 1fr; }
  .res-grid { gap: 32px; }
  .faq-wrap { gap: 30px; }
  .faq-wrap .sec-head { position: static; }
  .proc-text { padding: 30px 26px; min-height: 0; }
  .proc-img { min-height: 260px; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .work-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .w-card:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 11; }
  .c-grid, .ptypes { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .glass { padding: 24px 20px; border-radius: var(--r-md); }
  .actions .pill, .hero-cta .pill { flex: 1 1 100%; }
  .hero-cta .pill + .pill { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* 헤더 로고: 밝은 화면에서도 보이도록 어두운 글래스 바탕 */
.hdr-brand {
  padding: 8px 16px 8px 14px; border-radius: var(--r-pill);
  border: 1px solid var(--glass-line); background: var(--glass-dark-2);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}

.hero.is-focus .hero-inner { opacity: 0.12; pointer-events: none; transition: opacity var(--dur-slow) var(--ease); }
.hero.is-dragging { cursor: grabbing; user-select: none; }

/* ---------- 모바일 하단 빠른 예약 바 ---------- */
.dock { display: none; }
@media (max-width: 760px) {
  .dock {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
    display: grid; grid-template-columns: 1fr 1.1fr 1.5fr; gap: 6px; padding: 6px;
    border-radius: var(--r-pill); border: 1px solid var(--glass-line);
    background: rgba(10, 12, 16, 0.78); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    transform: translateY(150%); opacity: 0; transition: transform var(--dur-base) var(--ease), opacity var(--dur-base);
  }
  .dock.show { transform: none; opacity: 1; }
  .dock a { min-height: 46px; display: flex; align-items: center; justify-content: center; border-radius: var(--r-pill); font-size: var(--fs-base); font-weight: 700; color: var(--on-dark); }
  .dock a.main { background: var(--on-dark); color: var(--on-light); }
  :root[data-theme="light"] .dock { background: rgba(255, 255, 255, 0.85); border-color: rgba(0, 0, 0, 0.12); }
  :root[data-theme="light"] .dock a { color: var(--on-light); }
  :root[data-theme="light"] .dock a.main { background: var(--on-light); color: var(--on-dark); }
  body { padding-bottom: 84px; }
  .hero-foot { opacity: var(--o1, 1); }
}

/* ---------- 미세 인터랙션 ---------- */
.eyebrow .ko { font-family: var(--font); font-weight: 600; letter-spacing: 0.04em; margin-left: 12px; color: var(--muted); }
.spot-host { position: relative; }
.spot-glow { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity var(--dur-base); background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(91, 134, 255, 0.18), transparent 70%); z-index: 1; }
.spot-host:hover > .spot-glow { opacity: 1; }
:root[data-theme="light"] .spot-glow { background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(1, 61, 228, 0.1), transparent 70%); }
.cursor-ring {
  position: fixed; left: 0; top: 0; z-index: 90; width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 50%; pointer-events: none; opacity: 0;
  transition: width var(--dur-fast) var(--ease), height var(--dur-fast) var(--ease), margin var(--dur-fast) var(--ease), background var(--dur-fast), opacity var(--dur-base), border-color var(--dur-fast);
  mix-blend-mode: difference;
}
.cursor-ring.on { opacity: 1; }
.cursor-ring.is-link { width: 62px; height: 62px; margin: -31px 0 0 -31px; background: var(--glass-line); }
@media (pointer: coarse), (prefers-reduced-motion: reduce) { .cursor-ring { display: none; } }

.sec-head h2:first-child { margin-top: 0; }

.chip-static { cursor: default; pointer-events: none; }
.glass .actions { margin-top: 8px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-grid .sec-head { margin: 0; }
.about-list { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.about-list li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; padding: 30px 0; border-top: 1px solid var(--line); }
.about-no { font-family: var(--font); font-weight: 300; font-size: clamp(40px, 4.4vw, 58px); line-height: 1; letter-spacing: -0.03em; color: var(--text); }
.about-list strong { display: block; font-family: var(--display); font-weight: 600; font-size: var(--fs-sm); letter-spacing: 0.16em; }
.about-list p { margin-top: 8px; color: var(--muted); font-size: var(--fs-md); }
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-list li { grid-template-columns: 72px 1fr; padding: 24px 0; }
}

a.chip { display: inline-flex; align-items: center; }

/* ---------- 접근성: 키보드 포커스 · 본문 바로가기 ---------- */
:where(a, button, input, select, textarea, summary, [tabindex]):focus { outline: none; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--focus); outline-offset: 3px;
}
.hero :focus-visible, .hdr :focus-visible, .dock :focus-visible { outline-color: var(--focus-on-dark); }
.fields input:focus-visible { outline-offset: 1px; }
.skip {
  position: fixed; left: 16px; top: 12px; z-index: 100;
  padding: 12px 20px; border-radius: var(--r-pill);
  background: var(--pill-bg); color: var(--pill-fg); font-size: var(--fs-base); font-weight: 700;
  transform: translateY(-160%); transition: transform var(--dur-fast) var(--ease);
}
.skip:focus, .skip:focus-visible { transform: none; }
main:focus { outline: none; }
/* 닫힌 모바일 메뉴에는 키보드 포커스가 들어가지 않게 */
@media (max-width: 1100px) {
  .hdr-nav { visibility: hidden; transition: opacity var(--dur-base) var(--ease), transform var(--dur-base) var(--ease), visibility 0s linear var(--dur-base); }
  .hdr-nav.open { visibility: visible; transition-delay: 0s; }
}
/* 모바일: 푸터 링크 터치 영역 확대 */
@media (max-width: 760px) {
  .ftr-info a { display: inline-block; padding: 10px 0; margin: -10px 0; }
}

/* ---------- 자격 배지 ---------- */
.foot-l { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cert { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 12px; border-radius: var(--r-pill); border: 1px solid var(--glass-line-2); background: var(--glass-dark-2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--on-dark); font-size: var(--fs-base); font-weight: 700; }
.cert svg { width: 28px; height: 28px; flex: none; padding: 5px; border-radius: 50%; background: var(--blue); fill: none; stroke: var(--on-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; box-sizing: border-box; }
.cert > span { display: flex; flex-direction: column; line-height: 1.3; }
.cert b { font-family: var(--display); font-size: var(--fs-2xs); letter-spacing: 0.22em; color: var(--blue-hi); }
@media (max-width: 960px) { .foot-l { gap: 10px; } .cert { padding: 8px 14px 8px 10px; } }
