/* 안성캠퍼스 OSINT — SpaceX 디자인 언어 적용
   순검정 캔버스, 흑백만(강조색 없음), 대문자 + 넓은 자간, 고스트 pill 버튼.
   그림자·그라데이션·장식 도형은 쓰지 않는다. */

:root {
  --night: #000000;
  --night-soft: #0a0a0a;
  --white: #ffffff;
  --white-mute: #f0f0fa;
  --hairline: #3a3a3f;
  --mute: #8a8a90;

  /* D-DIN 계열이 없으면 폭이 좁은 순으로 물러난다(명세 폴백 사슬) */
  --display: "D-DIN-Bold", "Arial Narrow", "Helvetica Neue", Arial, Verdana, sans-serif;
  --ui: "D-DIN", "Pretendard", "Apple SD Gothic Neo", Arial, Verdana, sans-serif;
  --ko: "Pretendard", "Apple SD Gothic Neo", sans-serif;
}

* { box-sizing: border-box; }

/* 배경 입자. 사진을 쓸 수 없으니 그 자리를 대신한다.
   흑백만 쓰고 점 외에 어떤 도형도 그리지 않는다. */
#stars {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
nav, main, footer { position: relative; z-index: 1; }
html, body { height: 100%; }
body {
  margin: 0; background: var(--night); color: var(--white);
  font-family: var(--ui); font-size: 16px; line-height: 1.5; letter-spacing: .32px;
  -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: column; min-height: 100vh;
}

/* ── 상단: 오버레이 내비 ── */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 32px; flex: 0 0 auto;
}
.wordmark, .nav-meta {
  font-size: 12px; font-weight: 400; line-height: 2;
  letter-spacing: .96px; text-transform: uppercase; color: var(--white);
}
.wordmark { font-weight: 700; letter-spacing: 1.17px; }
.nav-meta { color: var(--mute); }
.nav-meta .on { color: var(--white); }

/* ── 본문 ── */
main {
  flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center;
  padding: 24px 32px 32px; max-width: 1400px; width: 100%; margin: 0 auto;
}

/* 제목 위 표찰. 명세의 마이크로 캡션 자리 — 왼쪽 짧은 선으로 눈금을 준다 */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--ko);
  font-size: 13px; font-weight: 400; letter-spacing: 4px; line-height: 2;
  color: var(--white-mute); margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--white); opacity: .7;
}

h1 {
  margin: 0 0 48px;
  font-family: var(--ko);
  font-size: clamp(34px, 6.2vw, 80px); font-weight: 700;
  line-height: .95; letter-spacing: 1.6px;
}

/* ── 타일 4분할 ── */
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }

.tile {
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 340px; padding: 32px 24px 28px;
  border-left: 1px solid var(--hairline);
  color: inherit; text-decoration: none;
  transition: background .2s linear;
}
.tile:last-child { border-right: 1px solid var(--hairline); }
.tile:hover, .tile:focus-visible { background: var(--night-soft); }
.tile:focus-visible { outline: 1px solid var(--white); outline-offset: -1px; }

.tile .no {
  font-size: 12px; letter-spacing: .96px; line-height: 2;
  color: var(--mute); margin-bottom: auto;
}
.tile .val {
  font-family: var(--display);
  font-size: clamp(40px, 4.6vw, 60px); font-weight: 700;
  line-height: 1.2; letter-spacing: 1.2px;
  font-variant-numeric: tabular-nums;
}
.tile .unit {
  font-family: var(--ui); font-size: 13px; font-weight: 400;
  letter-spacing: .96px; color: var(--mute); margin-left: 6px;
}
.tile .cap {
  font-size: 12px; letter-spacing: .96px; line-height: 2;
  text-transform: uppercase; color: var(--mute); margin-top: 2px;
}
.tile .name {
  font-family: var(--ko);
  font-size: 20px; font-weight: 700; letter-spacing: .5px; line-height: 1.3;
  margin: 14px 0 20px;
}

/* 고스트 아웃라인 pill — 밴드당 하나뿐인 CTA */
.tile .cta {
  align-self: flex-start;
  padding: 14px 24px; border: 1px solid var(--white); border-radius: 32px;
  font-size: 13px; font-weight: 700; line-height: .94; letter-spacing: 1.17px;
  text-transform: uppercase; color: var(--white); background: transparent;
  transition: background .2s linear, color .2s linear;
}
.tile:hover .cta, .tile:focus-visible .cta { background: var(--white); color: var(--night); }

/* ── 꼬리말 ── */
footer {
  flex: 0 0 auto; display: flex; justify-content: space-between; gap: 24px;
  padding: 24px 32px 32px; border-top: 1px solid var(--hairline);
  font-size: 12px; line-height: 2; letter-spacing: .96px;
  text-transform: uppercase; color: var(--mute);
}

/* ── 좁은 화면 ── */
@media (max-width: 1040px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tile { min-height: 280px; border-top: 1px solid var(--hairline); }
  .tile:nth-child(2n) { border-right: 1px solid var(--hairline); }
}
@media (max-width: 620px) {
  nav, main, footer { padding-left: 20px; padding-right: 20px; }
  h1 { margin-bottom: 32px; }
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 0; padding: 24px 20px; border-right: 1px solid var(--hairline); }
  .tile .no { margin-bottom: 16px; }
  footer { flex-direction: column; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
