    :root {
      --bg: #d7d5c3;
      --paper: #ece8d9;
      --ink: #20263a;
      --muted: #4e5868;
      --brand: #373d59;
      --brand-2: #9fadb8;
      --brand-3: #cfc7aa;
      --line: #c4bea6;
      --shadow: 0 18px 40px rgba(13, 16, 22, 0.14);
      --radius: 16px;
    }

    * { box-sizing: border-box; }

    html { scroll-behavior: smooth; }

    body {
      margin: 0;
      font-family: "IBM Plex Sans KR", sans-serif;
      color: var(--ink);
      background:
        radial-gradient(circle at 84% -10%, rgba(55, 61, 89, 0.16) 0%, transparent 44%),
        radial-gradient(circle at 10% 12%, rgba(159, 173, 184, 0.22) 0%, transparent 40%),
        linear-gradient(180deg, rgba(207, 199, 170, 0.2) 0%, rgba(215, 213, 195, 0.04) 40%),
        var(--bg);
      line-height: 1.55;
    }

    .container {
      width: min(1120px, 92vw);
      margin: 0 auto;
    }

    header {
      position: sticky;
      top: 0;
      z-index: 20;
      backdrop-filter: blur(10px);
      background: rgba(55, 61, 89, 0.93);
      border-bottom: 1px solid rgba(22, 26, 41, 0.45);
    }

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

    .brand {
      display: flex;
      align-items: center;
      gap: 10px;
      font-family: "Space Grotesk", sans-serif;
      font-size: 1rem;
      font-weight: 700;
      letter-spacing: 0.02em;
      color: #f4f3e7;
    }

    .brand img {
      width: 28px;
      height: 28px;
      border-radius: 6px;
      object-fit: cover;
      display: block;
      mix-blend-mode: screen;
      opacity: 0.96;
    }

    nav {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: flex-end;
    }

    nav a {
      text-decoration: none;
      color: #f4f3e7;
      font-size: 0.92rem;
      padding: 8px 10px;
      border-radius: 999px;
      transition: background .2s ease;
    }

    nav a:hover {
      background: rgba(244, 243, 231, 0.18);
    }

    .lang-switch {
      display: flex;
      gap: 8px;
      margin-left: 8px;
    }

    .lang-switch a {
      text-decoration: none;
      color: #f4f3e7;
      border: 1px solid rgba(244, 243, 231, 0.45);
      border-radius: 999px;
      padding: 6px 10px;
      font-size: 0.8rem;
      font-weight: 700;
      line-height: 1;
    }

.lang-switch a.active {
  background: rgba(244, 243, 231, 0.2);
  border-color: rgba(244, 243, 231, 0.8);
}

.eyebrow {
  margin: 0 0 10px;
  display: inline-block;
  font-size: 0.82rem;
      background: rgba(55, 61, 89, 0.14);
      color: #2d3450;
      border-radius: 999px;
      padding: 6px 12px;
      font-weight: 600;
    }

    h1, h2, h3 { font-family: "Space Grotesk", sans-serif; letter-spacing: -0.02em; margin: 0; }

    h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); line-height: 1.05; }
    h2 { font-size: clamp(1.4rem, 3.2vw, 2.1rem); margin-bottom: 14px; }
    h3 { font-size: 1.15rem; margin-bottom: 10px; }

    .hero p { margin: 16px 0 0; color: var(--muted); }

    .hero-stats {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
      margin-top: 20px;
    }

    .stat {
      border: 1px solid var(--line);
      border-radius: 12px;
      padding: 12px;
      background: #f8f7ec;
    }

.stat strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
  margin-bottom: 4px;
}

.portal-hero {
  padding: 74px 0 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
      gap: 22px;
      align-items: stretch;
    }

    .portal-copy {
      background: var(--paper);
      border: 1px solid var(--line);
      border-radius: 24px;
      box-shadow: var(--shadow);
      padding: 34px;
    }

    .kicker {
      font-size: .76rem;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--muted);
      font-weight: 700;
      margin-bottom: 10px;
      display: inline-block;
    }

    .portal-copy p { color: var(--muted); margin: 14px 0 0; }

    .portal-art {
      border-radius: 24px;
      overflow: hidden;
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
      min-height: 320px;
    }

    .portal-art img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

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

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

.feature-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 18px;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .feature-card h3 { margin: 0; }
    .feature-card p { margin: 0; color: var(--muted); }

.feature-link {
  margin-top: auto;
  text-decoration: none;
  color: #2f3653;
  font-weight: 700;
  font-size: .9rem;
}

    .pill-links {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 16px;
    }

    .pill-links a {
      text-decoration: none;
      border: 1px solid rgba(55, 61, 89, .35);
      border-radius: 999px;
      padding: 7px 12px;
      color: #2f3653;
      font-weight: 600;
      font-size: .86rem;
      background: rgba(55, 61, 89, .1);
    }

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

section { padding: 40px 0; }

/* Section-specific premium backgrounds */
#overview .portal-copy {
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.45), rgba(236, 232, 217, 0.88)),
    radial-gradient(circle at 82% 14%, rgba(132, 154, 178, 0.16), transparent 42%),
    var(--paper);
}

#vision {
  background:
    radial-gradient(circle at 10% 20%, rgba(127, 149, 170, 0.2), transparent 42%),
    linear-gradient(180deg, rgba(159, 173, 184, 0.24), rgba(159, 173, 184, 0.08));
  border: 1px solid rgba(84, 103, 126, 0.2);
  border-radius: 20px;
  padding: 28px;
}

#phases {
  background:
    radial-gradient(circle at 86% 14%, rgba(42, 68, 112, 0.18), transparent 46%),
    linear-gradient(180deg, rgba(229, 236, 245, 0.88), rgba(213, 224, 238, 0.58));
  border: 1px solid rgba(63, 91, 132, 0.24);
  border-radius: 20px;
  padding: 28px;
}

.phase-stack {
  display: grid;
  gap: 14px;
}

.phase-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(63, 91, 132, 0.28);
  background: rgba(247, 250, 255, 0.92);
  box-shadow: 0 12px 30px rgba(23, 34, 54, 0.08);
}

.phase-label {
  background:
    linear-gradient(160deg, #25385f 0%, #314a7b 100%);
  color: #f4f7ff;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.phase-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  border-radius: 999px;
  background: rgba(248, 193, 96, 0.22);
  border: 1px solid rgba(248, 193, 96, 0.45);
  color: #ffe8b2;
  padding: 6px 10px;
}

.phase-label strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.phase-content {
  padding: 20px 20px 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(243, 247, 254, 0.88));
}

.phase-content h3 {
  margin: 0 0 6px;
}

.phase-content p {
  margin: 0;
  color: #4c5973;
}

.phase-content ul {
  margin-top: 12px;
}

#tracks {
  background:
    radial-gradient(circle at 15% 20%, rgba(96, 104, 148, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(55, 61, 89, 0.12), rgba(159, 173, 184, 0.12));
  border: 1px solid rgba(67, 74, 112, 0.24);
  border-radius: 20px;
  padding: 28px;
}

#studio {
  background:
    radial-gradient(circle at 84% 24%, rgba(96, 145, 117, 0.26), transparent 44%),
    linear-gradient(180deg, rgba(214, 206, 180, 0.46), rgba(166, 173, 128, 0.24));
  border: 1px solid rgba(74, 109, 82, 0.34);
  border-radius: 20px;
  padding: 28px;
}

#instructor {
  background:
    radial-gradient(circle at 12% 18%, rgba(155, 127, 160, 0.16), transparent 40%),
    linear-gradient(180deg, rgba(55, 61, 89, 0.1), rgba(236, 232, 217, 0.76));
  border: 1px solid rgba(115, 90, 123, 0.22);
  border-radius: 20px;
  padding: 28px;
}

#career {
  background:
    radial-gradient(circle at 86% 18%, rgba(171, 136, 108, 0.16), transparent 44%),
    linear-gradient(180deg, rgba(159, 173, 184, 0.2), rgba(236, 232, 217, 0.72));
  border: 1px solid rgba(130, 108, 89, 0.22);
  border-radius: 20px;
  padding: 28px;
}

#vision .card { border-color: rgba(84, 103, 126, 0.28); }
#phases .card { border-color: rgba(136, 102, 62, 0.38); }
#tracks .card { border-color: rgba(67, 74, 112, 0.28); }
#studio .card { border-color: rgba(74, 109, 82, 0.38); }
#instructor .card { border-color: rgba(115, 90, 123, 0.28); }
#career .card { border-color: rgba(130, 108, 89, 0.28); }

#tracks .banner { border-color: rgba(67, 74, 112, 0.32); }

.section-intro {
  margin-bottom: 20px;
  color: var(--muted);
  max-width: 74ch;
}

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

    .phase-title {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 10px;
    }

    .chip {
      font-size: .8rem;
      font-weight: 700;
      color: #fff;
      background: linear-gradient(130deg, var(--brand), #4a557f);
      border-radius: 999px;
      padding: 4px 9px;
    }

    ul {
      margin: 10px 0 0;
      padding-left: 18px;
      color: var(--muted);
    }

    .track {
      position: relative;
      overflow: hidden;
    }

    .track::before {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      background: linear-gradient(175deg, transparent 60%, rgba(55, 61, 89, 0.13));
    }

    .track:nth-child(2)::before { background: linear-gradient(175deg, transparent 60%, rgba(159, 173, 184, 0.18)); }
    .track:nth-child(3)::before { background: linear-gradient(175deg, transparent 60%, rgba(207, 199, 170, 0.2)); }

    .track p { margin: 0; color: var(--muted); }

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

    .banner {
      border-radius: 20px;
      overflow: hidden;
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
      min-height: 240px;
      margin-top: 16px;
    }

    .banner img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .cta {
      margin-top: 20px;
      background: linear-gradient(120deg, var(--brand), #6f7b88);
      color: #f7fffd;
      border-radius: 18px;
      padding: 22px;
      box-shadow: var(--shadow);
    }

.cta p { margin: 8px 0 0; color: rgba(245, 255, 252, 0.9); }

.instructor-headshot {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 2px solid rgba(55, 61, 89, .18);
  box-shadow: 0 6px 18px rgba(13, 16, 22, 0.12);
  margin-bottom: 12px;
}

.source-links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.source-links a {
  text-decoration: none;
  border: 1px solid rgba(55, 61, 89, .35);
  border-radius: 999px;
  padding: 7px 12px;
  color: #2f3653;
  font-weight: 600;
  font-size: .84rem;
  background: rgba(55, 61, 89, .08);
}

footer {
  padding: 28px 0 46px;
  color: var(--muted);
  font-size: 0.92rem;
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1000px) {
  .columns { grid-template-columns: 1fr; }
  .portal-hero { grid-template-columns: 1fr; }
  .portal-grid { grid-template-columns: 1fr; }
  .triple { grid-template-columns: 1fr; }
  .phase-row { grid-template-columns: 1fr; }
  .phase-label { border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
  #vision,
  #phases,
  #tracks,
  #studio,
  #instructor,
  #career { padding: 20px; }
}

@media (max-width: 640px) {
  .topbar { align-items: flex-start; padding: 12px 0; }
  nav { gap: 4px; }
  nav a { padding: 6px 8px; font-size: .83rem; }
  .lang-switch { margin-left: 0; }
}
