/* ──────────────────────────────────────────────
   수성기억학교 — 디자인 토큰 & 글로벌
   ────────────────────────────────────────────── */

:root {
  /* Palette: 뉴로 블루 (default) — 한뇌연 로고 기반 */
  --bg: #eef3f9;
  --bg-2: #dee9f3;
  --surface: #fbfcfe;
  --ink: #1a2942;
  --ink-2: #4a5a78;
  --ink-3: #8593a8;
  --line: #cdd9e7;
  --line-soft: #e2eaf3;
  --accent: #1d3f80;
  --accent-ink: #ffffff;
  --soft: #dee9f5;
  --leaf: #5db3e3;
  --warn: #b8493a;

  /* Type */
  --font-display: "Gowun Batang", "Noto Serif KR", ui-serif, serif;
  --font-body: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  /* Scale */
  --container: 1180px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 14px;
  --radius-lg: 22px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(45,30,15,.05), 0 2px 8px rgba(45,30,15,.04);
  --shadow-md: 0 2px 6px rgba(45,30,15,.06), 0 12px 32px rgba(45,30,15,.08);
}

/* ── reset ── */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-feature-settings: "ss01", "tnum";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; margin: 0; line-height: 1.25; text-wrap: balance; color: var(--ink); }
p { margin: 0; text-wrap: pretty; }

/* ── layout ── */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  color: var(--accent); letter-spacing: 0.04em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: ""; width: 24px; height: 1px; background: var(--accent);
}

.h-display { font-size: clamp(34px, 5.4vw, 64px); line-height: 1.15; letter-spacing: -0.025em; }
.h-section { font-size: clamp(28px, 4vw, 44px); }
.h-card { font-size: clamp(20px, 2vw, 24px); }
.lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-2); line-height: 1.65; }
.kicker { font-size: 13px; color: var(--ink-3); letter-spacing: 0.02em; }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600; font-size: 15px;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--surface); }
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--surface); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--soft); border-color: var(--accent); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ── header / nav ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--line) 60%, transparent);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  height: clamp(34px, 4vw, 48px);
  width: auto;
  max-width: min(56vw, 280px);
  object-fit: contain;
  display: block;
}
.footer-logo-link { display: inline-flex; }
.footer-logo {
  height: 46px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  background: #fff;
  padding: 8px 12px;
  border-radius: 12px;
  display: block;
}
@media (max-width: 600px) { .footer-logo { height: 40px; } }
.brand-mark {
  width: 56px; height: 56px; border-radius: 50%;
  background: #ffffff;
  display: grid; place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
  box-shadow: 0 1px 3px rgba(26, 41, 66, .08);
}
.brand-mark img {
  width: 100%; height: 100%; object-fit: contain;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  padding: 4px;
  box-sizing: border-box;
  box-sizing: border-box;
}
.brand-mark.text-only {
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-display); font-weight: 600; font-size: 22px;
}
.brand-text { font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.brand-sub { font-size: 11px; color: var(--ink-3); letter-spacing: 0.05em; }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
  padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--ink-2);
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover { color: var(--ink); background: var(--soft); }
.nav-cta { margin-left: 8px; }
@media (max-width: 880px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ── hero ── */
.hero { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(60px, 8vw, 100px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.hero-eyebrow { margin-bottom: 22px; }
.hero h1 {
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1.22;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--accent); font-style: italic; }
.hero .lead { max-width: 30em; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 36px; padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  display: flex; gap: clamp(20px, 3vw, 44px); flex-wrap: wrap;
}
.hero-meta-item { display: flex; flex-direction: column; gap: 2px; }
.hero-meta-num { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--ink); }
.hero-meta-lbl { font-size: 12px; color: var(--ink-3); }

.hero-art { position: relative; aspect-ratio: 4/5; max-height: 560px; }
.hero-photo {
  position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 80% at 30% 20%, color-mix(in oklab, var(--accent) 14%, transparent), transparent 60%),
    linear-gradient(135deg, var(--soft), var(--bg-2));
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  color: var(--ink-3); text-align: center; padding: 24px;
}
.placeholder-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: color-mix(in oklab, var(--ink) 8%, transparent);
  display: grid; place-items: center; color: var(--ink-2);
}
.placeholder-label { font-size: 13px; line-height: 1.5; max-width: 28ch; }
.placeholder-tag { font-size: 11px; padding: 4px 10px; border-radius: 999px; background: color-mix(in oklab, var(--ink) 6%, transparent); color: var(--ink-3); }

.hero-badge {
  position: absolute; bottom: 18px; left: 18px; right: 18px;
  background: color-mix(in oklab, var(--surface) 92%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-sm);
}
.hero-badge-dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--leaf);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--leaf) 25%, transparent);
  flex: 0 0 auto;
}
.hero-badge-body { display: flex; flex-direction: column; line-height: 1.3; }
.hero-badge-title { font-size: 13px; font-weight: 600; color: var(--ink); }
.hero-badge-sub { font-size: 11px; color: var(--ink-3); }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { aspect-ratio: 5/4; max-height: 420px; }
}

/* ── section header ── */
.s-head { max-width: 700px; margin-bottom: clamp(36px, 5vw, 64px); }
.s-head h2 { margin-top: 14px; }
.s-head p { margin-top: 16px; }
.s-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.s-head.center .eyebrow { justify-content: center; }

/* ── painpoint ── */
.painpoint { background: var(--bg-2); }
.checklist { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.check {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  cursor: default;
}
.check:hover { transform: translateX(4px); border-color: var(--accent); box-shadow: var(--shadow-sm); }
.check-num {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 18px; font-weight: 600;
  color: var(--accent);
  width: 32px;
}
.check-text { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; color: var(--ink); }
.check-text em { font-style: normal; color: var(--accent); font-weight: 600; }

.pain-reassure {
  margin-top: 36px;
  display: flex; align-items: center; gap: 16px;
  padding: 18px 24px;
  background: color-mix(in oklab, var(--leaf) 8%, var(--surface));
  border: 1px solid color-mix(in oklab, var(--leaf) 30%, var(--line));
  border-radius: var(--radius);
  max-width: 760px;
}
.pain-reassure-icon {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
  background: var(--leaf); color: #fff; display: grid; place-items: center;
}
.pain-reassure-text { font-size: 15px; color: var(--ink); }
.pain-reassure-text b { color: var(--leaf); }

/* ── bento ── */
.bento {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(220px, auto);
}
/* Layout A — balanced 2x2 programs + full-width outcome */
.bento-A .b1 { grid-column: span 3; grid-row: span 1; }
.bento-A .b2 { grid-column: span 3; grid-row: span 1; }
.bento-A .b3 { grid-column: span 3; grid-row: span 1; }
.bento-A .b4 { grid-column: span 3; grid-row: span 1; }
.bento-A .b5 { grid-column: span 6; grid-row: span 1; }

/* Layout B — feature hero + supporting cards */
.bento-B .b1 { grid-column: span 4; grid-row: span 2; }
.bento-B .b2 { grid-column: span 2; grid-row: span 1; }
.bento-B .b3 { grid-column: span 2; grid-row: span 1; }
.bento-B .b4 { grid-column: span 3; grid-row: span 1; }
.bento-B .b5 { grid-column: span 3; grid-row: span 1; }

.bento-C .b1 { grid-column: span 3; grid-row: span 1; }
.bento-C .b2 { grid-column: span 3; grid-row: span 1; }
.bento-C .b3 { grid-column: span 2; grid-row: span 1; }
.bento-C .b4 { grid-column: span 2; grid-row: span 1; }
.bento-C .b5 { grid-column: span 2; grid-row: span 1; }

.bento-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.bento-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow-md); }
.bento-card.feature {
  background:
    radial-gradient(60% 50% at 80% 0%, color-mix(in oklab, var(--accent) 16%, transparent), transparent 70%),
    var(--surface);
}
.bento-tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.bento-card h3 { font-size: clamp(20px, 2vw, 26px); margin-bottom: 10px; }
.bento-card p { color: var(--ink-2); font-size: 15px; line-height: 1.6; max-width: 36ch; }
.bento-meta { margin-top: auto; padding-top: 20px; display: flex; gap: 14px; flex-wrap: wrap; }
.bento-pill {
  font-size: 12px; padding: 5px 11px; border-radius: 999px;
  background: var(--soft); color: var(--ink-2);
}
.bento-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: color-mix(in oklab, var(--accent) 12%, var(--surface));
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.bento-card.feature .bento-illu {
  position: absolute; right: -20px; bottom: -20px; width: 200px; height: 200px;
  opacity: .35; pointer-events: none;
}

@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card { grid-column: span 2 !important; grid-row: span 1 !important; }
}

/* ── trust ── */
.trust { background: var(--ink); color: var(--surface); }
.trust h2, .trust h3 { color: var(--surface); }
.trust .eyebrow { color: color-mix(in oklab, var(--accent) 70%, #fff); }
.trust .eyebrow::before { background: color-mix(in oklab, var(--accent) 70%, #fff); }
.trust .lead { color: color-mix(in oklab, var(--surface) 75%, transparent); }
.trust-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.trust-card {
  padding: 32px;
  background: color-mix(in oklab, var(--surface) 6%, transparent);
  border: 1px solid color-mix(in oklab, var(--surface) 14%, transparent);
  border-radius: var(--radius-lg);
}
.trust-card .num {
  font-family: var(--font-display); font-size: 44px; font-weight: 600;
  color: color-mix(in oklab, var(--accent) 60%, #fff);
  letter-spacing: -0.02em;
}
.trust-card .num .unit { font-size: 18px; color: color-mix(in oklab, var(--surface) 70%, transparent); margin-left: 4px; }
.trust-card h3 { margin: 14px 0 8px; font-size: 19px; }
.trust-card p { font-size: 14px; color: color-mix(in oklab, var(--surface) 72%, transparent); line-height: 1.6; }
.trust-card ul { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.trust-card li { font-size: 13px; padding-left: 20px; position: relative; color: color-mix(in oklab, var(--surface) 80%, transparent); }
.trust-card li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 10px; height: 6px;
  border-left: 2px solid color-mix(in oklab, var(--accent) 60%, #fff);
  border-bottom: 2px solid color-mix(in oklab, var(--accent) 60%, #fff);
  transform: rotate(-45deg);
}
@media (max-width: 840px) { .trust-grid { grid-template-columns: 1fr; } }

/* ── reviews ── */
.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.review-card {
  padding: 32px 30px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stars { color: var(--accent); font-size: 14px; letter-spacing: 2px; }
.review-quote {
  font-family: var(--font-display); font-size: 17px; line-height: 1.65;
  color: var(--ink); font-weight: 500;
}
.review-quote::before { content: "\201C"; color: var(--accent); margin-right: 2px; }
.review-quote::after { content: "\201D"; color: var(--accent); margin-left: 2px; }
.review-person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--soft);
  color: var(--accent); font-family: var(--font-display); font-weight: 600;
  display: grid; place-items: center; font-size: 15px;
  border: 1px solid var(--line);
}
.review-name { font-size: 14px; font-weight: 600; }
.review-rel { font-size: 12px; color: var(--ink-3); }
@media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ── schedule ── */
.schedule { background: var(--bg-2); }
.schedule-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.schedule-table { display: grid; grid-template-columns: 120px repeat(5, 1fr); }
.sch-head, .sch-cell, .sch-time {
  padding: 16px 14px;
  border-bottom: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
  font-size: 13px;
}
.sch-head {
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  background: var(--soft); color: var(--ink);
  text-align: center;
}
.sch-time {
  font-weight: 600; color: var(--ink-2);
  background: color-mix(in oklab, var(--soft) 50%, var(--surface));
  display: flex; align-items: center; gap: 6px;
}
.sch-cell { display: flex; flex-direction: column; gap: 4px; min-height: 76px; }
.sch-prog { font-size: 13px; font-weight: 600; color: var(--ink); }
.sch-prog.acc { color: var(--accent); }
.sch-prog.leaf { color: var(--leaf); }
.sch-note { font-size: 11px; color: var(--ink-3); }
.schedule-table > :nth-child(6n) { border-right: 0; }
.schedule-table > :nth-last-child(-n+6) { border-bottom: 0; }
@media (max-width: 760px) {
  .schedule-table { grid-template-columns: 80px repeat(5, minmax(120px, 1fr)); overflow-x: auto; }
  .schedule-wrap { overflow-x: auto; }
}

/* ── cost ── */
.cost-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.cost-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 40px);
  box-shadow: var(--shadow-sm);
}
.cost-amount {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: flex; align-items: baseline; gap: 6px;
}
.cost-amount .unit { font-size: 20px; color: var(--ink-2); }
.cost-amount .sub { font-size: 14px; color: var(--ink-3); margin-left: 8px; font-family: var(--font-body); font-weight: 400; }
.cost-list { margin: 24px 0 0; padding: 24px 0 0; list-style: none; border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 14px; }
.cost-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.cost-row .lbl { font-size: 14px; color: var(--ink-2); }
.cost-row .val { font-size: 15px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.cost-row.total { padding-top: 14px; border-top: 1px dashed var(--line); }
.cost-row.total .lbl { font-size: 15px; color: var(--ink); font-weight: 600; }
.cost-row.total .val { font-size: 18px; color: var(--accent); }

.cost-note {
  margin-top: 20px; padding: 14px 16px;
  background: color-mix(in oklab, var(--accent) 8%, var(--surface));
  border: 1px solid color-mix(in oklab, var(--accent) 25%, var(--line));
  border-radius: 12px;
  font-size: 13px; color: var(--ink-2); line-height: 1.6;
}
.cost-note b { color: var(--accent); }
@media (max-width: 880px) { .cost-grid { grid-template-columns: 1fr; } }

/* ── director ── */
.director { background: var(--bg-2); }
.director-grid {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 60px); align-items: center;
}
.director-photo {
  aspect-ratio: 1 / 1.2;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, var(--soft), var(--bg-2));
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-md);
}
.director-signature {
  font-family: var(--font-display); font-style: italic;
  font-size: 22px; color: var(--accent);
  margin-top: 24px;
}
.director-credentials { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 8px; }
.director-credentials li { font-size: 13px; color: var(--ink-2); padding-left: 18px; position: relative; }
.director-credentials li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 1px; background: var(--accent);
}
.director ul { list-style: none; margin: 0; padding: 0; }
.director-quote {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.9vw, 22px);
  line-height: 1.75;
  color: var(--ink);
  font-weight: 500;
}
.director-quote p + p { margin-top: 18px; }

@media (max-width: 880px) { .director-grid { grid-template-columns: 1fr; } .director-photo { aspect-ratio: 4 / 3; } }

/* ── faq ── */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item.open { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%; text-align: left;
  padding: 22px 26px; background: transparent; border: 0;
  font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--ink);
}
.faq-q .plus {
  flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%;
  background: var(--soft); color: var(--accent);
  display: grid; place-items: center; font-size: 18px;
  transition: transform .25s ease, background .2s ease;
}
.faq-item.open .plus { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease;
}
.faq-a-inner { padding: 0 26px 24px; color: var(--ink-2); line-height: 1.7; font-size: 15px; }
.faq-item.open .faq-a { max-height: 400px; }

/* ── location ── */
.location-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 48px); align-items: stretch; }
.map-card {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
  background:
    radial-gradient(40% 30% at 60% 50%, color-mix(in oklab, var(--accent) 18%, transparent), transparent 70%),
    repeating-linear-gradient(45deg, var(--soft) 0 20px, var(--bg-2) 20px 40px);
  box-shadow: var(--shadow-md);
}
.map-pin {
  position: absolute; top: 48%; left: 56%;
  width: 32px; height: 32px; border-radius: 50% 50% 50% 0;
  background: var(--accent); transform: rotate(-45deg);
  box-shadow: 0 4px 14px color-mix(in oklab, var(--accent) 50%, transparent);
}
.map-pin::after {
  content: ""; position: absolute; top: 8px; left: 8px;
  width: 16px; height: 16px; border-radius: 50%; background: var(--surface);
}
.map-ring {
  position: absolute; top: 48%; left: 56%; width: 32px; height: 32px;
  border: 2px solid color-mix(in oklab, var(--accent) 40%, transparent);
  border-radius: 50%;
  animation: ring 2s ease-out infinite;
  transform: translate(-50%, -50%);
}
@keyframes ring {
  0% { transform: translate(-50%, -50%) scale(0.8); opacity: .8; }
  100% { transform: translate(-50%, -50%) scale(2.8); opacity: 0; }
}

.location-info { display: flex; flex-direction: column; gap: 18px; }
.loc-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.loc-row:last-child { border-bottom: 0; }
.loc-icon { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px; background: var(--soft); color: var(--accent); display: grid; place-items: center; }
.loc-label { font-size: 12px; color: var(--ink-3); letter-spacing: 0.04em; text-transform: uppercase; }
.loc-value { font-size: 15px; color: var(--ink); font-weight: 500; margin-top: 3px; }
.loc-sub { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
@media (max-width: 880px) { .location-grid { grid-template-columns: 1fr; } }

/* ── final cta ── */
.final-cta { background: var(--ink); color: var(--surface); text-align: center; }
.final-cta .container { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.final-cta h2 { color: var(--surface); font-size: clamp(30px, 4.4vw, 50px); max-width: 18ch; }
.final-cta .lead { color: color-mix(in oklab, var(--surface) 75%, transparent); max-width: 30em; }
.final-cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.final-cta .btn-primary { background: var(--accent); color: var(--accent-ink); }
.final-cta .btn-primary:hover { background: color-mix(in oklab, var(--accent) 80%, #fff); }
.final-cta .btn-ghost { background: transparent; border-color: color-mix(in oklab, var(--surface) 40%, transparent); color: var(--surface); }
.final-cta .btn-ghost:hover { background: color-mix(in oklab, var(--surface) 8%, transparent); border-color: var(--surface); }

.final-phone {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  color: color-mix(in oklab, var(--accent) 50%, #fff);
  letter-spacing: 0.02em;
}

/* ── footer ── */
footer { padding: 40px 0 60px; border-top: 1px solid var(--line); background: var(--bg); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; }
.footer-brand { display: flex; gap: 12px; align-items: center; }
.footer-text { font-size: 12px; color: var(--ink-3); line-height: 1.7; max-width: 56ch; }
.footer-links { display: flex; gap: 16px; font-size: 12px; color: var(--ink-2); }
.footer-bottom { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-soft); font-size: 11px; color: var(--ink-3); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ═══════════════════════════════════════════════════════════════
   INSTITUTIONAL LAYOUT (memory.ac-style)
   ═══════════════════════════════════════════════════════════════ */

/* ── top utility bar ── */
.util-bar {
  background: var(--ink);
  color: color-mix(in oklab, var(--surface) 70%, transparent);
  font-size: 12px;
}
.util-bar-inner { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.util-bar a { padding: 4px 10px; transition: color .2s ease; }
.util-bar a:hover { color: var(--surface); }
.util-sep { opacity: .3; }
@media (max-width: 760px) {
  .util-bar-inner { overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .util-bar-inner::-webkit-scrollbar { display: none; }
  .util-bar-inner > div { flex: none; }
  .util-bar a, .util-bar span { white-space: nowrap; }
  .util-bar a { padding: 4px 7px; }
}

/* ── institutional nav with dropdowns ── */
.inst-nav {
  background: color-mix(in oklab, var(--surface) 95%, transparent);
  border-bottom: 1px solid var(--line-soft);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.inst-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 84px; }
.inst-nav .container { max-width: 1480px; }
.inst-menu { display: flex; align-items: stretch; justify-content: center; flex: 1; height: 100%; }
.inst-menu-item { position: relative; height: 100%; }
.inst-menu-btn {
  height: 100%;
  display: flex; align-items: center;
  padding: 0 30px;
  font-family: var(--font-body); font-weight: 500; font-size: 19px; letter-spacing: -0.02em;
  color: #000000; background: transparent; border: 0;
  position: relative;
  cursor: pointer; text-decoration: none;
  white-space: nowrap;
}
.inst-menu-btn::after {
  content: ""; position: absolute; left: 22px; right: 22px; bottom: 18px;
  height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: center;
  transition: transform .25s ease;
}
.inst-menu-item:hover .inst-menu-btn::after { transform: scaleX(1); }
.inst-menu-item:hover .inst-menu-btn { color: var(--accent); }
.inst-submenu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(-8px) scale(.98);
  transform-origin: top center;
  min-width: 210px; width: max-content;
  background: #ffffff;
  border: 1px solid color-mix(in oklab, var(--accent) 14%, var(--line-soft));
  border-radius: 14px;
  padding: 9px;
  margin-top: 10px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow:
    0 24px 48px -16px color-mix(in oklab, var(--accent) 26%, transparent),
    0 6px 16px -8px rgba(26, 41, 66, .14),
    inset 0 1px 0 rgba(255, 255, 255, .7);
  opacity: 0; pointer-events: none;
  transition: opacity .22s ease, transform .28s cubic-bezier(.22, 1, .36, 1);
  display: flex; flex-direction: column; gap: 3px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
/* 상단 연결 화살표(캐럿) */
.inst-submenu::before {
  content: ""; position: absolute; top: -7px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 13px; height: 13px; background: #ffffff;
  border-left: 1px solid color-mix(in oklab, var(--accent) 14%, var(--line-soft));
  border-top: 1px solid color-mix(in oklab, var(--accent) 14%, var(--line-soft));
  border-top-left-radius: 3px;
}
/* 호버 영역이 끊기지 않도록 투명 브릿지 */
.inst-submenu::after {
  content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px;
}
.inst-menu-item:hover .inst-submenu {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}
.inst-submenu a {
  position: relative;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 9px;
  font-family: var(--font-body);
  font-size: 16.5px; font-weight: 700; color: var(--ink-2);
  letter-spacing: -0.02em;
  background: transparent;
  border: 0;
  transition: background .2s ease, color .2s ease, transform .22s ease;
  white-space: nowrap; text-align: center;
  overflow: hidden;
}
.inst-submenu a:hover {
  background: linear-gradient(90deg,
    color-mix(in oklab, var(--accent) 15%, #fff),
    color-mix(in oklab, var(--accent) 7%, #fff));
  color: var(--accent);
}

@media (max-width: 1100px) {
  .inst-menu-btn { padding: 0 16px; font-size: 16px; }
}
@media (max-width: 980px) {
  .inst-menu-btn { padding: 0 11px; font-size: 15px; }
}
@media (max-width: 760px) {
  .inst-menu { display: none; }
  .inst-nav-cta { display: none; }
}

/* mobile hamburger + drawer */
.board-more-bar { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 48px); }
.board-more-link {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 30px; border-radius: 999px;
  background: #fff; border: 1.5px solid var(--line);
  color: var(--ink); font-size: 15px; font-weight: 700;
  text-decoration: none; transition: all .2s ease;
}
.board-more-link:hover { border-color: #03c75a; color: #03c75a; transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(3,199,90,.5); }
.board-more-link span { transition: transform .2s ease; }
.board-more-link:hover span { transform: translateX(3px); }

.inst-share-btn {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink-2); cursor: pointer;
  transition: all .2s ease;
}
.inst-share-btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }

/* 공유 모달 */
.share-modal {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(20,30,48,.5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; animation: shareFade .2s ease forwards;
}
@keyframes shareFade { to { opacity: 1; } }
.share-card {
  background: #fff; border-radius: 18px; padding: 30px 28px; width: 100%; max-width: 400px;
  position: relative; box-shadow: 0 30px 70px -20px rgba(0,0,0,.4);
}
.share-x { position: absolute; top: 16px; right: 18px; background: none; border: 0; font-size: 26px; color: var(--ink-3); cursor: pointer; line-height: 1; }
.share-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.share-sub { font-size: 14px; color: var(--ink-3); margin: 0 0 20px; }
.share-link { display: flex; gap: 8px; margin-bottom: 18px; }
.share-link input {
  flex: 1; min-width: 0; padding: 11px 13px; font-size: 13.5px; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 9px; background: var(--bg-2);
}
.share-copy { flex: none; padding: 0 18px; border: 0; border-radius: 9px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background .2s; }
.share-copy.done { background: #2e9e5b; }
.share-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.share-b {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px; border-radius: 10px; border: 1px solid var(--line-soft);
  background: #fff; color: var(--ink); font-size: 14px; font-weight: 600;
  text-decoration: none; cursor: pointer; transition: background .18s, border-color .18s;
}
.share-b:hover { background: var(--bg-2); border-color: var(--accent); }
.share-b-ic { font-size: 16px; font-weight: 700; }
.share-b.kakao .share-b-ic { color: #3a1d1d; }
.share-b.fb .share-b-ic { color: #1877f2; }

@media (max-width: 760px) {
  .inst-share-btn { width: 38px; height: 38px; margin-right: 4px; }
}

.inst-burger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px;
  background: transparent; border: 0; cursor: pointer;
  padding: 10px;
}
@media (max-width: 760px) {
  .inst-burger { display: flex; }
}
.inst-burger span {
  display: block; height: 2.5px; width: 100%;
  background: var(--ink); border-radius: 2px;
}
.inst-mobile-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(20, 30, 50, .5);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.inst-mobile-overlay.open { opacity: 1; pointer-events: auto; }
.inst-mobile-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 201;
  width: min(86vw, 340px);
  background: #fff;
  box-shadow: -8px 0 40px rgba(20, 30, 50, .2);
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.inst-mobile-drawer.open { transform: translateX(0); }
.inst-mobile-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px; border-bottom: 1px solid var(--line-soft);
  position: sticky; top: 0; background: #fff;
}
.inst-mobile-title { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink); }
.inst-mobile-close { background: transparent; border: 0; font-size: 30px; line-height: 1; color: var(--ink-2); cursor: pointer; }
.inst-mobile-nav { padding: 12px 16px 32px; }
.inst-mobile-group { border-bottom: 1px solid var(--line-soft); }
.inst-mobile-grouphead {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: transparent; border: 0; cursor: pointer;
  padding: 16px 8px;
  font-family: "Noto Sans KR", var(--font-body); font-size: 17px; font-weight: 600; color: var(--ink);
  text-align: left;
}
.inst-mobile-arrow { transition: transform .25s ease; color: var(--ink-3); font-size: 18px; }
.inst-mobile-group.open .inst-mobile-arrow { transform: rotate(180deg); }
.inst-mobile-sub {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease;
}
.inst-mobile-group.open .inst-mobile-sub { max-height: 500px; }
.inst-mobile-sub a {
  display: block; padding: 12px 20px;
  font-size: 15px; color: var(--ink-2);
  border-left: 2px solid var(--line);
  margin-left: 8px;
}
.inst-mobile-sub a:hover { color: var(--accent); border-left-color: var(--accent); }
.inst-mobile-cta { width: 100%; justify-content: center; margin-top: 22px; }

/* ── institutional hero ── */
.inst-hero {
  padding: clamp(90px, 12vw, 170px) 0;
  position: relative; overflow: hidden;
  background: var(--ink);
  color: var(--surface);
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.inst-hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
  overflow: hidden;
}
.inst-hero-bg::before {
  /* Soft warm photographic gradient as placeholder for real photo */
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 70% at 30% 35%, color-mix(in oklab, var(--accent) 35%, transparent), transparent 60%),
    radial-gradient(50% 60% at 75% 65%, color-mix(in oklab, var(--leaf) 22%, transparent), transparent 65%),
    radial-gradient(40% 50% at 50% 100%, color-mix(in oklab, var(--accent) 40%, transparent), transparent 70%),
    linear-gradient(135deg, #6b4a2a 0%, #4a3320 35%, #2a1f14 65%, #1a1208 100%);
  filter: saturate(1.05);
  transition: opacity 1.2s ease;
}
.inst-hero-bg-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.inst-hero-bg-img.active { opacity: .55; }
.inst-hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      color-mix(in oklab, var(--ink) 30%, transparent) 0%,
      color-mix(in oklab, var(--ink) 50%, transparent) 50%,
      color-mix(in oklab, var(--ink) 75%, transparent) 100%),
    radial-gradient(80% 60% at 50% 50%, transparent 0%, color-mix(in oklab, var(--ink) 35%, transparent) 80%);
  pointer-events: none;
}
.inst-hero-bg::after {
  /* Subtle film grain */
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 25% 30%, rgba(255,255,255,.04) 0, transparent 1.5px),
    radial-gradient(circle at 75% 70%, rgba(255,255,255,.03) 0, transparent 1.5px);
  background-size: 6px 6px, 7px 7px;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.inst-hero-inner { position: relative; text-align: center; max-width: 1140px; margin: 0 auto; z-index: 2; width: 100%; }
.inst-hero-kicker {
  font-family: var(--font-display);
  font-size: 14px;
  color: color-mix(in oklab, var(--accent) 30%, #fff);
  letter-spacing: 0.2em;
  margin-bottom: 24px;
  display: inline-flex; align-items: center; gap: 14px;
}
.inst-hero-kicker::before, .inst-hero-kicker::after {
  content: ""; width: 28px; height: 1px;
  background: color-mix(in oklab, var(--accent) 30%, #fff);
  opacity: .6;
}
.inst-hero-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 3.2vw, 40px);
  white-space: normal;
  width: 100%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--surface);
  margin: 0 auto 28px;
  text-shadow: 0 2px 30px color-mix(in oklab, var(--ink) 50%, transparent);
  text-align: center;
  word-break: keep-all;
}
.inst-hero-title .stamp {
  display: inline-block;
  position: relative;
  color: color-mix(in oklab, var(--accent) 40%, #fff);
}
.inst-hero-title .stamp::after {
  content: "";
  position: absolute;
  left: -4%; right: -4%; bottom: 4%;
  height: 14px;
  background: color-mix(in oklab, var(--accent) 35%, transparent);
  z-index: -1;
  border-radius: 2px;
}
.inst-hero-desc {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.8;
  color: color-mix(in oklab, var(--surface) 88%, transparent);
  max-width: 56ch;
  margin: 0 auto 36px;
  text-shadow: 0 1px 16px color-mix(in oklab, var(--ink) 60%, transparent);
}
.inst-hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.inst-hero .btn-secondary {
  border-color: color-mix(in oklab, var(--surface) 50%, transparent);
  color: var(--surface);
  background: color-mix(in oklab, var(--surface) 6%, transparent);
  backdrop-filter: blur(8px);
}
.inst-hero .btn-secondary:hover {
  background: var(--surface); color: var(--ink); border-color: var(--surface);
}
.inst-hero .btn-primary { background: var(--accent); color: var(--accent-ink); }
.inst-hero .btn-primary:hover { background: color-mix(in oklab, var(--accent) 80%, #fff); }

/* photo credit note */
.inst-hero-photo-note {
  position: absolute; bottom: 18px; right: 24px;
  z-index: 3;
  font-size: 10px; letter-spacing: 0.05em;
  color: color-mix(in oklab, var(--surface) 50%, transparent);
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--ink) 50%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid color-mix(in oklab, var(--surface) 18%, transparent);
}
.inst-hero-photo-note .dot { width: 6px; height: 6px; border-radius: 50%; background: color-mix(in oklab, var(--accent) 50%, #fff); }

/* slide indicator */
.inst-hero-dots { position: absolute; left: 0; right: 0; bottom: clamp(24px, 4vw, 40px); margin-top: 0; display: flex; gap: 8px; justify-content: center; align-items: center; z-index: 3; }
.inst-hero-dot { width: 8px; height: 8px; border-radius: 50%; background: color-mix(in oklab, var(--surface) 30%, transparent); transition: all .25s ease; border: 0; padding: 0; cursor: pointer; }
.inst-hero-dot.active { width: 32px; border-radius: 999px; background: color-mix(in oklab, var(--accent) 40%, #fff); }

/* ── quick links row ── */
.quicklinks { padding: clamp(50px, 7vw, 80px) 0; background: var(--surface); }
.quicklinks-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
}
.quicklink {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 24px 12px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid transparent;
  transition: transform .25s ease, border-color .2s ease, box-shadow .25s ease, background .2s ease;
}
.quicklink:hover {
  transform: translateY(-4px);
  border-color: var(--line);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}
.quicklink:hover .quicklink-circle {
  background: var(--accent);
  color: var(--accent-ink);
  transform: scale(1.05);
}
.quicklink-circle {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--soft);
  color: var(--accent);
  display: grid; place-items: center;
  transition: transform .25s ease, background .2s ease, color .2s ease;
  border: 1px solid color-mix(in oklab, var(--accent) 18%, var(--line-soft));
}
.quicklink-label {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 600;
  color: var(--ink);
  text-align: center;
}
.quicklink-sub { font-size: 12px; color: var(--ink-3); text-align: center; }

@media (max-width: 880px) {
  .quicklinks-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .quicklink-circle { width: 60px; height: 60px; }
}
@media (max-width: 520px) {
  .quicklinks-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── info bar (3 col: notices / schedule / contact) ── */
.infobar { padding: clamp(50px, 7vw, 100px) 0; }
.infobar-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 0.9fr;
  gap: clamp(18px, 3vw, 28px);
}
.infobar-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.6vw, 34px);
  display: flex; flex-direction: column;
}
.infobar-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}
.infobar-head h3 { font-size: 19px; }
.infobar-more {
  font-size: 12px; color: var(--ink-3);
  padding: 4px 12px; border-radius: 999px;
  border: 1px solid var(--line);
  transition: all .2s ease;
}
.infobar-more:hover { color: var(--accent); border-color: var(--accent); }

/* notice list */
.notice-list { display: flex; flex-direction: column; }
.notice-row { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line-soft); align-items: flex-start; }
.notice-row:last-child { border-bottom: 0; }
.notice-tag {
  flex: 0 0 auto;
  font-size: 10px; padding: 3px 8px;
  border-radius: 4px;
  background: var(--soft); color: var(--accent);
  font-weight: 600; letter-spacing: 0.04em;
  margin-top: 2px;
}
.notice-tag.media { background: color-mix(in oklab, var(--leaf) 16%, var(--surface)); color: var(--leaf); }
.notice-tag.event { background: color-mix(in oklab, var(--accent) 16%, var(--surface)); color: var(--accent); }
.notice-body { flex: 1; min-width: 0; }
.notice-title {
  font-size: 14px; color: var(--ink);
  line-height: 1.45; font-weight: 500;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.notice-row:hover .notice-title { color: var(--accent); }
.notice-date { font-size: 11px; color: var(--ink-3); margin-top: 4px; font-variant-numeric: tabular-nums; }

/* education schedule */
.edu-list { display: flex; flex-direction: column; gap: 12px; }
.edu-row {
  display: flex; gap: 14px; align-items: center;
  padding: 12px 14px;
  background: color-mix(in oklab, var(--soft) 30%, var(--surface));
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  transition: all .2s ease;
}
.edu-row:hover { border-color: var(--accent); transform: translateX(2px); }
.edu-date {
  flex: 0 0 auto; width: 52px; height: 52px;
  background: var(--accent); color: var(--accent-ink);
  border-radius: 10px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  font-family: var(--font-display);
  line-height: 1;
}
.edu-date .month { font-size: 10px; letter-spacing: 0.06em; opacity: .9; margin-bottom: 4px; }
.edu-date .day { font-size: 22px; font-weight: 700; }
.edu-body { flex: 1; min-width: 0; }
.edu-title { font-size: 14px; font-weight: 600; color: var(--ink); }
.edu-meta { font-size: 11px; color: var(--ink-3); margin-top: 4px; }

/* contact card */
.contact-card {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}
.contact-card .infobar-head { border-bottom-color: color-mix(in oklab, var(--surface) 18%, transparent); }
.contact-card h3 { color: var(--surface); }
.contact-card .infobar-more {
  background: color-mix(in oklab, var(--accent) 90%, #fff);
  color: var(--accent-ink);
  border-color: transparent;
}
.contact-phone {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  color: color-mix(in oklab, var(--accent) 50%, #fff);
  margin: 8px 0 6px;
  letter-spacing: 0.02em;
}
.contact-hours { font-size: 12px; color: color-mix(in oklab, var(--surface) 65%, transparent); margin-bottom: 20px; }
.contact-actions { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.contact-action {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: color-mix(in oklab, var(--surface) 8%, transparent);
  border: 1px solid color-mix(in oklab, var(--surface) 14%, transparent);
  border-radius: 10px;
  font-size: 13px; color: var(--surface);
  transition: background .2s ease, border-color .2s ease;
}
.contact-action:hover { background: color-mix(in oklab, var(--surface) 14%, transparent); border-color: color-mix(in oklab, var(--accent) 70%, #fff); }
.contact-action .ic { color: color-mix(in oklab, var(--accent) 60%, #fff); flex: 0 0 auto; }

@media (max-width: 980px) { .infobar-grid { grid-template-columns: 1fr 1fr; } .contact-card { grid-column: span 2; } }
@media (max-width: 680px) { .infobar-grid { grid-template-columns: 1fr; } .contact-card { grid-column: span 1; } }

/* ── four steps program (씨→새싹→꽃→열매) ── */
.foursteps {
  background:
    radial-gradient(45% 50% at 50% 0%, color-mix(in oklab, var(--accent) 8%, transparent), transparent 70%),
    var(--bg-2);
  padding: clamp(70px, 10vw, 130px) 0;
  position: relative;
  overflow: hidden;
}
.foursteps-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); }
.foursteps-head .eyebrow { justify-content: center; }
.foursteps-head h2 { margin-top: 14px; }
.foursteps-head p { margin-top: 18px; }

.foursteps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}
.foursteps-grid::before {
  content: "";
  position: absolute;
  top: 64px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(to right, var(--accent) 0 6px, transparent 6px 14px);
  opacity: .35;
  z-index: 0;
}
.fourstep {
  position: relative; z-index: 1;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 28px 24px 26px;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .3s ease, border-color .2s ease, box-shadow .25s ease;
}
.fourstep:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow-md); }
.fourstep-num {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.2em;
}
.fourstep-icon {
  width: 96px; height: 96px;
  margin: 4px auto 4px;
  display: grid; place-items: center;
  position: relative;
}
.fourstep-icon svg { width: 100%; height: 100%; }
.fourstep h3 {
  text-align: center;
  font-size: 22px;
  margin: 4px 0 0;
  color: var(--ink);
}
.fourstep-stage {
  text-align: center;
  font-size: 13px;
  font-family: var(--font-display);
  color: var(--accent);
  letter-spacing: 0.05em;
}
.fourstep p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.7;
  text-align: center;
}
.fourstep-list {
  margin-top: 6px; padding-top: 16px;
  border-top: 1px dashed var(--line-soft);
  list-style: none; padding-left: 0; margin-bottom: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.fourstep-list li {
  font-size: 12px; color: var(--ink-3);
  text-align: center;
}

@media (max-width: 880px) {
  .foursteps-grid { grid-template-columns: repeat(2, 1fr); }
  .foursteps-grid::before { display: none; }
}
@media (max-width: 480px) { .foursteps-grid { grid-template-columns: 1fr; } }

/* ── institutional footer ── */
.inst-footer { background: #fff; color: var(--ink-2); padding: 60px 0 40px; border-top: 1px solid var(--line-soft); }
.inst-footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: clamp(24px, 4vw, 60px); margin-bottom: 40px; }
.inst-footer h4 { color: var(--ink); font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: 0.05em; margin: 0 0 18px; text-transform: uppercase; }
.inst-footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.inst-footer-col a { font-size: 15.5px; color: var(--ink-2); transition: color .2s ease; }
.inst-footer-col a:hover { color: var(--accent); }
.inst-footer-grid > .inst-footer-col { margin-top: 40px; }
.inst-footer-brand .brand-mark { width: 68px; height: 68px; }
.inst-footer-brand .brand-text { color: var(--ink); font-size: 20px; }
.inst-footer-brand .brand-sub { color: var(--ink-3); }
.inst-footer-meta { font-size: 14px; color: var(--ink-3); line-height: 1.75; margin-top: -6px; }
.inst-footer-bottom { padding-top: 24px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--ink-3); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.inst-footer-affiliate {
  display: inline-flex; gap: 8px; align-items: center;
  padding: 8px 14px;
  background: color-mix(in oklab, var(--accent) 7%, #fff);
  border: 1px solid color-mix(in oklab, var(--accent) 22%, var(--line));
  border-radius: 999px;
  font-size: 11px; color: var(--ink-2);
  margin-top: 14px;
}

@media (max-width: 760px) { .inst-footer-grid { grid-template-columns: 1fr; } .inst-footer-grid > .inst-footer-col { margin-top: 0; } }

/* ═══════════════════════════════════════════════════════════════
   SUB-PAGE (원장 인사말 등)
   ═══════════════════════════════════════════════════════════════ */

.page-banner {
  position: relative;
  background: var(--ink);
  color: var(--surface);
  padding: clamp(70px, 9vw, 130px) 0 clamp(60px, 7vw, 100px);
  overflow: hidden;
}
.page-banner::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(50% 60% at 80% 30%, color-mix(in oklab, var(--accent) 30%, transparent), transparent 70%),
    radial-gradient(40% 50% at 20% 100%, color-mix(in oklab, var(--leaf) 15%, transparent), transparent 70%);
  pointer-events: none;
}
.page-banner-inner { position: relative; z-index: 1; }
.breadcrumb {
  display: flex; align-items: center; gap: 9px;
  font-size: 15px;
  color: color-mix(in oklab, var(--surface) 50%, transparent);
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}
.breadcrumb a { transition: color .2s ease; }
.breadcrumb a:hover { color: color-mix(in oklab, var(--accent) 50%, #fff); }
.breadcrumb .sep { opacity: .4; }
.breadcrumb .current { color: var(--surface); }
.page-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--surface);
  margin: 0 0 14px;
}
.page-title-en {
  display: none !important;
}
.page-title-en-OLD {
  font-family: var(--font-display);
  font-size: 14px;
  color: color-mix(in oklab, var(--accent) 35%, #fff);
  letter-spacing: 0.18em;
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
}
.page-title-en::before {
  content: ""; width: 30px; height: 1px;
  background: color-mix(in oklab, var(--accent) 35%, #fff);
  opacity: .6;
}
.page-subtitle {
  display: none !important;
}
.page-subtitle-OLD {
  font-size: clamp(15px, 1.3vw, 17px);
  color: color-mix(in oklab, var(--surface) 75%, transparent);
  max-width: 56ch;
  line-height: 1.7;
  margin-top: 18px;
}
@media (max-width: 640px) {
  .page-banner-center .page-subtitle {
    white-space: normal !important;
    font-size: 14px;
  }
  .page-banner .page-subtitle,
  .page-banner .page-title {
    white-space: normal !important;
    width: auto !important;
    max-width: 100% !important;
    word-break: keep-all;
  }
  .page-title { font-size: clamp(26px, 7vw, 34px) !important; }
  .inst-hero-title { font-size: clamp(24px, 6.5vw, 32px) !important; }
  .inst-hero .inst-hero-eyebrow, .inst-hero-eyebrow { font-size: 12px !important; }
  .inst-hero-kicker { font-size: 11px; letter-spacing: 0.08em; gap: 8px; flex-wrap: wrap; justify-content: center; }
  .inst-hero-kicker::before, .inst-hero-kicker::after { width: 18px; }
  .five-head h2 span,
  .five-head h2 {
    white-space: normal !important;
  }
}

/* sub-page secondary nav (tab strip) */
.page-tabs {
  background: var(--surface);
  border-bottom: 1px solid var(--line-soft);
  position: sticky; top: 84px; z-index: 40;
  backdrop-filter: blur(14px);
}
.page-tabs-inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; justify-content: center; }
.page-tabs-inner::-webkit-scrollbar { display: none; }

/* centered banner variant */
.page-banner-center .page-banner-inner { text-align: center; }
.page-banner-center .breadcrumb { justify-content: center; }
.page-banner-center .page-title-en { justify-content: center; }
.page-banner-center .page-title-en::before { display: none; }
.page-banner-center .page-title-en {
  display: block;
}
.page-banner-center .page-subtitle { margin-left: auto; margin-right: auto; }

/* photo background variant */
.page-banner-photo { position: relative; overflow: hidden; padding-top: clamp(140px, 16vw, 240px); padding-bottom: clamp(130px, 14vw, 220px); }
.page-banner-photo::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--banner-img);
  background-size: cover;
  background-position: var(--banner-pos, center 45%);
  z-index: 0;
}
.page-banner-contain::before { background-size: contain; background-repeat: no-repeat; background-position: center; background-color: #1a2942; }
.page-banner-photo::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, color-mix(in oklab, var(--ink) 72%, transparent) 0%, color-mix(in oklab, var(--ink) 60%, transparent) 55%, color-mix(in oklab, var(--ink) 78%, transparent) 100%);
  z-index: 1;
}
.page-banner-photo .page-banner-inner { position: relative; z-index: 2; }
.page-banner-photo .breadcrumb,
.page-banner-photo .breadcrumb a,
.page-banner-photo .breadcrumb .current { color: color-mix(in oklab, #fff 88%, transparent); }
.page-banner-photo .breadcrumb a:hover { color: #fff; }
.page-banner-photo .page-title-en { color: color-mix(in oklab, var(--accent) 30%, #fff); }
.page-banner-photo .page-title { color: #fff; text-shadow: 0 2px 24px color-mix(in oklab, var(--ink) 60%, transparent); }
.page-banner-photo .page-subtitle { color: color-mix(in oklab, #fff 86%, transparent); text-shadow: 0 1px 12px color-mix(in oklab, var(--ink) 55%, transparent); }
.page-tab {
  position: relative;
  padding: 20px 26px;
  font-size: 17px; font-weight: 500;
  color: var(--ink-3);
  white-space: nowrap;
  transition: color .2s ease;
}
.page-tab:hover { color: var(--ink-2); }
.page-tab.active { color: var(--accent); font-weight: 600; }
.page-tab.active::after {
  content: ""; position: absolute; left: 26px; right: 26px; bottom: 0;
  height: 2px; background: var(--accent); border-radius: 2px 2px 0 0;
}

/* greetings page layout */
.greetings { padding: clamp(60px, 9vw, 120px) 0 clamp(70px, 10vw, 140px); }
.greetings-grid {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.greetings-side {
  position: sticky; top: 160px;
  display: flex; flex-direction: column; gap: 24px;
}
.greetings-portrait {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, var(--soft), var(--bg-2));
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-md);
}
.greetings-profile {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 24px;
}
.greetings-profile h4 {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.greetings-profile ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.greetings-profile li {
  font-size: 13px;
  color: var(--ink-2);
  padding-left: 16px;
  position: relative;
  line-height: 1.55;
}
.greetings-profile li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); opacity: .7;
}
.greetings-name-block {
  text-align: center;
  margin-top: 4px;
}
.greetings-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
}
.greetings-role {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 4px;
}

.greetings-body { font-size: 16px; line-height: 1.9; color: var(--ink-2); }
.greetings-eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 14px;
}
.greetings-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 36px;
  text-wrap: balance;
}
.greetings-headline em { font-style: normal; color: var(--accent); }
.greetings-body p { margin: 0 0 22px; text-wrap: pretty; }
.greetings-body p.lead-para {
  font-size: 19px;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-soft);
}
.greetings-body em { font-style: normal; color: var(--accent); font-weight: 600; }
.greetings-body strong { color: var(--ink); font-weight: 600; }

.greetings-pullquote {
  margin: 36px 0;
  padding: 28px 32px;
  background: color-mix(in oklab, var(--accent) 8%, var(--surface));
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink);
  font-weight: 500;
}
.greetings-pullquote::before {
  content: none;
}

.greetings-signature {
  margin-top: 50px;
  padding-top: 36px;
  border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 20px;
  flex-wrap: wrap;
}
.greetings-signature-block { display: flex; flex-direction: column; gap: 6px; }
.greetings-signature-label { font-size: 13px; color: var(--ink-3); }
.greetings-signature-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--accent);
  font-style: italic;
}
.greetings-date { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }

.greetings-cta {
  margin-top: 70px;
  padding: 40px clamp(24px, 4vw, 56px);
  background: var(--bg-2);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  flex-wrap: wrap;
}
.greetings-cta-text {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
}
.greetings-cta-sub { font-size: 13px; color: var(--ink-3); margin-top: 4px; font-weight: 400; font-family: var(--font-body); }
.greetings-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 880px) {
  .greetings-grid { grid-template-columns: 1fr; }
  .greetings-side { position: static; }
  .greetings-portrait { max-width: 420px; aspect-ratio: 4/3; }
  .page-tabs { top: 0; }
}

/* centered single-column variant */
.greetings-centered .greetings-body {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.greetings-centered .greetings-eyebrow {
  text-align: center;
}
.greetings-centered .greetings-headline {
  text-align: center;
}
.greetings-centered .greetings-body p {
  text-align: center;
  word-break: keep-all;
  line-break: strict;
  text-wrap: pretty;
}
.greetings-centered .greetings-body strong { font-weight: inherit; color: inherit; }
.greetings-centered .greetings-headline { word-break: keep-all; text-wrap: balance; }
.greetings-centered .greetings-pullquote {
  text-align: center;
  border-left: 0;
  border-top: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  border-radius: 0;
  margin-left: auto; margin-right: auto;
  max-width: 600px;
  padding: 28px 24px;
  background: transparent;
}
.greetings-centered .greetings-pullquote::before {
  display: none;
  font-size: 40px;
  line-height: 1;
  vertical-align: baseline;
}
.greetings-centered .greetings-signature {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}
.greetings-centered .greetings-cta {
  flex-direction: column;
  text-align: center;
  justify-content: center;
}
.greetings-centered .greetings-cta-actions {
  justify-content: center;
}

/* portrait + leaf ornament */
.greetings-portrait-wrap {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto 28px;
}
.greetings-portrait-img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface);
  box-shadow: 0 8px 30px color-mix(in oklab, var(--ink) 18%, transparent);
  border: 4px solid var(--surface);
}
.greetings-leaf {
  position: absolute;
  width: 110px; height: 74px;
  pointer-events: none;
  opacity: .9;
}
.greetings-leaf-tl {
  top: -38px;
  left: -52px;
  transform: rotate(-12deg);
}
.greetings-leaf-br {
  bottom: -36px;
  right: -56px;
  transform: rotate(12deg);
}
.greetings-name-line {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink-2);
  text-align: center;
}
.greetings-name-line strong { color: var(--ink); font-weight: 600; }

.greetings-centered .closing-line {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin-top: 36px;
}

/* ── Snow palette refinements ── */
.bento-card, .review-card, .infobar-card, .fourstep, .cost-card, .faq-item, .schedule-wrap {
  box-shadow:
    0 1px 0 color-mix(in oklab, var(--line) 50%, transparent),
    0 1px 3px color-mix(in oklab, var(--ink) 4%, transparent);
}
.bento-card:hover, .review-card:hover, .fourstep:hover {
  box-shadow:
    0 1px 0 color-mix(in oklab, var(--accent) 30%, transparent),
    0 8px 24px color-mix(in oklab, var(--ink) 8%, transparent);
}

/* Make schedule cleaner on white */
.sch-head { border-bottom: 1.5px solid var(--line); }

/* Quicklinks — flatter, cleaner on white */
.quicklink-circle {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
}

/* Nav with stronger bottom border on white */
.inst-nav { background: color-mix(in oklab, var(--surface) 96%, transparent); }

/* ── reveal animation ── */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ── utility ── */
.row { display: flex; gap: 12px; flex-wrap: wrap; }
.col { display: flex; flex-direction: column; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
