@font-face {
  font-family: "한남산문";
  src: url("./fonts/NotoSansKR-wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "한남제목";
  src: url("./fonts/NotoSerifKR-wght.ttf") format("truetype");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --남색-진함: #0f2038;
  --남색-짙음: #183454;
  --남색-중간: #2b527d;
  --남색-연함: #6f88a6;
  --황금-진함: #9e7b3a;
  --황금-중간: #c4a56c;
  --황금-밝음: #e8d2a4;
  --바탕-밝음: #fcf8f1;
  --바탕-중간: #f2ebe1;
  --글자-진함: #1b2b41;
  --글자-중간: #516276;
  --글자-옅음: #6d7d90;
  --선색: rgba(24, 52, 84, 0.12);
  --그림자-큼: 0 30px 80px rgba(15, 32, 56, 0.15);
  --그림자-중간: 0 18px 42px rgba(15, 32, 56, 0.1);
  --너비: min(1180px, calc(100vw - 40px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "한남산문", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  color: var(--글자-진함);
  line-break: strict;
  background:
    radial-gradient(circle at left top, rgba(196, 165, 108, 0.18), transparent 24%),
    radial-gradient(circle at right 12%, rgba(43, 82, 125, 0.08), transparent 20%),
    linear-gradient(180deg, #fbf6ee 0%, #eff4f8 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16)),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 95px,
      rgba(24, 52, 84, 0.025) 95px,
      rgba(24, 52, 84, 0.025) 96px
    );
  opacity: 0.4;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23g)'/%3E%3C/svg%3E");
  opacity: 0.032;
}

body.menu-open {
  overflow: hidden;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid #f0c978;
  outline-offset: 3px;
}

button {
  font: inherit;
}

.container {
  width: var(--너비);
  margin: 0 auto;
}

.site-shell {
  position: relative;
  overflow: clip;
}

.skip-link {
  position: absolute;
  left: 20px;
  top: -56px;
  z-index: 40;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--남색-진함);
  color: rgba(250, 247, 240, 0.98);
  font-weight: 700;
  transition: top 140ms ease;
}

.skip-link:focus {
  top: 16px;
}

.topbar {
  position: relative;
  z-index: 3;
  background: linear-gradient(90deg, #10223a, #1a3555);
  color: rgba(250, 247, 240, 0.78);
  font-size: 0.88rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  gap: 18px;
}

.topbar p {
  margin: 0;
  letter-spacing: 0.01em;
}

.topbar a {
  color: #f4dfb3;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(252, 248, 241, 0.86);
  border-bottom: 1px solid rgba(24, 52, 84, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.brand__logo {
  width: clamp(164px, 19vw, 238px);
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(15, 32, 56, 0.12));
}

.brand__logo--round {
  width: clamp(52px, 6.2vw, 74px);
  aspect-ratio: 1;
  border-radius: 999px;
  object-fit: cover;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 10px 22px rgba(15, 32, 56, 0.16);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand__text strong {
  color: var(--남색-짙음);
  font-size: 1.12rem;
  letter-spacing: -0.03em;
}

.brand__text small {
  color: var(--글자-중간);
  font-size: 0.86rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--글자-진함);
  font-weight: 700;
}

.nav a {
  position: relative;
  padding: 10px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: linear-gradient(90deg, var(--황금-중간), rgba(196, 165, 108, 0.1));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav a[aria-current="location"]::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  border: 0;
  border-radius: 999px;
  background: var(--남색-짙음);
  color: rgba(250, 247, 240, 0.96);
  padding: 10px 16px;
  cursor: pointer;
  transition: background 180ms ease;
}

.menu-toggle[aria-expanded="true"] {
  background: var(--남색-진함);
}

.hero {
  padding: 34px 0 92px;
}

.page-hero {
  padding: 34px 0 42px;
}

.page-hero__inner {
  position: relative;
  overflow: hidden;
  padding: 54px 58px 50px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 18% 16%, rgba(232, 210, 164, 0.14), transparent 20%),
    linear-gradient(135deg, #122744 0%, #183454 58%, #244a6f 100%);
  box-shadow: var(--그림자-큼);
  color: rgba(250, 247, 240, 0.96);
}

.page-hero__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.03)),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 119px,
      rgba(255, 255, 255, 0.05) 119px,
      rgba(255, 255, 255, 0.05) 120px
    );
  opacity: 0.24;
}

.page-hero__inner > * {
  position: relative;
  z-index: 1;
}

.page-hero__inner::after {
  content: "語";
  position: absolute;
  right: 40px;
  bottom: -0.2em;
  font-family: "한남제목", "Batang", serif;
  font-size: clamp(14rem, 22vw, 22rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}


.page-hero__inner h1 {
  margin: 0;
  max-width: 11ch;
  font-family: "한남제목", "Batang", serif;
  font-size: clamp(2.5rem, 4.5vw, 4.1rem);
  line-height: 1.18;
  letter-spacing: -0.04em;
  color: rgba(250, 247, 240, 0.98);
  word-break: keep-all;
  text-wrap: balance;
}

.page-hero__inner p:not(.eyebrow) {
  max-width: 44rem;
  margin: 22px 0 0;
  color: rgba(247, 244, 237, 0.86);
  font-size: 1.04rem;
  line-height: 1.88;
  text-wrap: pretty;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 34px;
  padding: 62px 58px 54px;
  border-radius: 40px;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 14%, rgba(232, 210, 164, 0.16), transparent 20%),
    radial-gradient(circle at 82% 18%, rgba(232, 210, 164, 0.1), transparent 24%),
    linear-gradient(135deg, #0f223b 0%, #183454 54%, #23486c 100%);
  box-shadow: var(--그림자-큼);
}

.hero__grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.03)),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 119px,
      rgba(255, 255, 255, 0.05) 119px,
      rgba(255, 255, 255, 0.05) 120px
    );
  opacity: 0.3;
}

.hero__grid::after {
  content: "";
  position: absolute;
  right: -96px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 210, 164, 0.26), transparent 66%);
}

.hero__content {
  position: relative;
  z-index: 1;
  color: rgba(250, 247, 240, 0.96);
}

.deco-char {
  position: absolute;
  grid-column: 1 / -1;
  right: 44px;
  bottom: -0.18em;
  font-family: "한남제목", "Batang", serif;
  font-size: clamp(16rem, 26vw, 26rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.052);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: rgba(24, 52, 84, 0.84);
  letter-spacing: 0.13em;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero .eyebrow,
.section--deep .eyebrow,
.page-hero__inner .eyebrow {
  color: #f0ddba;
}

.hero h1,
.section-heading h2,
.overview-card h2 {
  margin: 0;
  font-family: "한남제목", "Batang", serif;
  letter-spacing: -0.04em;
  word-break: keep-all;
  text-wrap: balance;
}

.hero h1 {
  max-width: 13ch;
  font-size: clamp(2.9rem, 5vw, 4.9rem);
  line-height: 1.17;
  color: rgba(250, 247, 240, 0.98);
}

.title-line {
  display: block;
}

.hero h1 > .title-line span {
  color: #f2ddb1;
}

.hero__lead {
  max-width: 40rem;
  margin: 24px 0 0;
  color: rgba(247, 244, 237, 0.86);
  font-size: 1.09rem;
  line-height: 1.88;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

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

.button--primary {
  background: linear-gradient(135deg, #e2c079, #b78943);
  color: #11233c;
  box-shadow: 0 14px 30px rgba(226, 192, 121, 0.24);
}

.button--ghost {
  border: 1px solid rgba(247, 244, 237, 0.3);
  color: rgba(250, 247, 240, 0.96);
  background: rgba(250, 247, 240, 0.08);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  background: rgba(250, 247, 240, 0.14);
}

.hero__facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.hero__facts div {
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(247, 244, 237, 0.14);
  background: rgba(9, 23, 40, 0.28);
  backdrop-filter: blur(8px);
}

.hero__facts dt {
  color: rgba(232, 210, 164, 0.88);
  font-size: 0.79rem;
  margin-bottom: 8px;
}

.hero__facts dd {
  margin: 0;
  color: rgba(250, 247, 240, 0.96);
  font-weight: 700;
  line-height: 1.62;
}

.hero__facts dd a {
  color: #f2ddb1;
  text-decoration: underline;
  text-decoration-color: rgba(242, 221, 177, 0.4);
  text-underline-offset: 3px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.hero__facts dd a:hover,
.hero__facts dd a:focus-visible {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.6);
}


.overview {
  margin-top: -48px;
  padding-bottom: 30px;
}

.overview__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.overview-card {
  position: relative;
  padding: 30px;
  border-radius: 30px;
  border: 1px solid rgba(24, 52, 84, 0.08);
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.96), rgba(249, 244, 236, 0.96));
  box-shadow: var(--그림자-중간);
}

.overview-card::before {
  content: "";
  position: absolute;
  left: 30px;
  right: 30px;
  top: 0;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--황금-중간), rgba(196, 165, 108, 0.1));
}

.overview-card__kicker {
  margin: 0 0 14px;
  color: var(--황금-진함);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.overview-card h2 {
  max-width: 12ch;
  color: var(--남색-짙음);
  font-size: 1.62rem;
  line-height: 1.38;
}

.overview-card p {
  margin: 16px 0 0;
  color: var(--글자-중간);
  line-height: 1.88;
  text-wrap: pretty;
}

.section {
  position: relative;
  padding: 116px 0;
}

.section--alt {
  background:
    linear-gradient(180deg, rgba(240, 244, 248, 0.84), rgba(252, 248, 241, 0.92));
}

.section--deep {
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(232, 210, 164, 0.18), transparent 22%),
    linear-gradient(180deg, #122744 0%, #0f2038 100%);
  color: rgba(250, 247, 240, 0.94);
}

.section--deep::after {
  content: "말";
  position: absolute;
  right: -0.06em;
  bottom: -0.22em;
  font-family: "한남제목", "Batang", serif;
  font-size: clamp(16rem, 26vw, 26rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.044);
  pointer-events: none;
  user-select: none;
}

.section__grid {
  display: grid;
  gap: 34px;
}

.section__grid--about {
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
}

.section-heading {
  position: relative;
  max-width: 630px;
  padding-left: 24px;
}

.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--황금-중간), rgba(196, 165, 108, 0.14));
}

.section-heading--split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.section-heading h2 {
  max-width: 11ch;
  color: var(--남색-짙음);
  font-size: clamp(2.1rem, 3vw, 3.05rem);
  line-height: 1.28;
}

.section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--글자-중간);
  line-height: 1.88;
  text-wrap: pretty;
}

.section-heading--light::before {
  background: linear-gradient(180deg, rgba(242, 221, 177, 0.92), rgba(242, 221, 177, 0.18));
}

.section-heading--light h2,
.section-heading--light p:not(.eyebrow) {
  color: rgba(250, 247, 240, 0.96);
}

.content-stack {
  display: grid;
  gap: 20px;
}

.feature-card,
.contact-card {
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(250, 245, 237, 0.96));
  border: 1px solid var(--선색);
  box-shadow: var(--그림자-중간);
}

.feature-card {
  position: relative;
  padding: 30px;
  border-radius: 30px;
}

.feature-card::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  width: 88px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--황금-중간), rgba(196, 165, 108, 0.1));
}

.feature-card h3,
.program-card h3 {
  margin: 0;
  color: var(--남색-짙음);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.48;
  letter-spacing: -0.02em;
  word-break: keep-all;
  text-wrap: balance;
}

.feature-card p,
.program-card p,
.contact-note p {
  margin: 12px 0 0;
  line-height: 1.88;
  text-wrap: pretty;
}

.feature-card p,
.contact-note p {
  color: var(--글자-중간);
}

.legacy-note {
  color: var(--남색-중간);
  font-weight: 700;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
}

.program-card {
  position: relative;
  min-height: 100%;
  padding: 30px;
  border-radius: 30px;
  cursor: pointer;
  transition: box-shadow 200ms ease, transform 200ms ease;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(247, 244, 237, 0.14);
  box-shadow: var(--그림자-중간);
}

.program-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(242, 221, 177, 0.08), transparent 28%);
  pointer-events: none;
}

.program-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 34px;
  margin-bottom: 18px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(242, 221, 177, 0.12);
  color: #f2ddb1;
  font-family: "한남제목", serif;
  font-size: 1.02rem;
}

.program-card h3 {
  color: rgba(250, 247, 240, 0.96);
}

.program-card p {
  color: rgba(247, 244, 237, 0.8);
}

.program-card:hover,
.program-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 24px 52px rgba(15, 32, 56, 0.22);
  outline: none;
}

.program-card[aria-expanded="true"] {
  box-shadow: 0 24px 52px rgba(15, 32, 56, 0.28);
}

.program-card[aria-expanded="true"]::after {
  opacity: 0.6;
}

.program-detail {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms ease, margin-top 300ms ease;
  margin-top: 0;
}

.program-card[aria-expanded="true"] .program-detail {
  grid-template-rows: 1fr;
  margin-top: 20px;
}

.program-detail__inner {
  overflow: hidden;
}

.program-detail__inner > p {
  padding-top: 18px;
  border-top: 1px solid rgba(247, 244, 237, 0.14);
  color: rgba(247, 244, 237, 0.84);
  line-height: 1.88;
  margin: 0;
}

.program-detail__inner .policy-list {
  margin-top: 14px;
  color: rgba(247, 244, 237, 0.72);
}

.program-detail__inner .contact-note {
  margin-top: 14px;
  background: rgba(242, 221, 177, 0.08);
  border-color: rgba(242, 221, 177, 0.2);
}

.program-detail__inner .contact-note strong {
  color: rgba(242, 221, 177, 0.9);
}

.program-detail__inner .contact-note p {
  color: rgba(247, 244, 237, 0.72);
  margin: 6px 0 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--남색-중간);
  font-weight: 700;
}

.text-link::after {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}


.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.resource-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 38px;
}

.resource-grid--five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 38px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 32px;
  align-items: start;
}

.contact-card {
  position: relative;
  padding: 30px;
  border-radius: 30px;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30px;
  right: 30px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--황금-중간), rgba(196, 165, 108, 0.1));
}

.contact-list {
  display: grid;
  gap: 20px;
  margin: 0;
}

.contact-list div {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(24, 52, 84, 0.08);
}

.contact-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-list dt {
  color: var(--남색-짙음);
  font-weight: 700;
}

.contact-address {
  margin: 0;
  font-style: normal;
}

.contact-list dd {
  margin: 0;
  color: var(--글자-중간);
  line-height: 1.78;
}

.contact-list a {
  color: var(--남색-중간);
  font-weight: 700;
}

.contact-note {
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(249, 241, 225, 0.92), rgba(242, 233, 215, 0.96));
  border: 1px solid rgba(196, 165, 108, 0.24);
}

.contact-note strong {
  display: block;
  color: var(--남색-짙음);
  font-size: 1.02rem;
}

.policy-card {
  padding: 30px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(249, 244, 236, 0.96));
  border: 1px solid var(--선색);
  box-shadow: var(--그림자-중간);
}

.policy-list {
  margin: 0;
  padding-left: 22px;
  color: var(--글자-중간);
  line-height: 1.92;
}

.policy-list li + li {
  margin-top: 12px;
}


.policy-card .legacy-note {
  margin-top: 18px;
}

.site-footer {
  padding: 34px 0 44px;
  background: linear-gradient(180deg, #11243d, #0d1d32);
  color: rgba(250, 247, 240, 0.76);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer__brand {
  display: grid;
  gap: 12px;
}

.site-footer__logo {
  width: clamp(178px, 22vw, 270px);
  height: auto;
  display: block;
  object-fit: contain;
  filter: brightness(1.02) drop-shadow(0 10px 18px rgba(0, 0, 0, 0.18));
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  color: rgba(250, 247, 240, 0.96);
}

.site-footer p {
  margin: 0;
  line-height: 1.76;
}

.site-footer__meta {
  display: grid;
  gap: 14px;
  justify-items: end;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.footer-links a {
  color: rgba(250, 247, 240, 0.9);
  font-weight: 700;
}

.site-footer__copy {
  text-align: right;
}

@media (max-width: 1120px) {
  .hero__grid,
  .section__grid--about,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero__grid {
    padding: 54px 44px 46px;
  }

  .hero__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 8px;
  }

  .hero__content {
    padding-right: 0;
  }

  .program-grid,
  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resource-grid--four,
  .resource-grid--five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: fixed;
    inset: 126px 20px auto;
    display: grid;
    gap: 8px;
    padding: 16px;
    border-radius: 26px;
    background: rgba(252, 248, 241, 0.98);
    border: 1px solid rgba(24, 52, 84, 0.08);
    box-shadow: var(--그림자-큼);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

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

  .nav a {
    padding: 14px 12px;
    border-radius: 16px;
  }

  .nav a:hover,
  .nav a:focus-visible {
    background: rgba(24, 52, 84, 0.05);
  }

  .hero__grid {
    padding: 46px 28px 36px;
    border-radius: 32px;
  }

  .page-hero__inner {
    padding: 42px 28px 40px;
    border-radius: 30px;
  }

  .brand {
    gap: 12px;
  }

  .overview {
    margin-top: -24px;
  }

  .overview__grid,
  .program-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .resource-grid--four,
  .resource-grid--five {
    grid-template-columns: 1fr;
  }

  .topbar__inner,
  .site-footer__inner,
  .section-heading--split {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__copy {
    text-align: left;
  }

  .site-footer__meta,
  .footer-links {
    justify-items: start;
    justify-content: flex-start;
  }

  .site-footer__logo {
    width: min(250px, 70vw);
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header__inner {
    min-height: 76px;
  }

  .hero {
    padding: 18px 0 70px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.24rem, 11vw, 3.2rem);
  }

  .page-hero__inner h1 {
    max-width: none;
    font-size: clamp(2.18rem, 9vw, 3.1rem);
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__facts {
    grid-template-columns: 1fr;
  }

  .overview-card h2,
  .section-heading h2 {
    max-width: none;
  }

  .section {
    padding: 84px 0;
  }

  .section-heading {
    padding-left: 18px;
  }

  .overview-card,
  .feature-card,
  .program-card,
  .contact-card {
    border-radius: 24px;
  }

  .contact-list div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
