/* hack vibe x 홈페이지
   색, 글꼴, 간격은 브랜드 DESIGN.md의 토큰을 그대로 쓴다. */

@font-face {
  font-family: "IBM Plex Sans KR";
  src: url("/assets/fonts/IBMPlexSansKR-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans KR";
  src: url("/assets/fonts/IBMPlexSansKR-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans KR";
  src: url("/assets/fonts/IBMPlexSansKR-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --brand: #ff5a1f;
  --on-brand: #000;
  --brand-text: #c23a06;
  --brand-soft: #ffe9df;
  --paper: #fff;
  --paper-raised: #f2f2f2;
  --ink: #000;
  --ink-muted: #5c5c5c;
  --line: #d9d9d9;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-pill: 999px;

  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(96px, 13vw, 184px);

  --out: cubic-bezier(0.16, 1, 0.3, 1);
  --stroke: cubic-bezier(0.55, 0, 0.1, 1);

  --font: "IBM Plex Sans KR", system-ui, -apple-system, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: var(--ink) var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.625;
  word-break: keep-all;
  overflow-wrap: anywhere;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--brand);
  color: var(--on-brand);
}

h1,
h2,
h3,
p,
ol,
ul,
dl,
dd,
figure {
  margin: 0;
}
ol,
ul {
  padding: 0;
  list-style: none;
}
img,
svg {
  display: block;
}
a {
  color: inherit;
  text-underline-offset: 0.3em;
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 2px;
}

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

.skip {
  position: absolute;
  left: var(--gutter);
  top: 8px;
  z-index: 10;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip:focus-visible {
  transform: none;
}

/* ---------- 머리말 ---------- */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
}
.top__logo {
  display: block;
  padding: 8px 0;
}
.top__logo img {
  width: clamp(136px, 13vw, 176px);
  height: auto;
}
.top__nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 36px);
  font-size: 0.9375rem;
  font-weight: 600;
}
.top__nav a {
  padding: 8px 0;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 2px;
  transition: background-size 0.3s var(--out);
}
.top__nav a:hover,
.top__nav a:focus-visible {
  background-size: 100% 2px;
}

/* ---------- 버튼 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px 14px 22px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-md);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  transition: transform 0.15s var(--out);
}
.btn__arrow {
  width: 22px;
  height: 22px;
  transition: transform 0.3s var(--out);
}
.btn:hover .btn__arrow,
.btn:focus-visible .btn__arrow {
  transform: translateX(5px);
}
.btn:active {
  transform: scale(0.98);
}
.btn:focus-visible {
  outline-color: var(--ink);
  border-radius: var(--radius-md);
}

/* ---------- 첫 화면 ---------- */

.hero {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(40px, 7vh, 72px);
  min-height: calc(100svh - 96px);
  padding-top: clamp(20px, 6vh, 72px);
  padding-bottom: clamp(48px, 9vh, 96px);
}

.line {
  --size: min(12.2vw, 176px);
  display: flex;
  align-items: center;
  gap: 0.26em;
  font-size: var(--size);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.035em;
  white-space: nowrap;
}
.line__lead {
  display: block;
  height: 1.16em;
}
.lead {
  display: block;
}
.lead--ko {
  display: none;
}

.slot {
  position: relative;
  flex: 1 1 4.5em;
  min-width: 0;
  height: 1.16em;
}
.slot__fill {
  position: absolute;
  inset: 0;
  background: var(--brand);
  border-radius: max(var(--radius-md), 0.05em);
  clip-path: inset(0);
}
.slot__typed {
  position: absolute;
  left: 0;
  top: 0;
  display: none;
  padding-inline: 0.02em;
  border-radius: var(--radius-sm);
}
.slot__typed.is-sel {
  background: var(--brand-soft);
}
.slot__caret {
  display: none;
}
.slot__view {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: max(var(--radius-md), 0.05em);
  color: var(--on-brand);
}
.slot__item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding-inline: 0.2em;
  visibility: hidden;
}
.slot__item.is-on {
  visibility: visible;
}
.slot__item--x {
  padding-inline: 0.22em;
}
.slot__item--x .xs {
  position: absolute;
  height: 76%;
  width: auto;
  aspect-ratio: 648 / 616;
  top: 12%;
}
.slot__text {
  display: block;
  transform-origin: 0 55%;
  transform: scale(var(--fit, 1));
}

/* 붓획 X: 획마다 붓이 지나간 방향으로 드러난다 */
.xs {
  fill: currentColor;
}
.xs--a {
  clip-path: polygon(100% 0, -100% 0, 100% 200%);
  transition: clip-path 0.42s var(--stroke);
}
.xs--b {
  clip-path: polygon(0 0, 200% 0, 0 200%);
  transition: clip-path 0.46s var(--stroke) 0.24s;
}
.is-undrawn .xs {
  transition: none;
}
.is-undrawn .xs--a {
  clip-path: polygon(100% 0, 100% 0, 100% 0);
}
.is-undrawn .xs--b {
  clip-path: polygon(0 0, 0 0, 0 0);
}

/* 첫 장면: 치고, 지우고, 채운다 */
.has-caret::after {
  content: "";
  display: inline-block;
  width: 0.065em;
  height: 0.86em;
  margin-left: 0.05em;
  vertical-align: -0.1em;
  background: var(--ink);
  animation: caret 0.9s steps(1) infinite;
}
@keyframes caret {
  50% {
    opacity: 0;
  }
}
html.intro .lead--en,
.line[data-phase="type"] .lead--en {
  display: none;
}
html.intro .lead--ko,
.line[data-phase="type"] .lead--ko {
  display: block;
}
html.intro .slot__typed,
.line[data-phase="type"] .slot__typed {
  display: block;
}
html.intro .slot__fill,
.line[data-phase="type"] .slot__fill,
.line[data-phase="swap"] .slot__fill {
  clip-path: inset(0 100% 0 0);
}
.line[data-phase="fill"] .slot__fill {
  transition: clip-path 0.62s var(--out);
}
html.intro .slot__view,
.line[data-phase="type"] .slot__view,
.line[data-phase="swap"] .slot__view,
.line[data-phase="fill"] .slot__view {
  visibility: hidden;
}
html.intro .slot__item,
.line[data-phase="type"] .slot__item,
.line[data-phase="swap"] .slot__item,
.line[data-phase="fill"] .slot__item {
  visibility: hidden;
}

.hero__below {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}
.hero__sync {
  font-size: clamp(1.375rem, 2.3vw, 2.125rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  min-height: 1.3em;
}
.hero__lede {
  max-width: 31em;
  margin-top: 16px;
  font-size: clamp(1rem, 1.25vw, 1.1875rem);
  line-height: 1.7;
}
.hero__do {
  display: grid;
  gap: 24px;
  justify-items: start;
  justify-self: end;
  width: min(100%, 440px);
}
.ask {
  width: 100%;
  max-width: 440px;
}
.ask__label {
  display: block;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.36;
  letter-spacing: -0.015em;
}
.ask__row {
  margin-top: 12px;
}
.ask__input {
  width: 100%;
  height: 56px;
  padding: 0 16px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1.125rem;
  font-weight: 600;
  caret-color: var(--brand-text);
  transition: background-color 0.2s var(--out);
}
.ask__input::placeholder {
  color: var(--ink-muted);
  font-weight: 400;
}
.ask__input:hover {
  background: var(--paper-raised);
}
.ask__input:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  background: var(--paper);
}
.ask__help {
  margin-top: 8px;
  font-size: 0.875rem;
  line-height: 1.57;
  color: var(--ink-muted);
}

/* ---------- 섹션 머리 ---------- */

.head {
  margin-bottom: clamp(40px, 6vw, 88px);
}
.head h2 {
  max-width: 15em;
  font-size: clamp(2rem, 5.2vw, 4.5rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.head p {
  max-width: 35em;
  margin-top: clamp(20px, 2.4vw, 32px);
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.7;
}

/* ---------- X 자리 ---------- */

.xs-section {
  padding-top: var(--section);
  padding-bottom: var(--section);
}
.rows {
  position: relative;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}
.row {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  align-items: baseline;
  gap: 24px;
  padding-block: clamp(18px, 2.6vw, 36px);
  border-top: 1px solid var(--line);
}
.row__if {
  font-size: clamp(1.125rem, 2.2vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink-muted);
  transition: color 0.3s var(--out);
}
.row__then {
  font-size: clamp(2.25rem, 7.4vw, 6.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.row.is-active {
  border-top-color: transparent;
}
.row.is-active + .row {
  border-top-color: transparent;
}
.row.is-active .row__if {
  color: var(--on-brand);
}
.rows__band {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 50%;
  width: 100vw;
  height: var(--h, 0);
  background: var(--brand);
  transform: translate(-50%, var(--y, 0));
  transition: transform 0.55s var(--out), height 0.55s var(--out);
}
.rows__note {
  margin-top: 24px;
  font-size: 1rem;
  color: var(--ink-muted);
}

/* ---------- 간극 ---------- */

.gap {
  padding-top: var(--section);
}
.gap > .head,
.gap__inner > .head {
  margin-bottom: 0;
}
.gap__stage {
  --p: 1;
  --open: calc(1 - var(--p));
}
.js .gap__track {
  height: 230vh;
}
.js .gap__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: clip;
}
.gap__stage {
  padding-block: 64px;
}
.plates {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 16px;
}
.plate {
  position: relative;
  flex: 0 0 calc(40% - 8px);
  min-height: clamp(280px, 46vh, 440px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-md);
  overflow: hidden;
  will-change: transform;
}
.plate--human {
  background: var(--ink);
  color: var(--paper);
  transform: translate(calc(var(--open) * (-25% + 8px)), -24px);
}
.plate--tech {
  background: var(--brand);
  color: var(--on-brand);
  transform: translate(calc(var(--open) * (25% - 8px)), 24px);
}
.plate__big {
  font-size: clamp(2rem, 4.4vw, 3.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.plate__small {
  max-width: 22em;
  margin-top: 16px;
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.65;
}

/* 공사장 테이프: 주황 위 검정 45도 줄무늬 */
.tape {
  position: absolute;
  inset: 0 0 auto 0;
  height: 48px;
  overflow: hidden;
  background: var(--brand);
}
.tape::before {
  content: "";
  position: absolute;
  inset: 0 -68px 0 0;
  background: repeating-linear-gradient(-45deg, var(--on-brand) 0 16px, transparent 16px 48px);
  animation: tape 5s linear infinite;
}
@keyframes tape {
  to {
    transform: translateX(-67.88px);
  }
}
.tape--wide {
  position: relative;
}

.plates__gauge {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(16px + var(--open) * (20% - 16px));
  height: 32px;
  transform: translate(-50%, -50%);
  border-inline: 2px solid var(--ink);
  opacity: calc(var(--open) * 6);
  pointer-events: none;
}
.gauge__tick {
  display: none;
}
.gauge__line {
  position: absolute;
  inset: 50% 0 auto 0;
  height: 2px;
  margin-top: -1px;
  background: var(--ink);
}
.gauge__label {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 4px);
  transform: translateX(-50%);
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: calc((var(--open) - 0.25) * 4);
}
.gap__close {
  margin-top: clamp(56px, 9vh, 96px);
  margin-left: 10%;
  font-size: clamp(1.5rem, 3.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.025em;
  opacity: calc((var(--p) - 0.72) * 4);
  transform: translateY(calc((1 - min(1, max(0, (var(--p) - 0.72) * 4))) * 16px));
}

/* ---------- 근거 (검정 면) ---------- */

.proof {
  --paper: #000;
  --paper-raised: #161616;
  --ink: #fff;
  --ink-muted: #a6a6a6;
  --line: #333;
  background: var(--paper);
  color: var(--ink);
  scrollbar-color: var(--ink) var(--paper);
}
.proof__inner {
  padding-block: var(--section);
}
.usage__title {
  max-width: 22em;
  font-size: clamp(1.375rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.36;
  letter-spacing: -0.02em;
}
.bars {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: clamp(6px, 1.4vw, 20px);
  height: clamp(260px, 36vw, 440px);
  margin-top: clamp(32px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}
.bar {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  padding-bottom: 0;
}
.bar__val {
  padding-bottom: 8px;
  font-size: clamp(0.8125rem, 1.3vw, 1.125rem);
  font-weight: 600;
  line-height: 1.38;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transition: opacity 0.5s var(--out) calc(var(--i, 0) * 70ms + 0.35s);
}
.bar__col {
  flex: none;
  height: calc(var(--v) / 242.1 * (100% - 40px));
  min-height: 3px;
  background: var(--ink);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  transform-origin: 50% 100%;
  transition: transform 1s var(--out) calc(var(--i, 0) * 70ms);
}
.bar--peak .bar__col {
  background: var(--brand);
}
.bar--open .bar__col {
  background: transparent;
  border: 2px solid var(--ink);
  border-bottom: 0;
}
.bar__wk {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  font-size: clamp(0.8125rem, 1.2vw, 1rem);
  font-variant-numeric: tabular-nums;
  color: var(--ink-muted);
  white-space: nowrap;
}
.js .usage:not(.is-in) .bar__col {
  transform: scaleY(0);
}
.js .usage:not(.is-in) .bar__val {
  opacity: 0;
}
.usage__src {
  max-width: 44em;
  margin-top: 64px;
  font-size: 0.875rem;
  line-height: 1.57;
  color: var(--ink-muted);
}

/* ---------- 도구 ---------- */

.tools {
  padding-top: var(--section);
  padding-bottom: var(--section);
}
.worksite {
  position: relative;
  display: flex;
  align-items: center;
  height: 48px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--brand);
}
.worksite__label {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  padding-inline: 16px 20px;
  background: var(--brand);
  color: var(--on-brand);
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}
.tool {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  align-items: baseline;
  gap: 8px 24px;
  padding-block: clamp(18px, 2.6vw, 36px);
  border-bottom: 1px solid var(--line);
}
.tool h3 {
  grid-column: 2;
  grid-row: 1;
  font-size: clamp(2.25rem, 7.4vw, 6.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.tool p {
  grid-column: 1;
  grid-row: 1;
  font-size: clamp(1.0625rem, 1.7vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}

/* 화면 밖에서는 돌지 않는다 */
.js .is-off .tape::before,
.js .tape.is-off::before {
  animation-play-state: paused;
}

.bar3 {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: 24px clamp(24px, 5vw, 72px);
  padding: clamp(24px, 3.6vw, 48px);
  margin-bottom: clamp(32px, 5vw, 72px);
  background: var(--paper-raised);
  border-radius: var(--radius-md);
}
.bar3 h3 {
  font-size: clamp(1.25rem, 1.9vw, 1.625rem);
  font-weight: 700;
  line-height: 1.36;
  letter-spacing: -0.015em;
}
.bar3 li {
  padding-block: 14px;
  border-top: 1px solid var(--line);
  font-size: clamp(1.0625rem, 1.5vw, 1.375rem);
  font-weight: 600;
  line-height: 1.5;
}
.bar3 li:first-child {
  padding-top: 0;
  border-top: 0;
}
.bar3 li:last-child {
  padding-bottom: 0;
}

/* ---------- 원칙 ---------- */

.rules {
  padding-bottom: var(--section);
}
.rules__ask h2 {
  font-size: clamp(1.375rem, 2.4vw, 2rem);
  line-height: 1.36;
  letter-spacing: -0.02em;
}
.rules__q {
  margin-top: clamp(16px, 2vw, 24px);
  padding: clamp(24px, 5vw, 72px);
  background: var(--brand-soft);
  border-radius: var(--radius-md);
  font-size: clamp(2rem, 5.2vw, 4.5rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.rules__a {
  margin-top: clamp(16px, 2vw, 24px);
  font-size: clamp(1.375rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ---------- 마무리 (주황 면) ---------- */

.end {
  position: relative;
  background: var(--brand);
  color: var(--on-brand);
  overflow: clip;
}
.end ::selection {
  background: var(--on-brand);
  color: var(--brand);
}
.end__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: clamp(24px, 5vw, 80px);
  align-items: end;
  justify-items: start;
  padding-top: clamp(72px, 10vw, 144px);
  padding-bottom: clamp(72px, 10vw, 144px);
}
.end__q {
  grid-column: 1 / -1;
  font-size: clamp(2.75rem, 9.6vw, 9rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.04em;
}
.end__x {
  display: inline-block;
}
.end__p {
  grid-column: 1;
  max-width: 30em;
  margin-top: clamp(24px, 3.4vw, 48px);
  font-size: clamp(1.0625rem, 1.5vw, 1.375rem);
  line-height: 1.65;
}
.btn--on-brand {
  grid-column: 1;
  margin-top: 32px;
}
.btn--on-brand:focus-visible {
  outline-color: var(--on-brand);
}
.end__mark {
  grid-column: 2;
  grid-row: 2 / span 2;
  position: relative;
  width: clamp(140px, 22vw, 320px);
  aspect-ratio: 648 / 616;
  align-self: end;
}
.end__mark .xs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.end__mark .xs--a {
  transition-duration: 0.6s;
}
.end__mark .xs--b {
  transition-duration: 0.66s;
  transition-delay: 0.34s;
}

/* ---------- 꼬리말 ---------- */

.foot {
  background: #000;
  color: #fff;
}
.foot__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px 32px;
  padding-block: 48px;
}
.foot__logo {
  width: 148px;
  height: auto;
}
.foot__tag {
  justify-self: end;
  font-size: 1rem;
  font-weight: 600;
}
.foot__meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 24px;
  border-top: 1px solid #333;
  font-size: 0.875rem;
  color: #a6a6a6;
}
.foot__meta a {
  color: #fff;
}

/* ---------- 좁은 화면 ---------- */

@media (max-width: 860px) {
  .top__nav a:not(.top__ig) {
    display: none;
  }
  .line {
    --size: min(19.5vw, 132px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.06em;
  }
  .slot {
    flex: none;
    width: 100%;
  }
  .hero__do {
    justify-self: start;
  }
  .hero__below {
    grid-template-columns: minmax(0, 1fr);
  }
  .row {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
  .plates {
    flex-direction: column;
    align-items: stretch;
  }
  .plate {
    flex: none;
    min-height: 0;
    padding-top: 28px;
  }
  .plate--tech {
    padding-top: 72px;
  }
  .plate--human {
    transform: translate(-12px, calc(var(--open) * -9vh));
  }
  .plate--tech {
    transform: translate(12px, calc(var(--open) * 9vh));
  }
  .plates {
    padding-inline: 12px;
  }
  .plates {
    gap: 0;
  }
  .plates__gauge {
    position: relative;
    left: auto;
    top: auto;
    align-self: center;
    width: 32px;
    height: 16px;
    transform: none;
    border: 0;
    --reach: calc(var(--open) * 9vh);
  }
  .gauge__line {
    inset: calc(var(--reach) * -1) auto calc(var(--reach) * -1) 50%;
    width: 2px;
    height: auto;
    margin: 0 0 0 -1px;
  }
  .plates__gauge::before,
  .plates__gauge::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--ink);
  }
  .plates__gauge::before {
    top: calc(var(--reach) * -1);
  }
  .plates__gauge::after {
    bottom: calc(var(--reach) * -1);
  }
  .gauge__label {
    left: calc(100% + 8px);
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    padding: 2px 8px;
    background: var(--paper);
  }
  .gap__stage {
    padding-block: 32px;
  }
  .gap__close {
    margin-left: 0;
  }
  .hero {
    min-height: 0;
  }
  .tool {
    grid-template-columns: minmax(0, 1fr);
  }
  .tool h3,
  .tool p {
    grid-column: 1;
    grid-row: auto;
  }
  .bar3 {
    grid-template-columns: minmax(0, 1fr);
  }
  .end__inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .end__mark {
    grid-column: 1;
    grid-row: auto;
    justify-self: end;
    margin-top: 40px;
  }
  .foot__inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .foot__tag {
    justify-self: start;
  }
}

/* ---------- 움직임 줄이기 ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .tape::before,
  .has-caret::after {
    animation: none;
  }
  .xs,
  .rows__band,
  .bar__col,
  .bar__val {
    transition-duration: 0.01s;
    transition-delay: 0s;
  }
  .js .gap__track {
    height: auto;
  }
  .js .gap__stage {
    position: static;
    height: auto;
  }
}
