/* LDJ App Lab — 도로 안내 표지 체계 */

/* Pretendard 가변 글꼴, 이 사이트 글자만 담은 부분집합(tools/subset_font.py로 다시 만든다) */
@font-face {
  font-family: "Pretendard Variable";
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/pretendard-site.woff2") format("woff2-variations"), url("/fonts/pretendard-site.woff2") format("woff2");
}

:root {
  --sign: #0b5b3a;
  --sign-deep: #08472d;
  --sign-ink: #ffffff;
  --sign-ink-2: #d3e6d9;
  --plate: #ffffff;
  --plate-ink: #121714;
  --plate-ink-2: #3f4a43;
  --ground: #e9ece8;
  --ground-2: #dde2dd;
  --ink: #141a16;
  --ink-2: #3e4842;
  --rule: #bfc8c2;
  --steel: #8a958f;
  --steel-2: #616b66;
  --asphalt: #1d2320;
  --asphalt-ink: #e4e9e5;
  --asphalt-ink-2: #aab5ae;
  --lane: #f2c230;
  --seal: #c9472b;

  /* 표지 글자 높이 단위 H = 8px, 모든 간격은 H의 배수 */
  --u: 0.5rem;
  --u2: 1rem;
  --u3: 1.5rem;
  --u4: 2rem;
  --u6: 3rem;
  --u8: 4rem;
  --u12: 6rem;

  --r-sign: 14px;
  --r-plate: 8px;
  --stroke: 3px;

  --wrap: 1240px;
  --gutter: 48px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "D2Coding", monospace;

  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: auto;
  scroll-padding-top: 0;
  scrollbar-color: var(--steel-2) var(--ground);
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
  font-feature-settings: "ss06";
  caret-color: var(--sign);
}

::selection { background: var(--lane); color: var(--ink); }

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }

code {
  font-family: var(--mono);
  font-size: 0.92em;
  letter-spacing: 0;
}

:focus-visible {
  outline: 3px solid var(--sign);
  outline-offset: 3px;
}

.on-sign :focus-visible,
.sign :focus-visible,
.topsign :focus-visible,
.road :focus-visible {
  outline-color: var(--lane);
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-left: 48px;
  padding-right: 48px;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: var(--u) var(--u2);
  background: var(--plate);
  color: var(--plate-ink);
  border-radius: var(--r-plate);
  font-weight: 700;
}
.skip:focus { top: var(--u2); }

.tnum { font-variant-numeric: tabular-nums; }

/* 누르는 곳은 높이 44px 이상(밑줄은 글자 기준선 아래에 둔다) */
.skip,
.topsign__home,
.topsign__nav a,
.go,
.mail,
.road__links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.topsign__home,
.topsign__nav a,
.road__links a {
  min-width: 44px;
  justify-content: center;
}

/* ── 표지판 공통 ───────────────────────────── */

.sign {
  position: relative;
  isolation: isolate;
  background: var(--sign);
  color: var(--sign-ink);
  border-radius: var(--r-sign);
  box-shadow: 0 18px 32px -20px rgba(8, 40, 26, 0.55);
}

/* 반사 시트 결 */
.sign::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: url("/img/sheeting.webp") 0 0 / 192px 192px repeat;
  mix-blend-mode: soft-light;
  opacity: 0.42;
  pointer-events: none;
}

/* 표지 안쪽 흰 테두리 */
.sign::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: var(--stroke) solid var(--sign-ink);
  border-radius: calc(var(--r-sign) - 5px);
  pointer-events: none;
}

.plate {
  position: relative;
  background: var(--plate);
  color: var(--plate-ink);
  border-radius: var(--r-plate);
  box-shadow: inset 0 0 0 2px var(--plate-ink);
}

/* LDJ 노선 번호판 */
.marker {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 2.4em;
  height: 2.6em;
  padding-bottom: 0.25em;
  background: var(--plate);
  color: var(--sign);
  font-weight: 900;
  font-size: 1em;
  letter-spacing: -0.02em;
  line-height: 1;
  border-radius: 0.3em 0.3em 50% 50% / 0.3em 0.3em 36% 36%;
  box-shadow: inset 0 0 0 0.12em var(--sign), inset 0 0 0 0.2em var(--plate);
}

/* 표지 화살표 */
.arrow {
  width: 1em;
  height: 1em;
  fill: currentColor;
  flex: none;
}

/* ── 상단 작은 표지(내비게이션) ───────────── */

.topsign {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: var(--sign);
  color: var(--sign-ink);
  border-bottom: var(--stroke) solid var(--sign-ink);
  box-shadow: 0 6px 18px -12px rgba(8, 40, 26, 0.55);
  transform: translateY(-110%);
  visibility: hidden;
  transition: transform 0.32s var(--ease-out), visibility 0s linear 0.32s;
}
.topsign.is-on,
.page-sub .topsign {
  transform: none;
  visibility: visible;
  transition: transform 0.32s var(--ease-out), visibility 0s;
}
.topsign__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--u2);
  min-height: 60px;
}
.topsign__home {
  display: inline-flex;
  align-items: center;
  gap: var(--u);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.topsign__home .marker { font-size: 0.75rem; }
.topsign__nav {
  display: flex;
  gap: var(--u3);
  font-weight: 700;
  font-size: 0.9375rem;
}
.topsign__nav a {
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(currentColor, currentColor) 0 calc(50% + 0.85em) / 0 2px no-repeat;
  transition: background-size 0.3s var(--ease-out);
}
.topsign__nav a:hover,
.topsign__nav a[aria-current="page"] { background-size: 100% 2px; }

/* ── 첫 화면: 문형 안내표지 ───────────────── */

.gantry {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: clamp(24px, 6vh, 64px);
  overflow: hidden;
}

.gantry__in {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* 기둥과 보 */
.gantry__frame {
  position: absolute;
  inset: 0 calc(var(--gutter) * -1);
  pointer-events: none;
  z-index: 0;
}
.gantry__post {
  position: absolute;
  top: clamp(40px, 8vh, 88px);
  bottom: 0;
  width: 16px;
  background: linear-gradient(90deg, var(--steel-2), var(--rule) 45%, var(--steel-2));
  border-radius: 3px 3px 0 0;
}
.gantry__post--l { left: calc(var(--gutter) / 2 - 8px); }
.gantry__post--r { right: calc(var(--gutter) / 2 - 8px); }
.gantry__beam {
  position: absolute;
  left: calc(var(--gutter) / 2);
  right: calc(var(--gutter) / 2);
  top: clamp(56px, 11vh, 120px);
  height: 30px;
  border-block: 4px solid var(--steel-2);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='22'%3E%3Cpath d='M0 22 14 0 28 22' fill='none' stroke='%238a958f' stroke-width='3'/%3E%3C/svg%3E") 0 0 / 28px 22px repeat-x;
}

.gantry .sign--main {
  z-index: 1;
  flex: 1;
  max-height: 640px;
  min-height: 420px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: var(--u6);
  padding: 48px 52px;
}

.sign__id {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--u4);
  min-width: 0;
}
.sign__id .marker { font-size: clamp(1.125rem, 1.8vw, 1.5rem); }

.sign__title {
  display: flex;
  flex-direction: column;
  gap: var(--u);
  margin-top: var(--u3);
}
.sign__name {
  font-size: clamp(3rem, 6.4vw, 5.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
}
.sign__ko {
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
/* 거리표 줄: 소재지·만드는 것·개업 */
.sign__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--u2);
}
.sign__meta li {
  padding-top: 10px;
  border-top: 2px solid rgba(255, 255, 255, 0.85);
  font-size: clamp(1.0625rem, 1.5vw, 1.375rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.sign__meta li span {
  display: block;
  margin-bottom: 4px;
  color: var(--sign-ink-2);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0;
}

.sign__line {
  margin-top: var(--u3);
  max-width: 26em;
  color: var(--sign-ink);
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  font-weight: 500;
  line-height: 1.55;
}

.ways {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: var(--stroke) solid var(--sign-ink);
  padding-left: 40px;
}
.way {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--u2);
  padding-top: 22px;
  padding-bottom: 22px;
  text-decoration: none;
  overflow: hidden;
}
.way + .way { border-top: 2px solid rgba(255, 255, 255, 0.85); }
.way__to {
  display: block;
  font-size: clamp(1.75rem, 2.9vw, 2.625rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.way__sub {
  display: block;
  margin-top: 6px;
  color: var(--sign-ink-2);
  font-size: 1rem;
  font-weight: 500;
}
.way__plate {
  display: grid;
  place-items: center;
  width: clamp(52px, 4.6vw, 68px);
  aspect-ratio: 1;
  border: var(--stroke) solid var(--sign-ink);
  border-radius: 10px;
  font-size: clamp(30px, 2.6vw, 40px);
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
/* 전조등이 반사 시트를 훑는 빛 */
.way::after {
  content: "";
  position: absolute;
  inset: 0 -40%;
  background: linear-gradient(100deg, transparent 38%, rgba(255, 255, 255, 0.16) 50%, transparent 62%);
  transform: translateX(-70%);
  pointer-events: none;
}
.way:hover .way__plate,
.way:focus-visible .way__plate {
  background: var(--sign-ink);
  color: var(--sign);
}
.way:active .way__plate { transform: translateY(2px); }
.way:hover::after,
.way:focus-visible::after {
  transform: translateX(70%);
  transition: transform 0.9s var(--ease-out);
}

/* 보조표지 */
.plate--sub {
  z-index: 1;
  align-self: center;
  margin-top: 18px;
  padding: 12px var(--u3);
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  font-weight: 600;
  text-align: center;
}
.plate--sub::before,
.plate--sub::after {
  content: "";
  position: absolute;
  top: -18px;
  width: 10px;
  height: 18px;
  background: var(--steel-2);
}
.plate--sub::before { left: 22%; }
.plate--sub::after { right: 22%; }
.plate--sub span + span::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 0.7em 0.2em;
  border-radius: 50%;
  background: currentColor;
  vertical-align: middle;
}

/* 첫 화면 아래 도로 */
.road-strip {
  position: relative;
  z-index: 1;
  height: clamp(44px, 7vh, 72px);
  margin-top: clamp(24px, 5vh, 56px);
  background: var(--asphalt);
}
.road-strip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  margin-top: -2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='4'%3E%3Crect width='48' height='4' fill='%23e4e9e5'/%3E%3C/svg%3E") 0 0 / 96px 4px repeat-x;
  opacity: 0.85;
}

/* ── 섹션 공통 ───────────────────────────── */

.sec {
  position: relative;
  padding-block: clamp(48px, 8vh, 96px);
}

.signhead {
  display: inline-flex;
  align-items: center;
  gap: var(--u2);
  padding: 18px 28px 18px 18px;
}
.signhead h1,
.signhead h2 {
  font-size: clamp(2rem, 3.6vw, 3.125rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.signhead__sub {
  display: block;
  margin-top: 4px;
  color: var(--sign-ink-2);
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.signhead--text { padding-left: 28px; }
.signhead__icon {
  width: clamp(56px, 5vw, 72px);
  height: auto;
  border-radius: 22%;
  box-shadow: 0 0 0 3px var(--sign-ink);
}

/* 상태 보조표지: 모양 + 글자 */
.status {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 8px 16px 8px 12px;
  font-size: 0.9375rem;
  font-weight: 700;
}
.status__mark {
  width: 18px;
  height: 18px;
  flex: none;
  border: 3px solid currentColor;
  border-radius: 50%;
  background: linear-gradient(90deg, currentColor 50%, transparent 50%);
}

.lead {
  margin-top: var(--u4);
  max-width: 34em;
  font-size: clamp(1.125rem, 1.4vw, 1.25rem);
  line-height: 1.7;
}

.textlink {
  color: var(--sign);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  text-decoration-color: rgba(11, 91, 58, 0.35);
  transition: text-decoration-color 0.2s var(--ease-out);
}
.textlink:hover { text-decoration-color: currentColor; }

.go {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
  color: var(--sign);
  background: linear-gradient(currentColor, currentColor) 0 calc(50% + 0.85em) / 0 2px no-repeat;
  transition: background-size 0.3s var(--ease-out);
}
.go .arrow { font-size: 0.9em; transition: transform 0.2s var(--ease-out); }
.go:hover { background-size: 100% 2px; }
.go:hover .arrow { transform: translate(2px, -2px); }

/* ── 정산픽 ───────────────────────────────── */

.app { min-height: calc(var(--hm, 1) * 100svh); }

/* 12열 격자(간격 = --gutter): 글 1~6열, 사진 판 7~12열 */
.app__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: var(--u4);
  align-items: start;
}
.app__grid > :first-child { grid-column: 1 / 7; padding-right: clamp(0px, 2.4vw, 40px); }
.app__aside { grid-column: 7 / 13; }

.facts {
  margin-top: var(--u3);
}
.facts li {
  display: grid;
  grid-template-columns: 9.5em minmax(0, 1fr);
  gap: var(--u2);
  padding-top: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.6;
}
.facts strong {
  color: var(--ink);
  font-weight: 800;
}

.spec {
  display: grid;
  grid-template-columns: 6.5em minmax(0, 1fr);
  gap: 6px var(--u2);
  margin-top: var(--u3);
  font-size: 0.9375rem;
  color: var(--ink-2);
}
.spec dt { font-weight: 700; color: var(--ink); }

.app__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--u) var(--u3);
  margin-top: var(--u3);
}

/* 사진 판 안에 앱 화면을 세운다 */
.stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--r-plate);
  background: var(--ground-2);
  padding: 30% 24px 24px;
}
.stage__photo {
  position: absolute;
  inset: 0;
  z-index: -1;
  margin: 0;
}
.stage__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}
.phones {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.6vw, 20px);
}
.app__aside .spec { margin-top: var(--u3); }
.phone {
  padding: 7px;
  background: #101412;
  border-radius: 26px;
  box-shadow: 0 22px 34px -18px rgba(10, 20, 15, 0.55), 0 2px 4px rgba(10, 20, 15, 0.2);
}
.phone img {
  width: 100%;
  height: auto;
  aspect-ratio: 600 / 1300;
  border-radius: 19px;
  background: #f1f1ec;
}

/* ── 회사 정보·문의·방침 ─────────────────── */

/* 마지막 화면: 회사 정보·문의 + 도로(바닥글)가 한 화면 */
.closing {
  background: var(--ground-2);
  overflow: hidden;
}
.closing__wrap {
  min-height: calc(var(--hm, 1) * 100svh);
  display: flex;
  flex-direction: column;
  padding-top: clamp(48px, 8vh, 96px);
}
.closing .info__grid { flex: 1 0 auto; }

.closing {
  display: flex;
  flex-direction: column;
  min-height: calc(var(--hm, 1) * 100svh);
}
.closing__wrap { flex: 1 0 auto; min-height: 0; padding-bottom: clamp(24px, 4vh, 48px); }
.road.road--row {
  padding-top: 48px;
  padding-bottom: 72px;
}
.road__row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  column-gap: var(--gutter);
  row-gap: var(--u2);
}
.road__row .road__name { grid-column: 1 / 5; }
.road__row .road__links { grid-column: 6 / 10; }
.road__row .road__copy { grid-column: 10 / 13; text-align: right; white-space: nowrap; }
.road--row .road__copy {
  padding-top: 0;
  border-top: 0;
}

/* 넓은 화면: 도로에서 나온 차선 한 줄이 섹션 표지들을 잇는다 */
@media (min-width: 1360px) {
  .app, .closing__wrap { position: relative; }
  .app::before,
  .closing__wrap::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='48'%3E%3Crect width='4' height='24' fill='%23616b66'/%3E%3C/svg%3E") 0 0 / 4px 48px repeat-y;
    pointer-events: none;
  }
  .app::before { left: calc(50% - 620px - 44px); }
  .closing__wrap::before { left: 4px; }
}

.info__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.register {
  margin-top: var(--u4);
  padding: var(--u) var(--u4);
}
.register > div {
  display: grid;
  grid-template-columns: 9em minmax(0, 1fr);
  gap: var(--u2);
  padding-top: 14px;
  padding-bottom: 14px;
}
.register > div + div { border-top: 1px solid #cfd6d1; }
.register dt { font-weight: 700; color: var(--plate-ink-2); font-size: 0.9375rem; padding-top: 2px; }
.register dd { font-weight: 600; font-size: 1.0625rem; }

.contact {
  padding: 36px;
}
.contact h3 {
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.contact p {
  margin-top: 12px;
  color: var(--sign-ink-2);
  font-weight: 500;
}
.mail {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: var(--u3);
  font-size: clamp(1.375rem, 2.2vw, 1.875rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(50% + 0.78em) / 0 3px no-repeat;
  transition: background-size 0.35s var(--ease-out);
}
.mail:hover { background-size: 100% 3px; }
.mail .arrow { font-size: 0.8em; }

.copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--u2);
  padding: 10px 18px;
  border: 2px solid var(--sign-ink);
  border-radius: var(--r-plate);
  background: transparent;
  color: var(--sign-ink);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out), transform 0.15s var(--ease-out);
}
.copy:hover { background: var(--sign-ink); color: var(--sign); }
.copy:active { transform: translateY(2px); }
.copy__done {
  display: block;
  min-height: 1.6em;
  margin-top: 8px;
  color: var(--sign-ink-2);
  font-size: 0.9375rem;
  font-weight: 600;
}

.policies {
  margin-top: var(--u3);
  padding: var(--u3) var(--u4);
}
.policies h3 {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.policies ul { margin-top: 10px; }
.policies li + li a { border-top: 1px solid #cfd6d1; }
.policies a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--u2);
  padding-top: 12px;
  padding-bottom: 12px;
  font-weight: 700;
  text-decoration: none;
}
.policies a span:first-child {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.3s var(--ease-out);
}
.policies a:hover span:first-child { background-size: 100% 2px; }
.policies .arrow { color: var(--sign); font-size: 1.125rem; }
.policies small {
  display: block;
  color: var(--plate-ink-2);
  font-size: 0.875rem;
  font-weight: 500;
}

/* ── 바닥글: 도로 ─────────────────────────── */

.road {
  position: relative;
  background: var(--asphalt);
  color: var(--asphalt-ink);
  padding-top: 56px;
  padding-bottom: 40px;
  font-size: 0.9375rem;
}
.road::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 18px;
  height: 4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='4'%3E%3Crect width='48' height='4' fill='%23e4e9e5'/%3E%3C/svg%3E") 0 0 / 96px 4px repeat-x;
  opacity: 0.7;
}
.road__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--u3) var(--u6);
  align-items: end;
}
.road__name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}
.road__name .marker { font-size: 0.8125rem; }
.road__biz {
  margin-top: 14px;
  color: var(--asphalt-ink-2);
  line-height: 1.8;
}
.road__biz span { white-space: nowrap; }
.road__biz span + span::before {
  content: "·";
  margin-inline: 0.55em;
}
.road__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px var(--u3);
  font-weight: 700;
}
.road__links a {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(50% + 0.85em) / 0 2px no-repeat;
  transition: background-size 0.3s var(--ease-out);
}
.road__links a:hover { background-size: 100% 2px; }
.road__copy {
  grid-column: 1 / -1;
  padding-top: var(--u3);
  border-top: 1px solid rgba(228, 233, 229, 0.18);
  color: var(--asphalt-ink-2);
  font-size: 0.875rem;
}

/* ── 문서 페이지(개인정보처리방침·404) ───── */

.page-sub main { padding-top: 60px; }

.doc {
  padding-top: 72px;
  padding-bottom: 96px;
}
.doc__body {
  max-width: 68ch;
  margin-top: var(--u6);
}
.doc__meta {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-weight: 600;
}
.doc__body h2 {
  margin-top: var(--u6);
  padding-top: var(--u2);
  border-top: 2px solid var(--ink);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.doc__body h2:first-child { margin-top: 0; }
.doc__body p,
.doc__body ul { margin-top: 12px; color: var(--ink-2); }
.doc__body ul { padding-left: 1.2em; list-style: disc; }
.doc__body li + li { margin-top: 6px; }
.doc__body strong { color: var(--ink); }

.lost {
  min-height: calc(100svh - 60px);
  display: grid;
  align-content: center;
  padding-top: var(--u8);
  padding-bottom: var(--u8);
}
.lost .sign {
  display: grid;
  gap: var(--u3);
  padding: 48px;
  max-width: 720px;
}
.lost h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.lost p { color: var(--sign-ink-2); font-size: 1.125rem; }
.lost .way { padding-top: 18px; padding-bottom: 6px; border-top: 2px solid rgba(255, 255, 255, 0.85); }

/* ── 화면 너비별 ──────────────────────────── */

@media (max-width: 1200px) {
  :root { --gutter: 40px; }
  .wrap { padding-left: 40px; padding-right: 40px; }
}

@media (max-width: 1100px) {
  .gantry .sign--main { gap: var(--u4); padding: 36px 36px; }
  .ways { padding-left: 28px; }
  .stage { padding: 30% 16px 16px; }
  .facts li { grid-template-columns: 8em minmax(0, 1fr); }
}

@media (max-width: 900px) {
  :root { --gutter: 32px; }
  .wrap { padding-left: 32px; padding-right: 32px; }
  .app, .closing { --hm: 2; }
  .gantry__frame { display: none; }
  .gantry .sign--main {
    grid-template-columns: 1fr;
    max-height: none;
    min-height: 0;
    flex: 0 0 auto;
  }
  .ways {
    border-left: 0;
    border-top: var(--stroke) solid var(--sign-ink);
    padding-left: 0;
    padding-top: 4px;
  }
  .sign__title { margin-top: var(--u2); }
  .info__grid { grid-template-columns: 1fr; }
  .app__grid > :first-child,
  .app__aside { grid-column: 1 / -1; padding-right: 0; }
  .stage { margin-top: var(--u2); }
  .road__grid { grid-template-columns: 1fr; align-items: start; }
  .road__row { align-items: start; }
  .road__row .road__name,
  .road__row .road__links,
  .road__row .road__copy { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  body { font-size: 1rem; }
  .app, .closing { --hm: 2; }
  .topsign__home span:last-child { display: none; }
  .topsign__nav { gap: var(--u2); font-size: 0.875rem; }
  .gantry { padding-top: 16px; }
  .gantry .sign--main { padding: 26px 22px 18px; gap: var(--u3); }
  .sign__id { gap: var(--u2); }
  .sign__meta { display: none; }
  .way { padding-top: 14px; padding-bottom: 14px; }
  .plate--sub {
    align-self: stretch;
    padding: 10px 14px;
    text-align: left;
  }
  .plate--sub span { display: block; }
  .plate--sub span + span::before { display: none; }
  .signhead { padding: 14px 20px 14px 14px; gap: 12px; }
  .facts li { grid-template-columns: 1fr; gap: 2px; padding-top: 12px; padding-bottom: 12px; }
  .stage { padding: 34% 10px 10px; }
  .phones { gap: 8px; }
  .phone { padding: 4px; border-radius: 16px; }
  .phone img { border-radius: 12px; }
  .register { padding: 4px var(--u2); }
  .register > div { grid-template-columns: 1fr; gap: 2px; padding-top: 12px; padding-bottom: 12px; }
  .policies { padding: var(--u2) var(--u2); }
  .copy { width: 100%; justify-content: center; }
  .contact { padding: 26px 22px; }
  .lost .sign { padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .way::after { display: none; }
}

@media print {
  .topsign, .gantry__frame, .road-strip { display: none; }
  .sign { box-shadow: none; }
}
