:root {
  --void: #070705;
  --ink: #0e0d0a;
  --panel: #14120c;
  --panel-2: #1b1810;
  --line: rgba(198, 163, 93, 0.28);
  --gold: #c6a35d;
  --gold-2: #e8d5a3;
  --gold-3: #8a7040;
  --paper: #f4ead4;
  --mute: #b7a88a;
  --warn: #c45c3e;
  --shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
  --serif: "Cormorant Garamond", "Noto Serif KR", serif;
  --sans: "Noto Sans KR", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 8% -10%, rgba(198, 163, 93, 0.12), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(198, 163, 93, 0.06), transparent 45%),
    var(--void);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.85;
  letter-spacing: -0.01em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(rgba(232, 213, 163, 0.18) 0.6px, transparent 0.7px);
  background-size: 18px 18px;
  opacity: 0.18;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--gold-2);
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.35;
  color: var(--paper);
  margin: 0 0 0.7em;
}

h1 { font-size: clamp(2.1rem, 5vw, 4.1rem); }

.kg-h1-sub {
  display: block;
  margin-top: 12px;
  font-size: 0.52em;
  color: var(--gold-2);
  letter-spacing: 0.04em;
}
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
h3 { font-size: 1.18rem; color: var(--gold-2); }
h4 { font-size: 1.02rem; color: var(--gold); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.kg-mast {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 7vw;
  background: rgba(7, 7, 5, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.kg-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--paper);
}

.kg-logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border: 1px solid var(--line);
  background: #050504;
  filter: drop-shadow(0 0 12px rgba(198, 163, 93, 0.28));
}

.kg-logo-mark {
  width: 48px;
  height: 48px;
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--gold-2);
  box-shadow: inset 0 0 18px rgba(198, 163, 93, 0.2);
}

.kg-logo-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.kg-logo-name strong {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
}

.kg-logo-name span {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
}

.kg-mast-chip {
  border: 1px solid var(--line);
  color: var(--gold-2);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  padding: 8px 14px;
}

.kg-wrap {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 10vw));
  margin: 0 auto;
}

.kg-overture {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 88px;
}

.kg-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  margin-bottom: 18px;
}

.kg-kicker::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.kg-lead {
  font-size: 1.05rem;
  color: var(--mute);
  max-width: 38em;
}

.kg-plate {
  position: relative;
  min-height: 520px;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(198, 163, 93, 0.16), transparent 42%),
    var(--panel);
  box-shadow: var(--shadow);
  transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
  transform-style: preserve-3d;
  overflow: hidden;
  animation: kg-float 7s ease-in-out infinite;
}

.kg-plate img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.kg-plate::after {
  content: "블랙 골드";
  position: absolute;
  left: 18px;
  bottom: 16px;
  font-family: var(--serif);
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  color: var(--gold-2);
  mix-blend-mode: difference;
}

@keyframes kg-float {
  0%, 100% { transform: perspective(1400px) rotateY(-7deg) rotateX(3deg) translateY(0); }
  50% { transform: perspective(1400px) rotateY(-4deg) rotateX(1deg) translateY(-8px); }
}

.kg-section {
  padding: 78px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 88px;
}

.kg-index {
  font-family: var(--serif);
  color: var(--gold);
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  margin-bottom: 14px;
  white-space: nowrap;
}

.kg-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.kg-split.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.kg-frame {
  background: var(--panel);
  border: 1px solid var(--line);
  min-height: 420px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.kg-frame img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.kg-frame.tall { min-height: 560px; }
.kg-frame.tall img { height: 560px; }
.kg-frame.wide img { height: 360px; }
.kg-frame.wide { min-height: 360px; }

.kg-copy > ul {
  margin: 0 0 1.2em;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.kg-copy > ul li {
  padding-left: 18px;
  position: relative;
}

.kg-copy > ul li::before {
  content: "";
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  position: absolute;
  left: 0;
  top: 0.7em;
}

.kg-ledger {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0 1.5em;
  font-size: 0.95rem;
}

.kg-ledger th,
.kg-ledger td {
  border-bottom: 1px solid var(--line);
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
}

.kg-ledger th {
  color: var(--gold-2);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.kg-ledger td:nth-child(2) {
  color: var(--gold-2);
  font-variant-numeric: tabular-nums;
}

.kg-note {
  color: var(--mute);
  font-size: 0.95rem;
}

.kg-cta {
  background:
    linear-gradient(180deg, rgba(198, 163, 93, 0.12), transparent 55%),
    var(--panel-2);
  border: 1px solid var(--gold-3);
  padding: 56px 8vw;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.kg-cta::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(232, 213, 163, 0.18);
  pointer-events: none;
}

.kg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  margin-top: 8px;
  padding: 16px 28px;
  background: linear-gradient(180deg, #e8d5a3, #c6a35d 55%, #8a7040);
  color: #16130c;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 10px 30px rgba(198, 163, 93, 0.28);
  position: relative;
  overflow: hidden;
}

.kg-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45), transparent 70%);
  transform: translateX(-120%);
  animation: kg-shine 3.2s ease-in-out infinite;
}

@keyframes kg-shine {
  0%, 55% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

.kg-map-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 36px;
}

.kg-compass {
  height: 240px;
  border: 1px solid var(--gold-3);
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(90deg, rgba(198, 163, 93, 0.08) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(0deg, rgba(198, 163, 93, 0.08) 0 1px, transparent 1px 32px);
  position: relative;
}

.kg-compass span {
  font-family: var(--serif);
  letter-spacing: 0.28em;
  color: var(--gold-2);
}

.kg-compass::before {
  content: "";
  width: 120px;
  height: 120px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  position: absolute;
  animation: kg-spin 18s linear infinite;
}

@keyframes kg-spin {
  to { transform: rotate(360deg); }
}

.kg-faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 4px;
}

.kg-faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 1.12rem;
  color: var(--gold-2);
}

.kg-faq summary::-webkit-details-marker { display: none; }

.kg-faq details p {
  margin-top: 12px;
  color: var(--mute);
}

.kg-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  min-width: 168px;
  padding: 14px 18px;
  text-align: center;
  background: linear-gradient(180deg, #e8d5a3, #b68b3d);
  color: #16130c;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  animation: kg-pulse 2.8s ease-in-out infinite;
}

@keyframes kg-pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.kg-foot {
  border-top: 1px solid var(--line);
  padding: 36px 7vw 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  justify-content: space-between;
  color: var(--mute);
  font-size: 0.88rem;
}

.kg-foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
}

.kg-foot a { color: var(--mute); }
.kg-foot a:hover { color: var(--gold-2); }

@media (max-width: 900px) {
  .kg-overture,
  .kg-split,
  .kg-split.reverse,
  .kg-map-card {
    grid-template-columns: 1fr;
  }

  .kg-plate {
    transform: none;
    min-height: 320px;
    animation: none;
  }

  .kg-plate img { height: 320px; }

  .kg-logo img { width: 44px; height: 44px; }

  .kg-mast-chip { display: none; }

  .kg-wrap { width: min(1180px, calc(100% - 9vw)); }
}
