/* =========================================================
   THEIA Landing — Styles
   ========================================================= */

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

:root {
  --black: #0D0F12;
  --white: #FFFFFF;
  --cream: #F7F1E1;
  --surface: #EDE7D5;
  --accent: #27AAE1;
  --accent-dark: #0A2233;
  --amber: #FFC107;
  --gray-500: #58595B;
  --gray-400: #8A8A8B;
  --gray-300: #BDBEC0;
  --light: #F7F1E1;
  --light-2: #EDE7D5;
  --border: rgba(88,89,91,0.18);
  --max-w: 1280px;
  --pad-x: clamp(24px, 5vw, 80px);
  --pad-y: clamp(80px, 12vw, 164px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { background: var(--white); color: var(--black); }
body {
  font-family: 'Pretendard', 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01', 'ss02';
  letter-spacing: -0.01em;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

/* ── Chamfer cuts ── */
.cut    { clip-path: polygon(6px 0%, calc(100% - 6px) 0%, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0% calc(100% - 6px), 0% 6px); }
.cut-sm { clip-path: polygon(4px 0%, calc(100% - 4px) 0%, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 0% calc(100% - 4px), 0% 4px); }
.cut-lg { clip-path: polygon(12px 0%, calc(100% - 12px) 0%, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0% calc(100% - 12px), 0% 12px); }
.cut-xl { clip-path: polygon(18px 0%, calc(100% - 18px) 0%, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0% calc(100% - 18px), 0% 18px); }

/* ── Cut-corner notch overlay (Spade-style explicit corners) ──
   Wrap any card in .notch-wrap and add 4 .notch-corner elements with
   --notch-color set to the surrounding background. Each draws a small
   triangle that masks the card corner, leaving a chamfered notch. */
.notch-wrap { position: relative; }
.notch-wrap > .notch {
  position: absolute;
  pointer-events: none;
  z-index: 4;
  width: 12px;
  height: 12px;
  background: var(--notch-color, var(--white));
}
.notch-wrap.notch-sm > .notch { width: 6px; height: 6px; }
.notch-wrap.notch-lg > .notch { width: 16px; height: 16px; }
.notch-wrap > .notch.tl { top: -1px; left: -1px; clip-path: polygon(0 0, 100% 0, 0 100%); }
.notch-wrap > .notch.tr { top: -1px; right: -1px; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.notch-wrap > .notch.bl { bottom: -1px; left: -1px; clip-path: polygon(0 0, 0 100%, 100% 100%); }
.notch-wrap > .notch.br { bottom: -1px; right: -1px; clip-path: polygon(100% 0, 0 100%, 100% 100%); }

/* ── Inline Stat Pill ── */
.stat-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--light);
}
.stat-pill .stat-num {
  font-family: 'DM Sans';
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--black);
  white-space: nowrap;
}
.stat-pill .stat-num .accent { color: var(--accent); }
.stat-pill .stat-desc {
  font-size: 11px;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: var(--gray-500);
  max-width: 140px;
}
.section.dark .stat-pill { background: rgba(255,255,255,0.04); }
.section.dark .stat-pill .stat-num { color: #fff; }
.section.dark .stat-pill .stat-desc { color: #888; }

/* ── Char-by-char reveal ── */
.char-reveal { display: inline-block; }
.char-reveal .ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(40%);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
.char-reveal .ch.space { width: 0.25em; }
.char-reveal.in .ch { opacity: 1; transform: translateY(0); }

/* ── Layout primitives ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.section { padding: var(--pad-y) 0; position: relative; }
.section.dark { background: var(--black); color: var(--white); }
.section.light { background: var(--light); }
.section.white { background: var(--white); }
.section.accent-bg { background: var(--accent); color: var(--accent-dark); }

/* Cosmic-latte variant for Guarantee */
.section.guarantee-on-cream { background: var(--cream); color: var(--black); padding: var(--pad-y) 0; position: relative; }
.section.guarantee-on-cream .section-label { color: var(--gray-500); }
.section.guarantee-on-cream h2 { color: var(--black); }
.section.guarantee-on-cream .body-l,
.section.guarantee-on-cream .body { color: var(--gray-500); }
.section.guarantee-on-cream .guarantee-grid h2 { color: var(--black); }
.section.guarantee-on-cream .guarantee-grid p { color: var(--gray-500); }
.section.guarantee-on-cream .guarantee-card {
  background: #fff;
  border: 1px solid var(--border);
}
.section.guarantee-on-cream .guarantee-card .gc-head { border-bottom-color: var(--border); }
.section.guarantee-on-cream .guarantee-card .gc-title { color: var(--black); }
.section.guarantee-on-cream .guarantee-card .gc-eyebrow { color: var(--accent); }
.section.guarantee-on-cream .guarantee-list { border-color: var(--border); }
.section.guarantee-on-cream .guarantee-item .gi-title { color: var(--black); }
.section.guarantee-on-cream .guarantee-item .gi-text { color: var(--gray-500); }

/* ── Section headers ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 32px;
}
.section.dark .section-label { color: #8A8A8A; }
.section-label::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--accent);
  clip-path: polygon(2px 0, calc(100% - 2px) 0, 100% 2px, 100% calc(100% - 2px), calc(100% - 2px) 100%, 2px 100%, 0 calc(100% - 2px), 0 2px);
}

/* ── Type scale ── */
h1, h2, h3, h4 { letter-spacing: -0.025em; line-height: 1.08; font-weight: 700; }
.h-display { font-size: clamp(30px, 4.34vw, 59px); font-weight: 700; line-height: 1.02; letter-spacing: -0.035em; }
.h-1       { font-size: clamp(25px, 3.41vw, 45px); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; }
.h-2       { font-size: clamp(20px, 2.48vw, 35px); font-weight: 700; line-height: 1.1;  letter-spacing: -0.025em; }
.h-3       { font-size: clamp(15px, 1.49vw, 20px); font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; }
.body-l    { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.7; font-weight: 400; color: #444; }
.body      { font-size: 15px; line-height: 1.7; font-weight: 400; color: #555; }
.body-sm   { font-size: 13px; line-height: 1.6; color: var(--gray-500); }
.eyebrow   { font-family: 'DM Sans'; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray-500); }
.section.dark .body-l, .section.dark .body { color: #B8B8B8; }
.section.dark .body-sm { color: #777; }

.accent-text { color: var(--accent); }
.accent-dark { color: var(--accent-dark); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 28px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  position: relative;
  transition: transform 240ms var(--ease-out), background 240ms ease, color 240ms ease;
  clip-path: polygon(8px 0%, calc(100% - 8px) 0%, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0% calc(100% - 8px), 0% 8px);
}
.btn-lg { height: 60px; padding: 0 34px; font-size: 15px; }
.btn-sm { height: 40px; padding: 0 20px; font-size: 13px;
  clip-path: polygon(5px 0%, calc(100% - 5px) 0%, 100% 5px, 100% calc(100% - 5px), calc(100% - 5px) 100%, 5px 100%, 0% calc(100% - 5px), 0% 5px);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--accent-dark); }
.btn-primary:hover { background: #4FBEED; }
.btn-secondary { background: var(--black); color: var(--white); }
.btn-secondary:hover { background: #222; }
.btn-outline { background: transparent; box-shadow: inset 0 0 0 1.5px var(--black); color: var(--black); clip-path: none; border-radius: 0; }
.section.dark .btn-outline { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.4); color: #fff; }
.btn-ghost { background: transparent; color: var(--black); clip-path: none; padding: 0 4px; text-decoration: none; }
.btn-ghost::after { content: ''; display: inline-block; width: 14px; height: 1px; background: currentColor; margin-left: 8px; transition: width 240ms; }
.btn-ghost:hover::after { width: 28px; }
.section.dark .btn-ghost { color: #fff; }
.btn .arrow { font-family: 'DM Sans'; font-weight: 400; }

/* ── Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-family: 'DM Sans', 'Pretendard';
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--light);
  color: var(--black);
  clip-path: polygon(4px 0%, calc(100% - 4px) 0%, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 0% calc(100% - 4px), 0% 4px);
}
.badge .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 3px rgba(39, 170, 225, 0.22); }
.badge-accent { background: var(--accent); color: var(--accent-dark); }
.badge-dark   { background: var(--black); color: #fff; }
.badge-outline { background: transparent; border: 1px solid var(--black); clip-path: none; color: var(--black); }
.section.dark .badge { background: rgba(255,255,255,0.08); color: #fff; }
.section.dark .badge-accent { background: var(--accent); color: var(--accent-dark); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 280ms ease, backdrop-filter 280ms ease, padding 280ms ease, border-color 280ms ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom-color: rgba(0,0,0,0.06);
  padding: 12px 0;
}
.site-header.on-dark.scrolled {
  background: rgba(10, 10, 10, 0.72);
  border-bottom-color: rgba(255,255,255,0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--black);
}
.site-header.on-dark .brand { color: #fff; }
.brand-mark { width: 32px; height: 36px; }
.brand-text {
  font-family: 'DM Sans';
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
}
.brand-sub {
  font-family: 'DM Sans';
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--gray-500);
  margin-top: 3px;
  line-height: 1;
}
.site-header.on-dark .brand-sub { color: #888; }
.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
  letter-spacing: -0.005em;
  transition: opacity 200ms;
}
.site-header.on-dark .site-nav a { color: #fff; }
.site-nav a:hover { opacity: 0.55; }
.header-progress {
  position: absolute;
  left: 0; bottom: -1px;
  height: 1.5px;
  background: var(--accent);
  width: 0;
  transition: width 80ms linear;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding-top: clamp(140px, 18vh, 200px);
  padding-bottom: clamp(80px, 14vw, 160px);
  position: relative;
  overflow: hidden;
}
.hero-grid { display: grid; gap: 56px; }
.hero-badge-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.hero h1 {
  font-size: clamp(34px, 5.27vw, 80px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-top: 32px;
}
.hero h1 .stress { color: var(--black); }
.hero h1 .accent { color: var(--accent); display: inline-block; position: relative; }
.hero-sub {
  margin-top: 36px;
  max-width: 560px;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.6;
  color: #555;
  font-weight: 400;
}
.hero-sub strong { color: var(--black); font-weight: 600; }
.hero-cta { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-stats {
  margin-top: 100px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}
.hero-stat {
  padding: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-stat + .hero-stat { padding-left: 32px; }
.hero-stat .num {
  font-family: 'DM Sans';
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--black);
}
.hero-stat .num .accent { color: var(--accent); }
.hero-stat .label {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--gray-500);
}

/* ── Reveal animations ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 80ms; }
.reveal.d2 { transition-delay: 160ms; }
.reveal.d3 { transition-delay: 240ms; }
.reveal.d4 { transition-delay: 320ms; }
.reveal.d5 { transition-delay: 400ms; }

.split-line { display: block; overflow: hidden; }
.split-line > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1100ms var(--ease-out);
}
.split-line.in > span { transform: translateY(0); }
.split-line.d1 > span { transition-delay: 100ms; }
.split-line.d2 > span { transition-delay: 240ms; }
.split-line.d3 > span { transition-delay: 380ms; }
.split-line.d4 > span { transition-delay: 520ms; }

/* =========================================================
   TICKER
   ========================================================= */
.ticker {
  background: var(--accent);
  color: var(--accent-dark);
  padding: 28px 0;
  overflow: hidden;
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: tick 38s linear infinite;
  gap: 56px;
  padding-left: 56px;
}
.ticker-item {
  font-family: 'DM Sans', 'Pretendard';
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.015em;
  display: inline-flex;
  align-items: center;
  gap: 56px;
  white-space: nowrap;
}
.ticker-item::after {
  content: '';
  width: 8px; height: 8px;
  background: var(--accent-dark);
  clip-path: polygon(2px 0, calc(100% - 2px) 0, 100% 2px, 100% calc(100% - 2px), calc(100% - 2px) 100%, 2px 100%, 0 calc(100% - 2px), 0 2px);
}
@keyframes tick { to { transform: translateX(-50%); } }

/* =========================================================
   CONVICTION
   ========================================================= */
.conviction-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.epiphany-step {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: start;
}
.epiphany-step:last-of-type { border-bottom: 1px solid var(--border); }
.epi-num {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans';
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gray-500);
  padding-top: 6px;
}
.epi-num::before {
  content: '';
  width: 22px; height: 1px;
  background: var(--black);
}
.epi-title { font-size: clamp(22px, 2.3vw, 30px); font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; }
.epi-text  { margin-top: 12px; color: #555; font-size: 15px; line-height: 1.7; }

.data-card {
  background: var(--black);
  color: #fff;
  padding: 40px;
  position: sticky;
  top: 120px;
}
.data-card .label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.data-card .data-eyebrow { font-family: 'DM Sans'; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: #777; }
.data-card .live-dot {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'DM Sans'; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
}
.data-card .live-dot::before {
  content: ''; width: 7px; height: 7px; background: var(--accent); border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(39, 170, 225, 0.22);
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 50% { opacity: 0.5; } }

.data-card h3 { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 24px; color: #fff; }
.data-card .specs { font-size: 12px; color: #888; padding-bottom: 24px; border-bottom: 1px solid #2A2A2A; }
.data-card .specs span { color: #fff; }
.data-rows { display: flex; flex-direction: column; }
.data-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid #2A2A2A;
}
.data-row:last-child { border-bottom: 0; }
.data-row .k { font-size: 13px; letter-spacing: 0.04em; color: #888; }
.data-row .v {
  font-family: 'DM Sans';
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--accent);
}
.data-card .note { margin-top: 24px; font-size: 11px; color: #666; letter-spacing: 0.02em; }

.conviction-footer { margin-top: clamp(60px, 8vw, 120px); }
.conviction-footer .h-1 { max-width: 1000px; }
.conviction-footer .h-1 strong { color: var(--accent); font-weight: 700; }

/* =========================================================
   BRIDGE — Light constellation scroll-reveal
   ========================================================= */
.bridge {
  position: relative;
  padding: 0;
}
.bridge-track {
  height: 380vh;
  position: relative;
}
.bridge-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 4vw, 56px);
}
.bridge-card-frame {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 1440px;
  background: var(--cream);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(18px 0%, calc(100% - 18px) 0%, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0% calc(100% - 18px), 0% 18px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.05);
}
.bridge-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(39, 170, 225, 0.10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(39, 170, 225, 0.10) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 90%);
}
.bridge-stage {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 1320px;
  padding: clamp(40px, 4vw, 64px) clamp(24px, 3vw, 48px);
}

.bridge-eyebrow {
  position: absolute;
  top: clamp(28px, 4vw, 48px);
  left: 50%;
  transform: translateX(-50%);
  font-family: 'JetBrains Mono', 'DM Sans', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  z-index: 5;
  background: rgba(244, 244, 238, 0.7);
  padding: 6px 12px;
}
.bridge-eyebrow .pip {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(39, 170, 225, 0.24);
}
.bridge-eyebrow .gray { color: #666; }

.bridge-headline {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 920px;
  width: 90%;
  text-align: center;
  font-size: clamp(18px, 2.11vw, 35px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--black);
  z-index: 6;
  pointer-events: none;
}
.bridge-headline .accent { color: var(--accent); }
.bridge-headline .muted  { color: rgba(10, 10, 10, 0.35); }

@keyframes tw-blink {
  50% { border-right-color: transparent; }
}

.bridge-headline-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 760px;
  width: 90%;
  text-align: center;
  z-index: 3;
  pointer-events: none;
}
.bridge-headline-wrap .bridge-headline {
  position: static;
  transform: none;
  width: 100%;
  max-width: none;
}
.bridge-headline-sub {
  margin-top: 18px;
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1.7;
  color: rgba(10,10,10,0.55);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Constellation cards --- */
.bridge-card {
  position: absolute;
  background: #FFFFFF;
  border: 1px solid var(--border);
  padding: 14px 16px;
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 11px;
  line-height: 1.65;
  color: var(--black);
  z-index: 4;
  opacity: 1;
}
.bridge-card.cut-corners {
  clip-path: polygon(8px 0%, calc(100% - 8px) 0%, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0% calc(100% - 8px), 0% 8px);
}

.bridge-card-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #777;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.bridge-card-eyebrow::before {
  content: '►';
  font-size: 8px;
  color: #999;
}
.bridge-card-body {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  line-height: 1.7;
  color: #1A1A1A;
  letter-spacing: 0.005em;
}
.bridge-card-body .k { color: #555; }
.bridge-card-body .v { color: var(--black); }
.bridge-card-body .accent { color: var(--accent); }
.bridge-card-body .gray { color: #888; }

.bridge-card.code {
  padding: 0;
  overflow: hidden;
}
.bridge-card.code .code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.bridge-card.code .traffic {
  display: flex; gap: 5px;
}
.bridge-card.code .traffic span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border);
}
.bridge-card.code .pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  padding: 3px 8px;
  border: 1px solid var(--border);
  color: #555;
}
.bridge-card.code .code-body {
  padding: 14px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  line-height: 1.7;
  color: #1A1A1A;
  white-space: pre;
}
.bridge-card.code .code-body .k { color: #555; }
.bridge-card.code .code-body .s { color: var(--black); }
.bridge-card.code .code-body .a { color: var(--accent); }

.bridge-card.kpi {
  background: var(--black);
  color: #fff;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bridge-card.kpi .kpi-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.bridge-card.kpi .kpi-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666;
}
.bridge-card.kpi .kpi-sym {
  width: 22px; height: 22px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Sans'; font-weight: 700; font-size: 11px; color: var(--black);
  clip-path: polygon(3px 0,calc(100% - 3px) 0,100% 3px,100% calc(100% - 3px),calc(100% - 3px) 100%,3px 100%,0 calc(100% - 3px),0 3px);
}
.bridge-card.kpi .kpi-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}
.bridge-card.kpi .kpi-label {
  font-size: 13px;
  font-family: 'Pretendard';
  color: #fff;
  font-weight: 600;
}
.bridge-card.kpi .kpi-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #888;
  margin-top: 1px;
}
.bridge-card.kpi .kpi-value {
  font-family: 'DM Sans';
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
}

.bridge-card.apikey {
  padding: 14px 18px;
  background: #FFFFFF;
}
.bridge-card.apikey .key-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #777;
  margin-bottom: 6px;
}
.bridge-card.apikey .key-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--black);
  padding: 8px 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bridge-meter {
  position: absolute;
  bottom: clamp(24px, 4vw, 40px);
  left: clamp(24px, 4vw, 56px);
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #555;
  z-index: 5;
}
.bridge-meter .bars {
  display: flex;
  gap: 2px;
}
.bridge-meter .bar {
  width: 4px;
  height: 16px;
  background: var(--border);
  transition: background 400ms var(--ease-out), height 400ms var(--ease-out);
}
.bridge-meter .bar.on { background: var(--accent); }
.bridge-meter .num {
  font-weight: 600;
  color: var(--black);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  font-size: 13px;
}

.bridge-beats {
  position: absolute;
  top: clamp(28px, 4vw, 48px);
  right: clamp(24px, 4vw, 56px);
  display: flex;
  gap: 8px;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #555;
  z-index: 5;
}
.bridge-beats .seg {
  width: 28px;
  height: 2px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}
.bridge-beats .seg .fill {
  position: absolute;
  inset: 0;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms linear;
}

.bridge-connectors {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  mask-image: radial-gradient(ellipse 32% 22% at 50% 50%, transparent 0%, transparent 55%, #000 90%);
  -webkit-mask-image: radial-gradient(ellipse 32% 22% at 50% 50%, transparent 0%, transparent 55%, #000 90%);
}
.bridge-connectors path {
  fill: none;
  stroke: rgba(39, 170, 225, 0.6);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.bridge-progress {
  position: absolute;
  bottom: 24px;
  left: clamp(40px, 5vw, 80px);
  display: flex;
  gap: 8px;
}
.bridge-progress .seg {
  width: 32px; height: 2px;
  background: rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}
.bridge-progress .seg .fill {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms linear;
}
.structure-wrap { position: relative; }
.structure-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 720px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
  background: var(--white);
  align-items: stretch;
}
.structure-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(24px, 4vw, 60px) 0 var(--pad-x);
}
.structure-left .stage-meta {
  font-family: 'DM Sans';
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gray-500);
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.structure-left .stage-meta .progress-text { color: var(--black); }
.structure-left h3.stage-title {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  min-height: 4em;
}
.structure-left .stage-desc {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  max-width: 480px;
  min-height: 4em;
}
.structure-left .stage-dots {
  margin-top: 40px;
  display: flex;
  gap: 8px;
}
.structure-left .dot {
  width: 36px; height: 3px;
  background: var(--border);
  transition: background 320ms;
  cursor: pointer;
}
.structure-left .dot.active { background: var(--black); }
.structure-left .dot.done { background: var(--accent); }

.structure-right {
  position: relative;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.structure-canvas {
  width: 100%;
  height: 100%;
  position: relative;
}
.structure-svg { width: 100%; height: 100%; }
.node-circle { fill: #fff; stroke: var(--border); stroke-width: 1.5; transition: stroke 400ms, fill 400ms, transform 600ms var(--ease-out); transform-box: fill-box; transform-origin: center; }
.node-circle.active { stroke: var(--black); fill: #fff; }
.node-circle.accent-node { fill: var(--accent); stroke: var(--accent); }
.node-circle.faded { opacity: 0.18; }
.node-label { font-family: 'DM Sans'; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; fill: var(--black); transition: opacity 400ms; }
.node-sub { font-family: 'DM Sans'; font-size: 10px; letter-spacing: 0.12em; fill: var(--gray-500); text-transform: uppercase; }
.node-group.faded { opacity: 0.22; }
.edge {
  fill: none;
  stroke: var(--black);
  stroke-width: 1.5;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  transition: stroke-dashoffset 1000ms var(--ease-out), opacity 400ms;
  opacity: 0;
}
.edge.active { stroke-dashoffset: 0; opacity: 1; }
.edge.accent-edge { stroke: var(--accent); stroke-width: 2; }
.edge.dashed { stroke-dasharray: 6 6; }

.structure-progress-rail {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 60%;
  background: rgba(0,0,0,0.08);
}
.structure-progress-rail .fill {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  background: var(--black);
  transition: height 200ms linear;
}

.structure-final {
  background: var(--white);
  text-align: center;
  padding: clamp(60px, 10vw, 140px) 0;
  border-top: 1px solid var(--border);
}
.structure-final p { max-width: 880px; margin: 0 auto; }
.structure-final p strong { color: var(--black); }
.structure-final small { display: block; margin-top: 28px; color: var(--gray-500); font-size: 12px; letter-spacing: 0.04em; }

/* =========================================================
   WHY
   ========================================================= */
/* ── Why grid 2x2 → 1+3 expanded ── */
.why-grid-2x2 {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.why-expanded {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: whyFade 400ms var(--ease-out);
}
.why-grid-1x3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 980px) {
  .why-grid-2x2 { grid-template-columns: 1fr; }
  .why-grid-1x3 { grid-template-columns: 1fr; }
}
@keyframes whyFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.why-card.compact {
  background: #fff;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-height: 260px;
  cursor: pointer;
  text-align: left;
  border: 0;
  font: inherit;
  color: inherit;
  transition: background 300ms ease, transform 300ms var(--ease-out);
}
.why-card.compact.cream-bg {
  background: var(--cream);
}
.why-card.compact:hover {
  background: var(--surface);
  transform: translateY(-2px);
}
.why-card.compact h3 {
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.why-card.compact .why-arrow { margin-top: auto; }

.why-card.active.main {
  cursor: default;
  min-height: 320px;
  background: var(--black);
  color: #fff;
  position: relative;
}
.why-card.active.main:hover { transform: none; }
.why-card.active.main .why-body,
.why-card.active.main .why-quote { max-height: 600px; opacity: 1; overflow: visible; }
.why-card.active.main .why-num { color: var(--accent); }

.why-progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
}
.why-progress-fill {
  height: 100%;
  background: var(--accent);
  transform-origin: left;
  animation: whyProgress linear forwards;
}
@keyframes whyProgress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
.why-card {
  background: #fff;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 500ms ease, color 500ms ease;
  min-height: 540px;
}
.why-card.active { background: var(--black); color: #fff; }
.why-card .why-num {
  font-family: 'DM Sans';
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gray-500);
}
.why-card.active .why-num { color: var(--accent); }
.why-card h3 {
  font-size: clamp(20px, 1.7vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.28;
  margin-top: 36px;
}
.why-card .why-body {
  margin-top: 24px;
  color: #555;
  font-size: 14.5px;
  line-height: 1.7;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 700ms var(--ease-out), opacity 500ms ease;
}
.why-card.active .why-body { max-height: 360px; opacity: 1; color: #B8B8B8; }
.why-card .why-quote {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  line-height: 1.5;
  letter-spacing: -0.01em;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 700ms var(--ease-out), opacity 500ms ease;
}
.why-card.active .why-quote { max-height: 200px; opacity: 1; }
.why-card .why-arrow {
  margin-top: auto;
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans';
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  transition: color 400ms;
}
.why-card.active .why-arrow { color: var(--accent); }

@media (max-width: 980px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   OFFER
   ========================================================= */
.offer-head { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; margin-bottom: 60px; }
.offer-head p { max-width: 480px; }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.offer-card {
  background: var(--light);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 520px;
  position: relative;
  transition: transform 400ms var(--ease-out), background 400ms;
}
.offer-card.featured { background: var(--black); color: #fff; }
.offer-card:hover { transform: translateY(-4px); }
.offer-card .offer-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 10px;
  font-family: 'DM Sans';
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  background: var(--accent);
  color: var(--accent-dark);
  clip-path: polygon(3px 0, calc(100% - 3px) 0, 100% 3px, 100% calc(100% - 3px), calc(100% - 3px) 100%, 3px 100%, 0 calc(100% - 3px), 0 3px);
}
.offer-card .offer-name {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.offer-card .offer-sub { font-size: 13px; color: var(--gray-500); margin-top: -16px; }
.offer-card.featured .offer-sub { color: #888; }
.offer-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.offer-card.featured ul { border-color: #2A2A2A; }
.offer-card li {
  font-size: 14px;
  line-height: 1.5;
  color: #444;
  padding-left: 22px;
  position: relative;
}
.offer-card.featured li { color: #D8D8D8; }
.offer-card li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 10px; height: 1px;
  background: var(--black);
}
.offer-card.featured li::before { background: var(--accent); }
.offer-note {
  margin-top: 32px;
  padding: 24px 28px;
  background: var(--light);
  font-size: 14px;
  line-height: 1.7;
  color: #555;
}

/* =========================================================
   GUARANTEE (dark)
   ========================================================= */
.guarantee-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 80px; align-items: start; }
.guarantee-grid h2 { color: #fff; }
.guarantee-grid p { color: #B8B8B8; }
.guarantee-card {
  background: #161616;
  padding: 40px;
  border: 1px solid #222;
}
.guarantee-card .gc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 28px;
  border-bottom: 1px solid #2A2A2A;
  margin-bottom: 28px;
}
.guarantee-card .gc-eyebrow { font-family: 'DM Sans'; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.guarantee-card .gc-title { font-size: 24px; font-weight: 700; margin-top: 8px; color: #fff; letter-spacing: -0.015em; }
.guarantee-card .gc-pill {
  display: inline-flex;
  padding: 6px 12px;
  font-family: 'DM Sans';
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  background: rgba(39, 170, 225, 0.15);
  color: var(--accent);
  clip-path: polygon(3px 0, calc(100% - 3px) 0, 100% 3px, 100% calc(100% - 3px), calc(100% - 3px) 100%, 3px 100%, 0 calc(100% - 3px), 0 3px);
}
.guarantee-list { display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px; }
.guarantee-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  align-items: start;
}
.guarantee-item .num {
  font-family: 'DM Sans';
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
}
.guarantee-item .gi-title { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 6px; letter-spacing: -0.01em; }
.guarantee-item .gi-text { font-size: 13.5px; color: #888; line-height: 1.65; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-grid { display: grid; grid-template-columns: 0.35fr 0.65fr; gap: clamp(40px, 6vw, 100px); }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  text-align: left;
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--black);
  cursor: pointer;
  gap: 24px;
  transition: color 200ms;
}
.faq-q:hover { color: #444; }
.faq-q .plus {
  flex-shrink: 0;
  width: 24px; height: 24px;
  position: relative;
  transition: transform 400ms var(--ease-out);
}
.faq-q .plus::before, .faq-q .plus::after {
  content: '';
  position: absolute;
  background: var(--black);
  top: 50%; left: 50%;
}
.faq-q .plus::before { width: 14px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-q .plus::after  { width: 1.5px; height: 14px; transform: translate(-50%, -50%); transition: opacity 300ms; }
.faq-item.open .faq-q .plus::after { opacity: 0; }
.faq-item.open .faq-q .plus { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 600ms var(--ease-out);
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a-inner { padding: 0 0 28px; color: #555; font-size: 15px; line-height: 1.75; max-width: 720px; }

/* =========================================================
   FINAL CTA
   ========================================================= */
.final-cta { text-align: center; padding: clamp(120px, 18vw, 220px) 0; position: relative; }
.final-cta .eyebrow { color: var(--accent); margin-bottom: 28px; }
.final-cta h2 { color: #fff; max-width: 1100px; margin: 0 auto; }
.final-cta p { max-width: 540px; margin: 32px auto 0; color: #999; font-size: 17px; }
.final-cta .final-buttons { margin-top: 56px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.final-cta .meta {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  font-family: 'DM Sans';
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #555;
}
.final-cta .meta span { display: inline-flex; align-items: center; gap: 8px; }
.final-cta .meta span::before {
  content: ''; width: 6px; height: 6px; background: var(--accent); border-radius: 50%;
}

/* Final CTA topographic-brand backdrop */
.final-tiles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  overflow: hidden;
}
.topo-tile {
  position: absolute;
  --rot: 0deg;
  --dur: 24s;
  --delay: 0s;
  color: var(--accent);
  transform-origin: center;
  transform: rotate(var(--rot));
  animation: topoDrift var(--dur) ease-in-out infinite;
  animation-delay: var(--delay);
  will-change: transform;
  opacity: 0.9;
}
.topo-tile.tile-dim { opacity: 0.35; }
.topo-tile svg { width: 100%; height: auto; display: block; }
@keyframes topoDrift {
  0%, 100% { transform: rotate(var(--rot)) translate3d(0, 0, 0); }
  25%      { transform: rotate(calc(var(--rot) + 3deg)) translate3d(14px, -16px, 0); }
  50%      { transform: rotate(calc(var(--rot) - 2deg)) translate3d(-10px, 12px, 0); }
  75%      { transform: rotate(calc(var(--rot) + 1deg)) translate3d(8px, -6px, 0); }
}
.final-cta .container { position: relative; z-index: 1; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--black);
  color: #999;
  border-top: 1px solid #1A1A1A;
  padding: 80px 0 40px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 56px; }
.footer-grid h5 { font-family: 'DM Sans'; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #666; margin-bottom: 20px; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { font-size: 14px; color: #B8B8B8; }
.footer-grid a:hover { color: var(--accent); }
.footer-brand-block { color: #fff; }
.footer-brand-block .brand-text { color: #fff; }
.footer-brand-block p { color: #888; font-size: 13px; margin-top: 20px; max-width: 280px; line-height: 1.7; }
.footer-bottom {
  margin-top: 60px;
  padding-top: 28px;
  border-top: 1px solid #1A1A1A;
  display: flex;
  justify-content: space-between;
  font-family: 'DM Sans';
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #555;
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */
/* Brand Story */
.story-grid {
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.story-sticky {
  position: sticky;
  top: 120px;
}
.story-num {
  font-family: 'DM Sans';
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.03em;
}
.story-label {
  margin-top: 18px;
  font-family: 'DM Sans';
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
  font-weight: 600;
}
.story-tagline {
  margin-top: 8px;
  font-size: 14px;
  color: var(--gray-500);
}
.story-body { display: flex; flex-direction: column; gap: 40px; }
.story-para {
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.6;
  color: var(--gray-500);
  letter-spacing: -0.015em;
  font-weight: 400;
}
.story-para strong { color: var(--black); font-weight: 600; }
.story-para.conclusion {
  font-size: clamp(22px, 2vw, 30px);
  color: var(--black);
  font-weight: 500;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  margin-top: 20px;
}
.story-para.conclusion strong { color: var(--accent); }
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-sticky { position: static; }
}

/* Philosophy */
.philosophy-head { margin-bottom: 60px; }
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
.phil-card {
  background: var(--surface);
  padding: 40px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 60px;
  transition: transform 400ms var(--ease-out);
}
.phil-card:hover { transform: translateY(-4px); }
.phil-card.featured {
  background: var(--black);
  color: #fff;
}
.phil-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans';
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.phil-card.featured .phil-tag { color: var(--accent); }
.phil-star { color: var(--accent); font-size: 12px; }
.phil-title {
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 20px;
}
.phil-card.featured .phil-title { color: #fff; }
.phil-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-500);
}
.phil-card.featured .phil-body { color: rgba(255,255,255,0.7); }
@media (max-width: 980px) {
  .philosophy-grid { grid-template-columns: 1fr; }
  .phil-card { min-height: 0; gap: 32px; }
}

.tagline-bar {
  margin-top: 80px;
  padding: 40px 48px;
  background: var(--cream);
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.5;
  color: var(--black);
  font-weight: 500;
  letter-spacing: -0.015em;
  text-align: center;
}
.tagline-bar strong { color: var(--accent); font-weight: 700; }

/* How We Work — Process Cycle */
.how-head { margin-bottom: 80px; }
.cycle-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cycle-entry {
  background: #fff;
  border: 1px dashed var(--border);
  padding: 32px 40px;
  display: grid;
  grid-template-columns: 120px 1fr 40px;
  gap: 32px;
  align-items: center;
  margin-bottom: 40px;
}
.entry-mark {
  font-family: 'DM Sans';
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gray-500);
  text-transform: uppercase;
}
.entry-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.entry-body {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}
.entry-arrow {
  font-size: 20px;
  color: var(--gray-500);
  text-align: center;
}

.cycle-steps { position: relative; }
.cycle-step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 36px 0;
  align-items: flex-start;
  position: relative;
}
.cycle-step + .cycle-step { border-top: 1px solid var(--border); }
.step-num-col {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 6px;
}
.step-num {
  font-family: 'DM Sans';
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--gray-300);
  transition: color 200ms;
}
.cycle-step.accent-step .step-num { color: var(--accent); }
.step-sub {
  font-family: 'DM Sans';
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 8px;
}
.cycle-step.accent-step .step-sub { color: var(--accent); font-weight: 600; }
.step-title {
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.step-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-500);
  max-width: 720px;
}

.cycle-loop {
  margin-top: 40px;
  padding: 24px 28px;
  background: var(--surface);
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'DM Sans';
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--black);
  text-transform: uppercase;
  border-left: 3px solid var(--accent);
}
.cycle-loop .loop-arrow {
  font-size: 22px;
  color: var(--accent);
}

.why-rediagnose {
  margin-top: 100px;
  background: #fff;
  padding: 48px;
  border: 1px solid var(--border);
}
.wr-tag {
  font-family: 'DM Sans';
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  font-weight: 600;
}
.wr-grid {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 32px;
  align-items: start;
}
.wr-h {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.wr-grid p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}
.wr-arrow {
  font-size: 24px;
  color: var(--accent);
  text-align: center;
  padding-top: 4px;
}
.wr-conclusion {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 16px;
  font-weight: 500;
  color: var(--black);
  line-height: 1.6;
  letter-spacing: -0.01em;
}
@media (max-width: 800px) {
  .wr-grid { grid-template-columns: 1fr; }
  .wr-arrow { transform: rotate(90deg); }
  .cycle-entry { grid-template-columns: 1fr; gap: 16px; }
  .cycle-step { grid-template-columns: 1fr; gap: 12px; }
}
/* =========================================================
   CASE STUDY PAGE
   ========================================================= */
/* Sticky filter bar */
.cs-filter-wrap {
  position: sticky;
  top: 60px;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.cs-filter-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cs-filter-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', 'JetBrains Mono';
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-500);
  font-weight: 600;
  min-width: 180px;
}
.cs-filter-tick {
  width: 8px; height: 8px;
  background: var(--accent);
  clip-path: polygon(2px 0, calc(100% - 2px) 0, 100% 2px, 100% calc(100% - 2px), calc(100% - 2px) 100%, 2px 100%, 0 calc(100% - 2px), 0 2px);
}
.cs-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cs-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--black);
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background 200ms, border-color 200ms, color 200ms;
  clip-path: polygon(5px 0%, calc(100% - 5px) 0%, 100% 5px, 100% calc(100% - 5px), calc(100% - 5px) 100%, 5px 100%, 0% calc(100% - 5px), 0% 5px);
}
.cs-chip:hover { border-color: var(--black); }
.cs-chip.active {
  background: var(--black);
  border-color: var(--black);
  color: #fff;
}
.cs-chip-count {
  font-family: 'DM Sans';
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--gray-500);
  font-weight: 600;
}
.cs-chip.active .cs-chip-count { color: var(--accent); }

/* Meta row */
.cs-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}
.cs-meta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', 'JetBrains Mono';
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.cs-blink {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(39,170,225,0.18);
  animation: cs-pulse 1.6s infinite;
}
@keyframes cs-pulse { 50% { opacity: 0.4; } }
.cs-meta-count {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: 'DM Sans';
  font-size: 13px;
  color: var(--gray-500);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.cs-meta-num {
  font-size: 28px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.03em;
}

/* Grid */
.cs-grid-section { padding-top: clamp(48px, 6vw, 80px); }
.cs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1080px) { .cs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px)  { .cs-grid { grid-template-columns: 1fr; } }

/* Card */
.cs-card {
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px);
  transition: clip-path 720ms cubic-bezier(0.4, 0, 0.2, 1), background-color 300ms ease, opacity 400ms ease;
  will-change: clip-path;
  border: 0;
}
.cs-card:hover {
  transform: none;
  background: var(--surface);
  clip-path: polygon(28px 0, calc(100% - 28px) 0, 100% 28px, 100% calc(100% - 28px), calc(100% - 28px) 100%, 28px 100%, 0 calc(100% - 28px), 0 28px);
}
.cs-card.cs-hidden { display: none; }
.cs-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface);
}
.cs-thumb-svg { width: 100%; height: 100%; display: block; }
.cs-upcoming {
  position: absolute;
  top: 16px; left: 16px;
  font-family: 'DM Sans', 'Pretendard';
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--black);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(4px);
  padding: 6px 10px;
  clip-path: polygon(3px 0,calc(100% - 3px) 0,100% 3px,100% calc(100% - 3px),calc(100% - 3px) 100%,3px 100%,0 calc(100% - 3px),0 3px);
}
.cs-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex-grow: 1;
}
.cs-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cs-tag {
  font-family: 'DM Sans', 'Pretendard';
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  padding: 4px 8px;
  background: var(--surface);
  clip-path: polygon(3px 0,calc(100% - 3px) 0,100% 3px,100% calc(100% - 3px),calc(100% - 3px) 100%,3px 100%,0 calc(100% - 3px),0 3px);
}
.cs-title {
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--black);
}
.cs-desc { font-size: 13.5px; line-height: 1.6; color: var(--gray-500); }
.cs-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 18px;
  margin-top: auto;
  border-top: 1px solid var(--border);
}
.cs-metric { display: flex; flex-direction: column; gap: 4px; }
.cs-metric-val {
  font-family: 'DM Sans';
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--black);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.cs-metric-val .accent { color: var(--accent); }
.cs-metric-val .cs-down { color: var(--accent-dark); }
.cs-metric-label {
  font-family: 'DM Sans';
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.cs-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 6px;
  font-family: 'DM Sans';
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--black);
  text-transform: uppercase;
}
.cs-arrow {
  display: inline-flex;
  transition: transform 280ms var(--ease-out);
}
.cs-card:hover .cs-arrow { transform: translateX(4px); }
.cs-empty-note {
  margin-top: 64px;
  padding: 32px 36px;
  background: var(--cream);
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-500);
  border-left: 3px solid var(--accent);
}
.cs-empty-note strong { color: var(--black); font-weight: 600; }

/* =========================================================
   AUTHOR PAGE
   ========================================================= */
.au-hero-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 800px) {
  .au-hero-grid { grid-template-columns: 1fr; gap: 32px; }
}
.au-avatar {
  width: 100%;
  aspect-ratio: 5 / 6;
  background: var(--black);
  overflow: hidden;
}
.au-avatar svg { display: block; }

.au-bio { display: flex; flex-direction: column; gap: 20px; }
.au-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans';
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.au-eyebrow {
  font-family: 'DM Sans';
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.au-name {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--black);
}
.au-role {
  font-size: 17px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.au-tagline {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.7;
  color: var(--gray-500);
  max-width: 580px;
}
.au-stats {
  display: flex;
  gap: 0;
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.au-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.au-stat + .au-stat {
  padding-left: 24px;
  border-left: 1px solid var(--border);
}
.au-stat:not(:first-child) { margin-left: 24px; }
.au-stat-num {
  font-family: 'DM Sans';
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--black);
  line-height: 1;
}
.au-stat-label {
  font-family: 'DM Sans';
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.au-links {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
  border-top: 1px solid var(--border);
}
.au-link {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: opacity 200ms;
}
.au-link:hover { opacity: 0.6; }
.au-link-label {
  font-family: 'DM Sans';
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.au-link-val {
  font-size: 15px;
  font-weight: 500;
  color: var(--black);
  letter-spacing: -0.01em;
  font-family: 'DM Sans', 'Pretendard';
}
.au-link-val .arrow { color: var(--gray-500); margin-left: 4px; }

/* About + Articles split */
.au-about, .au-articles { padding-top: clamp(60px, 8vw, 100px); padding-bottom: clamp(60px, 8vw, 100px); }
.au-about-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
@media (max-width: 800px) {
  .au-about-grid { grid-template-columns: 1fr; gap: 32px; }
}
.au-section-num {
  font-family: 'DM Sans';
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.03em;
}
.au-section-label {
  margin-top: 16px;
  font-family: 'DM Sans';
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
}

.au-about-body {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.au-about-para {
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.65;
  color: var(--gray-500);
  letter-spacing: -0.015em;
}
.au-about-para strong {
  color: var(--black);
  font-weight: 600;
}

.au-articles-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 24px;
}
@media (max-width: 800px) {
  .au-articles-grid { grid-template-columns: 1fr; }
}
/* =========================================================
   BLOG POST PAGE
   ========================================================= */
/* Reading progress bar */
.bp-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  z-index: 200;
  pointer-events: none;
}
.bp-progress-fill {
  height: 100%;
  background: var(--accent);
  transition: width 80ms linear;
}

.bp-post-section { padding-top: clamp(120px, 16vh, 180px); padding-bottom: 0; }
.bp-container-wide { max-width: 1340px; }

/* 3-col grid: TOC + main + popular */
.bp-grid.bp-grid-3col {
  display: grid;
  grid-template-columns: 220px 1fr 280px;
  gap: clamp(28px, 4vw, 64px);
  align-items: stretch;
}
@media (max-width: 1180px) {
  .bp-grid.bp-grid-3col { grid-template-columns: 200px 1fr; }
  .bp-popular-sidebar { display: none; }
}
@media (max-width: 900px) {
  .bp-grid.bp-grid-3col { grid-template-columns: 1fr; gap: 32px; }
  .bp-toc-sidebar { display: none; }
}

/* TOC sidebar */
.bp-toc-sidebar { position: relative; }
.bp-toc-inner {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.bp-toc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans';
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 16px;
}
.bp-toc-tick {
  width: 8px; height: 8px;
  background: var(--accent);
  clip-path: polygon(2px 0, calc(100% - 2px) 0, 100% 2px, 100% calc(100% - 2px), calc(100% - 2px) 100%, 2px 100%, 0 calc(100% - 2px), 0 2px);
}

/* TOC list */
.bp-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid var(--border);
}
.bp-toc-item a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  padding: 10px 0 10px 16px;
  text-decoration: none;
  color: var(--gray-500);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  border-left: 2px solid transparent;
  margin-left: -1px;
  transition: color 200ms, border-color 200ms;
}
.bp-toc-item a:hover { color: var(--black); }
.bp-toc-num {
  font-family: 'DM Sans';
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gray-400);
}
.bp-toc-text { font-weight: 500; }
.bp-toc-item.active a {
  color: var(--black);
  border-left-color: var(--accent);
}
.bp-toc-item.active .bp-toc-num { color: var(--accent); }

/* Share */
.bp-share-block {
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.bp-share-row { display: flex; flex-direction: column; gap: 4px; }
.bp-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
  cursor: pointer;
  text-decoration: none;
  transition: color 200ms;
}
.bp-share-btn:hover { color: var(--accent); }
.bp-share-btn svg { flex-shrink: 0; color: var(--gray-500); transition: color 200ms; }
.bp-share-btn:hover svg { color: var(--accent); }

/* TOC progress widget */
.bp-toc-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.bp-toc-progress-bar {
  position: relative;
  width: 2px;
  height: 36px;
  background: var(--border);
  overflow: hidden;
}
.bp-toc-progress-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 0%;
  background: var(--accent);
  transition: height 120ms linear;
}
.bp-toc-progress-num {
  font-family: 'DM Sans';
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--black);
  font-variant-numeric: tabular-nums;
}
.bp-toc-progress-num span:last-child {
  font-size: 11px;
  color: var(--gray-500);
  letter-spacing: 0.06em;
  margin-left: 2px;
}

/* Popular sidebar */
.bp-popular-sidebar { position: relative; }
.bp-popular-inner {
  position: sticky;
  top: 120px;
  padding-left: 24px;
  border-left: 1px solid var(--border);
}
.bp-popular-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.bp-popular-link {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  text-decoration: none;
  color: inherit;
  transition: opacity 200ms;
}
.bp-popular-link:hover { opacity: 0.6; }
.bp-popular-rank {
  font-family: 'DM Sans';
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.bp-popular-meta { display: flex; flex-direction: column; gap: 4px; }
.bp-popular-title {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--black);
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.bp-popular-time {
  font-family: 'DM Sans';
  font-size: 11px;
  color: var(--gray-500);
  letter-spacing: 0.02em;
}

/* Main column */
.bp-main {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 6vw, 80px);
}

/* Article header (unchanged) */
.bp-header { display: flex; flex-direction: column; gap: 28px; }
.bp-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans';
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.bp-crumb {
  color: var(--gray-500);
  text-decoration: none;
  transition: color 200ms;
}
.bp-crumb:hover { color: var(--accent); }
.bp-crumb-sep { color: var(--gray-300); }
.bp-title {
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--black);
}
.bp-title .accent { color: var(--accent); }
.bp-subtitle {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.7;
  color: var(--gray-500);
  max-width: 640px;
}
.bp-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}
.bp-meta-author {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: opacity 200ms;
}
.bp-meta-author:hover { opacity: 0.7; }
.bp-author-avatar {
  width: 44px; height: 44px;
  background: var(--black);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Pretendard';
  font-size: 16px;
  font-weight: 700;
  clip-path: polygon(6px 0,calc(100% - 6px) 0,100% 6px,100% calc(100% - 6px),calc(100% - 6px) 100%,6px 100%,0 calc(100% - 6px),0 6px);
}
.bp-meta-author-name { font-size: 14px; font-weight: 600; color: var(--black); letter-spacing: -0.01em; }
.bp-meta-author-role { font-size: 12px; color: var(--gray-500); margin-top: 2px; }
.bp-meta-info {
  display: flex; gap: 8px;
  font-family: 'DM Sans';
  font-size: 12px;
  color: var(--gray-500);
  letter-spacing: 0.02em;
}
.bp-meta-info .sep { opacity: 0.5; }

/* Cover */
.bp-cover {
  margin: 0;
  background: var(--black);
  overflow: hidden;
  aspect-ratio: 16 / 7.2;
}
.bp-cover-caption {
  margin-top: 12px;
  font-size: 12px;
  font-family: 'DM Sans';
  letter-spacing: 0.04em;
  color: var(--gray-500);
}

/* Article body */
.bp-article-body {
  display: flex;
  flex-direction: column;
  gap: 28px;
  font-family: 'Pretendard', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: #1A1F2A;
  letter-spacing: -0.015em;
  word-break: keep-all;
}
.bp-article-body img,
.bp-article-body figure.wp-block-image {
  clip-path: polygon(6px 0%, calc(100% - 6px) 0%, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0% calc(100% - 6px), 0% 6px);
}
.bp-lead {
  font-size: 19px;
  line-height: 1.7;
  color: var(--black);
  font-weight: 500;
  padding-bottom: 8px;
}
.bp-lead strong { color: var(--accent); }
.bp-article-body h2 {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--black);
  margin-top: 32px;
  margin-bottom: 4px;
  line-height: 1.3;
  scroll-margin-top: 100px;
}
.bp-article-body p {
  font-size: 17px;
  line-height: 1.75;
  color: #1A1F2A;
}
.bp-article-body strong {
  color: var(--black);
  font-weight: 700;
  background: linear-gradient(transparent 60%, rgba(39,170,225,0.18) 60%);
  padding: 0 2px;
}
.bp-article-body ul {
  list-style: none;
  padding: 0;
  margin: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bp-article-body li {
  padding-left: 24px;
  position: relative;
  font-size: 16px;
  line-height: 1.7;
}
.bp-article-body li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.62em;
  width: 9px; height: 9px;
  /* inline-SVG octagon — crisp at every DPI, never sub-pixel squishes */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2.93 0H7.07L10 2.93V7.07L7.07 10H2.93L0 7.07V2.93Z' fill='%2327AAE1'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Inline links — blue text, hexagon sweep-fill on hover */
.bp-article-body a {
  position: relative;
  z-index: 0;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  padding: 1px 6px;
  transition: color .3s cubic-bezier(.4,0,.2,1);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.bp-article-body a::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--accent);
  /* 가로로 긴 육각형 — 양끝이 뾰족 */
  clip-path: polygon(6px 0%, calc(100% - 6px) 0%, 100% 50%, calc(100% - 6px) 100%, 6px 100%, 0% 50%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.bp-article-body a:hover,
.bp-article-body a:focus-visible { color: #fff; }
.bp-article-body a:hover::before,
.bp-article-body a:focus-visible::before { transform: scaleX(1); }

/* Tables — chamfer via filled frame (fill-clip, so corners never break) */
.bp-article-body figure.wp-block-table {
  margin: 8px 0;
  background: var(--black);     /* 1px 패딩만큼 보이는 블랙 프레임 */
  padding: 1px;
  clip-path: polygon(8px 0%, calc(100% - 8px) 0%, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0% calc(100% - 8px), 0% 8px);
}
.bp-article-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.6;
  background: #fff;
  border: none;                 /* stroke 없음 → 끊기는 모서리 없음 */
  clip-path: polygon(7px 0%, calc(100% - 7px) 0%, 100% 7px, 100% calc(100% - 7px), calc(100% - 7px) 100%, 7px 100%, 0% calc(100% - 7px), 0% 7px);
  overflow: hidden;
}
.bp-article-body thead th,
.bp-article-body table tr:first-child th {
  background: var(--black);
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.bp-article-body th,
.bp-article-body td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(13,15,18,0.1);
  vertical-align: top;
}
.bp-article-body tbody tr:nth-child(even) td { background: var(--cream); }
.bp-article-body tbody tr:last-child td { border-bottom: none; }
.bp-article-body table strong { background: none; padding: 0; color: var(--accent-dark); }

/* Callout — Notion 스타일 (코즈믹라테 bg + 4방 chamfer) */
.bp-article-body blockquote,
.bp-quote {
  margin: 28px 0;
  padding: 22px 28px;
  background: var(--cream);
  clip-path: polygon(8px 0%, calc(100% - 8px) 0%, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0% calc(100% - 8px), 0% 8px);
  border: none;
  position: relative;
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 500;
  font-style: normal;
  line-height: 1.7;
  letter-spacing: -0.015em;
  color: var(--black);
}
.bp-article-body blockquote p,
.bp-quote p {
  margin: 0;
}
.bp-divider,
.bp-article-body hr {
  height: 1px;
  border: none;
  /* hairline that fades at both ends — far more subtle than a solid line */
  background: linear-gradient(90deg, transparent, rgba(13,15,18,0.08) 22%, rgba(13,15,18,0.08) 78%, transparent);
  transform: scaleY(0.5);
  transform-origin: center;
  margin: 28px 0;
}
.bp-byline {
  font-size: 13px;
  color: var(--gray-500);
  letter-spacing: -0.01em;
}
.bp-byline strong { color: var(--black); background: none; padding: 0; }

/* Author card */
.bp-author-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0 4px;
}
.bp-author-card-img,
.bp-author-card-initial {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  clip-path: polygon(6px 0%, calc(100% - 6px) 0%, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0% calc(100% - 6px), 0% 6px);
}
.bp-author-card-img {
  object-fit: cover;
  display: block;
}
.bp-author-card-initial {
  background: var(--accent);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
}
.bp-author-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 6px;
}
.bp-author-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bp-author-card-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.01em;
}
.bp-author-card-role {
  font-size: 12px;
  color: var(--gray-500);
}
.bp-author-card-bio {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.65;
  margin: 0;
}

/* Inline CTA */
.bp-inline-cta {
  background: var(--black);
  color: #fff;
  padding: clamp(36px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.bp-inline-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans';
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.bp-inline-cta-eyebrow .dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(39,170,225,0.2);
}
.bp-inline-cta-title {
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: #fff;
}
.bp-inline-cta-title .accent { color: var(--accent); }
.bp-inline-cta-desc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
}

/* Related posts */
.bp-related { padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(80px, 10vw, 140px); }
.bp-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}
@media (max-width: 1080px) { .bp-related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .bp-related-grid { grid-template-columns: 1fr; } }

/* =========================================================
   BLOG ARCHIVE PAGE
   ========================================================= */
/* Blog subnav — second GNB row */
.blog-subnav {
  position: sticky;
  top: 60px;
  z-index: 80;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--border);
  transition: top 280ms ease;
}
.blog-subnav-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
  flex-wrap: wrap;
}
.blog-subnav-label {
  font-family: 'DM Sans', 'JetBrains Mono';
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-500);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.blog-subnav-label::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--accent);
  clip-path: polygon(2px 0, calc(100% - 2px) 0, 100% 2px, 100% calc(100% - 2px), calc(100% - 2px) 100%, 2px 100%, 0 calc(100% - 2px), 0 2px);
}
.blog-subnav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  flex-grow: 1;
}

/* Search outer — un-clipped wrapper so dropdown can extend past chamfer */
.blog-search-outer {
  position: relative;
  min-width: 280px;
}

/* Search field — nested wrap to get a chamfered outline that follows the clip */
.blog-search-wrap {
  position: relative;
  background: var(--border);
  padding: 1px;
  clip-path: polygon(5px 0, calc(100% - 5px) 0, 100% 5px, 100% calc(100% - 5px), calc(100% - 5px) 100%, 5px 100%, 0 calc(100% - 5px), 0 5px);
  transition: background 200ms;
}
.blog-search-wrap:focus-within { background: var(--black); }

/* Autocomplete dropdown */
.blog-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  z-index: 90;
  max-height: 480px;
  overflow-y: auto;
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
  box-shadow: 0 24px 60px rgba(13, 15, 18, 0.12), 0 4px 16px rgba(13, 15, 18, 0.06);
  animation: dropdownFade 240ms cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.blog-search-dropdown-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.blog-search-dropdown-label {
  font-family: 'DM Sans';
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.blog-search-dropdown-all {
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: transparent;
  border: 0;
  color: var(--accent);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
}
.blog-search-dropdown-all:hover { color: var(--black); }
.blog-search-dropdown-all .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  border: 1px solid currentColor;
  font-size: 10px;
  clip-path: polygon(3px 0, calc(100% - 3px) 0, 100% 3px, 100% calc(100% - 3px), calc(100% - 3px) 100%, 3px 100%, 0 calc(100% - 3px), 0 3px);
}

.blog-search-list {
  list-style: none;
  padding: 8px 0;
  margin: 0;
}
.blog-search-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
  padding: 12px 20px;
  text-decoration: none;
  color: inherit;
  align-items: center;
  transition: background 160ms ease;
}
.blog-search-item:hover { background: var(--cream); }
.blog-search-item-thumb {
  width: 80px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  clip-path: polygon(4px 0, calc(100% - 4px) 0, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 0 calc(100% - 4px), 0 4px);
}
.blog-search-item-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.blog-search-item-cat {
  font-family: 'DM Sans';
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.blog-search-item-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.015em;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.blog-search-item-meta {
  font-family: 'DM Sans';
  font-size: 11px;
  color: var(--gray-500);
  letter-spacing: 0.02em;
}
.blog-search-empty {
  padding: 32px 20px;
  text-align: center;
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
}
.blog-search-empty strong { color: var(--black); font-weight: 600; }

/* =========================================================
   SEARCH RESULTS PAGE
   ========================================================= */
.search-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--black);
}
.search-hero h1 .accent { color: var(--accent); }

/* Big search input */
.search-big-form { margin-top: 48px; max-width: 720px; }
.search-big-outer { position: relative; }
.search-big-wrap {
  position: relative;
  background: var(--border);
  padding: 1.5px;
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
  transition: background 200ms;
}
.search-big-wrap:focus-within { background: var(--black); }
.search-big {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  background: #fff;
  color: var(--gray-500);
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
}
.search-big-wrap:focus-within .search-big { color: var(--black); }
.search-big svg { flex-shrink: 0; }
.search-big input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  font: inherit;
  font-size: 18px;
  color: var(--black);
  letter-spacing: -0.015em;
  min-width: 0;
}
.search-big input::placeholder { color: var(--gray-500); }
.search-big-clear {
  flex-shrink: 0;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 22px;
  line-height: 1;
  color: var(--gray-500);
  cursor: pointer;
  padding: 0 6px;
  transition: color 200ms;
}
.search-big-clear:hover { color: var(--black); }
.search-big-submit {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--black);
  color: #fff;
  border: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  clip-path: polygon(5px 0, calc(100% - 5px) 0, 100% 5px, 100% calc(100% - 5px), calc(100% - 5px) 100%, 5px 100%, 0 calc(100% - 5px), 0 5px);
  transition: background 200ms;
}
.search-big-submit:hover { background: var(--accent); color: var(--accent-dark); }
.search-big-submit .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  border: 1px solid currentColor;
  font-size: 11px;
}

/* Results filters + list */
.search-results-section { padding-top: clamp(40px, 5vw, 60px); padding-bottom: clamp(80px, 10vw, 140px); }
.search-results-head {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}
.search-cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.search-cat-count {
  display: inline-block;
  margin-left: 4px;
  font-family: 'DM Sans';
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: inherit;
  opacity: 0.6;
}
.blog-subnav-tab.active .search-cat-count { color: var(--accent); opacity: 1; }

.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.search-result-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  padding: 32px 0;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
  transition: background 200ms;
}
.search-result-card:first-of-type { border-top: 1px solid var(--border); }
.search-result-card:hover { background: var(--cream); padding-left: 24px; padding-right: 24px; }
.search-result-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px);
  transition: clip-path 720ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: clip-path;
}
.search-result-card:hover .search-result-thumb {
  clip-path: polygon(20px 0, calc(100% - 20px) 0, 100% 20px, 100% calc(100% - 20px), calc(100% - 20px) 100%, 20px 100%, 0 calc(100% - 20px), 0 20px);
}
.search-result-body { display: flex; flex-direction: column; gap: 12px; padding: 8px 0; }
.search-result-meta-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans';
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--gray-500);
}
.search-result-meta-top .sep { opacity: 0.5; }
.search-result-cat {
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.search-result-title {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--black);
}
.search-result-excerpt {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-500);
}
.search-result-foot {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans';
  font-size: 12px;
  color: var(--gray-500);
  letter-spacing: 0.02em;
}
.search-result-foot .sep { opacity: 0.5; }
.search-result-arrow {
  margin-left: auto;
  color: var(--black);
  font-size: 18px;
  transition: transform 300ms var(--ease-out);
}
.search-result-card:hover .search-result-arrow { transform: translateX(6px); }

.search-mark {
  background: rgba(39, 170, 225, 0.18);
  color: var(--black);
  padding: 0 2px;
  font-weight: inherit;
}

.search-empty {
  margin-top: 40px;
  padding: 80px 32px;
  background: var(--cream);
  text-align: center;
}
.search-empty-icon {
  font-size: 56px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-section {
  padding-top: clamp(140px, 18vh, 200px);
  padding-bottom: clamp(80px, 10vw, 140px);
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 980px) {
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
}
.contact-benefits { position: sticky; top: 120px; }
.contact-benefits h1 .accent { color: var(--accent); }
@media (max-width: 980px) { .contact-benefits { position: static; } }
.contact-benefit-list {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.contact-benefit-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  align-items: flex-start;
}
.contact-benefit-item:last-child { border-bottom: 1px solid var(--border); }
.contact-benefit-num {
  font-family: 'DM Sans';
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  padding-top: 4px;
}
.contact-benefit-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--black);
  line-height: 1.4;
}
.contact-benefit-desc {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--gray-500);
}
.contact-trust {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.contact-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: var(--cream);
  font-family: 'DM Sans';
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  clip-path: polygon(4px 0,calc(100% - 4px) 0,100% 4px,100% calc(100% - 4px),calc(100% - 4px) 100%,4px 100%,0 calc(100% - 4px),0 4px);
}
.contact-trust-pill .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.contact-form-wrap { position: relative; }
.contact-form-card {
  background: var(--cream);
  padding: clamp(36px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-form-head { display: flex; flex-direction: column; gap: 14px; }
.contact-form-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', 'DM Sans';
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.contact-form-eyebrow-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(39,170,225,0.18);
  animation: cs-pulse 1.6s infinite;
}
@keyframes cs-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(39,170,225,0.18); }
  50%       { box-shadow: 0 0 0 7px rgba(39,170,225,0.06); }
}
.contact-form-title {
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.3;
  color: var(--black);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-form-row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 560px) { .contact-form-row.two { grid-template-columns: 1fr; } }
.contact-field { display: flex; flex-direction: column; gap: 8px; }
.contact-field > span {
  font-family: 'DM Sans', 'Pretendard';
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--black);
  text-transform: uppercase;
}
.contact-field > span em {
  color: var(--accent);
  font-style: normal;
  margin-left: 4px;
}
.contact-field input,
.contact-field textarea,
.contact-field select {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--border);
  padding: 12px 16px;
  font: inherit;
  font-size: 14px;
  color: var(--black);
  letter-spacing: -0.01em;
  width: 100%;
  outline: none;
  clip-path: polygon(5px 0,calc(100% - 5px) 0,100% 5px,100% calc(100% - 5px),calc(100% - 5px) 100%,5px 100%,0 calc(100% - 5px),0 5px);
  transition: box-shadow 200ms ease;
}
.contact-field input::placeholder,
.contact-field textarea::placeholder { color: var(--gray-500); font-weight: 400; }
.contact-field input:focus,
.contact-field textarea:focus,
.contact-field select:focus { box-shadow: inset 0 0 0 1.5px var(--black); }
.contact-field textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
  line-height: 1.6;
}
.contact-select-wrap { position: relative; }
.contact-select-wrap select { padding-right: 40px; cursor: pointer; }
.contact-select-caret {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 14px;
  color: var(--gray-500);
}
.contact-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--gray-500);
  cursor: pointer;
  margin-top: 4px;
}
.contact-checkbox input {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 16px; height: 16px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--border);
  cursor: pointer;
  margin-top: 2px;
  position: relative;
  clip-path: polygon(3px 0,calc(100% - 3px) 0,100% 3px,100% calc(100% - 3px),calc(100% - 3px) 100%,3px 100%,0 calc(100% - 3px),0 3px);
  transition: background 200ms;
}
.contact-checkbox input:checked {
  background: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.contact-checkbox input:checked::after {
  content: '';
  position: absolute;
  left: 4px; top: 1px;
  width: 5px; height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.contact-link { color: var(--accent); text-decoration: underline; }
.contact-submit { width: 100%; justify-content: center; margin-top: 8px; }
.contact-form-foot {
  font-family: 'DM Sans';
  font-size: 11px;
  color: var(--gray-500);
  letter-spacing: 0.02em;
  line-height: 1.6;
  margin-top: 4px;
}
.contact-form-success {
  text-align: center;
  padding: 32px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-success-mark {
  width: 56px; height: 56px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  clip-path: polygon(8px 0,calc(100% - 8px) 0,100% 8px,100% calc(100% - 8px),calc(100% - 8px) 100%,8px 100%,0 calc(100% - 8px),0 8px);
  margin-bottom: 24px;
}
.contact-form-success h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--black);
}
.contact-form-success p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-500);
  max-width: 380px;
}

/* =========================================================
   404 PAGE
   ========================================================= */
.nf-body-centered {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.nf-code-inline {
  font-family: 'DM Sans';
  font-size: clamp(80px, 12vw, 144px);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: var(--accent);
  margin-bottom: 8px;
}
.nf-eyebrow {
  font-family: 'DM Sans', 'Pretendard';
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.nf-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--black);
}
.nf-title .accent { color: var(--accent); }
.nf-desc {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.7;
  color: var(--gray-500);
  max-width: 540px;
}
.nf-search-form { margin-top: 12px; max-width: 540px; }
.nf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

/* Recommendations section */
.nf-recommend { padding-top: clamp(60px, 8vw, 100px); padding-bottom: clamp(80px, 10vw, 140px); }
.nf-recommend-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: stretch;
}
@media (max-width: 980px) {
  .nf-recommend-grid { grid-template-columns: 1fr; }
}

/* Featured big card */
.nf-feature {
  display: flex;
  flex-direction: column;
  background: #fff;
  text-decoration: none;
  color: inherit;
  padding: 28px;
  gap: 20px;
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
  transition: clip-path 720ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: clip-path;
}
.nf-feature:hover {
  clip-path: polygon(24px 0, calc(100% - 24px) 0, 100% 24px, 100% calc(100% - 24px), calc(100% - 24px) 100%, 24px 100%, 0 calc(100% - 24px), 0 24px);
}
.nf-feature-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 6px 12px;
  background: var(--cream);
  font-family: 'DM Sans';
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  clip-path: polygon(4px 0,calc(100% - 4px) 0,100% 4px,100% calc(100% - 4px),calc(100% - 4px) 100%,4px 100%,0 calc(100% - 4px),0 4px);
}
.nf-feature-eyebrow .dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(39,170,225,0.18);
}
.nf-feature-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.nf-feature-body { display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.nf-feature-title {
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.3;
  color: var(--black);
  margin-top: 4px;
}
.nf-feature-excerpt {
  font-size: 14px;
  line-height: 1.65;
  color: var(--gray-500);
}
.nf-feature-meta {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-family: 'DM Sans';
  font-size: 12px;
  color: var(--gray-500);
  letter-spacing: 0.02em;
}
.nf-feature-meta .sep { opacity: 0.5; }

/* Perspective list */
.nf-perspectives {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  background: #fff;
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
}
.nf-perspectives-eyebrow {
  font-family: 'DM Sans';
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.nf-perspective-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  transition: opacity 200ms;
}
.nf-perspective-card:hover { opacity: 0.75; }
.nf-perspective-thumb {
  width: 100px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  clip-path: polygon(4px 0, calc(100% - 4px) 0, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 0 calc(100% - 4px), 0 4px);
}
.nf-perspective-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.nf-perspective-title {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.4;
  color: var(--black);
  margin-top: 4px;
}
.nf-perspective-excerpt {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--gray-500);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nf-perspective-time {
  margin-top: 6px;
  font-family: 'DM Sans';
  font-size: 11px;
  color: var(--gray-500);
}

@media (max-width: 800px) {
  .search-result-card { grid-template-columns: 1fr; gap: 16px; padding: 24px 0; }
  .search-result-card:hover { padding-left: 0; padding-right: 0; }
}
.blog-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  background: #fff;
  color: var(--gray-500);
  clip-path: polygon(4px 0, calc(100% - 4px) 0, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 0 calc(100% - 4px), 0 4px);
  transition: color 200ms;
}
.blog-search-wrap:focus-within .blog-search { color: var(--black); }
.blog-search svg { flex-shrink: 0; }
.blog-search input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  font: inherit;
  font-size: 13px;
  color: var(--black);
  letter-spacing: -0.01em;
  min-width: 0;
}
.blog-search input::placeholder { color: var(--gray-500); }
.blog-search-clear {
  flex-shrink: 0;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 16px;
  line-height: 1;
  color: var(--gray-500);
  cursor: pointer;
  padding: 0 4px;
  transition: color 200ms;
}
.blog-search-clear:hover { color: var(--black); }

/* Empty state */
.blog-empty {
  margin-top: 40px;
  padding: 64px 32px;
  background: var(--surface);
  text-align: center;
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
}
.blog-empty p {
  font-size: 16px;
  color: var(--black);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.blog-empty .blog-empty-sub {
  margin-top: 8px;
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 400;
}
.blog-subnav-tab {
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  background: transparent;
  color: var(--gray-500);
  border: 0;
  cursor: pointer;
  transition: background 200ms, color 200ms;
  border-radius: 999px;
}
.blog-subnav-tab:hover { color: var(--black); background: var(--surface); }
.blog-subnav-tab.active {
  background: var(--black);
  color: #fff;
}

/* Spade-style chamfer-grow hover — applied per-card with explicit transitions */
.blog-article-thumb {
  clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px);
  transition: clip-path 720ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: clip-path;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface);
}
.blog-article-card { transition: none; }
.blog-article-card:hover { transform: none; }
.blog-article-card:hover .blog-article-thumb {
  clip-path: polygon(28px 0, calc(100% - 28px) 0, 100% 28px, 100% calc(100% - 28px), calc(100% - 28px) 100%, 28px 100%, 0 calc(100% - 28px), 0 28px);
}

.blog-divider {
  border: 0;
  height: 2px;
  background: rgba(13, 15, 18, 0.08);
  margin: 0 0 36px;
}
.blog-section-head { margin-bottom: 40px; }

/* Top row — 지금 많이 읽는 글 + Theia의 관점으로 */
.blog-toprow-section { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.blog-toprow-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 900px) {
  .blog-toprow-grid { grid-template-columns: 1fr; gap: 56px; }
}

/* Popular numbered list */
.blog-popular-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.blog-popular-item { border-bottom: 1px solid var(--border); }
.blog-popular-item:first-child { border-top: 1px solid var(--border); }
.blog-popular-link {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 20px;
  align-items: start;
  padding: 22px 0;
  text-decoration: none;
  color: inherit;
  transition: opacity 200ms;
}
.blog-popular-link:hover { opacity: 0.6; }
.blog-popular-num {
  font-family: 'DM Sans';
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.blog-popular-title {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--black);
  line-height: 1.5;
  letter-spacing: -0.015em;
}

/* Perspective list — articles with side thumbs */
.blog-perspective-list { display: flex; flex-direction: column; gap: 48px; }
.blog-perspective-item {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 32px;
  text-decoration: none;
  color: inherit;
  align-items: start;
}
.blog-perspective-body { display: flex; flex-direction: column; gap: 12px; }
.blog-perspective-title {
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.blog-new-flag {
  font-family: 'DM Sans';
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 9px;
  background: rgba(39, 170, 225, 0.12);
  color: var(--accent);
  clip-path: polygon(3px 0,calc(100% - 3px) 0,100% 3px,100% calc(100% - 3px),calc(100% - 3px) 100%,3px 100%,0 calc(100% - 3px),0 3px);
}
.blog-perspective-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--gray-500);
}
.blog-perspective-meta {
  font-family: 'DM Sans';
  font-size: 12px;
  color: var(--gray-500);
  letter-spacing: 0.02em;
  margin-top: 4px;
}
.blog-perspective-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px);
  transition: clip-path 720ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: clip-path;
}
.blog-perspective-item:hover .blog-perspective-thumb {
  clip-path: polygon(20px 0, calc(100% - 20px) 0, 100% 20px, 100% calc(100% - 20px), calc(100% - 20px) 100%, 20px 100%, 0 calc(100% - 20px), 0 20px);
}
@media (max-width: 700px) {
  .blog-perspective-item { grid-template-columns: 1fr; gap: 16px; }
  .blog-perspective-thumb { aspect-ratio: 16 / 10; }
}

/* Hero feature card — nested wrap so the chamfered outline follows the clip */
.blog-feature-wrap {
  position: relative;
  background: var(--cream);
  padding: 3px;
  clip-path: polygon(9px 0, calc(100% - 9px) 0, 100% 9px, 100% calc(100% - 9px), calc(100% - 9px) 100%, 9px 100%, 0 calc(100% - 9px), 0 9px);
  transition: clip-path 720ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: clip-path;
}
.blog-feature-wrap:hover {
  clip-path: polygon(28px 0, calc(100% - 28px) 0, 100% 28px, 100% calc(100% - 28px), calc(100% - 28px) 100%, 28px 100%, 0 calc(100% - 28px), 0 28px);
}
.blog-feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: #fff;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px);
  transition: clip-path 720ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: clip-path;
  min-height: 460px;
}
.blog-feature-wrap:hover .blog-feature {
  clip-path: polygon(25px 0, calc(100% - 25px) 0, 100% 25px, 100% calc(100% - 25px), calc(100% - 25px) 100%, 25px 100%, 0 calc(100% - 25px), 0 25px);
}
.blog-feature:hover {
  transform: none;
  clip-path: polygon(28px 0, calc(100% - 28px) 0, 100% 28px, 100% calc(100% - 28px), calc(100% - 28px) 100%, 28px 100%, 0 calc(100% - 28px), 0 28px);
}
.blog-feature-thumb {
  position: relative;
  overflow: hidden;
  background: var(--black);
  min-height: 380px;
}
.blog-feature-pattern { position: absolute; inset: 0; }
.blog-feature-overlay {
  position: absolute;
  top: 24px; left: 24px;
  z-index: 2;
}
.blog-feature-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.95);
  font-family: 'DM Sans', 'Pretendard';
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  clip-path: polygon(4px 0,calc(100% - 4px) 0,100% 4px,100% calc(100% - 4px),calc(100% - 4px) 100%,4px 100%,0 calc(100% - 4px),0 4px);
}
.blog-feature-eyebrow .dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(39,170,225,0.2);
  animation: cs-pulse 1.6s infinite;
}
.blog-feature-body {
  padding: clamp(36px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  border-left: 3px solid var(--cream);
}
.blog-feature-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.blog-feature-title {
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--black);
  margin: 8px 0;
}
.blog-feature-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-500);
}
.blog-feature-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: 'DM Sans';
  font-size: 12px;
  color: var(--gray-500);
  letter-spacing: 0.02em;
  margin-top: 8px;
}
.blog-feature-meta .sep { opacity: 0.5; }
.blog-feature-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-family: 'DM Sans';
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--black);
  white-space: nowrap;
  align-self: flex-start;
}
.blog-feature:hover .blog-feature-cta .arrow { transform: translateX(4px); }
.blog-feature-cta .arrow { display: inline-block; transition: transform 280ms; }
@media (max-width: 900px) {
  .blog-feature { grid-template-columns: 1fr; }
  .blog-feature-thumb { min-height: 240px; }
}

/* Series row */
.blog-series-section { padding-top: clamp(60px, 8vw, 100px); padding-bottom: clamp(60px, 8vw, 100px); }
.blog-series-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1080px) { .blog-series-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-series-grid { grid-template-columns: 1fr; } }
.blog-series-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px);
  transition: clip-path 720ms cubic-bezier(0.4, 0, 0.2, 1), background-color 300ms ease;
  will-change: clip-path;
  border: 0;
}
.blog-series-card:hover {
  transform: none;
  background: var(--surface);
  clip-path: polygon(28px 0, calc(100% - 28px) 0, 100% 28px, 100% calc(100% - 28px), calc(100% - 28px) 100%, 28px 100%, 0 calc(100% - 28px), 0 28px);
}
.blog-series-thumb { aspect-ratio: 1; }
.blog-series-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}
.blog-series-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.blog-series-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--gray-500);
  flex-grow: 1;
}
.blog-series-count {
  margin-top: 12px;
  font-family: 'DM Sans';
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.blog-series-foot { display: flex; justify-content: center; margin-top: 48px; }

/* Latest articles */
.blog-latest-section { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(80px, 10vw, 140px); }
.blog-cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.blog-cat-tab {
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  background: transparent;
  color: var(--gray-500);
  border: 0;
  cursor: pointer;
  transition: background 200ms, color 200ms;
  border-radius: 999px;
}
.blog-cat-tab:hover { color: var(--black); background: var(--surface); }
.blog-cat-tab.active {
  background: var(--black);
  color: #fff;
}
.blog-articles-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}
@media (max-width: 1080px) { .blog-articles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-articles-grid { grid-template-columns: 1fr; } }
.blog-article-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  gap: 16px;
}
.blog-article-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.blog-article-cat {
  font-family: 'DM Sans';
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.blog-article-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.blog-article-excerpt {
  font-size: 14px;
  line-height: 1.65;
  color: var(--gray-500);
}
.blog-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-family: 'DM Sans';
  font-size: 12px;
  color: var(--gray-500);
  letter-spacing: 0.02em;
  margin-top: 4px;
}
.blog-article-meta .sep { opacity: 0.5; }
.blog-load-more {
  display: flex;
  justify-content: center;
  margin-top: 96px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

/* Authors row */
.blog-authors-section { padding-top: clamp(60px, 8vw, 100px); padding-bottom: clamp(60px, 8vw, 100px); }
.blog-authors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .blog-authors-grid { grid-template-columns: 1fr; } }
.blog-author-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  align-items: flex-start;
  padding: 32px;
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px);
  transition: clip-path 720ms cubic-bezier(0.4, 0, 0.2, 1), background 300ms ease;
  will-change: clip-path;
}
.blog-author-card:hover {
  background: var(--cream);
  clip-path: polygon(24px 0, calc(100% - 24px) 0, 100% 24px, 100% calc(100% - 24px), calc(100% - 24px) 100%, 24px 100%, 0 calc(100% - 24px), 0 24px);
}
.blog-author-avatar {
  width: 72px; height: 72px;
  background: var(--black);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Pretendard';
  font-size: 28px;
  font-weight: 700;
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
}
.blog-author-body { display: flex; flex-direction: column; gap: 6px; }
.blog-author-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black);
}
.blog-author-role {
  font-family: 'DM Sans';
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.blog-author-bio {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--gray-500);
}
.blog-author-count {
  margin-top: 10px;
  font-family: 'DM Sans';
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--black);
}
/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */
@media (max-width: 1100px) {
  .conviction-grid { grid-template-columns: 1fr; }
  .data-card { position: static; }
  .offer-grid { grid-template-columns: 1fr; }
  .offer-card { min-height: 0; }
  .offer-head { grid-template-columns: 1fr; gap: 24px; }
  .guarantee-grid { grid-template-columns: 1fr; gap: 48px; }
  .faq-grid { grid-template-columns: 1fr; }
  .structure-pin { grid-template-columns: 1fr; min-height: 100vh; }
  .structure-left { padding: 80px var(--pad-x) 0; }
  .structure-right { padding: 24px var(--pad-x) 80px; min-height: 60vh; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .site-nav { display: none; }
  .hero-stats { grid-template-columns: 1fr; gap: 24px; }
  .hero-stat + .hero-stat { padding-left: 0; padding-top: 24px; border-top: 1px solid var(--border); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .epiphany-step { grid-template-columns: 1fr; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .split-line > span { transform: none; }
  .ticker-track { animation: none; }
}

/* ── WordPress theme compatibility aliases ── */
:root {
  --gray: var(--gray-500);
  --dark-surface: rgba(255,255,255,0.04);
}
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* WordPress body & content base */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; }
.post-article h1,.post-article h2,.post-article h3 { font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; margin: 2em 0 0.75em; }
.post-article h2 { font-size: clamp(20px,2.4vw,26px); }
.post-article h3 { font-size: clamp(17px,2vw,21px); }
.post-article p { font-size: 16px; line-height: 1.85; color: var(--gray-500); margin-bottom: 1.5em; }
.post-article ul,.post-article ol { padding-left: 1.5em; margin-bottom: 1.5em; }
.post-article li { font-size: 16px; line-height: 1.8; color: var(--gray-500); margin-bottom: 0.5em; }
.post-article blockquote { border-left: 3px solid var(--accent); padding: 20px 24px; margin: 2em 0; background: var(--light); }
.post-article blockquote p { color: var(--black); font-size: 17px; margin: 0; }
.post-article code { font-family: 'JetBrains Mono', monospace; font-size: 13px; background: var(--light); padding: 2px 6px; }
.post-article pre { background: var(--black); padding: 24px; overflow-x: auto; margin-bottom: 1.5em; }
.post-article pre code { background: none; color: #ccc; }
.post-article a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.post-article img { max-width: 100%; border-radius: 2px; }

/* Pagination */
.page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; font-size: 13px; font-weight: 500; color: var(--gray-500); border: 1px solid var(--border); transition: all .2s; }
.page-numbers.current,.page-numbers:hover { background: var(--accent); color: var(--accent-dark); border-color: var(--accent); }
.page-numbers.prev,.page-numbers.next { width: auto; padding: 0 14px; }

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: 6px; padding: 20px 0; font-size: 12px; color: var(--gray-400); }
.breadcrumb a { color: var(--gray-400); transition: color .2s; }
.breadcrumb a:hover { color: var(--black); }
.breadcrumb-cur { color: var(--black); font-weight: 500; }

/* Search form */
.search-form { display: flex; gap: 0; margin: 32px 0 0; }
.search-form input[type=search] { flex: 1; height: 52px; padding: 0 20px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-right: none; color: #fff; font-size: 15px; font-family: inherit; outline: none; transition: border-color .2s; }
.search-form input[type=search]::placeholder { color: #555; }
.search-form input[type=search]:focus { border-color: rgba(39,170,225,0.5); }
.search-form button { height: 52px; padding: 0 28px; background: var(--accent); color: var(--accent-dark); font-size: 14px; font-weight: 600; cursor: pointer; border: none; font-family: inherit; transition: opacity .2s; }
.search-form button:hover { opacity: 0.85; }


/* ══════════════════════════════════════════
   Mobile Navigation
   ══════════════════════════════════════════ */

/* Hamburger button */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--black);
  z-index: 220;
  position: relative;
}
.site-header.on-dark .nav-hamburger { color: #fff; }
.nav-hamburger .bar {
  display: block;
  width: 22px; height: 1.5px;
  background: currentColor;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), opacity 200ms;
  transform-origin: center;
}
.nav-hamburger.open .bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open .bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav panel */
.mobile-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: #fff;
  z-index: 210;
  padding: 80px 24px 32px;
  transform: translateY(-105%);
  transition: transform 380ms cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 12px 48px rgba(13,15,18,0.15);
}
.mobile-nav.open { transform: translateY(0); }

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,15,18,0.45);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms;
}
.mobile-nav-overlay.open { opacity: 1; pointer-events: auto; }

/* Nav links */
.mobile-nav-links {
  display: flex;
  flex-direction: column;
}
.mobile-nav-links a {
  font-size: 20px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.02em;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  display: block;
}
.mobile-nav-links a[aria-current="page"] { color: var(--accent); }
.mobile-nav-links a.btn {
  margin-top: 16px;
  border-bottom: none;
  text-align: center;
  display: block;
}

/* Categories in mobile nav (blog only) */
.mobile-nav-cats {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.mobile-nav-cats-label {
  font-family: 'DM Sans';
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.mobile-nav-cats-label .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  clip-path: polygon(29.3% 0%, 70.7% 0%, 100% 29.3%, 100% 70.7%, 70.7% 100%, 29.3% 100%, 0% 70.7%, 0% 29.3%);
  flex-shrink: 0;
}
.mobile-nav-cats-scroll {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav-cats-scroll::-webkit-scrollbar { display: none; }
.mobile-nav-cats-scroll .blog-subnav-tab { flex-shrink: 0; scroll-snap-align: start; }

/* ── Mobile: breakpoint ── */
@media (max-width: 768px) {
  .site-nav { display: none; }
  .nav-hamburger { display: flex; }

  /* Blog subnav */
  .blog-subnav-label { display: none; }
  .blog-subnav-row {
    flex-wrap: nowrap;
    gap: 0;
    padding: 10px 0;
    align-items: center;
  }
  .blog-subnav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 0;
    flex: 1;
    gap: 6px;
  }
  .blog-subnav-tabs::-webkit-scrollbar { display: none; }
  .blog-subnav-tabs .blog-subnav-tab { scroll-snap-align: start; flex-shrink: 0; }

  /* Search: icon only → expand */
  .blog-search-outer {
    min-width: unset;
    margin-left: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
  }
  .blog-search-wrap { display: none; }
  .blog-search-mobile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    background: var(--border);
    border: none;
    cursor: pointer;
    clip-path: polygon(5px 0, calc(100% - 5px) 0, 100% 5px, 100% calc(100% - 5px), calc(100% - 5px) 100%, 5px 100%, 0 calc(100% - 5px), 0 5px);
    color: var(--black);
    flex-shrink: 0;
    transition: background 200ms;
  }
  .blog-search-mobile-btn:active { background: var(--accent); color: #fff; }

  /* Cancel button — visible only when search is active */
  .blog-search-cancel-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    background: var(--border);
    border: none;
    cursor: pointer;
    clip-path: polygon(5px 0, calc(100% - 5px) 0, 100% 5px, 100% calc(100% - 5px), calc(100% - 5px) 100%, 5px 100%, 0 calc(100% - 5px), 0 5px);
    font-size: 16px;
    line-height: 1;
    color: var(--black);
    flex-shrink: 0;
    margin-left: 10px;
  }

  /* Search expanded state */
  .blog-subnav.search-active .blog-subnav-tabs { display: none; }
  .blog-subnav.search-active .blog-subnav-label { display: none; }
  .blog-subnav.search-active .blog-search-outer {
    flex: 1;
    min-width: unset;
    margin-left: 0;
    gap: 10px;
  }
  .blog-subnav.search-active .blog-search-wrap {
    display: block;
    flex: 1;
  }
  .blog-subnav.search-active .blog-search-mobile-btn { display: none; }
  .blog-subnav.search-active .blog-search-cancel-btn {
    display: flex;
    margin-left: 0;
  }

  /* ── Bridge section: mobile ── */
  .bridge-track { height: 260vh; }
  .bridge-connectors { display: none; }
  .bridge-headline {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 28px 24px;
    clip-path: polygon(10px 0%, calc(100% - 10px) 0%, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0% calc(100% - 10px), 0% 10px);
    width: calc(100% - 48px);
    font-size: clamp(20px, 5.5vw, 26px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  }
  .bridge-meter {
    left: 50%;
    transform: translateX(-50%);
    bottom: clamp(16px, 3vw, 28px);
  }
}

@media (min-width: 769px) {
  .nav-hamburger { display: none !important; }
  .mobile-nav, .mobile-nav-overlay { display: none !important; }
  .blog-search-mobile-btn { display: none !important; }
  .blog-search-cancel-btn { display: none !important; }
}
