/* ═══════════════════════════════════════════════════════════════════
   웨이브온 스윔 — 스타일 정본
   00-디자인보드.png 에서 받아쓴 값만 토큰으로 굳힌다.
   COBALT #0A47FF · AQUA #0CD6D6 · CORAL #FF6B6B · FOG #F5F7FA · NAVY #0E1726
   활자: Pretendard Variable (디자인보드 지정) + IBM Plex Mono(수치 전용 추가)
   조형 원형: 「계측기」 — 눈금·괄호 마크·모노 수치. 카드 그리드 반복을 피한다.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  /* 브랜드 */
  --cobalt: #0a47ff;
  --cobalt-d: #0637c9;
  --cobalt-l: #e8eeff;
  --aqua: #0cd6d6;
  --aqua-d: #08a5a5;
  --coral: #ff6b6b;
  --coral-d: #e04a4a;
  --fog: #f5f7fa;
  --navy: #0e1726;

  /* 중립 */
  --paper: #ffffff;
  --paper-2: #fafbfd;
  --ink: #0e1726;
  --ink-2: #4a5568;
  --ink-3: #7c8798;
  --line: #dfe5ee;
  --line-2: #edf1f7;
  --line-d: rgba(255, 255, 255, 0.16);

  /* 의미색 — 색만으로 전달하지 않는다(글자·아이콘 병기) */
  --good: #0e8f63;
  --warn: #a4650b;
  --stop: #cf2f2f;

  /* 형태 */
  --r1: 4px;
  --r2: 10px;
  --r3: 18px;
  --sh1: 0 1px 2px rgba(14, 23, 38, 0.05), 0 10px 26px rgba(14, 23, 38, 0.06);
  --sh2: 0 20px 46px rgba(10, 71, 255, 0.18);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --gutter: 40px;
  --section: 104px;
  --dock-h: 0px;

  --kr: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Malgun Gothic", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  font-family: var(--kr);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background: var(--fog);
  word-break: keep-all;
  overflow-wrap: break-word;
  padding-bottom: var(--dock-h);
  -webkit-font-smoothing: antialiased;
}
body.has-dock { --dock-h: 84px; }

h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.03em; line-height: 1.25; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }

::selection { background: var(--cobalt); color: #fff; }

:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; border-radius: 2px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  padding: 12px 20px; background: var(--cobalt); color: #fff;
  border-radius: var(--r2); font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 12px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-sm { width: 17px; height: 17px; }
.ico-lg { width: 30px; height: 30px; }

.wrap { width: min(1240px, 100% - var(--gutter) * 2); margin-inline: auto; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ── 등장 효과 ───────────────────────────────────────────────────
   JS 가 없으면 처음부터 보인다. JS 가 있을 때만 감췄다가 스크롤로 켠다. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.68s var(--ease), transform 0.68s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ═════════════════════════════════ 버튼 ═════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 13px 26px;
  border: 1.5px solid transparent; border-radius: var(--r2);
  font-size: 15px; font-weight: 700; letter-spacing: -0.01em;
  cursor: pointer; background: none;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--cobalt); color: #fff; }
.btn-primary:hover { background: var(--cobalt-d); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #1d2a40; }
.btn-secondary { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--cobalt); color: var(--cobalt); }
.btn-ghost-d { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn-ghost-d:hover { background: rgba(255, 255, 255, 0.18); }
.btn-sm { min-height: 46px; padding: 10px 18px; font-size: 14px; }
.btn-full { width: 100%; }

.tlink {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 44px; font-size: 14.5px; font-weight: 700; color: var(--cobalt);
}
.tlink .ico { transition: transform 0.2s var(--ease); }
.tlink:hover .ico { transform: translateX(4px); }
.tlink-d { color: #fff; }

/* ═════════════════════════════════ 헤더 ═════════════════════════ */
.hd {
  position: sticky; top: 0; z-index: 70;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line-2);
}
.hd-in { display: flex; align-items: center; gap: 26px; height: 74px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; letter-spacing: -0.04em; flex: none; }
.logo b { color: var(--cobalt); }
.logo-mark { width: 30px; height: 18px; color: var(--cobalt); fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav a {
  position: relative; padding: 10px 14px; font-size: 15px; font-weight: 600; color: var(--ink-2);
  border-radius: var(--r1); transition: color 0.18s var(--ease);
}
.nav a:hover { color: var(--cobalt); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; background: var(--cobalt); border-radius: 2px;
}
.hd-act { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.ic-btn {
  position: relative; width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: var(--r1); color: var(--ink); background: none; border: 0; cursor: pointer;
  transition: background 0.18s var(--ease);
}
.ic-btn:hover { background: var(--fog); color: var(--cobalt); }
.cart-n {
  position: absolute; top: 6px; right: 5px; min-width: 17px; height: 17px; padding: 0 4px;
  display: grid; place-items: center; background: var(--coral); color: #fff;
  font-family: var(--mono); font-size: 10.5px; font-weight: 600; border-radius: 9px;
}
.menu-btn { display: none; width: 46px; height: 46px; place-items: center; background: none; border: 1px solid var(--line); border-radius: var(--r1); cursor: pointer; }

/* ── 모바일 서랍 ── */
.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw); z-index: 95;
  background: var(--paper); border-left: 1px solid var(--line);
  padding: 22px 24px 40px; overflow-y: auto;
  display: flex; flex-direction: column;
  transform: translateX(101%); transition: transform 0.4s var(--ease);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.drawer-close { width: 46px; height: 46px; display: grid; place-items: center; background: none; border: 1px solid var(--line); border-radius: var(--r1); cursor: pointer; }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a { padding: 15px 2px; font-size: 18px; font-weight: 700; border-bottom: 1px solid var(--line-2); }
.drawer nav a[aria-current="page"] { color: var(--cobalt); }
.drawer-foot { margin-top: 22px; display: grid; gap: 9px; }
.drawer-note { margin-top: 20px; font-size: 12.5px; color: var(--ink-3); line-height: 1.75; }
.scrim { position: fixed; inset: 0; z-index: 90; background: rgba(14, 23, 38, 0.44); opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s; }
.scrim.open { opacity: 1; visibility: visible; }

/* ═════════════════════════════════ 구획 머리 ════════════════════ */
.section { padding: var(--section) 0; }
.section-fog { background: var(--fog); }
.section-paper { background: var(--paper); }

.shead { display: flex; align-items: flex-end; gap: 26px; flex-wrap: wrap; margin-bottom: 46px; }
.shead-txt { flex: 1 1 420px; min-width: 0; }
.snum {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em;
  color: var(--cobalt); text-transform: uppercase; margin-bottom: 14px;
}
.snum::before { content: ""; width: 26px; height: 0; border-top: 2px solid var(--cobalt); }
.stitle { font-size: clamp(27px, 3.4vw, 40px); }
.slead { margin-top: 14px; font-size: 16.5px; color: var(--ink-2); max-width: 62ch; }

/* 눈금자 — 구획 구분에 쓰는 계측기 장식 */
.rule { position: relative; height: 14px; margin-bottom: 34px; border-top: 1px solid var(--line); }
.rule::before, .rule::after { content: ""; position: absolute; top: 0; width: 1px; height: 10px; background: var(--line); }
.rule::before { left: 0; }
.rule::after { left: 25%; }

/* ═════════════════════════════════ 히어로 ══════════════════════ */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 42%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(104deg, rgba(6, 24, 74, 0.94) 0%, rgba(8, 40, 120, 0.72) 42%, rgba(10, 71, 255, 0.14) 76%, rgba(10, 71, 255, 0.02) 100%);
}
.hero-in { position: relative; z-index: 2; padding: 108px 0 132px; max-width: 720px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; font-weight: 500;
  padding: 8px 14px; border: 1px solid rgba(255, 255, 255, 0.34); border-radius: 100px;
  margin-bottom: 26px;
}
.hero h1 { font-size: clamp(38px, 6.4vw, 72px); letter-spacing: -0.045em; line-height: 1.1; }
.hero-lead { margin-top: 24px; font-size: clamp(16px, 1.6vw, 18.5px); color: rgba(255, 255, 255, 0.86); max-width: 44ch; }
.hero-cta { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-facts { margin-top: 44px; display: flex; gap: 12px 30px; flex-wrap: wrap; }
.hero-facts li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: rgba(255, 255, 255, 0.8); }
.hero-facts .ico { color: var(--aqua); }

/* 시그니처 — 스크롤에 반응하는 물결 (미지원·모션끔이면 정지 완성 상태) */
.hero-wave { position: absolute; left: -8%; right: -8%; bottom: -1px; z-index: 3; height: 74px; pointer-events: none; }
.hero-wave svg { width: 116%; height: 100%; display: block; }
.wave-a { fill: rgba(245, 247, 250, 0.35); }
.wave-b { fill: var(--fog); }
@keyframes waveDrift { from { transform: translate3d(0, 8px, 0); } to { transform: translate3d(-7%, 0, 0); } }
@keyframes waveDrift2 { from { transform: translate3d(-5%, 12px, 0); } to { transform: translate3d(0, 0, 0); } }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .wave-a { animation: waveDrift linear both; animation-timeline: scroll(root block); animation-range: 0 720px; }
    .wave-b { animation: waveDrift2 linear both; animation-timeline: scroll(root block); animation-range: 0 720px; }
  }
}

/* 구획 점 레일 — 시안 우측 점 표시기 (데스크톱 전용) */
.rail { display: none; position: fixed; right: 26px; top: 50%; transform: translateY(-50%); z-index: 40; flex-direction: column; gap: 4px; }
.rail button {
  position: relative; width: 26px; height: 26px; display: grid; place-items: center;
  background: none; border: 0; cursor: pointer;
}
.rail button::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); opacity: 0.45; transition: all 0.24s var(--ease); }
.rail button:hover::before { opacity: 0.9; }
.rail button[aria-current="true"]::before { background: var(--coral); opacity: 1; width: 9px; height: 9px; box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.18); }

/* ═════════════════════════════════ 물 환경 3면 ═════════════════ */
.envs { display: grid; grid-template-columns: 1.22fr 1fr 0.92fr; gap: 26px; align-items: start; }
.env {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r3);
  overflow: hidden; box-shadow: var(--sh1);
  transition: box-shadow 0.26s var(--ease), transform 0.26s var(--ease);
}
.env:nth-child(2) { margin-top: 46px; }
.env:nth-child(3) { margin-top: 92px; }
.env:hover { transform: translateY(-4px); box-shadow: var(--sh2); }
.env-fig { position: relative; display: block; background: var(--navy); }
.env-fig img { width: 100%; height: 100%; object-fit: cover; }
.env:nth-child(1) .env-fig { aspect-ratio: 106 / 100; }
.env:nth-child(2) .env-fig { aspect-ratio: 149 / 100; }
.env:nth-child(3) .env-fig { aspect-ratio: 104 / 100; }
.env-tag {
  position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; background: rgba(14, 23, 38, 0.78); color: #fff; border-radius: 100px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em;
}
.env-body { padding: 26px 24px 24px; }
.env-body h3 { font-size: 22px; }
.env-why { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); }
.spec { margin-top: 20px; border-top: 1px solid var(--line-2); }
.spec div { display: flex; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-2); }
.spec dt { flex: none; width: 88px; font-size: 12.5px; color: var(--ink-3); letter-spacing: -0.01em; }
.spec dd { margin: 0; flex: 1; min-width: 0; font-family: var(--mono); font-size: 13px; font-weight: 500; text-align: right; }
.env-body .tlink { margin-top: 8px; }

/* 등급 표식 — 색 + 글자 + 기호를 함께 쓴다 */
.grade { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12.5px; font-weight: 600; }
.grade i { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 5px; font-style: normal; font-size: 11.5px; color: #fff; }
.grade-a i { background: var(--good); }
.grade-b i { background: var(--warn); }
.grade-c i { background: var(--stop); }
.grade span { color: var(--ink-2); font-family: var(--kr); font-size: 12.5px; }

/* ═════════════════════════════════ 착용 시간 눈금 ══════════════ */
.hours { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r3); padding: 34px 34px 26px; box-shadow: var(--sh1); }
.hours-scale { position: relative; height: 30px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.hours-scale span {
  position: absolute; bottom: 6px; transform: translateX(-50%);
  font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); white-space: nowrap;
}
.hours-scale span::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 1px; height: 7px; background: var(--line); }
.hbar { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line-2); }
.hbar:last-of-type { border-bottom: 0; }
.hbar-name { font-size: 13.5px; font-weight: 700; }
.hbar-name em { display: block; font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--ink-3); font-weight: 500; }
.hbar-track { position: relative; height: 34px; background: var(--fog); border-radius: var(--r1); overflow: hidden; }
.hbar-fill {
  position: absolute; top: 0; bottom: 0; display: flex; align-items: center; padding: 0 12px;
  border-radius: var(--r1); font-size: 12px; font-weight: 700; color: #fff; white-space: nowrap;
}
.fill-poly { background: var(--cobalt); }
.fill-pbt { background: var(--aqua-d); }
.fill-nylon { background: var(--coral-d); }
.hours-note { margin-top: 18px; font-size: 13px; color: var(--ink-3); }

/* ═════════════════════════════════ 두 갈래 패널(2026 SS) ═══════ */
.split { display: grid; grid-template-columns: 1.18fr 1fr; min-height: 380px; }
.split-a, .split-b { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 40px; overflow: hidden; color: #fff; }
.split-a { background: var(--navy); }
.split-a img, .split-b img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.split-a::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(9, 18, 34, 0.86) 0%, rgba(9, 18, 34, 0.18) 62%); }
.split-b { background: var(--coral); }
.split-b::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(180, 52, 52, 0.72) 0%, rgba(255, 107, 107, 0.1) 60%); }
.split-in { position: relative; z-index: 2; }
.split-kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; opacity: 0.9; }
.split-in h3 { margin-top: 10px; font-size: clamp(24px, 2.6vw, 32px); }
.split-in p { margin-top: 12px; font-size: 15px; color: rgba(255, 255, 255, 0.88); max-width: 34ch; }

/* ═════════════════════════════════ 착용감 구획 ═════════════════ */
.fit-grid { display: grid; grid-template-columns: 1fr 0.86fr; gap: 56px; align-items: center; }
.fit-copy p + p { margin-top: 16px; }
.fit-copy .lead-big { font-size: 20px; font-weight: 700; line-height: 1.6; }
.callout {
  margin-top: 26px; padding: 22px 24px; background: var(--cobalt-l);
  border-left: 4px solid var(--cobalt); border-radius: 0 var(--r2) var(--r2) 0;
}
.callout b { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--cobalt-d); margin-bottom: 8px; }
.callout p { font-size: 14.5px; color: var(--ink-2); }
.fig-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r3); padding: 30px; box-shadow: var(--sh1); }
.fig-card svg { width: 100%; height: auto; display: block; }
.fig-legend { margin-top: 22px; display: grid; gap: 10px; }
.fig-legend li { display: flex; gap: 12px; align-items: baseline; font-size: 13.5px; }
.fig-legend b { flex: none; width: 26px; height: 26px; display: grid; place-items: center; background: var(--cobalt); color: #fff; border-radius: 50%; font-family: var(--mono); font-size: 12px; }
.fig-legend span { color: var(--ink-2); }

/* ═════════════════════════════════ 표 ══════════════════════════ */
/* overflow 상자는 반드시 position:relative — 없으면 320·390px 에서 문서가 통째로 밀린다 */
.tablewrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r2); background: var(--paper); -webkit-overflow-scrolling: touch; }
.dtable { min-width: 640px; font-size: 14px; }
.dtable caption { text-align: left; padding: 16px 18px; font-size: 13px; color: var(--ink-3); border-bottom: 1px solid var(--line-2); }
.dtable th, .dtable td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.dtable thead th { background: var(--fog); font-size: 12.5px; font-weight: 700; color: var(--ink-2); letter-spacing: -0.01em; white-space: nowrap; }
.dtable tbody th { font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.dtable tbody tr:last-child th, .dtable tbody tr:last-child td { border-bottom: 0; }
.dtable td.num, .dtable th.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.dtable .yes { color: var(--good); font-weight: 700; }
.dtable .no { color: var(--stop); font-weight: 700; }
.table-note { margin-top: 14px; font-size: 12.5px; color: var(--ink-3); line-height: 1.8; }

/* ═════════════════════════════════ 아코디언 ════════════════════ */
.accordion { border: 1px solid var(--line); border-radius: var(--r2); overflow: hidden; background: var(--paper); }
.acc-item + .acc-item { border-top: 1px solid var(--line-2); }
.acc-h { margin: 0; font-size: inherit; font-weight: inherit; }
.acc-trigger {
  width: 100%; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 17px 20px; background: none; border: 0; cursor: pointer;
  font-size: 15.5px; font-weight: 700; text-align: left; letter-spacing: -0.02em;
}
.acc-trigger:hover { background: var(--paper-2); color: var(--cobalt); }
.acc-chev { color: var(--ink-3); transition: transform 0.3s var(--ease); }
.acc-item.open .acc-chev { transform: rotate(180deg); color: var(--cobalt); }
.acc-panel { display: block; overflow: hidden; max-height: 0; transition: max-height 0.36s var(--ease); }
.acc-item.open .acc-panel { max-height: 1400px; }
.acc-in { padding: 2px 20px 22px; font-size: 14.5px; color: var(--ink-2); line-height: 1.85; }
.acc-in p + p, .acc-in .tablewrap { margin-top: 12px; }
.acc-in ul { display: grid; gap: 8px; }
.acc-in ul li { position: relative; padding-left: 15px; }
.acc-in ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--cobalt); }
/* JS 가 없으면 전부 펼친다 — 무JS 완성본 보장 */
html:not(.js) .acc-panel { max-height: none; }
html:not(.js) .acc-chev { display: none; }

/* ═════════════════════════════════ 페이지 머리 ═════════════════ */
.phead { background: var(--paper); border-bottom: 1px solid var(--line); padding: 46px 0 40px; }
.crumb { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-3); margin-bottom: 16px; flex-wrap: wrap; }
.crumb a { color: var(--ink-3); }
.crumb a:hover { color: var(--cobalt); }
.phead h1 { font-size: clamp(30px, 4.4vw, 48px); }
.phead-lead { margin-top: 14px; font-size: 17px; color: var(--ink-2); max-width: 64ch; }
.phead-meta { margin-top: 22px; display: flex; gap: 10px 26px; flex-wrap: wrap; font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); }
.phead-meta li { display: flex; align-items: center; gap: 7px; }
.phead-meta .ico { color: var(--cobalt); }

/* ═════════════════════════════════ 진단 바(상품 찾기) ══════════ */
.diag { background: var(--navy); color: #fff; border-radius: var(--r3); padding: 34px 34px 30px; }
.diag-step + .diag-step { margin-top: 26px; }
.diag-lab { display: flex; align-items: center; gap: 10px; font-size: 13px; font-family: var(--mono); letter-spacing: 0.1em; color: var(--aqua); margin-bottom: 14px; }
.diag-lab b { width: 22px; height: 22px; display: grid; place-items: center; background: var(--aqua); color: var(--navy); border-radius: 50%; font-size: 11.5px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  min-height: 52px; padding: 11px 20px; border-radius: var(--r2); cursor: pointer;
  background: rgba(255, 255, 255, 0.07); border: 1.5px solid rgba(255, 255, 255, 0.22); color: #fff;
  font-size: 14.5px; font-weight: 600; text-align: left;
  transition: all 0.18s var(--ease);
}
.chip em { display: block; font-style: normal; font-family: var(--mono); font-size: 11px; opacity: 0.62; font-weight: 500; }
.chip:hover { border-color: rgba(255, 255, 255, 0.6); }
.chip[aria-pressed="true"] { background: #fff; color: var(--navy); border-color: #fff; }
.chip[aria-pressed="true"] em { opacity: 0.66; }
.diag-out {
  margin-top: 28px; padding: 22px 24px; border-radius: var(--r2);
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 28px;
}
.diag-out div { min-width: 0; }
.diag-out dt { font-size: 12px; color: rgba(255, 255, 255, 0.62); margin-bottom: 5px; }
.diag-out dd { margin: 0; font-family: var(--mono); font-size: 15px; font-weight: 600; }
.diag-why { margin-top: 16px; font-size: 13.5px; color: rgba(255, 255, 255, 0.78); display: flex; gap: 9px; align-items: flex-start; }
.diag-why .ico { color: var(--aqua); margin-top: 2px; }

/* ═════════════════════════════════ 찾기 레이아웃 ═══════════════ */
.finder { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 46px; align-items: start; }
.rail-filter { position: sticky; top: 92px; }
.rail-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.rail-h h2 { font-size: 17px; }
.rail-reset { min-height: 46px; padding: 0 10px; background: none; border: 0; cursor: pointer; font-size: 13px; color: var(--cobalt); font-weight: 600; }
.fchecks { display: grid; gap: 2px; }
.fcheck { display: flex; align-items: center; gap: 10px; min-height: 46px; cursor: pointer; font-size: 14px; }
.fcheck input { width: 18px; height: 18px; accent-color: var(--cobalt); flex: none; cursor: pointer; }
.fcheck span { color: var(--ink-2); }
.fcheck em { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }

.listbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.listbar-n { font-size: 14px; color: var(--ink-2); }
.listbar-n b { font-family: var(--mono); color: var(--ink); }
.sortsel { min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r1); background: var(--paper); font-size: 14px; cursor: pointer; }

/* 결과 — 1순위는 넓은 편집형 행, 나머지는 낮은 행. 균일 카드 반복을 피한다 */
.plist { display: grid; gap: 18px; }
.prow {
  display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; gap: 24px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r3); padding: 18px;
  transition: border-color 0.24s var(--ease), box-shadow 0.24s var(--ease), background 0.32s var(--ease);
}
.prow:hover { border-color: var(--cobalt); box-shadow: var(--sh1); }
.prow-fig { border-radius: var(--r2); overflow: hidden; background: var(--fog); }
.prow-fig img { width: 100%; height: auto; }
.prow-rank { display: none; }
.prow h3 { font-size: 18px; }
.prow-sub { margin-top: 6px; font-size: 13.5px; color: var(--ink-2); }
.prow-tags { margin-top: 12px; display: flex; gap: 7px; flex-wrap: wrap; }
.tag { padding: 5px 10px; border-radius: 100px; background: var(--fog); font-family: var(--mono); font-size: 11px; color: var(--ink-2); }
.tag-on { background: var(--cobalt-l); color: var(--cobalt-d); }
.prow-buy { text-align: right; }
.price { font-family: var(--mono); font-size: 19px; font-weight: 600; }
.price small { font-family: var(--kr); font-size: 11.5px; color: var(--ink-3); font-weight: 400; display: block; }
.prow-buy .btn { margin-top: 12px; }

.prow.is-top {
  grid-template-columns: 268px minmax(0, 1fr); grid-template-rows: auto auto;
  padding: 26px; border-color: var(--cobalt); border-width: 1.5px; background: var(--paper);
  box-shadow: var(--sh2);
}
.prow.is-top .prow-rank {
  display: inline-flex; align-items: center; gap: 8px; grid-column: 2; align-self: end;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; color: var(--cobalt); margin-bottom: 4px;
}
.prow.is-top .prow-fig { grid-row: 1 / span 3; }
.prow.is-top h3 { font-size: 25px; }
.prow.is-top .prow-body { grid-column: 2; }
.prow.is-top .prow-buy { grid-column: 2; text-align: left; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 14px; }
.prow.is-top .prow-buy .btn { margin-top: 0; }
.prow-note { margin-top: 12px; padding: 12px 14px; background: var(--cobalt-l); border-radius: var(--r1); font-size: 13px; color: var(--cobalt-d); display: none; }
.prow.is-top .prow-note { display: block; }

.empty { display: grid; place-items: center; gap: 14px; padding: 56px 24px; text-align: center; background: var(--paper); border: 1px dashed var(--line); border-radius: var(--r3); }
.empty h3 { font-size: 19px; }
.empty p { font-size: 14px; color: var(--ink-2); max-width: 40ch; }

/* ═════════════════════════════════ 상품 상세 ═══════════════════ */
.pdp { display: grid; grid-template-columns: 1.06fr 1fr; gap: 56px; align-items: start; }
.gallery { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; }
.thumbs { display: grid; gap: 10px; align-content: start; }
.thumb {
  width: 84px; height: 84px; padding: 0; overflow: hidden; cursor: pointer;
  background: var(--fog); border: 1.5px solid var(--line); border-radius: var(--r2);
  transition: border-color 0.18s var(--ease);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; user-select: none; }
.thumb[aria-pressed="true"] { border-color: var(--cobalt); }
.stage { position: relative; background: var(--fog); border-radius: var(--r3); overflow: hidden; aspect-ratio: 4 / 5; }
.stage img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; user-select: none; }
.stage-cap { position: absolute; left: 14px; bottom: 14px; z-index: 2; padding: 7px 13px; background: rgba(14, 23, 38, 0.76); color: #fff; border-radius: 100px; font-family: var(--mono); font-size: 11.5px; }

.buy-kicker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--cobalt); }
.pdp h1 { margin-top: 12px; font-size: clamp(26px, 3.2vw, 38px); }
.pdp-price { margin-top: 16px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pdp-price .price { font-size: 30px; }
.pdp-price small { font-size: 12.5px; color: var(--ink-3); }
.pdp-desc { margin-top: 18px; font-size: 15px; color: var(--ink-2); }

.suit { margin-top: 26px; border: 1px solid var(--line); border-radius: var(--r2); background: var(--paper); overflow: hidden; }
.suit h2 { padding: 14px 18px; font-size: 13.5px; background: var(--fog); border-bottom: 1px solid var(--line-2); }
.suit-row { display: flex; align-items: center; gap: 14px; padding: 13px 18px; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.suit-row:last-child { border-bottom: 0; }
.suit-row b { flex: none; width: 104px; font-weight: 600; }
.dots3 { display: inline-flex; gap: 4px; flex: none; }
.dots3 i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.dots3 i.on { background: var(--cobalt); }
.suit-row span { color: var(--ink-2); font-size: 13.5px; }

.opt { margin-top: 26px; }
.opt-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.opt-h h2 { font-size: 14px; }
.opt-h .val { font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.sw { position: relative; width: 46px; height: 46px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; border-radius: 50%; }
.sw i { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(14, 23, 38, 0.14); transition: transform 0.18s var(--ease); }
.sw[aria-pressed="true"]::after { content: ""; position: absolute; inset: 2px; border: 2px solid var(--cobalt); border-radius: 50%; }
.sw:hover i { transform: scale(1.08); }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.size-btn {
  min-width: 58px; min-height: 48px; padding: 10px; cursor: pointer;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r2);
  font-family: var(--mono); font-size: 14px; font-weight: 600;
  transition: all 0.16s var(--ease);
}
.size-btn:hover { border-color: var(--cobalt); }
.size-btn[aria-pressed="true"] { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.size-btn[data-stock="out"] { color: var(--ink-3); border-style: dashed; text-decoration: line-through; }
.size-btn[data-stock="out"]:hover { border-color: var(--line); }
.stockline { margin-top: 12px; display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.stockline .ico { flex: none; }
.stockline.s-ok { color: var(--good); }
.stockline.s-out { color: var(--warn); }
.pdp-cta { margin-top: 26px; display: grid; gap: 10px; }
.ship { margin-top: 22px; display: grid; gap: 9px; padding: 18px 20px; background: var(--fog); border-radius: var(--r2); font-size: 13.5px; color: var(--ink-2); }
.ship li { display: flex; gap: 10px; align-items: flex-start; }
.ship .ico { color: var(--cobalt); margin-top: 2px; flex: none; }

/* ═════════════════════════════════ 사이즈 가이드 ═══════════════ */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.tab {
  position: relative; min-height: 50px; padding: 12px 22px; background: none; border: 0; cursor: pointer;
  font-size: 15px; font-weight: 700; color: var(--ink-3);
}
.tab[aria-selected="true"] { color: var(--cobalt); }
.tab[aria-selected="true"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2.5px; background: var(--cobalt); border-radius: 2px; }
.tp-h { font-size: 16px; margin-bottom: 14px; }
html:not(.js) .tabpanel[hidden] { display: block !important; }
html:not(.js) .tabpanel + .tabpanel { margin-top: 34px; }

.diagbox { display: grid; grid-template-columns: 1fr 0.92fr; gap: 46px; align-items: start; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r3); padding: 30px; box-shadow: var(--sh1); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; }
.field label .req { color: var(--coral-d); }
.field .hint { font-size: 11.5px; color: var(--ink-3); font-weight: 400; }
.control {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: var(--r2); background: var(--paper);
  font-family: var(--mono); font-size: 15px; color: var(--ink);
  transition: border-color 0.16s var(--ease);
}
select.control { font-family: var(--kr); cursor: pointer; }
.control:focus { border-color: var(--cobalt); outline: none; box-shadow: 0 0 0 3px rgba(10, 71, 255, 0.14); }
.field.invalid .control { border-color: var(--stop); background: #fff6f6; }
.field .err { display: none; font-size: 12px; color: var(--stop); }
.field.invalid .err { display: flex; align-items: center; gap: 6px; }
.agree { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; font-size: 13.5px; color: var(--ink-2); }
.agree input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--cobalt); flex: none; cursor: pointer; }
.form-submit { margin-top: 20px; }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, 0.36); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.result { margin-top: 22px; padding: 24px; border-radius: var(--r2); background: var(--fog); border: 1px solid var(--line); }
.result-empty { color: var(--ink-3); font-size: 14px; }
.result-size { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.result-size b { font-family: var(--mono); font-size: 42px; font-weight: 600; color: var(--cobalt); line-height: 1; }
.result-size span { font-size: 14px; color: var(--ink-2); }
.result-rows { margin-top: 20px; display: grid; gap: 9px; }
.result-rows li { display: flex; gap: 12px; align-items: baseline; font-size: 13.5px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.result-rows b { flex: none; width: 96px; color: var(--ink-3); font-weight: 500; font-size: 12.5px; }
.result-rows span { font-family: var(--mono); }
.result-msg { margin-top: 18px; padding: 14px 16px; background: var(--paper); border-left: 3px solid var(--cobalt); border-radius: 0 var(--r1) var(--r1) 0; font-size: 13.5px; color: var(--ink-2); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.step { padding: 24px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r2); }
.step b { display: grid; place-items: center; width: 30px; height: 30px; background: var(--navy); color: #fff; border-radius: 50%; font-family: var(--mono); font-size: 13px; margin-bottom: 14px; }
.step h3 { font-size: 15.5px; }
.step p { margin-top: 8px; font-size: 13.5px; color: var(--ink-2); }

/* ═════════════════════════════════ 어두운 띠 ═══════════════════ */
.band { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 84px 0; }
.band-bg { position: absolute; inset: 0; z-index: 0; opacity: 0.5; }
.band-bg img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(9, 18, 34, 0.94) 12%, rgba(9, 18, 34, 0.5) 100%); }
.band .wrap { position: relative; z-index: 2; }
.band-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.band-claim { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.24em; color: var(--aqua); }
.band h2 { margin-top: 16px; font-size: clamp(26px, 3.2vw, 38px); }
.band p { margin-top: 16px; font-size: 15.5px; color: rgba(255, 255, 255, 0.82); max-width: 46ch; }
.band-cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.band-facts { display: grid; gap: 14px; }
.band-facts li { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line-d); font-size: 14px; }
.band-facts b { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.56); font-weight: 500; }
.band-facts span { color: rgba(255, 255, 255, 0.9); }

/* ═════════════════════════════════ 매트릭스 ════════════════════ */
.matrix { display: grid; grid-template-columns: 128px repeat(3, minmax(0, 1fr)); gap: 10px; }
.matrix-h { display: flex; align-items: flex-end; padding: 8px 4px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.matrix-c { padding: 16px 16px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r2); }
.matrix-c b { display: block; font-family: var(--mono); font-size: 12.5px; color: var(--cobalt); }
.matrix-c span { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-2); }
.matrix-c.pick { border-color: var(--cobalt); background: var(--cobalt-l); }

/* ═════════════════════════════════ 사이즈/구매 도크 ════════════ */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--cobalt); color: #fff; box-shadow: 0 -8px 30px rgba(10, 71, 255, 0.24);
  transition: transform 0.34s var(--ease);
}
.dock.hide { transform: translateY(105%); }
.dock-in { display: flex; align-items: center; gap: 18px; min-height: 84px; padding: 12px 0; }
.dock-lab { display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 700; flex: none; }
.dock-sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.dock-size {
  min-width: 54px; min-height: 46px; padding: 8px 10px; cursor: pointer;
  background: rgba(255, 255, 255, 0.14); border: 1.5px solid rgba(255, 255, 255, 0.3); border-radius: var(--r2);
  color: #fff; font-family: var(--mono); font-size: 14px; font-weight: 600;
  transition: all 0.16s var(--ease);
}
.dock-size:hover { background: rgba(255, 255, 255, 0.26); }
.dock-size[aria-pressed="true"] { background: #fff; color: var(--cobalt); border-color: #fff; }
.dock-hint { font-size: 12.5px; color: rgba(255, 255, 255, 0.78); }
.dock-act { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.dock-close { width: 46px; height: 46px; display: grid; place-items: center; background: none; border: 1px solid rgba(255, 255, 255, 0.34); border-radius: var(--r1); color: #fff; cursor: pointer; flex: none; }
.dock-close:hover { background: rgba(255, 255, 255, 0.14); }

.dock-buy { background: var(--navy); }
.dock-buy .dock-price { font-family: var(--mono); font-size: 20px; font-weight: 600; flex: none; }
.dock-buy .dock-price em { display: block; font-style: normal; font-family: var(--kr); font-size: 11.5px; color: rgba(255, 255, 255, 0.62); font-weight: 400; }

/* ═════════════════════════════════ 토스트 ══════════════════════ */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--dock-h) + 20px); z-index: 120;
  transform: translate(-50%, 16px);
  min-width: 260px; max-width: calc(100% - 32px);
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; background: var(--navy); color: #fff;
  border-radius: var(--r2); font-size: 14px; box-shadow: 0 14px 36px rgba(14, 23, 38, 0.3);
  opacity: 0; visibility: hidden;
  /* 알림이 아래 버튼의 클릭을 삼키지 않도록 */
  pointer-events: none;
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease), visibility 0.32s;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast .ico { color: var(--aqua); flex: none; }

.to-top {
  position: fixed; right: 22px; bottom: calc(var(--dock-h) + 20px); z-index: 55;
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: 50%;
  box-shadow: var(--sh1); cursor: pointer; color: var(--ink);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all 0.28s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ═════════════════════════════════ 푸터 ════════════════════════ */
.ft { background: var(--navy); color: rgba(255, 255, 255, 0.74); padding: 68px 0 34px; font-size: 14px; }
.ft-top { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1.15fr; gap: 44px; padding-bottom: 40px; border-bottom: 1px solid var(--line-d); }
.ft-brand .logo { color: #fff; font-size: 21px; }
.ft-brand .logo b { color: var(--aqua); }
.ft-claim { margin-top: 16px; font-size: 14px; line-height: 1.85; }
.ft-mark { margin-top: 20px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.22em; color: var(--aqua); }
.ft-col h2 { font-size: 13px; color: #fff; margin-bottom: 14px; letter-spacing: 0; }
.ft-col a { display: block; padding: 6px 0; color: rgba(255, 255, 255, 0.72); font-size: 13.5px; }
.ft-col a:hover { color: var(--aqua); }
.ft-col p { padding: 6px 0; font-size: 13.5px; }
.ft-strong { font-family: var(--mono); font-size: 17px !important; color: #fff !important; font-weight: 600; }
.ft-notice { padding: 26px 0; border-bottom: 1px solid var(--line-d); }
.ft-notice h2 { font-size: 13px; color: #fff; margin-bottom: 12px; }
.ft-notice ul { display: grid; gap: 8px; }
.ft-notice li { position: relative; padding-left: 14px; font-size: 12.5px; line-height: 1.8; color: rgba(255, 255, 255, 0.62); }
.ft-notice li::before { content: ""; position: absolute; left: 0; top: 9px; width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, 0.34); }
.ft-bot { padding-top: 26px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 12px; color: rgba(255, 255, 255, 0.52); }
.ft-bot a { color: rgba(255, 255, 255, 0.62); margin-left: 14px; }
.ft-bot a:hover { color: var(--aqua); }
.ft-biz { line-height: 1.9; }

/* ═════════════════════════════════ 반응형 ══════════════════════ */
@media (min-width: 1200px) {
  .rail { display: flex; }
}

@media (max-width: 1180px) {
  :root { --section: 88px; }
  .envs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .env:nth-child(2) { margin-top: 0; }
  .env:nth-child(3) { margin-top: 0; grid-column: 1 / -1; }
  .env:nth-child(3) { display: grid; grid-template-columns: 300px minmax(0, 1fr); }
  .env:nth-child(3) .env-fig { aspect-ratio: auto; height: 100%; }
  .finder { grid-template-columns: 230px minmax(0, 1fr); gap: 32px; }
  .pdp { gap: 38px; }
  .fit-grid, .diagbox, .band-grid { gap: 38px; }
}

@media (max-width: 1024px) {
  :root { --gutter: 26px; --section: 76px; }
  .nav { display: none; }
  .menu-btn { display: grid; }
  .hd-in { height: 66px; gap: 12px; }
  .hero-in { padding: 76px 0 104px; }
  .split { grid-template-columns: 1fr; }
  .split-a, .split-b { min-height: 320px; }
  .fit-grid, .diagbox, .band-grid { grid-template-columns: 1fr; }
  .finder { grid-template-columns: 1fr; gap: 30px; }
  .rail-filter { position: static; }
  .pdp { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
}

@media (max-width: 768px) {
  :root { --gutter: 20px; --section: 62px; }
  body.has-dock { --dock-h: 78px; }
  .hero-in { padding: 56px 0 92px; }
  .hero-facts { gap: 8px 18px; }
  .envs { grid-template-columns: 1fr; }
  .env:nth-child(3) { grid-template-columns: 1fr; }
  .env:nth-child(1) .env-fig, .env:nth-child(2) .env-fig, .env:nth-child(3) .env-fig { aspect-ratio: 3 / 2; }
  .hours { padding: 24px 20px 18px; }
  .hbar { grid-template-columns: 1fr; gap: 8px; }
  .hbar-name em { display: inline; margin-left: 8px; }
  .diag { padding: 24px 20px 22px; }
  .diag-out { grid-template-columns: 1fr; gap: 14px; }
  .chip { flex: 1 1 auto; }
  .prow { grid-template-columns: 104px minmax(0, 1fr); gap: 16px; padding: 14px; }
  .prow-buy { grid-column: 1 / -1; text-align: left; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
  .prow-buy .btn { margin-top: 0; }
  .prow.is-top { grid-template-columns: 132px minmax(0, 1fr); padding: 16px; }
  .prow.is-top .prow-fig { grid-row: 1 / span 2; }
  .prow.is-top .prow-rank { grid-column: 2; margin-bottom: 0; }
  .prow.is-top h3 { font-size: 20px; }
  .prow.is-top .prow-body { grid-column: 2; }
  .prow.is-top .prow-buy { grid-column: 1 / -1; margin-top: 12px; }
  .gallery { grid-template-columns: 1fr; }
  .thumbs { grid-auto-flow: column; grid-auto-columns: 74px; overflow-x: auto; position: relative; padding-bottom: 4px; }
  .thumb { width: 74px; height: 74px; }
  .stage { aspect-ratio: 1 / 1; }
  .steps { grid-template-columns: 1fr; }
  .matrix { grid-template-columns: 1fr; gap: 8px; }
  .matrix-h { padding: 14px 0 2px; font-size: 13.5px; color: var(--cobalt); }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 22px 18px; }
  .fig-card { padding: 22px 18px; }
  .dock-in { flex-wrap: wrap; min-height: 78px; gap: 10px 12px; }
  .dock-lab { font-size: 13px; }
  .dock-hint { display: none; }
  .dock-sizes { gap: 6px; }
  .dock-size { min-width: 46px; min-height: 46px; padding: 6px; font-size: 13px; }
  .dock-act { margin-left: auto; }
  .band { padding: 62px 0; }
  .ft { padding: 52px 0 28px; }
  .ft-top { grid-template-columns: 1fr; gap: 28px; }
  .to-top { right: 14px; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 34px; }
  .hero-cta .btn { width: 100%; }
  .prow { grid-template-columns: 84px minmax(0, 1fr); }
  .prow.is-top { grid-template-columns: 108px minmax(0, 1fr); }
  .dock-in { min-height: 74px; }
  .dock-size { min-width: 42px; padding: 6px 4px; }
  .tab { padding: 12px 14px; font-size: 14px; }
}


/* 좁은 화면에서는 헤더 아이콘을 줄여 가로 넘침을 막는다(서랍에 같은 이동 경로가 있다) */
@media (max-width: 620px) {
  .ic-hide-sm { display: none; }
  .logo { font-size: 17px; gap: 8px; }
  .logo-mark { width: 26px; height: 16px; }
  .hd-in { gap: 10px; }
}

/* ═════════════════════════════════ 모션 끔 ═════════════════════
   진행 애니메이션을 없애고 최종 상태를 즉시 보여 준다. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .wave-a, .wave-b { transform: none !important; }
}

@media print {
  .hd, .drawer, .scrim, .dock, .toast, .to-top, .rail { display: none !important; }
  body { padding-bottom: 0; background: #fff; }
}

/* ═════════════════════════════════ 잔가지 ══════════════════════ */
/* display 를 가진 상자들이 hidden 속성을 무시하지 않도록 */
[hidden] { display: none !important; }

.hd.is-stuck { box-shadow: 0 2px 18px rgba(14, 23, 38, 0.07); }

.stage-tint {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: transparent; mix-blend-mode: multiply; opacity: 0.3;
  transition: background 0.34s var(--ease);
}
.restock {
  margin-top: 12px; padding: 14px 16px; background: #fff8ec;
  border: 1px solid #f0dcb6; border-radius: var(--r2); font-size: 13.5px; color: var(--warn);
  display: flex; gap: 10px; align-items: flex-start;
}
.restock .ico { flex: none; margin-top: 2px; }
.restock a { color: var(--warn); font-weight: 700; text-decoration: underline; }

.diag-cond { font-family: var(--mono); font-weight: 600; color: #fff; }
.hl { color: var(--cobalt); font-weight: 700; }
.lede { font-size: 16.5px; color: var(--ink-2); max-width: 66ch; }
.stack { display: grid; gap: 26px; }
.mt-l { margin-top: 46px; }
.mt-m { margin-top: 28px; }
.cta-row { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; }

.notecard {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r3); padding: 30px;
}
.notecard > div { min-width: 0; }
.notecard h3 { display: flex; align-items: center; gap: 9px; font-size: 15.5px; }
.notecard h3 .ico { color: var(--cobalt); }
.notecard p { margin-top: 10px; font-size: 13.5px; color: var(--ink-2); }
@media (max-width: 768px) { .notecard { grid-template-columns: 1fr; padding: 22px 18px; } }

.deflist { display: grid; gap: 14px; }
.deflist > div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.deflist dt { font-family: var(--mono); font-size: 12.5px; font-weight: 600; color: var(--cobalt); }
.deflist dd { margin: 0; font-size: 14px; color: var(--ink-2); }
@media (max-width: 520px) { .deflist > div { grid-template-columns: 1fr; gap: 4px; } }
