:root {
  --bg: #f4eee4;
  --paper: #fbf8f1;
  --ink: #211d18;
  --soft-ink: #6f665d;
  --line: #d8cdbc;
  --seal: #9f332c;
  --wood: #7c5d43;
  --dark: #15120f;
  --white: #fffaf1;
  --header: rgba(21, 18, 15, 0);
  --header-solid: rgba(21, 18, 15, 0.82);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Georgia, "Times New Roman", "Noto Serif KR", "Nanum Myeongjo", serif;
  line-height: 1.72;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

body.is-menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--dark);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  width: 100%;
  padding: 26px clamp(22px, 4vw, 56px);
  color: var(--white);
  background: var(--header);
  transition: background 220ms ease, padding 220ms ease;
}

.brand {
  grid-column: 1;
}

.site-header.is-scrolled,
.site-header.is-open {
  padding-top: 18px;
  padding-bottom: 18px;
  background: var(--header-solid);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  width: fit-content;
  line-height: 1.05;
}

.brand__ko {
  font-family: "Noto Serif KR", "Nanum Myeongjo", Georgia, serif;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand__en,
.site-nav,
.header-cta,
.button,
.eyebrow,
.section-label,
.hero__meta,
.program-card span,
dt,
figcaption {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.brand__en {
  margin-top: 2px;
  font-size: 0.68rem;
  opacity: 0.82;
}

.site-nav {
  grid-column: 2;
  display: flex;
  justify-content: center;
  gap: clamp(1.2rem, 3vw, 3.6rem);
  font-size: 0.74rem;
}

.site-nav a {
  position: relative;
  padding: 4px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  grid-column: 3;
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 20px;
}

.header-cta,
.language-toggle {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.74rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.header-cta {
  justify-self: end;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 250, 241, 0.72);
  white-space: nowrap;
}

.language-toggle button {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.language-toggle button[aria-pressed="true"] {
  color: var(--white);
  border-bottom: 1px solid currentColor;
}

.menu-toggle {
  display: none;
}

.lang {
  display: none;
}

body[data-lang="ko"] .lang-ko,
body[data-lang="en"] .lang-en {
  display: contents;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  background: var(--dark);
}

.hero__slides,
.hero__slide,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__slides {
  contain: paint;
  overflow: hidden;
  overflow: clip;
}

.hero__slide {
  margin: 0;
  opacity: 0;
  transition: opacity 900ms ease;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__shade {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.16) 42%, rgba(0, 0, 0, 0.62)),
    radial-gradient(circle at 50% 48%, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.62));
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(1040px, calc(100% - 40px));
  min-height: 100svh;
  margin: 0 auto;
  place-items: center;
  padding: 120px 0 112px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 22px;
  color: rgba(255, 250, 241, 0.86);
  font-size: 0.78rem;
}

.hero h1 {
  max-width: 1040px;
  margin: 0;
  font-family: "Noto Serif KR", "Nanum Myeongjo", Georgia, serif;
  font-size: clamp(2.7rem, 7vw, 7.6rem);
  font-weight: 500;
  letter-spacing: -0.085em;
  line-height: 1.04;
  text-wrap: balance;
  word-break: keep-all;
}

.hero__description {
  max-width: 650px;
  margin: 30px auto 0;
  color: rgba(255, 250, 241, 0.82);
  font-family: "Noto Serif KR", "Nanum Myeongjo", Georgia, serif;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  text-wrap: pretty;
  word-break: keep-all;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.74rem;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--light {
  color: var(--dark);
  background: var(--white);
  border-color: var(--white);
}

.button--ghost {
  color: var(--white);
  background: rgba(255, 250, 241, 0.08);
}

.button--dark {
  color: var(--white);
  background: var(--dark);
  border-color: var(--dark);
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--seal);
  border-bottom: 1px solid currentColor;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__meta {
  position: absolute;
  right: clamp(22px, 4vw, 56px);
  bottom: 34px;
  left: clamp(22px, 4vw, 56px);
  z-index: 3;
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 22px;
  align-items: center;
  color: rgba(255, 250, 241, 0.88);
  font-size: 0.72rem;
}

.hero__meta strong {
  font-weight: 400;
}

.hero__controls {
  display: inline-flex;
  gap: 8px;
}

.hero__controls button {
  min-width: 58px;
  min-height: 34px;
  color: inherit;
  background: rgba(255, 250, 241, 0.08);
  border: 1px solid rgba(255, 250, 241, 0.42);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  text-transform: uppercase;
}

.chapter,
.split-section,
.editorial-band,
.works-section,
.program-section,
.visit-section,
.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.chapter--intro {
  padding: 108px 0 88px;
  text-align: center;
}

.section-label {
  margin: 0 0 18px;
  color: var(--seal);
  font-size: 0.76rem;
  font-weight: 700;
}

.chapter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.chapter-grid a {
  display: grid;
  min-height: 214px;
  align-content: center;
  gap: 8px;
  padding: 28px 20px;
  border-right: 1px solid var(--line);
}

.chapter-grid a:last-child {
  border-right: 0;
}

.chapter-grid span {
  color: var(--seal);
  font-size: 0.82rem;
}

.chapter-grid strong {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 400;
}

.chapter-grid em {
  color: var(--soft-ink);
  font-family: "Noto Serif KR", "Nanum Myeongjo", Georgia, serif;
  font-style: normal;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(40px, 8vw, 108px);
  align-items: center;
  padding: 118px 0;
  border-top: 1px solid var(--line);
}

.split-section--reverse {
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1fr);
}

h2,
h3,
p {
  margin-top: 0;
}

h2 {
  margin-bottom: 24px;
  font-family: "Noto Serif KR", "Nanum Myeongjo", Georgia, serif;
  font-size: clamp(2.2rem, 5.2vw, 5.8rem);
  font-weight: 500;
  letter-spacing: -0.085em;
  line-height: 1.05;
  text-wrap: balance;
  word-break: keep-all;
}

h3 {
  font-size: 1.42rem;
  font-weight: 400;
  line-height: 1.25;
  text-wrap: balance;
  word-break: keep-all;
}

p {
  color: var(--soft-ink);
  font-family: "Noto Serif KR", "Nanum Myeongjo", Georgia, serif;
  text-wrap: pretty;
  word-break: keep-all;
}

.phrase-line {
  display: block;
}

.split-section__text p {
  max-width: 650px;
}

.framed-image,
.works-grid figure,
.program-card,
.map-frame {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
}

.framed-image {
  padding: 14px;
}

.framed-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.framed-image--portrait {
  justify-self: end;
  width: min(360px, 100%);
}

.framed-image--portrait img {
  aspect-ratio: 1;
}

.editorial-band {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: clamp(32px, 8vw, 110px);
  align-items: start;
  padding: 92px 0;
  border-top: 1px solid var(--line);
}

.editorial-band h2 {
  margin-bottom: 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 48px;
}

.section-heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.works-section,
.program-section,
.identity-section,
.visit-section {
  padding: 118px 0;
  border-top: 1px solid var(--line);
}

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

.works-grid figure {
  padding: 12px;
}

.works-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

figcaption {
  margin-top: 12px;
  color: var(--soft-ink);
  font-size: 0.74rem;
}

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

.program-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.program-card div {
  padding: 24px;
}

.program-card span {
  display: block;
  margin-bottom: 14px;
  color: var(--seal);
  font-size: 0.72rem;
}

.program-card h3 {
  margin-bottom: 12px;
}

.program-card p {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
}

.identity-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.identity-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 7vw, 92px);
  align-items: end;
}

.identity-copy h2 {
  margin-bottom: 0;
}

.identity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 42px;
}

.identity-grid article {
  min-height: 250px;
  padding: 32px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.identity-grid article span {
  display: block;
  margin-bottom: 18px;
  color: var(--seal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.identity-grid article p {
  margin-bottom: 0;
}

.line-list {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.line-list li {
  padding: 13px 0;
  color: var(--soft-ink);
  border-top: 1px solid var(--line);
  text-wrap: pretty;
}

.visit-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.76fr) minmax(0, 1.24fr);
  gap: 34px;
  align-items: start;
}

.visit-card {
  padding: 36px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.visit-card dl {
  display: grid;
  gap: 0;
  margin: 30px 0 30px;
}

.visit-card dl div {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--seal);
  font-size: 0.72rem;
}

dd {
  margin: 4px 0 0;
  color: var(--soft-ink);
}

.map-frame {
  padding: 12px;
}

.map-frame img {
  width: 100%;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0 48px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.inner-page {
  padding-top: 88px;
}

.inner-page .site-header {
  color: var(--white);
}

.profile-hero,
.profile-summary,
.cv-section,
.profile-note {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: clamp(38px, 8vw, 110px);
  align-items: end;
  min-height: 620px;
  padding: 110px 0 86px;
  border-bottom: 1px solid var(--line);
}

.profile-hero h1 {
  margin: 0 0 24px;
  font-family: "Noto Serif KR", "Nanum Myeongjo", Georgia, serif;
  font-size: clamp(4rem, 12vw, 11rem);
  font-weight: 500;
  letter-spacing: -0.09em;
  line-height: 0.95;
  text-wrap: balance;
  word-break: keep-all;
}

.profile-hero__copy p:last-child {
  max-width: 660px;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

.profile-hero__image {
  margin: 0;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.profile-hero__image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.profile-summary {
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
}

.summary-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(30px, 6vw, 80px);
  margin-top: 34px;
}

.cv-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(36px, 7vw, 96px);
  padding: 104px 0;
  border-bottom: 1px solid var(--line);
}

.cv-heading {
  position: sticky;
  top: 118px;
  align-self: start;
}

.cv-list {
  display: grid;
  gap: 18px;
}

.cv-list article {
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.cv-list h3 {
  margin-bottom: 18px;
  color: var(--seal);
}

.cv-list ul,
.cv-list ol {
  display: grid;
  gap: 10px;
  padding-left: 1.15rem;
  margin: 0;
  color: var(--soft-ink);
  font-family: "Noto Serif KR", "Nanum Myeongjo", Georgia, serif;
  text-wrap: pretty;
  word-break: keep-all;
}

.profile-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 56px 0 96px;
}

.profile-note p {
  max-width: 760px;
  margin-bottom: 0;
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    gap: 14px;
  }

  .header-cta {
    display: none;
  }

  .header-actions {
    grid-column: 2;
  }

  .menu-toggle {
    grid-column: 3;
    display: inline-grid;
    justify-self: end;
    width: 42px;
    height: 42px;
    place-items: center;
    padding: 0;
    color: currentColor;
    background: transparent;
    border: 0;
  }

  .menu-toggle span {
    display: block;
    width: 26px;
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .menu-toggle span + span {
    margin-top: -11px;
  }

  .site-header.is-open .menu-toggle span:first-child {
    transform: translateY(5px) rotate(42deg);
  }

  .site-header.is-open .menu-toggle span:last-child {
    transform: translateY(-6px) rotate(-42deg);
  }

  .site-nav {
    position: fixed;
    inset: 78px 0 auto 0;
    display: grid;
    gap: 0;
    padding: 20px clamp(22px, 4vw, 56px) 34px;
    color: var(--white);
    background: var(--header-solid);
    border-top: 1px solid rgba(255, 250, 241, 0.18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 250, 241, 0.18);
  }

  .chapter-grid,
  .works-grid,
  .program-grid,
  .identity-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .chapter-grid a:nth-child(2) {
    border-right: 0;
  }

  .chapter-grid a {
    border-bottom: 1px solid var(--line);
  }

  .split-section,
  .split-section--reverse,
  .editorial-band,
  .identity-copy,
  .visit-layout,
  .profile-hero,
  .summary-columns,
  .cv-section {
    grid-template-columns: 1fr;
  }

  .cv-heading {
    position: static;
  }

  .framed-image--portrait {
    justify-self: start;
  }
}

@media (max-width: 700px) {
  .site-header {
    padding-right: 18px;
    padding-left: 18px;
    gap: 10px;
  }

  .brand__ko {
    font-size: 1.04rem;
  }

  .brand__en,
  .language-toggle {
    font-size: 0.62rem;
  }

  .language-toggle {
    gap: 5px;
  }

  .hero__content {
    width: min(100% - 30px, 1040px);
  }

  .hero h1 {
    font-size: clamp(2.25rem, 11vw, 4.5rem);
    letter-spacing: -0.075em;
    line-height: 1.1;
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.4rem);
    letter-spacing: -0.075em;
    line-height: 1.12;
  }

  p,
  li,
  dd {
    line-height: 1.78;
  }

  .hero__actions {
    display: grid;
  }

  .hero__meta {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .chapter,
  .split-section,
  .editorial-band,
  .works-section,
  .program-section,
  .identity-section,
  .visit-section,
  .site-footer,
  .profile-hero,
  .profile-summary,
  .cv-section,
  .profile-note {
    width: min(100% - 30px, 1180px);
  }

  .chapter-grid,
  .works-grid,
  .program-grid,
  .identity-grid {
    grid-template-columns: 1fr;
  }

  .identity-grid article {
    min-height: auto;
    padding: 26px;
  }

  .chapter-grid a {
    min-height: 150px;
    border-right: 0;
  }

  .site-footer {
    display: block;
  }

  .site-footer p + p {
    margin-top: 10px;
  }

  .profile-hero {
    min-height: auto;
    padding-top: 70px;
  }

  .profile-hero h1 {
    font-size: clamp(3.2rem, 18vw, 5.2rem);
    letter-spacing: -0.08em;
    line-height: 0.98;
  }

  .profile-note {
    display: block;
  }

  .profile-note .button {
    margin-top: 24px;
  }
}
