/* =========================================================
   Built with Devin — 서비스 소개 페이지
   ========================================================= */

:root {
  --bg: #0b1020;
  --bg-soft: #101830;
  --panel: #131c38;
  --panel-2: #18213f;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eaf0ff;
  --text-soft: #a9b5d6;
  --text-dim: #7d8ab0;
  --brand: #6d8cff;
  --brand-2: #22d3ee;
  --fde: #6d8cff;
  --data: #34d399;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
  --max: 1180px;
  --font: "Inter", "Noto Sans KR", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  word-break: keep-all;
  overflow-wrap: break-word;
}

h1, h2, h3 { line-height: 1.28; margin: 0 0 .5em; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
ul, ol, dl { margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: .9em;
  background: rgba(109, 140, 255, 0.14);
  border: 1px solid rgba(109, 140, 255, 0.25);
  color: #c6d4ff;
  padding: .1em .45em;
  border-radius: 6px;
  white-space: nowrap;
}
strong, b { color: #fff; font-weight: 700; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 16, 32, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #06122b;
  font-size: .95rem;
}
.brand-text strong { letter-spacing: -0.01em; }
.brand-text { display: inline-flex; align-items: center; gap: 7px; }
.brand-otter { width: 34px; height: auto; flex: none; }
.brand-logo { height: 20px; width: auto; display: block; }
.footer-brand .brand-logo { height: 22px; }
.footer-otter { width: 30px; height: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-menu a {
  display: block;
  padding: 8px 13px;
  border-radius: 9px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: background .18s ease, color .18s ease;
}
.nav-menu a:hover,
.nav-menu a:focus-visible {
  background: rgba(109, 140, 255, 0.15);
  color: #fff;
  outline: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 38px;
  padding: 0 9px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform .22s ease, opacity .22s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 88px 0 72px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-glow {
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 620px;
  background:
    radial-gradient(560px 320px at 22% 30%, rgba(109, 140, 255, 0.32), transparent 70%),
    radial-gradient(520px 300px at 78% 12%, rgba(34, 211, 238, 0.22), transparent 70%),
    radial-gradient(420px 260px at 60% 70%, rgba(52, 211, 153, 0.12), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
}
.hero-mascot {
  position: relative;
  margin: 0;
  display: grid;
  place-items: center;
}
.hero-mascot img {
  position: relative;
  width: min(100%, 400px);
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .45));
  animation: mascot-float 5s ease-in-out infinite;
}
.mascot-ring {
  position: absolute;
  width: 88%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 140, 255, .35), rgba(34, 211, 238, .12) 55%, transparent 70%);
  border: 1px solid rgba(109, 140, 255, .25);
  box-shadow: 0 0 80px rgba(34, 211, 238, .18), inset 0 0 60px rgba(109, 140, 255, .18);
}
@keyframes mascot-float {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-14px) rotate(1.5deg); }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 14px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #cdd8ff;
  background: rgba(109, 140, 255, 0.13);
  border: 1px solid rgba(109, 140, 255, 0.28);
  border-radius: 999px;
}
.hero h1 {
  font-size: clamp(2rem, 5.2vw, 3.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.grad {
  background: linear-gradient(100deg, #7c9bff 8%, #22d3ee 55%, #34d399 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  max-width: 720px;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  list-style: none;
  margin: 30px 0 34px;
}
.stat {
  flex: 1 1 150px;
  min-width: 140px;
  padding: 16px 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-sm);
}
.stat:nth-child(2) { border-left-color: var(--brand-2); }
.stat:nth-child(3) { border-left-color: var(--data); }
.stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.stat-label { font-size: .85rem; color: var(--text-dim); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: .96rem;
  border: 1px solid transparent;
  transition: transform .16s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #05122c;
  box-shadow: 0 12px 30px rgba(83, 130, 255, 0.32);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

/* ---------- Sections ---------- */
.section { padding: 78px 0; }
.section-alt {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0)),
    var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head { max-width: 760px; margin-bottom: 42px; }
.section-head h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}
.section-sub { color: var(--text-soft); margin-bottom: 0; }
.eyebrow-fde { color: #d5ddff; background: rgba(109, 140, 255, 0.16); border-color: rgba(109, 140, 255, 0.35); }
.eyebrow-data { color: #bff6e2; background: rgba(52, 211, 153, 0.13); border-color: rgba(52, 211, 153, 0.32); }

.section-off { display: none !important; }

/* ---------- Devin AI ---------- */
.devin-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
}
.devin-item {
  padding: 24px 20px 22px;
  background: linear-gradient(165deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .2s ease, transform .2s ease;
}
.devin-item:hover { border-color: rgba(34, 211, 238, 0.45); transform: translateY(-3px); }
.devin-item h3 { font-size: 1rem; margin-bottom: 6px; }
.devin-item p { font-size: .88rem; color: var(--text-soft); margin: 0; }
.devin-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Pipeline ---------- */
.pipeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  list-style: none;
  counter-reset: pipe;
}
.pipe-step {
  position: relative;
  padding: 24px 20px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .2s ease, transform .2s ease;
}
.pipe-step:hover { border-color: rgba(109, 140, 255, 0.5); transform: translateY(-3px); }
.pipe-step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -12px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--line-strong);
  border-right: 2px solid var(--line-strong);
  transform: translateY(-50%) rotate(45deg);
}
.pipe-step:last-child::after { display: none; }
.pipe-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 11px;
  background: rgba(109, 140, 255, 0.14);
  border: 1px solid rgba(109, 140, 255, 0.3);
  color: #a9bdff;
}
.pipe-step h3 { font-size: 1rem; margin-bottom: 6px; }
.pipe-step p { font-size: .88rem; color: var(--text-soft); margin: 0; }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  padding: 26px 26px 20px;
  background: linear-gradient(165deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(109, 140, 255, 0.42); }
.card-featured { border-color: rgba(109, 140, 255, 0.38); }
#data .card { border-top: 2px solid rgba(52, 211, 153, 0.4); }
#data .card:hover { border-color: rgba(52, 211, 153, 0.55); }

.card-top { margin-bottom: 12px; }
.card-index {
  display: inline-block;
  margin-bottom: 10px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--brand);
}
#data .card-index { color: var(--data); }
.card-top h3 {
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.card-tag { font-size: .9rem; color: var(--text-dim); margin: 0; font-weight: 500; }
.card-desc { color: var(--text-soft); font-size: .94rem; }

.feature-list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.feature-list li {
  position: relative;
  padding-left: 22px;
  font-size: .885rem;
  color: var(--text-soft);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .58em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(109, 140, 255, 0.85);
  box-shadow: 0 0 0 3px rgba(109, 140, 255, 0.14);
}
#data .feature-list li::before {
  background: rgba(52, 211, 153, 0.9);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.14);
}
.feature-list li b { color: #e8eeff; font-weight: 700; }

.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: .82rem;
}
.meta-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(109, 140, 255, 0.13);
  border: 1px solid rgba(109, 140, 255, 0.3);
  color: #c9d6ff;
  font-weight: 600;
  word-break: break-all;
  transition: background .18s ease;
}
.meta-link:hover { background: rgba(109, 140, 255, 0.26); }
#data .meta-link {
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.3);
  color: #c4f5e3;
}
#data .meta-link:hover { background: rgba(52, 211, 153, 0.24); }
.meta-tech { color: var(--text-dim); }
.meta-pr {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: var(--text-soft);
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- English list ---------- */
.english-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.en-item {
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand-2);
  border-radius: var(--radius-sm);
}
.en-item:nth-child(even) { border-left-color: var(--brand); }
.en-item dt {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 6px;
}
.en-item dd { margin: 0; font-size: .9rem; color: var(--text-soft); }

/* ---------- Footer ---------- */
.site-footer {
  padding: 44px 0 54px;
  border-top: 1px solid var(--line);
  background: #080d1c;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1.02rem;
  margin-bottom: 10px;
}
.footer-brand i { color: var(--brand-2); }
.footer-note { color: var(--text-dim); font-size: .88rem; margin-bottom: 6px; }
.footer-copy { color: #61708f; font-size: .8rem; margin: 0; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .pipe-step:hover { transform: none; }
  .hero-mascot img { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .pipeline { grid-template-columns: repeat(3, 1fr); }
  .pipe-step:nth-child(3)::after { display: none; }
  .devin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .lang-toggle { order: 1; margin-left: auto; margin-right: 10px; }
  .brand-text { white-space: nowrap; }
  .nav-toggle { order: 2; }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 18px 18px;
    background: rgba(11, 16, 32, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { padding: 12px 14px; font-size: .98rem; }

  .hero { padding: 64px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 8px; }
  .hero-mascot { order: -1; }
  .hero-mascot img { width: 200px; }
  .mascot-ring { width: 230px; }
  .cards, .cards-2, .english-list { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: repeat(2, 1fr); }
  .pipe-step::after { display: none; }
  .meta-pr { margin-left: 0; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .section { padding: 58px 0; }
  .hero { padding: 52px 0 46px; }
  .pipeline { grid-template-columns: 1fr; }
  .devin-grid { grid-template-columns: 1fr; }
  .devin-links .btn { flex: 1 1 100%; justify-content: center; }
  .stat-row { gap: 8px; }
  .stat { flex: 1 1 0; min-width: 0; padding: 12px 12px; }
  .stat-num { font-size: 1.4rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .card { padding: 22px 18px 16px; }
  .card-top h3 { font-size: 1.18rem; }
  .meta-link { width: 100%; }
}

/* ---------- Showcase effects ---------- */
.starfield { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 0 0 rgba(34, 211, 238, .7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, .6); }
  70% { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}
.grad { background-size: 200% auto; animation: shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: 200% center; } }
.hero-glow { animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(4%, 3%, 0) scale(1.06); } }

.nav-cta,
.nav-menu a.nav-cta,
.nav-menu a.nav-cta:hover,
.nav-menu a.nav-cta:focus-visible { color: #05122c !important; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.nav-cta:hover { filter: brightness(1.1); }

.card { position: relative; overflow: hidden; }
.card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -20%), rgba(109, 140, 255, .14), transparent 45%);
  opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
#data .card::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -20%), rgba(52, 211, 153, .13), transparent 45%); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card:hover { box-shadow: var(--shadow), 0 0 40px rgba(109, 140, 255, .14); }
#data .card:hover { box-shadow: var(--shadow), 0 0 40px rgba(52, 211, 153, .12); }

/* ---------- Contact CTA ---------- */
.cta-box {
  position: relative; overflow: hidden;
  padding: 56px 40px; text-align: center;
  border: 1px solid var(--line-strong); border-radius: 24px;
  background: linear-gradient(160deg, rgba(109, 140, 255, .14), rgba(34, 211, 238, .06) 50%, rgba(52, 211, 153, .08));
}
.cta-glow {
  position: absolute; inset: -40% 20% auto; height: 300px;
  background: radial-gradient(closest-side, rgba(109, 140, 255, .35), transparent);
  pointer-events: none;
}
.cta-box > :not(.cta-glow) { position: relative; }
.cta-video {
  width: min(100%, 720px); aspect-ratio: 16 / 9; margin: 0 auto 36px;
  border-radius: 16px; overflow: hidden; background: #000;
  border: 1px solid var(--line-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 0 0 6px rgba(109, 140, 255, .12);
}
.cta-video iframe { display: block; width: 100%; height: 100%; border: 0; }
.cta-box h2 { font-size: clamp(1.5rem, 3.2vw, 2.15rem); font-weight: 800; letter-spacing: -0.025em; }
.cta-box .section-sub { margin: 0 auto 28px; }
.cta-actions { justify-content: center; }
.cta-profile {
  display: flex; align-items: center; gap: 14px;
  justify-content: center; margin-top: 40px; padding-top: 24px;
  border-top: 1px solid var(--line-strong); text-align: left;
}
.cta-profile-photo {
  width: 64px; height: 64px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(255, 255, 255, .7);
  box-shadow: 0 0 0 4px rgba(109, 140, 255, .25);
}
.cta-profile-text { display: flex; flex-direction: column; line-height: 1.35; }
.cta-profile-text strong { color: #fff; font-size: 1rem; }
.cta-profile-text span { color: var(--text-dim); font-size: .85rem; }
.cta-profile-link { margin-left: 4px; color: #70b5f9; font-size: 1.1rem; vertical-align: -1px; }
.cta-profile-link:hover { color: #fff; }

.btn-kakao { background: #fee500; color: #191919; border-color: #fee500; }
.btn-kakao:hover { filter: brightness(1.05); }
.btn-linkedin { background: #0a66c2; color: #fff; border-color: #0a66c2; }
.btn-linkedin:hover { filter: brightness(1.1); }
.text-link { color: var(--brand-2); font-weight: 600; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }

/* ---------- Footer links ---------- */
.footer-copy a { color: var(--text-soft); }
.footer-copy a:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .grad, .hero-glow, .pulse-dot { animation: none; }
}
@media (max-width: 860px) {
  .cta-box { padding: 40px 20px; }
}
@media (max-width: 560px) {
  .cta-actions .btn { padding: 13px 14px; font-size: .92rem; }
}

/* Active nav item */
.nav-menu a.is-active:not(.nav-cta) { color: #fff; background: rgba(109, 140, 255, .16); }
.nav-menu a.nav-cta.is-active { box-shadow: 0 0 0 2px rgba(255, 255, 255, .85); }

/* ---------- Events ---------- */
.event-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.event-card {
  display: flex;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(165deg, var(--panel-2), var(--panel));
}
.event-date {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 84px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #06122b;
  line-height: 1.1;
}
.event-month { font-size: .78rem; font-weight: 700; }
.event-day { font-size: 1.7rem; font-weight: 800; }
.event-dow { font-size: .72rem; font-weight: 600; opacity: .8; }
.event-body { min-width: 0; }
.event-body h3 { margin: 8px 0 8px; font-size: 1.12rem; }
.event-format {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 600;
  border: 1px solid rgba(109, 140, 255, .4);
  color: #b9c7ff;
}
.event-format-online { border-color: rgba(34, 211, 238, .45); color: #8be8f7; }
.event-format-hybrid { border-color: rgba(52, 211, 153, .45); color: #8ff0c9; }
.event-meta { margin: 0 0 4px; font-size: .88rem; color: var(--text-soft); }
.event-meta i { width: 16px; color: var(--brand-2); }
.event-desc { margin: 10px 0 0; font-size: .9rem; color: var(--text-dim); white-space: pre-line; }
.event-link { margin-top: 14px; }
.event-empty { grid-column: 1 / -1; color: var(--text-dim); margin: 0; }
.events-past { margin-top: 40px; }
.events-past-title { font-size: 1rem; color: var(--text-dim); margin: 0 0 14px; }
.event-card.is-past { opacity: .62; }
.event-card.is-past .event-date { background: rgba(255, 255, 255, .1); color: var(--text-soft); }
@media (max-width: 860px) {
  .event-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .event-card { padding: 18px; gap: 14px; }
  .event-date { width: 62px; height: 74px; }
  .event-day { font-size: 1.45rem; }
}

/* ---------- 한/영 전환 ---------- */
.lang-toggle {
  display: inline-flex;
  flex: none;
  margin-left: 14px;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  color: inherit;
  font: inherit;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
}
.lang-toggle span { padding: 5px 9px; border-radius: 999px; color: var(--text-dim); }
.lang-toggle span.is-active { background: #fff; color: #0b1020; }
.lang-toggle:focus-visible { outline: 2px solid #70b5f9; outline-offset: 2px; }

@media (max-width: 420px) {
  .lang-toggle { margin-right: 6px; font-size: .72rem; }
  .brand { gap: 6px; }
  .brand-text { font-size: .9rem; }
  .nav .brand-logo { height: 17px; }
  .lang-toggle span { padding: 4px 7px; }
}
