/* ============================================================
   정율사관학원 · 2026 역량 강화 교육문화 행사
   Palette: Navy #1B3B8F · Orange #DC783C · Paper #F2EBDC · Paper-2 #EAE2D0 · Ink #14130F
   ============================================================ */

:root {
  --navy: #1B3B8F;
  --navy-deep: #142b6b;
  --orange: #DC783C;
  --orange-soft: #e89465;
  --paper: #F2EBDC;
  --paper-2: #EAE2D0;
  --ink: #14130F;
  --ink-60: rgba(20, 19, 15, 0.60);
  --ink-30: rgba(20, 19, 15, 0.30);
  --ink-12: rgba(20, 19, 15, 0.12);
  --paper-70: rgba(242, 235, 220, 0.70);
  --paper-18: rgba(242, 235, 220, 0.18);

  --font-ko: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;
  --font-serif: 'Instrument Serif', 'Times New Roman', serif;
  --font-mono: 'Space Grotesk', monospace;

  --max: 1180px;
  --max-narrow: 880px;
  --radius: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-ko);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; }
.dim { color: var(--ink-30); font-weight: 400; }
.paper-70 { color: var(--paper-70); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  background: rgba(242, 235, 220, 0.88);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--ink-12); }
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
/* 풀 로고 (심볼 + 워드마크 통합) — 현재 미사용(이미지 제거됨), 호환성 유지 */
.logo-full {
  height: 32px;
  width: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
.logo-full.big {
  height: 44px;
}
/* 텍스트 전용 로고 (nav) — 호환 유지 */
.nav-logo-text {
  font-family: var(--font-ko);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--navy);
  user-select: none;
}
/* 이미지 로고 (nav) */
.nav-logo-img {
  height: 44px;
  width: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
/* (호환) 기존 .logo-mark 클래스도 유지 — 다른 곳에서 쓸 일이 있을 때 대비 */
.logo-mark {
  height: 30px;
  width: auto;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-mark.big { height: 44px; }
.logo-mark img,
.logo-mark svg {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
.nav-links {
  display: flex;
  gap: 26px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a {
  color: var(--ink-60);
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--ink); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--navy);
  color: var(--paper);
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-cta:hover { background: var(--navy-deep); transform: translateY(-1px); }
.nav-cta i { font-size: 12px; transition: transform 0.2s var(--ease); }
.nav-cta:hover i { transform: translateX(3px); }

@media (max-width: 960px) {
  .nav-links { display: none; }
}
@media (max-width: 540px) {
  .nav { padding: 12px 18px; }
  .nav-logo-text { font-size: 15px; }
  .nav-logo-img { height: 36px; }
}

/* ============================================================
   COMMON
   ============================================================ */
.kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--orange);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.kicker.light { color: var(--orange); }
.kicker::before { content: "● "; margin-right: 2px; }

.section-head {
  max-width: var(--max-narrow);
  margin: 0 auto 64px;
}
.section-title {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.section-title.light { color: var(--paper); }
.section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--navy);
}
.section-title.light em { color: var(--orange); }

.section-lead {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--ink-60);
  margin-top: 22px;
  line-height: 1.75;
}
.section-lead.light { color: var(--paper-70); }
.section-lead b { color: var(--ink); font-weight: 700; }
.section-lead.light b { color: var(--paper); }

.circle-mark {
  position: relative;
  display: inline-block;
  padding: 0 0.18em;
  color: var(--navy);
  font-weight: 800;
}
.circle-mark::before {
  content: "";
  position: absolute;
  inset: -0.18em -0.05em;
  border: 4px solid var(--orange);
  border-radius: 50%;
  transform: rotate(-3deg);
  pointer-events: none;
}
.circle-mark.sm::before { border-width: 3px; }

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--navy);
  color: var(--paper);
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn-primary:hover {
  background: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(27, 59, 143, 0.3);
}
.btn-primary i { font-size: 13px; transition: transform 0.25s var(--ease); }
.btn-primary:hover i { transform: translateX(4px); }
.btn-primary.big { padding: 18px 32px; font-size: 17px; }
.btn-primary.full { width: 100%; justify-content: center; }
.btn-primary.light { background: var(--orange); color: var(--paper); }
.btn-primary.light:hover { background: var(--paper); color: var(--navy); box-shadow: 0 12px 30px rgba(242, 235, 220, 0.3); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  border: 1.5px solid var(--ink-12);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 130px 32px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--paper);
  max-width: 1300px;
  margin: 0 auto;
}
.hero-grain {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 28%, rgba(220, 120, 60, 0.10), transparent 38%),
    radial-gradient(circle at 82% 70%, rgba(27, 59, 143, 0.08), transparent 42%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--ink-60);
  margin-bottom: 30px;
  z-index: 2;
  align-self: flex-start;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.hero-title {
  font-size: clamp(44px, 8.8vw, 112px);
  line-height: 1.0;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 32px;
  z-index: 2;
}
.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(36px);
  animation: heroLine 0.9s var(--ease) forwards;
}
.hero-title .line:nth-child(1) { animation-delay: 0.1s; }
.hero-title .line:nth-child(2) { animation-delay: 0.25s; }
.hero-title .line:nth-child(3) { animation-delay: 0.4s; }
.hero-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--navy);
}
@keyframes heroLine {
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.7;
  color: var(--ink-60);
  margin-bottom: 38px;
  max-width: 700px;
  z-index: 2;
  opacity: 0;
  animation: heroLine 0.9s var(--ease) 0.55s forwards;
}
.hero-sub b { color: var(--ink); font-weight: 700; }

/* Chips */
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
  z-index: 2;
  opacity: 0;
  animation: heroLine 0.9s var(--ease) 0.7s forwards;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: #fff;
  border: 1.5px solid var(--ink-12);
  border-radius: 999px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.chip:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}
.chip-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--orange);
  text-transform: uppercase;
}
.chip-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.chip-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-60);
}

/* Countdown */
.hero-countdown {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 22px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 14px;
  margin-bottom: 28px;
  align-self: flex-start;
  z-index: 2;
  opacity: 0;
  animation: heroLine 0.9s var(--ease) 0.85s forwards;
  flex-wrap: wrap;
}
.cd-label {
  font-size: 13px;
  color: var(--orange);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.cd-label i { margin-right: 4px; }
.cd-blocks { display: inline-flex; gap: 10px; }
.cd-block {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
}
.cd-block b {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--paper);
  min-width: 28px;
  text-align: center;
}
.cd-block i {
  font-style: normal;
  font-size: 12px;
  color: var(--paper-70);
}
.cd-deadline {
  font-size: 12px;
  color: var(--paper-70);
  border-left: 1px solid var(--paper-18);
  padding-left: 16px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  z-index: 2;
  opacity: 0;
  animation: heroLine 0.9s var(--ease) 1.0s forwards;
}

@media (max-width: 760px) {
  .hero { padding: 110px 20px 60px; min-height: auto; }
  .chip { padding: 12px 18px; }
  .chip-name { font-size: 14px; }
  .hero-countdown { padding: 12px 16px; gap: 12px; }
  .cd-deadline { border-left: none; padding-left: 0; width: 100%; }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: var(--ink);
  color: var(--paper);
  padding: 22px 0;
  overflow: hidden;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(26px, 4vw, 42px);
  animation: marquee 36s linear infinite;
  padding-left: 36px;
}
.marquee-track .dot-sep {
  color: var(--orange);
  font-size: 0.5em;
  font-family: var(--font-ko);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   WHY
   ============================================================ */
.why {
  padding: 120px 32px;
  max-width: var(--max);
  margin: 0 auto;
}

.fact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 30px 0 16px;
}
.fact {
  padding: 32px 24px;
  background: var(--paper-2);
  border-radius: var(--radius);
  border: 1px solid var(--ink-12);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.fact:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
  background: #fff;
}
.fact-num {
  font-family: var(--font-serif);
  font-size: clamp(42px, 4.5vw, 64px);
  font-weight: 400;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.fact-num span { display: inline-block; }
.fact-label {
  font-size: 13px;
  color: var(--ink-60);
  line-height: 1.55;
}
.fact-label b { color: var(--ink); font-weight: 700; }
.fact-source {
  font-size: 12px;
  color: var(--ink-30);
  line-height: 1.6;
  margin-top: 6px;
  margin-bottom: 60px;
}
.fact-source i { font-style: italic; }

.press {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 70px;
}
.press-card {
  padding: 28px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--ink-12);
  border-left: 4px solid var(--navy);
}
.press-card header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}
.press-name {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  font-weight: 400;
  color: var(--navy);
}
.press-card time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-30);
}
.press-card h3 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.4;
}
.press-card p {
  font-size: 14px;
  color: var(--ink-60);
  line-height: 1.65;
}
.press-card p b { color: var(--ink); font-weight: 700; }

.why-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 70px;
}
.why-point {
  padding: 30px 26px;
  background: var(--paper-2);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.why-point:hover { transform: translateY(-4px); background: #fff; }
.why-point-icon {
  font-size: 32px;
  margin-bottom: 16px;
  line-height: 1;
}
.why-point h4 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.why-point p {
  font-size: 14px;
  color: var(--ink-60);
  line-height: 1.65;
}
.why-point p b { color: var(--ink); font-weight: 700; }

.why-note {
  padding: 36px 36px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  border-left: 4px solid var(--orange);
}
.why-note-head {
  font-size: 17px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.why-note p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--paper-70);
}
.why-note p b { color: var(--paper); font-weight: 700; }
.why-note .disclaimer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--paper-18);
  font-size: 12.5px;
  color: var(--paper-70);
}

@media (max-width: 900px) {
  .why { padding: 90px 22px; }
  .fact-strip { grid-template-columns: 1fr 1fr; gap: 12px; }
  .press { grid-template-columns: 1fr; }
  .why-points { grid-template-columns: 1fr; }
  .why-note { padding: 28px 22px; }
}

/* ============================================================
   PROGRAMS — Dark section
   ============================================================ */
.programs {
  background: var(--ink);
  color: var(--paper);
  padding: 120px 32px;
  position: relative;
}
.programs .section-head { margin-bottom: 90px; }

.program-card {
  max-width: var(--max);
  margin: 0 auto 80px;
  padding-bottom: 70px;
  border-bottom: 1px solid var(--paper-18);
}
.program-card:last-of-type { border-bottom: none; margin-bottom: 40px; }

.program-header { margin-bottom: 40px; }
.program-meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.program-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--orange);
  padding: 5px 12px;
  border: 1px solid var(--orange);
  border-radius: 999px;
  text-transform: uppercase;
}
.program-period {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--paper-70);
}
.program-title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 14px;
}
.program-title .en {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--paper-70);
  font-size: 0.5em;
  margin-left: 14px;
  letter-spacing: 0.04em;
}
.program-tagline {
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--paper-70);
}
.program-tagline em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--paper);
  font-weight: 400;
}

.program-body {
  display: grid;
  gap: 30px;
}
.program-block { }
.block-title {
  margin-bottom: 14px;
}
.bullet {
  display: inline-block;
  padding: 5px 12px;
  background: var(--paper-18);
  color: var(--paper);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.program-block p {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--paper-70);
}
.program-block p b {
  color: var(--paper);
  font-weight: 700;
  background: linear-gradient(180deg, transparent 60%, rgba(220, 120, 60, 0.35) 60%);
  padding: 0 2px;
}

.how-list {
  list-style: none;
  counter-reset: step;
}
.how-list li {
  position: relative;
  padding: 12px 0 12px 38px;
  border-bottom: 1px dashed var(--paper-18);
  font-size: 15px;
  color: var(--paper-70);
  line-height: 1.7;
  counter-increment: step;
}
.how-list li:last-child { border-bottom: none; }
.how-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 12px;
  width: 26px;
  height: 26px;
  background: var(--orange);
  color: var(--paper);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
}
.how-list li b { color: var(--paper); font-weight: 700; }
.how-list li .dim { color: var(--paper-70); opacity: 0.6; }

/* Grade table */
.grade-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 4px;
}
.grade-table th, .grade-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--paper-18);
  font-size: 14.5px;
  color: var(--paper-70);
  line-height: 1.55;
  vertical-align: middle;
}
.grade-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  border-bottom-color: var(--orange);
}
.grade-table td:first-child {
  font-weight: 700;
  color: var(--paper);
  white-space: nowrap;
}
.grade-table .stars {
  color: var(--orange);
  letter-spacing: -0.05em;
  margin-right: 6px;
}
.grade-table .point {
  text-align: right;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 17px;
  color: var(--orange);
  white-space: nowrap;
}
.grade-table .point span {
  font-size: 12px;
  margin-left: 2px;
}
.grade-table tr.top {
  background: rgba(220, 120, 60, 0.08);
}
.grade-table tr.top td:first-child {
  color: var(--orange);
}

/* ===== 연구비 지원 강조 박스 (Funding Highlight) ===== */
.program-badge-fund {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--orange);
  color: var(--paper);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-left: 4px;
  animation: fundPulse 2.4s ease-in-out infinite;
  box-shadow: 0 6px 20px rgba(220, 120, 60, 0.4);
}
.program-badge-fund i { font-size: 11px; }
@keyframes fundPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 6px 20px rgba(220, 120, 60, 0.4); }
  50% { transform: scale(1.04); box-shadow: 0 8px 28px rgba(220, 120, 60, 0.6); }
}

.funding-highlight {
  position: relative;
  margin: 14px 0 4px;
  padding: 36px 32px 28px;
  background: linear-gradient(135deg, #f5a368 0%, var(--orange) 50%, #c45f24 100%);
  color: var(--paper);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(220, 120, 60, 0.25);
}
.funding-highlight::before {
  content: "";
  position: absolute;
  width: 280px; height: 280px;
  border: 28px solid var(--paper);
  border-radius: 50%;
  top: -140px; right: -140px;
  opacity: 0.10;
  pointer-events: none;
}
.funding-highlight::after {
  content: "";
  position: absolute;
  width: 160px; height: 160px;
  border: 18px solid var(--paper);
  border-radius: 50%;
  bottom: -90px; left: -50px;
  opacity: 0.08;
  pointer-events: none;
}

.funding-ribbon {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-bottom: 18px;
}
.funding-ribbon i { color: var(--orange); font-size: 13px; }

.funding-title {
  position: relative;
  z-index: 2;
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.3;
  margin-bottom: 14px;
  color: var(--paper);
}
.funding-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
}
.funding-strong {
  position: relative;
  display: inline-block;
  padding: 0 0.2em;
  color: var(--paper);
  font-weight: 800;
}
.funding-strong::before {
  content: "";
  position: absolute;
  inset: 0.05em -0.05em -0.05em -0.05em;
  background: var(--ink);
  z-index: -1;
  border-radius: 4px;
  transform: rotate(-1deg);
}

.funding-desc {
  position: relative;
  z-index: 2;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 24px;
  max-width: 720px;
}
.funding-desc b {
  color: var(--paper);
  font-weight: 700;
  background: none !important;
  padding: 0 !important;
}

.funding-tiers {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}
.ft {
  position: relative;
  padding: 22px 18px 18px;
  background: rgba(255, 255, 255, 0.18);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-align: center;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.ft:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.28);
}
.ft.top {
  background: var(--ink);
  border-color: var(--ink);
  transform: scale(1.04);
}
.ft.top:hover { transform: scale(1.04) translateY(-4px); }
.ft-crown {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  width: 30px; height: 30px;
  background: var(--orange);
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--paper);
}
.ft-amount {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  line-height: 1;
  color: var(--paper);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.ft-amount span {
  font-family: var(--font-ko);
  font-size: 0.45em;
  font-weight: 600;
  margin-left: 4px;
  color: rgba(255, 255, 255, 0.85);
}
.ft.top .ft-amount { color: var(--orange); }
.ft.top .ft-amount span { color: var(--paper); }
.ft-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.02em;
}
.ft.top .ft-label { color: var(--paper); }

.funding-extras {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.fe {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.20);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--paper);
}
.fe i { font-size: 11px; opacity: 0.85; }

.funding-fine {
  position: relative;
  z-index: 2;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

@media (max-width: 700px) {
  .funding-highlight { padding: 26px 22px 22px; }
  .funding-tiers { grid-template-columns: 1fr; gap: 10px; }
  .ft.top { transform: none; }
  .ft.top:hover { transform: translateY(-4px); }
}

/* Good box */
.program-good {
  display: flex;
  gap: 16px;
  padding: 20px 22px;
  background: rgba(220, 120, 60, 0.10);
  border-left: 3px solid var(--orange);
  border-radius: 6px;
  align-items: flex-start;
}
.program-good i {
  font-size: 20px;
  color: var(--orange);
  margin-top: 2px;
  flex-shrink: 0;
}
.program-good p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--paper-70);
}
.program-good p b {
  color: var(--paper);
  font-weight: 700;
  background: none;
  padding: 0;
}

/* Mid CTA */
.mid-cta {
  max-width: var(--max);
  margin: 60px auto 0;
  padding: 40px;
  background: var(--paper-18);
  border: 1px dashed var(--orange);
  border-radius: var(--radius);
  text-align: center;
}
.mid-cta p {
  font-size: 17px;
  color: var(--paper);
  margin-bottom: 18px;
  font-weight: 600;
}

@media (max-width: 760px) {
  .programs { padding: 90px 22px; }
  .program-card { margin-bottom: 60px; padding-bottom: 50px; }
  .grade-table th, .grade-table td { padding: 12px 10px; font-size: 13px; }
  .grade-table .point { font-size: 15px; }
  .program-good { padding: 16px 18px; }
  .mid-cta { padding: 28px 22px; }
}

/* ============================================================
   SAMPLES (탭)
   ============================================================ */
.samples {
  padding: 120px 32px;
  max-width: var(--max);
  margin: 0 auto;
}

.sample-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 30px;
}
.tab {
  padding: 22px 18px;
  background: var(--paper-2);
  border-radius: 14px 14px 0 0;
  text-align: left;
  border-bottom: 3px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid rgba(20,19,15,0.10);
  border-bottom: 3px solid transparent;
}
.tab:hover { background: #fff; box-shadow: 0 -2px 8px rgba(20,19,15,0.07); }
.tab.active {
  background: var(--ink);
  border-color: transparent;
  border-bottom-color: var(--orange);
  box-shadow: 0 -3px 12px rgba(20,19,15,0.18);
}
.tab.active .tab-label { color: var(--orange); }
.tab.active .tab-name { color: var(--paper); }
/* 비활성 탭 메타 → 더 진하게 */
.tab.active .tab-meta { color: rgba(242, 235, 220, 0.80); }

.tab-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--orange);
  text-transform: uppercase;
}
.tab-name {
  font-size: 19px;
  font-weight: 800;
  /* 비활성 탭 → 확실히 보이는 잉크 색 */
  color: var(--ink);
  letter-spacing: -0.02em;
}
.tab-meta {
  font-size: 12px;
  /* ink-60 → 좀 더 진하게 (ink-80 수준) */
  color: rgba(20,19,15,0.72);
}

.sample-panels {
  background: var(--ink);
  color: var(--paper);
  border-radius: 0 0 18px 18px;
  padding: 40px 36px;
}
.sample-panel { display: none; }
.sample-panel.active { display: block; animation: fadeIn 0.4s var(--ease); }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.sample-grade {
  display: inline-block;
  padding: 6px 14px;
  background: var(--orange);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(220,120,60,0.35);
}
.sample-start {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 24px);
  /* 어두운 배경 위 → 완전 불투명 밝은 paper 색 */
  color: var(--paper);
  line-height: 1.55;
  margin-bottom: 28px;
  padding: 16px 20px;
  background: rgba(242, 235, 220, 0.10);
  border-left: 3px solid var(--orange);
  border-radius: 6px;
}
.sample-start span {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--orange);
  text-transform: uppercase;
  margin-right: 10px;
  display: inline-block;
  background: rgba(220,120,60,0.18);
  padding: 2px 7px;
  border-radius: 4px;
}

.sample-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sample-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(242, 235, 220, 0.15);
  align-items: start;
}
.sample-row:last-child { border-bottom: none; }
.sample-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  /* 어두운 배경 위 라벨 — 주황 배지 스타일 */
  color: #fff;
  background: rgba(220,120,60,0.25);
  border: 1px solid rgba(220,120,60,0.45);
  padding: 6px 10px;
  border-radius: 6px;
  line-height: 1.5;
  text-align: center;
}
.sample-row p {
  font-size: 15.5px;
  line-height: 1.8;
  /* paper-70(70%불투명) → 완전 불투명 밝은 색상으로 대비 확보 */
  color: rgba(242, 235, 220, 0.95);
}
.sample-row p b {
  color: #fff;
  font-weight: 700;
  background: linear-gradient(180deg, transparent 55%, rgba(220, 120, 60, 0.50) 55%);
  padding: 0 3px;
}

.sample-review {
  margin-top: 30px;
  padding: 18px 22px;
  /* 반투명 → 살짝 더 진하게 */
  background: rgba(242, 235, 220, 0.10);
  border-left: 3px solid var(--orange);
  border-radius: 6px;
  font-size: 14.5px;
  /* paper-70 → 완전 가시 */
  color: rgba(242, 235, 220, 0.90);
  line-height: 1.75;
}
.sample-review i {
  color: var(--orange);
  margin-right: 10px;
}
.sample-review b { color: #fff; margin-right: 6px; }

.sample-foot {
  max-width: var(--max-narrow);
  margin: 40px auto 0;
  text-align: center;
  font-size: 15px;
  /* ink-60(어두운 반투명) → 진한 잉크 색으로 가독성 확보 */
  color: var(--ink);
  line-height: 1.85;
  padding: 20px 24px;
  background: rgba(20,19,15,0.06);
  border-radius: 10px;
}
.sample-foot b { color: var(--ink); font-weight: 700; }
.sample-foot .dim { color: var(--ink-60); }

@media (max-width: 900px) {
  .samples { padding: 90px 22px; }
  .sample-tabs { grid-template-columns: 1fr 1fr; }
  .tab { padding: 16px 14px; border-radius: 12px; }
  .sample-panels { border-radius: 14px; padding: 28px 22px; }
  .sample-row { grid-template-columns: 1fr; gap: 8px; padding: 14px 0; }
}

/* ============================================================
   CROQUET POINTS
   ============================================================ */
.points {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--paper);
  padding: 120px 32px;
  position: relative;
  overflow: hidden;
}
.points::before {
  content: "";
  position: absolute;
  width: 480px; height: 480px;
  border: 50px solid var(--orange);
  border-radius: 50%;
  top: -240px; right: -240px;
  opacity: 0.12;
}
.points::after {
  content: "";
  position: absolute;
  width: 300px; height: 300px;
  border: 32px solid var(--paper);
  border-radius: 50%;
  bottom: -150px; left: -150px;
  opacity: 0.06;
}
.points-inner {
  max-width: var(--max-narrow);
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.points-title {
  font-size: clamp(40px, 6.5vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 36px;
  line-height: 1.1;
  color: var(--paper);
}
.points-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
}

.points-range {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  padding: 22px 36px;
  background: var(--paper-18);
  border-radius: 18px;
  font-family: var(--font-mono);
  font-weight: 700;
  margin-bottom: 32px;
}
.points-min, .points-max {
  font-size: clamp(36px, 5vw, 56px);
  color: var(--paper);
  letter-spacing: -0.02em;
}
.points-dash { font-size: clamp(28px, 3.5vw, 40px); color: var(--orange); }
.points-unit { font-size: clamp(20px, 2.5vw, 28px); color: var(--orange); font-weight: 600; }

.points-desc {
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.8;
  color: var(--paper);
  margin-bottom: 40px;
}
.points-desc b { font-weight: 700; }
.points-desc .paper-70 { color: var(--paper-70); font-size: 0.92em; }

.points-icons {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}
.pi {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--paper-70);
}
.pi i {
  width: 56px; height: 56px;
  background: var(--paper-18);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--orange);
}
.pi span { font-size: 13px; font-weight: 600; }

@media (max-width: 760px) {
  .points { padding: 90px 22px; }
  .points-range { padding: 18px 24px; }
  .points-icons { gap: 22px; }
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how {
  padding: 120px 32px;
  max-width: var(--max);
  margin: 0 auto;
}

.ladder {
  padding: 36px;
  background: var(--paper-2);
  border-radius: var(--radius);
  border-left: 4px solid var(--orange);
  margin-bottom: 50px;
}
.ladder-head {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.ladder p {
  font-size: 15px;
  color: var(--ink-60);
  line-height: 1.75;
  margin-bottom: 22px;
}
.ladder p b { color: var(--ink); font-weight: 700; }
.ladder-steps {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.ls {
  padding: 12px 20px;
  background: #fff;
  border: 1.5px solid var(--ink-12);
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
}
.ladder-steps > i { color: var(--orange); font-size: 14px; }

.reviewers {
  padding: 40px 36px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
}
.reviewers h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--paper);
}
.reviewers h3 i { color: var(--orange); margin-right: 8px; }
.reviewers-lead {
  font-size: 14.5px;
  color: var(--paper-70);
  margin-bottom: 24px;
}
.reviewer-list {
  list-style: none;
  display: grid;
  gap: 14px;
}
.reviewer-list li {
  padding: 18px 22px;
  background: var(--paper-18);
  border-radius: 12px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2fr;
  gap: 18px;
  align-items: baseline;
}
.reviewer-list li b {
  font-size: 15px;
  color: var(--paper);
  font-weight: 700;
}
.reviewer-list li span {
  font-size: 14px;
  color: var(--paper-70);
  line-height: 1.6;
}

@media (max-width: 760px) {
  .how { padding: 90px 22px; }
  .ladder { padding: 26px 22px; }
  .reviewers { padding: 28px 22px; }
  .reviewer-list li { grid-template-columns: 1fr; gap: 6px; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 120px 32px;
  max-width: 900px;
  margin: 0 auto;
}
.faq .section-head { margin-bottom: 40px; }

.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-bottom: 1px solid var(--ink-12);
  padding: 22px 0;
  transition: border-color 0.3s var(--ease);
}
.faq-item[open] { border-color: var(--navy); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: clamp(16px, 1.7vw, 19px);
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 8px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 300;
  color: var(--orange);
  transition: transform 0.3s var(--ease);
  flex: 0 0 auto;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { color: var(--navy); }
.faq-item p {
  padding: 14px 0 6px;
  color: var(--ink-60);
  font-size: 15.5px;
  line-height: 1.75;
  max-width: 760px;
}
.faq-item p b { color: var(--ink); font-weight: 700; }

@media (max-width: 760px) {
  .faq { padding: 90px 22px; }
}

/* ============================================================
   APPLY
   ============================================================ */
.apply {
  background: var(--navy);
  color: var(--paper);
  padding: 130px 32px;
  position: relative;
  overflow: hidden;
}
.apply::before {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  border: 60px solid var(--orange);
  border-radius: 50%;
  top: -260px; right: -260px;
  opacity: 0.14;
}
.apply::after {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  border: 36px solid var(--paper);
  border-radius: 50%;
  bottom: -160px; left: -160px;
  opacity: 0.06;
}
.apply-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.apply-title {
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.apply-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
}

.apply-period {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--paper-18);
  border-radius: 999px;
  margin-bottom: 26px;
  font-size: 15px;
}
.apply-period i { color: var(--orange); }
.apply-period b { font-weight: 700; margin-right: 6px; }

.apply-desc {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--paper-70);
  margin-bottom: 40px;
  line-height: 1.75;
}
.apply-desc b { color: var(--paper); font-weight: 700; }

.btn-apply-huge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 24px 48px;
  background: var(--orange);
  color: var(--paper);
  border-radius: 999px;
  font-weight: 700;
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: -0.01em;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
  box-shadow: 0 12px 40px rgba(220, 120, 60, 0.4);
}
.btn-apply-huge:hover {
  background: var(--paper);
  color: var(--navy);
  transform: translateY(-3px) scale(1.02);
}
.btn-apply-huge i { transition: transform 0.3s var(--ease); }
.btn-apply-huge:hover i { transform: translateX(6px); }

.apply-mini {
  margin-top: 32px;
  font-size: 13.5px;
  color: var(--paper-70);
  line-height: 1.7;
}
.apply-mini b { color: var(--paper); font-weight: 700; }

.apply-contact {
  margin-top: 18px;
  font-size: 13px;
  color: var(--paper-70);
}
.apply-contact i { color: var(--orange); margin-right: 4px; }

@media (max-width: 760px) {
  .apply { padding: 100px 22px; }
  .btn-apply-huge { padding: 20px 32px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 60px 32px 30px;
}
.footer-top {
  max-width: var(--max);
  margin: 0 auto 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--paper-18);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
/* footer 텍스트 로고 */
.footer-name {
  font-family: var(--font-ko);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--paper);
  user-select: none;
  flex-shrink: 0;
}
.footer-tag-wrap { min-width: 0; }
.footer-tag {
  font-size: 13px;
  color: var(--paper-70);
}
.footer-mid {
  max-width: var(--max);
  margin: 0 auto 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--paper-70);
}
.footer-mid b { color: var(--paper); font-weight: 700; margin-right: 6px; }
.footer-mid .sep {
  width: 4px; height: 4px;
  background: var(--paper-18);
  border-radius: 50%;
}
.footer-bot {
  max-width: var(--max);
  margin: 0 auto;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--paper-70);
  line-height: 1.8;
}

@media (max-width: 760px) {
  .footer { padding: 50px 22px 24px; }
}

/* ============================================================
   STICKY CTA (우하단)
   ============================================================ */
.sticky-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 6px 6px 22px;
  background: var(--orange);
  color: var(--paper);
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 12px 32px rgba(220, 120, 60, 0.4);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
  opacity: 0;
  transform: translateY(40px);
  pointer-events: none;
}
.sticky-cta.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.sticky-cta:hover { background: var(--navy); transform: translateY(-3px); }
.sticky-cta .sc-arrow {
  width: 36px; height: 36px;
  background: var(--paper);
  color: var(--orange);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  margin-left: 6px;
}
.sticky-cta:hover .sc-arrow { color: var(--navy); }

@media (max-width: 540px) {
  .sticky-cta {
    bottom: 16px;
    right: 16px;
    left: 16px;
    justify-content: center;
    padding: 12px 16px;
  }
  .sticky-cta .sc-arrow { display: none; }
}

/* ============================================================
   MODAL
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 19, 15, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: bdIn 0.3s var(--ease);
}
@keyframes bdIn { from { opacity: 0; } to { opacity: 1; } }

.modal-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 580px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--paper);
  border-radius: 22px;
  padding: 36px 32px 32px;
  box-shadow: 0 20px 60px rgba(20, 19, 15, 0.2);
  animation: panelIn 0.4s var(--ease);
}
@keyframes panelIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-60);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.modal-close:hover { background: var(--ink); color: var(--paper); }

.modal-head { margin-bottom: 26px; }
.modal-head .kicker { margin-bottom: 12px; }
.modal-head h3 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.3;
}
.modal-head p {
  font-size: 14px;
  color: var(--ink-60);
  line-height: 1.65;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 12px;
}
.field-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.field-label i {
  font-style: normal;
  color: var(--orange);
  margin-left: 2px;
}
.field input,
.field select,
.field textarea {
  padding: 13px 14px;
  border: 1.5px solid var(--ink-12);
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 70px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-30); }

/* check cards */
.check-group {
  border: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.check-group legend { margin-bottom: 6px; }
.check-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1.5px solid var(--ink-12);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.check-card:hover { border-color: var(--orange); }
.check-card input { margin-top: 4px; accent-color: var(--navy); width: 16px; height: 16px; flex-shrink: 0; }
.check-card:has(input:checked) {
  border-color: var(--navy);
  background: var(--paper-2);
}
.check-card-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.check-card-body b {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.check-card-body em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--orange);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.check-card-body small {
  font-size: 13px;
  color: var(--ink-60);
  line-height: 1.5;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-60);
  line-height: 1.5;
  padding: 4px 0;
  cursor: pointer;
}
.consent input {
  margin-top: 3px;
  accent-color: var(--navy);
  width: 16px; height: 16px;
  flex-shrink: 0;
}

/* Success */
.modal-success {
  text-align: center;
  padding: 24px 10px 10px;
}
.success-circle {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 22px;
  animation: pop 0.6s var(--ease);
}
@keyframes pop {
  0% { transform: scale(0); }
  60% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
.modal-success h3 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--navy);
}
.modal-success p {
  font-size: 15px;
  color: var(--ink-60);
  line-height: 1.75;
  margin-bottom: 24px;
}
.modal-success p b { color: var(--ink); font-weight: 700; }

/* ============================================================
   SAMPLE BLOCK (행사 1 카드 내부로 통합된 예시)
   ============================================================ */
/* ============================================================
   SAMPLE-BLOCK — 다크 테마 (programs 섹션 내 행사1 예시)
   ============================================================ */
.sample-block {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

/* 타이틀 bullet: programs 섹션 기본 스타일 그대로 사용 */
.sample-block .block-title { margin-bottom: 16px; }
.sample-block .block-title .bullet {
  /* programs 섹션 기본 .bullet 스타일 유지 (paper-18 배경 + paper 글씨) */
}

/* 소개 텍스트: 어두운 배경 위 → paper 계열 */
.sample-block .sample-intro {
  font-size: 15px;
  line-height: 1.85;
  color: rgba(242, 235, 220, 0.85);
  margin-bottom: 28px;
}
.sample-block .sample-intro b {
  color: var(--paper);
  font-weight: 700;
}

/* ── 탭 버튼 ── */
.sample-block .sample-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 0;
}
.sample-block .tab {
  padding: 18px 14px;
  background: var(--paper-2);
  border-radius: 14px 14px 0 0;
  text-align: left;
  border: 1px solid rgba(20,19,15,0.10);
  border-bottom: 3px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.sample-block .tab:hover { background: #e0d8c6; }
.sample-block .tab.active {
  background: var(--ink);
  border-color: transparent;
  border-bottom-color: var(--orange);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.25);
}
.sample-block .tab .tab-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  color: var(--orange);
  text-transform: uppercase;
}
.sample-block .tab.active .tab-label { color: var(--orange); }
.sample-block .tab .tab-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.sample-block .tab.active .tab-name { color: var(--paper); }
.sample-block .tab .tab-meta {
  font-size: 11px;
  font-weight: 500;
  color: rgba(20,19,15,0.65);
}
.sample-block .tab.active .tab-meta { color: rgba(242,235,220,0.75); }

/* ── 콘텐츠 패널 ── */
.sample-block .sample-panels {
  background: var(--ink);
  color: var(--paper);
  border-radius: 0 0 16px 16px;
  padding: 30px 28px 32px;
  margin-bottom: 20px;
  border: none;
  box-shadow: 0 4px 24px rgba(0,0,0,0.30);
}
.sample-block .sample-panel { display: none; }
.sample-block .sample-panel.active {
  display: block;
  animation: fadeUp 0.4s var(--ease);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 등급 배지 */
.sample-block .sample-grade {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  box-shadow: 0 2px 10px rgba(220,120,60,0.40);
}

/* 출발점 박스 */
.sample-block .sample-start {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(16px, 2vw, 22px);
  color: var(--paper);
  font-weight: 400;
  padding: 16px 20px;
  background: rgba(242,235,220,0.08);
  border-left: 4px solid var(--orange);
  border-radius: 6px;
  margin-bottom: 24px;
  line-height: 1.55;
}
.sample-block .sample-start span {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--orange);
  background: rgba(220,120,60,0.18);
  padding: 3px 8px;
  border-radius: 4px;
  margin-right: 10px;
  text-transform: uppercase;
  display: inline-block;
}

/* 그리드 행 */
.sample-block .sample-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 20px;
}
.sample-block .sample-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(242,235,220,0.12);
}
.sample-block .sample-row:last-child { border-bottom: none; }

/* SA / PA / DA 라벨 */
.sample-block .sample-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  background: rgba(220,120,60,0.28);
  border: 1px solid rgba(220,120,60,0.50);
  padding: 7px 8px;
  border-radius: 7px;
  text-align: center;
  line-height: 1.45;
}

/* 본문 텍스트 */
.sample-block .sample-row p {
  font-size: 14.5px;
  line-height: 1.78;
  color: rgba(242,235,220,0.92);
}

/* 강조 <b> — 형광펜 */
.sample-block .sample-row p b {
  font-weight: 700;
  color: var(--paper);
  background: linear-gradient(180deg, transparent 50%, rgba(220,120,60,0.45) 50%);
  padding: 0 3px;
}

/* 검수팀 한마디 */
.sample-block .sample-review {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(242,235,220,0.08);
  border-left: 3px solid var(--orange);
  border-radius: 6px;
  font-size: 13.5px;
  color: rgba(242,235,220,0.88);
  line-height: 1.7;
  margin-top: 4px;
}
.sample-block .sample-review i { color: var(--orange); margin-top: 2px; flex-shrink: 0; }
.sample-block .sample-review b { color: #fff; margin-right: 6px; }

/* 하단 안내 문구 */
.sample-block .sample-foot {
  font-size: 13.5px;
  color: rgba(242,235,220,0.70);
  text-align: center;
  line-height: 1.8;
  margin-top: 0;
  padding: 16px 20px;
  background: rgba(242,235,220,0.06);
  border-radius: 8px;
}
.sample-block .sample-foot b { color: var(--paper); font-weight: 700; }
.sample-block .sample-foot .dim { color: rgba(242,235,220,0.45); }

/* ── 반응형 ── */
@media (max-width: 760px) {
  .sample-block .sample-tabs { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .sample-block .tab { padding: 12px 10px; }
  .sample-block .tab .tab-name { font-size: 16px; }
  .sample-block .sample-panels { padding: 20px 16px 24px; }
  .sample-block .sample-row { grid-template-columns: 72px 1fr; gap: 12px; padding: 14px 0; }
  .sample-block .sample-label { font-size: 10px; padding: 5px 6px; }
  .sample-block .sample-row p { font-size: 13.5px; }
  .sample-block .sample-start { font-size: 15px; padding: 12px 14px; }
  /* 독립형 어두운 패널 모바일 */
  .sample-panels { padding: 24px 18px; }
  .sample-row { grid-template-columns: 100px 1fr; gap: 14px; }
  .sample-row p { font-size: 14px; }
}

/* ============================================================
   APPLY · 담당 선생님 자동 배정 안내
   ============================================================ */
.apply-assign {
  max-width: 640px;
  margin: 22px auto 28px;
  background: rgba(242, 235, 220, 0.10);
  border: 1.5px solid rgba(242, 235, 220, 0.30);
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  text-align: left;
  backdrop-filter: blur(4px);
}
.apply-assign .assign-icon {
  width: 46px; height: 46px;
  flex-shrink: 0;
  background: var(--orange);
  color: var(--paper);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
}
.apply-assign .assign-body { flex: 1; }
.apply-assign .assign-head {
  font-size: 17px;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 12px;
  line-height: 1.5;
}
.apply-assign .assign-head em {
  color: var(--orange);
  font-weight: 800;
}
.apply-assign .assign-teachers {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.apply-assign .at {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 999px;
  font-size: 13.5px;
}
.apply-assign .at-grade {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--orange);
  background: rgba(220, 120, 60, 0.12);
  padding: 3px 8px;
  border-radius: 999px;
}
.apply-assign .at-name {
  font-weight: 700;
}
.apply-assign .assign-fine {
  font-size: 13px;
  color: rgba(242, 235, 220, 0.65);
  margin: 0;
}

/* ============================================================
   APPLY · 산출물 제출 방법 안내
   ============================================================ */
.submit-info {
  max-width: 720px;
  margin: 28px auto 0;
  background: var(--paper);
  color: var(--ink);
  border-radius: 18px;
  padding: 26px 26px 22px;
  text-align: left;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.10);
}
.submit-info .submit-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1.5px dashed var(--ink-12);
}
.submit-info .submit-head i { color: var(--orange); }
.submit-info .submit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.submit-info .sm-card {
  padding: 16px 18px;
  background: #fff;
  border: 1.5px solid var(--ink-12);
  border-radius: 12px;
}
.submit-info .sm-card-mail {
  border-color: var(--orange);
  background: linear-gradient(135deg, #fff 0%, rgba(220, 120, 60, 0.06) 100%);
}
.submit-info .sm-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: var(--ink);
  color: var(--paper);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.submit-info .sm-card-mail .sm-tag {
  background: var(--orange);
}
.submit-info .sm-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.submit-info .sm-desc {
  font-size: 13.5px;
  color: var(--ink-60);
  line-height: 1.65;
  margin-bottom: 10px;
}
.submit-info .sm-mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--orange);
  color: var(--paper);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.submit-info .sm-mail:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(220, 120, 60, 0.35);
}
.submit-info .submit-fine {
  font-size: 12.5px;
  color: var(--ink-60);
  margin: 14px 0 0;
  line-height: 1.6;
}
.submit-info .submit-fine b { color: var(--ink); font-weight: 700; }

@media (max-width: 640px) {
  .apply-assign { flex-direction: column; gap: 14px; padding: 18px 18px; }
  .apply-assign .assign-icon { width: 40px; height: 40px; font-size: 17px; }
  .submit-info { padding: 22px 18px 18px; }
  .submit-info .submit-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   MODAL · 성공 화면 - 담당 배정 + 제출 안내 보강
   ============================================================ */
.modal-success .success-assigned {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(27, 59, 143, 0.08);
  border: 1.5px solid var(--navy);
  color: var(--navy);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
}
.modal-success .success-assigned i { color: var(--orange); }
.modal-success .success-assigned b { color: var(--navy); font-weight: 800; }
.modal-success .success-submit {
  background: rgba(220, 120, 60, 0.07);
  border: 1px dashed var(--orange);
  border-radius: 12px;
  padding: 16px 18px;
  text-align: left;
  margin: 0 auto 22px;
  max-width: 420px;
}
.modal-success .success-submit .ss-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.modal-success .success-submit .ss-title i { color: var(--orange); }
.modal-success .success-submit ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.modal-success .success-submit li {
  font-size: 13px;
  color: var(--ink-60);
  line-height: 1.6;
  padding-left: 14px;
  position: relative;
}
.modal-success .success-submit li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--orange);
}
.modal-success .success-submit li b { color: var(--ink); font-weight: 700; }
.modal-success .success-submit a {
  color: var(--navy);
  font-family: var(--font-mono);
  font-weight: 700;
  border-bottom: 1.5px solid var(--navy);
}

/* ============================================================
   FOOTER · 제출 안내 라인
   ============================================================ */
.footer-bot .footer-submit {
  color: var(--paper);
  margin-bottom: 8px;
}
.footer-bot .footer-submit b { color: var(--orange); margin-right: 4px; }
.footer-bot .footer-submit a {
  color: var(--paper);
  border-bottom: 1px solid var(--orange);
  font-family: var(--font-mono);
  margin-left: 4px;
  padding-bottom: 1px;
}
.footer-bot .footer-submit a:hover { color: var(--orange); }
