:root {
  --bg: #080a0d;
  --panel: rgba(15, 19, 25, 0.9);
  --panel-soft: rgba(22, 27, 35, 0.8);
  --line: rgba(213, 185, 116, 0.2);
  --line-strong: rgba(232, 204, 136, 0.46);
  --text: #f1f3f6;
  --muted: #a9b1be;
  --soft: #d0d5dd;
  --gold: #d5b974;
  --gold-2: #f3dfa1;
  --green: #91aa8a;
  --blue: #7c9fc4;
  --ember: #c87752;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --radius: 26px;
  --radius-sm: 18px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.alchemy-v3 {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(6, 8, 11, 0.9) 0%, rgba(8, 11, 15, 0.82) 36%, rgba(7, 9, 12, 0.96) 100%),
    radial-gradient(circle at 12% 8%, rgba(124, 159, 196, 0.14), transparent 25%),
    radial-gradient(circle at 86% 15%, rgba(213, 185, 116, 0.12), transparent 22%),
    url("images/unknown-forest.png") center top / cover fixed no-repeat,
    var(--bg);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
body.alchemy-v3::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.012), rgba(255, 255, 255, 0.012)),
    repeating-linear-gradient(90deg, transparent, transparent 118px, rgba(213, 185, 116, 0.03) 119px, transparent 120px);
}
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 4px; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 9, 12, 0.78);
  backdrop-filter: blur(18px);
}
.nav-inner {
  width: min(calc(100% - 32px), var(--max));
  min-height: 62px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f7efd9;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.76rem;
  font-weight: 800;
}
.brand-mark {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(213, 185, 116, 0.55);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(243, 223, 161, 0.96) 0 3px, transparent 4px),
    radial-gradient(circle at 50% 50%, rgba(124, 159, 196, 0.3), transparent 64%);
  box-shadow: 0 0 28px rgba(213, 185, 116, 0.22);
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  color: var(--muted);
  font-size: 0.84rem;
}
.nav-links a { text-decoration: none; }
.nav-links a:hover,
.nav-links .lang { color: var(--gold-2); }

.page-shell {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 30px 0 76px;
}
.panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 25, 33, 0.93), rgba(10, 13, 18, 0.94));
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(8, 11, 15, 0.97) 0%, rgba(8, 11, 15, 0.9) 57%, rgba(8, 11, 15, 0.5) 100%),
    linear-gradient(180deg, rgba(8, 11, 15, 0.16), rgba(8, 11, 15, 0.8)),
    url("images/rome-breach.png") 72% center / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 78% 25%, rgba(243, 223, 161, 0.2), transparent 19%),
    linear-gradient(180deg, transparent 62%, rgba(8, 11, 15, 0.72));
}
.hero-copy {
  width: min(830px, 100%);
  padding: 54px;
}
.hero-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.eyebrow,
.section-label,
.role,
.chapter-badge,
.ledger-key,
.micro-note {
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.eyebrow,
.section-label,
.role,
.chapter-badge,
.ledger-key {
  font-size: 0.76rem;
  font-weight: 800;
}
.eyebrow { margin: 0; color: var(--gold-2); }
.chapter-badge,
.section-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--gold-2);
  background: rgba(213, 185, 116, 0.08);
}
.hero h1,
.section h2,
.section h3 { margin: 0; line-height: 1.08; }
.hero h1 {
  max-width: 760px;
  font-size: clamp(2.4rem, 5.2vw, 3.65rem);
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.subtitle {
  margin: 12px 0 0;
  color: var(--soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
}
html[lang="ko"] .subtitle { font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.hook {
  max-width: 74ch;
  margin: 28px 0 0;
  color: var(--soft);
  font-size: clamp(1.04rem, 1.5vw, 1.25rem);
}
.hero-thesis {
  max-width: 64ch;
  margin: 18px 0 0;
  padding-left: 18px;
  border-left: 2px solid var(--gold);
  color: #f5e7bd;
  font-size: 1.02rem;
  font-weight: 700;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.btn {
  min-height: 48px;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.025);
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(243, 223, 161, 0.7); }
.btn-primary {
  border-color: transparent;
  color: #11151b;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
}
.hero-points {
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}
.hero-points li {
  min-height: 70px;
  padding: 13px 14px 13px 34px;
  position: relative;
  border: 1px solid rgba(213, 185, 116, 0.12);
  border-radius: 15px;
  color: var(--soft);
  background: rgba(7, 9, 12, 0.44);
  font-size: 0.92rem;
}
.hero-points li::before,
.expectation-list li::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 1.23em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 0 14px rgba(213, 185, 116, 0.38);
}

.section { margin-top: 34px; scroll-margin-top: 92px; }
.section-heading {
  max-width: 860px;
  margin-bottom: 20px;
}
.section-heading h2,
.current-intro h2,
.promise-card h2,
.read-copy h2 {
  margin-top: 12px;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  text-wrap: balance;
}
.section-heading > p:last-child,
.current-intro > p,
.promise-card > p,
.read-copy > p { color: var(--soft); }
.section-heading > p:last-child { max-width: 74ch; }

.character-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.character-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.character-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.character-copy { padding: 20px; }
.character-copy h3 { font-size: 1.42rem; }
.character-copy p { color: var(--soft); }
.role { margin: 7px 0 10px; color: var(--gold-2) !important; }
.character-copy p:last-child { margin-bottom: 0; }
.valkyrie-feature {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.8fr);
  border-color: rgba(124, 159, 196, 0.34);
}
.valkyrie-gallery {
  min-width: 0;
  padding: 2px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  background: rgba(124, 159, 196, 0.12);
}
.valkyrie-shot {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #0a1118;
}
.valkyrie-shot img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center;
}
.valkyrie-copy {
  align-self: center;
  padding: clamp(26px, 3vw, 36px);
}
.valkyrie-copy h3 {
  margin: 12px 0 14px;
  font-size: clamp(1.52rem, 2.5vw, 2.08rem);
  line-height: 1.18;
  text-wrap: balance;
}
.valkyrie-copy > p { color: var(--soft); }
.valkyrie-note {
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(213, 185, 116, 0.18);
}
.valkyrie-note strong { color: #cfe0ca; }

.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.journey-card { min-height: 100%; }
.journey-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}
.journey-copy { padding: 22px; }
.journey-index {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-2);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}
.journey-copy h3 { font-size: 1.35rem; }
.journey-copy p { margin-bottom: 0; color: var(--soft); }

.current-section {
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 30px;
  background:
    radial-gradient(circle at 8% 12%, rgba(124, 159, 196, 0.13), transparent 30%),
    linear-gradient(180deg, rgba(20, 25, 33, 0.95), rgba(9, 12, 16, 0.95));
}
.current-intro blockquote {
  margin: 26px 0 0;
  padding: 19px 0 19px 22px;
  border-left: 2px solid var(--gold);
  color: #f4e6bb;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}
html[lang="ko"] .current-intro blockquote { font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.ledger-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.ledger-card {
  padding: 20px;
  border: 1px solid rgba(213, 185, 116, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
}
.ledger-card:nth-child(2) { border-color: rgba(200, 119, 82, 0.28); }
.ledger-card:nth-child(3) { border-color: rgba(124, 159, 196, 0.3); }
.ledger-card:nth-child(4) { border-color: rgba(145, 170, 138, 0.3); }
.ledger-key { color: var(--gold-2); }
.ledger-card h3 { margin-top: 8px; font-size: 1.2rem; }
.ledger-card p { margin-bottom: 0; color: var(--soft); font-size: 0.94rem; }

.owl-feature {
  margin: 0;
  overflow: hidden;
  border-color: rgba(124, 159, 196, 0.34);
  background:
    radial-gradient(circle at 72% 0%, rgba(95, 178, 189, 0.12), transparent 34%),
    rgba(8, 12, 17, 0.96);
}
.owl-feature img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: #07101a;
  border-bottom: 1px solid var(--line);
}
.owl-caption {
  padding: 20px 24px 22px;
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px 28px;
  align-items: start;
}
.owl-caption strong {
  color: #f4e6bb;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  line-height: 1.3;
}
html[lang="ko"] .owl-caption strong {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.owl-caption span { color: var(--soft); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.gallery-card { margin: 0; }
.gallery-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}
.gallery-card figcaption {
  padding: 17px 20px 20px;
  display: grid;
  gap: 4px;
}
.gallery-card strong { font-size: 1.15rem; }
.gallery-card span { color: var(--soft); }

.promise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.promise-card { padding: 32px; }
.expectation-list {
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 15px;
  list-style: none;
}
.expectation-list li {
  position: relative;
  padding-left: 22px;
  color: var(--soft);
}

.read-section {
  padding: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.55fr);
  gap: 32px;
  align-items: center;
  background:
    linear-gradient(100deg, rgba(12, 16, 21, 0.97) 0%, rgba(12, 16, 21, 0.9) 58%, rgba(12, 16, 21, 0.54) 100%),
    url("images/unknown-forest.png") center 58% / cover no-repeat;
}
.read-actions { display: grid; gap: 12px; }
.read-actions .btn { width: 100%; }
.micro-note {
  margin: 14px 0 0;
  color: var(--muted) !important;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  text-transform: none;
}

.site-footer {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 34px 0 46px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.site-footer a { color: var(--gold-2); text-decoration: none; }

@media (min-width: 1081px) {
  .valkyrie-gallery { align-self: center; }
}

@media (max-width: 1080px) {
  .character-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .valkyrie-feature { grid-template-columns: 1fr; }
  .hero-points,
  .journey-grid,
  .current-section,
  .read-section { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-copy { width: 100%; }
  .read-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .gallery-grid,
  .promise-grid { grid-template-columns: 1fr; }
  .valkyrie-feature { grid-template-columns: 1fr; }
  .owl-caption { grid-template-columns: 1fr; }
  .site-footer { display: block; }
}
@media (max-width: 720px) {
  body.alchemy-v3 { background-attachment: scroll; }
  .nav-inner,
  .page-shell,
  .site-footer { width: min(calc(100% - 20px), var(--max)); }
  .nav-inner { align-items: flex-start; flex-direction: column; padding: 12px 0; }
  .nav-links { justify-content: flex-start; gap: 10px 13px; }
  .page-shell { padding-top: 18px; }
  .hero { background-position: 64% center; }
  .hero-copy,
  .current-section,
  .promise-card,
  .read-section { padding: 24px; }
  .hero-topline { align-items: flex-start; flex-direction: column; }
  .hero h1 { font-size: clamp(2rem, 11vw, 3rem); }
  .hero-points,
  .character-grid,
  .ledger-grid,
  .read-actions { grid-template-columns: 1fr; }
  .character-card img { aspect-ratio: 4 / 5; }
  .valkyrie-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .valkyrie-shot-main { grid-column: 1 / -1; }
  .valkyrie-copy { padding: 24px; }
  .owl-caption { padding: 18px 20px 20px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
