:root {
  --paper: #f5f1e8;
  --paper-2: #ebe5d6;
  --ink: #1d2a2c;
  --ink-soft: #46555a;
  --teal: #1f5f66;
  --teal-deep: #15434a;
  --rust: #b4492a;
  --sand: #d9cfb8;
  --white: #fffdf8;
  --max: 68rem;
  --serif: Georgia, "Noto Serif KR", "Nanum Myeongjo", "Apple SD Gothic Neo", serif;
  --sans: -apple-system, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.75 var(--sans); word-break: keep-all; overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 0.18em; }
a:hover { color: var(--rust); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 0.6rem 1rem; z-index: 50; }
.skip:focus { left: 0.5rem; top: 0.5rem; }
.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

.masthead { background: var(--teal-deep); color: #f3efe3; position: relative; z-index: 20; }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.brand { text-decoration: none; color: inherit; display: block; line-height: 1.25; padding: 0.5rem 0; }
.brand strong { display: block; font: 700 1.05rem/1.2 var(--serif); letter-spacing: 0.01em; }
.brand span { font-size: 0.78rem; opacity: 0.8; }
.nav { display: flex; align-items: center; position: relative; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.1rem; }
.nav a { color: #f3efe3; text-decoration: none; padding: 0.55rem 0.7rem; display: block; font-size: 0.92rem; border-radius: 0.4rem; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.14); color: #fff; }
.nav .lang { background: var(--rust); margin-left: 0.4rem; font-weight: 600; }
.nav .lang:hover { background: #cc5733; }
.nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; }
.burger { display: none; cursor: pointer; padding: 0.6rem 1rem; border-radius: 0.4rem; background: rgba(255, 255, 255, 0.14); font-size: 0.92rem; }
.nav-toggle:focus-visible + .burger { outline: 2px solid #f6c8b4; outline-offset: 2px; }

@media (max-width: 62rem) {
  .burger { display: block; }
  .nav .panel { display: none; position: absolute; right: 0; top: calc(100% + 0.6rem); width: min(20rem, calc(100vw - 2rem)); background: var(--teal-deep); padding: 0.6rem 1rem 1rem; box-shadow: 0 1rem 1.5rem rgba(0, 0, 0, 0.3); border-radius: 0.6rem; flex-direction: column; gap: 0; }
  .nav-toggle:checked ~ .panel { display: flex; }
  .nav a { padding: 0.8rem 0.4rem; font-size: 1rem; }
  .nav .lang { margin: 0.5rem 0 0; text-align: center; }
}

.hero { position: relative; color: #fff; background: #19323a; isolation: isolate; }
.hero picture, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 38, 44, 0.9) 0%, rgba(14, 38, 44, 0.6) 55%, rgba(14, 38, 44, 0.15) 100%); z-index: -1; }
.hero .wrap { padding-block: clamp(3.5rem, 9vw, 7rem); }
.hero-copy { max-width: 38rem; }
.kicker { margin: 0 0 0.9rem; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rust); font-weight: 700; }
.hero .kicker { color: #f0b49c; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.3; margin: 0; color: inherit; }
h1 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.4rem, 2.8vw, 1.85rem); margin-top: 3rem; margin-bottom: 1rem; }
h3 { font-size: 1.15rem; }
.lede { font-size: 1.12rem; line-height: 1.8; color: var(--ink-soft); max-width: 46rem; margin: 1.2rem 0 0; }
.hero .lede { color: #eef0ec; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.btn { display: inline-block; text-decoration: none; background: var(--rust); color: #fff; padding: 0.8rem 1.4rem; border-radius: 2rem; font-weight: 600; }
.btn:hover { background: #cc5733; color: #fff; }
.btn.ghost { background: rgba(255, 255, 255, 0.16); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.28); }

.page-head { background: var(--paper-2); padding-block: clamp(2.2rem, 5vw, 3.8rem); }
.page-head .lede { margin-top: 1rem; }
.photo-band { margin-top: 0; }
.photo-band img { width: 100%; max-height: 22rem; object-fit: cover; object-position: center 35%; }
main { display: block; padding-bottom: 4rem; }
.prose { max-width: 46rem; }
.prose p { margin: 0 0 1.1rem; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1.4rem 2rem; margin: 2.2rem 0 0; padding: 1.6rem 1.8rem; background: var(--white); border-radius: 1rem; }
.facts dt { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rust); font-weight: 700; }
.facts dd { margin: 0.2rem 0 0; font-weight: 500; }

.eds { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.2rem; margin-top: 1.4rem; }
.ed { background: var(--white); border-radius: 1rem; padding: 1.6rem 1.6rem 1.8rem; text-decoration: none; color: var(--ink); display: block; transition: transform 0.15s, background 0.15s; }
a.ed:hover { transform: translateY(-3px); background: #fff; color: var(--ink); }
.ed b { display: block; font: 700 3rem/1 var(--serif); color: var(--teal); letter-spacing: -0.02em; }
.ed small { display: block; margin-top: 0.8rem; color: var(--rust); font-weight: 700; font-size: 0.85rem; }
.ed p { margin: 0.5rem 0 0; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.65; }
.ed.dim { background: transparent; box-shadow: inset 0 0 0 0 transparent; background: var(--paper-2); }
.ed.dim b { color: var(--ink-soft); }

.callout { background: var(--teal-deep); color: #eef3ee; border-radius: 1rem; padding: 1.6rem 1.8rem; margin-top: 3rem; }
.callout h2 { margin: 0 0 0.6rem; font-size: 1.25rem; }
.callout p { margin: 0; color: #dfe8e4; }
.callout a { color: #f6c8b4; }

.list { margin: 0 0 1rem; padding-left: 1.2rem; }
.list li { margin-bottom: 0.5rem; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 2rem; margin-top: 1rem; }
.cols h2 { margin-top: 2rem; }

.sched { width: 100%; border-collapse: collapse; margin-top: 1.5rem; background: var(--white); border-radius: 1rem; overflow: hidden; }
.sched th, .sched td { text-align: left; padding: 1rem 1.2rem; vertical-align: top; }
.sched thead th { background: var(--teal-deep); color: #f3efe3; font-size: 0.85rem; letter-spacing: 0.05em; }
.sched tbody tr:nth-child(even) { background: #f8f4ea; }
.sched td:first-child { white-space: nowrap; font-weight: 600; color: var(--teal); }
.sched tr.pause td { color: var(--ink-soft); font-style: italic; }
@media (max-width: 40rem) {
  .sched, .sched tbody, .sched tr, .sched td { display: block; width: 100%; }
  .sched thead { position: absolute; left: -999px; }
  .sched tr { padding: 1rem 1.1rem; }
  .sched td { padding: 0.15rem 0; }
  .sched td::before { content: attr(data-label); display: block; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rust); font-weight: 700; margin-top: 0.4rem; }
  .sched td:first-child { white-space: normal; }
  .sched td:empty { display: none; }
}

.tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.tabs a { display: block; padding: 0.5rem 1rem; border-radius: 2rem; background: var(--paper-2); text-decoration: none; color: var(--ink); font-size: 0.92rem; }
.tabs a:hover { background: var(--sand); color: var(--ink); }
.session { margin-top: 3.2rem; scroll-margin-top: 1rem; }
.session h2 { margin-top: 0; }
.session .time { color: var(--rust); font-weight: 700; font-size: 0.9rem; margin: 0.4rem 0 0.8rem; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(21rem, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.person { display: flex; gap: 1rem; background: var(--white); border-radius: 1rem; padding: 1.1rem 1.2rem; align-items: flex-start; }
.person img { width: 4.5rem; flex: none; border-radius: 0.6rem; aspect-ratio: 240 / 328; object-fit: cover; }
.person .role { margin: 0; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rust); font-weight: 700; }
.person h3 { margin: 0.15rem 0 0.2rem; font-size: 1.08rem; }
.person .post { margin: 0; font-size: 0.9rem; color: var(--ink-soft); line-height: 1.55; }
.person details { margin-top: 0.6rem; font-size: 0.88rem; }
.person summary { cursor: pointer; color: var(--teal); font-weight: 600; }
.person details ul { margin: 0.5rem 0 0; padding-left: 1.1rem; color: var(--ink-soft); }
.person > div { min-width: 0; }

.timeline { margin-top: 1.5rem; display: grid; gap: 1rem; }
.tl { display: grid; grid-template-columns: 6rem 1fr; gap: 1.4rem; background: var(--white); border-radius: 1rem; padding: 1.4rem 1.6rem; scroll-margin-top: 1rem; }
.tl b { font: 700 2.4rem/1 var(--serif); color: var(--teal); }
.tl.dim b { color: var(--ink-soft); }
.tl small { color: var(--rust); font-weight: 700; display: block; }
.tl p { margin: 0.4rem 0 0; }
@media (max-width: 34rem) { .tl { grid-template-columns: 1fr; gap: 0.4rem; } }

.evlist { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.8rem; }
.evlist a { display: block; background: var(--white); border-radius: 0.9rem; padding: 1.1rem 1.3rem; text-decoration: none; color: var(--ink); }
.evlist a:hover { background: #fff; color: var(--teal); }
.evlist strong { display: block; font: 700 1.05rem/1.4 var(--serif); }
.evlist span { font-size: 0.9rem; color: var(--ink-soft); }
.tag { display: inline-block; background: var(--sand); color: var(--ink); font-size: 0.72rem; font-weight: 700; padding: 0.1rem 0.6rem; border-radius: 1rem; margin-left: 0.5rem; vertical-align: middle; font-family: var(--sans); }
.back { display: inline-block; margin-top: 1.5rem; }

.src { margin: 0; padding: 0; list-style: none; }
.src li { margin: 0.4rem 0; }

.foot { background: var(--teal-deep); color: #d5e0dc; padding-block: 2.4rem; }
.foot p { margin: 0 0 1rem; max-width: 46rem; font-size: 0.92rem; line-height: 1.7; }
.foot ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 1.4rem; flex-wrap: wrap; }
.foot a { color: #f6c8b4; }
