/* self-hosted fonts (no Google Fonts request, works on mainland China networks) */
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/schibsted-grotesk-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/schibsted-grotesk-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("fonts/jetbrains-mono-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("fonts/jetbrains-mono-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #0b0c0e;
  --ink-2: #111316;
  --ink-3: #17191d;
  --line: rgba(236, 232, 224, 0.09);
  --line-2: rgba(236, 232, 224, 0.16);
  --tx: #ece8e0;
  --tx-2: #a9a49a;
  --tx-3: #918c82;
  --cu: #f08a4b;
  --cu-2: #ffb27f;
  --cu-dim: rgba(240, 138, 75, 0.14);
  --ok: #7fcf9a;
  --sans: "Schibsted Grotesk", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --wrap: min(1200px, 100% - 2 * clamp(20px, 4vw, 48px));
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sec: clamp(96px, 13vw, 176px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--tx);
  font: 400 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--cu); color: #1a0d05; }
:focus-visible { outline: 2px solid var(--cu); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: #2b2e33 var(--ink); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #2b2e33; border-radius: 10px; border: 2px solid var(--ink); }
::-webkit-scrollbar-thumb:hover { background: #3a3e44; }

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: var(--wrap); margin-inline: auto; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--cu); color: #1a0d05; padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

.i { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i-lg { width: 22px; height: 22px; }

/* buttons & links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  background: var(--cu); color: #1c0e05;
  font: 600 16px/1 var(--sans); cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 8px 20px -10px rgba(0, 0, 0, 0.6);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn:hover { background: var(--cu-2); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 14px 28px -12px rgba(0,0,0,.7); }
.btn:active { transform: translateY(0); }
.btn .i { transition: transform 0.3s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-full { width: 100%; }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--tx); font-weight: 500;
  text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 6px; text-decoration-thickness: 1px;
  transition: text-decoration-color 0.3s var(--ease), color 0.3s;
}
.link::after { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 11 11 5M6 5h5v5'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 11 11 5M6 5h5v5'/%3E%3C/svg%3E") center/contain no-repeat; transition: transform .3s var(--ease); }
.link:hover { text-decoration-color: var(--cu); color: #fff; }
.link:hover::after { transform: translate(2px, -2px); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s var(--ease), border-color .4s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(11, 12, 14, 0.78); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: 0.02em; }
.logo svg { color: var(--cu); }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 14px; color: var(--tx-2); }
.nav-links a { transition: color .25s; }
.nav-links a:hover, .nav-links a.is-active { color: var(--tx); }

/* hero */
.hero { position: relative; padding-top: clamp(128px, 17vh, 176px); overflow: clip; }

.hero-copy { position: relative; display: grid; grid-template-columns: auto minmax(300px, 1fr); gap: 48px; align-items: end; }
.hero-title { font-size: clamp(40px, 5.6vw, 84px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 600; }
.hero-title span { color: var(--cu); }
.hero-title .ln { display: block; white-space: nowrap; color: inherit; }
.hero-side { display: grid; gap: 32px; padding-bottom: 10px; }
.hero-lead { font-size: 17px; color: var(--tx-2); max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }

/* workbench stage */
.stage { position: relative; margin-top: clamp(56px, 8vh, 88px); padding-bottom: clamp(64px, 9vw, 120px); perspective: 1800px; }
.stage::before {
  content: ""; position: absolute; left: 50%; top: -10%; width: 70%; height: 70%; translate: -50% 0;
  background: radial-gradient(closest-side, rgba(240, 138, 75, 0.22), transparent);
  filter: blur(30px); pointer-events: none;
}
.wb {
  position: relative; border-radius: 16px; background: var(--ink-2);
  border: 1px solid var(--line-2);
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 40px 80px -30px rgba(0,0,0,.8), 0 20px 40px -20px rgba(0,0,0,.6);
  transform-origin: 50% 0;
  transform: rotateX(var(--tilt, 14deg)) scale(var(--tscale, .96));
  transition: transform .2s linear;
  overflow: hidden;
}
.wb-bar { display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--ink-3); font-size: 13px; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #2b2e33; }
.wb-title { color: var(--tx-2); }
.wb-flag { margin-left: auto; font-size: 12px; color: var(--tx-3); border: 1px solid var(--line-2); padding: 2px 10px; border-radius: 999px; }
.wb-body { display: grid; grid-template-columns: 248px 1fr; height: clamp(440px, 52vw, 560px); }
.wb-side { border-right: 1px solid var(--line); padding: 18px 12px; display: flex; flex-direction: column; gap: 10px; background: #0e1013; }
.wb-side-h { font-size: 12px; color: var(--tx-3); padding: 0 8px; margin-top: 6px; }
.wb-agents { display: grid; gap: 2px; }
.wb-agents button {
  width: 100%; display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 9px 8px; border-radius: 10px; border: 0; background: transparent; color: var(--tx-2);
  font: inherit; cursor: pointer; transition: background .25s, color .25s;
}
.wb-agents button:hover { background: rgba(255,255,255,.035); color: var(--tx); }
.wb-agents button[aria-selected="true"] { background: rgba(255,255,255,.06); color: var(--tx); }
.wb-agents b { display: block; font-size: 14px; font-weight: 500; line-height: 1.3; }
.wb-agents em { display: block; font-style: normal; font-size: 12px; color: var(--tx-3); line-height: 1.4; }
.av { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: 13px; font-weight: 600; flex: none; }
.av-a { background: var(--cu-dim); color: var(--cu-2); }
.av-b { background: rgba(127, 207, 154, .12); color: var(--ok); }
.av-c { background: rgba(150, 170, 235, .12); color: #aab8ef; }
.wb-kb { display: grid; gap: 2px; font-size: 13px; color: var(--tx-3); }
.wb-kb li { padding: 5px 8px; display: flex; align-items: center; gap: 10px; }
.wb-kb li::before { content: ""; width: 12px; height: 14px; border: 1.4px solid currentColor; border-radius: 2px; opacity: .7; }

.wb-main { display: flex; flex-direction: column; min-width: 0; }
.wb-thread { flex: 1; overflow: hidden; padding: 26px clamp(18px, 3vw, 40px) 12px; display: flex; flex-direction: column; gap: 16px; }
.msg-user { align-self: flex-end; max-width: 78%; background: var(--ink-3); border: 1px solid var(--line); padding: 11px 16px; border-radius: 14px 14px 4px 14px; font-size: 15px; }
.msg-user .caret { display: inline-block; width: 1.5px; height: 1em; background: var(--cu); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.agent { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.agent-body { display: grid; gap: 10px; min-width: 0; }
.agent-name { font-size: 13px; color: var(--tx-3); line-height: 30px; }
.steps-log { display: grid; gap: 7px; font: 400 14px/1.5 var(--sans); color: var(--tx-2); }
.steps-log li { display: flex; gap: 10px; align-items: baseline; opacity: 0; transform: translateY(4px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.steps-log li.in { opacity: 1; transform: none; }
.steps-log .st { width: 14px; flex: none; display: inline-grid; place-items: center; translate: 0 2px; }
.steps-log .spin { width: 11px; height: 11px; border: 1.5px solid var(--line-2); border-top-color: var(--cu); border-radius: 50%; animation: spin .8s linear infinite; }
.steps-log .done { color: var(--ok); }
.steps-log b { color: var(--tx); font-weight: 500; }
@keyframes spin { to { transform: rotate(360deg); } }
.result {
  border: 1px solid var(--line-2); border-radius: 12px; background: var(--ink-3); padding: 16px 18px;
  display: grid; gap: 12px; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.result.in { opacity: 1; transform: none; }
.result h4 { margin: 0; font-size: 15px; font-weight: 600; }
.result ul { display: grid; gap: 4px; font-size: 14px; color: var(--tx-2); }
.result li { display: flex; gap: 10px; }
.result li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--cu); margin-top: 11px; flex: none; }
.confirm { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--tx-2); }
.confirm .who { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; }
.confirm .who::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cu); }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(240,138,75,0); } }
.confirm .ghost, .confirm .solid { height: 30px; padding: 0 14px; border-radius: 8px; font: 500 13px/1 var(--sans); display: inline-grid; place-items: center; }
.confirm .ghost { border: 1px solid var(--line-2); color: var(--tx-2); }
.confirm .solid { background: var(--tx); color: var(--ink); }
.wb-input { margin: 0 clamp(18px, 3vw, 40px) 20px; border: 1px solid var(--line-2); border-radius: 12px; height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 8px 0 16px; color: var(--tx-3); font-size: 14px; background: #0e1013; }
.wb-input kbd { font: 12px var(--mono); border: 1px solid var(--line-2); border-radius: 6px; padding: 2px 8px; color: var(--tx-3); }
.wb-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: transparent; }
.wb-progress i { display: block; height: 100%; width: 0; background: var(--cu); opacity: .7; }

/* sections */
.sec-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head h2, .bridge h2, .faq h2, .about h2, .contact h2, .brands h2, .svc-sticky h2 { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.15; letter-spacing: -0.03em; }
.sec-head p { color: var(--tx-2); max-width: 28em; }

/* bridge */
.bridge { padding: clamp(40px, 6vw, 80px) 0 var(--sec); border-bottom: 1px solid var(--line); }
.bridge-grid { display: grid; grid-template-columns: 1.15fr minmax(260px, 380px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.bridge-text { display: grid; gap: 18px; }
.bridge-text p { color: var(--tx-2); max-width: 22em; }
.bridge h2 { font-size: clamp(30px, 3.4vw, 48px); }
.bridge h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.35; font-weight: 500; }
.bridge-right { justify-items: start; }
.tri-svg { width: 100%; height: auto; overflow: visible; }
.tri-edge { stroke: url(#edge); stroke-width: 1.5; fill: none; stroke-dasharray: 4 6; }
.pulse { fill: var(--cu-2); }
.node circle { fill: var(--ink-3); stroke: var(--line-2); stroke-width: 1; }
.node text, .core-t { fill: var(--tx); font: 600 18px var(--sans); text-anchor: middle; }
.node-ai circle { stroke: var(--cu); }
.node-ai text { fill: var(--cu-2); }
.core { fill: var(--cu-dim); stroke: rgba(240,138,75,.4); stroke-dasharray: 2 4; }
.core-t { font-size: 15px; fill: var(--cu-2); }

/* value */
.value { padding: var(--sec) 0; }
.value-list { border-top: 1px solid var(--line); }
.value-row {
  display: grid; grid-template-columns: 220px 1.1fr 1fr 120px; gap: 32px; align-items: center;
  padding: clamp(28px, 3.4vw, 44px) 0; border-bottom: 1px solid var(--line);
  transition: background .4s var(--ease);
}
.value-tag { font-size: 14px; color: var(--cu-2); }
.value-row h3 { font-size: clamp(22px, 2.4vw, 32px); line-height: 1.3; font-weight: 500; }
.value-row > p:not(.value-tag) { color: var(--tx-2); max-width: 26em; }
.value-ill { width: 120px; height: 64px; fill: none; stroke: var(--tx-3); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.value-ill .hl { stroke: var(--cu); fill: var(--cu-dim); transition: fill .4s; }
.value-row:hover .value-ill .hl { fill: rgba(240,138,75,.3); }

/* services */
.services { padding: var(--sec) 0; background: linear-gradient(var(--ink), #0d0f12 20%, #0d0f12 80%, var(--ink)); border-block: 1px solid var(--line); }
.svc-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); }
.svc-sticky { position: sticky; top: 120px; align-self: start; display: grid; gap: 24px; }
.svc-sticky > p { color: var(--tx-2); max-width: 24em; }
.svc-rail { margin-top: 16px; display: grid; gap: 0; border-left: 1px solid var(--line-2); }
.svc-rail li { padding: 10px 0 10px 20px; color: var(--tx-3); position: relative; transition: color .4s; font-size: 15px; }
.svc-rail li::before { content: ""; position: absolute; left: -1px; top: 8px; bottom: 8px; width: 2px; background: var(--cu); transform: scaleY(0); transition: transform .5s var(--ease); }
.svc-rail li.on { color: var(--tx); }
.svc-rail li.on::before { transform: scaleY(1); }
.svc-list { display: grid; gap: clamp(72px, 10vw, 140px); }
.svc { display: grid; gap: 18px; }
.svc-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.svc h3 { font-size: clamp(26px, 2.8vw, 36px); }
.svc-tags { font-size: 14px; color: var(--tx-3); }
.svc-lead { font-size: 20px; font-weight: 500; }
.svc > p:not(.svc-lead) { color: var(--tx-2); }
.svc .link { justify-self: start; margin-top: 6px; }
.art { margin: 10px 0 0; border: 1px solid var(--line-2); border-radius: 14px; background: var(--ink-2); padding: 18px 20px 20px; box-shadow: 0 24px 48px -28px rgba(0,0,0,.8); }
.art figcaption { display: flex; justify-content: space-between; font-size: 13px; color: var(--tx-2); margin-bottom: 14px; }
.art figcaption span { color: var(--tx-3); font-size: 12px; }
.art-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.art-table th { text-align: left; font-weight: 400; color: var(--tx-3); font-size: 12px; padding: 0 0 8px; border-bottom: 1px solid var(--line); }
.art-table td { padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--tx-2); }
.art-table tr:last-child td { border-bottom: 0; }
.art-table td:first-child { color: var(--tx); }
.pill { display: inline-block; font-size: 12px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--tx-2); white-space: nowrap; }
.pill-on { border-color: rgba(240,138,75,.5); background: var(--cu-dim); color: var(--cu-2); }
.pill-off { color: var(--tx-3); border-style: dashed; }
.roles { display: grid; gap: 10px; }
.role { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: var(--ink-3); }
.role b { font-weight: 500; font-size: 14px; width: 64px; }
.role span { font-size: 13px; padding: 4px 10px; border-radius: 7px; border: 1px solid var(--line-2); color: var(--tx-2); }
.roles-foot { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--tx-3); }
.log { position: relative; display: grid; gap: 14px; padding-left: 22px; }
.log::before { content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 1px; background: var(--line-2); }
.log li { position: relative; display: grid; grid-template-columns: 70px 1fr; gap: 12px; font-size: 14px; color: var(--tx-2); }
.log li::before { content: ""; position: absolute; left: -22px; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--ink-2); border: 1.5px solid var(--tx-3); }
.log time { font: 12px/2 var(--mono); color: var(--tx-3); }
.log-now::before { border-color: var(--cu) !important; background: var(--cu) !important; }
.log-now span { color: var(--tx); }

/* cases */
.cases { padding: var(--sec) 0; }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.case {
  position: relative; display: grid; gap: 28px; padding: clamp(28px, 3.4vw, 44px);
  border: 1px solid var(--line-2); border-radius: 18px; background: var(--ink-2); overflow: hidden;
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.case::after { content: ""; position: absolute; inset: auto -20% -60% auto; width: 70%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(240,138,75,.18), transparent); opacity: 0; transition: opacity .5s var(--ease); pointer-events: none; }
.case:hover { border-color: rgba(240,138,75,.45); transform: translateY(-3px); }
.case:hover::after { opacity: 1; }
.case-head { display: flex; justify-content: space-between; align-items: center; }
.case h3 { font-size: clamp(24px, 2.6vw, 34px); }
.case-head .i { color: var(--tx-2); transition: transform .4s var(--ease), color .3s; }
.case:hover .case-head .i { color: var(--cu); transform: translate(3px, -3px); }
.case-scenes { display: flex; flex-wrap: wrap; gap: 8px; }
.case-scenes li { font-size: 14px; padding: 6px 14px; border-radius: 999px; background: var(--ink-3); border: 1px solid var(--line); color: var(--tx-2); }
.case-note { font-size: 12px; color: var(--tx-3); }
.case-desc { color: var(--tx-2); margin-top: -12px; }
.case-shot { border-radius: 10px; overflow: hidden; border: 1px solid var(--line-2); background: #f3f3f1; aspect-ratio: 16 / 9; }
.case-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .8s var(--ease); }
.case:hover .case-shot img { transform: scale(1.03); }
.cases-more { margin-top: 24px; color: var(--tx-3); font-size: 14px; }

/* brands */
.brands { padding: 0 0 var(--sec); }
.brands-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.brands-head p { color: var(--tx-2); max-width: 26em; }

/* process */
.process { padding: var(--sec) 0; border-top: 1px solid var(--line); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 36px; }
.steps::before, .steps::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; }
.steps::before { right: 0; background: var(--line-2); height: 1px; }
.steps::after { width: 100%; background: var(--cu); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .1s linear; }
.steps li { display: grid; gap: 10px; position: relative; }
.steps li::before { content: ""; position: absolute; top: -41px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); border: 1.5px solid var(--tx-3); transition: border-color .4s, background .4s; }
.steps li.on::before { border-color: var(--cu); background: var(--cu); }
.step-n { font: 500 13px var(--mono); color: var(--tx-3); }
.steps li.on .step-n { color: var(--cu-2); }
.steps h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 500; }
.steps p { color: var(--tx-2); }

/* faq */
.faq { padding: var(--sec) 0; border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-list { 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; align-items: center; gap: 24px;
  padding: 24px 0; font-size: 18px; font-weight: 500; transition: color .25s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 14px; height: 14px; flex: none; background: linear-gradient(currentColor, currentColor) center/14px 1.6px no-repeat, linear-gradient(currentColor, currentColor) center/1.6px 14px no-repeat; color: var(--tx-3); transition: transform .4s var(--ease), color .25s; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--cu); }
.faq summary:hover { color: #fff; }
.faq details p { color: var(--tx-2); padding: 0 48px 26px 0; max-width: 40em; }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

/* about */
.about { padding: var(--sec) 0; border-top: 1px solid var(--line); }
.about-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px; }

/* contact */
.contact { padding: var(--sec) 0; position: relative; border-top: 1px solid var(--line); overflow: clip; }
.contact::before { content: ""; position: absolute; left: -10%; bottom: -40%; width: 60%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(240,138,75,.13), transparent); pointer-events: none; }
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-copy { display: grid; gap: 24px; position: sticky; top: 120px; }
.contact-copy > p { color: var(--tx-2); max-width: 26em; }
.contact-copy .contact-note .i { margin-top: 4px; }
.contact-copy .contact-note { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--tx-3); }

.brief { display: grid; gap: 26px; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line-2); border-radius: 18px; background: var(--ink-2); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.field { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: 15px; font-weight: 500; padding: 0; }
.field label span, .field legend span { color: var(--tx-3); font-weight: 400; font-size: 13px; margin-left: 6px; }
.field legend { margin-bottom: 10px; }
.field input[type="text"], .field textarea {
  width: 100%; background: var(--ink); border: 1px solid var(--line-2); border-radius: 10px; color: var(--tx);
  font: 15px/1.6 var(--sans); padding: 12px 14px; caret-color: var(--cu); resize: vertical;
  transition: border-color .25s, box-shadow .25s;
}
.field input::placeholder, .field textarea::placeholder { color: #8c877e; }
.field input:hover, .field textarea:hover { border-color: rgba(236,232,224,.26); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cu); background: #0f1013; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--tx-2); transition: all .25s var(--ease); }
.chips span::before { content: ""; width: 12px; height: 12px; border-radius: 4px; border: 1.4px solid currentColor; transition: all .25s; }
.chips label:hover span { border-color: rgba(236,232,224,.3); color: var(--tx); }
.chips input:checked + span { border-color: var(--cu); background: var(--cu-dim); color: var(--tx); }
.chips input:checked + span::before { background: var(--cu) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%231c0e05' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6.2 5 8l4-4.5'/%3E%3C/svg%3E") center/10px no-repeat; border-color: var(--cu); }
.chips input:focus-visible + span { outline: 2px solid var(--cu); outline-offset: 2px; }
.err { color: #ff9a8a; font-size: 13px; }
.brief.has-err .chips span { border-color: rgba(255,154,138,.5); }

.outline { display: grid; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); animation: rise .6s var(--ease); }
.outline:focus { outline: none; }
.outline-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.outline-head h3 { font-size: 20px; }
.outline-badge { font-size: 12px; color: var(--ok); border: 1px solid rgba(127,207,154,.35); padding: 3px 10px; border-radius: 999px; }
.outline pre { margin: 0; white-space: pre-wrap; font: 14px/1.8 var(--sans); color: var(--tx-2); background: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; max-height: 340px; overflow: auto; }
.outline-actions { display: flex; align-items: center; gap: 20px; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 13px; color: var(--tx-3); }
.foot-inner { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; }
.foot-inner > span:last-child { margin-left: auto; }
.logo-sm { font-size: 14px; color: var(--tx-2); gap: 8px; }

/* reveal: content visible by default; JS opts in */
.js .rv { opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; filter: none; }

/* responsive */
@media (max-width: 1080px) {
  .value-row { grid-template-columns: 180px 1fr 1fr; }
  .value-ill { display: none; }
  .bridge-grid { grid-template-columns: 1fr 1fr; }
  .tri { grid-column: 1 / -1; grid-row: 1; max-width: 380px; justify-self: center; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-inner .btn { margin-left: auto; }
  .hero-copy, .sec-head, .brands-head, .svc-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .svc-sticky, .contact-copy { position: static; }
  .svc-rail { display: none; }
  .wb-body { grid-template-columns: 1fr; grid-template-rows: auto 1fr; height: 640px; }
  .wb-side { display: block; border-right: 0; border-bottom: 1px solid var(--line); padding: 8px; }
  .wb-side-h, .wb-kb { display: none; }
  .wb-agents { grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .wb-agents button { flex-direction: column; justify-content: center; gap: 6px; padding: 10px 4px 9px; text-align: center; min-height: 64px; position: relative; }
  .wb-agents button[aria-selected="true"]::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 0; height: 2px; border-radius: 2px; background: var(--cu); }
  .wb-agents .av { width: 26px; height: 26px; font-size: 12px; }
  .wb-agents b { font-size: 13px; }
  .wb-agents em { display: none; }
  .wb-main, .wb-thread { min-height: 0; }
  .wb { transform: none !important; }
  .case-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .steps::before, .steps::after { display: none; }
  .steps li::before { display: none; }
  .value-row { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 600px) {
  .bridge-grid { grid-template-columns: 1fr; }
  .wb-flag { display: none; }
  .wb-body { height: 740px; }
  .msg-user { max-width: 92%; }
  .steps { grid-template-columns: 1fr; row-gap: 32px; }
  .foot-inner > span:last-child { margin-left: 0; }
  .faq details p { padding-right: 0; }
  .hero-actions { gap: 20px; }
}

@media (max-width: 400px) {
  .hero-title { font-size: 10vw; }
  .wb-body { height: 760px; }
  .wb-agents b { font-size: 12px; white-space: nowrap; letter-spacing: -.01em; }
  .wb-thread { padding-inline: 14px; }
  .wb-input { margin-inline: 14px; }
}
@media (max-width: 360px) { .wb-body { height: 810px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .rv { opacity: 1; transform: none; filter: none; }
  .wb { transform: none; }
  /* demo still reveals step by step, as a fade only */
  .steps-log li, .result { transform: none !important; transition: opacity .4s ease !important; }
}

/* =========================================================
   Sub pages (cases.html, about.html)
   ========================================================= */
.nav-links a[aria-current="page"] { color: var(--tx); }
.crumbs { display: flex; gap: 10px; font-size: 13px; color: var(--tx-3); margin-bottom: 40px; }
.crumbs a { color: var(--tx-2); transition: color .25s; }
.crumbs a:hover { color: var(--tx); }

.page-hero { position: relative; padding: clamp(128px, 16vh, 168px) 0 clamp(64px, 8vw, 104px); overflow: clip; }
.page-hero::after { content: ""; position: absolute; right: -10%; top: -30%; width: 55%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(240,138,75,.12), transparent); pointer-events: none; }
.page-hero h1 { font-size: clamp(40px, 5.6vw, 80px); line-height: 1.1; letter-spacing: -0.035em; max-width: 14em; }
.page-hero h1 .ln { display: block; }
.page-hero .lead { margin-top: 28px; font-size: 17px; color: var(--tx-2); max-width: 32em; }
.jump { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 40px; }
.jump a { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 15px; transition: border-color .3s var(--ease), background .3s var(--ease); }
.jump a:hover { border-color: var(--cu); background: var(--cu-dim); }
.jump a .i { transform: rotate(90deg); color: var(--tx-3); }
.jump .tag { font-size: 13px; color: var(--tx-3); margin-left: 8px; }

/* industry block */
.ind { padding: var(--sec) 0; border-top: 1px solid var(--line); }
.ind-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.ind-head h2 { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.15; letter-spacing: -0.03em; }
.ind-name { grid-column: 1 / -1; font-size: 15px; color: var(--cu-2); }
.ind-head p { color: var(--tx-2); max-width: 28em; }
.mods { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.mods li { font-size: 13px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--tx-2); }

.viewer { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: var(--ink-2); box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); }
.viewer-bar { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--ink-3); font-size: 13px; color: var(--tx-2); }
.viewer-bar .viewer-cap { color: var(--tx); }
.viewer-bar .flag { margin-left: auto; font-size: 12px; color: var(--tx-3); }
.viewer-shot { position: relative; aspect-ratio: 16 / 9; background: #f3f3f1; }
.viewer-shot img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s var(--ease), filter .35s var(--ease); }
.viewer-shot img.swap { opacity: 0; filter: blur(6px); }
.zoom { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 10px; border: 0; background: rgba(11,12,14,.86); color: var(--tx); font: 500 13px var(--sans); cursor: zoom-in; box-shadow: 0 8px 20px -8px rgba(0,0,0,.6); transition: background .25s; }
.zoom:hover { background: var(--ink); }

.thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.thumbs button { display: grid; gap: 10px; align-content: start; text-align: left; padding: 10px 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--tx-2); font: inherit; cursor: pointer; transition: border-color .3s var(--ease), background .3s var(--ease), color .3s; }
.thumbs button:hover { border-color: var(--line-2); background: var(--ink-2); color: var(--tx); }
.thumbs button[aria-pressed="true"] { border-color: rgba(240,138,75,.55); background: var(--ink-2); color: var(--tx); }
.thumbs img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: #f3f3f1; opacity: .75; transition: opacity .3s; }
.thumbs button:hover img, .thumbs button[aria-pressed="true"] img { opacity: 1; }
.thumbs b { font-size: 14px; font-weight: 500; line-height: 1.4; }
.thumbs span { font-size: 12px; color: var(--tx-3); line-height: 1.5; }
.ind-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; margin-top: 28px; }
.ind-foot p { font-size: 13px; color: var(--tx-3); }

#lightbox { padding: 0; border: 0; background: transparent; max-width: min(1400px, 94vw); width: 100%; color: var(--tx); }
#lightbox::backdrop { background: rgba(5,6,7,.88); backdrop-filter: blur(6px); }
#lightbox[open] { animation: rise .4s var(--ease); }
#lightbox figure { margin: 0; display: grid; gap: 12px; }
#lightbox img { width: 100%; height: auto; max-height: 82vh; object-fit: contain; border-radius: 12px; background: #f3f3f1; }
#lightbox figcaption { font-size: 14px; color: var(--tx-2); }
.lb-close { position: absolute; right: 0; top: -52px; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--ink-2); color: var(--tx); font: 500 14px var(--sans); cursor: pointer; }
#lightbox { overflow: visible; margin-top: 12vh; }

.more { padding: var(--sec) 0; border-top: 1px solid var(--line); }
.more .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 64px; align-items: end; }
.more h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.2; letter-spacing: -0.03em; }
.more p { color: var(--tx-2); }
.more .link { margin-top: 20px; }
.more-list { display: flex; flex-wrap: wrap; gap: 8px; grid-column: 1 / -1; margin-top: 24px; }
.more-list li { padding: 18px 24px; border-radius: 14px; border: 1px dashed var(--line-2); font-size: 17px; color: var(--tx-2); flex: 1 1 200px; }

.closing { position: relative; padding: var(--sec) 0; border-top: 1px solid var(--line); overflow: clip; text-align: center; }
.closing::before { content: ""; position: absolute; left: 50%; bottom: -60%; translate: -50% 0; width: 70%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(240,138,75,.14), transparent); pointer-events: none; }
.closing .wrap { position: relative; display: grid; justify-items: center; gap: 24px; }
.closing h2 { font-size: clamp(32px, 4.6vw, 64px); line-height: 1.15; letter-spacing: -0.03em; max-width: 14em; }
.closing p { color: var(--tx-2); }
.closing .btn { margin-top: 8px; }

/* about */
.about-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.about-split h2 { font-size: clamp(30px, 3.8vw, 52px); line-height: 1.18; letter-spacing: -0.03em; }
.about-body { display: grid; gap: 22px; font-size: 17px; color: var(--tx-2); }
.about-body p:first-child { color: var(--tx); font-size: 19px; line-height: 1.75; }
.chain { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; }
.chain li { padding: 18px 20px; display: grid; gap: 4px; border-right: 1px solid var(--line); }
.chain li:last-child { border-right: 0; }
.chain b { color: var(--tx); font-weight: 500; font-size: 16px; }
.chain span { font-size: 13px; color: var(--tx-3); }

.team { padding: var(--sec) 0; border-top: 1px solid var(--line); }
.team-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.team-head h2 { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.15; letter-spacing: -0.03em; }
.team-head p { color: var(--tx-2); }
.members { border-top: 1px solid var(--line); }
.member { display: grid; grid-template-columns: minmax(220px, .8fr) 1.4fr minmax(180px, .7fr); gap: 24px 48px; padding: clamp(32px, 4vw, 52px) 0; border-bottom: 1px solid var(--line); }
.who-id { display: grid; grid-template-columns: 56px 1fr; gap: 4px 18px; align-items: center; align-self: start; }
.mono { grid-row: span 2; width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; font-weight: 600; background: var(--ink-3); border: 1px solid var(--line-2); color: var(--tx); }
.member:nth-child(1) .mono { color: var(--cu-2); border-color: rgba(240,138,75,.35); }
.who-id h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; }
.who-id .who-role { font-size: 14px; color: var(--cu-2); }
.bio { display: grid; gap: 14px; color: var(--tx-2); max-width: 36em; }
.bio p:first-child { color: var(--tx); }
.skills { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.skills li { font-size: 13px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--tx-2); }

@media (max-width: 1080px) {
  .thumbs { grid-template-columns: repeat(5, minmax(150px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .thumbs button { scroll-snap-align: start; }
  .member { grid-template-columns: 1fr 1.4fr; }
  .skills { grid-column: 2; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 900px) {
  .ind-head, .more .wrap, .about-split, .team-head { grid-template-columns: 1fr; }
  .member { grid-template-columns: 1fr; }
  .skills { grid-column: auto; }
  .chain { grid-template-columns: 1fr; }
  .chain li { border-right: 0; border-bottom: 1px solid var(--line); }
  .chain li:last-child { border-bottom: 0; }
  .viewer-bar .flag { display: none; }
}
@media (max-width: 600px) {
  .zoom { right: 10px; bottom: 10px; height: 34px; }
  .page-hero h1 .ln { display: inline; }
}

/* ---------- polish ---------- */
p { text-wrap: pretty; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; background: transparent; cursor: pointer; position: relative; flex: none; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: var(--tx); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.m-menu { border-top: 1px solid var(--line); background: rgba(11,12,14,.97); padding: 12px 0 24px; animation: rise .35s var(--ease); }
.m-menu ul { display: grid; }
.m-menu li a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.m-menu li a[aria-current="page"] { color: var(--cu-2); }
.m-menu-cta { margin-top: 20px; }
.nav.menu-open { background: rgba(11,12,14,.97); border-color: var(--line); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-links a { color: var(--tx-2); transition: color .25s; }
.foot-links a:hover { color: var(--tx); }
.err-page { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px 24px; }
.err-page .wrap { display: grid; justify-items: center; gap: 20px; }
.err-page h1 { font-size: clamp(36px, 5vw, 64px); }
.err-page p { color: var(--tx-2); }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-inner > .btn { display: none; }
  .nav-inner { justify-content: space-between; }
}
@media (min-width: 901px) { .m-menu { display: none !important; } }

/* mobile nav: keep the primary CTA one tap away beside the menu toggle */
.nav-inner > .btn { gap: 0; }
@media (max-width: 900px) {
  .nav-inner { gap: 10px; }
  .nav-inner > .btn { display: inline-flex; margin-left: auto; height: 40px; padding: 0 14px; white-space: nowrap; }
  .nav.menu-open .nav-inner > .btn { visibility: hidden; }
}
@media (max-width: 359px) {
  .cta-mid { display: none; }
}

/* brand marquee: partner logos on a slow, draggable loop */
.brands-head { margin-bottom: clamp(40px, 5vw, 64px); }
.brand-marquee { position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brand-marquee::before, .brand-marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; z-index: 2; width: clamp(48px, 9vw, 160px); pointer-events: none;
}
.brand-marquee::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.brand-marquee::after { right: 0; background: linear-gradient(-90deg, var(--ink), transparent); }
.bm-window { overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; outline-offset: -3px; }
.bm-window.dragging { cursor: grabbing; }
.bm-track { display: flex; width: max-content; will-change: transform; }
.bm-group { display: flex; }
.bm-item {
  position: relative; flex: none; display: grid; place-items: center;
  width: clamp(220px, 19vw, 280px); height: clamp(180px, 15vw, 220px); padding: 28px 28px 52px;
  border-right: 1px solid var(--line); transition: background .5s var(--ease);
}
.bm-item:hover { background: var(--ink-2); }
.bm-item img {
  height: var(--h); width: auto; max-width: 78%; object-fit: contain; pointer-events: none;
  filter: brightness(0) invert(1); opacity: .56; transition: opacity .5s var(--ease), transform .8s var(--ease);
}
.bm-item img.howgo { filter: grayscale(1) invert(1) brightness(1.7); border-radius: 12px; }
.bm-item:hover img { opacity: 1; transform: scale(1.045); }
.bm-name { position: absolute; left: 28px; bottom: 22px; font-size: 12px; letter-spacing: .02em; color: var(--tx-3); transition: color .4s var(--ease); }
.bm-item:hover .bm-name { color: var(--tx-2); }
@media (max-width: 900px) {
  .bm-item { width: 180px; height: 156px; padding: 22px 18px 44px; }
  .bm-item img { height: calc(var(--h) * .8); max-width: 84%; }
  .bm-name { left: 18px; bottom: 16px; }
}
