:root {
  --navy: #1B2340;
  --navy-deep: #11152A;
  --gold: #B8862B;
  --gold-light: #D9B25C;
  --paper: #F3F1EA;
  --ink: #2A2A28;
  --ink-soft: #55534C;
  --white: #FFFFFF;
  --tale-green: #3C6E58;
  --tale-cream: #F3ECDD;

  --serif: "Noto Serif KR", serif;
  --sans: "Noto Sans KR", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  word-break: keep-all;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

/* ---------- Top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6vw;
  background: rgba(243, 241, 234, 0.88);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(27, 35, 64, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark { width: 18px; height: auto; }

.brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--navy);
}

.topnav { display: flex; gap: 32px; }

.topnav a {
  text-decoration: none;
  font-size: 14px;
  color: var(--ink-soft);
}

.topnav a:hover,
.topnav a:focus-visible { color: var(--gold); }

a:focus-visible,
button:focus-visible,
audio:focus-visible,
video:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Hero ---------- */

.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  background-image: radial-gradient(ellipse at 50% 0%, rgba(184,134,43,0.10), transparent 60%);
  text-align: center;
  padding: 90px 6vw 70px;
}

.hero-inner {
  max-width: 700px;
  animation: rise 0.9s ease both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-mark {
  width: 34px;
  margin: 0 auto 28px;
}

.hero-kicker {
  margin: 0 0 22px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.32em;
  color: var(--gold-light);
}

.hero-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 4.6vw, 46px);
  line-height: 1.45;
  color: var(--white);
  margin: 0 0 22px;
}

.hero-sub {
  font-size: clamp(14px, 1.6vw, 17px);
  color: #C7C9D6;
  margin: 0 auto;
  max-width: 46ch;
  word-break: keep-all;
}

.hero-rule {
  width: 46px;
  height: 2px;
  background: var(--gold);
  margin: 36px auto;
}

.hero-cta {
  display: inline-block;
  font-size: 14px;
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(217,178,92,0.4);
  padding-bottom: 3px;
}

.hero-cta:hover,
.hero-cta:focus-visible { color: var(--white); border-color: var(--white); }

/* ---------- Sections (shared) ---------- */

.section {
  padding: 110px 6vw;
  max-width: 1040px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin: 0 0 20px;
}

.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--navy);
  margin: 0 0 56px;
}

/* ---------- 서문 ---------- */

.prologue-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}

.prologue-lead {
  font-family: var(--serif);
  font-size: clamp(19px, 2.1vw, 24px);
  line-height: 1.65;
  color: var(--navy);
  margin: 0;
}

.prologue-detail {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0;
  max-width: 46ch;
}

/* ---------- 원칙 ---------- */

.principle-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(27,35,64,0.12);
}

.principle-list li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(27,35,64,0.12);
  flex-wrap: wrap;
}

.principle-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  color: var(--navy);
  white-space: nowrap;
}

.principle-leader {
  flex: 1;
  min-width: 40px;
  border-bottom: 1px dotted rgba(27,35,64,0.3);
  transform: translateY(-5px);
}

.principle-desc {
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* ---------- 수록작 ---------- */

.work-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.work {
  background: var(--white);
  border: 1px solid rgba(27,35,64,0.08);
}

.work-cover {
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  position: relative;
}

.cover-genre {
  font-size: 11.5px;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
  opacity: 0.75;
}

.cover-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.35;
  margin-bottom: 8px;
}

.cover-author {
  font-size: 12.5px;
  opacity: 0.7;
}

.cover-tragedy {
  background: linear-gradient(165deg, var(--navy), var(--navy-deep));
  color: var(--gold-light);
}
.cover-tragedy .cover-title { color: var(--white); }

.cover-essay {
  background: var(--tale-cream);
  color: var(--navy);
}

.cover-tale {
  background: linear-gradient(165deg, var(--tale-green), #2B5342);
  color: #E9E2C9;
}
.cover-tale .cover-title { color: var(--white); }

.work-body { padding: 20px 22px 26px; }

.work-note {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 14px;
}

.player { width: 100%; height: 40px; }

/* ---------- 영상 ---------- */

.film-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.film-player {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--navy-deep);
  object-fit: cover;
}

.film-caption {
  margin-top: 14px;
}

.film-title {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 4px;
}

.film-sub {
  display: block;
  font-size: 12.5px;
  color: var(--ink-soft);
}

/* ---------- 문의 ---------- */

.contact {
  max-width: none;
  background: var(--navy);
  padding: 120px 6vw;
  text-align: center;
}

.section-label-onDark { color: var(--gold-light); }

.contact-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.5;
  color: var(--white);
  margin: 0 0 56px;
}

.contact-grid {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  margin-bottom: 8px;
}

.contact-info p {
  margin: 0 0 10px;
  font-size: 15px;
  color: #D8D9E4;
}

.contact-info span {
  display: inline-block;
  width: 52px;
  color: var(--gold-light);
  font-size: 13px;
}

.contact-info a { text-decoration: none; }
.contact-info a:hover,
.contact-info a:focus-visible { color: var(--gold-light); }

.contact-qr {
  width: 96px;
  height: 96px;
  background: var(--white);
  padding: 8px;
}

/* ---------- Footer ---------- */

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 36px 20px;
  background: var(--navy-deep);
  color: #8C8FA3;
  font-size: 12.5px;
  text-align: center;
}

.footer-mark { width: 16px; height: auto; opacity: 0.8; }

.footer-brand { margin: 0; color: #B7B9CC; }

.footer-biz {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.7;
  color: #6D7089;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .topnav { display: none; }
  .section { padding: 80px 7vw; }
  .prologue-grid { grid-template-columns: 1fr; gap: 28px; }
  .work-list { grid-template-columns: 1fr; }
  .film-list { grid-template-columns: 1fr; }
  .contact { padding: 90px 7vw; }
  .contact-grid { flex-direction: column; text-align: center; gap: 24px; }
  .contact-info span { width: auto; margin-right: 6px; }
}
