/* OmniSight Partners — renewal 2026
   Motion & material principles follow Apple's fluid-interface guidance:
   instant press feedback, critically-damped motion, translucent chrome,
   size-specific tracking, and gentle reduced-motion fallbacks. */
:root {
  --ink: #0b1220;
  --ink-2: #2b3445;
  --muted: #667085;
  --line: #e6e9ef;
  --bg: #ffffff;
  --soft: #f5f7fa;
  --deep: #08131f;
  --deep-2: #0f1f30;
  --accent: #0e9f92;
  --accent-ink: #0a7a70;
  --accent-soft: #e6f6f4;
  --accent-light: #5fd3c6;
  --c-insight: #0e9f92;
  --c-outsight: #2f6fdf;
  --c-foresight: #7a5af0;
  --radius: 20px;
  --max: 1240px;
  --gutter: 24px;
  /* critically damped, no overshoot — Apple's default UI spring */
  --ease: cubic-bezier(.22, 1, .36, 1);
  /* slight overshoot, only for momentum-driven moments */
  --ease-bounce: cubic-bezier(.34, 1.36, .64, 1);
  --press: scale(.97);
  --header-h: 72px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: -0.005em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  font-optical-sizing: auto;
}
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
a, button, label, summary { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 140px 0; }
.section.tight { padding: 100px 0; }
.bg-soft { background: var(--soft); }
.bg-deep { background: var(--deep); color: #e8edf3; }

/* ---------- type: tracking & leading scale with size ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-ink); line-height: 1.4;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.bg-deep .eyebrow { color: var(--accent-light); }
.h-display { font-size: clamp(40px, 6.4vw, 88px); line-height: 1.1; letter-spacing: -0.045em; font-weight: 800; margin: 0; }
.h1 { font-size: clamp(32px, 4.6vw, 60px); line-height: 1.18; letter-spacing: -0.04em; font-weight: 800; margin: 0; }
.h2 { font-size: clamp(28px, 3.6vw, 48px); line-height: 1.24; letter-spacing: -0.035em; font-weight: 800; margin: 0; }
.h3 { font-size: clamp(20px, 1.9vw, 26px); line-height: 1.38; letter-spacing: -0.025em; font-weight: 700; margin: 0; }
.lead { font-size: clamp(16.5px, 1.5vw, 20px); color: var(--muted); line-height: 1.72; margin: 0; letter-spacing: -0.01em; }
.bg-deep .lead { color: #9aa7b8; }
.muted { color: var(--muted); }
.sec-head { display: grid; gap: 20px; max-width: 760px; margin-bottom: 72px; }
.sec-head.center { text-align: center; margin-left: auto; margin-right: auto; justify-items: center; }
.sec-head.split { max-width: none; grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; }

/* ---------- buttons: feedback on press, not release ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border-radius: 999px;
  font-weight: 700; font-size: 16px; letter-spacing: -0.01em; border: 1px solid transparent; background: transparent;
  transition: background .25s, color .25s, border-color .25s, transform .4s var(--ease);
  white-space: nowrap; user-select: none; -webkit-user-select: none;
}
.btn:active { transform: var(--press); transition: transform .1s ease-out; }
.btn svg { transition: transform .4s var(--ease); flex: none; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-ghost { border-color: var(--line); background: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-outline-light { border-color: rgba(255,255,255,.25); color: #fff; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }
.link-arrow svg { transition: transform .4s var(--ease); }
@media (hover: hover) {
  .btn:hover svg, .link-arrow:hover svg { transform: translateX(4px); }
  .btn-primary:hover { background: #1c2638; }
  .btn-accent:hover { background: var(--accent-ink); }
  .btn-ghost:hover { border-color: var(--ink); }
  .btn-light:hover { background: #e6f6f4; }
  .btn-outline-light:hover { border-color: #fff; }
}

/* ---------- header: translucent material, scroll-edge fade instead of a divider ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  transition: transform .5s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  opacity: 0; transition: opacity .3s;
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; pointer-events: none;
  background: linear-gradient(rgba(11,18,32,.06), rgba(11,18,32,0));
  opacity: 0; transition: opacity .3s;
}
.site-header.scrolled::before, .site-header.scrolled::after { opacity: 1; }
.site-header.hide { transform: translateY(-100%); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: flex; align-items: center; min-height: 44px; }
.brand img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { position: relative; padding: 8px 14px; font-size: 15px; font-weight: 600; color: var(--ink-2); border-radius: 999px; transition: color .2s, background .2s; }
.nav-links a:active { background: var(--soft); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--accent); border-radius: 2px; }
@media (hover: hover) { .nav-links a:hover { color: var(--ink); background: var(--soft); } }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.menu-btn { display: none; position: relative; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px; }
.menu-btn:active { background: var(--soft); }
.menu-btn span { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .45s var(--ease); }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 180px 0 120px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero .h-display em { font-style: normal; color: var(--accent); }
.hero .lead { margin-top: 32px; max-width: 560px; }
.hero-cta { display: flex; gap: 12px; margin-top: 44px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 12px 28px; margin-top: 56px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.hero-meta b { color: var(--ink); font-weight: 700; margin-right: 6px; }

.orbit { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; margin-left: auto; }
.orbit svg { width: 100%; height: 100%; overflow: visible; }
.orbit .ring { fill: none; stroke: var(--line); }
.orbit .core { fill: var(--ink); }
/* brand video plays once and rests on the logo; the frame is cropped so only its white middle shows */
.hero-visual { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; margin-left: auto; overflow: hidden; }
.hero-video, .hero-still { position: absolute; left: 50%; top: 50%; width: 170%; max-width: none; height: auto; aspect-ratio: 16/9; transform: translate(-50%, -50%); pointer-events: none; }
.hero-still { display: none; }
.hero-visual.still .hero-video { display: none; }
.hero-visual.still .hero-still { display: block; }

/* ---------- quick bar ---------- */
.quick { position: relative; z-index: 2; margin-top: -40px; }
.quick-card {
  display: grid; grid-template-columns: 1fr auto; gap: 24px 32px; align-items: center;
  background: var(--deep); color: #fff; border-radius: 28px; padding: 36px 44px;
  box-shadow: 0 30px 60px -30px rgba(8,19,31,.45);
}
.quick-card .h3 { color: #fff; }
.quick-card p { margin: 6px 0 0; color: #9aa7b8; font-size: 15.5px; }
.quick-card .acts { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- principles ---------- */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principles > div { padding: 36px 28px; border-right: 1px solid var(--line); }
.principles > div:last-child { border-right: 0; }
.principles .num { font-size: 12.5px; font-weight: 700; color: var(--accent-ink); letter-spacing: .08em; }
.principles h4 { margin: 14px 0 8px; font-size: 19px; letter-spacing: -0.02em; line-height: 1.4; }
.principles p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.65; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.08); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--deep); padding: 44px 32px; display: flex; flex-direction: column; gap: 14px; }
.stat .num { font-size: clamp(44px, 5vw, 72px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.stat .num small { font-size: .45em; margin-left: 4px; color: var(--accent-light); letter-spacing: 0; }
.stat p { margin: 0; color: #c4cdd8; font-size: 16px; line-height: 1.55; }
.stat cite { font-style: normal; font-size: 12.5px; color: #6c7a8d; margin-top: auto; letter-spacing: .01em; }

/* ---------- 3-sight sticky story ---------- */
.sight-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.sight-visual { position: sticky; top: 120px; align-self: start; }
.sight-visual .orbit { margin: 0 auto; }
.sight-visual [data-ring] { transition: stroke .6s var(--ease), stroke-width .6s var(--ease); }
.sight-visual [data-ring].on { stroke-width: 2.5; }
.sight-visual [data-ring="insight"].on { stroke: var(--c-insight); }
.sight-visual [data-ring="outsight"].on { stroke: var(--c-outsight); }
.sight-visual [data-ring="foresight"].on { stroke: var(--c-foresight); }
.sight-visual [data-dot] { transition: fill .5s; fill: #c9d2dd; }
.sight-visual [data-dot="insight"].on { fill: var(--c-insight); }
.sight-visual [data-dot="outsight"].on { fill: var(--c-outsight); }
.sight-visual [data-dot="foresight"].on { fill: var(--c-foresight); }
.sight-visual .label { font-size: 15px; font-weight: 700; fill: var(--muted); transition: fill .4s; }
.sight-visual .label.on { fill: var(--ink); }
.sight-step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; opacity: .28; transition: opacity .6s var(--ease); }
.sight-step.on { opacity: 1; }
.sight-step .tag { font-size: 13px; font-weight: 700; color: var(--accent-ink); letter-spacing: .08em; }
.sight-step[data-sight="outsight"] .tag { color: var(--c-outsight); }
.sight-step[data-sight="foresight"] .tag { color: var(--c-foresight); }
.sight-step h3 { font-size: clamp(34px, 4vw, 56px); letter-spacing: -0.04em; margin: 10px 0 6px; line-height: 1.08; }
.sight-step h4 { font-size: 21px; margin: 0 0 20px; letter-spacing: -0.02em; }
.sight-step ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.sight-step li { display: flex; gap: 12px; align-items: baseline; color: var(--ink-2); }
.sight-step li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .5; transform: translateY(-3px); }

/* ---------- segmented control with sliding thumb ---------- */
.tabs { position: relative; display: inline-flex; padding: 4px; background: #eceff3; border-radius: 999px; margin-bottom: 40px; isolation: isolate; }
.tabs .thumb { position: absolute; z-index: -1; top: 4px; bottom: 4px; left: 0; border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgba(11,18,32,.08), 0 4px 12px -4px rgba(11,18,32,.16); transition: transform .5s var(--ease), width .5s var(--ease); }
.tab { border: 0; background: transparent; padding: 12px 26px; min-height: 44px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--muted); transition: color .3s; }
.tab[aria-selected="true"] { color: var(--ink); }
.tab:active { opacity: .6; }
.tab-panel[hidden] { display: none; }
.tab-panel { animation: panelIn .5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- cards ---------- */
.cards { display: grid; gap: 20px; }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.cards.c2 { grid-template-columns: repeat(2, 1fr); }
.card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.card:active { transform: scale(.985); transition: transform .12s ease-out; }
@media (hover: hover) {
  .card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(11,18,32,.22); border-color: transparent; }
  .card:hover .card-img img { transform: scale(1.04); }
}
.chip { align-self: flex-start; display: inline-block; font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); letter-spacing: 0; }
.chip.out { background: #e8f0fd; color: #2459b8; }
.chip.fore { background: #efebfe; color: #5b3fd0; }
.card .h3 { margin-top: 6px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.card dl { margin: 10px 0 0; display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14.5px; }
.card dl div { display: grid; grid-template-columns: 64px 1fr; gap: 12px; }
.card dt { color: var(--muted); font-weight: 600; }
.card dd { margin: 0; color: var(--ink-2); }
.card .link-arrow { margin-top: auto; padding-top: 16px; }
.card-img { border-radius: 14px; overflow: hidden; aspect-ratio: 16/10; margin: -12px -12px 8px; background: var(--soft); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }

/* ---------- method timeline ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.steps::before { content: ""; position: absolute; top: 27px; left: 28px; width: calc(80% + 16px); height: 2px; background: rgba(255,255,255,.12); }
.steps .bar { position: absolute; top: 27px; left: 28px; height: 2px; width: calc(80% + 16px); background: var(--accent-light); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease); }
.steps.in .bar { transform: scaleX(1); }
.step { position: relative; }
.step .dot { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--deep-2); border: 1px solid rgba(255,255,255,.14); font-weight: 800; font-size: 15px; color: var(--accent-light); position: relative; z-index: 1; font-variant-numeric: tabular-nums; }
.step h4 { margin: 26px 0 4px; font-size: 21px; color: #fff; letter-spacing: -0.02em; }
.step .en { font-size: 12px; letter-spacing: .12em; color: #6c7a8d; font-weight: 700; text-transform: uppercase; }
.step p { margin: 12px 0 0; font-size: 15px; color: #9aa7b8; line-height: 1.65; }
.step .out { margin-top: 16px; font-size: 13px; color: #c4cdd8; padding: 8px 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; display: inline-block; }

/* ---------- showcase ---------- */
.showcase { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: center; }
.showcase-img { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 40px 80px -40px rgba(11,18,32,.25); }
.showcase-img img { display: block; width: 100%; height: auto; }
.checklist { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.checklist li::before { content: ""; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%230a7a70' stroke-width='2.2'%3E%3Cpath d='M2 6.5l2.5 2.5L10 3.5'/%3E%3C/svg%3E") center no-repeat; margin-top: 3px; }
.checklist b { display: block; font-size: 17px; letter-spacing: -0.015em; }
.checklist span { color: var(--muted); font-size: 15px; }

/* ---------- tool tiles (diagnosis) ---------- */
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tool {
  position: relative; display: flex; flex-direction: column; gap: 12px; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.tool:active { transform: scale(.98); transition: transform .12s ease-out; }
@media (hover: hover) { .tool:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -32px rgba(11,18,32,.25); border-color: transparent; } }
.tool .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 8px; }
.tool .ic.out { background: #e8f0fd; color: #2459b8; }
.tool .ic.fore { background: #efebfe; color: #5b3fd0; }
.tool h3 { margin: 0; font-size: 21px; letter-spacing: -0.025em; line-height: 1.35; }
.tool p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.tool .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 12px; }
.tool .meta span { font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--soft); color: var(--ink-2); }
.tool .go { position: absolute; top: 28px; right: 28px; width: 40px; height: 40px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; transition: background .3s, color .3s; }
@media (hover: hover) { .tool:hover .go { background: var(--ink); color: #fff; } }
.tool.featured { grid-column: span 3; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 48px; background: var(--deep); color: #fff; border-color: var(--deep); }
.tool.featured p { color: #9aa7b8; font-size: 16px; }
.tool.featured h3 { font-size: clamp(26px, 3vw, 36px); }
.tool.featured .meta span { background: rgba(255,255,255,.08); color: #c4cdd8; }
.tool.featured .go { background: rgba(255,255,255,.1); color: #fff; }
.tool .rings-mini { width: 100%; max-width: 260px; justify-self: center; }

/* ---------- sheet (modal task: dims the page, enters & exits along the same path) ---------- */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(8,19,31,.42); opacity: 0; pointer-events: none; transition: opacity .45s var(--ease); }
.scrim.open { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed; z-index: 90; left: 50%; bottom: 0; width: min(720px, 100%);
  height: min(92dvh, 860px); max-height: calc(100dvh - 24px);
  background: #fff; border-radius: 28px 28px 0 0;
  box-shadow: 0 -20px 60px -20px rgba(8,19,31,.35);
  transform: translate(-50%, 105%); display: flex; flex-direction: column;
  will-change: transform; visibility: hidden;
}
.sheet.open { visibility: visible; }
.sheet-grab { flex: none; padding: 10px 20px 0; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.sheet-grab:active { cursor: grabbing; }
.sheet-grab .handle { width: 40px; height: 5px; border-radius: 3px; background: #d5dae2; margin: 0 auto 6px; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; }
.sheet-title { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.sheet-close { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--soft); display: grid; place-items: center; }
.sheet-close:active { transform: var(--press); }
.sheet-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px 28px calc(28px + var(--safe-b)); -webkit-overflow-scrolling: touch; }
.qprog { height: 4px; background: var(--soft); border-radius: 4px; overflow: hidden; margin: 6px 0 0; }
.qprog i { display: block; height: 100%; width: 100%; background: var(--accent); border-radius: 4px; transform-origin: left; transform: scaleX(0); transition: transform .5s var(--ease); }
.qmeta { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.qmeta .sight { padding: 4px 10px; border-radius: 999px; }
.qstage { position: relative; }
.qcard { padding-top: 14px; }
.qcard.enter-fwd { animation: inFwd .5s var(--ease); }
.qcard.enter-back { animation: inBack .5s var(--ease); }
@keyframes inFwd { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes inBack { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
.qtext { font-size: clamp(22px, 3.2vw, 28px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.38; margin: 0 0 28px; }
.opts { display: grid; gap: 10px; }
.opt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  text-align: left; min-height: 60px; padding: 16px 20px; border-radius: 16px;
  border: 1.5px solid var(--line); background: #fff; font-size: 16.5px; font-weight: 600; letter-spacing: -0.015em;
  transition: border-color .2s, background .2s, transform .4s var(--ease);
}
.opt small { display: block; font-size: 14px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.opt:active { transform: scale(.98); transition: transform .1s ease-out; background: var(--soft); }
.opt.sel { border-color: var(--accent); background: var(--accent-soft); }
.opt .tick { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.opt.sel .tick { background: var(--accent); border-color: var(--accent); }
.opt.sel .tick::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
@media (hover: hover) { .opt:hover { border-color: #b9c2cf; } }
.likert { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.likert .opt { flex-direction: column; justify-content: center; text-align: center; min-height: 84px; padding: 12px 6px; font-size: 14px; gap: 8px; line-height: 1.3; }
.likert .opt b { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.qnav { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; min-height: 44px; }
.qback { border: 0; background: none; font-weight: 600; color: var(--muted); font-size: 15px; padding: 10px 4px; min-height: 44px; }
.qback:active { opacity: .5; }
.qback[disabled] { visibility: hidden; }
.qnote { font-size: 13px; color: var(--muted); margin: 18px 0 0; line-height: 1.6; }

/* result */
.result { animation: inFwd .6s var(--ease); }
.result-head { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: center; margin-top: 18px; }
.result-head h3 { margin: 10px 0 6px; font-size: 26px; letter-spacing: -0.03em; line-height: 1.3; }
.result-head p { margin: 0; color: var(--muted); font-size: 15.5px; }
.act-rings circle { fill: none; stroke-linecap: round; }
.act-rings .track { opacity: .14; }
.act-rings .val { transition: stroke-dashoffset 1.6s var(--ease); }
.scores { display: grid; gap: 10px; margin-top: 28px; }
.score { display: grid; grid-template-columns: 110px 1fr 44px; gap: 14px; align-items: center; font-size: 15px; font-weight: 700; }
.score .bar { height: 10px; border-radius: 10px; background: var(--soft); overflow: hidden; }
.score .bar i { display: block; height: 100%; border-radius: 10px; transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease); }
.score .v { text-align: right; font-variant-numeric: tabular-nums; }
.score small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }
.rec { margin-top: 28px; padding: 24px; border-radius: 20px; background: var(--soft); }
.rec .k { font-size: 12.5px; font-weight: 700; color: var(--accent-ink); letter-spacing: .08em; }
.rec h4 { margin: 8px 0 6px; font-size: 20px; letter-spacing: -0.02em; }
.rec p { margin: 0; color: var(--muted); font-size: 15px; }
.rec + .hero-cta { margin-top: 24px; }
.gauge { margin-top: 24px; }
.gauge .track { position: relative; height: 12px; border-radius: 12px; background: linear-gradient(90deg, #2bb673 0%, #f0b429 50%, #e5484d 100%); }
.gauge .knob { position: absolute; top: 50%; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); transform: translate(-50%, -50%); left: 0; transition: left 1.4s var(--ease); box-shadow: 0 4px 10px rgba(11,18,32,.2); }
.gauge .labels { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-top: 10px; font-weight: 600; }
.type-badge { width: 120px; height: 120px; border-radius: 32px; display: grid; place-items: center; font-size: 56px; font-weight: 800; color: #fff; letter-spacing: -0.04em; }
.split-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.split-list > div { padding: 18px; border-radius: 16px; background: var(--soft); }
.split-list b { display: block; font-size: 13px; color: var(--accent-ink); letter-spacing: .04em; margin-bottom: 4px; }
.split-list span { font-size: 15px; color: var(--ink-2); line-height: 1.55; display: block; }

/* ---------- scenario ---------- */
.scenario { display: grid; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.scenario-row { display: grid; grid-template-columns: 220px 1fr 1fr 1fr; border-bottom: 1px solid var(--line); }
.scenario-row:last-child { border-bottom: 0; }
.scenario-row > div { padding: 28px; border-right: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.scenario-row > div:last-child { border-right: 0; }
.scenario-row .who { font-weight: 800; font-size: 17px; color: var(--ink); letter-spacing: -0.02em; }
.scenario-row .who small { display: block; font-weight: 600; color: var(--muted); font-size: 13px; margin-top: 4px; letter-spacing: 0; }
.scenario-row .k { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--accent-ink); margin-bottom: 8px; }
.scenario-head > div { padding: 16px 28px; background: var(--soft); font-size: 13px; font-weight: 700; color: var(--muted); }
.scenario-head + .scenario-row .k, .scenario-row .k { }

/* ---------- trust ---------- */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trust > div { padding: 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.trust .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent-ink); margin-bottom: 22px; }
.trust h4 { margin: 0 0 8px; font-size: 19px; letter-spacing: -0.02em; }
.trust p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 26px 4px; min-height: 44px; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.45; }
.faq summary:active { opacity: .6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translate(-3px, -3px); transition: transform .45s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq details p { margin: 0 4px 28px; color: var(--muted); max-width: 820px; animation: panelIn .45s var(--ease); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 32px; background: var(--deep); color: #fff; padding: 100px 64px; text-align: center; }
.cta-band .rings { position: absolute; inset: 50% auto auto 50%; width: 1100px; height: 1100px; transform: translate(-50%, -50%); pointer-events: none; }
.cta-band .rings circle { fill: none; stroke: rgba(255,255,255,.06); }
.cta-band > *:not(.rings) { position: relative; }
.cta-band .h1 { color: #fff; }
.cta-band .lead { margin: 22px auto 0; max-width: 560px; }
.cta-band .hero-cta { justify-content: center; }
.cta-band .note { margin-top: 22px; font-size: 13.5px; color: #6c7a8d; }

/* ---------- subpages ---------- */
.page-hero { padding: 200px 0 100px; border-bottom: 1px solid var(--line); }
.page-hero .h1 { margin-top: 22px; max-width: 900px; }
.page-hero .lead { margin-top: 28px; max-width: 680px; }
.page-hero .hero-cta { margin-top: 40px; }
.vision-statement { font-size: clamp(30px, 4.2vw, 58px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.28; margin: 0; }
.vision-statement .fade { color: #c3cad5; }
.mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mvv > div { padding: 40px 36px; border-radius: var(--radius); background: var(--soft); }
.mvv .k { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; color: var(--accent-ink); }
.mvv p { margin: 18px 0 0; font-size: 21px; font-weight: 700; line-height: 1.5; letter-spacing: -0.025em; }
.compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.compare > div { padding: 36px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.compare > div.us { background: var(--ink); color: #fff; border-color: var(--ink); }
.compare h4 { margin: 0 0 14px; font-size: 20px; letter-spacing: -0.02em; }
.compare p { margin: 0; color: var(--muted); font-size: 15.5px; }
.compare .us p { color: #c4cdd8; }
.reasons { display: grid; border-top: 1px solid var(--line); }
.reason { display: grid; grid-template-columns: 120px 1fr 1.3fr; gap: 40px; padding: 44px 0; border-bottom: 1px solid var(--line); align-items: start; }
.reason .n { font-size: 15px; font-weight: 800; color: var(--accent-ink); }
.reason p { margin: 0; color: var(--muted); }
.principle-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.08); border-radius: var(--radius); overflow: hidden; }
.principle-grid > div { background: var(--deep); padding: 40px 32px; }
.principle-grid h4 { margin: 0 0 12px; font-size: 24px; color: #fff; letter-spacing: -0.03em; }
.principle-grid p { margin: 0; color: #9aa7b8; font-size: 15.5px; }

.sol { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; padding: 110px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 140px; }
.sol:last-child { border-bottom: 0; }
.sol-media { position: sticky; top: 150px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--soft); }
.sol .chip { margin-bottom: 18px; }
.sol .lead { margin-top: 20px; }
.sol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px; }
.sol-grid > div { padding: 22px; border-radius: 16px; background: var(--soft); }
.sol-grid b { display: block; font-size: 16px; margin-bottom: 4px; letter-spacing: -0.015em; }
.sol-grid span { font-size: 14.5px; color: var(--muted); line-height: 1.6; display: block; }
.journey { margin-top: 36px; display: grid; border-left: 2px solid var(--line); margin-left: 6px; }
.journey > div { position: relative; padding: 0 0 26px 28px; }
.journey > div::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); }
.journey .t { font-size: 13px; font-weight: 700; color: var(--accent-ink); letter-spacing: .04em; }
.journey b { display: block; font-size: 17px; margin: 2px 0 4px; letter-spacing: -0.015em; }
.journey span { color: var(--muted); font-size: 15px; }
.subnav { position: sticky; top: var(--header-h); z-index: 40; transition: top .5s var(--ease); }
.subnav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.78); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.subnav::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; background: linear-gradient(rgba(11,18,32,.05), transparent); pointer-events: none; }
body.header-hidden .subnav { top: 0; }
.subnav .container { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; scroll-snap-type: x proximity; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 9px 16px; min-height: 40px; display: inline-flex; align-items: center; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--muted); transition: background .3s, color .3s; scroll-snap-align: start; }
.subnav a.on { background: var(--ink); color: #fff; }
.subnav a:active { transform: var(--press); }

/* home quick picker */
.diag { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.diag-box { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 40px; box-shadow: 0 40px 80px -50px rgba(11,18,32,.3); min-height: 420px; display: flex; flex-direction: column; }
.diag-progress { display: flex; gap: 6px; margin-bottom: 28px; }
.diag-progress i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); transition: background .4s; }
.diag-progress i.on { background: var(--accent); }
.diag-q { font-size: 13px; font-weight: 700; color: var(--accent-ink); letter-spacing: .06em; }
.diag-title { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; margin: 8px 0 24px; line-height: 1.4; }
.diag-result h3 { font-size: 28px; letter-spacing: -0.03em; margin: 16px 0 10px; }
.diag-result p { color: var(--muted); margin: 0; }
.diag-result .hero-cta { margin-top: 28px; }
.diag-back { margin-top: auto; padding: 18px 0 0; background: none; border: 0; color: var(--muted); font-size: 14px; font-weight: 600; text-align: left; min-height: 44px; }
.diag-back:active { opacity: .5; }
.deeper { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; padding: 16px 18px; border-radius: 16px; background: var(--soft); font-size: 14.5px; font-weight: 600; }
.deeper:active { transform: scale(.98); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
.contact-info { display: grid; gap: 24px; margin-top: 40px; }
.contact-info > div { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; }
.contact-info .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--soft); display: grid; place-items: center; }
.contact-info b { display: block; font-size: 15px; }
.contact-info span { color: var(--muted); font-size: 15px; }
.contact-info a { color: var(--accent-ink); font-size: 15px; font-weight: 600; }
.contact-info .ic.kakao { background: #fee500; color: #191919; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 48px; box-shadow: 0 40px 80px -50px rgba(11,18,32,.3); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.form-grid .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.field { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 15px 16px; font: inherit; font-size: 16px; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.field:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field:user-invalid { border-color: #e5484d; }
.type-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.type-pills input { position: absolute; opacity: 0; pointer-events: none; }
.type-pills label { margin: 0; padding: 11px 18px; min-height: 44px; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 15px; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .4s var(--ease); }
.type-pills label:active { transform: var(--press); }
.type-pills input:checked + label { background: var(--ink); color: #fff; border-color: var(--ink); }
.type-pills input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.diag-attach { display: none; margin-top: 20px; padding: 14px 16px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-ink); font-size: 14px; font-weight: 600; }
.diag-attach.show { display: block; }
.consent { margin-top: 24px; border-radius: 14px; background: var(--soft); padding: 18px 20px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.consent ul { margin: 6px 0 0; padding-left: 16px; }
.agree { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 14px; color: var(--ink-2); font-weight: 500 !important; min-height: 44px; }
.agree input { margin-top: 4px; width: 20px; height: 20px; accent-color: var(--accent); flex: none; }
.form-done { display: none; margin-top: 20px; padding: 16px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; text-align: center; }
.form-done.show { display: block; }

/* ---------- footer ---------- */
.site-footer { background: var(--deep); color: #9aa7b8; padding: 96px 0 40px; font-size: 15px; }
.foot-top { display: grid; grid-template-columns: 1.3fr 2fr; gap: 64px; padding-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,.08); }
.foot-brand img { height: 34px; width: auto; }
.foot-brand p { margin: 22px 0 0; max-width: 360px; line-height: 1.7; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.foot-cols h5 { margin: 0 0 18px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #5b6878; }
.foot-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-cols a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 32px; font-size: 13px; color: #5b6878; }
.foot-bottom a:hover { color: #fff; }
.foot-bottom .legal { display: flex; gap: 8px 20px; flex-wrap: wrap; }
.foot-biz { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 4px 20px; }

/* ---------- legal ---------- */
.legal-doc { max-width: 820px; font-size: 16px; color: var(--ink-2); }
.legal-doc h2 { font-size: 21px; letter-spacing: -0.02em; color: var(--ink); margin: 56px 0 14px; }
.legal-doc p, .legal-doc li { line-height: 1.8; }
.legal-doc ul, .legal-doc ol { padding-left: 20px; }
.legal-doc .tbl { overflow-x: auto; }
.legal-doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; min-width: 520px; }
.legal-doc th, .legal-doc td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.legal-doc th { background: var(--soft); }
.legal-doc a { text-decoration: underline; }

/* ---------- reveal: materialize with a critically damped curve ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.mobile-sticky { display: none; }

/* ---------- accessibility signals ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .qcard, .result, .tab-panel, .faq details p { animation: none !important; }
  .reveal, .card, .tool, .btn, .opt, .sight-step { transition: opacity .2s ease !important; transform: none !important; }
  /* data-driven marks keep their position, they just stop sliding */
  .steps .bar, .act-rings .val, .score .bar i, .gauge .knob, .tabs .thumb, .qprog i, .mobile-menu, .mobile-sticky, .site-header { transition: none !important; }
  .reveal { opacity: 1; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header::before, .subnav::before, .mobile-sticky, .mobile-menu { background: #fff !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
}
@media (prefers-contrast: more) {
  :root { --muted: #3f4757; --line: #9aa3b2; }
  .site-header::before { background: #fff; }
}

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
  :root { --header-h: 64px; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .menu-btn { display: block; }
  .mobile-menu {
    display: block; position: fixed; left: 0; right: 0; top: 0; z-index: -1;
    padding: calc(var(--header-h) + 8px) var(--gutter) 28px;
    background: rgba(255,255,255,.9); -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px);
    box-shadow: 0 30px 60px -30px rgba(8,19,31,.3);
    transform: translateY(-100%); transition: transform .55s var(--ease); visibility: hidden;
  }
  .mobile-menu.open { transform: none; visibility: visible; }
  .mobile-menu a:not(.btn) { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; font-size: 22px; font-weight: 700; border-bottom: 1px solid rgba(11,18,32,.06); letter-spacing: -0.03em; min-height: 56px; }
  .mobile-menu a:not(.btn):active { opacity: .5; }
  .mobile-menu .btn { display: flex; margin-top: 24px; width: 100%; }
  .menu-scrim { position: fixed; inset: 0; z-index: 55; background: rgba(8,19,31,.25); opacity: 0; pointer-events: none; transition: opacity .45s var(--ease); }
  .menu-scrim.open { opacity: 1; pointer-events: auto; }
  .hero-grid, .sight-wrap, .showcase, .diag, .contact-grid, .sol { grid-template-columns: 1fr; }
  /* stacked layout: the brand video leads, the headline follows */
  .hero { padding-top: 120px; }
  .hero-grid .hero-visual { order: -1; max-width: 420px; aspect-ratio: 16/10; margin: 0 auto 8px; }
  .sight-visual { display: none; }
  .sight-step { min-height: 0; opacity: 1; padding: 36px 0; border-bottom: 1px solid var(--line); }
  .sight-step:last-child { border-bottom: 0; }
  .cards.c3 { grid-template-columns: 1fr 1fr; }
  .stats, .principle-grid { grid-template-columns: 1fr 1fr; }
  .principles { grid-template-columns: 1fr 1fr; }
  .principles > div:nth-child(2) { border-right: 0; }
  .principles > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { top: 28px; bottom: 28px; left: 27px; width: 2px; height: auto; }
  .steps .bar { top: 28px; bottom: 28px; left: 27px; width: 2px; height: auto; transform: scaleY(0); transform-origin: top; }
  .steps.in .bar { transform: scaleY(1); }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; padding-bottom: 32px; }
  .step:last-child { padding-bottom: 0; }
  .step h4 { margin-top: 2px; }
  .step > *:not(.dot) { grid-column: 2; }
  .step .dot { grid-row: 1 / span 5; }
  .step .out { justify-self: start; }
  .scenario-head { display: none; }
  .scenario-row { grid-template-columns: 1fr 1fr 1fr; }
  .scenario-row .who { grid-column: 1 / -1; background: var(--soft); border-right: 0; }
  .scenario-row > div { border-bottom: 1px solid var(--line); }
  .scenario-row > div:last-child { border-bottom: 0; }
  .trust, .mvv, .compare { grid-template-columns: 1fr; }
  .reason { grid-template-columns: 1fr; gap: 10px; }
  .sec-head.split { grid-template-columns: 1fr; }
  .sol-media { position: static; }
  .foot-top { grid-template-columns: 1fr; gap: 40px; }
  .tools { grid-template-columns: 1fr 1fr; }
  .tool.featured { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .tool.featured .rings-mini { display: none; }
}

/* ---------- phone ---------- */
@media (max-width: 640px) {
  :root { --gutter: 20px; --radius: 18px; }
  body { font-size: 16px; }
  .section { padding: 88px 0; }
  .section.tight { padding: 64px 0; }
  .sec-head { margin-bottom: 40px; gap: 16px; }
  .hero { padding: 88px 0 72px; }
  .hero .lead { margin-top: 22px; }
  .hero-cta { margin-top: 32px; }
  .hero-meta { margin-top: 32px; font-size: 13px; }
  .page-hero { padding: 124px 0 56px; }
  .page-hero .lead { margin-top: 18px; }
  .btn { min-height: 52px; padding: 0 22px; font-size: 15.5px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .quick { margin-top: -24px; }
  .quick-card { grid-template-columns: 1fr; padding: 28px 22px; border-radius: 24px; }
  .quick-card .acts .btn { flex: 1 1 100%; }

  /* horizontal, snap-scrolling rows keep long lists short on a phone (native momentum) */
  .snap-x { display: grid !important; grid-auto-flow: column; grid-auto-columns: 82%; grid-template-columns: none !important; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 20px; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
  .snap-x::-webkit-scrollbar { display: none; }
  .snap-x > * { scroll-snap-align: start; }
  .principles.snap-x { border: 0; grid-auto-columns: 72%; }
  .principles.snap-x > div { border: 1px solid var(--line) !important; border-radius: var(--radius); padding: 26px 22px; }
  .snap-dots { display: flex; justify-content: center; gap: 6px; margin-top: 4px; }
  .snap-dots i { width: 6px; height: 6px; border-radius: 3px; background: #cfd5de; transition: width .4s var(--ease), background .3s; }
  .snap-dots i.on { width: 18px; background: var(--ink); }
  .bg-deep .snap-dots i { background: rgba(255,255,255,.2); }
  .bg-deep .snap-dots i.on { background: #fff; }

  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 26px 20px; gap: 10px; }
  .stat .num { font-size: 42px; }
  .stat p { font-size: 14px; }
  .stat cite { font-size: 11px; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-grid > div { padding: 28px 24px; }
  .sight-step { padding: 28px 0; }
  .sight-step h3 { font-size: 34px; }
  .tabs { display: flex; width: 100%; }
  .tab { flex: 1; padding: 10px 8px; }
  .cards.c3, .cards.c2, .sol-grid, .form-grid, .tools, .split-list { grid-template-columns: 1fr; }
  .card { padding: 24px 22px; }
  .card-img { margin: -8px -8px 6px; }
  .scenario { border: 0; background: transparent; gap: 12px; overflow: visible; }
  .scenario-row { grid-template-columns: 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
  .scenario-row:last-child { border-bottom: 1px solid var(--line); }
  .scenario-row > div { padding: 18px 20px; border-right: 0; }
  .showcase { gap: 40px; }
  .showcase-img { border-radius: 18px; }
  .cta-band { padding: 64px 22px; border-radius: 24px; }
  .diag-box { padding: 26px 20px; border-radius: 24px; min-height: 0; }
  .diag-title { font-size: 21px; }
  .form { padding: 28px 20px; border-radius: 24px; }
  .contact-grid { gap: 40px; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-cols > div:last-child { grid-column: 1 / -1; }
  .site-footer { padding: 72px 0 calc(100px + var(--safe-b)); }
  .sol { padding: 64px 0; gap: 32px; }
  .reason { padding: 28px 0; }
  .mvv > div { padding: 28px 24px; }
  .mvv p { font-size: 19px; }
  .faq summary { font-size: 17px; padding: 22px 2px; }
  .tool { padding: 26px 22px; border-radius: 22px; }
  .tool.featured { padding: 30px 22px; gap: 20px; }
  .tool .go { top: 22px; right: 22px; }
  .mobile-sticky {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + var(--safe-b)); z-index: 50; gap: 8px; padding: 6px;
    border-radius: 999px; background: rgba(255,255,255,.72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid rgba(255,255,255,.8); box-shadow: 0 12px 36px -12px rgba(8,19,31,.35);
    transform: translateY(calc(100% + 24px + var(--safe-b))); transition: transform .55s var(--ease);
  }
  .mobile-sticky.show { transform: none; }
  .mobile-sticky .btn { flex: 1; min-height: 48px; }
  .mobile-sticky .btn-light { background: transparent; }
  .sheet { border-radius: 24px 24px 0 0; height: calc(100dvh - 40px); }
  .sheet-body { padding: 4px 20px calc(24px + var(--safe-b)); }
  .likert { grid-template-columns: 1fr; gap: 8px; }
  .likert .opt { flex-direction: row; justify-content: flex-start; min-height: 56px; padding: 12px 16px; font-size: 15.5px; text-align: left; gap: 14px; }
  .likert .opt b { font-size: 17px; width: 28px; height: 28px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; flex: none; }
  .likert .opt.sel b { background: var(--accent); color: #fff; }
  .result-head { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 12px; }
  .result-head .act-rings { width: 180px; }
  .score { grid-template-columns: 92px 1fr 40px; gap: 10px; font-size: 14px; }
  .type-badge { width: 96px; height: 96px; font-size: 44px; border-radius: 26px; }
}

/* =========================================================
   Solutions — program portfolio
   ========================================================= */
.sol-stats { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 44px; }
.sol-stats div { display: flex; align-items: baseline; gap: 10px; }
.sol-stats b { font-size: 36px; font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.sol-stats span { font-size: 14px; color: var(--muted); font-weight: 600; }

.prog-bar { position: sticky; top: var(--header-h); z-index: 40; transition: top .5s var(--ease); }
.prog-bar::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.78); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.prog-bar::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; background: linear-gradient(rgba(11,18,32,.05), transparent); pointer-events: none; }
body.header-hidden .prog-bar { top: 0; }
.prog-bar .container { padding-top: 12px; padding-bottom: 12px; }
.prog-bar .tabs { margin: 0; }

.prog-line { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 5px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); }
.prog-line.out { background: #e8f0fd; color: #2459b8; }
.prog-line.fore { background: #efebfe; color: #5b3fd0; }

.lines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.line-col { border-radius: 24px; background: var(--soft); padding: 32px 28px; }
.line-col h3 { margin: 16px 0 8px; font-size: 24px; letter-spacing: -0.03em; display: flex; align-items: baseline; gap: 8px; }
.line-col h3 small { font-size: 15px; color: var(--muted); font-weight: 700; }
.line-col p { margin: 0 0 20px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.line-col ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.line-col li a { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 2px; min-height: 52px; border: 0; border-bottom: 1px solid var(--line); background: none; font-size: 16px; font-weight: 600; letter-spacing: -0.015em; text-align: left; transition: color .2s, padding .4s var(--ease); }
.line-col li a svg { color: var(--muted); flex: none; transition: transform .4s var(--ease); }
.line-col li a:active { opacity: .55; }
@media (hover: hover) { .line-col li a:hover { color: var(--accent-ink); padding-left: 6px; } .line-col li a:hover svg { transform: translateX(3px); color: var(--accent-ink); } }

.fchips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.fchip { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 15px; color: var(--ink-2); transition: background .25s, color .25s, border-color .25s, transform .4s var(--ease); }
.fchip:active { transform: var(--press); }
.fchip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (hover: hover) { .fchip:not(.on):hover { border-color: var(--ink); } }

.progs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.prog {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; text-align: left;
  border: 1px solid var(--line); background: #fff; border-radius: 22px; padding: 28px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s, opacity .35s var(--ease);
}
.prog:active { transform: scale(.98); transition: transform .12s ease-out; }
@media (hover: hover) { .prog:hover { transform: translateY(-4px); box-shadow: 0 28px 56px -30px rgba(11,18,32,.25); border-color: transparent; } .prog:hover .prog-more svg { transform: translateX(4px); } }
.prog[hidden] { display: none; }
.prog.fade-in { animation: panelIn .45s var(--ease); }
.prog-name { font-size: 21px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.35; margin-top: 4px; }
.prog-sum { font-size: 15px; color: var(--muted); line-height: 1.6; }
.prog-meta { display: grid; gap: 4px; width: 100%; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); font-weight: 600; }
.prog-meta span:last-child { color: var(--muted); font-weight: 500; }
.prog-more { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; }
.prog-more svg { transition: transform .4s var(--ease); }

.formats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.formats.f3 { grid-template-columns: repeat(3, 1fr); }
.fmt { padding: 26px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.bg-soft .fmt { border-color: transparent; }
.fmt b { display: block; font-size: 18px; letter-spacing: -0.02em; margin-bottom: 8px; }
.fmt span { display: block; font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* program detail (inside the sheet) */
.pd { padding-top: 12px; }
.pd-title { font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.25; margin: 14px 0 10px; }
.pd-lead { margin: 0; font-size: 17px; color: var(--muted); line-height: 1.65; }
.pd-spec { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 26px 0 0; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.pd-spec div { background: #fff; padding: 16px 18px; }
.pd-spec dt { font-size: 12.5px; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.pd-spec dd { margin: 4px 0 0; font-size: 15px; font-weight: 600; line-height: 1.5; letter-spacing: -0.01em; }
.pd-h { margin: 34px 0 14px; font-size: 13px; font-weight: 700; color: var(--accent-ink); letter-spacing: .1em; }
.pd-h small { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: 0; margin-left: 6px; }
.pd-goals { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pd-goals li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 16px; font-weight: 600; letter-spacing: -0.015em; }
.pd-goals li::before { content: ""; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='none' stroke='%230a7a70' stroke-width='2.2'%3E%3Cpath d='M1.5 5.5l2 2L8.5 2.5'/%3E%3C/svg%3E") center no-repeat; }
.pd-mods { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; counter-reset: none; }
.pd-mods li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; padding: 14px 16px; border-radius: 16px; background: var(--soft); }
.pd-mods b { font-size: 14px; font-weight: 800; color: var(--accent-ink); font-variant-numeric: tabular-nums; padding-top: 2px; }
.pd-mods strong { display: block; font-size: 16px; letter-spacing: -0.015em; }
.pd-mods span { display: block; font-size: 14.5px; color: var(--muted); margin-top: 2px; line-height: 1.55; }
.pd-out { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-out span { font-size: 14px; font-weight: 600; padding: 9px 14px; border-radius: 12px; border: 1px solid var(--line); }
.pd .hero-cta { margin-top: 32px; }

@media (max-width: 1080px) {
  .lines { grid-template-columns: 1fr; }
  .progs { grid-template-columns: 1fr 1fr; }
  .formats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .sol-stats { gap: 10px 24px; margin-top: 30px; }
  .sol-stats b { font-size: 28px; }
  .sol-stats span { font-size: 13px; }
  .prog-bar .tab { font-size: 14px; }
  .line-col { padding: 26px 20px; border-radius: 20px; }
  .fchips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 20px; padding: 2px var(--gutter); scrollbar-width: none; }
  .fchips::-webkit-scrollbar { display: none; }
  .fchip { flex: none; }
  .progs { grid-template-columns: 1fr; gap: 12px; }
  .prog { padding: 22px 20px; border-radius: 20px; }
  .prog-name { font-size: 19px; }
  .formats, .formats.f3 { grid-auto-columns: 70%; }
  .pd-spec { grid-template-columns: 1fr; }
  .pd .hero-cta .btn { flex: 1 1 100%; }
}

/* =========================================================
   Program detail page
   ========================================================= */
.ph { padding: 168px 0 88px; border-bottom: 1px solid var(--line); }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); font-weight: 600; margin-bottom: 36px; }
.crumb a { padding: 4px 0; }
.crumb a:active { opacity: .5; }
@media (hover: hover) { .crumb a:hover { color: var(--ink); } }
.crumb span { color: #c3cad5; }
.ph .h1 { margin-top: 18px; }
.ph-head { margin: 22px 0 0; max-width: 820px; font-size: clamp(19px, 2vw, 25px); font-weight: 700; line-height: 1.6; letter-spacing: -0.025em; color: var(--ink-2); }
.ph-spec { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 44px 0 0; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.ph-spec div { background: #fff; padding: 20px 22px; }
.ph-spec dt { font-size: 12.5px; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.ph-spec dd { margin: 6px 0 0; font-size: 15.5px; font-weight: 600; line-height: 1.5; letter-spacing: -0.015em; }
.ph .hero-cta { margin-top: 36px; }

.effects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.eff { padding: 36px 32px; border-radius: 24px; border: 1px solid var(--line); background: #fff; }
.eff .n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums; }
.eff h3 { margin: 22px 0 12px; font-size: 22px; letter-spacing: -0.03em; line-height: 1.35; }
.eff p { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.8; letter-spacing: -0.01em; }

.cmap { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: center; padding: 28px; border-radius: 24px; background: #fff; }
.cmap-who { display: grid; justify-items: center; gap: 14px; text-align: center; }
.cmap-who svg { width: 100px; }
.cmap-who b { font-size: 17px; letter-spacing: -0.02em; line-height: 1.4; }
.cmap-rows { display: grid; gap: 10px; }
.cmap-row { display: grid; grid-template-columns: 120px 1fr; gap: 10px; align-items: stretch; }
.cmap-k { display: flex; flex-direction: column; justify-content: center; padding: 10px 14px; border-radius: 12px; font-weight: 800; font-size: 15px; color: #fff; letter-spacing: -0.01em; }
.cmap-k small { font-size: 12px; font-weight: 600; opacity: .85; }
.cmap-k.insight, .tile.insight { --c: var(--c-insight); }
.cmap-k.outsight, .tile.outsight { --c: var(--c-outsight); }
.cmap-k.foresight, .tile.foresight { --c: var(--c-foresight); }
.cmap-k { background: var(--c); }
.tiles { display: flex; flex-wrap: wrap; gap: 8px; }
.tile { display: inline-flex; align-items: center; min-height: 52px; padding: 0 20px; border-radius: 12px; font-size: 15.5px; font-weight: 700; letter-spacing: -0.015em; color: var(--c); background: color-mix(in srgb, var(--c) 10%, #fff); border: 1px solid color-mix(in srgb, var(--c) 22%, #fff); }

.s4s { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.s4 { padding: 30px 26px; border-radius: 22px; background: var(--soft); position: relative; }
.s4-k { display: block; font-size: 28px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.s4-k.insight { color: var(--c-insight); } .s4-k.outsight { color: var(--c-outsight); } .s4-k.foresight { color: var(--c-foresight); } .s4-k.ink { color: var(--ink); }
.s4 b { display: block; margin: 10px 0 12px; font-size: 16px; letter-spacing: -0.015em; }
.s4 p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.7; }

.ctable-wrap { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.ctable { width: 100%; border-collapse: collapse; }
.ctable thead th { background: var(--ink); color: #fff; font-size: 15px; font-weight: 700; padding: 20px 24px; text-align: center; letter-spacing: -0.01em; }
.ctable thead th:last-child { text-align: left; }
.ctable td, .ctable tbody th { border-top: 1px solid var(--line); vertical-align: middle; }
.ctable tbody tr.ct-first > * { border-top: 1px solid #cfd5de; }
.ctable tbody tr:first-child > * { border-top: 0; }
.ct-theme { width: 22%; padding: 24px; text-align: center; font-size: 17px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.45; background: var(--soft); border-right: 1px solid var(--line); }
.ct-theme span { display: block; font-size: 13px; color: var(--accent-ink); letter-spacing: .04em; margin-bottom: 4px; }
.ct-sub { width: 22%; padding: 24px; text-align: center; border-right: 1px solid var(--line); }
.ct-sub b { display: block; font-size: 16.5px; letter-spacing: -0.02em; line-height: 1.45; }
.ct-sub small { display: inline-block; margin-top: 8px; font-size: 12.5px; font-weight: 700; color: var(--muted); padding: 3px 10px; border-radius: 999px; background: var(--soft); }
.ct-det { padding: 22px 28px; }
.ct-det .kw { margin: 0 0 8px; font-size: 14px; font-weight: 700; color: var(--ink); }
.ct-det ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.ct-det li { font-size: 15px; color: var(--ink-2); line-height: 1.65; }
.ct-notes { margin-top: 18px; text-align: right; }
.ct-notes p { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); }

.method2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.checklist.fit { margin-top: 0; }
.checklist.fit b { font-size: 18px; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.pager a { display: grid; gap: 4px; padding: 22px 26px; border-radius: 20px; background: #fff; border: 1px solid transparent; transition: border-color .3s, transform .4s var(--ease); }
.pager a.next { text-align: right; }
.pager a:active { transform: scale(.98); }
@media (hover: hover) { .pager a:hover { border-color: var(--ink); } }
.pager small { font-size: 13px; color: var(--muted); font-weight: 600; }
.pager b { font-size: 18px; letter-spacing: -0.02em; }

@media (max-width: 1080px) {
  .ph-spec { grid-template-columns: 1fr 1fr; }
  .effects, .s4s { grid-template-columns: 1fr 1fr; }
  .method2 { grid-template-columns: 1fr; gap: 56px; }
  .cmap { grid-template-columns: 1fr; }
  .cmap-who { grid-auto-flow: column; justify-content: start; align-items: center; text-align: left; }
  .cmap-who svg { width: 56px; }
}
@media (max-width: 640px) {
  .ph { padding: 112px 0 56px; }
  .crumb { margin-bottom: 24px; font-size: 13px; }
  .ph-head { font-size: 18px; }
  .ph-spec { grid-template-columns: 1fr; margin-top: 32px; }
  .ph-spec div { padding: 16px 18px; }
  .effects, .s4s { grid-template-columns: 1fr; gap: 12px; }
  .eff { padding: 26px 22px; border-radius: 20px; }
  .eff h3 { font-size: 20px; margin-top: 18px; }
  .eff p { font-size: 15.5px; }
  .cmap { padding: 20px; gap: 18px; }
  .cmap-row { grid-template-columns: 1fr; gap: 8px; }
  .cmap-k { flex-direction: row; align-items: baseline; gap: 8px; justify-content: flex-start; padding: 8px 12px; }
  .tile { min-height: 44px; padding: 0 14px; font-size: 14.5px; }
  .s4 { padding: 22px 20px; }
  /* curriculum table becomes stacked cards on a phone */
  .ctable-wrap { border: 0; background: transparent; border-radius: 0; overflow: visible; }
  .ctable, .ctable tbody, .ctable tr, .ctable td, .ctable th { display: block; width: 100%; }
  .ctable thead { display: none; }
  .ctable tbody tr { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin-top: 10px; }
  .ctable tbody tr.ct-first { margin-top: 24px; }
  .ctable tbody tr:first-child { margin-top: 0; }
  .ctable tbody tr > * { border: 0 !important; }
  .ct-theme { text-align: left; padding: 16px 20px; background: var(--ink); color: #fff; font-size: 16px; }
  .ct-theme span { color: var(--accent-light); display: inline; margin: 0 6px 0 0; }
  .ct-sub { text-align: left; padding: 18px 20px 0; display: flex !important; justify-content: space-between; align-items: center; gap: 12px; }
  .ct-sub small { margin-top: 0; flex: none; }
  .ct-det { padding: 10px 20px 20px; }
  .ct-notes { text-align: left; }
  .pager { grid-template-columns: 1fr; gap: 10px; }
  .pager a.next { text-align: left; }
}

/* ---------- report samples (diagnosis) ---------- */
.link-row { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 36px; }
.doc-thumb { position: relative; aspect-ratio: 16/10; margin: -12px -12px 8px; padding: 28px 40px 0; border-radius: 14px; overflow: hidden; background: linear-gradient(160deg, var(--accent-soft) 0%, var(--soft) 65%); }
.doc-thumb img { display: block; width: 100%; height: auto; border-radius: 6px 6px 0 0; box-shadow: 0 18px 40px -18px rgba(11,18,32,.35), 0 1px 3px rgba(11,18,32,.08); transition: transform .9s var(--ease); }
@media (hover: hover) { .report-card:hover .doc-thumb img { transform: translateY(-6px); } }
.report-card [data-report] { align-self: flex-start; background: none; border: 0; padding: 16px 0 0; }
.report-card [data-report]::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.expert-band { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: center; margin-top: 20px; padding: 36px; border-radius: var(--radius); background: var(--soft); }
.expert-band .doc-thumb { margin: 0; aspect-ratio: 4/3; padding: 28px 56px 0; background: #e3eaef; }
.expert-band .txt { display: grid; gap: 14px; }
.expert-band .chip { justify-self: start; }
.expert-band p { margin: 0; color: var(--muted); font-size: 15.5px; }
.report-foot { margin: 24px 0 0; font-size: 14px; color: var(--muted); }
.report-pages { display: grid; gap: 22px; }
.report-note { margin: 0; padding: 12px 16px; border-radius: 12px; background: var(--soft); font-size: 14px; color: var(--muted); }
.report-pages figure { margin: 0; }
.report-pages img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; }
.report-pages figcaption { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 1080px) {
  .expert-band { grid-template-columns: 260px 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .doc-thumb { padding: 20px 28px 0; }
  .expert-band { grid-template-columns: 1fr; gap: 24px; padding: 20px; }
  .expert-band .doc-thumb { padding: 20px 64px 0; }
}

/* ---------- KakaoTalk channel: floating chat button ---------- */
.kakao-fab {
  position: fixed; right: 24px; bottom: calc(24px + var(--safe-b)); z-index: 45;
  display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 20px 0 16px;
  border-radius: 999px; background: #fee500; color: #191919; font-weight: 700; font-size: 15px;
  box-shadow: 0 14px 32px -12px rgba(8,19,31,.4); transition: transform .55s var(--ease), box-shadow .5s var(--ease);
}
.kakao-fab svg { flex: none; }
.kakao-fab:active { transform: var(--press); transition: transform .1s ease-out; }
@media (hover: hover) { .kakao-fab:hover { box-shadow: 0 20px 40px -14px rgba(8,19,31,.5); } }
@media (max-width: 640px) {
  .kakao-fab { right: 16px; bottom: calc(16px + var(--safe-b)); width: 52px; padding: 0; justify-content: center; }
  .kakao-fab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  /* rise above the mobile action bar while it is showing */
  .mobile-sticky.show ~ .kakao-fab { transform: translateY(-70px); }
  .mobile-sticky.show ~ .kakao-fab:active { transform: translateY(-70px) var(--press); }
}
