/* ---------- tokens ---------- */
:root {
  --paper: #F6F5F1;
  --paper-2: #EFEDE7;
  --card: #FFFFFF;
  --ink: #111318;
  --ink-2: #2A2E37;
  --muted: #5F6470;
  --faint: #8B909A;
  --line: rgba(17, 19, 24, .10);
  --line-2: rgba(17, 19, 24, .16);
  --accent: #2E5BFF;
  --accent-ink: #1C44E0;
  --accent-soft: rgba(46, 91, 255, .10);
  --night: #0B0D12;
  --night-2: #141821;
  --night-line: rgba(255, 255, 255, .10);
  --on-night: #F2F3F5;
  --on-night-muted: #9AA0AC;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(17, 19, 24, .04), 0 8px 24px -12px rgba(17, 19, 24, .14);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.65; letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  word-break: keep-all; overflow-wrap: break-word;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 650; font-size: 15px; letter-spacing: -0.01em; white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-line { border-color: var(--line-2); background: transparent; }
.btn-line:hover { border-color: var(--ink); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.wordmark { display: flex; align-items: center; gap: 10px; }
.wordmark-mark {
  width: 34px; height: 34px; border-radius: 9px; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 13px; letter-spacing: .02em;
}
.wordmark-text { display: flex; flex-direction: column; line-height: 1.1; }
.wordmark-text b { font-size: 15px; font-weight: 750; }
.wordmark-text small { font-size: 10.5px; color: var(--faint); letter-spacing: .14em; font-weight: 600; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 999px; font-size: 14.5px; color: var(--muted); font-weight: 550; transition: color .2s, background .2s; }
.nav a:hover, .nav a.active { color: var(--ink); background: rgba(17, 19, 24, .05); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); }
.lang button { border: 0; background: none; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--faint); letter-spacing: .04em; }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.menu-btn { display: none; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--card); position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 1.6px; background: var(--ink); transition: transform .25s var(--ease); }
.menu-btn span:first-child { top: 15px; }
.menu-btn span:last-child { top: 23px; }
.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); }

/* ---------- hero ---------- */
.hero { padding: clamp(48px, 9vw, 112px) 0 clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: end; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 650; color: var(--muted); letter-spacing: .02em; margin-bottom: 22px; }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.hero-title { font-size: clamp(36px, 5.6vw, 68px); line-height: 1.12; letter-spacing: -0.035em; font-weight: 780; }
.hero-title span { display: block; }
.hero-title span + span { color: var(--accent); }
.hero-lead { margin-top: 24px; max-width: 34em; font-size: clamp(16px, 1.5vw, 18px); color: var(--ink-2); line-height: 1.75; }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.metric {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 18px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; min-height: 148px;
}
.metric-value { font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.metric-label { font-weight: 650; font-size: 14.5px; margin-top: auto; }
.metric-note { font-size: 12.5px; color: var(--faint); }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-tint { background: var(--paper-2); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.kicker { font-size: 12.5px; font-weight: 750; letter-spacing: .16em; color: var(--accent); margin-bottom: 14px; }
.section-head h2, .contact-title { font-size: clamp(28px, 3.8vw, 46px); line-height: 1.18; letter-spacing: -0.03em; font-weight: 780; }
.section-desc { margin-top: 16px; color: var(--muted); font-size: 16.5px; line-height: 1.75; }
.sub-head { font-size: 15px; font-weight: 750; letter-spacing: -.01em; margin: 0 0 16px; padding-top: 8px; }
.sub-head:not(:first-of-type) { margin-top: 48px; }

/* ---------- dark band / player ---------- */
.band-dark { background: var(--night); color: var(--on-night); padding: clamp(72px, 10vw, 120px) 0; }
.band-dark .kicker { color: #7F9BFF; }
.band-dark .section-desc { color: var(--on-night-muted); }
.player { border-radius: var(--radius-lg); overflow: hidden; background: #000; border: 1px solid var(--night-line); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.player-stage { position: relative; aspect-ratio: 16 / 9; background: #07080B; }
.player-stage canvas { width: 100%; height: 100%; display: block; cursor: pointer; }
.player-big {
  position: absolute; left: 50%; top: 80%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 16px; padding: 14px 26px 14px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .96); color: var(--ink); border: 0; box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .5);
  transition: transform .25s var(--ease), opacity .25s;
}
.player-big:hover { transform: translate(-50%, -50%) scale(1.03); }
.player.started .player-big { opacity: 0; pointer-events: none; }
.player.loading .player-big { pointer-events: none; }
.player.loading .player-big-icon { background: transparent; border: 3px solid var(--accent-soft); border-top-color: var(--accent); animation: spin .8s linear infinite; }
.player.loading .player-big-icon::after { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.player-big-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--accent); position: relative; flex: none; }
.player-big-icon::after { content: ''; position: absolute; left: 21px; top: 16px; border-left: 15px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.player-big-text { display: flex; flex-direction: column; text-align: left; line-height: 1.3; }
.player-big-text b { font-size: 17px; }
.player-big-text small { font-size: 12.5px; color: var(--muted); }
.player-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--night-2); border-top: 1px solid var(--night-line); }
.pb-btn { width: 36px; height: 36px; border-radius: 9px; border: 0; background: transparent; display: grid; place-items: center; flex: none; }
.pb-btn:hover { background: rgba(255, 255, 255, .08); }
.pb-time { font-size: 12.5px; color: var(--on-night-muted); font-variant-numeric: tabular-nums; min-width: 82px; }
.pb-track { position: relative; flex: 1; height: 28px; cursor: pointer; }
.pb-track::before { content: ''; position: absolute; left: 0; right: 0; top: 12px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .14); }
.pb-fill { position: absolute; left: 0; top: 12px; height: 4px; border-radius: 4px; background: var(--accent); width: 0; }
.pb-fill::after { content: ''; position: absolute; right: -6px; top: -4px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.pb-chapters span { position: absolute; top: 10px; width: 2px; height: 8px; background: rgba(255, 255, 255, .35); border-radius: 1px; }
.pb-chapter { font-size: 12.5px; color: var(--on-night); min-width: 120px; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.i-play, .i-pause, .i-sound, .i-mute, .i-full { display: block; position: relative; width: 16px; height: 16px; }
.i-play::after { content: ''; position: absolute; left: 3px; top: 1px; border-left: 12px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.i-pause::before, .i-pause::after { content: ''; position: absolute; top: 1px; width: 4px; height: 14px; background: #fff; border-radius: 1px; }
.i-pause::before { left: 3px; } .i-pause::after { right: 3px; }
.i-sound::before { content: ''; position: absolute; left: 1px; top: 5px; width: 4px; height: 6px; background: #fff; }
.i-sound::after { content: ''; position: absolute; left: 3px; top: 1px; border-right: 7px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.i-sound > i, .i-mute > i { position: absolute; right: 0; top: 3px; width: 6px; height: 10px; border: 2px solid #fff; border-left: 0; border-radius: 0 10px 10px 0; }
.i-mute > i { border: 0; width: 8px; height: 8px; top: 4px; }
.i-mute > i::before, .i-mute > i::after { content: ''; position: absolute; left: 3px; top: -1px; width: 2px; height: 10px; background: #fff; transform: rotate(45deg); }
.i-mute > i::after { transform: rotate(-45deg); }
.i-mute::before { content: ''; position: absolute; left: 1px; top: 5px; width: 4px; height: 6px; background: #fff; }
.i-mute::after { content: ''; position: absolute; left: 3px; top: 1px; border-right: 7px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.i-full { border: 2px solid #fff; border-radius: 3px; width: 16px; height: 13px; }

/* ---------- why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; counter-reset: why; }
.why-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); }
.why-k { font-size: 13px; font-weight: 750; color: var(--accent); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.why-card h3 { font-size: clamp(20px, 2vw, 24px); letter-spacing: -0.025em; line-height: 1.3; font-weight: 750; }
.why-card p { color: var(--ink-2); }
.why-ev { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line-2); font-size: 13px; color: var(--faint); font-weight: 600; }

/* ---------- work ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { border: 1px solid var(--line-2); background: var(--card); padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); transition: all .2s; }
.filters button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.work-list { display: grid; gap: 20px; }
.case { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3.4vw, 44px); box-shadow: var(--shadow); transition: box-shadow .35s var(--ease), border-color .35s; }
.case:hover { box-shadow: 0 1px 2px rgba(17, 19, 24, .04), 0 24px 48px -24px rgba(17, 19, 24, .22); border-color: var(--line-2); }
.case[hidden] { display: none; }
.case-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 13.5px; color: var(--muted); }
.case-meta .period { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.case-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); }
.case-title { margin-top: 12px; font-size: clamp(22px, 2.5vw, 30px); line-height: 1.28; letter-spacing: -0.03em; font-weight: 760; max-width: 30em; }
.case-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 26px 0; }
.case-results li { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 118px; padding: 20px 22px; border-radius: var(--radius); background: #F4F5F8; border: 1px solid transparent; overflow: hidden;
  opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease), box-shadow .3s; transition-delay: calc(var(--i) * 110ms); }
.case-results.in li { opacity: 1; transform: none; }
.case-results li:hover { box-shadow: 0 10px 28px -16px rgba(17, 19, 24, .35); }
.case-results li.primary { background: #fff; border-color: rgba(46, 91, 255, .28); box-shadow: 0 10px 26px -20px rgba(46, 91, 255, .7); }
.case-results li.primary::before { content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); }
.case-results b { display: block; font-size: clamp(30px, 3vw, 40px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.05; color: var(--ink); font-variant-numeric: tabular-nums; }
.case-results li.primary b { color: var(--accent); }
.case-results span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 8px; line-height: 1.45; }

.m-text { position: relative; min-width: 0; }
.ring { position: relative; flex: none; width: 76px; height: 76px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; }
.ring .trk { stroke: #E3E6EE; }
.ring .val { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 188.5; stroke-dashoffset: 188.5; transition: stroke-dashoffset 1.4s var(--ease) .25s; }
.case-results.in .ring .val { stroke-dashoffset: calc(188.5 * (1 - var(--p))); }
.ring em { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; font-size: 15px; font-weight: 750; font-variant-numeric: tabular-nums; }
.case-body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.case-block h4 { margin: 0 0 8px; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); font-weight: 750; }
.case-block p { color: var(--ink-2); }
.case-block ul { display: grid; gap: 8px; }
.case-block li { position: relative; padding-left: 18px; color: var(--ink-2); }
.case-block li::before { content: ''; position: absolute; left: 2px; top: .72em; width: 7px; height: 2px; background: var(--accent); }
.case-extra { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--paper); font-size: 14.5px; color: var(--ink-2); }
.chart { margin-top: 22px; padding: 20px 22px 16px; border: 1px solid var(--line); border-radius: var(--radius); }
.chart-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.chart h5 { margin: 0; font-size: 13px; color: var(--muted); font-weight: 650; }
.chart-delta { font-size: 12.5px; font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; opacity: 0; transform: translateY(4px); transition: opacity .5s var(--ease) 1.1s, transform .5s var(--ease) 1.1s; }
.chart.in .chart-delta { opacity: 1; transform: none; }
.hbars { display: grid; gap: 10px; }
.hbars li { display: grid; grid-template-columns: 52px 1fr 64px; align-items: center; gap: 14px; }
.hbars .y { font-size: 13px; color: var(--faint); font-weight: 600; font-variant-numeric: tabular-nums; }
.hbars .track { height: 12px; border-radius: 999px; background: #EEF0F5; overflow: hidden; }
.hbars .track i { display: block; height: 100%; width: calc(var(--w) * 100%); border-radius: 999px; background: #B8C6F7; transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease); transition-delay: calc(var(--i) * 220ms + 150ms); }
.hbars li.latest .track i { background: linear-gradient(90deg, #2E5BFF, #6F8DFF); }
.chart.in .hbars .track i { transform: scaleX(1); }
.hbars b { text-align: right; font-size: 16px; font-weight: 750; font-variant-numeric: tabular-nums; }
.hbars li.latest b { color: var(--accent); }
.media-strip { margin-top: 26px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.media-strip button { padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--paper); aspect-ratio: 4 / 3; position: relative; }
.media-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.media-strip img.doc { object-fit: cover; object-position: top; }
.media-strip button:hover img { transform: scale(1.04); }
.media-strip button:only-child { grid-column: span 2; aspect-ratio: 16 / 9; }
.case-logos { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.case-logos span { background: #fff; border: 1px solid var(--line); border-radius: 10px; height: 46px; padding: 8px 14px; display: grid; place-items: center; }
.case-logos img { max-height: 28px; max-width: 120px; width: auto; height: auto; }
.case-press { margin-top: 22px; display: grid; gap: 8px; }
.press-link { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; transition: border-color .2s, background .2s; }
.press-link:hover { border-color: var(--accent); background: var(--accent-soft); }
.press-link .outlet { font-weight: 700; white-space: nowrap; }
.press-link .t { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.press-link .d { color: var(--faint); font-size: 12.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- embedded video ---------- */
.yt-row { margin-top: 22px; display: grid; align-items: start; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px; max-width: 860px; }
.yt { margin: 0; }
.yt-side { display: grid; gap: 12px; }
.yt-side a { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.yt-side img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: opacity .3s, transform .5s var(--ease); }
.yt-side a:hover img { opacity: 1; transform: scale(1.03); }
.yt-side-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; background: linear-gradient(transparent, rgba(8, 9, 12, .88)); color: #fff; display: flex; flex-direction: column; line-height: 1.3; }
.yt-side-cap b { font-size: 12.5px; font-weight: 700; }
.yt-side-cap small { font-size: 11px; opacity: .75; }
.yt-cap { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.yt-cap a { color: var(--accent); font-weight: 650; white-space: nowrap; }
.yt-facade, .yt iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); overflow: hidden; background: #000; }
.yt-facade { position: relative; padding: 0; }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: opacity .3s, transform .6s var(--ease); }
.yt-facade:hover img { opacity: .9; transform: scale(1.02); }
.yt-play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--accent); box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .6); }
.yt-play::after { content: ''; position: absolute; left: 22px; top: 17px; border-left: 16px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.yt-label { position: absolute; left: 16px; bottom: 14px; background: rgba(11, 13, 18, .82); color: #fff; font-size: 13px; font-weight: 650; padding: 6px 12px; border-radius: 999px; }

/* ---------- clients ---------- */
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.logo-wall li { box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line); height: 120px; display: grid; place-items: center; position: relative; padding: 18px 22px 26px; }
.logo-wall img { max-height: 44px; max-width: 150px; width: auto; height: auto; filter: grayscale(1) contrast(.9); opacity: .78; transition: filter .3s, opacity .3s; }
.logo-wall li:hover img { filter: none; opacity: 1; }
.logo-wall .tag { position: absolute; bottom: 10px; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--faint); }
.logo-wall .tag.c { color: var(--accent); }

/* ---------- career ---------- */
.career-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(32px, 6vw, 80px); }
.timeline { position: relative; }
.timeline li { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line-2); }
.timeline li:last-child { border-bottom: 1px solid var(--line-2); }
.tl-period { font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 600; padding-top: 2px; }
.tl-co { font-size: 17px; font-weight: 750; letter-spacing: -0.02em; }
.tl-role { font-size: 14px; color: var(--accent); font-weight: 650; margin-left: 8px; }
.tl-desc { font-size: 14.5px; color: var(--muted); margin-top: 2px; }
.career-side h3 { font-size: 15px; font-weight: 750; margin: 6px 0 14px; }
.career-side h3 + * + h3 { margin-top: 36px; }
.plain-list.edu li { color: var(--muted); font-size: 13.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--card); border: 1px solid var(--line); padding: 7px 13px; border-radius: 999px; font-size: 14px; font-weight: 550; }
.plain-list { display: grid; gap: 10px; }
.plain-list li { position: relative; padding-left: 16px; font-size: 14.5px; color: var(--ink-2); }
.plain-list li::before { content: ''; position: absolute; left: 0; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--faint); }

/* ---------- proof ---------- */
.press-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.press-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); height: 100%; transition: border-color .2s, transform .2s var(--ease); }
.press-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.press-card .row { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--faint); font-weight: 650; }
.press-card .row b { color: var(--ink); }
.press-card h4 { margin: 0; font-size: 16px; line-height: 1.45; letter-spacing: -0.02em; font-weight: 700; }
.press-card p { font-size: 14px; color: var(--muted); }
.press-card .go { margin-top: auto; padding-top: 6px; font-size: 13px; color: var(--accent); font-weight: 700; }
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.doc-grid button { padding: 0; border: 0; background: none; text-align: left; display: flex; flex-direction: column; gap: 10px; }
.doc-thumb { aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); width: 100%; }
.doc-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s var(--ease); }
.doc-grid button:hover .doc-thumb img { transform: scale(1.03); }
.doc-grid .cap { font-size: 13px; color: var(--muted); line-height: 1.45; }

/* ---------- contact / footer ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.contact-title span { display: block; }
.contact-card { background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--radius-lg); padding: 24px; display: grid; gap: 4px; }
.contact-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--night-line); }
.contact-row span { font-size: 13px; color: var(--on-night-muted); }
.contact-row a { font-size: 17px; font-weight: 650; font-variant-numeric: tabular-nums; word-break: break-all; }
.contact-row a:hover { color: #9DB2FF; }
.copy { border: 1px solid var(--night-line); background: transparent; color: var(--on-night); font-size: 12.5px; padding: 6px 12px; border-radius: 999px; }
.copy:hover { background: rgba(255, 255, 255, .08); }
.contact-card .btn { margin-top: 16px; }
.site-footer { background: var(--night); color: var(--on-night-muted); border-top: 1px solid var(--night-line); font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.footer-inner b { color: var(--on-night); font-weight: 650; }
.footer-mail:hover { color: var(--on-night); }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(8, 9, 12, .92); }
.lb-figure { position: relative; margin: 0; max-width: min(1100px, 92vw); max-height: 88vh; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.lb-figure img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 8px; background: #fff; }
.lb-figure figcaption { color: #E6E8EC; font-size: 14px; text-align: center; max-width: 60em; }
.lb-btn { position: absolute; border: 0; background: rgba(255, 255, 255, .1); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 28px; line-height: 1; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255, 255, 255, .2); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav a { padding: 8px 9px; font-size: 14px; }
}
@media (max-width: 960px) {
  .hero-grid, .career-grid, .contact-grid { grid-template-columns: 1fr; }
  .case-body { grid-template-columns: 1fr; }
  .why-grid, .press-list { grid-template-columns: 1fr; }
  .menu-btn { display: block; }
  .hide-sm { display: none; }
  .nav {
    position: fixed; left: 0; right: 0; top: 68px; flex-direction: column; gap: 0; margin: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s var(--ease);
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 14px 4px; font-size: 16px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .header-actions { margin-left: auto; }
}
@media (max-width: 640px) {
  .metric { min-height: 128px; padding: 16px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .tl-role { display: block; margin: 2px 0 0; }
  .pb-chapter { display: none; }
  .pb-time { min-width: 0; }
  .player-big { padding: 6px; gap: 0; top: 84%; }
  .player-big-text { display: none; }
  .player-big-icon { width: 42px; height: 42px; }
  .player-big-icon::after { left: 17px; top: 12px; border-left-width: 12px; border-top-width: 9px; border-bottom-width: 9px; }
  .player-big-text small { display: none; }
  .press-link { grid-template-columns: 1fr; gap: 2px; }
  .press-link .t { white-space: normal; }
  .contact-row { grid-template-columns: 1fr auto; }
  .contact-row span { grid-column: 1 / -1; }
  .media-strip { grid-template-columns: repeat(2, 1fr); }
  .doc-grid { grid-template-columns: repeat(2, 1fr); }
  .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; }
  .yt-row { grid-template-columns: 1fr; }
  .yt-side { grid-template-columns: 1fr 1fr; }
}
/* fullscreen fallback (iOS Safari has no element fullscreen) */
.player.pseudo-full { position: fixed; inset: 0; z-index: 200; border-radius: 0; display: flex; flex-direction: column; justify-content: center; background: #000; }
.player.pseudo-full .player-stage { max-height: calc(100dvh - 120px); margin: 0 auto; width: min(100%, calc((100dvh - 120px) * var(--ar, 1.7778))); }
body.no-scroll { overflow: hidden; }

/* ---------- phone ---------- */
.case-toggle { display: none; }
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 28px; }
  .section-desc { font-size: 15.5px; }
  .hero { padding: 36px 0 52px; }
  .hero-cta .btn { flex: 1; }
  .metric-grid { gap: 10px; }
  .metric-note, .kicker, .press-link .d, .press-card .row, .logo-wall .tag, .yt-side-cap small { font-size: 12.5px; }
  /* touch targets ≥ 44px */
  .lang button { padding: 9px 13px; font-size: 13px; }
  .menu-btn { width: 44px; height: 44px; }
  .copy { min-height: 40px; padding: 8px 14px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1) 20px; padding: 0 var(--gutter); }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: none; min-height: 40px; }
  /* player: full-width seek bar on its own row, larger buttons */
  .player { border-radius: 16px; }
  .player.portrait .player-stage { aspect-ratio: 4 / 5; }
  .player.portrait .player-big { top: 88%; }
  .player-bar { flex-wrap: wrap; gap: 6px 8px; padding: 8px 10px 10px; }
  .pb-track { order: -1; flex: 1 0 100%; height: 40px; }
  .pb-track::before, .pb-fill { top: 18px; }
  .pb-chapters span { top: 16px; }
  .lang button { min-height: 40px; }
  .contact-row a { display: block; padding: 9px 0; }
  .footer-mail { display: inline-block; padding: 10px 0; }
  .pb-btn { width: 44px; height: 44px; }
  .pb-time { margin-right: auto; font-size: 13px; }
  /* project cards: key numbers first, details on demand */
  .case { padding: 22px 18px; }
  .case-meta { flex-direction: column; align-items: flex-start; gap: 2px; }
  .case-meta .dot { display: none; }
  .case-title { font-size: 21px; }
  .case-results { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
  .case-results li { flex: 1 1 calc(50% - 4px); min-height: 104px; padding: 16px; }
  .case-results li.has-ring { flex-basis: 100%; }
  .case-results b { font-size: 27px; }
  .ring { width: 64px; height: 64px; }
  .case-toggle { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 46px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--paper); font-weight: 650; font-size: 14.5px; }
  .case-toggle::after { content: ''; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .25s; }
  .case.open .case-toggle::after { transform: translateY(2px) rotate(-135deg); }
  .case-detail { display: none; padding-top: 18px; }
  .case.open .case-detail { display: block; }
  /* swipeable rows instead of tall grids */
  .media-strip, .doc-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .case .media-strip { margin-left: -18px; margin-right: -18px; padding: 0 18px 6px; }
  .media-strip::-webkit-scrollbar, .doc-grid::-webkit-scrollbar { display: none; }
  .media-strip button { flex: 0 0 72%; scroll-snap-align: start; }
  .media-strip button:only-child { flex-basis: 100%; }
  .doc-grid li { flex: 0 0 46%; scroll-snap-align: start; }
  .yt-side-cap b { font-size: 12.5px; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .logo-wall li { height: 96px; padding: 14px 16px 24px; }
  .logo-wall img { max-width: 120px; max-height: 34px; }
  .why-card { padding: 22px 20px; }
  .contact-card { padding: 16px; }
  .contact-row a { font-size: 16px; }
  .lb-figure img { max-height: 70vh; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
    .case-results li, .ring .val, .hbars .track i, .chart-delta { transition: none !important; opacity: 1; transform: none; }
}
