/* Cohesive service scenes. Max's visual references, 04.11.2026. */
.home-solutions { color:var(--ui-text,#f2f2f2); font-family:var(--body); }
.home-solutions :where(h2,h3,p) { margin:0; }
.solutions-chapter { border-block:1px solid #303030; padding-block:64px; }
.services-heading { margin-bottom:36px; }
.services-heading h2 { font:400 var(--section-title,56px)/1.12 var(--body); letter-spacing:-.035em; }
.services-heading h2>span { font-family:var(--serif); font-size:1.1em; font-weight:400; letter-spacing:-.02em; }
.services-grid { position:relative; display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:16px; }
.service-card { position:relative; display:flex; flex-direction:column; grid-column:span 4; min-width:0; min-height:412px; background:#101010; border:1px solid #30353a; border-radius:10px; isolation:isolate; overflow:hidden; scroll-margin-top:112px; transition:border-color 180ms ease-out; }
.service-card--dialogue { grid-column:span 6; }
.service-card--knowledge,.service-card--automation { grid-column:span 3; }
.service-anchor { position:absolute; top:0; left:0; width:1px; height:1px; pointer-events:none; scroll-margin-top:112px; }
.service-visual { position:absolute; inset:0; overflow:hidden; pointer-events:none; }
.service-visual::before { content:''; position:absolute; inset:0; background:radial-gradient(ellipse at 50% 12%,#93b2d00e,transparent 68%); }
.service-visual::after { content:''; position:absolute; inset:0; z-index:1; background:linear-gradient(180deg,transparent 25%,#10101012 39%,#101010d9 57%,#101010 68%),linear-gradient(#21354a12,#21354a12); }
.service-scene { position:absolute; top:20px; left:50%; transform:translateX(-50%); width:calc(100% - 40px); max-width:360px; height:254px; }
.service-copy { z-index:2; margin-top:auto; padding:24px 26px 28px; min-height:192px; }
.service-copy :is(h2,h3) { color:#f2f2f2; font:400 clamp(22px,1.7vw,26px)/1.22 var(--body); letter-spacing:-.025em; text-wrap:pretty; }
.service-copy :is(h2,h3)>a { display:block; color:inherit; text-decoration:none; }
.service-copy :is(h2,h3)>a::after { content:''; position:absolute; inset:0; z-index:3; border-radius:10px; }
.service-arrow { position:absolute; top:18px; right:18px; width:24px; height:24px; color:#9bb0c2; display:grid; place-items:center; }
.service-arrow svg { width:18px; height:18px; }
.service-copy p { margin-top:12px; max-width:51ch; font:400 16px/1.55 var(--body); color:#bfc2c5; text-wrap:pretty; }
.service-card:focus-within { outline:2px solid #afc6db; outline-offset:4px; }
.service-copy :is(h2,h3)>a:focus-visible { outline:none; }
.services-footer { display:flex; justify-content:space-between; align-items:center; gap:24px; padding-top:24px; }
.services-replay { display:inline-flex; align-items:center; gap:10px; min-height:44px; padding:8px 0; border:0; background:transparent; color:#a3a3a3; cursor:pointer; font:400 14px/22px var(--body); }
.services-replay[hidden] { display:none; }
.services-contact { display:inline-flex; align-items:center; gap:20px; min-height:44px; margin-left:auto; color:#ededed; font:400 16px/24px var(--body); text-decoration:none; }
.services-contact svg,.services-replay svg { width:18px; height:18px; flex:none; }
.services-replay:focus-visible,.services-contact:focus-visible { outline:2px solid #a8bfd7; outline-offset:4px; border-radius:3px; }

/* A material chat surface. Copy and controls are illustration only. */
.scene-dialogue { top:26px; width:calc(100% - 64px); max-width:458px; }
.assistant-window { border:1px solid #45515d; border-radius:12px; overflow:hidden; background:linear-gradient(145deg,#222a32,#151b21 70%); box-shadow:0 18px 46px #0005,inset 0 1px #ffffff0a; }
.assistant-toolbar { display:flex; align-items:center; gap:10px; height:43px; padding:10px 16px; border-bottom:1px solid #ffffff10; font:400 12px/20px var(--body); color:#d6dce2; }
.assistant-toolbar>img { width:20px; height:20px; opacity:.82; }
.assistant-toolbar>small { margin-left:auto; font:400 10px/16px var(--mono); color:#95a3b0; }
.assistant-conversation { display:flex; flex-direction:column; gap:15px; padding:18px 18px 16px; }
.assistant-question { align-self:flex-end; max-width:90%; padding:10px 13px; border:1px solid #53697c; border-radius:9px 9px 3px 9px; background:#2c4051; color:#e6edf3; font:400 14px/21px var(--body); }
.assistant-answer { display:flex; align-items:flex-start; gap:10px; }
.assistant-avatar { display:grid; place-items:center; width:26px; height:26px; flex:none; border-radius:50%; background:#a8bfd71c; border:1px solid #a8bfd73d; color:#c6d8e7; }
.assistant-avatar>svg { width:16px; height:16px; }
.assistant-answer p { color:#e0e7ed; font:400 14px/21px var(--body); }
.assistant-answer p>span { color:#a6b3be; }

/* A layered knowledge network: only the selected route receives a moving highlight. */
.scene-knowledge { width:calc(100% + 16px); max-width:420px; top:22px; }
.knowledge-network { display:block; width:100%; height:220px; overflow:visible; }
.network-edges { stroke:#93a6b6; stroke-width:.75; opacity:.27; }
.network-docs rect { fill:#202b35; stroke:#8199ad; stroke-width:1; }
.network-docs path { stroke:#b4c6d5; stroke-width:1; opacity:.7; }
.network-nodes { fill:#b9cddd; opacity:.7; }
.network-route { stroke:#d6e7f3; stroke-width:1.5; }
.network-answer-ring { fill:#18242e; stroke:#88a5bd; stroke-width:1; }
.network-answer { fill:#e0edf7; transform-box:fill-box; transform-origin:center; }

/* One SVG coordinate system for wires, surfaces and endpoints. */
.scene-systems { top:16px; width:calc(100% - 16px); max-width:380px; }
.scene-systems>svg { display:block; width:100%; height:245px; overflow:visible; }
.system-wire { stroke:#667b8c; stroke-width:1; opacity:.65; }
.system-flow { stroke:#d9ebf8; stroke-width:1.7; stroke-dasharray:.13 1; opacity:0; }
.system-node>circle { stroke:#4d5b67; stroke-width:1; }
.system-node>g { color:#bac8d4; }
.system-node>g>svg { width:22px; height:22px; }
.system-node>text { fill:#97a7b4; font:400 10px var(--body); }
.system-hub { transform-box:fill-box; transform-origin:center; }
.system-hub>path { stroke:#586b7b; stroke-width:1; }
.system-hub .hub-edge { stroke:#cfdfeb; stroke-width:1.1; }

/* A real hierarchy of dashboard elements, with no invented performance numbers. */
.scene-dashboard { top:27px; width:calc(100% - 34px); max-width:360px; perspective:900px; }
.dashboard-depth { transform:rotateX(8deg) rotateY(-8deg) rotateZ(-2deg); transform-origin:center; }
.dashboard-panel { padding:12px 13px 14px; background:linear-gradient(125deg,#eef1f3,#d7e0e7 66%,#c2d0da); border:1px solid #e9f1f6; border-radius:13px; color:#2c3b46; box-shadow:0 20px 48px #0006,inset 0 1px #fff; }
.dashboard-toolbar { display:flex; align-items:center; gap:8px; font:400 9px/15px var(--body); }
.dashboard-brand { display:flex; align-items:center; gap:5px; }
.dashboard-brand>i { width:8px; height:8px; border:1px solid #476174; border-radius:2px; transform:rotate(45deg); }
.dashboard-tab { margin-left:auto; border:1px solid #fff9; background:#ffffff8c; border-radius:15px; padding:2px 8px; color:#263744; }
.dashboard-menu { font-size:16px; }
.dashboard-heading { display:flex; flex-direction:column; gap:3px; padding:12px 0; }
.dashboard-heading>strong { font:500 20px/25px var(--body); letter-spacing:-.035em; }
.dashboard-heading>span { font:400 9px/14px var(--body); color:#637480; }
.dashboard-grid { display:grid; grid-template-columns:1fr 1.2fr; gap:8px; }
.dashboard-activity,.dashboard-tasks { min-width:0; padding:9px; border:1px solid #ffffff9c; background:#ffffff6e; border-radius:8px; }
.dashboard-activity>span,.dashboard-tasks>span { display:block; font:500 10px/15px var(--body); color:#445865; }
.dashboard-chart { display:flex; align-items:flex-end; gap:4px; height:46px; margin-top:9px; transform-origin:50% 100%; }
.dashboard-chart>i { flex:1; height:var(--bar); border-radius:2px 2px 0 0; background:#597d97; }
.dashboard-chart>i:nth-child(3n) { background:#8da8bd; }
.chart-baseline { display:flex; justify-content:space-between; padding-top:3px; font:400 7px/11px var(--mono); color:#7d8d98; }
.dashboard-tasks>div { display:flex; gap:5px; align-items:center; min-height:22px; border-bottom:1px solid #667f9215; font:400 9px/14px var(--body); white-space:nowrap; }
.dashboard-tasks>div>i { width:8px; height:8px; border:1px solid #8fa6b6; border-radius:50%; flex:none; }
.dashboard-tasks .task-done { border:2px solid #6a8a9f; background:#6a8a9f33; }
.dashboard-bottom { display:grid; grid-template-columns:1fr 1fr; gap:8px; padding-top:8px; }
.dashboard-bottom>div { padding:8px; border:1px solid #ffffff80; border-radius:6px; background:#ffffff5c; font:400 9px/14px var(--body); }
.dashboard-bottom i { display:block; height:3px; width:65%; margin-top:6px; background:#8ca7ba; border-radius:2px; }
.dashboard-bottom>div+div i { width:42%; }

/* Selected Paper option 02: video window with a single, short timeline pass. */
.scene-video { top:16px; max-width:364px; height:250px; }
.scene-video>svg { display:block; width:100%; height:100%; overflow:visible; }
.video-preview-play { transform-box:fill-box; transform-origin:center; }
.service-card--creative .service-visual::after { background:linear-gradient(180deg,transparent 44%,#1010103d 59%,#101010 72%),linear-gradient(#21354a0a,#21354a0a); }

/* An open design workspace gives the custom-project card an identifiable subject. */
.scene-project { top:30px; width:calc(100% - 48px); max-width:330px; }
.project-canvas { overflow:hidden; border:1px solid #46596a; border-radius:9px; background:linear-gradient(145deg,#1d2934,#121a22); box-shadow:0 14px 32px #0004,inset 0 1px #dce7ef12; }
.project-toolbar { display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid #70849726; padding:10px 13px; font:400 11px/16px var(--body); color:#b9cbd9; }
.project-toolbar>span { display:flex; align-items:center; gap:7px; }
.project-toolbar i { display:block; width:7px; height:7px; border:1px solid #a2b9ca; }
.project-toolbar>b { font:400 18px/18px var(--body); }
.project-canvas>svg { display:block; width:100%; height:auto; }
.project-guides { stroke:#647b8d; stroke-dasharray:3 5; stroke-width:.7; opacity:.5; }
.project-curve-base { stroke:#627f96; stroke-width:1.2; opacity:.5; }
.project-curve { stroke:#c7deef; stroke-width:1.5; }
.project-handles { stroke:#d1e3f1; stroke-width:1; fill:#1b2c3a; }
.project-cursor { stroke:#c1d4e3; stroke-width:1; fill:#90a9bd; }

@media(hover:hover) and (pointer:fine) {
 .service-card:hover { border-color:#6c8295; }
 .services-replay:hover,.services-contact:hover { color:#fff; }
 .services-contact:hover { text-decoration:underline; text-underline-offset:5px; }
}
@media(max-width:1199px) {
 .service-card,.service-card--dialogue,.service-card--knowledge,.service-card--automation { grid-column:span 6; }
 .service-copy :is(h2,h3) { font-size:24px; }
}
@media(max-width:760px) {
 .solutions-chapter { padding-block:44px; }
 .services-heading { margin-bottom:28px; }
 .service-copy { padding-inline:22px; }
 .service-copy :is(h2,h3) { font-size:22px; }
 .services-footer { flex-wrap:wrap; gap:10px 24px; padding-top:20px; }
}
@media(max-width:620px) {
 .service-card:nth-of-type(n) { grid-column:1/-1; min-height:410px; }
 .service-copy { min-height:176px; padding:22px 24px 26px; }
 .service-copy :is(h2,h3) { font-size:24px; max-width:26ch; }
 .service-copy p { max-width:38ch; }
 .scene-dialogue { width:calc(100% - 36px); max-width:360px; }
 .assistant-toolbar { padding-inline:12px; }
 .assistant-conversation { padding:15px 12px; gap:12px; }
 .assistant-question,.assistant-answer p { font-size:12px; line-height:19px; }
 .assistant-answer { gap:8px; }
 .scene-knowledge { width:100%; max-width:420px; }
 .scene-systems { max-width:360px; }
 .scene-dashboard { width:calc(100% - 38px); max-width:350px; }
 .services-contact { margin-left:0; font-size:15px; gap:16px; }
 .services-replay { font-size:13px; }
}
@media(max-width:380px) {
 .service-card:nth-of-type(n) { min-height:424px; }
 .service-copy { padding-inline:20px; min-height:192px; }
 .service-copy :is(h2,h3) { font-size:22px; }
 .assistant-toolbar { gap:7px; font-size:11px; }
 .assistant-toolbar>small { font-size:8px; }
 .assistant-toolbar>img { width:17px; height:17px; }
 .assistant-question,.assistant-answer p { font-size:11px; line-height:17px; }
 .assistant-avatar { width:22px; height:22px; }
 .dashboard-toolbar { font-size:8px; gap:5px; }
 .dashboard-tab { padding-inline:5px; }
 .dashboard-panel { padding:10px; }
 .dashboard-grid { gap:5px; grid-template-columns:.9fr 1.2fr; }
 .dashboard-activity,.dashboard-tasks { padding:6px; }
 .dashboard-tasks>div { font-size:8px; gap:4px; }
 .services-contact { gap:12px; font-size:14px; }
}
@media(prefers-reduced-motion:reduce) {
 .service-card { transition:none; }
 .services-replay { display:none; }
}
