/* ============================================================
   서울로봇고등학교 로봇소프트웨어과
   색상은 학교 로고(파랑 · 노랑 · 빨강)를 기준으로 구성했다.
   ------------------------------------------------------------
   1. Tokens
   2. Base / a11y
   3. Header · Navigation
   4. Buttons
   5. Layout primitives
   6. Home hero · console · marquee
   7. Page hero
   8. Content components
   9. Pager · Footer · To-top
  10. Reveal
  11. Responsive
  12. Reduced motion
   ============================================================ */

/* ── 1. Tokens ──────────────────────────────────────────── */
:root {
  /* 학교 로고 파랑을 축으로 한 다크 네이비 계열 */
  --ink-1000: #050b14;
  --ink-950:  #08111e;
  --ink-900:  #0d1927;
  --ink-850:  #122234;
  --ink-800:  #182c42;

  --paper:   #f4f6f9;
  --paper-2: #ffffff;
  --paper-3: #e9edf2;

  /* 본문 색 — 대비를 넉넉히 잡아 작은 글씨도 읽히게 한다 */
  --fg:       #eaf1f8;
  --fg-mut:   #b2c4d5;
  --fg-faint: #8da2b7;

  --ink-fg:     #0b1420;
  --ink-fg-mut: #4c5b6a;

  /* 로고 팔레트 */
  --accent:      #4d9ae6;  /* 어두운 배경용 파랑 */
  --accent-soft: #8bc0f2;
  --accent-deep: #1258a8;  /* 밝은 배경용 파랑 */
  --accent-ink:  #04182e;
  --highlight:   #f7c325;  /* 로고 노랑 — 포인트로만 */
  --alert:       #d02730;  /* 로고 빨강 — 아주 드물게 */

  --line:   rgba(255, 255, 255, .10);
  --line-2: rgba(255, 255, 255, .19);
  --line-3: rgba(255, 255, 255, .32);
  --line-d:   #dde3ea;
  --line-d-2: #c6d0da;

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-full: 999px;

  --shell: 1200px;
  --header: 74px;

  --font: Pretendard Variable, Pretendard, "Noto Sans KR", "Malgun Gothic",
          system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Consolas,
          "Liberation Mono", monospace;

  --ease: cubic-bezier(.22, .68, .18, 1);
  --focus: var(--accent);
}

/* ── 2. Base / a11y ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink-950);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}
body.nav-open { overflow: hidden; }

h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.03em; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
mark { background: none; color: var(--accent-deep); font-weight: 700; }
strong { font-weight: 700; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 3px;
}
.section-paper :focus-visible { --focus: var(--accent-deep); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 16px; top: 12px;
  z-index: 300;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform .18s var(--ease);
}
.skip-link:focus-visible { transform: none; }

#main { outline: none; }

/* ── 3. Header · Navigation ─────────────────────────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  border-bottom: 1px solid transparent;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.site-header.is-scrolled,
.site-header.is-nav-open {
  background: rgba(8, 17, 30, .88);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--line);
}

.header-inner {
  height: var(--header);
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  padding: 3px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}

.brand-code-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(91, 166, 255, .38);
  border-radius: 10px;
  background: rgba(77, 154, 230, .10);
  color: #7db8ff;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.08em;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02), 0 4px 14px rgba(0,0,0,.12);
}
.brand-mark {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-3);
  border-radius: 9px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(77, 154, 230, .1);
}
.brand-text { display: flex; flex-direction: column; gap: 3px; }
.brand-text strong {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.brand-text small {
  font-size: 12px;
  line-height: 1.2;
  color: var(--fg-faint);
}

.site-nav { display: flex; align-items: center; gap: 24px; }
.nav-list { display: flex; align-items: center; gap: clamp(12px, 1.5vw, 22px); }
.nav-list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 0;
  color: var(--fg-mut);
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: color .18s var(--ease);
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s var(--ease);
}
.nav-list a:hover,
.nav-list a.active { color: #fff; }
.nav-list a:hover::after,
.nav-list a.active::after { transform: scaleX(1); }
.nav-idx { display: none; }
.site-nav .nav-cta { display: none; }

/* 재학생 리뷰 내비게이션 강조 — 단일 정의 */
.nav-list a.featured {
  padding: 7px 14px;
  border: 1px solid rgba(229, 183, 39, .16);
  border-radius: var(--r-full);
  background: rgba(229, 183, 39, .075);
  color: #e6c661;
  font-weight: 600;
}
.nav-list a.featured::after { display: none; }
.nav-list a.featured:hover,
.nav-list a.featured.active {
  border-color: rgba(229, 183, 39, .26);
  background: rgba(229, 183, 39, .11);
  color: #f0d777;
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
  position: relative;
}
.nav-toggle-bars { position: absolute; inset: 0; display: block; }
.nav-toggle-bars i {
  position: absolute;
  left: 12px;
  width: 19px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .22s var(--ease), top .22s var(--ease);
}
.nav-toggle-bars i:first-child { top: 17px; }
.nav-toggle-bars i:last-child  { top: 24px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:first-child { top: 20.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:last-child  { top: 20.5px; transform: rotate(-45deg); }

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(5, 11, 20, .62);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity .24s var(--ease);
}
.nav-scrim.is-shown { opacity: 1; }
.nav-scrim[hidden] { display: none; }

.scroll-progress { height: 2px; background: transparent; }
.scroll-progress > span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent) 70%, var(--highlight));
  transition: width .1s linear;
}

/* ── 4. Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--r-full);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s var(--ease), border-color .18s var(--ease),
              color .18s var(--ease), transform .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }

.btn-primary { background: var(--accent); color: #04182e; }
.btn-primary:hover { background: var(--accent-soft); }
.section-paper .btn-primary { background: var(--accent-deep); color: #fff; }
.section-paper .btn-primary:hover { background: #0f4c92; }

.btn-ghost {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, .03);
  color: var(--fg);
}
.btn-ghost:hover { border-color: var(--line-3); background: rgba(255, 255, 255, .06); }
.section-paper .btn-ghost {
  border-color: var(--line-d-2);
  background: transparent;
  color: var(--ink-fg);
}
.section-paper .btn-ghost:hover { border-color: var(--ink-fg); background: rgba(0, 0, 0, .03); }

.btn-arrow, .btn-ext { font-style: normal; transition: transform .18s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn:hover .btn-ext { transform: translate(2px, -2px); }

.actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── 5. Layout primitives ───────────────────────────────── */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; }

.section { padding: clamp(72px, 9vw, 130px) clamp(20px, 5vw, 48px); }

/* 학과 소개 · 교육과정 · 자율 동아리 · 프로젝트 · 재학생 리뷰 · 선생님 후기 · 면접 · 학과 자랑 8개 탭:
   섹션 위아래 여백을 줄여서 스크롤할 내용이 더 있다는 것을 바로 인지할 수 있게 함 */
body[data-page="about"] .section,
body[data-page="curriculum"] .section,
body[data-page="clubs"] .section,
body[data-page="projects"] .section,
body[data-page="reviews"] .section,
body[data-page="teacher-reviews"] .section,
body[data-page="interview"] .section,
body[data-page="pride"] .section {
  padding: clamp(48px, 6vw, 88px) clamp(20px, 5vw, 48px);
}
body[data-page="about"] .page-hero,
body[data-page="curriculum"] .page-hero,
body[data-page="clubs"] .page-hero,
body[data-page="projects"] .page-hero,
body[data-page="reviews"] .page-hero,
body[data-page="teacher-reviews"] .page-hero,
body[data-page="interview"] .page-hero,
body[data-page="pride"] .page-hero {
  padding-top: calc(var(--header) + clamp(36px, 5vw, 64px));
  padding-bottom: clamp(32px, 4vw, 52px);
}
.section-ink   { background: var(--ink-950); color: var(--fg); }
.section-paper { background: var(--paper);   color: var(--ink-fg); }

/* 학과 소개 · 교육과정 · 선생님 후기 · 면접 탭: 두 번째(중간) 네이비 섹션만 더 연하게
   (기본 네이비 --ink-950과 같은 색상/채도를 유지한 밝기만 다른 톤이라 팔레트와 자연스럽게 어울림) */
body[data-page="about"] .section-ink,
body[data-page="curriculum"] .section-ink,
body[data-page="teacher-reviews"] .section-ink,
body[data-page="interview"] .section-ink {
  background: #142b4d;
}

.section-head { max-width: 900px; margin-bottom: clamp(44px, 6vw, 76px); }
.section-head-row {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.16;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.section-sub {
  margin-top: 18px;
  max-width: 60ch;
  color: var(--fg-mut);
  font-size: 16.5px;
  line-height: 1.8;
}
.section-paper .section-sub { color: var(--ink-fg-mut); }
.section-head-row .section-sub { margin-top: 0; padding-bottom: 6px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.section-paper .eyebrow { color: var(--accent-deep); }
/* 첫 페이지 히어로: 아래 제목 크기에 맞춰 eyebrow를 더 크게 */
.hero .eyebrow { font-size: 18px; letter-spacing: .1em; }

.note {
  margin-top: clamp(28px, 4vw, 44px);
  padding-left: 14px;
  border-left: 2px solid var(--line-2);
  color: var(--fg-faint);
  font-size: 14px;
  line-height: 1.75;
}
.section-paper .note { border-left-color: var(--line-d-2); color: var(--ink-fg-mut); }

.accent { color: var(--accent); }
/* 요청 지점만 강조하는 전용 주황 하이라이트 (기존 --accent 등 다른 색상 변수는 건드리지 않음) */
.hl-orange { color: #f2994a; font-weight: 700; }
.section-paper .hl-orange,
.hl-orange-deep { color: #c2410c; }
@media (max-width: 720px) { .wide-only { display: none; } }

.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--highlight);
  box-shadow: 0 0 0 0 rgba(247, 195, 37, .5);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 9px rgba(247, 195, 37, 0); }
  100% { box-shadow: 0 0 0 0 rgba(247, 195, 37, 0); }
}

/* ── 6. Home hero ───────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header) + clamp(28px, 3.4vw, 48px)) clamp(20px, 5vw, 48px) clamp(32px, 4vw, 56px);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 25%, transparent 78%);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 25%, transparent 78%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); }
.hero-glow-a {
  width: 640px; height: 640px;
  top: -230px; right: -170px;
  background: radial-gradient(circle, rgba(77, 154, 230, .22), transparent 68%);
}
.hero-glow-b {
  width: 520px; height: 520px;
  bottom: -260px; left: -140px;
  background: radial-gradient(circle, rgba(247, 195, 37, .09), transparent 68%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.hero-copy { max-width: 660px; }
.hero-title {
  margin: 0;
  font-size: clamp(38px, 6.2vw, 74px);
  line-height: 1.08;
  letter-spacing: -.05em;
}
.hero-title span { display: block; }
.hero-title .accent { margin-top: 8px; }
.hero-lead {
  margin-top: 26px;
  max-width: 54ch;
  color: var(--fg-mut);
  font-size: clamp(16px, 1.15vw, 18.5px);
  line-height: 1.9;
}
.hero .actions { margin-top: 34px; }

.hero-stats {
  position: relative;
  z-index: 2;
  margin-top: clamp(48px, 7vw, 88px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.hero-stats li { display: flex; flex-direction: column; gap: 6px; }
.hero-stats strong { font-size: clamp(17px, 1.5vw, 21px); letter-spacing: -.02em; }
.hero-stats span { color: var(--fg-faint); font-size: 13.5px; }

/* Console */
.hero-visual { display: flex; justify-content: flex-end; }
.console {
  width: min(100%, 480px);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, rgba(24, 44, 66, .92), rgba(10, 20, 33, .94));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .42);
  overflow: hidden;
}
.console-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .025);
}
.console-dots { display: flex; gap: 6px; }
.console-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-3); }
.console-dots i:first-child { background: var(--alert); opacity: .75; }
.console-dots i:nth-child(2) { background: var(--highlight); opacity: .7; }
.console-name {
  margin-right: auto;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--fg-faint);
}
.console-badge {
  padding: 4px 10px;
  border-radius: var(--r-full);
  background: rgba(77, 154, 230, .16);
  color: var(--accent-soft);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
}
.console-body { padding: 26px 22px 20px; }
.console-heading strong {
  display: block;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1;
  letter-spacing: -.055em;
}
.modules { margin-top: 24px; display: grid; gap: 2px; }
.modules li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  grid-template-areas: "id name desc" "bar bar bar";
  align-items: center;
  gap: 4px 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.mod-id   { grid-area: id;   font-family: var(--mono); font-size: 12px; color: var(--fg-faint); }
.mod-name { grid-area: name; font-size: 15px; font-weight: 600; }
.mod-desc { grid-area: desc; font-size: 12.5px; color: var(--fg-faint); }
.mod-bar  {
  grid-area: bar;
  height: 3px;
  margin-top: 7px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}
.mod-bar i {
  display: block;
  height: 100%;
  width: var(--v, 70%);
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  transform-origin: left;
  animation: barIn 1.1s var(--ease) both;
}
@keyframes barIn { from { transform: scaleX(0); } }
.console-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--fg-faint);
}
.console-pulse {
  width: 34px; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--accent));
  animation: sweep 2.4s var(--ease) infinite;
}
@keyframes sweep { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

/* Marquee */
.marquee {
  overflow: hidden;
  padding: 17px 0;
  border-block: 1px solid var(--line);
  background: var(--ink-900);
}
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: 26px; padding-right: 26px; }
.marquee-group span {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--fg-faint);
  white-space: nowrap;
}
.marquee-group i { font-style: normal; font-size: 8px; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── 7. Page hero (하위 페이지) ─────────────────────────── */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink-950);
  padding: calc(var(--header) + clamp(52px, 7vw, 92px)) clamp(20px, 5vw, 48px) clamp(52px, 6vw, 84px);
  border-bottom: 1px solid var(--line);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 120% at 82% -10%, rgba(77, 154, 230, .2), transparent 62%),
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: linear-gradient(to bottom, #000 20%, transparent 96%);
  mask-image: linear-gradient(to bottom, #000 20%, transparent 96%);
}
.page-hero-inner { position: relative; z-index: 2; }
.page-hero h1 {
  margin: 0;
  font-size: clamp(34px, 5.4vw, 62px);
  line-height: 1.14;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.page-lead {
  margin-top: 22px;
  max-width: 56ch;
  color: var(--fg-mut);
  font-size: clamp(16px, 1.1vw, 18px);
  line-height: 1.85;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.page-hero .actions { margin-top: 30px; }

.crumb { color: var(--fg-faint); transition: color .18s var(--ease); }
.crumb:hover { color: var(--accent); }
.crumb-sep { color: var(--line-3); }

/* 재학생 리뷰 히어로 */
.page-hero-feature .page-hero-bg {
  background:
    radial-gradient(70% 120% at 78% -10%, rgba(247, 195, 37, .16), transparent 60%),
    radial-gradient(60% 100% at 15% 110%, rgba(77, 154, 230, .2), transparent 62%),
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px) 0 0 / 64px 64px;
}
.page-hero-feature .eyebrow { color: var(--highlight); }

/* 홈 - 재학생 리뷰 스포트라이트 */
.review-spotlight { background: var(--ink-900); }
.spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.spotlight-copy .eyebrow { color: var(--highlight); }
.spotlight-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.14;
  letter-spacing: -.045em;
}
.spotlight-lead {
  margin-top: 20px;
  max-width: 52ch;
  color: var(--fg-mut);
  font-size: 16.5px;
  line-height: 1.85;
}
.spotlight-list { display: grid; gap: 2px; margin: 30px 0; }
.spotlight-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.spot-no { font-family: var(--mono); font-size: 12.5px; font-weight: 600; color: var(--highlight); }
.spotlight-list strong { display: block; font-size: 17px; }
.spotlight-list span { display: block; margin-top: 4px; color: var(--fg-faint); font-size: 14.5px; }

.spotlight-card {
  padding: 32px 30px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(247, 195, 37, .07), rgba(13, 25, 39, .6));
}
.spotlight-quote p { font-size: clamp(18px, 1.9vw, 22px); line-height: 1.75; letter-spacing: -.02em; }
.spotlight-quote footer { display: flex; align-items: center; gap: 11px; margin-top: 24px; }
.spotlight-quote cite { font-style: normal; font-size: 14.5px; color: var(--fg-faint); }
.spotlight-more { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.spotlight-more a { font-size: 15px; font-weight: 600; color: var(--highlight); }
.spotlight-more a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* 동아리 전용 히어로 */
.page-hero-club .page-hero-inner { display: flex; flex-direction: column; align-items: flex-start; }
.club-logo-lg {
  height: 88px;
  width: auto;
  margin-bottom: 26px;
  padding: 12px 16px;
  border-radius: var(--r);
  background: #fff;
  object-fit: contain;
}
.club-logo-fallback {
  display: grid;
  place-items: center;
  width: 88px; height: 88px;
  margin-bottom: 26px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: rgba(255, 255, 255, .05);
  font-family: var(--mono);
  font-size: 30px;
  font-weight: 700;
  color: var(--accent);
}
.page-hero-spam .page-hero-bg {
  background:
    radial-gradient(70% 120% at 80% -10%, rgba(77, 154, 230, .26), transparent 60%),
    radial-gradient(50% 90% at 18% 110%, rgba(247, 195, 37, .1), transparent 62%),
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px) 0 0 / 64px 64px;
}
.page-hero-delta .page-hero-bg {
  background:
    radial-gradient(70% 120% at 80% -10%, rgba(247, 195, 37, .14), transparent 60%),
    radial-gradient(50% 90% at 18% 110%, rgba(208, 39, 48, .1), transparent 62%),
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px) 0 0 / 64px 64px;
}
.page-hero h1.club-title {
  font-size: clamp(58px, 12vw, 128px);
  line-height: .94;
  letter-spacing: -.06em;
}
.club-expand {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: clamp(13px, 1.5vw, 15.5px);
  letter-spacing: .08em;
  color: var(--accent-soft);
}
.club-glyph-bg {
  position: absolute;
  right: -10px; bottom: -34px;
  font-family: var(--mono);
  font-size: clamp(120px, 20vw, 250px);
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, .03);
  pointer-events: none;
  user-select: none;
}

/* ── 8. Content components ──────────────────────────────── */

/* 2단 본문 */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(44px, 6vw, 88px);
  align-items: start;
}
.about-copy .lead {
  font-size: clamp(20px, 2.1vw, 28px);
  line-height: 1.6;
  letter-spacing: -.03em;
  font-weight: 600;
}
.about-copy .body {
  margin-top: 22px;
  max-width: 56ch;
  color: var(--ink-fg-mut);
  font-size: 16.5px;
  line-height: 1.9;
}
.section-ink .about-copy .body { color: var(--fg-mut); }

.pillars { border-top: 1px solid var(--line-d); }
.section-ink .pillars { border-top-color: var(--line); }
.pillar {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-d);
}
.section-ink .pillar { border-bottom-color: var(--line); }
.pillar-tag {
  font-family: var(--mono);
  font-size: 21px;
  font-weight: 700;
  color: var(--accent-deep);
}
.section-ink .pillar-tag { color: var(--accent); }
.pillar h3 { margin: 0 0 7px; font-size: 18px; }
.pillar p { color: var(--ink-fg-mut); font-size: 15.5px; line-height: 1.75; }
.section-ink .pillar p { color: var(--fg-mut); }

/* 카드 그리드 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.feature-grid-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.feature {
  padding: 28px 26px 30px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--ink-900);
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.feature:hover { border-color: var(--line-2); background: var(--ink-850); transform: translateY(-3px); }
.feature-no {
  display: inline-block;
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--accent);
}
.feature h3 { margin: 0 0 10px; font-size: 18.5px; }
.feature p { color: var(--fg-mut); font-size: 15.5px; line-height: 1.8; }
.feature-accent { border-color: rgba(77, 154, 230, .34); background: rgba(77, 154, 230, .07); }

.section-paper .feature { background: var(--paper-2); border-color: var(--line-d); }
.section-paper .feature:hover { border-color: var(--line-d-2); }
.section-paper .feature-no { color: var(--accent-deep); }
.section-paper .feature p { color: var(--ink-fg-mut); }

/* 타임라인 */
.track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.track-item { position: relative; display: flex; flex-direction: column; gap: 16px; }
.track-node { display: flex; align-items: center; gap: 12px; }
.track-node::after { content: ""; flex: 1; height: 1px; background: var(--line-d); }
.section-ink .track-node::after { background: var(--line); }
.track-node span {
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--accent-deep);
  background: rgba(18, 88, 168, .08);
  color: var(--accent-deep);
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
}
.section-ink .track-node span {
  border-color: rgba(77, 154, 230, .45);
  background: rgba(77, 154, 230, .1);
  color: var(--accent);
}
.track-card {
  flex: 1;
  padding: 28px 26px 30px;
  border: 1px solid var(--line-d);
  border-radius: var(--r);
  background: var(--paper-2);
}
.section-ink .track-card { border-color: var(--line); background: var(--ink-900); }
.track-year {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--accent-deep);
}
.section-ink .track-year { color: var(--accent); }
.track-card h3 { margin: 10px 0 13px; font-size: 22px; letter-spacing: -.035em; }
.track-desc { color: var(--ink-fg-mut); font-size: 15.5px; line-height: 1.85; }
.section-ink .track-desc { color: var(--fg-mut); }

.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.chips li {
  padding: 7px 13px;
  border: 1px solid var(--line-d);
  border-radius: var(--r-full);
  background: var(--paper);
  font-size: 13.5px;
  color: var(--ink-fg-mut);
}
.section-ink .chips li {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, .04);
  color: var(--fg-mut);
}

/* 동아리 카드 */
.club-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.club {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 480px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  color: var(--fg);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.club:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(0, 0, 0, .26); }
.club-spam  { background: linear-gradient(158deg, #10365c 0%, #0b1725 68%); }
.club-delta { background: linear-gradient(158deg, #3a2a12 0%, #0b1725 68%); }
.club::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .032) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 72%);
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}
.club-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--fg-faint);
}
.club-no { color: var(--accent); }
.club-logo {
  height: 46px; width: auto;
  margin-left: auto;
  padding: 6px 10px;
  border-radius: var(--r-sm);
  background: #fff;
  object-fit: contain;
}
.club-main { position: relative; z-index: 2; margin-top: auto; max-width: 94%; }
.club-kicker {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--accent-soft);
}
.club-name {
  margin: 10px 0 14px;
  font-size: clamp(44px, 5.5vw, 62px);
  line-height: 1;
  letter-spacing: -.055em;
}
.club-desc { color: var(--fg-mut); font-size: 15.5px; line-height: 1.85; }
.club-list { display: grid; gap: 8px; margin-top: 22px; }
.club-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  color: #d3dfea;
}
.club-list li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }
.club-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.club-more, .club-ext {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-full);
  font-size: 14.5px;
  font-weight: 600;
  transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.club-more i, .club-ext i { font-style: normal; transition: transform .18s var(--ease); }
.club-more { background: var(--accent); border-color: var(--accent); color: #04182e; }
.club-more:hover { background: var(--accent-soft); border-color: var(--accent-soft); }
.club-more:hover i { transform: translateX(3px); }
.club-ext { color: var(--fg-mut); }
.club-ext:hover { border-color: var(--line-3); color: #fff; }
.club-ext:hover i { transform: translate(2px, -2px); }
.club-glyph {
  position: absolute;
  right: -10px; top: 44px;
  font-family: var(--mono);
  font-size: 140px;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, .045);
  pointer-events: none;
  user-select: none;
}

/* 비교 */
.compare { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.compare-col {
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--ink-900);
}
.compare-name { margin-bottom: 16px; font-size: 16.5px; font-weight: 700; color: var(--accent); }
.compare-list { display: grid; gap: 11px; }
.compare-list li {
  position: relative;
  padding-left: 20px;
  color: var(--fg-mut);
  font-size: 15.5px;
  line-height: 1.75;
}
.compare-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 11px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* 약어 풀이 */
.section-head-tight { align-items: end; }
.acronym {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.acronym-polished { margin-top: clamp(24px, 3vw, 34px); }
.acronym-item {
  position: relative;
  padding: 24px 24px 26px;
  border: 1px solid var(--line-d);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.56), rgba(255,255,255,.34)),
    var(--paper-2);
  box-shadow: 0 14px 30px rgba(18, 28, 45, .04), inset 0 1px 0 rgba(255,255,255,.34);
  overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.acronym-item::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(36, 98, 180, .82), rgba(87, 156, 236, .42));
  transform: scaleX(.28);
  transform-origin: left;
  transition: transform .22s var(--ease);
}
.acronym-item:hover {
  transform: translateY(-2px);
  border-color: rgba(36, 98, 180, .22);
  box-shadow: 0 18px 36px rgba(18, 28, 45, .08), inset 0 1px 0 rgba(255,255,255,.34);
}
.acronym-item:hover::after { transform: scaleX(1); }
.section-ink .acronym-item { border-color: var(--line); background: var(--ink-900); }
.acronym-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 22px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(36, 98, 180, .08);
  color: var(--accent-deep);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
}
.acronym-letter {
  display: block;
  font-family: var(--mono);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent-deep);
}
.section-ink .acronym-letter { color: var(--accent); }
.acronym-item strong {
  display: block;
  margin: 16px 0 10px;
  font-size: 18px;
  letter-spacing: -.02em;
}
.acronym-item p {
  color: var(--ink-fg-mut);
  font-size: 15px;
  line-height: 1.8;
}
.section-ink .acronym-item p { color: var(--fg-mut); }

.fields { margin-top: clamp(34px, 4vw, 54px); }
.fields-polished {
  padding: clamp(18px, 2vw, 24px);
  border: 1px solid var(--line-d);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.48), rgba(255,255,255,.22));
}
.fields-head {
  display: grid;
  grid-template-columns: minmax(0, .4fr) 1fr;
  gap: 20px;
  align-items: end;
  margin-bottom: 16px;
}
.fields-label {
  margin-bottom: 0;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--ink-fg-mut);
  text-transform: uppercase;
}
.fields-copy {
  margin: 0;
  color: var(--ink-fg-mut);
  font-size: 14.5px;
  line-height: 1.7;
}
.section-ink .fields-label { color: var(--fg-faint); }
.fields-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.fields-list li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 176px;
  padding: 22px 22px 20px;
  border: 1px solid var(--line-d);
  border-radius: 22px;
  background: rgba(255,255,255,.56);
}
.section-ink .fields-list li { border-color: var(--line); background: var(--ink-900); }
.fields-list li.is-main {
  border-color: rgba(36, 98, 180, .66);
  background: linear-gradient(180deg, rgba(36, 98, 180, .06), rgba(87, 156, 236, .03));
}
.section-ink .fields-list li.is-main { border-color: rgba(77, 154, 230, .4); background: rgba(77, 154, 230, .08); }
.field-badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 22px;
  margin-bottom: 6px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(36, 98, 180, .1);
  color: var(--accent-deep);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
}
.field-badge-sub {
  background: rgba(24, 35, 50, .06);
  color: var(--ink-fg);
}
.fields-list strong {
  font-family: var(--mono);
  font-size: 25px;
  line-height: 1;
  letter-spacing: .06em;
}
.fields-list span {
  color: var(--ink-fg);
  font-size: 15px;
  font-weight: 600;
}
.section-ink .fields-list span { color: var(--fg-mut); }
.fields-list p {
  margin: auto 0 0;
  color: var(--ink-fg-mut);
  font-size: 13.5px;
  line-height: 1.7;
}
.section-ink .fields-list p { color: var(--fg-faint); }

/* 인용 */
.quote {
  margin: clamp(32px, 4vw, 48px) 0 0;
  padding: 30px 32px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--highlight);
  border-radius: var(--r);
  background: var(--ink-900);
}
.section-paper .quote { border-color: var(--line-d); border-left-color: var(--highlight); background: var(--paper-2); }
.quote p { font-size: clamp(17px, 1.7vw, 21px); line-height: 1.8; letter-spacing: -.02em; }
.quote footer { margin-top: 16px; }
.quote cite {
  font-family: var(--mono);
  font-size: 13px;
  font-style: normal;
  letter-spacing: .06em;
  color: var(--fg-faint);
}
.section-paper .quote cite { color: var(--ink-fg-mut); }

/* 프로젝트 카드 */
.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.project {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--ink-900);
  overflow: hidden;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.project:hover { border-color: var(--line-2); transform: translateY(-3px); }
.project-wide { grid-column: span 2; }
.project-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--ink-850);
  overflow: hidden;
}
.project-wide .project-media { aspect-ratio: 16 / 8; }
.project-media img { width: 100%; height: 100%; object-fit: cover; }
.project-empty { display: none; }
.project-media.is-empty {
  display: grid;
  place-items: center;
  border-bottom: 1px dashed var(--line-2);
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .02) 0 10px, transparent 10px 20px),
    var(--ink-850);
}
.project-media.is-empty .project-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--fg-faint);
  font-size: 13.5px;
}
.project-empty i {
  position: relative;
  width: 26px; height: 26px;
  opacity: .6;
}
.project-empty i::before, .project-empty i::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
}
.project-empty i::before { left: 0; top: 12px; width: 26px; height: 2px; }
.project-empty i::after  { top: 0; left: 12px; height: 26px; width: 2px; }
.project-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.project-tags li {
  padding: 4px 10px;
  border-radius: var(--r-full);
  background: rgba(77, 154, 230, .14);
  color: var(--accent-soft);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .08em;
}
.project-body h3 { margin: 0 0 9px; font-size: 19px; letter-spacing: -.03em; }
.project-body h3 a:hover { color: var(--accent); }
.project-body > p { color: var(--fg-mut); font-size: 15px; line-height: 1.75; }
.project-link { margin-top: auto; padding-top: 18px; font-size: 14.5px; }
.project-link a { color: var(--accent); font-weight: 600; }
.project-link a:hover { text-decoration: underline; text-underline-offset: 4px; }
.project-link-empty { color: var(--fg-faint); font-size: 13.5px; }

/* 이미지 자리 */
.frames { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.frame { display: flex; flex-direction: column; gap: 12px; }
.frame-lg { grid-column: 1 / -1; }
.frame-slot {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  border: 1px dashed var(--line-2);
  border-radius: var(--r);
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .02) 0 10px, transparent 10px 20px),
    var(--ink-900);
  transition: border-color .2s var(--ease);
}
.frame-lg .frame-slot { aspect-ratio: 21 / 8; }
.frame:hover .frame-slot { border-color: rgba(77, 154, 230, .45); }
.frame-plus { position: relative; width: 28px; height: 28px; opacity: .55; }
.frame-plus::before, .frame-plus::after {
  content: "";
  position: absolute;
  background: var(--fg-faint);
  border-radius: 2px;
}
.frame-plus::before { left: 0; top: 13px; width: 28px; height: 2px; }
.frame-plus::after  { top: 0; left: 13px; height: 28px; width: 2px; }
.frame-meta { display: flex; flex-direction: column; gap: 5px; }
.frame-tag {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--accent);
}
.frame-meta p { color: var(--fg-faint); font-size: 14px; }

/* 단계 */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.step {
  padding: 26px 24px 28px;
  border-top: 2px solid var(--line-d);
  transition: border-color .2s var(--ease);
}
.section-ink .step { border-top-color: var(--line-2); }
.step:hover { border-top-color: var(--accent-deep); }
.section-ink .step:hover { border-top-color: var(--accent); }
.step-no {
  display: inline-block;
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--accent-deep);
}
.section-ink .step-no { color: var(--accent); }
.step h3 { margin: 0 0 9px; font-size: 18.5px; }
.step p { color: var(--ink-fg-mut); font-size: 15.5px; line-height: 1.8; }
.section-ink .step p { color: var(--fg-mut); }

/* 진로 */
.career-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(44px, 6vw, 88px);
  align-items: start;
}
.paths { border-top: 1px solid var(--line-d); }
.path {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-d);
}
.path-no { padding-top: 5px; font-family: var(--mono); font-size: 12.5px; font-weight: 600; color: var(--accent-deep); }
.path h3 { margin: 0 0 6px; font-size: 19px; }
.path p { color: var(--ink-fg-mut); font-size: 15.5px; line-height: 1.75; }

.proof {
  padding: 32px 30px;
  border: 1px solid var(--line-d);
  border-radius: var(--r);
  background: var(--paper-2);
}
.proof-label { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--accent-deep); }
.proof h3 { margin: 12px 0 24px; font-size: 23px; }
.proof-block + .proof-block { margin-top: 22px; }
.proof-block-label { margin-bottom: 11px; font-size: 14px; font-weight: 700; color: var(--ink-fg-mut); }
.proof-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.proof-tags li {
  padding: 9px 13px;
  border: 1px solid var(--line-d);
  border-radius: var(--r-sm);
  background: var(--paper);
  font-size: 14px;
  color: #2f3d49;
}
.proof-note { margin-top: 24px; color: var(--ink-fg-mut); font-size: 13.5px; line-height: 1.7; }

/* 큰 카드 */
.global-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.gcard {
  display: flex;
  flex-direction: column;
  padding: 32px 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--ink-900);
}
.gcard-light { border-color: var(--line-d); background: var(--paper-2); }
.gcard-top {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--fg-faint);
}
.gcard-light .gcard-top { color: var(--ink-fg-mut); }
.gcard-no { color: var(--accent); }
.gcard-light .gcard-no { color: var(--accent-deep); }
.gcard h3 { margin: 30px 0 15px; font-size: clamp(24px, 3vw, 32px); letter-spacing: -.04em; }
.gcard > p { max-width: 52ch; color: var(--fg-mut); font-size: 15.5px; line-height: 1.9; }
.gcard-light > p { color: var(--ink-fg-mut); }

.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 28px; }
.tags li {
  padding: 8px 13px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-full);
  font-size: 13.5px;
  color: var(--fg-mut);
}
.gcard-light .tags li { border-color: var(--line-d); background: var(--paper); color: var(--ink-fg-mut); }

/* 필터 */
.filter { display: none; }
.js .filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.no-enhance .filter { display: none; }
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-d);
  border-radius: var(--r-full);
  background: var(--paper-2);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-fg-mut);
  cursor: pointer;
  transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.filter-btn:hover { border-color: var(--line-d-2); color: var(--ink-fg); }
.filter-btn.is-active { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.filter-count {
  padding: 2px 8px;
  border-radius: var(--r-full);
  background: rgba(0, 0, 0, .07);
  font-family: var(--mono);
  font-size: 12px;
}
.filter-btn.is-active .filter-count { background: rgba(255, 255, 255, .22); }

/* 꿀팁 · 리뷰 카드 */
.tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 14px; }
.tip {
  display: flex;
  flex-direction: column;
  padding: 28px 26px 30px;
  border: 1px solid var(--line-d);
  border-radius: var(--r);
  background: var(--paper-2);
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.tip:hover { border-color: var(--line-d-2); transform: translateY(-3px); box-shadow: 0 14px 34px rgba(11, 20, 32, .08); }
.tip[hidden] { display: none; }
.tip-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.tip-no { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--accent-deep); }
.tip-grade { padding: 5px 12px; border-radius: var(--r-full); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.tip-grade-1   { background: rgba(18, 88, 168, .1);  color: var(--accent-deep); }
.tip-grade-2   { background: rgba(190, 140, 20, .14); color: #8a6208; }
.tip-grade-3   { background: rgba(208, 39, 48, .1);  color: #a81f27; }
.tip-grade-all { background: rgba(11, 20, 32, .07);  color: var(--ink-fg-mut); }
.tip h3 { margin: 0 0 11px; font-size: 19px; line-height: 1.45; letter-spacing: -.025em; }
.tip > p { color: var(--ink-fg-mut); font-size: 15.5px; line-height: 1.85; }
.tip-points {
  display: grid;
  gap: 9px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line-d);
}
.tip-points li { position: relative; padding-left: 18px; font-size: 14.5px; line-height: 1.75; color: #3f4d59; }
.tip-points li::before {
  content: "";
  position: absolute;
  left: 2px; top: 10px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-deep);
}
.filter-empty {
  margin-top: 24px;
  padding: 44px 24px;
  border: 1px dashed var(--line-d-2);
  border-radius: var(--r);
  text-align: center;
  color: var(--ink-fg-mut);
  font-size: 15.5px;
}
.filter-empty[hidden] { display: none; }

/* 재학생 리뷰 */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; }
.review {
  display: flex;
  flex-direction: column;
  padding: 28px 26px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--ink-900);
}
.review-quote { font-size: 17px; line-height: 1.85; }
.review-quote::before { content: "\201C"; color: var(--highlight); font-size: 26px; line-height: 0; vertical-align: -6px; margin-right: 2px; }
.review-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--fg-faint);
}
.review-avatar {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(77, 154, 230, .16);
  color: var(--accent-soft);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
}
.review-placeholder {
  border-style: dashed;
  border-color: var(--line-2);
  background: transparent;
  align-items: flex-start;
  justify-content: center;
  min-height: 190px;
  text-align: left;
}
.review-placeholder p { color: var(--fg-faint); font-size: 15px; line-height: 1.8; }
.review-placeholder .review-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 11px;
  border-radius: var(--r-full);
  background: rgba(247, 195, 37, .14);
  color: var(--highlight);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
}

/* 입학 */
.admission-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 16px;
  align-items: start;
}
.quota {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line-d);
  border-radius: var(--r);
  background: var(--paper-2);
  overflow: hidden;
}
.quota-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  min-height: 154px;
  padding: 26px 24px;
  border-right: 1px solid var(--line-d);
}
.quota-item:last-child { border-right: 0; }
.quota-total {
  grid-column: 1 / -1;
  min-height: 172px;
  border-right: 0;
  border-bottom: 1px solid var(--line-d);
  background: linear-gradient(150deg, rgba(18, 88, 168, .08), transparent 70%);
}
.quota-num {
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.05em;
  color: var(--accent-deep);
  font-variant-numeric: tabular-nums;
}
.quota-total .quota-num { font-size: clamp(52px, 7vw, 84px); }
.quota-label { color: var(--ink-fg-mut); font-size: 14px; }

.schedule {
  padding: 32px 30px;
  border-radius: var(--r);
  background: var(--ink-950);
  color: var(--fg);
}
.schedule-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.schedule-head h3 { margin: 0; font-size: 18.5px; }
.schedule-tz { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--fg-faint); }
.schedule-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.schedule-row dt { color: var(--fg-mut); font-size: 15px; }
.schedule-row dd { font-size: 15px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.schedule-note { margin-top: 22px; color: var(--fg-faint); font-size: 13.5px; line-height: 1.75; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq-item details {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--ink-900);
  transition: border-color .2s var(--ease);
}
.faq-item details[open] { border-color: var(--line-2); }
.faq-item summary {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 22px 24px;
  padding-right: 56px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 26px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--fg-faint);
  border-bottom: 2px solid var(--fg-faint);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .22s var(--ease);
}
.faq-item details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.faq-q { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--highlight); }
.faq-a { padding: 0 24px 24px 56px; }
.faq-a p { color: var(--fg-mut); font-size: 15.5px; line-height: 1.9; }

/* 홈 인덱스 카드 */
.index-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.index-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 26px 32px;
  border: 1px solid var(--line-d);
  border-radius: var(--r);
  background: var(--paper-2);
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.index-card:hover {
  border-color: var(--accent-deep);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(11, 20, 32, .1);
}
.index-card h3 {
  margin: 18px 0 11px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 20px;
  letter-spacing: -.03em;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.index-card p { color: var(--ink-fg-mut); font-size: 15px; line-height: 1.75; word-break: keep-all; overflow-wrap: break-word; }
/* "면접 · 인성가치 기반 학습 역량 검사" 카드: 제목이 길어서 한 줄에 들어오도록 별도로 축소 */
.index-card.index-card-title-sm h3 {
  font-size: clamp(14px, 1.6vw, 17px);
  letter-spacing: -.01em;
}
.index-go { margin-top: 22px; font-size: 18px; color: var(--accent-deep); transition: transform .2s var(--ease); }
.index-card:hover .index-go { transform: translateX(4px); }
.index-badge {
  position: absolute;
  top: 16px; right: 22px;
  padding: 4px 11px;
  border-radius: var(--r-full);
  background: #8a6208;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

/* 외부 사이트 링크 */
.site-link {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: clamp(28px, 4vw, 40px);
  padding: 24px 26px;
  border: 1px solid rgba(77, 154, 230, .34);
  border-radius: var(--r);
  background: linear-gradient(120deg, rgba(77, 154, 230, .1), rgba(247, 195, 37, .05));
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.site-link:hover { border-color: var(--accent); transform: translateY(-3px); }
.site-link-label {
  flex-shrink: 0;
  padding: 6px 12px;
  border-radius: var(--r-full);
  background: rgba(77, 154, 230, .18);
  color: var(--accent-soft);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
}
.site-link-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.site-link-main strong { font-size: 17px; letter-spacing: -.02em; }
.site-link-url { font-family: var(--mono); font-size: 13.5px; color: var(--fg-faint); overflow-wrap: anywhere; }
.site-link-go { margin-left: auto; flex-shrink: 0; font-size: 21px; color: var(--accent); transition: transform .2s var(--ease); }
.site-link:hover .site-link-go { transform: translate(3px, -3px); }

/* 다음 단계 */
.next-cta {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.section-paper .next-cta { border-top-color: var(--line-d); }
.next-cta p { color: var(--fg-mut); font-size: 16px; }
.section-paper .next-cta p { color: var(--ink-fg-mut); }

/* 마무리 */
.closing {
  position: relative;
  overflow: hidden;
  padding: clamp(88px, 10vw, 138px) clamp(20px, 5vw, 48px);
  background: linear-gradient(180deg, #041224 0%, #03101d 100%);
}
.closing::before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 30px;
  pointer-events: none;
}
.closing-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(36% 50% at 16% 18%, rgba(77,154,230,.14), transparent 72%),
    radial-gradient(28% 44% at 86% 84%, rgba(77,154,230,.08), transparent 80%),
    linear-gradient(90deg, rgba(77,154,230,.04) 0, transparent 18%, transparent 82%, rgba(77,154,230,.04) 100%);
}
.closing-shell {
  position: relative;
  z-index: 2;
  max-width: 1180px;
}
.closing-top {
  display: grid;
  grid-template-columns: minmax(280px, 350px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
.closing-brand {
  display: grid;
  gap: 18px;
  align-items: start;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015));
  box-shadow: 0 20px 54px rgba(0,0,0,.18);
}
.closing-logo {
  width: 138px;
  height: 138px;
  border-radius: 24px;
}
.closing-brand-copy {
  display: grid;
  gap: 8px;
}
.closing-brand .eyebrow {
  justify-content: flex-start;
  margin: 0;
}
.closing-brand strong {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.22;
  letter-spacing: -.03em;
}
.closing-brand span {
  color: var(--fg-faint);
  font-size: 14px;
  line-height: 1.7;
}
.closing-copy { max-width: 720px; }
.closing h2 {
  margin: 0;
  max-width: 9ch;
  font-size: clamp(46px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -.06em;
}
.closing-sub {
  margin-top: 22px;
  max-width: 56ch;
  color: var(--fg-mut);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.85;
}
.closing-actions { justify-content: flex-start; margin-top: 30px; }
.closing-roadmap-grid {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.roadmap-grid-card {
  padding: 22px 22px 20px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(17,30,46,.92), rgba(10,19,32,.94));
  box-shadow: 0 16px 42px rgba(0,0,0,.18);
}
.roadmap-grid-current {
  border-color: rgba(77,154,230,.32);
  background: linear-gradient(180deg, rgba(24,44,66,.96), rgba(10,20,33,.96));
}
.roadmap-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 24px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(77,154,230,.12);
  color: var(--accent-soft);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
}
.roadmap-grid-card h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -.03em;
}
.roadmap-grid-card p {
  margin: 10px 0 0;
  color: var(--fg-faint);
  font-size: 14px;
  line-height: 1.7;
}

/* ── 9. Pager · Footer · To-top ─────────────────────────── */
.pager {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}
.pager-link {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: clamp(28px, 4vw, 44px) clamp(20px, 4vw, 44px);
  background: var(--ink-950);
  transition: background .2s var(--ease);
}
.pager-link:hover { background: var(--ink-900); }
.pager-next { align-items: flex-end; text-align: right; }
.pager-empty { background: var(--ink-950); }
.pager-dir {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .1em;
  color: var(--fg-faint);
}
.pager-next .pager-dir { flex-direction: row-reverse; }
.pager-dir i { font-style: normal; transition: transform .2s var(--ease); }
.pager-prev:hover .pager-dir i { transform: translateX(-4px); }
.pager-next:hover .pager-dir i { transform: translateX(4px); }
.pager-title { font-size: clamp(19px, 2.4vw, 26px); font-weight: 700; letter-spacing: -.035em; }

.site-footer {
  padding: clamp(48px, 6vw, 76px) clamp(20px, 5vw, 48px) clamp(28px, 3vw, 36px);
  border-top: 1px solid var(--line);
  background: var(--ink-1000);
  color: var(--fg-faint);
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.footer-brand { display: flex; align-items: center; gap: 16px; }
.school-logo {
  width: auto;
  height: 66px;
  flex-shrink: 0;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  background: #fff;
  object-fit: contain;
}
.brand-mark-lg { width: 60px; height: 60px; font-size: 19px; border-radius: 12px; }
.footer-brand strong { display: block; color: var(--fg); font-size: 16.5px; }
.footer-brand p { margin-top: 5px; font-size: 13.5px; }

.footer-address {
  margin-top: 22px;
  font-style: normal;
  font-size: 14.5px;
  line-height: 1.85;
}
.footer-address a { color: var(--fg-mut); }
.footer-address a:hover { color: var(--accent); }

.footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-full);
  color: var(--fg-mut);
  font-size: 14px;
  font-weight: 500;
  transition: border-color .18s var(--ease), color .18s var(--ease), background .18s var(--ease);
}
.footer-social a:hover { border-color: var(--accent); background: rgba(77, 154, 230, .1); color: #fff; }
.social-ico { font-size: 13px; line-height: 1; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
}
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col h2 {
  margin: 0 0 4px;
  color: var(--fg);
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .12em;
}
.footer-col a { font-size: 14.5px; transition: color .18s var(--ease); }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  margin-top: clamp(36px, 4vw, 52px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.footer-credit { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.credit-label {
  padding: 4px 10px;
  border-radius: var(--r-full);
  background: rgba(77, 154, 230, .14);
  color: var(--accent-soft);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
}
.credit-names { color: var(--fg-mut); font-size: 14px; font-weight: 600; letter-spacing: .01em; }
.footer-disclaimer { font-size: 13px; line-height: 1.7; }
.footer-disclaimer a { color: var(--fg-mut); text-decoration: underline; text-underline-offset: 3px; }
.footer-disclaimer a:hover { color: var(--accent); }

.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 30px);
  bottom: clamp(16px, 3vw, 30px);
  z-index: 120;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: rgba(13, 25, 39, .9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--fg);
  font-size: 17px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .22s var(--ease), transform .22s var(--ease),
              background .18s var(--ease), border-color .18s var(--ease);
}
.to-top[hidden] { display: none; }
.to-top.is-shown { opacity: 1; transform: none; }
.to-top:hover { background: var(--accent); border-color: var(--accent); color: #04182e; }

/* ── 10. Reveal ─────────────────────────────────────────── */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
/* script.js 로드 실패 시 본문이 사라지지 않도록 되돌린다 (반드시 위 규칙 뒤) */
.no-enhance .reveal { opacity: 1; transform: none; transition: none; }

/* ── 11. Responsive ─────────────────────────────────────── */
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .site-nav .nav-cta { display: inline-flex; }

  .site-nav {
    position: fixed;
    inset: var(--header) 0 auto;
    z-index: 160;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100svh - var(--header));
    overflow-y: auto;
    padding: 12px clamp(20px, 5vw, 40px) 30px;
    background: rgba(8, 17, 30, .98);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-101%);
    visibility: hidden;
    transition: transform .28s var(--ease), visibility 0s linear .28s;
  }
  .site-nav.is-open { transform: none; visibility: visible; transition: transform .28s var(--ease), visibility 0s; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a {
    justify-content: flex-start;
    gap: 14px;
    padding: 17px 2px;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
  }
  .nav-list a::after { display: none; }
  .nav-list a.active { color: var(--accent); }
  .nav-idx { display: inline-block; min-width: 24px; font-family: var(--mono); font-size: 12.5px; color: var(--fg-faint); }
  .nav-cta { margin-top: 22px; align-self: flex-start; }

  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { justify-content: flex-start; }
  .console { width: min(100%, 560px); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }

  .section-head-row { grid-template-columns: 1fr; align-items: start; }
  .section-head-row .section-sub { padding-bottom: 0; }
  .about-layout, .career-layout { grid-template-columns: 1fr; }
  .track { grid-template-columns: 1fr; gap: 22px; }
  .club-grid, .global-grid, .compare, .admission-layout { grid-template-columns: 1fr; }
  .frames { grid-template-columns: repeat(2, 1fr); }
  .frame-lg { grid-column: 1 / -1; }
  .spotlight { grid-template-columns: 1fr; }
  .projects { grid-template-columns: repeat(2, 1fr); }
  .project-wide { grid-column: 1 / -1; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --header: 66px; }

  .brand-text small { display: none; }
  .brand-logo { width: 36px; height: 36px; flex-basis: 36px; }
  .section { padding: 68px 20px; }
  .hero-stats { grid-template-columns: 1fr; gap: 18px; }
  .hero-stats li { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 16px; }
  .quota { grid-template-columns: 1fr; }
  .quota-item { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line-d); }
  .quota-item:last-child { border-bottom: 0; }
  .quota-total { min-height: 0; }
  .frames { grid-template-columns: 1fr; }
  .frame-lg .frame-slot { aspect-ratio: 16 / 9; }
  .club { min-height: 0; padding: 26px 22px; }
  .club-main { max-width: 100%; margin-top: 44px; }
  .club-glyph { font-size: 110px; top: 26px; }
  .club-logo { height: 38px; }
  .schedule-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .schedule-row dd { text-align: left; }
  .pager { grid-template-columns: 1fr; }
  .pager-next { align-items: flex-start; text-align: left; }
  .pager-next .pager-dir { flex-direction: row; }
  .pager-empty { display: none; }
  .next-cta { flex-direction: column; align-items: flex-start; }
  .site-link { flex-wrap: wrap; gap: 12px; }
  .site-link-go { margin-left: 0; }
  .faq-a { padding-left: 24px; }
  .actions { width: 100%; }
  .actions .btn { flex: 1 1 auto; }
  .club-logo-lg, .club-logo-fallback { height: 68px; width: auto; }
  .club-logo-fallback { width: 68px; font-size: 24px; }
  .projects { grid-template-columns: 1fr; }
  .project-wide .project-media { aspect-ratio: 16 / 10; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .spotlight-card { padding: 26px 22px; }
  .index-badge { top: 13px; right: 18px; }
}

@media (max-width: 420px) {
  .modules li { grid-template-columns: 26px 1fr; grid-template-areas: "id name" "id desc" "bar bar"; }
  .mod-desc { justify-self: start; }
  .club-glyph-bg { display: none; }
}

/* ── 12. Reduced motion ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
  .btn:hover, .club:hover, .feature:hover, .tip:hover, .index-card:hover,
  .site-link:hover, .to-top { transform: none; }
}


/* Minimal footer: MADE BY only */
.site-footer-minimal {
  padding: 22px clamp(20px, 5vw, 48px);
}
.site-footer-minimal .footer-bottom {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  justify-content: flex-start;
}


/* ── Home hero: rotating language / tool tabs ───────────────── */
.logo-console {
  width: min(100%, 520px);
  border: 1px solid var(--line-2);
  border-radius: clamp(22px, 3vw, 28px);
  background: linear-gradient(180deg, rgba(20, 37, 58, .94), rgba(9, 18, 30, .98));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, .44);
  overflow: hidden;
}
.logo-console-bar,
.logo-console-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
}
.logo-console-bar {
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.025);
}
.logo-console-dots { display: flex; gap: 6px; }
.logo-console-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-3); }
.logo-console-dots i:first-child { background: var(--alert); opacity: .75; }
.logo-console-dots i:nth-child(2) { background: var(--highlight); opacity: .72; }
.logo-console-name,
.logo-console-foot,
.logo-kind,
.logo-console-eyebrow,
.logo-rotation-state {
  font-family: var(--mono);
}
.logo-console-name {
  margin-right: auto;
  font-size: 12px;
  color: var(--fg-faint);
}
.logo-console-badge {
  padding: 4px 10px;
  border-radius: var(--r-full);
  background: rgba(77, 154, 230, .16);
  color: var(--accent-soft);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}
.logo-console-body { padding: 22px; }
.logo-console-headline h2 {
  margin: 10px 0 0;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.08;
  letter-spacing: -.05em;
}
.logo-console-eyebrow {
  margin: 0;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
.logo-stage {
  margin-top: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(220px, .92fr);
  gap: 16px;
  align-items: stretch;
}
.logo-panels {
  position: relative;
  min-height: 360px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 24px;
  background:
    radial-gradient(circle at top, rgba(77,154,230,.14), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  overflow: hidden;
}
.logo-panels::before {
  content: '';
  position: absolute;
  inset: 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.06);
  pointer-events: none;
}
.logo-panel {
  position: absolute;
  inset: 0;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .32s var(--ease), transform .32s var(--ease);
}
.logo-panel.is-active {
  opacity: 1;
  transform: translateY(0);
}
.logo-mark {
  width: 116px;
  height: 116px;
  margin-bottom: auto;
  display: grid;
  place-items: center;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.08);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.04em;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 48px rgba(0,0,0,.24);
}
.logo-mark span { transform: translateY(-1px); }
.logo-mark-python { background: linear-gradient(135deg, rgba(44,114,186,.95), rgba(248,200,60,.86)); }
.logo-mark-c { background: linear-gradient(135deg, rgba(0,105,179,.96), rgba(87, 167, 226, .82)); }
.logo-mark-web { background: linear-gradient(135deg, rgba(16,126,217,.95), rgba(0,212,255,.7)); }
.logo-mark-arduino { background: linear-gradient(135deg, rgba(0,157,165,.95), rgba(57, 217, 189, .72)); }
.logo-mark-vscode { background: linear-gradient(135deg, rgba(0,122,204,.96), rgba(87,170,255,.82)); }
.logo-mark-figma { background: linear-gradient(135deg, rgba(242,78,30,.94), rgba(162,89,255,.82)); }
.logo-kind {
  margin: 18px 0 8px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
.logo-panel h3 {
  margin: 0;
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: -.03em;
}
.logo-panel p:last-of-type {
  margin: 12px 0 0;
  color: var(--fg-mut);
  line-height: 1.7;
  font-size: 14.5px;
}
.logo-tags {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.logo-tags li {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  color: var(--fg-soft);
  font-size: 12px;
}
.logo-tabs {
  display: grid;
  gap: 10px;
}
.logo-tab {
  width: 100%;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  text-align: left;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.028);
  color: var(--fg-soft);
  transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.logo-tab:hover,
.logo-tab:focus-visible {
  border-color: rgba(77,154,230,.38);
  background: rgba(77,154,230,.08);
  transform: translateY(-1px);
}
.logo-tab.is-active {
  border-color: rgba(77,154,230,.5);
  background: linear-gradient(180deg, rgba(77,154,230,.16), rgba(77,154,230,.08));
  box-shadow: 0 10px 24px rgba(0,0,0,.16);
}
.logo-tab-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}
.logo-tab-copy { display: grid; gap: 3px; }
.logo-tab-copy strong { font-size: 14px; letter-spacing: -.02em; }
.logo-tab-copy small { color: var(--fg-faint); font-size: 11.5px; }
.logo-console-foot {
  justify-content: space-between;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--fg-faint);
}
.logo-rotation-state {
  color: var(--accent-soft);
}

@media (max-width: 1024px) {
  .logo-stage { grid-template-columns: 1fr; }
  .logo-panels { min-height: 300px; }
}
@media (max-width: 640px) {
  .logo-console-body { padding: 18px; }
  .logo-panels { min-height: 280px; }
  .logo-panel { padding: 22px 18px 18px; }
  .logo-mark { width: 92px; height: 92px; border-radius: 24px; font-size: 28px; }
  .logo-tab { grid-template-columns: 40px 1fr; padding: 11px 12px; }
  .logo-tab-mark { width: 40px; height: 40px; }
}


/* v4 feedback: actual technology logos */
.tech-logo {
  width: 118px;
  height: 118px;
  object-fit: contain;
  margin-bottom: auto;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.24));
}
.logo-tab-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
  padding: 4px;
  border-radius: 12px;
  background: rgba(255,255,255,.055);
}
@media (max-width: 640px) {
  .tech-logo { width: 92px; height: 92px; }
  .logo-tab-icon { width: 38px; height: 38px; }
}

/* ── v5 mobile polish / overflow hardening ─────────────────── */
html, body { max-width: 100%; overflow-x: hidden; overflow-x: clip; }
.shell, .hero-inner, .page-hero-inner, .section-head-row,
.logo-console, .logo-console-body, .logo-stage, .logo-panels,
.index-grid, .feature-grid, .track, .club-grid, .projects,
.global-grid, .career-layout, .about-layout, .tips, .reviews {
  min-width: 0;
}

@media (max-width: 720px) {
  :root { --header: 64px; }

  body {
    font-size: 16px;
    line-height: 1.68;
  }

  /* iPhone notch / Android cutout 안전영역 */
  .header-inner {
    height: calc(var(--header) + env(safe-area-inset-top, 0px));
    padding-top: env(safe-area-inset-top, 0px);
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    gap: 12px;
  }
  .site-nav {
    inset: calc(var(--header) + env(safe-area-inset-top, 0px)) 0 auto;
    max-height: calc(100dvh - var(--header) - env(safe-area-inset-top, 0px));
    padding-left: max(18px, env(safe-area-inset-left, 0px));
    padding-right: max(18px, env(safe-area-inset-right, 0px));
    padding-bottom: max(26px, env(safe-area-inset-bottom, 0px));
    overscroll-behavior: contain;
  }
  .nav-list a {
    min-height: 52px;
    padding-block: 13px;
    font-size: 16px;
  }
  .nav-cta { width: 100%; }
  .nav-toggle {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }
  .brand { min-width: 0; }
  .brand-text { min-width: 0; }
  .brand-text strong {
    max-width: min(54vw, 230px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13.5px;
  }
  .brand-logo { width: 34px; height: 34px; flex-basis: 34px; padding: 2px; }

  /* 첫 화면: 문구를 먼저, 기술 로테이터는 한 화면 너비에 맞춤 */
  .hero {
    padding:
      calc(var(--header) + env(safe-area-inset-top, 0px) + 38px)
      18px
      44px;
  }
  .hero-grid { background-size: 44px 44px; }
  .hero-glow-a { width: 390px; height: 390px; right: -180px; top: -120px; }
  .hero-glow-b { width: 320px; height: 320px; left: -170px; bottom: -150px; }
  .hero-inner { gap: 34px; }
  .hero-copy { max-width: none; }
  .hero .eyebrow {
    margin-bottom: 14px;
    font-size: 11px;
    letter-spacing: .09em;
    line-height: 1.5;
  }
  .hero-title {
    font-size: clamp(38px, 11.4vw, 52px);
    line-height: 1.07;
    letter-spacing: -.055em;
    text-wrap: pretty;
  }
  .hero-title .accent { margin-top: 5px; }
  .hero-lead {
    margin-top: 20px;
    max-width: 100%;
    font-size: 15.5px;
    line-height: 1.78;
  }
  .hero .actions { margin-top: 26px; gap: 9px; }
  .hero-visual { width: 100%; justify-content: stretch; }
  .logo-console { width: 100%; border-radius: 20px; }
  .logo-console-bar { padding: 12px 14px; }
  .logo-console-name { font-size: 10.5px; }
  .logo-console-badge { padding: 3px 8px; font-size: 9.5px; }
  .logo-console-body { padding: 16px; }
  .logo-console-headline h2 {
    margin-top: 7px;
    font-size: clamp(26px, 8vw, 34px);
  }
  .logo-console-eyebrow { font-size: 10px; letter-spacing: .12em; }
  .logo-stage { margin-top: 15px; gap: 12px; }
  .logo-panels { min-height: 246px; border-radius: 18px; }
  .logo-panels::before { inset: 10px; border-radius: 15px; }
  .logo-panel { padding: 19px 17px 17px; }
  .tech-logo {
    width: 117px;
    height: 117px;
    margin-bottom: auto;
  }
  .logo-kind { margin: 12px 0 4px; font-size: 9.5px; }
  .logo-panel h3 { font-size: 22px; }
  .logo-panel p:last-of-type {
    margin-top: 7px;
    font-size: 13.5px;
    line-height: 1.58;
  }

  /* 모바일은 세로 목록 대신 손가락으로 넘기는 가로 탭 */
  .logo-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 1px 1px 7px;
    margin-inline: -1px;
    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .logo-tabs::-webkit-scrollbar { display: none; }
  .logo-tab {
    flex: 0 0 142px;
    min-height: 60px;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 9px;
    padding: 9px 10px;
    border-radius: 15px;
    scroll-snap-align: center;
  }
  .logo-tab-icon {
    width: 36px;
    height: 36px;
    padding: 3px;
    border-radius: 10px;
  }
  .logo-tab-copy { min-width: 0; }
  .logo-tab-copy strong {
    font-size: 12.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .logo-tab-copy small {
    font-size: 9.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .logo-console-foot {
    padding: 10px 14px;
    gap: 8px;
    font-size: 9px;
    letter-spacing: .08em;
  }
  .logo-console-foot > span:first-child { min-width: 0; }
  .logo-rotation-state { white-space: nowrap; }

  .marquee { padding-block: 13px; }
  .marquee-group { gap: 18px; padding-right: 18px; }
  .marquee-group span { font-size: 10.5px; }

  /* 공통 섹션 / 하위 페이지 */
  .section { padding: 62px 18px; }
  .section-head { margin-bottom: 36px; }
  .section-head h2 {
    font-size: clamp(29px, 8.5vw, 39px);
    line-height: 1.16;
    text-wrap: pretty;
  }
  .section-sub { margin-top: 14px; font-size: 15px; line-height: 1.72; }
  .section-head-row { gap: 18px; }

  .page-hero {
    padding:
      calc(var(--header) + env(safe-area-inset-top, 0px) + 34px)
      18px
      48px;
  }
  .page-hero-bg {
    background-size: auto, 44px 44px, 44px 44px;
  }
  .page-hero h1 {
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.1;
    text-wrap: pretty;
  }
  .page-hero h1.club-title { font-size: clamp(52px, 18vw, 78px); }
  .page-lead { margin-top: 17px; font-size: 15px; line-height: 1.72; }
  .page-hero .actions { margin-top: 24px; }

  /* 고정 min-width 때문에 320~390px에서 넘치던 카드들을 강제로 1열 */
  .index-grid,
  .feature-grid,
  .feature-grid-3,
  .steps,
  .tips,
  .reviews,
  .projects,
  .frames,
  .club-grid,
  .global-grid,
  .track {
    grid-template-columns: minmax(0, 1fr);
  }
  .index-card,
  .feature,
  .track-card,
  .tip,
  .review,
  .gcard,
  .proof,
  .project-body {
    padding-left: 20px;
    padding-right: 20px;
  }
  .index-card { min-height: 0; padding-top: 22px; padding-bottom: 24px; }
  .index-card h3 { font-size: 20px; }
  .index-card p { font-size: 14.5px; }
  .feature { padding-top: 24px; padding-bottom: 26px; }
  .pillar { grid-template-columns: 52px minmax(0, 1fr); gap: 13px; padding: 21px 0; }
  .pillar-tag { font-size: 17px; }
  .path { grid-template-columns: 40px minmax(0, 1fr); gap: 8px; }
  .proof { padding-top: 25px; padding-bottom: 25px; }
  .gcard { padding-top: 25px; padding-bottom: 25px; }
  .gcard h3 { margin-top: 22px; }
  .club-main { margin-top: 28px; }

  /* 리뷰 필터는 한 줄 가로 스크롤로 유지 */
  .js .filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 0 -18px 24px;
    padding: 0 18px 7px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .js .filter::-webkit-scrollbar { display: none; }
  .filter-btn { flex: 0 0 auto; min-height: 42px; padding-inline: 15px; }

  .site-footer-minimal {
    padding: 18px max(18px, env(safe-area-inset-right, 0px))
             max(20px, env(safe-area-inset-bottom, 0px))
             max(18px, env(safe-area-inset-left, 0px));
  }
  .footer-credit { line-height: 1.55; }
  .credit-label { display: block; margin-bottom: 4px; }
  .credit-names { font-size: 11.5px; letter-spacing: .03em; }

  .to-top {
    width: 44px;
    height: 44px;
    right: max(14px, env(safe-area-inset-right, 0px));
    bottom: max(14px, env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 520px) {
  /* CTA가 2열로 찌그러지지 않도록 세로 배치 */
  .actions { flex-direction: column; align-items: stretch; }
  .actions .btn { width: 100%; flex: 0 0 auto; min-height: 48px; }
  .next-cta .btn { width: 100%; }

  .hero-title { font-size: clamp(36px, 11vw, 46px); }
  .hero-lead br { display: none; }

  .closing { padding-left: 18px; padding-right: 18px; }
  .closing h2 { overflow-wrap: anywhere; }

  .footer-credit { max-width: 100%; }
}

@media (max-width: 360px) {
  .hero { padding-left: 15px; padding-right: 15px; }
  .section, .page-hero { padding-left: 15px; padding-right: 15px; }
  .hero-title { font-size: 35px; }
  .hero .eyebrow { font-size: 10px; }
  .logo-console-body { padding: 13px; }
  .logo-panels { min-height: 232px; }
  .logo-panel { padding: 17px 15px 15px; }
  .tech-logo { width: 70px; height: 70px; }
  .logo-tab { flex-basis: 132px; }
  .logo-console-foot > span:first-child { display: none; }
  .logo-console-foot { justify-content: flex-end; }
  .brand-text strong { max-width: 48vw; }
}

@media (max-width: 720px) {
  .hero-title, .section-head h2, .page-hero h1 {
    word-break: keep-all;
    overflow-wrap: normal;
  }
}

/* ============================================================
   v6 POLISH — editorial details / less template-like presentation
   ============================================================ */

/* Current page: small, useful state rather than another decorative badge. */
.site-nav a[aria-current="page"] {
  color: var(--fg);
  background: rgba(255,255,255,.055);
  border-color: rgba(255,255,255,.08);
}
.site-nav a[aria-current="page"] .nav-idx { color: var(--accent-soft); }

/* Page hero now has a quiet editorial page number. */
.page-hero { overflow: hidden; }
.page-hero::after {
  position: absolute;
  right: max(22px, calc((100vw - var(--shell)) / 2));
  bottom: -0.18em;
  z-index: 1;
  font-family: var(--mono);
  font-size: clamp(96px, 15vw, 210px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.08em;
  color: rgba(255,255,255,.028);
  pointer-events: none;
}
body[data-page="about"] .page-hero::after { content: "01"; }
body[data-page="curriculum"] .page-hero::after { content: "02"; }
body[data-page="clubs"] .page-hero::after { content: "03"; }
body[data-page="projects"] .page-hero::after { content: "04"; }
body[data-page="reviews"] .page-hero::after { content: "05"; }

.page-hero-inner { max-width: 980px; }
.page-hero .eyebrow,
.section-head .eyebrow {
  letter-spacing: .06em;
  text-transform: none;
}
.page-hero .eyebrow { color: var(--accent-soft); }
.section-head .eyebrow { color: var(--fg-faint); }

/* Source-grounded facts that sit inside each page hero. */
.page-facts {
  margin: 34px 0 0;
  padding: 18px 0 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.page-facts li {
  min-width: 0;
  padding: 0 18px;
  border-left: 1px solid var(--line);
}
.page-facts li:first-child { padding-left: 0; border-left: 0; }
.page-fact-key {
  display: block;
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  color: var(--fg-faint);
}
.page-facts strong {
  display: block;
  font-size: 13.5px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--fg-soft);
}
body[data-page="curriculum"] .page-facts,
body[data-page="global"] .page-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body[data-page="clubs"] .page-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; }

/* Home: a calmer subject strip replaces the endless marquee. */
.focus-strip {
  border-block: 1px solid var(--line);
  background: #0a1421;
}
.focus-strip-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 22px;
}
.focus-strip-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--fg-faint);
}
.focus-strip ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.focus-strip li {
  position: relative;
  font-size: 13.5px;
  font-weight: 550;
  color: var(--fg-soft);
  white-space: nowrap;
}
.focus-strip li:not(:last-child)::after {
  content: "/";
  margin-left: 18px;
  color: rgba(255,255,255,.2);
  font-family: var(--mono);
}

/* Home technology panel: quieter labels, real logos remain the focus. */
.logo-console {
  border-radius: 20px;
  box-shadow: 0 28px 64px rgba(0,0,0,.34);
}
.logo-console-badge {
  background: transparent;
  border: 1px solid rgba(255,255,255,.08);
  color: var(--fg-faint);
}
.logo-console-headline h2 { letter-spacing: -.04em; }
.logo-panel { justify-content: flex-end; }
.logo-panel h3 { letter-spacing: -.025em; }
.logo-rotation-state { color: var(--fg-faint); }

/* Korean-first navigation cards. English is metadata, not the headline. */
.index-grid { gap: 1px; background: rgba(8,17,30,.12); }
.index-grid > li { background: var(--paper); }
.index-card {
  border-radius: 0;
  border-color: rgba(8,17,30,.08);
  box-shadow: none;
}
.index-card:hover {
  transform: none;
  border-color: rgba(8,17,30,.18);
  background: rgba(8,17,30,.025);
}
.index-card h3 {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: clamp(21px, 2vw, 27px);
  letter-spacing: -.035em;
}
.index-card p { max-width: 36ch; }
.index-badge {
  border-radius: 4px;
  letter-spacing: 0;
  font-size: 10px;
}


/* 재학생 리뷰 홈 카드 — 단일 노란색 강조 */
.index-card-spotlight {
  position: relative;
  border-color: rgba(197, 152, 20, .28);
  background: linear-gradient(180deg, rgba(255, 251, 239, .99), rgba(251, 246, 229, .99));
  box-shadow: inset 0 0 0 1px rgba(197, 152, 20, .12);
}
.index-card-spotlight::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(229,183,39,.95), rgba(229,183,39,.24));
}
.index-card-spotlight:hover {
  border-color: rgba(197, 152, 20, .40);
  background: linear-gradient(180deg, rgba(255, 249, 232, 1), rgba(250, 242, 216, 1));
}
.index-card-spotlight h3 { color: #0e1d2f; }
.index-card-spotlight p { color: #77684a; }
.index-card-spotlight .index-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #9f7207;
  background: rgba(229, 183, 39, .11);
}
@media (max-width: 640px) {
  .index-card-spotlight .index-go {
    width: 30px;
    height: 30px;
  }
}

/* Vary the rhythm slightly instead of every section looking like the same card deck. */
.section-paper .feature-grid .feature:nth-child(even),
.section-paper .steps .step:nth-child(even) {
  background: rgba(8,17,30,.018);
}
.feature-no, .step-no, .track-year {
  font-family: var(--mono);
  letter-spacing: .02em;
}
.chips li, .tags li, .proof-tags li {
  border-radius: 6px;
}

/* Project placeholders should look intentionally unfinished, not like broken cards. */
.project-media.is-empty {
  background:
    linear-gradient(135deg, transparent 49.6%, rgba(255,255,255,.055) 50%, transparent 50.4%),
    rgba(255,255,255,.022);
}
.project-empty {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
}
.project-link-empty { font-style: normal; }

/* Reviews read more like notes from students than marketing testimonials. */
.review {
  border-radius: 10px;
  box-shadow: none;
}
.review-quote {
  max-width: 34ch;
  font-size: clamp(20px, 2.3vw, 28px);
  line-height: 1.55;
  letter-spacing: -.025em;
}
.review-placeholder { opacity: .6; }
.tip { border-radius: 10px; }
.tip h3 { letter-spacing: -.025em; }

/* Admissions: clearly mark the source date context without touching the minimal footer. */
.source-stamp {
  margin: 16px 0 0;
  padding-left: 13px;
  border-left: 2px solid var(--accent);
  color: var(--ink-500);
  font-size: 12.5px;
  line-height: 1.6;
}

/* Closing copy is intentionally curriculum-focused instead of a generic slogan. */
.closing-sub {
  font-family: var(--sans);
  letter-spacing: 0;
}

@media (max-width: 900px) {
  .page-facts { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; row-gap: 18px; }
  .page-facts li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .page-facts li:nth-child(n+3) { padding-top: 18px; border-top: 1px solid var(--line); }
  .focus-strip-inner { grid-template-columns: 1fr; gap: 9px; padding-block: 16px; }
}

@media (max-width: 640px) {
  .page-hero::after { right: 12px; bottom: .02em; font-size: 92px; }
  .page-facts {
    margin-top: 26px;
    grid-template-columns: 1fr !important;
    row-gap: 0;
  }
  .page-facts li,
  .page-facts li:first-child,
  .page-facts li:nth-child(odd),
  .page-facts li:nth-child(n+3) {
    padding: 11px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: minmax(84px, .36fr) 1fr;
    gap: 12px;
    align-items: baseline;
  }
  .page-facts li:first-child { border-top: 0; }
  .page-fact-key { margin: 0; }
  .page-facts strong { font-size: 13px; }

  .focus-strip-inner { padding-block: 14px; }
  .focus-strip ul {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: -18px;
    padding-inline: 18px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .focus-strip ul::-webkit-scrollbar { display: none; }
  .focus-strip li { flex: 0 0 auto; }

  .index-grid { display: grid; gap: 0; }
  .index-card { padding-top: 20px; padding-bottom: 22px; }
    .closing-sub { font-family: var(--sans); line-height: 1.7; }
}


@media (max-width: 1024px) {
  .closing-top { grid-template-columns: 1fr; }
  .closing-brand { max-width: 420px; }
  .closing-roadmap-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .closing::before { inset: 12px; border-radius: 22px; }
  .closing-brand { padding: 18px; border-radius: 22px; }
  .closing-logo { width: 74px; height: 74px; border-radius: 20px; }
  .closing h2 { max-width: none; }
  .closing-actions { justify-content: stretch; }
  .roadmap-grid-card { padding: 18px 18px 16px; border-radius: 18px; }
}

body[data-page="teacher-reviews"] .page-hero::after { content: "06"; }
body[data-page="interview"] .page-hero::after { content: "07"; }
body[data-page="pride"] .page-hero::after { content: "08"; }

/* v7: 12-card home grid reads as a deliberate 4 x 3 index on wide screens. */
@media (min-width: 1180px) {
  .index-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}


@media (max-width: 900px) {
  .fields-head {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .fields-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .acronym-item {
    padding: 20px 18px 22px;
    border-radius: 20px;
  }
  .acronym-letter { font-size: 38px; }
  .fields-polished {
    padding: 16px;
    border-radius: 22px;
  }
  .fields-list li {
    min-height: auto;
    padding: 18px 18px 16px;
    border-radius: 18px;
  }
  .fields-list strong { font-size: 22px; }
}


/* ============================================================
   v10 MOBILE STRONG — phone-first interaction / layout hardening
   ============================================================ */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
body { min-width: 0; }
img, svg { max-width: 100%; }
a, button { touch-action: manipulation; }
button { -webkit-appearance: none; appearance: none; }
[id] { scroll-margin-top: calc(var(--header) + 18px); }
code { overflow-wrap: anywhere; word-break: break-word; }

/* Anything that can legitimately grow must be allowed to shrink in a grid. */
.hero-copy, .hero-visual, .closing-copy, .closing-brand,
.compare-col, .track-card, .review, .tip, .feature, .project,
.project-body, .gcard, .proof, .faq-item, .schedule-row,
.fields-list > li, .acronym-item, .page-facts > li { min-width: 0; }

@media (max-width: 820px) {
  :root { --mobile-pad: 18px; }

  /* Header / drawer: bigger touch targets and stable safe-area geometry. */
  .site-header { min-height: calc(var(--header) + env(safe-area-inset-top, 0px)); }
  .header-inner {
    padding-inline: max(var(--mobile-pad), env(safe-area-inset-left, 0px))
                    max(var(--mobile-pad), env(safe-area-inset-right, 0px));
  }
  .brand { gap: 10px; min-width: 0; }
  .brand-text strong {
    display: block;
    max-width: min(56vw, 220px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .nav-toggle {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    margin-left: auto;
    border-radius: 14px;
  }
  .site-nav {
    height: calc(100dvh - var(--header) - env(safe-area-inset-top, 0px));
    max-height: none;
    padding-top: 8px;
    padding-bottom: max(28px, env(safe-area-inset-bottom, 0px));
    overscroll-behavior-y: contain;
    scrollbar-gutter: stable;
  }
  .nav-list a {
    min-height: 54px;
    padding-block: 14px;
  }
  .nav-cta {
    width: 100%;
    min-height: 50px;
    justify-content: center;
  }

  /* Mobile reading rhythm. */
  .section { padding-inline: var(--mobile-pad); }
  .section-head-row { gap: 16px; }
  .section-head-row .section-sub { max-width: 62ch; }
  .eyebrow { line-height: 1.45; }

  /* Main hero: text first, interactive panel second. */
  .hero {
    padding-left: var(--mobile-pad);
    padding-right: var(--mobile-pad);
  }
  .hero-inner { gap: 30px; }
  .hero-title { max-width: 10.8ch; }
  .hero-lead { max-width: 38ch; }
  .hero-visual, .logo-console { max-width: 100%; }
  .logo-tabs { scroll-padding-inline: 12px; }
  .logo-tab { user-select: none; -webkit-user-select: none; }

  /* Secondary page heroes: keep decorative numbering out of the copy. */
  .page-hero-inner { max-width: 100%; }
  .page-hero::after {
    opacity: .045;
    pointer-events: none;
    user-select: none;
  }
  .page-lead { max-width: 45ch; }

  /* Content grids become genuinely phone-first rather than squeezed desktop cards. */
  .compare, .admission-layout, .career-layout, .about-layout,
  .club-grid, .global-grid, .projects, .frames, .track,
  .feature-grid, .feature-grid-3, .reviews, .tips, .acronym,
  .fields-list, .closing-roadmap-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .compare-col, .track-card, .feature, .review, .tip,
  .project, .gcard, .proof, .acronym-item,
  .fields-list li, .roadmap-grid-card { width: 100%; }

  /* Horizontal filter rows remain finger-scrollable without leaking page overflow. */
  .filter, .focus-strip ul, .logo-tabs {
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
  }

  /* Long labels / Korean titles should wrap, but never spill sideways. */
  .section-head h2, .page-hero h1, .index-card h3,
  .club-name, .feature h3, .track-card h3, .review-quote,
  .tip h3, .compare-name, .closing h2 {
    word-break: keep-all;
    overflow-wrap: break-word;
  }
}

@media (max-width: 640px) {
  :root {
    --header: 62px;
    --mobile-pad: 16px;
  }

  /* Compact header without making it hard to tap. */
  .header-inner {
    gap: 9px;
  }
  .brand-logo { height: 30px; padding: 2px 6px; }
  .brand-text strong {
    max-width: min(55vw, 190px);
    font-size: 13px;
  }
  .nav-toggle {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    border-radius: 13px;
  }

  /* Home hero. */
  .hero {
    padding-top: calc(var(--header) + env(safe-area-inset-top, 0px) + 30px);
    padding-bottom: 38px;
  }
  .hero .eyebrow { margin-bottom: 12px; }
  .hero-title {
    max-width: 9.8ch;
    font-size: clamp(35px, 10.8vw, 45px);
    line-height: 1.055;
    letter-spacing: -.052em;
  }
  .hero-lead {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.72;
  }
  .hero .actions { margin-top: 23px; }
  .actions { gap: 8px; }
  .actions .btn {
    min-height: 48px;
    padding-inline: 17px;
    font-size: 14px;
  }

  .logo-console { border-radius: 18px; }
  .logo-console-bar { padding: 10px 12px; }
  .logo-console-body { padding: 14px; }
  .logo-console-headline h2 { font-size: clamp(25px, 7.8vw, 32px); }
  .logo-stage { margin-top: 13px; gap: 10px; }
  .logo-panels { min-height: 228px; border-radius: 16px; }
  .logo-panel { padding: 17px 15px 15px; }
  .tech-logo { width: 70px; height: 70px; }
  .logo-panel h3 { font-size: 21px; }
  .logo-panel p:last-of-type { font-size: 13px; line-height: 1.55; }
  .logo-tabs { gap: 7px; padding-bottom: 6px; }
  .logo-tab {
    flex-basis: 132px;
    min-height: 56px;
    grid-template-columns: 34px minmax(0,1fr);
    padding: 8px 9px;
    border-radius: 14px;
  }
  .logo-tab-icon { width: 34px; height: 34px; }
  .logo-console-foot { padding: 9px 12px; }

  /* Sections and subpages. */
  .section { padding: 56px var(--mobile-pad); }
  .section-head { margin-bottom: 30px; }
  .section-head h2 {
    font-size: clamp(28px, 8.4vw, 36px);
    line-height: 1.14;
  }
  .section-sub { font-size: 14.5px; line-height: 1.72; }
  .eyebrow { margin-bottom: 12px; font-size: 10.5px; letter-spacing: .11em; }

  .page-hero {
    padding-top: calc(var(--header) + env(safe-area-inset-top, 0px) + 28px);
    padding-left: var(--mobile-pad);
    padding-right: var(--mobile-pad);
    padding-bottom: 40px;
  }
  .page-hero h1 {
    max-width: 12ch;
    font-size: clamp(31px, 9.8vw, 41px);
    line-height: 1.08;
  }
  .page-hero h1.club-title { font-size: clamp(50px, 16vw, 68px); }
  .page-lead { margin-top: 15px; font-size: 14.5px; line-height: 1.7; }
  .page-hero::after { right: 8px; bottom: .02em; font-size: 72px; opacity: .035; }

  /* Facts become label/value rows. */
  .page-facts {
    margin-top: 22px;
    gap: 0 !important;
  }
  .page-facts li,
  .page-facts li:first-child,
  .page-facts li:nth-child(odd),
  .page-facts li:nth-child(n+3) {
    min-height: 46px;
    padding: 10px 0;
    grid-template-columns: minmax(76px, .32fr) minmax(0, 1fr);
    gap: 10px;
  }
  .page-fact-key { font-size: 10px; }
  .page-facts strong { min-width: 0; font-size: 12.5px; line-height: 1.55; }

  /* Home 12-card directory: tighter but still comfortably tappable. */
  .index-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .index-card {
    min-height: 0;
    padding: 20px 18px 22px;
  }
  .index-card h3 { gap: 5px; font-size: 21px; }
    .index-card p { margin-top: 12px; font-size: 14px; line-height: 1.7; }
  .index-go { margin-top: 18px; }
  .index-badge { top: 10px; right: 14px; }

  /* Cards: reduce decorative radius/padding so content gets the space. */
  .feature, .review, .tip, .track-card, .compare-col,
  .gcard, .proof, .acronym-item, .fields-polished,
  .fields-list li, .roadmap-grid-card {
    border-radius: 16px;
  }
  .feature, .review, .tip, .track-card, .compare-col,
  .gcard, .proof { padding-left: 18px; padding-right: 18px; }
  .review-quote { font-size: clamp(19px, 5.8vw, 24px); line-height: 1.5; }
  .review-meta { gap: 10px; }
  .review-avatar { flex: 0 0 auto; }
  .tip-points { padding-left: 18px; }
  .faq-q { min-height: 54px; padding-block: 15px; }
  .faq-a { padding-left: 16px; padding-right: 16px; }

  /* SPAM and other structured cards. */
  .acronym-item { padding: 19px 17px 21px; }
  .acronym-letter { font-size: 36px; }
  .fields-polished { padding: 14px; }
  .fields-list li { padding: 17px 16px 15px; }
  .fields-list strong { font-size: 21px; }

  /* Admissions / schedules / comparisons. */
  .quota-item, .quota-total { padding-left: 18px; padding-right: 18px; }
  .schedule-row { padding-block: 14px; }
  .schedule-row dt, .schedule-row dd { max-width: 100%; overflow-wrap: anywhere; }
  .compare-list li { padding-block: 10px; }
  .chips { gap: 7px; }
  .chips li { font-size: 11.5px; }

  /* Closing section: mobile identity card + simple 3-step list. */
  .closing {
    padding: 62px var(--mobile-pad) 58px;
  }
  .closing::before { inset: 10px; border-radius: 20px; }
  .closing-top { gap: 24px; }
  .closing-brand {
    max-width: none;
    grid-template-columns: 66px minmax(0,1fr);
    gap: 14px;
    align-items: center;
    padding: 16px;
    border-radius: 18px;
  }
  .closing-logo { width: 66px; height: 66px; border-radius: 17px; }
  .closing-brand-copy { gap: 4px; }
  .closing-brand .eyebrow { margin-bottom: 2px; }
  .closing-brand strong { font-size: 18px; line-height: 1.25; }
  .closing-brand span { font-size: 12.5px; }
  .closing h2 {
    max-width: 10ch;
    font-size: clamp(35px, 10.6vw, 45px);
    line-height: 1.04;
  }
  .closing-sub { margin-top: 17px; font-size: 14.5px; line-height: 1.72; }
  .closing-actions { margin-top: 22px; }
  .closing-roadmap-grid { margin-top: 24px; gap: 10px; }
  .roadmap-grid-card { padding: 16px; }
  .roadmap-grid-card h3 { font-size: 19px; }
  .roadmap-grid-card p { font-size: 13px; line-height: 1.62; }

  /* Footer / floating button respect phone safe areas. */
  .site-footer-minimal {
    padding-left: max(var(--mobile-pad), env(safe-area-inset-left, 0px));
    padding-right: max(var(--mobile-pad), env(safe-area-inset-right, 0px));
  }
  .footer-credit { max-width: 100%; }
  .credit-names { overflow-wrap: anywhere; }
  .to-top {
    right: max(12px, env(safe-area-inset-right, 0px));
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 390px) {
  :root { --mobile-pad: 15px; }
  .brand-text strong { max-width: 50vw; font-size: 12.5px; }
  .hero { padding-top: calc(var(--header) + env(safe-area-inset-top, 0px) + 25px); }
  .hero-title { font-size: clamp(33px, 10.5vw, 40px); }
  .hero-lead { font-size: 14.5px; }
  .logo-console-body { padding: 14px; }
  .logo-panels { min-height: 212px; }
  .logo-panel { padding: 15px 13px 13px; }
  .tech-logo { width: 62px; height: 62px; }
  .logo-panel h3 { font-size: 19px; }
  .logo-panel p:last-of-type { font-size: 12.5px; }
  .logo-tab { flex-basis: 122px; }
  .logo-console-foot > span:first-child { display: none; }
  .logo-console-foot { justify-content: flex-end; }

  .section { padding-block: 50px; }
  .section-head h2 { font-size: clamp(27px, 8.6vw, 33px); }
  .page-hero h1 { font-size: clamp(29px, 9.7vw, 37px); }
  .page-hero::after { font-size: 62px; }

  .closing { padding-top: 54px; padding-bottom: 52px; }
  .closing-brand { grid-template-columns: 58px minmax(0,1fr); padding: 14px; }
  .closing-logo { width: 58px; height: 58px; border-radius: 15px; }
  .closing-brand strong { font-size: 16.5px; }
  .closing-brand span { font-size: 11.5px; }
  .closing h2 { font-size: clamp(33px, 10.3vw, 39px); }
}

@media (max-width: 340px) {
  :root { --mobile-pad: 13px; }
  .brand-text strong { max-width: 46vw; font-size: 12px; }
  .nav-toggle { width: 42px; height: 42px; flex-basis: 42px; }
  .hero-title { font-size: 31px; }
  .hero .eyebrow { font-size: 9.5px; }
  .hero-lead { font-size: 14px; }
  .actions .btn { min-height: 46px; font-size: 13.5px; }
  .logo-tab { flex-basis: 114px; }
  .logo-tab-copy small { display: none; }
  .page-hero h1 { font-size: 28px; }
  .page-hero h1.club-title { font-size: 48px; }
  .page-facts li,
  .page-facts li:first-child,
  .page-facts li:nth-child(odd),
  .page-facts li:nth-child(n+3) {
    grid-template-columns: 68px minmax(0,1fr);
  }
  .closing h2 { font-size: 31px; }
  .footer-credit { font-size: 11px; }
}

/* Short landscape phones: nav and hero remain usable instead of consuming the viewport. */
@media (orientation: landscape) and (max-height: 560px) and (max-width: 960px) {
  :root { --header: 58px; }
  .site-nav {
    height: calc(100dvh - var(--header) - env(safe-area-inset-top, 0px));
    padding-top: 4px;
  }
  .nav-list a { min-height: 46px; padding-block: 10px; }
  .hero {
    padding-top: calc(var(--header) + env(safe-area-inset-top, 0px) + 24px);
    padding-bottom: 32px;
  }
  .page-hero {
    padding-top: calc(var(--header) + env(safe-area-inset-top, 0px) + 22px);
    padding-bottom: 34px;
  }
  .to-top { width: 40px; height: 40px; }
}

/* Touch devices do not need hover movement that can look sticky after taps. */
@media (hover: none) and (pointer: coarse) {
  .btn:hover, .index-card:hover, .feature:hover, .club:hover,
  .tip:hover, .acronym-item:hover, .site-link:hover, .project:hover {
    transform: none !important;
  }
  .btn, .nav-toggle, .filter-btn, .logo-tab { min-height: 44px; }
}


/* v11: 메인 문구 3단 구성 — "코드가 세상에"를 가운데 줄로 강조 */
.hero-title-three { max-width: 10.5ch; }
.hero-title-three .hero-title-middle {
  margin-block: .05em;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .hero-title-three { max-width: 9.8ch; }
  .hero-title-three .hero-title-middle { white-space: normal; }
}


/* 선생님 후기 카드 — 아직 인터뷰가 없는 상태를 회색으로만 구분 */
.index-card-pending {
  border-color: rgba(84, 97, 113, .17);
  background: linear-gradient(180deg, rgba(239, 242, 246, .98), rgba(231, 235, 240, .98));
  box-shadow: none;
}
.index-card-pending:hover {
  border-color: rgba(84, 97, 113, .28);
  background: linear-gradient(180deg, rgba(235, 239, 244, 1), rgba(225, 230, 236, 1));
}

.teacher-status { padding-top: clamp(34px, 5vw, 64px); padding-bottom: 0; }
.status-banner {
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  border: 1px solid rgba(18,88,168,.18);
  border-radius: 18px;
  background: rgba(18,88,168,.055);
}
.status-banner > div { display: flex; align-items: center; gap: 10px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #c69212; box-shadow: 0 0 0 5px rgba(198,146,18,.1); }
.status-banner strong { color: var(--ink-fg); font-size: 15px; }
.status-banner p { margin: 0; color: var(--ink-fg-mut); font-size: 14px; line-height: 1.7; }


@media (max-width: 640px) {
  .status-banner { padding: 16px; }
}

.project-site-media {
  display: grid;
  place-items: center;
  min-height: 320px;
  background:
    radial-gradient(circle at 75% 20%, rgba(77,154,230,.18), transparent 38%),
    linear-gradient(145deg, #071524, #0b2138);
}
.project-site-preview {
  width: min(82%, 520px);
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px;
  background: rgba(255,255,255,.025);
  box-shadow: 0 20px 60px rgba(0,0,0,.22);
}
.project-site-kicker { display: block; margin-bottom: 14px; font-family: var(--mono); color: var(--accent-soft); font-size: 12px; letter-spacing: .18em; }
.project-site-preview strong { display: block; font-size: clamp(34px, 5vw, 62px); line-height: .98; letter-spacing: -.055em; color: var(--fg); }
.project-site-preview small { display: block; margin-top: 22px; font-family: var(--mono); color: var(--fg-faint); font-size: 11px; letter-spacing: .11em; }
@media (max-width: 640px) {
  .project-site-media { min-height: 240px; }
  .project-site-preview { width: calc(100% - 28px); padding: 22px; border-radius: 20px; }
}


/* ── v13: simplified hero language rotator ─────────────────── */
.logo-stage-clean {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 14px !important;
}
.logo-panels-clean {
  min-height: 248px !important;
  border-radius: 22px;
}
.logo-panels-clean::before {
  inset: 12px;
  border-radius: 18px;
}
.logo-panels-clean .logo-panel {
  padding: 26px !important;
  display: grid !important;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  justify-content: initial !important;
}
.logo-panels-clean .tech-logo {
  width: 118px !important;
  height: 118px !important;
  margin: 0 !important;
  justify-self: center;
}
.logo-panel-copy { min-width: 0; }
.logo-panels-clean .logo-kind { margin: 0 0 7px !important; }
.logo-panels-clean .logo-panel h3 {
  margin: 0;
  font-size: clamp(27px, 3vw, 35px) !important;
}
.logo-panels-clean .logo-panel p:last-child {
  margin: 12px 0 0 !important;
  max-width: 31ch;
  font-size: 14px !important;
  line-height: 1.7 !important;
}
.logo-tabs-clean {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px !important;
  overflow: visible !important;
  padding: 0 !important;
  margin: 0 !important;
}
.logo-tabs-clean .logo-tab {
  width: auto !important;
  min-width: 0;
  min-height: 70px;
  display: flex !important;
  flex: none !important;
  flex-direction: column;
  justify-content: center;
  gap: 6px !important;
  padding: 9px 6px !important;
  border-radius: 15px !important;
  text-align: center;
}
.logo-tabs-clean .logo-tab-icon {
  width: 30px !important;
  height: 30px !important;
  padding: 2px !important;
  border-radius: 8px !important;
}
.logo-tabs-clean .logo-tab-copy { display: block; min-width: 0; }
.logo-tabs-clean .logo-tab-copy strong {
  display: block;
  font-size: 11.5px !important;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 640px) {
  .logo-panels-clean { min-height: 214px !important; }
  .logo-panels-clean .logo-panel {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 17px;
    padding: 19px !important;
  }
  .logo-panels-clean .tech-logo {
    width: 72px !important;
    height: 72px !important;
  }
  .logo-panels-clean .logo-panel h3 { font-size: 23px !important; }
  .logo-panels-clean .logo-panel p:last-child {
    margin-top: 7px !important;
    font-size: 12.8px !important;
    line-height: 1.55 !important;
  }
  .logo-tabs-clean {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 5px !important;
  }
  .logo-tabs-clean .logo-tab {
    min-height: 58px !important;
    padding: 7px 3px !important;
    border-radius: 12px !important;
  }
  .logo-tabs-clean .logo-tab-icon {
    width: 25px !important;
    height: 25px !important;
  }
  .logo-tabs-clean .logo-tab-copy strong { font-size: 9.5px !important; }
}

@media (max-width: 360px) {
  .logo-panels-clean .logo-panel {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 13px;
    padding: 16px !important;
  }
  .logo-panels-clean .tech-logo {
    width: 60px !important;
    height: 60px !important;
  }
  .logo-tabs-clean .logo-tab-copy strong { font-size: 8.8px !important; }
}


/* v14: real Devicon SVGs — keep brand shapes clean */
.logo-panels-clean .tech-logo {
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(0,0,0,.18));
}
.logo-tabs-clean .logo-tab-icon {
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  filter: none !important;
}
.logo-tabs-clean .logo-tab {
  overflow: hidden;
}


/* v18: Guide 제거 — 06~08 메뉴를 상단에 직접 노출 */
@media (min-width: 1101px) {
  .site-nav .nav-list { gap: 2px; }
  .site-nav .nav-list > li > a { padding-inline: 9px; }
  .site-nav .nav-list > li > a .nav-idx { margin-right: 5px; }
}
@media (max-width: 1220px) and (min-width: 1101px) {
  .site-nav .nav-list > li > a { font-size: 12.5px; padding-inline: 7px; }
  .nav-idx { display: none; }
}

/* v22 code mark */
@media (max-width: 820px) {
  .brand-code-mark { width: 36px; height: 36px; flex-basis: 36px; font-size: 13px; border-radius: 9px; }
}
@media (max-width: 390px) {
  .brand-code-mark { width: 32px; height: 32px; flex-basis: 32px; font-size: 12px; border-radius: 8px; }
}


/* v25: club pages use the provided SPAM and DELTA logos. */
.club-logo-brand {
  height: 192px;
  width: auto;
  max-width: 320px;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.22));
}
.club-glyph-bg-image {
  position: absolute;
  right: 20px;
  bottom: -8px;
  width: clamp(340px, 44vw, 520px);
  height: auto;
  opacity: .12;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  filter: grayscale(1) brightness(1.7);
}
.club-glyph-img {
  position: absolute;
  right: 22px;
  top: 28px;
  width: 140px;
  height: 140px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  opacity: .18;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.18));
}
.club-glyph-img-spam,
.club-glyph-img-delta {
  background: rgba(8, 17, 30, .28);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  padding: 12px;
}
@media (max-width: 900px) {
  .club-logo-brand {
    height: 160px;
    max-width: 272px;
  }
  .club-glyph-bg-image {
    width: 320px;
    right: 10px;
    bottom: -4px;
    opacity: .10;
  }
  .club-glyph-img {
    width: 120px;
    height: 120px;
    right: 16px;
    top: 22px;
    opacity: .16;
  }
}
@media (max-width: 640px) {
  .club-logo-brand {
    height: 140px;
    max-width: 236px;
  }
  .club-glyph-bg-image {
    width: 256px;
    right: 6px;
    bottom: -2px;
    opacity: .08;
  }
  .club-glyph-img {
    width: 112px;
    height: 112px;
    right: 14px;
    top: 18px;
  }
  .club-glyph-img-spam,
  .club-glyph-img-delta {
    padding: 10px;
    border-radius: 18px;
  }
}


/* v31: admissions-fit copy becomes the main message instead of a two-column pros/cons block. */
.entry-focus {
  position: relative;
  padding: clamp(28px, 4.5vw, 54px);
  border: 1px solid rgba(24, 99, 178, .16);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(247,251,255,.98), rgba(237,245,253,.95));
  box-shadow: 0 18px 48px rgba(22, 54, 88, .06);
  overflow: hidden;
}
.entry-focus::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
}
.entry-focus-main {
  max-width: 31ch;
  margin: 0;
  color: #0e1d2f;
  font-size: clamp(25px, 3.3vw, 42px);
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: -.045em;
}
.entry-focus-sub {
  max-width: 52ch;
  margin: 18px 0 0;
  color: #3d536b;
  font-size: clamp(16px, 1.55vw, 19px);
  line-height: 1.8;
}
.entry-focus-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.entry-focus-points li {
  padding: 16px 17px;
  border: 1px solid rgba(16,31,47,.09);
  border-radius: 16px;
  background: rgba(255,255,255,.68);
  color: #465c73;
  font-size: 14px;
  line-height: 1.7;
}
@media (max-width: 820px) {
  .entry-focus-points { grid-template-columns: 1fr; gap: 9px; }
}
@media (max-width: 640px) {
  .entry-focus { padding: 24px 20px 22px; border-radius: 22px; }
  .entry-focus-main { font-size: clamp(24px, 7.4vw, 31px); }
  .entry-focus-sub { margin-top: 14px; font-size: 15px; }
  .entry-focus-points { margin-top: 22px; }
  .entry-focus-points li { padding: 13px 14px; font-size: 13.5px; }
}


/* v34: 프로젝트 카드를 페이지 중앙에 한 줄로 정렬 */
.projects {
  grid-template-columns: 1fr !important;
  width: min(100%, 960px);
  margin-inline: auto;
}
.projects .project,
.projects .project-wide,
@media (max-width: 1000px) {
  .projects {
    width: 100%;
  }
}

/* v35: language panel — tablet/phone readability hardening */
@media (max-width: 1024px) {
  .hero-visual {
    width: 100%;
    justify-content: center !important;
  }
  .logo-console {
    width: min(100%, 680px) !important;
    margin-inline: auto;
  }
  .logo-console-body {
    padding: 18px !important;
  }
  .logo-panels-clean {
    min-height: 226px !important;
  }
  .logo-panels-clean .logo-panel {
    grid-template-columns: 108px minmax(0, 1fr) !important;
    gap: 22px !important;
    padding: 22px !important;
  }
  .logo-panels-clean .tech-logo {
    width: 96px !important;
    height: 96px !important;
  }
  .logo-panels-clean .logo-panel h3 {
    font-size: 28px !important;
  }
  .logo-panels-clean .logo-panel p:last-child {
    max-width: 36ch;
    font-size: 13.5px !important;
  }
  .logo-tabs-clean {
    grid-template-columns: repeat(5, minmax(74px, 1fr)) !important;
    gap: 7px !important;
  }
  .logo-tabs-clean .logo-tab {
    min-height: 68px !important;
    padding: 8px 5px !important;
  }
  .logo-tabs-clean .logo-tab-icon {
    width: 29px !important;
    height: 29px !important;
  }
  .logo-tabs-clean .logo-tab-copy strong {
    font-size: 10.5px !important;
  }
}

@media (max-width: 720px) {
  .logo-console {
    width: 100% !important;
    border-radius: 18px !important;
  }
  .logo-console-bar {
    padding: 10px 12px !important;
  }
  .logo-console-name {
    font-size: 10px !important;
  }
  .logo-console-badge {
    padding: 3px 8px !important;
    font-size: 9px !important;
  }
  .logo-console-body {
    padding: 13px !important;
  }
  .logo-console-headline h2 {
    font-size: clamp(24px, 7.4vw, 30px) !important;
  }
  .logo-console-eyebrow {
    font-size: 9px !important;
    letter-spacing: .1em !important;
  }
  .logo-stage-clean {
    gap: 10px !important;
    margin-top: 12px !important;
  }
  .logo-panels-clean {
    min-height: 188px !important;
    border-radius: 16px !important;
  }
  .logo-panels-clean::before {
    inset: 8px !important;
    border-radius: 13px !important;
  }
  .logo-panels-clean .logo-panel {
    grid-template-columns: 78px minmax(0, 1fr) !important;
    gap: 14px !important;
    padding: 16px !important;
  }
  .logo-panels-clean .tech-logo {
    width: 68px !important;
    height: 68px !important;
  }
  .logo-panels-clean .logo-kind {
    margin-bottom: 4px !important;
    font-size: 8.5px !important;
  }
  .logo-panels-clean .logo-panel h3 {
    font-size: 21px !important;
  }
  .logo-panels-clean .logo-panel p:last-child {
    margin-top: 6px !important;
    max-width: none !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
  }

  /* One readable row; swipe if the screen is too narrow. */
  .logo-tabs-clean {
    display: flex !important;
    gap: 7px !important;
    overflow-x: auto !important;
    padding: 1px 1px 6px !important;
    margin-inline: 0 !important;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .logo-tabs-clean::-webkit-scrollbar { display: none; }
  .logo-tabs-clean .logo-tab {
    flex: 0 0 82px !important;
    width: 82px !important;
    min-width: 82px !important;
    min-height: 62px !important;
    padding: 7px 4px !important;
    border-radius: 12px !important;
    scroll-snap-align: center;
  }
  .logo-tabs-clean .logo-tab-icon {
    width: 28px !important;
    height: 28px !important;
  }
  .logo-tabs-clean .logo-tab-copy strong {
    font-size: 10px !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
  .logo-console-foot {
    padding: 8px 11px !important;
    font-size: 8px !important;
  }
  .logo-console-foot > span:first-child {
    display: none !important;
  }
  .logo-console-foot {
    justify-content: flex-end !important;
  }
}

@media (max-width: 420px) {
  .logo-console-body {
    padding: 11px !important;
  }
  .logo-console-headline h2 {
    font-size: 23px !important;
  }
  .logo-panels-clean {
    min-height: 180px !important;
  }
  .logo-panels-clean .logo-panel {
    grid-template-columns: 64px minmax(0, 1fr) !important;
    gap: 11px !important;
    padding: 14px !important;
  }
  .logo-panels-clean .tech-logo {
    width: 56px !important;
    height: 56px !important;
  }
  .logo-panels-clean .logo-panel h3 {
    font-size: 19px !important;
  }
  .logo-panels-clean .logo-panel p:last-child {
    font-size: 11.5px !important;
    line-height: 1.45 !important;
  }
  .logo-tabs-clean .logo-tab {
    flex-basis: 76px !important;
    width: 76px !important;
    min-width: 76px !important;
  }
}

/* v36: pride hero certificate image slot */
.page-hero-pride {
  padding-block: clamp(72px, 7vw, 112px);
}
.pride-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr);
  gap: clamp(44px, 6vw, 92px);
  align-items: center;
}
.pride-hero-copy {
  min-width: 0;
}
.pride-hero-copy h1 {
  max-width: 760px;
}
.pride-hero-copy .page-lead {
  max-width: 720px;
}
.certificate-slot {
  position: relative;
  width: 100%;
  aspect-ratio: 647 / 723;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(158, 191, 226, .24);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(77, 154, 230, .08), rgba(77, 154, 230, .015) 55%),
    rgba(255,255,255,.025);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.certificate-slot::before,
.certificate-slot::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px dashed rgba(158, 191, 226, .18);
  border-radius: 21px;
  pointer-events: none;
}
.certificate-slot::after {
  inset: auto 26px 26px auto;
  width: 42px;
  height: 42px;
  border-left: 0;
  border-top: 0;
  border-radius: 0 0 12px 0;
  opacity: .8;
}
.certificate-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.certificate-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 10px;
  padding: 32px;
  text-align: center;
  color: var(--fg-mut);
}
.certificate-placeholder strong {
  font-size: clamp(24px, 2.3vw, 34px);
  color: var(--fg);
  letter-spacing: -.04em;
}
.certificate-placeholder small {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--fg-faint);
}
.certificate-index {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--accent-soft);
}
.certificate-slot.has-image .certificate-placeholder {
  display: none;
}
.certificate-slot.has-image::before,
.certificate-slot.has-image::after {
  display: none;
}

@media (max-width: 1040px) {
  .pride-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .78fr);
    gap: 34px;
  }
  .certificate-slot {
    border-radius: 24px;
  }
}
@media (max-width: 820px) {
  .page-hero-pride {
    padding-block: 54px 64px;
  }
  .pride-hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .certificate-slot {
    width: min(100%, 620px);
    aspect-ratio: 16 / 10;
  }
}
@media (max-width: 520px) {
  .page-hero-pride {
    padding-block: 42px 50px;
  }
  .pride-hero-grid {
    gap: 26px;
  }
  .certificate-slot {
    aspect-ratio: 647 / 723;
    border-radius: 20px;
  }
  .certificate-slot::before {
    inset: 11px;
    border-radius: 15px;
  }
  .certificate-placeholder {
    padding: 22px;
  }
  .certificate-placeholder strong {
    font-size: 22px;
  }
}

/* v41 — project preview logos */
.project-site-preview-logo-only {
  width: min(72%, 520px);
  min-height: 270px;
  padding: 28px;
  display: grid;
  place-items: center;
}
.project-site-logo {
  display: grid;
  place-items: center;
  width: clamp(120px, 16vw, 190px);
  height: clamp(120px, 16vw, 190px);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 28px;
  background: rgba(255,255,255,.035);
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
  overflow: hidden;
}
.project-site-logo-code span {
  color: var(--fg);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -.08em;
}
.project-site-logo-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

/* v41 — student reviews: exactly 3 cards per desktop row */
.student-review-section { overflow: hidden; }
.student-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.student-review-card {
  min-width: 0;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 22px;
  border: 1px solid rgba(8,17,30,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.72);
}
.student-review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  color: var(--accent-deep);
  font-size: 11px;
  letter-spacing: .08em;
}
.student-review-tag {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(77,154,230,.10);
  color: var(--accent-deep);
  letter-spacing: 0;
}
.student-review-card h3 {
  margin: 28px 0 12px;
  color: var(--ink-fg);
  font-size: clamp(20px, 1.7vw, 25px);
  line-height: 1.35;
  letter-spacing: -.035em;
}
.student-review-card p {
  margin: 0;
  color: var(--ink-fg-mut);
  font-size: 14.5px;
  line-height: 1.8;
}
.student-review-card footer {
  margin-top: auto;
  padding-top: 24px;
  color: var(--ink-400);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
}

@media (max-width: 900px) {
  .student-review-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .student-review-card {
    min-height: 0;
  }
}
@media (max-width: 640px) {
  .project-site-preview-logo-only {
    width: calc(100% - 28px);
    min-height: 200px;
    padding: 20px;
  }
  .project-site-logo {
    width: 112px;
    height: 112px;
    border-radius: 22px;
  }
  .project-site-logo-code span { font-size: 38px; }

  .student-review-grid { margin-top: 24px; }
  .student-review-card {
    padding: 22px 18px 18px;
    border-radius: 16px;
  }
  .student-review-card h3 {
    margin-top: 22px;
    font-size: 20px;
  }
}


/* ── v86: site-wide SW logo rebrand ───────────────────────────── */
.brand-project-mark {
  width: 88px !important;
  height: 34px !important;
  flex: 0 0 88px !important;
  display: grid;
  place-items: center;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.brand-project-mark img {
  width: 100% !important;
  height: 100% !important;
  display: block;
  object-fit: contain !important;
  transform: none !important;
  filter: none !important;
}

.project-site-preview-logo-only:has(.project-site-logo-srhssw) {
  min-height: 220px !important;
  padding: clamp(18px, 3vw, 28px) !important;
}
.project-site-logo-srhssw {
  width: clamp(240px, 36vw, 360px) !important;
  height: auto !important;
  aspect-ratio: 408 / 141 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}
.project-site-logo-srhssw img {
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  object-fit: contain !important;
  transform: none !important;
  filter: none !important;
}

@media (max-width: 900px) {
  .brand-project-mark {
    width: 78px !important;
    height: 30px !important;
    flex-basis: 78px !important;
  }
  .project-site-preview-logo-only:has(.project-site-logo-srhssw) {
    min-height: 190px !important;
  }
  .project-site-logo-srhssw {
    width: clamp(210px, 46vw, 300px) !important;
  }
}

@media (max-width: 640px) {
  .brand-project-mark {
    width: 72px !important;
    height: 28px !important;
    flex-basis: 72px !important;
  }
  .project-site-preview-logo-only:has(.project-site-logo-srhssw) {
    min-height: 150px !important;
    padding: 14px !important;
  }
  .project-site-logo-srhssw {
    width: min(88%, 240px) !important;
  }
}

@media (max-width: 390px) {
  .brand-project-mark {
    width: 66px !important;
    height: 26px !important;
    flex-basis: 66px !important;
  }
  .project-site-logo-srhssw {
    width: min(92%, 210px) !important;
  }
}

/* v45: one card per student, three students per desktop row */
.student-review-card-empty {
  border-style: dashed;
  background: rgba(255,255,255,.48);
}
.student-review-card-empty h3,
.student-review-card-empty p,
.student-review-card-empty footer {
  opacity: .62;
}


/* v46: trim the apparent lower black margin around the new SRHSSW mark. */
.brand-project-mark img {
  transform: translateY(3.2%) scale(1.72) !important;
}
.project-site-preview-logo-only:has(.project-site-logo-srhssw) {
  min-height: 312px !important;
  padding: 18px !important;
}
.project-site-logo-srhssw {
  width: clamp(220px, 28vw, 318px) !important;
  height: clamp(220px, 28vw, 318px) !important;
}
.project-site-logo-srhssw img {
  transform: translateY(3.3%) scale(1.60) !important;
}
@media (max-width: 900px) {
  .project-site-preview-logo-only:has(.project-site-logo-srhssw) {
    min-height: 258px !important;
    padding: 14px !important;
  }
  .project-site-logo-srhssw {
    width: clamp(190px, 34vw, 260px) !important;
    height: clamp(190px, 34vw, 260px) !important;
  }
}
@media (max-width: 640px) {
  .brand-project-mark img {
    transform: translateY(3.2%) scale(1.76) !important;
  }
  .project-site-preview-logo-only:has(.project-site-logo-srhssw) {
    min-height: 196px !important;
    padding: 10px !important;
  }
  .project-site-logo-srhssw {
    width: 158px !important;
    height: 158px !important;
  }
  .project-site-logo-srhssw img {
    transform: translateY(3.3%) scale(1.64) !important;
  }
}
@media (max-width: 390px) {
  .project-site-logo-srhssw {
    width: 142px !important;
    height: 142px !important;
  }
}


/* v49 — student review grade tabs */
.student-grade-tabs {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 28px;
  padding: 5px;
  border: 1px solid rgba(8,17,30,.09);
  border-radius: 999px;
  background: rgba(255,255,255,.68);
}
.student-grade-tab {
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #607087;
  font: inherit;
  font-size: 13.5px;
  font-weight: 650;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.student-grade-tab:hover {
  color: #173044;
  background: rgba(23, 156, 138, .07);
}
.student-grade-tab.is-active {
  color: #fff;
  background: #168f80;
  box-shadow: 0 7px 18px rgba(22,143,128,.18);
}
.student-review-card[hidden] {
  display: none !important;
}

@media (max-width: 640px) {
  .student-grade-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    padding: 4px;
    margin-top: 22px;
  }
  .student-grade-tab {
    min-width: 0;
    padding-inline: 8px;
    font-size: 12.5px;
  }
}

/* v51 — filled student reviews */
@media (min-width: 901px) {
  .student-review-card {
    min-height: 360px;
  }
}


/* 모바일 내비게이션 재학생 리뷰 강조 */
@media (max-width: 1180px) {
  .site-nav .nav-list > li > a.featured {
    width: 100%;
    min-height: 52px;
    box-sizing: border-box;
    margin: 4px 0;
    padding: 13px 12px;
    border: 1px solid rgba(229, 183, 39, .24);
    border-radius: 12px;
    background: rgba(229, 183, 39, .08);
    color: #e7c65d;
  }
  .site-nav .nav-list > li > a.featured:hover,
  .site-nav .nav-list > li > a.featured.active {
    border-color: rgba(229, 183, 39, .34);
    background: rgba(229, 183, 39, .12);
    color: #f3db82;
  }
}
@media (max-width: 720px) {
  .site-nav .nav-list > li > a.featured {
    min-height: 50px;
    padding: 12px 11px;
    border-radius: 11px;
  }
}


/* v61 — 모바일 메뉴의 재학생 리뷰는 글자만 노란색 */
@media (max-width: 1180px) {
  .site-nav .nav-list > li > a.featured,
  .site-nav .nav-list > li > a.featured:hover,
  .site-nav .nav-list > li > a.featured.active {
    width: auto;
    min-height: 0;
    margin: 0;
    padding: inherit;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    color: #e7c65d !important;
  }
}

/* v61 — 학생 인터뷰 */
.student-interview-section {
  border-top: 1px solid rgba(255,255,255,.07);
}
.student-interview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}
.student-interview-card {
  min-width: 0;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 20px;
  background: rgba(255,255,255,.035);
}
.student-interview-person {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 24px;
}
.student-interview-person strong {
  color: #fff;
  font-size: 18px;
}
.student-interview-person span {
  color: rgba(255,255,255,.52);
  font-size: 12px;
}
.student-interview-copy h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.4;
  letter-spacing: -.035em;
}
.student-interview-copy > p {
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: 14.5px;
  line-height: 1.85;
}
.student-interview-tip {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.student-interview-tip > span {
  display: inline-block;
  margin-bottom: 9px;
  color: #e7c65d;
  font-size: 12px;
  font-weight: 700;
}
.student-interview-tip p {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.8;
}

@media (max-width: 820px) {
  .student-interview-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .student-interview-card {
    padding: 22px 18px;
    border-radius: 16px;
  }
  .student-interview-person {
    margin-bottom: 20px;
  }
}


/* v62 — 재학생 리뷰 섹션 안쪽으로 학생 인터뷰 통합 */
.student-review-extra {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid rgba(8, 21, 40, .08);
}
.student-review-extra-head {
  margin-bottom: 20px;
}
.student-review-extra-head .eyebrow {
  margin-bottom: 10px;
}
.student-review-extra-head h3 {
  margin: 0;
  color: #09172c;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.2;
  letter-spacing: -.04em;
}
.student-interview-grid-inline {
  margin-top: 0;
}
.student-interview-card-paper {
  background: #ffffff;
  border-color: rgba(8, 21, 40, .10);
  box-shadow: none;
}
.student-interview-card-paper .student-interview-person strong {
  color: #09172c;
}
.student-interview-card-paper .student-interview-person span {
  color: rgba(9, 23, 44, .45);
}
.student-interview-card-paper .student-interview-copy h3 {
  color: #09172c;
}
.student-interview-card-paper .student-interview-copy > p {
  color: #536273;
}
.student-interview-card-paper .student-interview-tip {
  border-top-color: rgba(8, 21, 40, .08);
}
.student-interview-card-paper .student-interview-tip > span {
  color: #c79e18;
}
.student-interview-card-paper .student-interview-tip p {
  color: #536273;
}

@media (max-width: 640px) {
  .student-review-extra {
    margin-top: 24px;
    padding-top: 22px;
  }
  .student-review-extra-head h3 {
    font-size: 26px;
  }
}


/* v63 — 모바일 메뉴 열/여백 정리 및 재학생 리뷰 강조 안정화 */
@media (max-width: 1180px) {
  .site-nav {
    padding: 16px 20px 24px;
  }

  .site-nav .nav-list {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav .nav-list > li {
    width: 100%;
    list-style: none;
  }

  .site-nav .nav-list > li > a,
  .site-nav .nav-list > li > a.featured,
  .site-nav .nav-list > li > a.featured:hover,
  .site-nav .nav-list > li > a.featured.active {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 58px;
    margin: 0;
    padding: 0 2px;
    box-sizing: border-box;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
    line-height: 1.35;
  }

  .site-nav .nav-list > li:last-child > a,
  .site-nav .nav-list > li:last-child > a.featured,
  .site-nav .nav-list > li:last-child > a.featured:hover,
  .site-nav .nav-list > li:last-child > a.featured.active {
    border-bottom-color: rgba(255,255,255,.07) !important;
  }

  .site-nav .nav-list > li > a.featured,
  .site-nav .nav-list > li > a.featured:hover,
  .site-nav .nav-list > li > a.featured.active {
    color: #e7c65d !important;
  }

  .site-nav .nav-cta {
    width: 100%;
    margin-top: 20px;
    align-self: stretch;
  }
}

@media (max-width: 640px) {
  .site-nav {
    padding: 14px 20px 22px;
  }

  .site-nav .nav-list > li > a,
  .site-nav .nav-list > li > a.featured,
  .site-nav .nav-list > li > a.featured:hover,
  .site-nav .nav-list > li > a.featured.active {
    min-height: 56px;
  }

  .site-nav .nav-cta {
    margin-top: 18px;
  }
}


/* v73 — 주요 교육 분야: 모바일 친화형 요약 카드 */
.education-fields-section .section-head {
  max-width: 760px;
}
.education-fields-section .section-sub {
  margin-top: 14px;
  max-width: 620px;
  color: var(--fg-mut);
  font-size: 15px;
  line-height: 1.75;
}

.education-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.education-field {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--ink-900);
}

.education-field-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.education-field-code {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(77,154,230,.28);
  border-radius: 12px;
  background: rgba(77,154,230,.08);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
}

.education-field h3 {
  margin: 1px 0 5px;
  color: #fff;
  font-size: 19px;
  line-height: 1.35;
  word-break: keep-all;
}

.education-field-head p {
  margin: 0;
  color: var(--fg-faint);
  font-size: 13.5px;
  line-height: 1.55;
}

.education-field-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.education-field-items li {
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 9px;
  background: rgba(255,255,255,.035);
  color: var(--fg-mut);
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

@media (max-width: 820px) {
  .education-fields {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 26px;
  }

  .education-field {
    padding: 20px;
  }

  .education-field-items {
    margin-top: 17px;
  }
}

@media (max-width: 480px) {
  .education-fields-section .section-head h2 {
    font-size: clamp(30px, 9vw, 38px);
  }

  .education-fields-section .section-sub {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.65;
  }

  .education-field {
    padding: 17px 16px;
    border-radius: 15px;
  }

  .education-field-head {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
  }

  .education-field-code {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 11px;
  }

  .education-field h3 {
    font-size: 17px;
  }

  .education-field-head p {
    font-size: 12.5px;
  }

  .education-field-items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 15px;
  }

  .education-field-items li {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 8px 9px;
    font-size: 12px;
    line-height: 1.35;
    word-break: keep-all;
  }
}

@media (max-width: 360px) {
  .education-field-items {
    grid-template-columns: 1fr;
  }
}


/* v74 — home focus strip mobile refinement */
@media (max-width: 820px) {
  .focus-strip {
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .focus-strip-inner {
    min-height: 0;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 10px;
    padding-block: 14px;
  }

  .focus-strip-label {
    display: block;
    font-size: 10px;
    letter-spacing: .12em;
    line-height: 1.4;
  }

  .focus-strip ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .focus-strip li {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 11px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;
    background: rgba(255,255,255,.03);
    color: var(--fg-soft);
    font-size: 12.5px;
    line-height: 1.25;
    white-space: nowrap;
  }

  .focus-strip li:not(:last-child)::after {
    content: none;
  }
}

@media (max-width: 480px) {
  .focus-strip-inner {
    gap: 9px;
    padding-block: 12px;
  }

  .focus-strip-label {
    font-size: 9.5px;
  }

  .focus-strip ul {
    gap: 7px;
  }

  .focus-strip li {
    min-height: 32px;
    padding: 7px 10px;
    font-size: 12px;
  }
}

/* v75 — home mobile polish: quieter focus strip, cleaner transition, tidier console footer */
@media (max-width: 820px) {
  .focus-strip {
    padding: 0 var(--mobile-pad) 12px;
    border-top: 0;
    border-bottom: 0;
    background: linear-gradient(180deg, rgba(4, 10, 18, 0) 0%, rgba(4, 10, 18, .18) 100%);
  }

  .focus-strip .shell {
    width: 100%;
  }

  .focus-strip-inner {
    padding: 14px 16px 16px;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(11, 20, 34, .78), rgba(8, 15, 27, .94));
    box-shadow: 0 14px 28px rgba(0,0,0,.16);
  }

  .focus-strip-label {
    margin: 0;
    color: rgba(209, 220, 235, .72);
    font-size: 10px;
    letter-spacing: .11em;
  }

  .focus-strip ul {
    gap: 8px;
    justify-content: flex-start;
  }

  .focus-strip li {
    min-height: 35px;
    padding: 8px 12px;
    border-color: rgba(255,255,255,.07);
    background: rgba(255,255,255,.04);
    color: rgba(240, 245, 251, .95);
    font-weight: 600;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
  }

  .logo-console-foot {
    justify-content: flex-end;
    padding: 10px 12px;
  }

  .logo-console-foot > span:first-child {
    display: none;
  }

  .logo-rotation-state {
    font-size: 10.5px;
    letter-spacing: .08em;
  }

  #explore.section-paper {
    border-top-left-radius: 26px;
    border-top-right-radius: 26px;
    overflow: hidden;
  }

  #explore.section {
    padding-top: 46px;
  }

  #explore .section-head {
    margin-bottom: 24px;
  }
}

@media (max-width: 640px) {
  .focus-strip {
    padding: 0 var(--mobile-pad) 10px;
  }

  .focus-strip-inner {
    gap: 10px;
    padding: 13px 14px 14px;
    border-radius: 16px;
  }

  .focus-strip-label {
    font-size: 9.5px;
    letter-spacing: .1em;
  }

  .focus-strip ul {
    gap: 7px;
  }

  .focus-strip li {
    min-height: 34px;
    padding: 7px 11px;
    font-size: 12px;
  }

  .logo-console-foot {
    padding: 9px 12px 10px;
  }

  #explore.section {
    padding-top: 42px;
  }

  #explore .section-head h2 {
    max-width: 8.5ch;
    font-size: clamp(26px, 8vw, 34px);
    line-height: 1.12;
  }
}

/* v77 — home explore title stays on one line on phones */
@media (max-width: 640px) {
  #explore .section-head h2 {
    max-width: none;
    width: 100%;
    white-space: nowrap;
    font-size: clamp(20px, 5.7vw, 28px);
    line-height: 1.15;
    letter-spacing: -.045em;
  }
}

@media (max-width: 360px) {
  #explore .section-head h2 {
    font-size: 19px;
  }
}


/* v78 — simplify home focus strip: remove heading and keep only 3 items */
.focus-strip-inner {
  grid-template-columns: 1fr;
}

.focus-strip-label {
  display: none;
}

.focus-strip ul {
  justify-content: flex-start;
}

@media (max-width: 820px) {
  .focus-strip {
    padding-top: 6px;
  }

  .focus-strip-inner {
    gap: 0;
    padding-top: 12px;
    padding-bottom: 12px;
  }
}

@media (max-width: 640px) {
  .focus-strip-inner {
    padding: 12px 14px;
  }

  .focus-strip ul {
    gap: 8px;
  }

  .focus-strip li {
    min-width: 0;
  }
}


/* v83 — tablet hero: keep text + language panel side-by-side */
@media (min-width: 701px) and (max-width: 1180px) {
  .hero {
    padding-left: clamp(20px, 3vw, 32px);
    padding-right: clamp(20px, 3vw, 32px);
  }

  .hero-inner {
    grid-template-columns: minmax(0, .92fr) minmax(340px, 1.08fr) !important;
    gap: clamp(22px, 3vw, 36px) !important;
    align-items: center;
  }

  .hero-copy {
    max-width: 100%;
    min-width: 0;
  }

  .hero-title {
    font-size: clamp(36px, 5.2vw, 56px);
    line-height: 1.06;
  }

  .hero-lead {
    max-width: 42ch;
    font-size: clamp(14px, 1.55vw, 16px);
    line-height: 1.72;
  }

  .hero .actions {
    margin-top: 26px;
  }

  .hero-visual {
    width: 100%;
    min-width: 0;
    justify-content: flex-end !important;
  }

  .logo-console {
    width: 100% !important;
    max-width: 520px;
    margin-left: auto;
    margin-right: 0;
  }

  .logo-console-bar {
    padding: 11px 13px;
  }

  .logo-console-name {
    font-size: 10px;
  }

  .logo-console-badge {
    padding: 3px 8px;
    font-size: 9px;
  }

  .logo-console-body {
    padding: 14px !important;
  }

  .logo-console-eyebrow {
    font-size: 9.5px;
    letter-spacing: .1em;
  }

  .logo-console-headline h2 {
    margin-top: 7px;
    font-size: clamp(23px, 3vw, 30px) !important;
  }

  .logo-stage {
    margin-top: 12px;
    gap: 9px;
  }

  .logo-panels-clean {
    min-height: 205px !important;
    border-radius: 17px;
  }

  .logo-panels-clean .logo-panel {
    grid-template-columns: 76px minmax(0, 1fr) !important;
    gap: 14px !important;
    padding: 16px !important;
  }

  .logo-panels-clean .tech-logo {
    width: 68px !important;
    height: 68px !important;
  }

  .logo-panels-clean .logo-kind {
    margin-bottom: 4px !important;
    font-size: 9px;
  }

  .logo-panels-clean .logo-panel h3 {
    font-size: 22px !important;
  }

  .logo-panels-clean .logo-panel p:last-child {
    margin-top: 6px !important;
    max-width: 30ch;
    font-size: 12px !important;
    line-height: 1.5 !important;
  }

  .logo-tabs-clean {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 5px !important;
  }

  .logo-tabs-clean .logo-tab {
    min-height: 54px !important;
    padding: 6px 3px !important;
    border-radius: 11px !important;
  }

  .logo-tabs-clean .logo-tab-icon {
    width: 24px !important;
    height: 24px !important;
  }

  .logo-tabs-clean .logo-tab-copy strong {
    font-size: 9px !important;
  }

  .logo-console-foot {
    padding: 8px 11px;
  }

  .logo-rotation-state {
    font-size: 9px;
  }
}

/* phones can still stack naturally */
@media (max-width: 700px) {
  .hero-inner {
    grid-template-columns: 1fr !important;
  }
}


/* v87 — header SW mark + favicon alignment fix */
.brand-project-mark {
  width: 72px !important;
  height: 30px !important;
  flex: 0 0 72px !important;
  display: grid !important;
  place-items: center !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.brand-project-mark img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
  filter: none !important;
}

.brand {
  gap: 11px;
}

@media (max-width: 900px) {
  .brand-project-mark {
    width: 66px !important;
    height: 27px !important;
    flex-basis: 66px !important;
  }
}

@media (max-width: 640px) {
  .brand-project-mark {
    width: 60px !important;
    height: 25px !important;
    flex-basis: 60px !important;
  }

  .brand {
    gap: 9px;
  }
}

@media (max-width: 390px) {
  .brand-project-mark {
    width: 56px !important;
    height: 23px !important;
    flex-basis: 56px !important;
  }
}
