:root {
  --navy: #071e3d;
  --navy-soft: #0d2f5c;
  --cream: #f6f1e8;
  --paper: #fffdf8;
  --gold: #c4a35a;
  --gold-soft: #e8d7a8;
  --ink: #1c2430;
  --muted: #5b6573;
  --line: rgba(7, 30, 61, 0.12);
  --shadow: 0 18px 40px rgba(7, 30, 61, 0.08);
  --radius: 18px;
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  line-height: 1.7;
}

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

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 40;
  background: #fff;
  padding: 8px 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 241, 232, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.footer-inner,
.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

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

.brand img {
  width: 34px;
  height: auto;
}

.brand-name {
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav a {
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--navy);
  font-size: 0.95rem;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--navy);
  color: var(--cream);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 1.4rem;
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--cream);
  padding: 88px 0 72px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(7, 30, 61, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 241, 232, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 40%, transparent);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.hero-logo {
  width: min(280px, 70%);
  margin: 0 auto;
  filter: brightness(0) invert(1);
}

.kicker {
  color: var(--gold-soft);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
}

h1,
h2,
h3 {
  letter-spacing: -0.04em;
  line-height: 1.25;
  margin: 0 0 16px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

.lede {
  font-size: 1.08rem;
  max-width: 42rem;
  color: rgba(246, 241, 232, 0.88);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-ghost {
  border-color: rgba(246, 241, 232, 0.35);
  color: var(--cream);
}

.btn-navy {
  background: var(--navy);
  color: var(--cream);
}

.btn-line {
  border-color: var(--navy);
  color: var(--navy);
}

.section {
  padding: 72px 0;
}

.section-muted {
  background: var(--paper);
}

.section h2 {
  color: var(--navy);
  font-size: 1.8rem;
}

.eyebrow {
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.card h3 {
  color: var(--navy);
  font-size: 1.15rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.fact {
  padding: 20px;
  border-top: 3px solid var(--gold);
  background: #fff;
}

.fact dt {
  color: var(--muted);
  font-size: 0.88rem;
}

.fact dd {
  margin: 6px 0 0;
  font-weight: 700;
  color: var(--navy);
}

.page-hero {
  padding: 56px 0 24px;
}

.page-hero h1 {
  color: var(--navy);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.prose {
  max-width: 46rem;
}

.prose p,
.prose li {
  color: #334155;
}

.notice {
  margin: 24px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--gold);
  background: #fff;
}

.doc-list {
  display: grid;
  gap: 12px;
}

.doc-list a,
.contact-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #d9d3c7;
  min-height: 180px;
}

.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.gallery .span-2 {
  grid-column: span 2;
}

.gallery .span-2 img {
  height: 100%;
  min-height: 280px;
}

.home-gallery {
  grid-template-columns: 1.4fr 1fr;
}

.home-gallery figure {
  height: 100%;
}

.home-gallery figure:first-child img {
  min-height: 380px;
}

.home-gallery figure:first-child {
  grid-row: span 2;
}

.home-gallery img {
  height: 100%;
  min-height: 180px;
}

.section-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--navy);
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 14px 0;
}

.placeholder {
  min-height: 180px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
  padding: 16px;
}

.site-footer {
  background: var(--navy);
  color: var(--cream);
  padding: 40px 0 28px;
}

.site-footer a {
  color: var(--gold-soft);
}

.footer-meta {
  color: rgba(246, 241, 232, 0.72);
  font-size: 0.92rem;
}

.legal-line {
  margin-top: 18px;
  font-size: 0.88rem;
  color: rgba(246, 241, 232, 0.78);
}

.hidden {
  display: none !important;
}

@media (max-width: 860px) {
  .hero-grid,
  .cards,
  .facts,
  .gallery,
  .home-gallery {
    grid-template-columns: 1fr;
  }

  .gallery .span-2,
  .home-gallery figure:first-child {
    grid-column: auto;
    grid-row: auto;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }
}
