/* ── 새벽 교대(Dawn Shift) 공통 베이스 — 토큰 · 리셋 · 나브 · 푸터 ─────────── */
:root {
  --asphalt: #131019; --predawn: #241c38; --panel: #1b1528;
  --amber: #ffa347; --amber-dim: #c77d36; --red: #d95757;
  --lane: #f2edf7; --fog: #9d8fbe; --line: #322851; --line-strong: #75689d; --red-text: #ea7474;
  --mono: "IBM Plex Mono", "Pretendard Variable", ui-monospace, monospace;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
html { color-scheme: dark; scroll-padding-top: 76px; }
* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }   /* display를 지정한 요소(form·버튼)에도 hidden이 먹도록 */
body { background: var(--asphalt); color: var(--lane); line-height: 1.7; overflow-x: hidden;
  font-family: "Pretendard Variable", Pretendard, "Malgun Gothic", sans-serif;
  word-break: keep-all; overflow-wrap: anywhere;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a { color: var(--amber); text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
[tabindex="-1"]:focus-visible { outline: none; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
section { scroll-margin-top: 76px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: 16px; top: -64px; z-index: 100; background: var(--amber);
  color: #1d1206; font-weight: 700; padding: 10px 14px; border-radius: 0 10px 0 0;
  transition: top .2s var(--ease-out); }
.skip:focus { top: 12px; }

/* 차선 모티프: 점선 = 차로 경계, 황색 = 중앙선 */
.center-line { height: 7px; background:
  repeating-linear-gradient(90deg, var(--amber) 0 90px, transparent 90px 120px);
  box-shadow: 0 3px 0 -1px var(--amber); opacity: .8; }

/* ── 나브 ─────────────────────────────────────────────────────────────── */
nav { position: sticky; top: 0; z-index: 50; background: rgba(19,16,25,.82);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; padding: 14px 24px;
  max-width: 1080px; margin: 0 auto; }
.logo { font-weight: 800; font-size: 19px; color: var(--lane); letter-spacing: -.01em;
  transition: color .2s; }
.logo em { font-style: normal; color: var(--amber); }
.logo:hover { color: var(--amber); }
.shift { display: flex; align-items: baseline; gap: 9px; font-family: var(--mono);
  font-size: 12.5px; color: var(--fog); letter-spacing: .02em; white-space: nowrap; }
.shift .clock { color: var(--amber); font-weight: 600; font-size: 15px;
  font-variant-numeric: tabular-nums; }
.shift .clock-label { min-width: 3.2em; }
.nav-spacer { flex: 1; }
.nav-in a.item { color: var(--fog); font-size: 14.5px; font-weight: 500;
  transition: color .2s; white-space: nowrap; }
.nav-in a.item:hover { color: var(--lane); }
@media (max-width: 720px) {
  .nav-in { gap: 14px; padding: 12px 20px; }
  .nav-in a.item:not(.item-cta) { display: none; }
}

/* ── 섹션 공통: 타임스탬프 아이브로 · 버튼 ───────────────────────────────── */
.stamp { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--amber-dim);
  letter-spacing: .06em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.btn { display: inline-block; background: var(--amber); color: #1d1206; font-weight: 800;
  font-size: 16px; padding: 15px 30px; border-radius: 0 12px 0 0; border: 0; cursor: pointer;
  font-family: inherit; will-change: transform; transition: filter .2s, box-shadow .3s; }
.btn:hover { filter: brightness(1.07); box-shadow: 0 0 0 6px rgba(255,163,71,.14); }
.btn:disabled { filter: grayscale(.4) brightness(.8); cursor: not-allowed; box-shadow: none; }
.btn-ghost { display: inline-block; background: none; color: var(--lane); font-weight: 700;
  font-size: 14.5px; padding: 12px 22px; border: 1px solid var(--line); border-radius: 0 10px 0 0;
  cursor: pointer; font-family: inherit; transition: border-color .2s, color .2s; }
.btn-ghost:hover { border-color: var(--fog); color: var(--amber); }

footer { padding: 36px 0 56px; font-size: 13px; color: var(--fog); }
footer p { margin-bottom: 7px; }
footer .brand { color: var(--lane); font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  .skip, .logo, .btn, .btn-ghost { transition: none; }
}
