/* 계엄령.quest — corporate authority + asymmetric layout + sketch counter-narrative */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy-deep: #0a1a2e;
  --navy-mid: #142840;
  --steel: #3a5a7a;
  --silver: #a0b0c0;
  --white: #f4f6f8;
  --light: #e8ecf0;
  --accent: #2a7aff;
  --sketch: #5a4a3a;
}

html, body {
  background: var(--white);
  color: var(--navy-deep);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* AUTHORITY HEADER */
.authority {
  position: relative;
  background: var(--navy-deep);
  color: var(--white);
  padding: 30vh 6vw 20vh 15vw;
  min-height: 80vh;
  overflow: hidden;
}

.auth-meta {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 24px;
}

.auth-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
}
.quest {
  color: var(--accent);
  font-weight: 400;
}

.auth-sub {
  margin-top: 18px;
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: clamp(17px, 1.8vw, 22px);
  color: var(--silver);
  max-width: 540px;
}

.sketch-scale {
  position: absolute;
  right: -40px;
  top: 12vh;
  width: clamp(220px, 28vw, 360px);
  height: auto;
  opacity: 0.5;
}

@media (max-width: 720px) {
  .authority { padding: 20vh 6vw 15vh; min-height: 70vh; }
  .sketch-scale { right: -80px; top: auto; bottom: -40px; opacity: 0.25; }
}

/* INVESTIGATION BLOCKS */
.invest {
  max-width: 1180px;
  margin: 100px auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 65% 30%;
  gap: 5%;
}
.invest .side { margin-top: 40px; }

.invest:nth-of-type(odd) { grid-template-columns: 55% 35%; gap: 10%; }
.invest:nth-of-type(odd) .side { margin-top: 80px; }

.kicker {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 14px;
  display: inline-block;
}

.main-h {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 22px;
  color: var(--navy-deep);
}

.main p {
  margin-bottom: 1.2em;
  font-size: 16.5px;
  color: #1a3050;
}
.main p strong { color: var(--accent); }

.def-card {
  background: var(--white);
  border: 1px solid var(--light);
  border-radius: 4px;
  padding: 22px;
  box-shadow: 0 2px 8px rgba(10, 26, 46, 0.06);
  margin-bottom: 20px;
  transition: border-color 300ms ease;
}
.def-card:hover { border-color: var(--accent); }

.def-tag {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 10px;
  display: block;
}

.def-card p {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--navy-deep);
}
.def-card p em { color: var(--accent); font-style: italic; font-weight: 400; }

.sketch {
  width: 100px;
  height: 100px;
  display: block;
  margin: 0 0 18px;
  opacity: 0.85;
}

@media (max-width: 720px) {
  .invest { grid-template-columns: 1fr !important; gap: 24px; }
  .invest .side { margin-top: 0; }
}

/* MARBLE INTERLUDE */
.marble-interlude {
  background:
    repeating-linear-gradient(45deg,
      transparent 0 12px,
      rgba(160, 176, 192, 0.06) 12px 14px,
      transparent 14px 28px),
    var(--light);
  padding: 80px 32px;
  margin: 100px 0;
}
.marble-h {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 32px);
  text-align: center;
  margin-bottom: 48px;
  color: var(--navy-deep);
  letter-spacing: -0.01em;
}

.timeline {
  list-style: none;
  display: flex;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0;
  flex-wrap: wrap;
  gap: 16px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: var(--steel);
  z-index: 0;
}
.timeline li {
  position: relative;
  z-index: 2;
  background: var(--light);
  padding: 0 14px;
  text-align: center;
  flex: 1;
  min-width: 130px;
}
.timeline li::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  margin: 0 auto 14px;
  box-shadow: 0 0 0 4px var(--light);
}
.ev-date {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--navy-deep);
  margin-bottom: 6px;
}
.ev-title {
  display: block;
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 13.5px;
  color: var(--steel);
  line-height: 1.4;
}

/* RESOURCES FOOTER */
.resources {
  max-width: 1180px;
  margin: 100px auto 0;
  padding: 80px 32px;
  background: var(--navy-mid);
  color: var(--white);
}
.res-h {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 30px);
  margin-bottom: 36px;
  color: var(--white);
  letter-spacing: -0.01em;
}

.res-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-bottom: 60px;
}

.res-card {
  display: block;
  background: var(--navy-deep);
  border: 1px solid var(--steel);
  padding: 22px;
  text-decoration: none;
  color: var(--white);
  border-radius: 4px;
  transition: border-color 300ms ease, transform 200ms ease;
}
.res-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.res-tag {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}
.res-card strong {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--white);
}
.res-card p {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 13.5px;
  color: var(--silver);
  line-height: 1.5;
}

.res-meta {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver);
  text-align: center;
  border-top: 1px solid var(--steel);
  padding-top: 28px;
}
