/* =========================================================================
   어셔바이오 / Usher Bio — Corporate Site
   Design system + layout. Blue glacier palette sampled from brand logo.
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand blues (sampled from logo: #3071B7 → #68A4CE → #87C1DB) */
  --brand-900: #0b2c4e;
  --brand-800: #123f6b;
  --brand-700: #1a5490;
  --brand-600: #2467ac;   /* primary */
  --brand-500: #3f80be;
  --brand-400: #68a4ce;
  --brand-300: #90c2df;
  --brand-200: #bcdcee;
  --brand-100: #dcedf8;
  --brand-50:  #eef6fb;

  /* Neutral / ink */
  --ink:    #14202f;
  --ink-2:  #33465c;
  --muted:  #5b6b80;   /* AA on white (5.4:1) & on --paper-2 (5.1:1) */
  --line:   #e4ecf3;
  --line-2: #d3e0ea;

  /* Surfaces */
  --paper:   #ffffff;
  --paper-2: #f4f9fc;
  --paper-3: #e9f3fa;

  /* Accent gradients */
  --grad-brand: linear-gradient(135deg, #2467ac 0%, #3f80be 45%, #87c1db 100%);
  --grad-soft:  linear-gradient(135deg, #eef6fb 0%, #dcedf8 100%);

  /* Typography */
  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", system-ui, "Segoe UI", Roboto, sans-serif;
  --font-display: "Sora", var(--font-sans);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --header-h: 76px;
  --section-y: clamp(64px, 9vw, 128px);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --card-pad: 30px 28px;   /* shared card padding across analogous cards */
  --grid-gap: 18px;        /* shared gap across analogous card grids */

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(18, 40, 68, 0.05), 0 2px 6px rgba(18, 40, 68, 0.05);
  --shadow-md: 0 6px 20px rgba(18, 40, 68, 0.08), 0 2px 6px rgba(18, 40, 68, 0.05);
  --shadow-lg: 0 18px 50px rgba(18, 40, 68, 0.12), 0 6px 16px rgba(18, 40, 68, 0.06);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; }
:focus-visible { outline: 3px solid var(--brand-400); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: var(--section-y);
  position: relative;
}
.section--alt { background: var(--paper-2); }

/* Consistent section header used by EVERY section — the alignment standard */
.section-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--brand-600);
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
}
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: var(--ink);
  margin-top: 16px;
  letter-spacing: -0.03em;
}
.section-desc {
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  color: var(--muted);
  margin-top: 18px;
  max-width: 68ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 999px;
  padding: 12px 24px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn--sm { padding: 9px 18px; font-size: 0.9rem; }
.btn--lg { padding: 15px 30px; font-size: 1.02rem; }
.btn--primary { background: var(--brand-600); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brand-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--brand-700); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--brand-500); color: var(--brand-600); transform: translateY(-2px); background: #fff; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 110;
  pointer-events: none; background: rgba(36, 103, 172, 0.08);
}
.scroll-progress span {
  display: block; height: 100%; width: 100%;
  background: var(--grad-brand);
  transform: scaleX(0); transform-origin: left;
  will-change: transform;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--brand-700); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(255, 255, 255, 0.95); /* solid fallback where backdrop-filter is unsupported */
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), height 0.3s var(--ease);
}
@supports ((backdrop-filter: blur(14px)) or (-webkit-backdrop-filter: blur(14px))) {
  .site-header { background: rgba(255, 255, 255, 0.72); }
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Brand lockup */
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark { width: 42px; height: 42px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__ko { font-size: 1.12rem; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.brand__en { font-family: var(--font-display); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.22em; color: var(--brand-600); }

/* Nav */
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: inline-block;
  padding: 10px 14px;
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 8px;
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--brand-600);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav__link:hover { color: var(--brand-700); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--brand-700); font-weight: 600; }

.header-cta { flex-shrink: 0; }

/* Hamburger */
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 10px; margin-left: auto; position: relative; }
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s var(--ease); }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-scrim {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(11, 44, 78, 0.4);
  backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease);
}
.nav-scrim.is-open { opacity: 1; pointer-events: auto; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 80px;
  overflow: hidden;
  background: linear-gradient(180deg, #f5fafd 0%, #eaf4fb 55%, #ffffff 100%);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__orb { position: absolute; border-radius: 50%; filter: blur(46px); opacity: 0.55; }
.hero__orb--1 { width: 460px; height: 460px; background: radial-gradient(circle, #8fc5e8, transparent 68%); top: -120px; right: -60px; animation: float1 16s ease-in-out infinite; }
.hero__orb--2 { width: 380px; height: 380px; background: radial-gradient(circle, #bcdcee, transparent 68%); bottom: -120px; left: -80px; animation: float2 20s ease-in-out infinite; }
.hero__orb--3 { width: 300px; height: 300px; background: radial-gradient(circle, #cfe7f5, transparent 70%); top: 40%; left: 45%; animation: float1 24s ease-in-out infinite; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(36, 103, 172, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 103, 172, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 78%);
}
@keyframes float1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-24px, 26px); } }
@keyframes float2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(28px, -22px); } }

.hero__inner { position: relative; z-index: 1; max-width: 900px; }
.hero__eyebrow {
  font-family: var(--font-display);
  font-size: clamp(0.68rem, 1.4vw, 0.8rem);
  font-weight: 600; letter-spacing: 0.16em; color: var(--brand-600);
  text-transform: uppercase;
}
.hero__title {
  font-size: clamp(2.3rem, 6.2vw, 4.4rem);
  line-height: 1.14;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-top: 22px;
  font-weight: 800;
}
.hero__accent {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  font-size: clamp(1.02rem, 2vw, 1.25rem);
  color: var(--ink-2);
  margin-top: 26px;
  max-width: 640px;
  line-height: 1.75;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__facts {
  display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 56px);
  margin-top: 56px; padding-top: 36px;
  border-top: 1px solid var(--line-2);
}
.hero__facts li { display: flex; flex-direction: column; }
.hero__facts strong { font-family: var(--font-display); font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; color: var(--brand-700); letter-spacing: -0.02em; }
.hero__facts span { font-size: 0.9rem; color: var(--muted); margin-top: 2px; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 0.66rem; letter-spacing: 0.24em; color: var(--muted);
}
.hero__scroll-line { width: 1px; height: 46px; background: linear-gradient(var(--brand-400), transparent); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 40%; background: var(--brand-600); animation: scrolldot 2s var(--ease) infinite; }
@keyframes scrolldot { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }

.br-desktop { display: inline; }

/* =========================================================================
   ABOUT
   ========================================================================= */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.about__lead p { color: var(--ink-2); margin-bottom: 18px; font-size: 1.05rem; }
.about__lead strong { color: var(--brand-700); font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip {
  font-size: 0.9rem; font-weight: 600; color: var(--brand-700);
  background: var(--brand-50); border: 1px solid var(--brand-100);
  padding: 8px 16px; border-radius: 999px;
}

.feature-cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--grid-gap); }
.feature-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--card-pad);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--grad-brand);
  transform: scaleY(0); transform-origin: top; transition: transform 0.35s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-200); }
.feature-card:hover::before { transform: scaleY(1); }
.feature-card__num { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; color: var(--brand-600); letter-spacing: 0.05em; }
.feature-card h3 { font-size: 1.16rem; color: var(--ink); margin: 12px 0 10px; }
.feature-card p { font-size: 0.96rem; color: var(--muted); line-height: 1.66; }

/* =========================================================================
   MISSION & VALUES
   ========================================================================= */
.mv-statements { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; margin-bottom: clamp(48px, 6vw, 80px); }
.mv-statement {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.4vw, 44px);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.mv-statement--vision {
  background: var(--grad-brand);
  border-color: transparent;
  color: #fff;
}
.mv-statement__label {
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-600);
  display: inline-block; margin-bottom: 16px;
}
.mv-statement--vision .mv-statement__label { color: rgba(255,255,255,0.85); }
.mv-statement p { font-size: clamp(1rem, 1.7vw, 1.14rem); color: var(--ink-2); line-height: 1.8; }
.mv-statement--vision p { color: rgba(255,255,255,0.96); }

.mv-values-title {
  font-family: var(--font-display);
  font-size: 1.5rem; color: var(--ink);
  margin-bottom: 24px; letter-spacing: -0.01em;
}
.value-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--grid-gap); }
.value-card {
  flex: 1 1 300px;
  max-width: calc((100% - 2 * var(--grid-gap)) / 3);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--card-pad);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-200); }
.value-card__num {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 800;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block;
}
.value-card h4 { font-family: var(--font-display); font-size: 1.08rem; color: var(--ink); margin: 14px 0 12px; display: flex; flex-direction: column; gap: 3px; }
.value-card__ko { font-family: var(--font-sans); font-size: 0.9rem; font-weight: 600; color: var(--brand-600); letter-spacing: -0.01em; }
.value-card p { font-size: 0.95rem; color: var(--muted); line-height: 1.68; }

/* =========================================================================
   LOGO STORY
   ========================================================================= */
.logo-story { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.logo-story__frame {
  background: radial-gradient(circle at 50% 40%, #ffffff, #eaf4fb);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 60px);
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
}
.logo-story__frame img { width: min(340px, 80%); height: auto; }
.logo-story__text p { color: var(--ink-2); font-size: 1.05rem; margin-bottom: 18px; line-height: 1.8; }
.logo-story__text strong { color: var(--brand-700); font-weight: 700; }
.logo-story__legend { display: grid; gap: 12px; margin-top: 28px; }
.logo-story__legend li { display: flex; align-items: center; gap: 12px; font-size: 0.98rem; color: var(--ink-2); font-weight: 500; }
.logo-story__legend .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--grad-brand); flex-shrink: 0; }

/* =========================================================================
   PIPELINE
   ========================================================================= */
.pipe-block { margin-bottom: clamp(40px, 5vw, 64px); }
.pipe-block:last-child { margin-bottom: 0; }
.pipe-block__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.pipe-block__head h3 { font-size: 1.4rem; color: var(--ink); letter-spacing: -0.02em; }
.pipe-note { font-size: 0.88rem; color: var(--muted); }

.pipe-table {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
/* grid template shared by drug (no detail col) */
.pipe-row {
  display: grid;
  grid-template-columns: 130px 130px 1fr;
  align-items: center;
  gap: 20px;
  padding: 18px 26px;
  border-bottom: 1px solid var(--line);
}
.pipe-table--hff .pipe-row { grid-template-columns: 120px 120px 1fr 180px; }
.pipe-row:last-child { border-bottom: 0; }
.pipe-row--head {
  background: var(--brand-50);
  border-bottom: 1px solid var(--line-2);
  padding-block: 15px;
}
.pipe-row--head .pipe-cell { font-weight: 700; color: var(--brand-800); font-size: 0.92rem; }
.pipe-cell--code { font-family: var(--font-display); font-weight: 700; color: var(--ink); letter-spacing: 0.01em; }
.pipe-row--head .pipe-cell--code,
.pipe-row--head .pipe-cell--ind,
.pipe-row--head .pipe-cell--detail { align-self: center; }
.pipe-cell--ind { color: var(--ink-2); font-weight: 600; font-size: 0.96rem; }
.pipe-cell--detail { font-size: 0.92rem; color: var(--ink-2); font-weight: 500; text-align: right; }

/* stage header labels */
.pipe-row--head .pipe-cell--stages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 0;
}
.pipe-row--head .pipe-cell--stages span { font-size: 0.86rem; }

/* stage track + bar */
.pipe-cell--stages { position: relative; }
.pipe-track {
  position: relative;
  height: 30px;
  border-radius: 999px;
  background:
    repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), var(--line-2) calc(25% - 1px), var(--line-2) 25%);
  background-color: var(--paper-2);
}
.pipe-track::before {
  /* left/right inner edges */
  content: ""; position: absolute; inset: 0; border: 1px solid var(--line); border-radius: 999px; pointer-events: none;
}
.pipe-bar {
  position: absolute;
  top: 4px; bottom: 4px;
  left: calc(var(--from) / 4 * 100%);
  width: calc((var(--to) - var(--from)) / 4 * 100%);
  background: var(--grad-brand);
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(36, 103, 172, 0.32);
  transform-origin: left;
  transform: scaleX(0);
  animation: barGrow 0.9s var(--ease) forwards;
}
.pipe-bar--full { background: linear-gradient(135deg, #123f6b, #2467ac 60%, #3f80be); }
@keyframes barGrow { to { transform: scaleX(1); } }
.pipe-stage-labels { display: none; }

.tag { display: inline-block; font-size: 0.82rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; letter-spacing: -0.01em; }
.tag--done { color: #b23a2e; background: #fbeae7; border: 1px solid #f4cfc9; }
.tag--plan { color: #8a5008; background: #fdf3e3; border: 1px solid #f6e0bd; }

/* =========================================================================
   TEAM
   ========================================================================= */
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--grid-gap); }
.team-card {
  flex: 1 1 300px;
  max-width: calc((100% - 2 * var(--grid-gap)) / 3);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--card-pad);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  display: flex; flex-direction: column;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-200); }
.team-card__head { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.team-card__role {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em;
  color: var(--brand-700); background: var(--brand-50); border: 1px solid var(--brand-100);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 12px;
}
.team-card__role--advisor { color: var(--brand-800); background: var(--brand-100); border-color: var(--brand-200); }
.team-card__name { font-size: 1.5rem; color: var(--ink); letter-spacing: -0.02em; }
.team-card__deg { font-size: 0.92rem; font-weight: 600; color: var(--muted); }
.team-card__list { display: grid; gap: 9px; }
.team-card__list li { position: relative; padding-left: 18px; font-size: 0.94rem; color: var(--ink-2); line-height: 1.55; }
.team-card__list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-400); }
.team-card--advisor { background: linear-gradient(150deg, var(--brand-50), var(--paper) 62%); border-color: var(--brand-200); }

/* =========================================================================
   HISTORY (timeline)
   ========================================================================= */
.timeline { position: relative; display: grid; gap: 28px; padding-left: 8px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(var(--brand-300), var(--brand-100));
}
.timeline__item { position: relative; display: grid; grid-template-columns: 160px 1fr; gap: 32px; padding-left: 34px; align-items: start; }
.timeline__item::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 4px solid var(--brand-500); box-shadow: 0 0 0 4px rgba(63,128,190,0.12);
  transform: translateX(-8px);
}
.timeline__item--now::before { border-color: var(--brand-700); background: var(--brand-600); }
.timeline__year { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--brand-700); letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; }
.timeline__now {
  font-size: 0.66rem; letter-spacing: 0.12em; background: var(--brand-600); color: #fff;
  padding: 3px 9px; border-radius: 999px; font-weight: 700; align-self: center;
}
.timeline__body { padding-top: 6px; }
.timeline__body ul { display: grid; gap: 10px; }
.timeline__body li { position: relative; padding-left: 18px; color: var(--ink-2); font-size: 1.02rem; }
.timeline__body li::before { content: ""; position: absolute; left: 0; top: 0.66em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-400); }
.timeline__meta { color: var(--muted); font-size: 0.9rem; }

/* =========================================================================
   NEWS + PARTNERS
   ========================================================================= */
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--grid-gap); }
.news-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.news-card__link {
  display: flex; flex-direction: column; gap: 14px;
  padding: var(--card-pad);
  height: 100%;
  color: inherit;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-200); }
.news-card__source {
  align-self: flex-start; font-size: 0.8rem; font-weight: 700; color: var(--brand-700);
  background: var(--brand-50); border: 1px solid var(--brand-100); padding: 4px 12px; border-radius: 6px;
}
.news-card__title { font-size: 1.12rem; color: var(--ink); line-height: 1.5; font-weight: 700; }
.news-card__more { display: inline-flex; align-items: center; gap: 6px; font-size: 0.9rem; font-weight: 600; color: var(--brand-600); margin-top: auto; }

.partners { margin-top: clamp(48px, 6vw, 72px); padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--line); }
.partners__title { font-family: var(--font-display); font-size: 1.05rem; color: var(--muted); text-align: center; letter-spacing: 0.02em; margin-bottom: 28px; font-weight: 600; }
.partners__list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(28px, 6vw, 72px); }
.partners__list img { height: 52px; width: auto; filter: grayscale(1); opacity: 0.6; transition: filter 0.3s var(--ease), opacity 0.3s var(--ease); }
.partners__list img:hover { filter: grayscale(0); opacity: 1; }

/* =========================================================================
   CONTACT
   ========================================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--grid-gap); }
.contact-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.contact-card__tag { font-family: var(--font-display); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; color: var(--brand-600); text-transform: uppercase; }
.contact-card__addr { font-size: 1.16rem; color: var(--ink); margin: 12px 0 20px; line-height: 1.5; font-weight: 600; min-height: 3em; }
.contact-card__map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--paper-2); }
.contact-card__map iframe { width: 100%; height: 260px; border: 0; display: block; }
.contact-card__maplink {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  font-size: 0.92rem; font-weight: 600; color: var(--brand-600);
  transition: gap 0.25s var(--ease), color 0.2s var(--ease);
}
.contact-card__maplink:hover { color: var(--brand-700); gap: 10px; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { background: var(--brand-900); color: rgba(255,255,255,0.72); padding-top: clamp(56px, 7vw, 84px); }
.footer-inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: clamp(32px, 5vw, 64px); padding-bottom: 48px; }
.brand--footer .brand__ko { color: #fff; }
.brand--footer .brand__en { color: var(--brand-300); }
.footer__tagline { margin-top: 18px; font-size: 0.96rem; color: rgba(255,255,255,0.6); max-width: 34ch; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__col h4 { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-300); margin-bottom: 14px; font-family: var(--font-display); font-weight: 600; }
.footer__col p { font-size: 0.94rem; line-height: 1.7; color: rgba(255,255,255,0.7); }
.footer__nav ul { display: grid; gap: 10px; }
.footer__nav a { font-size: 0.94rem; color: rgba(255,255,255,0.7); transition: color 0.2s var(--ease); }
.footer__nav a:hover { color: #fff; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-block: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.86rem; color: rgba(255,255,255,0.5);
}
.footer-bottom__en { font-family: var(--font-display); letter-spacing: 0.04em; }

/* =========================================================================
   TO-TOP
   ========================================================================= */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 80;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--brand-600); color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background-color 0.25s var(--ease);
}
.to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top:hover { background: var(--brand-700); }

/* =========================================================================
   SCROLL REVEAL
   ========================================================================= */
/* Gated behind .js so content is fully visible if JavaScript never runs */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Anchor offset for fixed header */
:is(#about, #mission, #identity, #pipeline, #team, #history, #news, #contact) { scroll-margin-top: var(--header-h); }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
  :root { --header-h: 70px; }
  .about__grid { grid-template-columns: 1fr; }
  .mv-statements { grid-template-columns: 1fr; }
  .value-card, .team-card { max-width: calc((100% - var(--grid-gap)) / 2); }
  .logo-story { grid-template-columns: 1fr; }
  .logo-story__frame { order: -1; }
}

@media (max-width: 900px) {
  /* Mobile nav */
  .nav {
    position: fixed; top: 0; right: 0; z-index: 95;
    height: 100vh; height: 100dvh; width: min(84vw, 340px);
    background: #fff; box-shadow: -20px 0 60px rgba(11,44,78,0.14);
    margin-left: 0; padding: calc(var(--header-h) + 20px) 28px 40px;
    transform: translateX(100%); transition: transform 0.4s var(--ease);
    overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { padding: 14px 12px; font-size: 1.05rem; border-radius: 10px; }
  .nav__link::after { display: none; }
  .nav__link:hover, .nav__link.is-active { background: var(--brand-50); }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .brand { margin-right: auto; }
}

@media (max-width: 760px) {
  .feature-cards { grid-template-columns: 1fr; }
  .value-card, .team-card { max-width: 100%; }
  .news-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .br-desktop { display: none; }
  .timeline__item { grid-template-columns: 1fr; gap: 8px; }
  .timeline__year { font-size: 1.6rem; }

  /* Pipeline → stacked card layout on mobile */
  .pipe-table, .pipe-table--hff { border: 0; box-shadow: none; background: transparent; overflow: visible; }
  .pipe-row--head { display: none; }
  .pipe-row, .pipe-table--hff .pipe-row {
    grid-template-columns: 1fr; gap: 12px;
    background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 20px; margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
  }
  .pipe-cell--code { font-size: 1.2rem; }
  .pipe-cell--code::before { content: none; }
  .pipe-cell--ind { display: inline-flex; align-items: center; gap: 8px; }
  .pipe-cell--ind::before { content: "적응증"; font-size: 0.72rem; font-weight: 700; color: var(--brand-600); background: var(--brand-50); padding: 3px 8px; border-radius: 6px; }
  .pipe-cell--detail { text-align: left; }
  .pipe-cell--stages { display: block; }
  .pipe-track { height: 26px; }
  .pipe-stage-labels {
    display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 8px;
    font-size: 0.68rem; color: var(--muted); text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__facts { gap: 20px 32px; }
  .btn--lg { padding: 13px 22px; font-size: 0.96rem; }
  .hero__actions .btn { flex: 1 1 auto; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}
