/* ==========================================================================
   J-CURVE PARTNERS — Design System
   Linear / Vercel inspired · Pure black · Minimal
   ========================================================================== */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+KR:wght@400;500;700;800&display=swap');

/* --- Tokens ---------------------------------------------------------------- */
:root {
  /* Surfaces */
  --bg:            #000000;
  --bg-elev:       #0A0A0A;
  --bg-card:       #0D0D0F;
  --bg-card-hover: #131316;

  /* Lines */
  --line:          rgba(255, 255, 255, 0.08);
  --line-strong:   rgba(255, 255, 255, 0.16);
  --line-soft:     rgba(255, 255, 255, 0.045);

  /* Text */
  --fg:            #FAFAFA;
  --fg-muted:      #A1A1A6;
  --fg-dim:        #6E6E76;
  --fg-faint:      #48484F;

  /* Accent — from the logo arrow */
  --accent:        #E03131;
  --accent-soft:   #FF5A5A;
  --accent-glow:   rgba(224, 49, 49, 0.35);

  /* Type */
  --font: 'Pretendard', 'Inter', 'Noto Sans KR', -apple-system, BlinkMacSystemFont,
          'Apple SD Gothic Neo', 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --mono: 'SFMono-Regular', ui-monospace, 'JetBrains Mono', Menlo, monospace;

  /* Layout */
  --max:    1200px;
  --max-nr: 880px;
  --nav-h:  64px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Reset ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  word-break: keep-all;
  overflow-wrap: break-word;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }

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

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #24242A; border-radius: 99px; border: 3px solid #000; }
::-webkit-scrollbar-thumb:hover { background: #35353D; }

/* --- Layout ---------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { width: 100%; max-width: var(--max-nr); margin: 0 auto; padding: 0 24px; }

.section { padding: 120px 0; position: relative; }
.section-sm { padding: 80px 0; }
.section-line { border-top: 1px solid var(--line-soft); }

/* --- Typography ------------------------------------------------------------ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-dim);
}
.eyebrow::before {
  content: ''; width: 18px; height: 1px; background: var(--accent);
}

h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.03em; line-height: 1.16; }

.h-display {
  font-size: clamp(40px, 7.2vw, 84px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.04;
}
.h1 { font-size: clamp(34px, 5.2vw, 60px); letter-spacing: -0.04em; line-height: 1.08; }
.h2 { font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -0.035em; line-height: 1.14; }
.h3 { font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -0.025em; line-height: 1.3; }
.h4 { font-size: 17px; letter-spacing: -0.02em; line-height: 1.45; }

.lead {
  font-size: clamp(16px, 1.35vw, 19px);
  color: var(--fg-muted);
  line-height: 1.7;
  letter-spacing: -0.012em;
}
.body { color: var(--fg-muted); font-size: 15.5px; line-height: 1.75; }
.small { font-size: 13.5px; color: var(--fg-dim); line-height: 1.6; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; }

.grad-text {
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 40%, #8A8A93 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.accent { color: var(--accent-soft); }

/* --- Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px;
  border-radius: 8px;
  font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em;
  white-space: nowrap;
  transition: all .22s var(--ease);
}
.btn-primary {
  background: #FFFFFF; color: #000;
  box-shadow: 0 1px 0 rgba(255,255,255,.2) inset;
}
.btn-primary:hover { background: #E4E4E7; transform: translateY(-1px); }

.btn-accent {
  background: var(--accent); color: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, 0 8px 30px -8px var(--accent-glow);
}
.btn-accent:hover { background: #F03A3A; transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset, 0 12px 36px -8px var(--accent-glow); }

.btn-ghost {
  background: rgba(255,255,255,.03); color: var(--fg);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: rgba(255,255,255,.07); border-color: var(--line-strong); }

.btn-sm { height: 36px; padding: 0 14px; font-size: 13.5px; border-radius: 7px; }
.btn-lg { height: 50px; padding: 0 26px; font-size: 15.5px; border-radius: 9px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14.5px; font-weight: 600; color: var(--fg);
  transition: gap .22s var(--ease), color .22s var(--ease);
}
.link-arrow svg { transition: transform .22s var(--ease); }
.link-arrow:hover { gap: 10px; color: var(--accent-soft); }

/* --- Navigation ------------------------------------------------------------ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
}
.nav.scrolled {
  background: rgba(0,0,0,.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--line);
}
.nav-inner {
  height: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo img { height: 22px; width: auto; }
.nav-logo { display: flex; align-items: center; opacity: .96; transition: opacity .2s; }
.nav-logo:hover { opacity: 1; }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a {
  position: relative;
  padding: 7px 13px; border-radius: 7px;
  font-size: 14px; font-weight: 500; color: var(--fg-muted);
  transition: color .18s, background .18s;
}
.nav-menu a:hover { color: var(--fg); background: rgba(255,255,255,.05); }
.nav-menu a.active { color: var(--fg); }
.nav-menu a.active::after {
  content: ''; position: absolute; left: 13px; right: 13px; bottom: -1px;
  height: 1px; background: var(--accent);
}
.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle { display: none; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 8px; }
.nav-toggle:hover { background: rgba(255,255,255,.06); }
.nav-toggle span { display: block; width: 17px; height: 1.5px; background: var(--fg); position: relative; transition: .25s var(--ease); }
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 17px; height: 1.5px; background: var(--fg); transition: .25s var(--ease);
}
.nav-toggle span::before { top: -5.5px; }
.nav-toggle span::after  { top: 5.5px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after  { top: 0; transform: rotate(-45deg); }

.nav-mobile {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  background: rgba(0,0,0,.96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 12px 24px 24px;
  display: none; flex-direction: column; gap: 2px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 13px 4px; font-size: 17px; font-weight: 600;
  color: var(--fg-muted); border-bottom: 1px solid var(--line-soft);
}
.nav-mobile a:last-of-type { border-bottom: none; }
.nav-mobile a.active { color: var(--accent-soft); }
.nav-mobile .btn { margin-top: 14px; width: 100%; }

/* --- Hero glow ------------------------------------------------------------- */
.glow {
  position: absolute; pointer-events: none; z-index: 0;
  border-radius: 50%; filter: blur(90px);
}
.glow-red {
  width: 620px; height: 420px;
  background: radial-gradient(closest-side, rgba(224,49,49,.20), transparent 72%);
}
.glow-white {
  width: 800px; height: 400px;
  background: radial-gradient(closest-side, rgba(255,255,255,.075), transparent 72%);
}

.grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
}

/* --- Badge / pill ---------------------------------------------------------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 13px 0 11px;
  border: 1px solid var(--line); border-radius: 99px;
  background: rgba(255,255,255,.03);
  font-size: 12.5px; font-weight: 500; color: var(--fg-muted);
  letter-spacing: -0.005em;
}
.pill .dot {
  width: 5px; height: 5px; border-radius: 99px; background: var(--accent);
  box-shadow: 0 0 0 3px rgba(224,49,49,.16);
}
.tag {
  display: inline-flex; align-items: center;
  height: 24px; padding: 0 9px;
  border: 1px solid var(--line); border-radius: 6px;
  background: rgba(255,255,255,.025);
  font-size: 11.5px; font-weight: 600; letter-spacing: .01em; color: var(--fg-dim);
}
.tag-accent { border-color: rgba(224,49,49,.3); background: rgba(224,49,49,.08); color: var(--accent-soft); }

/* --- Cards ----------------------------------------------------------------- */
.card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.card:hover { background: var(--bg-card-hover); border-color: var(--line-strong); }
.card-link:hover { transform: translateY(-3px); }

.card-num {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em;
  color: var(--fg-faint);
}

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* --- Metric ---------------------------------------------------------------- */
.metric-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: var(--bg-card);
}
.metric {
  padding: 30px 26px;
  border-right: 1px solid var(--line);
}
.metric:last-child { border-right: none; }
.metric-val {
  font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -0.04em;
  line-height: 1.1; margin-bottom: 6px;
}
.metric-val em { font-style: normal; color: var(--accent-soft); }
.metric-label { font-size: 13px; color: var(--fg-dim); letter-spacing: -0.005em; }

/* --- Marquee --------------------------------------------------------------- */
.marquee {
  position: relative; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: scroll 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 56px; padding-right: 56px; }
.marquee-item {
  font-size: 17px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--fg-faint); white-space: nowrap;
  transition: color .25s;
}
.marquee-item:hover { color: var(--fg-muted); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- Business / feature row ------------------------------------------------ */
.biz {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  padding: 72px 0; border-top: 1px solid var(--line-soft);
}
.biz:first-child { border-top: none; }
.biz.reverse .biz-visual { order: -1; }
.biz-visual {
  position: relative; aspect-ratio: 4/3; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255,255,255,.05), transparent 60%),
    var(--bg-card);
  display: flex; align-items: center; justify-content: center;
}

/* --- Timeline -------------------------------------------------------------- */
.timeline { position: relative; padding-left: 26px; }
.timeline::before {
  content: ''; position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 1px; background: linear-gradient(180deg, var(--accent), var(--line) 22%, var(--line) 78%, transparent);
}
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ''; position: absolute; left: -30px; top: 8px;
  width: 9px; height: 9px; border-radius: 99px;
  background: #17171B; border: 1.5px solid var(--line-strong);
}
.tl-item.hl::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px rgba(224,49,49,.15); }
.tl-year { font-family: var(--mono); font-size: 12px; color: var(--fg-dim); letter-spacing: .04em; margin-bottom: 5px; }
.tl-title { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 4px; }
.tl-desc { font-size: 14.5px; color: var(--fg-muted); line-height: 1.65; }

/* --- Accordion ------------------------------------------------------------- */
.acc { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--bg-card); }
.acc + .acc { margin-top: 14px; }
.acc-head {
  width: 100%; display: flex; align-items: flex-start; gap: 18px;
  padding: 24px 26px; text-align: left;
  transition: background .2s;
}
.acc-head:hover { background: rgba(255,255,255,.025); }
.acc-head-main { flex: 1; min-width: 0; }
.acc-icon {
  flex-shrink: 0; width: 26px; height: 26px; margin-top: 2px;
  border: 1px solid var(--line); border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease), border-color .2s, background .2s;
}
.acc.open .acc-icon { transform: rotate(45deg); border-color: rgba(224,49,49,.4); background: rgba(224,49,49,.1); }
.acc-body {
  max-height: 0; overflow: hidden;
  transition: max-height .4s var(--ease);
}
.acc.open .acc-body { max-height: 3000px; }
.acc-body-inner { padding: 0 26px 26px; }

/* --- Curriculum table ------------------------------------------------------ */
.ctable { width: 100%; border-collapse: collapse; font-size: 14px; }
.ctable th {
  text-align: left; padding: 11px 14px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--fg-dim);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.02);
}
.ctable td {
  padding: 15px 14px; vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
  color: var(--fg-muted); line-height: 1.6;
}
.ctable tr:last-child td { border-bottom: none; }
.ctable td:first-child { color: var(--fg); font-weight: 600; white-space: nowrap; }
.ctable td:last-child { text-align: right; white-space: nowrap; font-family: var(--mono); font-size: 12.5px; color: var(--fg-dim); }
.ctable ul li { position: relative; padding-left: 13px; margin-bottom: 3px; }
.ctable ul li::before { content: ''; position: absolute; left: 0; top: 10px; width: 4px; height: 1px; background: var(--fg-faint); }
.ctable-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-elev); }

/* --- News list ------------------------------------------------------------- */
.news-item {
  display: grid; grid-template-columns: 116px 1fr auto; gap: 28px; align-items: baseline;
  padding: 26px 4px;
  border-bottom: 1px solid var(--line-soft);
  transition: background .2s, padding-left .25s var(--ease);
}
.news-item:hover { background: rgba(255,255,255,.02); padding-left: 14px; }
.news-date { font-family: var(--mono); font-size: 12.5px; color: var(--fg-dim); letter-spacing: .03em; }
.news-title { font-size: 16.5px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.5; }
.news-meta { font-size: 13px; color: var(--fg-dim); margin-top: 5px; }

.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.filter {
  height: 34px; padding: 0 15px; border-radius: 99px;
  border: 1px solid var(--line); background: rgba(255,255,255,.02);
  font-size: 13.5px; font-weight: 500; color: var(--fg-dim);
  transition: all .2s;
}
.filter:hover { color: var(--fg); border-color: var(--line-strong); }
.filter.active { background: #fff; color: #000; border-color: #fff; font-weight: 600; }

/* --- Job list -------------------------------------------------------------- */
.job {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 26px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg-card);
  transition: all .25s var(--ease);
}
.job:hover { border-color: var(--line-strong); background: var(--bg-card-hover); transform: translateY(-2px); }
.job + .job { margin-top: 12px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; }

/* --- Form ------------------------------------------------------------------ */
.field { margin-bottom: 18px; }
.field label {
  display: block; margin-bottom: 8px;
  font-size: 13px; font-weight: 600; color: var(--fg-muted); letter-spacing: -0.005em;
}
.field label .req { color: var(--accent-soft); margin-left: 3px; }
.input, .textarea, .select {
  width: 100%; padding: 12px 14px;
  background: var(--bg-elev); color: var(--fg);
  border: 1px solid var(--line); border-radius: 9px;
  font-family: var(--font); font-size: 14.5px; letter-spacing: -0.01em;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.input::placeholder, .textarea::placeholder { color: var(--fg-faint); }
.input:focus, .textarea:focus, .select:focus {
  outline: none; border-color: rgba(224,49,49,.5); background: #101012;
  box-shadow: 0 0 0 3px rgba(224,49,49,.10);
}
.textarea { min-height: 132px; resize: vertical; line-height: 1.6; }
.select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%236E6E76' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.select option { background: #0A0A0A; }
.radio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.radio-card {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 15px; border: 1px solid var(--line); border-radius: 9px;
  background: var(--bg-elev); cursor: pointer;
  font-size: 14px; color: var(--fg-muted);
  transition: all .2s;
}
.radio-card:hover { border-color: var(--line-strong); color: var(--fg); }
.radio-card input { accent-color: var(--accent); width: 15px; height: 15px; cursor: pointer; }
.radio-card:has(input:checked) { border-color: rgba(224,49,49,.5); background: rgba(224,49,49,.06); color: var(--fg); }
.check-row { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--fg-dim); line-height: 1.6; }
.check-row input { accent-color: var(--accent); margin-top: 3px; width: 15px; height: 15px; cursor: pointer; }
.form-note {
  display: none; margin-top: 16px; padding: 14px 16px;
  border: 1px solid rgba(224,49,49,.3); border-radius: 10px;
  background: rgba(224,49,49,.07); font-size: 13.5px; color: var(--fg-muted);
}
.form-note.show { display: block; }

/* --- CTA band -------------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: 20px;
  background: var(--bg-card);
  padding: 68px 48px; text-align: center;
}

/* --- Footer ---------------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 40px; background: #000; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid var(--line-soft);
}
.footer-logo img { height: 24px; margin-bottom: 18px; opacity: .9; }
.footer-col h5 {
  font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--fg-faint); margin-bottom: 15px;
}
.footer-col a, .footer-col p { display: block; font-size: 14px; color: var(--fg-dim); padding: 5px 0; transition: color .18s; }
.footer-col a:hover { color: var(--fg); }
.footer-bot {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-top: 26px; flex-wrap: wrap;
}
.footer-bot p { font-size: 12.5px; color: var(--fg-faint); }

/* --- Page header ----------------------------------------------------------- */
.page-head {
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 96px) 0 72px;
  border-bottom: 1px solid var(--line-soft);
}

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

/* --- Utilities ------------------------------------------------------------- */
.stack-8  > * + * { margin-top: 8px; }
.stack-12 > * + * { margin-top: 12px; }
.stack-16 > * + * { margin-top: 16px; }
.stack-24 > * + * { margin-top: 24px; }
.stack-32 > * + * { margin-top: 32px; }
.mt-8{margin-top:8px}.mt-12{margin-top:12px}.mt-16{margin-top:16px}.mt-20{margin-top:20px}
.mt-24{margin-top:24px}.mt-32{margin-top:32px}.mt-40{margin-top:40px}.mt-48{margin-top:48px}
.mt-56{margin-top:56px}.mt-64{margin-top:64px}.mb-12{margin-bottom:12px}.mb-16{margin-bottom:16px}
.mb-24{margin-bottom:24px}.mb-32{margin-bottom:32px}.mb-40{margin-bottom:40px}.mb-48{margin-bottom:48px}
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.center { text-align: center; }
.maxw-680 { max-width: 680px; }
.maxw-760 { max-width: 760px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.rel { position: relative; z-index: 1; }

/* --- Responsive ------------------------------------------------------------ */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .metric-row { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: none; }
  .metric:nth-child(1), .metric:nth-child(2) { border-bottom: 1px solid var(--line); }
  .biz { grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }
  .biz.reverse .biz-visual { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 760px) {
  .nav-menu, .nav-cta .btn-desktop { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 80px 0; }
  .section-sm { padding: 56px 0; }
  .page-head { padding: calc(var(--nav-h) + 64px) 0 52px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .metric-row { grid-template-columns: 1fr; }
  .metric { border-right: none; border-bottom: 1px solid var(--line); }
  .metric:last-child { border-bottom: none; }
  .news-item { grid-template-columns: 1fr; gap: 8px; }
  .news-item .tag { justify-self: start; }
  .cta-band { padding: 48px 24px; }
  .job { flex-direction: column; align-items: flex-start; gap: 18px; }
  .job .btn { width: 100%; }
  .radio-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .card { padding: 22px; }
  .acc-head { padding: 20px; gap: 12px; }
  .acc-body-inner { padding: 0 20px 20px; }
  .wrap, .wrap-narrow { padding: 0 20px; }
}

/* ==========================================================================
   Business Directory Tree (Work page)
   ========================================================================== */

.tree { position: relative; padding-top: 8px; }

/* --- Root node --- */
.tree-root {
  position: relative;
  max-width: 300px; margin: 0 auto 56px;
  padding: 18px 22px;
  border: 1px solid var(--line-strong); border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  text-align: center;
}
.tree-root::after {
  content: ''; position: absolute; left: 50%; bottom: -28px;
  width: 1px; height: 28px; background: var(--line-strong);
}
.tree-root .mono { color: var(--fg-faint); display: block; margin-bottom: 4px; }
.tree-root h3 { font-size: 17px; letter-spacing: -0.02em; }

/* --- Branch row --- */
.tree-branches {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.tree-branches::before {
  content: ''; position: absolute; top: -28px; left: 16.666%; right: 16.666%;
  height: 1px; background: var(--line-strong);
}
.tree-col { position: relative; }
.tree-col::before {
  content: ''; position: absolute; top: -28px; left: 50%;
  width: 1px; height: 28px; background: var(--line-strong);
}

/* --- Node card --- */
.tree-node {
  display: block; width: 100%; text-align: left;
  padding: 22px;
  border: 1px solid var(--line); border-radius: 13px;
  background: var(--bg-card);
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.tree-node:hover { border-color: var(--line-strong); background: var(--bg-card-hover); transform: translateY(-2px); }
.tree-node .card-num { transition: color .25s; }
.tree-node .tn-title {
  display: block; font-size: 19px; font-weight: 700; letter-spacing: -0.025em;
  margin-top: 12px;
}
.tree-node .tn-desc { display: block; font-size: 13.5px; color: var(--fg-dim); line-height: 1.55; margin-top: 7px; }
.tree-node .tn-open {
  display: flex; align-items: center; gap: 6px; margin-top: 16px;
  font-size: 12.5px; font-weight: 600; color: var(--fg-faint);
  transition: color .25s, gap .25s var(--ease);
}
.tree-node:hover .tn-open { color: var(--fg-muted); gap: 9px; }

.tree-node.active {
  border-color: rgba(224,49,49,.55);
  background: linear-gradient(180deg, rgba(224,49,49,.10), rgba(224,49,49,.02));
  box-shadow: 0 0 0 1px rgba(224,49,49,.16), 0 14px 40px -18px var(--accent-glow);
}
.tree-node.active .card-num { color: var(--accent-soft); }
.tree-node.active .tn-open { color: var(--accent-soft); }
.tree-node.active .tn-open svg { transform: rotate(90deg); }
.tree-node.active:hover { transform: none; }

/* --- Sub items (directory style) --- */
.tree-sub { position: relative; margin: 16px 0 0 22px; padding-left: 16px; }
.tree-sub::before {
  content: ''; position: absolute; left: 0; top: -6px;
  width: 1px; height: calc(100% - 10px); background: var(--line);
}
.tree-sub li { position: relative; margin-bottom: 4px; }
.tree-sub li:last-child { margin-bottom: 0; }
.tree-sub li::before {
  content: ''; position: absolute; left: -16px; top: 13px;
  width: 12px; height: 1px; background: var(--line);
}
.tree-sub button {
  display: block; width: 100%; text-align: left;
  padding: 3px 8px; margin-left: -8px; border-radius: 6px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: -0.005em;
  color: var(--fg-dim);
  transition: color .18s, background .18s;
}
.tree-sub button:hover { color: var(--fg); background: rgba(255,255,255,.04); }
.tree-col.active .tree-sub button { color: var(--fg-muted); }
.tree-col.active .tree-sub::before,
.tree-col.active .tree-sub li::before { background: rgba(224,49,49,.35); }

/* --- Panels --- */
.panel { display: none; }
.panel.active { display: block; animation: panelIn .45s var(--ease); }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.panel-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding-bottom: 28px; margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.panel-nav { display: flex; align-items: center; gap: 8px; }
.panel-nav-btn {
  display: inline-flex; align-items: center; gap: 7px;
  height: 36px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 8px;
  background: rgba(255,255,255,.02);
  font-size: 13px; font-weight: 500; color: var(--fg-dim);
  transition: all .2s;
}
.panel-nav-btn:hover { color: var(--fg); border-color: var(--line-strong); background: rgba(255,255,255,.06); }

.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em;
  color: var(--fg-faint); margin-bottom: 14px;
}
.breadcrumb .sep { color: var(--fg-faint); opacity: .5; }
.breadcrumb .cur { color: var(--accent-soft); }

@media (max-width: 980px) {
  .tree-branches { grid-template-columns: 1fr; gap: 14px; }
  .tree-branches::before { display: none; }
  .tree-col::before { display: none; }
  .tree-root { margin-bottom: 32px; max-width: 100%; }
  .tree-root::after { display: none; }
  .tree-sub { margin-left: 18px; }
  .panel-head { margin-bottom: 32px; }
  .panel-nav { width: 100%; }
  .panel-nav-btn { flex: 1; justify-content: center; }
}

.tree-node .lbl-open { display: none; }
.tree-node.active .lbl-closed { display: none; }
.tree-node.active .lbl-open { display: inline; }

/* ==========================================================================
   Client logo grid
   ========================================================================== */

.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.logo-cell {
  display: flex; align-items: center; justify-content: center;
  min-height: 108px; padding: 22px 16px;
  background: var(--bg-card);
  transition: background .25s var(--ease);
}
.logo-cell:hover { background: var(--bg-card-hover); }
.logo-cell img {
  height: 32px; width: auto; max-width: 100%;
  opacity: .45;
  filter: grayscale(1) brightness(1.35);
  transition: opacity .28s var(--ease), transform .28s var(--ease);
}
.logo-cell:hover img { opacity: 1; transform: scale(1.05); }

.logo-cell-more {
  display: flex; align-items: center; justify-content: center;
  min-height: 108px; padding: 22px 16px;
  background: var(--bg-card);
  font-size: 13px; font-weight: 500; color: var(--fg-faint);
  letter-spacing: -0.005em;
}

@media (max-width: 980px) {
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .logo-cell, .logo-cell-more { min-height: 92px; padding: 18px 12px; }
  .logo-cell img { height: 27px; }
}
@media (max-width: 560px) {
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-cell img { height: 24px; }
}

.br-mobile { display: inline; }
@media (max-width: 560px) { .br-mobile { display: none; } }

/* ==========================================================================
   추가 컴포넌트 — 로고 마퀴 / 강연 사진 / 산출물 / 제품 / 커리큘럼 / FAQ
   ========================================================================== */

/* --- Logo marquee ---------------------------------------------------------- */
.logo-marquee { padding: 15px 0; }
.logo-track { display: flex; width: max-content; animation: scroll 62s linear infinite; }
.logo-track.rev { animation-name: scroll-rev; animation-duration: 54s; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-group { display: flex; align-items: center; gap: 60px; padding-right: 60px; }
.logo-item { flex: none; height: 34px; display: flex; align-items: center; opacity: .42; transition: opacity .25s var(--ease); }
.logo-item:hover { opacity: .95; }
.logo-item img { max-height: 100%; max-width: 150px; width: auto; object-fit: contain; }
@keyframes scroll-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* --- Photo gallery --------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.shot { position: relative; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-card); }
.shot:first-child { grid-column: span 2; grid-row: span 2; }
.shot img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; filter: saturate(.88) brightness(.92); transition: filter .45s var(--ease), transform .8s var(--ease); }
.shot:first-child img { aspect-ratio: auto; }
.shot:hover img { filter: saturate(1) brightness(1); transform: scale(1.035); }
.shot figcaption { position: absolute; inset: auto 0 0 0; padding: 44px 18px 16px; font-size: 13.5px; font-weight: 500; letter-spacing: -.01em; line-height: 1.5; color: var(--fg); background: linear-gradient(to top, rgba(0,0,0,.92) 22%, transparent); }
.shot:first-child figcaption { font-size: 15.5px; padding: 54px 22px 20px; }

/* --- Work sample ----------------------------------------------------------- */
.sample { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 56px; align-items: start; }
.docs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.docs a { display: block; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; transition: transform .25s var(--ease), border-color .25s; }
.docs a:first-child { grid-column: span 2; }
.docs a:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.docs img { width: 100%; }

/* --- Product cards --------------------------------------------------------- */
.prods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.prod { overflow: hidden; padding: 0; }
.prod-img { width: 100%; aspect-ratio: 1024/500; object-fit: cover; border-bottom: 1px solid var(--line); transition: transform .8s var(--ease); }
.prod:hover .prod-img { transform: scale(1.03); }
.prod-imgwrap { overflow: hidden; }
.prod-body { padding: 24px 26px 26px; }

/* --- Course list ----------------------------------------------------------- */
.course { display: grid; grid-template-columns: 132px 1fr auto; gap: 24px; align-items: baseline; padding: 22px 4px; border-bottom: 1px solid var(--line-soft); transition: background .2s, padding-left .25s var(--ease); }
.course:first-of-type { border-top: 1px solid var(--line-soft); }
.course:hover { background: rgba(255,255,255,.02); padding-left: 14px; }
.course-plat { font-size: 13px; font-weight: 700; color: var(--accent-soft); letter-spacing: -.01em; }
.course-title { font-size: 16.5px; font-weight: 600; letter-spacing: -.02em; line-height: 1.5; }
.course-meta { font-size: 13px; color: var(--fg-dim); white-space: nowrap; }

/* --- Curriculum cards ------------------------------------------------------ */
.curri { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.curri .card { display: flex; flex-direction: column; gap: 12px; }
.curri-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.curri-hours { font-family: var(--mono); font-size: 12.5px; color: var(--fg-dim); white-space: nowrap; }

/* --- Record (출강 이력) ------------------------------------------------------ */
.record { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.rec-list { display: grid; }
.rec-row { display: grid; grid-template-columns: 70px 1fr; gap: 14px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.rec-row:last-child { border-bottom: none; }
.rec-date { font-family: var(--mono); font-size: 12px; color: var(--fg-faint); letter-spacing: .03em; }
.rec-name { font-size: 14.5px; font-weight: 500; color: var(--fg-muted); letter-spacing: -.01em; }

/* --- Statement ------------------------------------------------------------- */
.statement { max-width: 900px; }
.statement h2 { margin-bottom: 26px; }
.statement p + p { margin-top: 16px; }

@media (max-width: 980px) {
  .sample, .prods, .curri, .gallery { grid-template-columns: 1fr 1fr; }
  .record { grid-template-columns: 1fr; }
  .shot:first-child { grid-column: span 2; grid-row: auto; }
  .shot:first-child img { aspect-ratio: 16/9; }
  .course { grid-template-columns: 1fr; gap: 4px; }
  .course-meta { white-space: normal; }
}
@media (max-width: 640px) {
  .sample, .prods, .curri, .gallery, .docs { grid-template-columns: 1fr; }
  .shot:first-child, .docs a:first-child { grid-column: auto; }
  .logo-item { height: 26px; }
}

/* --- Division section ------------------------------------------------------ */
.div-head { display: grid; grid-template-columns: 92px 1fr; gap: 28px; align-items: start; margin-bottom: 44px; }
.div-num {
  font-family: var(--mono); font-size: 13px; letter-spacing: .12em; color: var(--accent-soft);
  padding-top: 10px; border-top: 1px solid rgba(224,49,49,.35);
}
.div-en { font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-faint); margin-bottom: 12px; }
.div-title { font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.div-lead { margin-top: 20px; max-width: 760px; }
.div-lead b { color: var(--fg); font-weight: 700; }

.subs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.subs.four { grid-template-columns: repeat(4, 1fr); }
.sub-k { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; color: var(--fg-faint); margin-bottom: 12px; }
.sub-t { font-size: 16.5px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }

/* --- Brand block (노모어 댕댕이 등) ------------------------------------------ */
.brand-block { display: grid; grid-template-columns: minmax(0,340px) minmax(0,1fr); gap: 48px; align-items: center; }
.brand-visual { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.brand-visual img { width: 100%; display: block; }
.brand-points { display: grid; gap: 14px; margin-top: 24px; }
.brand-point { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; }
.brand-point i {
  width: 20px; height: 20px; border-radius: 99px; margin-top: 2px;
  border: 1px solid rgba(224,49,49,.4); background: rgba(224,49,49,.1);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 10px; font-style: normal; color: var(--accent-soft);
}

@media (max-width: 980px) {
  .div-head { grid-template-columns: 1fr; gap: 14px; }
  .div-num { padding-top: 8px; }
  .subs, .subs.four { grid-template-columns: repeat(2, 1fr); }
  .brand-block { grid-template-columns: 1fr; }
  .brand-visual { max-width: 340px; }
}
@media (max-width: 640px) {
  .subs, .subs.four { grid-template-columns: 1fr; }
}

/* --- Language switch ------------------------------------------------------- */
.lang { display: inline-flex; align-items: center; gap: 1px; padding: 2px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.03); }
.lang button {
  height: 28px; min-width: 32px; padding: 0 7px; border-radius: 6px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .04em; color: var(--fg-dim);
  transition: color .18s, background .18s;
}
.lang button:hover { color: var(--fg); background: rgba(255,255,255,.06); }
.lang button.on { background: #fff; color: #000; }
.nav-mobile .lang { margin-top: 14px; align-self: flex-start; }

html[lang="ja"] body { font-family: 'Noto Sans JP', 'Pretendard', 'Inter', -apple-system, 'Hiragino Sans', 'Yu Gothic', sans-serif; }
html[lang="zh"] body { font-family: 'Noto Sans SC', 'Pretendard', 'Inter', -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif; }
html[lang="ja"] body, html[lang="zh"] body { word-break: normal; }

@media (max-width: 640px) { .nav .lang { display: none; } }
