:root {
  --ice: #D5DDE6;
  --ocean: #1A4A7F;
  --aqua: #2FD3A0;
  --ink: #0B111A;
  --ink-2: #33475E;
  --ink-3: #5A6B80;
  --line: rgba(11, 17, 26, 0.1);
  --glass: rgba(255, 255, 255, 0.32);
  --glass-strong: rgba(255, 255, 255, 0.5);
  --glass-edge: rgba(255, 255, 255, 0.7);
  --sans: -apple-system, "SF Pro Display", "Inter Tight", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; scrollbar-color: var(--ocean) var(--ice); }
body {
  margin: 0; background: var(--ice); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; caret-color: var(--ocean);
}
::selection { background: var(--aqua); color: var(--ink); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ice); }
::-webkit-scrollbar-thumb { background: rgba(26, 74, 127, 0.45); border-radius: 10px; border: 2px solid var(--ice); }
::-webkit-scrollbar-thumb:hover { background: var(--ocean); }
:focus-visible { outline: 2px solid var(--ocean); outline-offset: 3px; border-radius: 8px; }
a { color: inherit; text-underline-offset: 0.2em; }
img { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
button { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(1.7);
  backdrop-filter: blur(22px) saturate(1.7);
  border: 1px solid var(--glass-edge);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 12px 40px -12px rgba(26, 74, 127, 0.28);
}

/* ---------- page backdrop: soft color the glass can bend ---------- */
.backdrop { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); }
.blob-1 { width: 46vw; height: 46vw; right: -10vw; top: -12vw; background: rgba(26, 74, 127, 0.5); animation: float1 18s ease-in-out infinite alternate; }
.blob-2 { width: 30vw; height: 30vw; right: 12vw; bottom: 2vh; background: rgba(47, 211, 160, 0.45); animation: float2 14s ease-in-out infinite alternate; }
.blob-3 { width: 40vw; height: 40vw; left: -14vw; bottom: -16vw; background: rgba(255, 255, 255, 0.85); }
.blob-4 { width: 26vw; height: 26vw; left: 8vw; top: 30vh; background: rgba(26, 74, 127, 0.18); animation: float1 22s ease-in-out infinite alternate-reverse; }
@keyframes float1 { to { transform: translate(-4vw, 6vh) scale(1.08); } }
@keyframes float2 { to { transform: translate(5vw, -4vh) scale(0.92); } }

/* ---------- nav ---------- */
.nav {
  position: fixed; z-index: 30; top: 16px; left: 50%; transform: translateX(-50%);
  width: min(1100px, calc(100% - 32px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 22px; border-radius: 999px;
}
.wordmark { font-weight: 700; font-size: 16px; letter-spacing: -0.02em; text-decoration: none; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink-2); padding: 8px 14px; border-radius: 999px; transition: background-color 0.2s, color 0.2s; }
.nav-links a:hover { background: rgba(255, 255, 255, 0.5); color: var(--ink); }
.nav-links a.is-active { background: rgba(255, 255, 255, 0.75); color: var(--ink); }
.nav-cta { font-size: 14px; font-weight: 600; text-decoration: none; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; transition: background-color 0.2s; white-space: nowrap; }
.nav-cta:hover { background: var(--ocean); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; text-decoration: none; padding: 15px 24px; border-radius: 999px; border: 0; cursor: pointer; transition: transform 0.2s var(--ease-out), background-color 0.2s; }
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease-out); }
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: var(--ocean); }
.btn-solid:hover svg { transform: translateX(3px); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.55); }

/* ---------- section heads ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0 0; }
.h2 { font-size: clamp(2.3rem, 5vw, 4.2rem); font-weight: 700; line-height: 1; letter-spacing: -0.04em; margin: 0; text-wrap: balance; }
.h2 span { color: var(--ocean); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p { margin: 0; color: var(--ink-2); max-width: 44ch; justify-self: end; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; }
.hero-grid {
  position: relative; z-index: 2; flex: 1;
  width: 100%; max-width: 1240px; margin: 0 auto; padding: 140px var(--gutter) 40px;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center;
  pointer-events: none;
}
.hero-copy { pointer-events: auto; max-width: 600px; }
.hero-title { font-size: clamp(2.5rem, 5.6vw, 5.2rem); font-weight: 700; line-height: 0.98; letter-spacing: -0.04em; margin: 0 0 1.6rem; }
.hero-title span { display: block; white-space: nowrap; }
.hero-title span + span { color: var(--ocean); }
.hero-sub { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--ink-2); margin: 0 0 2rem; max-width: 46ch; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 2rem; }
.rating { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); flex-wrap: wrap; }
.stars { display: flex; gap: 2px; color: var(--ocean); }
.stars svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.rating b { color: var(--ink); font-weight: 600; }

.stage { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.stage canvas { position: absolute; inset: 0; }
.badge { position: absolute; left: 0; top: 0; width: 290px; transform-origin: 50% 0; will-change: transform; pointer-events: auto; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.badge.is-grabbing { cursor: grabbing; }
.clasp { display: block; width: 44px; height: 66px; margin: 0 auto -22px; position: relative; z-index: 2; }
.card { position: relative; border-radius: 28px; padding: 30px 18px 18px; overflow: hidden; }
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(calc(115deg + var(--swing, 0) * 1deg), rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 0.25) 100%);
}
.slot { position: absolute; top: 12px; left: 50%; width: 52px; height: 10px; margin-left: -26px; border-radius: 6px; background: rgba(11, 17, 26, 0.22); box-shadow: inset 0 1px 2px rgba(11, 17, 26, 0.35); }
.card-top { position: relative; display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ocean); margin-bottom: 12px; }
.photo { position: relative; aspect-ratio: 1 / 1.02; border-radius: 18px; overflow: hidden; background: #b9c5d2; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6); }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; pointer-events: none; }
.card-name { position: relative; font-size: 24px; font-weight: 700; letter-spacing: -0.03em; margin: 16px 0 6px; line-height: 1.15; }
.card-intro { position: relative; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); margin: 0 0 16px; }
.card-foot { position: relative; display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.status { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 3px rgba(47, 211, 160, 0.25); }

.hint {
  position: absolute; z-index: 4; right: max(var(--gutter), calc((100% - 1240px) / 2 + var(--gutter))); top: 96px;
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--ink-2); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.hint svg { width: 16px; height: 16px; }
.hint.is-gone { opacity: 0; transform: translateY(6px); }

.proof { position: relative; z-index: 2; width: min(1100px, calc(100% - 32px)); margin: 0 auto 24px; border-radius: 22px; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 28px; padding: 18px 26px; }
.stats { display: flex; gap: 28px; }
.stat b { display: block; font-size: 22px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.3; }
.stat span { font-size: 12px; color: var(--ink-2); }
.clients { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.clients-track { display: flex; gap: 44px; width: max-content; animation: drift 30s linear infinite; }
.clients-track span { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink-2); white-space: nowrap; }
@keyframes drift { to { transform: translateX(-50%); } }

/* ---------- about: a 20-second mini edit ---------- */
.reel { border-radius: 32px; padding: clamp(10px, 1.6vw, 18px); }
.monitor { position: relative; aspect-ratio: 2.1 / 1; border-radius: 22px; overflow: hidden; background: var(--ink); isolation: isolate; }
.shot { position: absolute; inset: 0; opacity: 0; transition: opacity 0.12s linear; }
.shot.is-on { opacity: 1; }
.shot img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.monitor::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(11, 17, 26, 0.72) 0%, rgba(11, 17, 26, 0.12) 46%, rgba(11, 17, 26, 0.28) 100%); }
.monitor-top { position: absolute; z-index: 2; top: 14px; left: 16px; right: 16px; display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, 0.85); font-variant-numeric: tabular-nums; }
.monitor-top .rec { display: inline-flex; align-items: center; gap: 7px; }
.monitor-top .rec i { width: 7px; height: 7px; border-radius: 50%; background: #FF5A5F; }
.reel.is-playing .monitor-top .rec i { animation: blink 1.4s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.caption {
  position: absolute; z-index: 2; left: 6%; right: 6%; bottom: 9%; margin: 0;
  text-align: center; color: #fff; font-size: clamp(1.45rem, 3.6vw, 3.1rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.12;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35); text-wrap: balance;
}
.caption .w { display: inline-block; animation: word-in 0.45s var(--ease-out) both; animation-delay: calc(var(--i) * 55ms); }
.caption mark { background: var(--aqua); color: var(--ink); padding: 0 0.16em 0.04em; border-radius: 0.14em; text-shadow: none; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
@keyframes word-in { from { opacity: 0; transform: translateY(0.35em) scale(0.96); filter: blur(6px); } }

.transport { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 4px 2px; }
.reel-play { width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--ink); color: #fff; cursor: pointer; transition: background-color 0.2s, transform 0.2s var(--ease-out); }
.reel-play:hover { background: var(--ocean); }
.reel-play:active { transform: scale(0.94); }
.reel-play svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.reel-play .i-play { display: none; }
.reel:not(.is-playing) .reel-play .i-play { display: block; }
.reel:not(.is-playing) .reel-play .i-pause { display: none; }
.track { position: relative; display: flex; gap: 4px; height: 52px; cursor: ew-resize; touch-action: none; border-radius: 12px; }
.track-clip { position: relative; flex: 1; border-radius: 10px; overflow: hidden; background: var(--ocean); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6); transition: box-shadow 0.25s; }
.track-clip img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; pointer-events: none; transition: opacity 0.25s; }
.track-clip span { position: absolute; left: 8px; bottom: 6px; font-size: 11px; font-weight: 700; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5); pointer-events: none; white-space: nowrap; }
.track-clip.is-on { box-shadow: 0 0 0 2px var(--aqua); }
.track-clip.is-on img { opacity: 1; }
.track-head { position: absolute; top: -7px; bottom: -7px; left: 0; width: 2px; margin-left: -1px; background: var(--ink); border-radius: 2px; pointer-events: none; }
.track-head::before { content: ""; position: absolute; top: -4px; left: -5px; width: 12px; height: 10px; border-radius: 3px 3px 6px 6px; background: var(--ink); }
.track-dur { font-size: 13px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* ---------- work ---------- */
.tabs { display: flex; gap: 4px; padding: 5px; border-radius: 999px; width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; margin-bottom: 20px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { border: 0; background: transparent; padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: background-color 0.25s var(--ease-out), color 0.25s, box-shadow 0.25s; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 10px -2px rgba(26, 74, 127, 0.25); }

.panel { border-radius: 32px; padding: clamp(16px, 2.4vw, 28px); }
.panel[hidden] { display: none; }
.panel.is-entering { animation: panel-in 0.5s var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } }
.panel-info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px; align-items: end; padding: 6px 6px 22px; }
.panel-info h3 { margin: 0; font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.panel-info .client { display: block; font-size: 14px; font-weight: 600; color: var(--ocean); margin-top: 4px; letter-spacing: 0; }
.panel-info p { margin: 0; color: var(--ink-2); font-size: 15px; }
.videos { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; gap: 14px; }
.videos .video:first-child { grid-row: span 2; }
.videos-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto; }
.videos-2 .video:first-child { grid-row: auto; }

.video {
  position: relative; display: block; width: 100%; padding: 0; margin: 0; border: 0;
  aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #c3cedb; cursor: pointer; text-align: left;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6), 0 10px 30px -14px rgba(11, 17, 26, 0.45);
}
.videos .video:first-child { aspect-ratio: auto; min-height: 100%; }
.videos-2 .video:first-child { aspect-ratio: 16 / 9; min-height: 0; }
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 17, 26, 0.6), transparent 45%); pointer-events: none; }
.video-play {
  position: absolute; z-index: 2; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink);
  background: rgba(255, 255, 255, 0.55); -webkit-backdrop-filter: blur(12px) saturate(1.6); backdrop-filter: blur(12px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.8); transition: transform 0.4s var(--ease-out), background-color 0.3s;
}
.video-play svg { width: 22px; height: 22px; fill: currentColor; stroke: none; margin-left: 3px; }
.videos .video:not(:first-child) .video-play { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.videos .video:not(:first-child) .video-play svg { width: 17px; height: 17px; }
.video-title { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 12px; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.3; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4); }
.video:hover img { transform: scale(1.04); }
.video:hover .video-play { transform: scale(1.08); background: var(--aqua); border-color: var(--aqua); }
.video.is-playing { cursor: default; }
.video.is-playing::after, .video.is-playing .video-play, .video.is-playing .video-title { display: none; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }

/* ---------- services bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(0, auto); gap: 14px; }
.tile { border-radius: 28px; padding: 26px; display: flex; flex-direction: column; gap: 18px; overflow: hidden; }
.tile h3 { margin: 0 0 6px; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }
.tile p { margin: 0; color: var(--ink-2); font-size: 15px; max-width: 46ch; }
.tile-strategy { grid-column: span 2; }
.tile-retention { grid-row: span 2; }
.viz { border-radius: 18px; background: rgba(255, 255, 255, 0.45); border: 1px solid rgba(255, 255, 255, 0.7); padding: 18px; }

.cutline { position: relative; display: flex; gap: 6px; padding-top: 22px; }
.cut { height: 46px; border-radius: 10px; display: flex; align-items: flex-end; padding: 0 10px 8px; font-size: 12px; font-weight: 600; color: #fff; }
.cut-hook { flex: 1.1; background: var(--ink); }
.cut-story { flex: 2.4; background: var(--ocean); }
.cut-proof { flex: 1.6; background: #3D6EA6; }
.cut-cta { flex: 0.9; background: var(--aqua); color: var(--ink); }
.cutline-ruler { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; font-size: 11px; font-variant-numeric: tabular-nums; color: var(--ink-3); }
.playhead { position: absolute; top: 18px; bottom: -6px; left: 0; width: 2px; background: var(--ink); border-radius: 2px; animation: scrub 7s linear infinite; }
.playhead::before { content: ""; position: absolute; top: -5px; left: -4px; width: 10px; height: 10px; border-radius: 3px; background: var(--ink); }
@keyframes scrub { to { left: 100%; } }

.graph { flex: 1; display: flex; flex-direction: column; min-height: 240px; }
.graph-label { font-size: 12px; font-weight: 600; color: var(--ink-3); margin-bottom: 10px; }
.graph-plot { position: relative; flex: 1; min-height: 150px; }
.graph svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.graph path, .graph line { vector-effect: non-scaling-stroke; }
.graph .axis { stroke: rgba(11, 17, 26, 0.12); stroke-width: 1; }
.graph .typical { stroke: rgba(11, 17, 26, 0.35); stroke-width: 2; stroke-dasharray: 4 5; }
.graph .mine { stroke: var(--ocean); stroke-width: 3.5; clip-path: inset(-10px 100% -10px 0); transition: clip-path 1.8s var(--ease-out); }
.graph.is-drawn .mine { clip-path: inset(-10px -10px -10px 0); }
.graph .end { position: absolute; right: -6px; top: calc(38 / 170 * 100%); width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--aqua); border: 2px solid #fff; opacity: 0; transition: opacity 0.4s 1.5s; }
.graph-axis { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11px; color: var(--ink-3); }
.graph.is-drawn .end { opacity: 1; }
.graph-legend { display: flex; gap: 16px; margin-top: 12px; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.graph-legend span { display: inline-flex; align-items: center; gap: 6px; }
.graph-legend i { width: 14px; height: 3px; border-radius: 2px; background: var(--ocean); }
.graph-legend i.dash { background: repeating-linear-gradient(90deg, rgba(11, 17, 26, 0.4) 0 4px, transparent 4px 7px); }

.compare { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; padding: 0; background: #c3cedb; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .flat { filter: saturate(0.25) contrast(0.78) brightness(1.12); clip-path: inset(0 calc(100% - var(--split, 50%)) 0 0); }
.compare-divider { position: absolute; top: 0; bottom: 0; left: var(--split, 50%); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.compare-divider::after { content: ""; position: absolute; top: 50%; left: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: rgba(255, 255, 255, 0.85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B111A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 18px no-repeat; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25); }
.compare-label { position: absolute; top: 10px; z-index: 1; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: rgba(11, 17, 26, 0.45); padding: 4px 8px; border-radius: 6px; pointer-events: none; }
.compare-label.l { left: 10px; }
.compare-label.r { right: 10px; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare input:focus-visible + .compare-divider::after { outline: 2px solid var(--ocean); outline-offset: 2px; }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checklist li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.55); }
.checklist svg { width: 18px; height: 18px; color: var(--ocean); flex: none; stroke-width: 2.2; }
.checklist li:last-child { background: var(--aqua); color: var(--ink); }
.checklist li:last-child svg { color: var(--ink); }

/* ---------- experience ---------- */
.timeline { border-radius: 32px; padding: 8px clamp(16px, 3vw, 36px); }
.job { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 3.2fr) minmax(0, 4fr); gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); }
.job:first-child { border-top: 0; }
.job-date { font-size: 14px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; padding-top: 4px; }
.job h3 { margin: 0; font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.job-role { margin: 4px 0 10px; font-size: 15px; color: var(--ink-2); }
.niche { display: inline-block; font-size: 12px; font-weight: 600; color: var(--ocean); background: rgba(26, 74, 127, 0.08); border: 1px solid rgba(26, 74, 127, 0.14); padding: 3px 10px; border-radius: 999px; }
.job > p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ---------- contact ---------- */
.contact { padding-bottom: 24px; }
.contact-panel { border-radius: 40px; padding: clamp(32px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: end; }
.contact-title { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 700; line-height: 0.98; letter-spacing: -0.04em; margin: 0 0 1.4rem; text-wrap: balance; }
.contact-title span { color: var(--ocean); }
.contact-panel > div > p { margin: 0 0 2rem; color: var(--ink-2); max-width: 44ch; font-size: 1.1rem; }
.contact-list { display: grid; gap: 10px; }
.contact-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px 16px 14px 20px; border-radius: 18px; background: rgba(255, 255, 255, 0.5); border: 1px solid rgba(255, 255, 255, 0.75); }
.contact-item small { display: block; font-size: 12px; font-weight: 600; color: var(--ink-3); letter-spacing: 0.02em; }
.contact-item a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-item a:hover { color: var(--ocean); text-decoration: underline; }
.copy { border: 1px solid var(--line); background: rgba(255, 255, 255, 0.7); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600; cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.copy:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.copy.is-done { background: var(--aqua); color: var(--ink); border-color: var(--aqua); }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 28px 8px 0; font-size: 13px; color: var(--ink-3); }
.footer a { text-decoration: none; font-weight: 600; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.footer a:hover { color: var(--ocean); }
.footer svg { width: 15px; height: 15px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-strategy { grid-column: span 2; }
  .tile-retention { grid-row: auto; }
  .job { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .job > p { grid-column: 2; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding-top: calc(var(--badge-bottom, 520px) + 76px); align-items: start; }
  .hint { left: 50%; right: auto; transform: translateX(-50%); top: calc(var(--badge-bottom, 520px) + 18px); bottom: auto; }
  .hint.is-gone { transform: translate(-50%, 6px); }
  .proof { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .stats { justify-content: space-between; }
  .section-head, .panel-info, .contact-panel { grid-template-columns: minmax(0, 1fr); }
  .section-head p { justify-self: start; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .badge { width: 220px; }
  .card { border-radius: 24px; padding: 28px 14px 14px; }
  .photo { aspect-ratio: 1 / 0.86; }
  .card-name { font-size: 19px; margin-top: 12px; }
  .card-intro { font-size: 12.5px; margin-bottom: 12px; }
  .monitor { aspect-ratio: 4 / 5; }
  .track { height: 44px; }
  .track-clip span { display: none; }
  .videos, .videos-2 { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
  .videos .video:first-child { grid-row: auto; aspect-ratio: 16 / 9; min-height: 0; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile-strategy { grid-column: auto; }
  .job { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .job > p { grid-column: auto; margin-top: 6px; }
  .contact-panel { border-radius: 28px; }
  .footer { flex-direction: column-reverse; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blob, .clients-track, .playhead { animation: none; }
  .panel.is-entering { animation: none; }
  .graph .mine { transition: none; }
  .caption .w { animation: none; }
}
.caption mark + .w { margin-left: -0.06em; }
