/* Navigation and typography */
:root {
  color-scheme: dark;
  --night: #080f1d;
  --panel: #111e31;
  --ink: #eff4fe;
  --muted: #b4c2d4;
  --line: #304058;
  --ice: #8cddff;
}
* { box-sizing: border-box }
body { margin:0; background:var(--night); color:var(--ink); font:16px/1.6 "Segoe UI",Arial,sans-serif }
html { scroll-behavior:smooth; scroll-padding-top:16px }
h1,h2,h3,p { margin:0 }
a { color:inherit; text-decoration:none }
:focus-visible { outline:3px solid #4eabff; outline-offset:4px }
.wrap { width:min(1280px,89%); margin-inline:auto }
header { background:#0b1220; border-bottom:1px solid #253044 }
.bar,nav,.langs,.actions { display:flex; align-items:center }
.bar { min-height:76px; gap:20px }
.brand { display:flex }
.brand img { width:clamp(145px,15vw,192px); height:auto; filter:brightness(0) invert(1) }
nav { margin-inline:auto; gap:clamp(12px,1.7vw,28px); font-size:1rem; font-weight:600; text-transform:uppercase }
nav a { color:#b9c6d8 }
nav .current, nav a:hover { color:var(--ice) }
.langs { padding:3px; border:1px solid var(--line); border-radius:5px }
.langs a { font:12px/23px monospace; padding:0 6px }
.langs .on { background:#31425b; border-radius:2px }
.btn { display:inline-flex; justify-content:center; align-items:center; padding:12px 23px; border:0; border-radius:5px; background:#3673f5; color:white; font-size:15px;line-height:1.4; font-family:inherit; font-weight:600; cursor:pointer }
.btn:hover { background:#225fdc }
.header-contact { background:#e1eeff; color:#13263e; white-space:nowrap; font-size:1rem; text-transform:uppercase; padding:9px 17px }
.header-contact:hover { background:white }
.micro,.chip { display:flex; align-items:center; gap:11px; color:var(--ice); font:600 12px/1.5 Consolas,monospace; text-transform:uppercase; letter-spacing:.13em }
.micro:before { content:""; width:24px; height:2px; background:currentColor }
h2 { font:550 clamp(38px,4.2vw,62px)/1.06 "Segoe UI",Arial,sans-serif; letter-spacing:-.06em }
h3 { font-size:clamp(22px,1.9vw,29px); line-height:1.16; font-weight:600; letter-spacing:-.045em }
/* The artwork blends into the editorial column without covering its text. */
.hero-shell { position:relative; isolation:isolate; overflow:hidden; background:#080e19; border-bottom:1px solid var(--line) }
.hero-art { position:absolute; z-index:-2; right:0; top:0; width:62%; height:100%; object-fit:cover; object-position:center; mask-image:linear-gradient(90deg,transparent,#000 30%) }
.hero { display:flex; align-items:center; min-height:clamp(500px,43vw,650px); padding-block:55px }
.hero-copy { width:54% }
h1 { font-size:clamp(62px,6.35vw,100px); line-height:1; font-weight:550; letter-spacing:-.074em; margin:22px 0 }
h1 em { font-style:normal; color:#a7ddff; background:linear-gradient(100deg,#d3f5ff,#74acff); background-clip:text; -webkit-text-fill-color:transparent }
.intro { max-width:465px; color:#c4d2e3; font-size:clamp(17px,1.35vw,20px) }
.actions { gap:24px; margin-top:30px; flex-wrap:wrap }
.textlink,.service-contact { font-size:14px; font-weight:600; border-bottom:1px solid #7690aa; width:fit-content }
/* Service and project cards */
.band { padding:clamp(48px,5vw,86px) 0 }
#services { background:radial-gradient(ellipse at 70% 0,#14243b,transparent 60%),var(--night) }
.secthead { display:flex; align-items:end; justify-content:space-between; gap:25px; margin:14px 0 32px }
.secthead p { max-width:385px; color:var(--muted) }
.cards,.examples { display:grid; gap:15px }
.cards { grid-template-columns:repeat(4,minmax(0,1fr)) }
.card { display:flex; flex-direction:column; align-items:start; padding:clamp(20px,2vw,32px); border:1px solid var(--line); border-radius:9px; background:linear-gradient(140deg,#172a41,#0f192b 70%); box-shadow:inset 0 1px #ffffff09 }
.card:hover,.card:focus-within { border-color:#5c83ac }
.card svg { width:46px; height:46px; padding:9px; border:1px solid #426689; color:#a4dbff; background:#18344e; border-radius:8px; margin-bottom:24px }
.card p,.project p { margin-top:13px; color:var(--muted) }
.card p { flex:1 }
.service-contact { margin-top:24px; color:var(--ice); border-color:#45738c }
#projects { background:#edf2f7; color:#101b2c; color-scheme:light }
#projects .micro { color:#295b93 }
#projects .secthead p,.project p { color:#495b6b }
.examples { grid-template-columns:repeat(3,minmax(0,1fr)) }
.project { background:white; border:1px solid #ced9e3; border-radius:10px; overflow:hidden; padding:0 24px 26px }
.project-art { margin:0 -24px 20px; height:158px; overflow:hidden; position:relative; display:grid; place-items:center; background-color:#18324c; background-image:linear-gradient(#6da4bc20 1px,transparent 1px),linear-gradient(90deg,#6da4bc20 1px,transparent 1px),radial-gradient(at top right,#285c73,transparent); background-size:19px 19px,19px 19px,100% 100% }
.chip { color:#365f87; margin:0 0 8px }
.mini-window,.mobile-map,.rack i { border:1px solid #8ebbd5; box-shadow:5px 7px 0 #061b3480,0 5px 24px #00132c70 }
.mini-window { position:relative; width:58%; height:104px; padding:26px 15px 13px; border-radius:6px; background:#122943; transform:rotate(-5deg) skewY(-3deg) }
.mini-window:before { content:""; position:absolute; top:13px; left:13px; width:25px; height:3px; background:#afdaee }
.chart-bars { height:100%; display:flex; align-items:end; gap:5%; border-bottom:1px solid #8cb9cd }
.chart-bars b { flex:1; height:var(--h); background:linear-gradient(#9ae9ff,#458bcc) }
.project:nth-child(2) .project-art { background-color:#23274e }
.mobile-map { width:89px; height:135px; position:relative; transform:rotate(14deg) skewY(-7deg); border:5px solid #8fadc9; border-radius:16px; background:repeating-linear-gradient(35deg,transparent 0 18px,#9dbbef40 19px 21px),repeating-linear-gradient(-44deg,#243856 0 20px,#6b88ad 21px 23px) }
.mobile-map b { position:absolute; width:48%; height:45%; border-left:3px solid #95f1cb; border-bottom:3px solid #95f1cb; top:25%; left:27% }
.mobile-map:after { content:""; position:absolute; bottom:25%; right:20%; width:8px; height:8px; border-radius:50%; background:#d4fff1 }
.rack { width:45%; display:grid; gap:4px; transform:skewY(-7deg) }
.rack i { height:25px; border-radius:3px; background:repeating-linear-gradient(90deg,#5fa4bd 0 2px,transparent 2px 6px) 12px center/27% 7px no-repeat,radial-gradient(circle,#a0f7dd 2px,transparent 3px) 92% center/10px 10px no-repeat,#1e354f }
#about { border-bottom:1px solid var(--line) }
.about,.contact-layout { display:grid; grid-template-columns:1fr 1.1fr; gap:8% }
.about h2,.contact h2 { margin:16px 0 22px }
.about p { color:var(--muted); font-size:20px }
.contact { padding:clamp(46px,6vw,94px) 0; background:radial-gradient(at top left,#193b5c,transparent 65%),#101e31 }
.contact-copy p { max-width:39ch; color:#c4d2e3; margin-bottom:17px }
.contact-copy a { color:var(--ice); border-bottom:1px solid }
.lead-form { background:#f3f7fc; color:#162132; color-scheme:light; border-radius:10px; padding:clamp(20px,3vw,38px); display:grid; gap:18px }
.lead-form label { display:grid; gap:6px; font-size:14px; font-weight:600 }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px }
.lead-form :is(input,select,textarea) { min-width:0; width:100%; font:inherit; font-size:16px; border:1px solid #9daebd; border-radius:4px; padding:10px; background:white; color:#132132 }
.lead-form textarea { resize:vertical }
.lead-form .btn { justify-self:start }
.lead-form output:empty,.trap { display:none!important }
footer { padding:22px 0; color:var(--muted); font-size:14px }
footer .wrap { display:flex; justify-content:space-between }
@media(max-width:960px) {
  .bar { gap:12px } nav { gap:12px }
  .cards { grid-template-columns:repeat(2,minmax(0,1fr)) }
  .hero-copy { width:58% }
}
@media(max-width:760px) {
  .bar { flex-wrap:wrap; padding:12px 0; gap:8px }
  .brand img { width:clamp(110px,32vw,160px) }
  nav { order:3; width:100%; justify-content:space-between; margin-top:6px; gap:3px }
  .langs { margin-left:auto } .header-contact { font-size:.9375rem; padding:8px 10px }
  .hero { min-height:0; padding:40px 0 clamp(210px,61vw,370px) }
  .hero-copy { width:100% }
  h1 { font-size:clamp(47px,9.5vw,71px) }
  .hero-art { width:100%; height:clamp(245px,66vw,415px); top:auto; bottom:0; object-position:center 52%; mask-image:linear-gradient(transparent,#000 22%) }
  .secthead { display:block } .secthead p { margin-top:15px }
  .examples,.about,.contact-layout { grid-template-columns:1fr; gap:22px }
  .project-art { height:180px } .form-row { grid-template-columns:1fr }
}
@media(max-width:480px) {
  .cards { grid-template-columns:1fr }
  .card { display:grid; grid-template-columns:45px 1fr; column-gap:15px }
  .card svg { grid-row:1/4; margin:0 } .card p,.card a { grid-column:2 }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto } }

/* Blue glass identity */
:root { color-scheme:light; --night:#fff; --ink:#111d38; --muted:#506078; --line:#cedaeb; --ice:#184bcc }
header { background:#fff; border-color:var(--line) }
.brand img { filter:none }
nav a { color:#41506b }
.langs .on { background:#204bd3; color:#fff }
.btn,.header-contact { background:#234dd9; color:#fff }
.btn:hover,.header-contact:hover { background:#1438a5 }
.hero-shell { background:radial-gradient(ellipse at 76% 56%,#deeaff 0%,#eff5ff 29%,transparent 56%),#fcfdff }
.hero { display:grid; grid-template-columns:1.05fr 1fr; gap:3%; align-items:center; padding-block:45px }
.hero-copy { width:auto; z-index:1 }
h1 em { color:#244fd7; background:none; -webkit-text-fill-color:currentColor }
.intro { color:var(--muted) }
/* Interactive code and torus */
.code-stage {
  position:relative; isolation:isolate; min-width:0; width:100%; height:clamp(380px,38vw,535px);
  background:radial-gradient(ellipse at 74% 62%,#dae8ffb3,transparent 67%);
}
.code-demo { position:absolute; inset:0 }
.code-editor {
  position:absolute; top:12%; left:5%; width:80%; max-width:460px; z-index:2;
  overflow:hidden; border-radius:13px; background:#0c1932;
  color:#dbe9ff; box-shadow:0 24px 40px #1d386341;
}
.code-toolbar { display:flex; align-items:center; gap:6px; padding:11px 14px; border-bottom:1px solid #2e4166; background:#162746 }
.code-toolbar i { width:7px; height:7px; border-radius:50%; background:#5978a9 }
.code-toolbar i:nth-child(2) { background:#80a6e2 }
.code-toolbar i:nth-child(3) { background:#72dfed }
.code-toolbar span { margin-left:5px; color:#c5d6f4; font:500 12px/1.4 Consolas,monospace }
.code-source { margin:0; padding:15px 14px; font:clamp(10px,1vw,15px)/1.55 Consolas,monospace; tab-size:2 }
.code-source code { font:inherit }
.code-source code > span { display:block; width:max-content; animation:code-write .42s steps(24,end) both; animation-delay:calc(var(--line-index,0) * .22s) }
.code-source code > span:nth-child(2) { --line-index:1 }
.code-source code > span:nth-child(3) { --line-index:2 }
.code-source code > span:nth-child(4) { --line-index:3 }
.code-source code > span:nth-child(5) { --line-index:4 }
.code-source code > span:nth-child(6) { --line-index:5 }
.syntax-keyword { color:#c5b1ff }
.syntax-function { color:#7adbf5 }
.code-output { padding:9px 14px; color:#dbe9ff; border-top:1px solid #2e4166; background:#14233f; font:500 12px/1.5 Consolas,monospace }
.code-output > span:first-child { color:#84e8ff }
.code-output { animation:code-launch .3s 1.52s both }
.code-cursor { display:inline-block; width:7px; height:11px; vertical-align:-1px; background:#84e8ff; animation:code-pulse 2.4s ease-in-out infinite }
.code-signal { position:absolute; z-index:1; top:62%; left:47%; width:33%; height:22%; border-left:1px solid #6187dd; border-bottom:1px solid #6187dd; border-radius:0 0 0 14px }
.code-signal i { position:absolute; left:0; bottom:-2px; width:14px; height:4px; background:#4a83ec; border-radius:6px; box-shadow:0 0 12px #4e80ff; animation:code-signal 3.2s ease-in-out infinite }
.code-render { position:absolute; display:grid; place-items:center; z-index:3; right:-1%; bottom:0; width:56%; aspect-ratio:1; pointer-events:none }
.code-render :is(canvas,.torus-poster) { grid-area:1 / 1; display:block; width:100%; height:auto; filter:drop-shadow(0 15px 16px #173b7860) }
.torus-active .torus-poster { opacity:.24 }
.torus-rendered .torus-poster { visibility:hidden }
.motion-control { position:absolute; z-index:4; right:10px; bottom:9px; width:37px; height:37px; border:1px solid #9ab0d1; background:#ffffffdf; color:#2349ae; border-radius:50%; cursor:pointer }
.device-stage.paused :is(.code-source code > span,.code-output,.code-cursor,.code-signal i) { animation-play-state:paused }
@keyframes code-write { from { clip-path:inset(0 100% 0 0) } to { clip-path:inset(0) } }
@keyframes code-launch { from { opacity:0 } }
@keyframes code-pulse { 50% { opacity:.45 } }
@keyframes code-signal { from { left:0; opacity:0 } 25% { opacity:1 } to { left:80%; opacity:0 } }
#services { background:#fff }
.card { background:linear-gradient(145deg,#f0f5ff,#fff 68%); border-color:#cddaf0 }
.card svg { background:#e3ecff; border-color:#c3d5fc; color:#2551c9 }
.service-contact { border-color:#9eb8e4 }
#projects { background:#edf3ff }
#about { background:#fff }
.contact { background:linear-gradient(135deg,#edf3ff,#f8fbff); border-block:1px solid #dae4f4 }
.contact-layout { gap:0; grid-template-columns:.88fr 1.12fr; border:1px solid #becde5; border-radius:19px; overflow:hidden; box-shadow:0 22px 65px #344e7f14 }
.contact-copy { position:relative; isolation:isolate; overflow:hidden; padding:clamp(28px,4vw,62px); padding-bottom:145px; color:white; background:radial-gradient(at 20% 100%,#3277fa,transparent 65%),linear-gradient(145deg,#15348f,#214fc8) }
.contact-copy h2 { max-width:10ch }
.contact-copy .micro,.contact-copy p,.contact-copy a { color:white }
.contact-copy a { display:inline-block; border-color:#a7c6ff }
.wave { position:absolute; z-index:-1; left:0; bottom:0; width:100%; height:135px; opacity:.46; color:#b7daff }
.lead-form { border-radius:0; background:white; padding:clamp(26px,3.6vw,54px) }
.lead-form h3 { border-bottom:1px solid #d5deec; padding-bottom:15px }
.lead-form :is(input,textarea,select) { border-color:#bdcbe0; background:#f6f9ff; border-radius:6px }
footer { background:#fff; padding:50px 0 0 }
footer .foot-grid { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,.8fr) minmax(0,1.15fr) minmax(0,1fr); gap:clamp(16px,2.3vw,32px); padding-bottom:32px }
.foot-grid img { max-width:100%;height:auto }
.foot-grid p { max-width:32ch; margin-top:12px }
.foot-links { display:grid; gap:5px; align-content:start; justify-items:start; overflow-wrap:anywhere }
.foot-links strong { color:#182846; margin-bottom:8px }
footer a:hover { color:#164bc2; text-decoration:underline }
.foot-base { border-top:1px solid var(--line); padding-block:18px }
@media(max-width:760px) {
  .hero { grid-template-columns:1fr; gap:10px; padding:35px 0 22px }
  .code-stage { height:clamp(375px,81vw,455px) }
  .code-editor { top:8%; width:86% }
  .code-source { font-size:clamp(11px,2.65vw,14px) }
  .code-render { bottom:0; width:59%; max-width:305px }
  .contact-layout { grid-template-columns:1fr; gap:0 }
  .contact-copy { padding-bottom:80px }
  .contact-copy h2 { max-width:18ch }
  .wave { height:75px }
  footer .foot-grid { grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) }
  .foot-grid>div:first-child { grid-column:1/-1 }
}
@media(prefers-reduced-motion:reduce) {
  .code-stage * { animation:none }
  .motion-control { display:none }
}

/* Dedicated pages and the project collection */
.section-action,.page-actions { margin-top:28px }
.about .section-action { grid-column:1/-1; margin:0 }
.project { position:relative }
.case-link::after { content:""; position:absolute; inset:0 }
.project:focus-within,.archive-card:hover,.project:has(.case-link:hover) { outline:2px solid #90acf2; outline-offset:1px }
.inner-page { padding:0 0 clamp(55px,7vw,100px); background:linear-gradient(165deg,#ecf3ff,white 44%); border-bottom:1px solid var(--line); min-height:60vh }
.breadcrumb-band { padding-top:24px }
.breadcrumb-band > .wrap { width:min(1280px,89%) }
.crumb { font-size:14px; color:var(--muted); overflow-wrap:anywhere }
.crumb a { color:#1648bb }
.page-intro { max-width:850px; padding:28px 0 40px }
.page-intro h1 { font-size:clamp(44px,5.8vw,86px); margin:15px 0 }
.page-intro p,.case-body p { color:var(--muted); font-size:18px; max-width:70ch }
.archive-card { display:block }
.case-hero { display:grid; grid-template-columns:1fr .85fr; gap:6%; align-items:center; padding-block:20px }
.case-hero .project-art { height:280px; margin:0; border-radius:12px }
.case-hero .mini-window,.case-hero .rack,.case-hero .mobile-map { scale:1.2 }
.case-body { border-top:1px solid var(--line); margin-top:24px }
.case-body section { border-bottom:1px solid var(--line); padding:24px 0; display:grid; grid-template-columns:1fr 2fr; gap:24px }
.case-body h2,.process-title { font-size:clamp(28px,2.7vw,40px) }
.service-list { display:grid; grid-template-columns:1fr 1fr; gap:18px }
.page-actions { display:flex; align-items:center; gap:20px; flex-wrap:wrap }
.access-art { background-color:#252656 }
.access-glyph { font:90px/1 Georgia,serif; color:#b8d7ff; border:2px solid #9abafc; padding:2px 18px 14px; border-radius:18% 18% 45% 45%; background:#314f84; box-shadow:6px 6px 0 #141e43 }
.booking-art { background-color:#22464d }
.calendar-glyph { display:grid; grid-template-columns:repeat(7,1fr); gap:4px; width:46%; padding:20px 10px 10px; border:2px solid #b1e9e2; border-top-width:8px; border-radius:7px; background:#25475c; transform:rotate(-6deg) }
.calendar-glyph i { aspect-ratio:1; background:#85adb9 }
.calendar-glyph i:nth-child(4n) { background:#acdfe0 }
@media(max-width:760px) {
  .case-hero,.case-body section,.service-list { grid-template-columns:1fr; gap:14px }
  .case-hero .project-art { height:190px }
  .page-intro { padding:10px 0 25px }
}
/* Studio profile */
.studio-hero,.expert-hero {position:relative;border-radius:18px;overflow:hidden}
.studio-hero {display:grid;grid-template-columns:1.15fr 1fr;align-items:center;background:linear-gradient(112deg,#fbfdff,#e8efff);border:1px solid #c4d4ef}
.studio-hero .page-intro,.expert-hero .page-intro {padding:clamp(30px,4vw,65px);position:relative;z-index:1}
.studio-hero h1,.expert-hero h1 {font-size:clamp(46px,5.6vw,88px);line-height:.98}
.studio-object {
  display:grid;place-items:center;min-height:340px;align-self:stretch;perspective:740px;
  background-image:linear-gradient(#94b2e026 1px,transparent 1px),linear-gradient(90deg,#94b2e026 1px,transparent 1px),radial-gradient(ellipse at 50% 50%,#cddfff,transparent 70%);
  background-size:24px 24px,24px 24px,100% 100%;
}
.studio-object img {width:91%;height:auto;max-height:430px;object-fit:contain;pointer-events:none}
.studio-object canvas {grid-area:1 / 1;width:min(100%,480px);height:auto;aspect-ratio:1;pointer-events:none;filter:drop-shadow(0 14px 20px #234bb040)}
.studio-object canvas[hidden],.studio-object img[hidden] {display:none}
.about-profile {
  display:grid;grid-template-columns:.75fr 1.25fr;gap:clamp(20px,4vw,60px);
  margin-top:clamp(32px,6vw,78px);padding:clamp(22px,4vw,46px);
  border:1px solid #d1ddf1;border-radius:14px;background:#f2f6ff;
}
.about-profile p,.about-teams p {color:var(--muted)}
.about-profile p {font-size:clamp(1rem,1.35vw,1.2rem)}
.about-profile p + p {margin-top:14px}
.about-teams {margin-top:clamp(34px,5vw,64px)}
.about-team-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:24px}
.about-team-grid article {padding:clamp(20px,2.5vw,34px);border:1px solid #cfddf1;border-radius:12px;background:#fff}
.about-team-grid h3 {margin-bottom:10px;color:#203e95}
.about-contact {margin-top:clamp(28px,5vw,54px)}
@media(max-width:760px) {
  .about-profile,.about-team-grid {grid-template-columns:1fr}
}
.working-method {padding-top:clamp(45px,6vw,86px)}
.method-heading,.collection-heading {display:flex;justify-content:space-between;align-items:end;gap:30px}
.method-steps {margin-top:35px;display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.method-steps article {border-top:2px solid #9db7e9;padding:22px 0}
.method-steps h3 {margin:17px 0 10px}
.method-steps p,.capability p,.collection-heading p,.collection-copy p {color:#4d607a}
.process-symbol,.capability>svg {width:46px;height:46px;padding:10px;border-radius:12px;background:#e3edff;color:#204fc7}
.process-symbol svg {display:block;width:100%;height:100%}
/* Service catalogue */
.expert-hero {isolation:isolate;background:#091525;color:white;border:1px solid #1f3b61}
.expert-hero img {position:absolute;right:0;inset-block:0;width:59%;height:100%;object-fit:cover;mask-image:linear-gradient(90deg,transparent,#000 35%)}
.expert-hero .page-intro {width:58%;min-height:340px;display:flex;flex-direction:column;justify-content:center}
.expert-hero .micro {color:#9ed9ff}
.expert-hero p {color:#d3e2f6}
.catalog-layout {display:grid;grid-template-columns:minmax(190px,.36fr) 1fr;gap:7%;margin-top:44px;align-items:start}
.catalog-index {position:sticky;top:16px;border-left:3px solid #2c58df;padding-left:18px;display:grid;gap:8px}
.catalog-index h2 {font-size:23px;margin-bottom:8px}
.catalog-index a {font-size:15px;color:#334f78}
.catalog-index a:hover {text-decoration:underline}
.capability {display:grid;grid-template-columns:50px 1fr;gap:8px 22px;padding:28px 0;border-top:1px solid #c4d4eb;scroll-margin-top:22px}
.capability>svg {grid-row:1/5}
.capability p,.cap-actions {grid-column:2}
.cap-actions {display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-top:12px}
.cap-actions .service-contact {margin:0}
/* Project archive */
.collection-heading {margin:36px 0 30px}
.collection-heading h1 {font-size:clamp(48px,6vw,88px);margin:0}
.collection-heading p {max-width:37ch;margin-bottom:4px}
.collection {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}
.collection-item {display:block;overflow:hidden;background:white;border:1px solid #c7d6ec;border-radius:14px;transition:box-shadow .2s}
.collection-item:hover,.collection-item:focus-visible {box-shadow:0 8px 26px #34588526}
.collection-item:first-child {grid-column:1/-1;display:grid;grid-template-columns:1.35fr 1fr;background:#142c5f;color:white}
.collection-item:first-child .collection-copy {align-self:center}
.collection-item:first-child :is(.chip,p,.collection-read) {color:#d0e5ff}
.collection-copy {padding:clamp(22px,3vw,42px)}
.collection-copy h2 {font-size:clamp(30px,3.2vw,52px);margin:9px 0 12px}
.collection-read {display:inline-block;font-size:14px;font-weight:600;color:#244ca8;margin-top:19px;border-bottom:1px solid}
.portfolio-art {height:228px;overflow:hidden;display:grid;place-items:center}
.insight {height:100%;min-height:305px;background:radial-gradient(ellipse at 20% 0%,#abcaff,transparent 55%),linear-gradient(135deg,#739aee,#315fc7)}
.console {width:78%;display:grid;grid-template-columns:17% 1fr;background:#f6f9ff;border:2px solid #c9ddff;border-radius:9px;overflow:hidden;transform:perspective(750px) rotateY(9deg) rotateZ(-4deg);box-shadow:12px 18px 24px #123e9255}
.console-side {background:#142c5f;color:white;padding:10px}
.console-side i,.console-rows i,.phone-screen b,.audit-sheet b {display:block;height:5px;background:#8ba7d5;border-radius:3px;margin:10px 0}
.console-main {padding:7%;color:#183055}
.spark {height:85px;background:repeating-linear-gradient(0deg,transparent 0 20px,#dce5f5 21px);margin-top:14px}
.spark svg {width:100%;height:100%}
.console-rows i:nth-child(2) {width:75%}
.handset {background:linear-gradient(135deg,#ddd9ff,#9caaec)}
.phone-screen {width:122px;padding:8px 10px 12px;background:white;border:4px solid #1e2b50;border-radius:19px;transform:rotate(10deg);box-shadow:9px 14px 18px #4a498859;color:#253559;font-size:14px}
.phone-screen i {display:block;width:32px;height:4px;margin:0 auto 9px;background:#37415e;border-radius:4px}
.map-preview {height:74px;margin:8px 0;background:radial-gradient(circle at 58% 40%,#214ed2 4px,transparent 5px),repeating-linear-gradient(38deg,transparent 0 13px,#fff 14px 17px),repeating-linear-gradient(-38deg,#bfdbd7 0 14px,#eff8ff 15px 18px)}
.servers {background:radial-gradient(ellipse at 65% 10%,#367fa6,#153754 80%)}
.servers .rack {width:40%;transform:perspective(460px) rotateY(-17deg) skewY(-7deg)}
.servers .rack i {height:29px}
.access {background:linear-gradient(140deg,#c5e7ee,#7fb7cb)}
.audit-sheet {background:white;color:#183555;width:56%;min-width:165px;padding:18px;border-radius:9px;transform:rotate(-5deg);box-shadow:8px 14px 22px #33677940}
.audit-sheet div {display:flex;align-items:center;gap:8px;border-top:1px solid #d2deeb;margin-top:7px}
.audit-sheet i {width:12px;height:12px;border-radius:100%;background:#83afca}
.audit-sheet b {flex:1;background:#c7d5e4}
.audit-sheet em {color:#147053}
.booking {background:linear-gradient(120deg,#e5eaff,#a5bedc)}
.booking .calendar-glyph {width:42%;max-width:200px;background:#fcfdff;border-color:#4364a6}
.booking .calendar-glyph i {background:#dbe5fa}
.booking .calendar-glyph i:nth-child(4n) {background:#527ad0}
@media(max-width:760px){
.studio-hero,.catalog-layout,.method-steps,.collection,.collection-item:first-child {grid-template-columns:1fr}
.studio-object {min-height:0;height:260px}.studio-object img {height:100%}
.studio-object canvas {width:min(100%,260px)}
.expert-hero .page-intro {min-height:0;width:100%;padding-bottom:190px}
.expert-hero img {width:100%;height:210px;inset-block:auto 0;mask-image:linear-gradient(transparent,#000 28%)}
.catalog-index {position:static}.catalog-layout {gap:24px}
.method-heading,.collection-heading {align-items:start;flex-direction:column;gap:14px}
.method-steps {gap:0}.collection-item:first-child {display:block}
.insight {min-height:225px}.portfolio-art {height:210px}
.capability {grid-template-columns:38px 1fr;column-gap:15px}.capability>svg {width:38px;height:38px}
}

#industries { background:#f0f5ff; border-bottom:1px solid var(--line) }
.industry-index { display:flex; flex-wrap:wrap; gap:9px; margin-block:12px 27px }
.industry-index a { display:inline-block; padding:8px 13px; border-radius:6px; border:1px solid #b8cbee; background:#fff; color:#21448e; font-weight:600; font-size:14px }
.industry-index a:hover { background:#e0ebff; border-color:#86a7e5 }
.industry-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px }
.industry-card { padding:26px; border:1px solid var(--line); border-top:3px solid #375adb; border-radius:9px; background:linear-gradient(145deg,#eef4ff,#fff 65%) }
.industry-card:target { outline:2px solid #6388ef; outline-offset:2px }
/* Sector landing pages */
.sector-hero {
  position:relative; display:grid; align-items:center; min-height:clamp(360px,41vw,535px);
  isolation:isolate; overflow:hidden; border-radius:16px; background:#0a1830; color:white;
}
.sector-image { position:absolute; inset:0 0 0 auto; width:65%; height:100%; object-fit:cover; object-position:center 54%; z-index:-2 }
.sector-hero::before {
  content:""; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(90deg,#0a1830 20%,#0a1830 33%,#0a1830d9 46%,#0a183024 74%,transparent);
}
.sector-hero .page-intro { padding:clamp(28px,5vw,76px); width:65%; max-width:none }
.sector-hero h1 { font-size:clamp(2.75rem,5.5vw,5.4rem); line-height:1.01 }
.sector-hero .micro { color:#a9dfff }
.sector-hero p { color:#e0ebff; max-width:38ch }
.sector-needs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin-block:clamp(30px,5vw,66px) }
.sector-needs section {
  padding:clamp(20px,3vw,36px); border:1px solid #cddaf0; border-radius:12px;
  background:linear-gradient(140deg,#edf4ff,#fff 70%);
}
.sector-needs h2 { font-size:clamp(1.35rem,2.8vw,1.9rem) }
.sector-needs p,.sector-studies .method-heading p { margin-top:12px; color:var(--muted) }
.sector-studies .collection { margin-top:22px }
.sector-studies .collection-item:first-child { grid-template-columns:1fr 1fr }
.sector-contact {
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px;
  margin-top:26px; padding:clamp(20px,3vw,36px); border-radius:12px; background:#e8f0ff;
}
.sector-contact h2 { font-size:clamp(1.35rem,2.7vw,2rem) }
.industry-panel a[aria-current="page"] { background:#f0f5ff; color:#184bcc }
@media(max-width:760px) {
  .sector-hero { min-height:0; align-items:start }
  .sector-hero .page-intro { width:100%; padding:32px 24px 195px }
  .sector-image { inset:auto 0 0; width:100%; height:240px }
  .sector-hero::before { background:linear-gradient(180deg,#0a1830 41%,#0a1830c4 58%,transparent 86%) }
}
@media(max-width:600px) {
  .sector-needs { grid-template-columns:1fr }
}
@media(max-width:900px) { .bar nav { gap:10px } .industry-grid { grid-template-columns:repeat(2,minmax(0,1fr)) } }
@media(max-width:1050px) { .bar { flex-wrap:wrap; padding-block:10px } .bar .langs { margin-left:auto } .bar nav { order:3; width:100%; flex-wrap:wrap; justify-content:space-between } }
@media(max-width:600px) { .bar nav { font-size:.875rem } }
@media(max-width:440px) { .industry-grid { grid-template-columns:1fr } }
/* Industry navigation */
.industry-menu { position:relative; display:inline-flex; align-items:center }
.industry-menu > a { white-space:nowrap; transition:color .2s }
.industry-menu:has(button[aria-expanded="true"]) > a { color:#184bcc }
.industry-menu button { display:inline-grid; place-items:center; width:27px; min-height:34px; padding:0; background:transparent; color:#21448e; border:0; border-radius:5px; cursor:pointer }
.industry-menu button:hover { background:#edf3ff }
.industry-menu button[hidden],.industry-panel[hidden] { display:none }
.industry-menu button span { width:7px; height:7px; border:solid currentColor; border-width:0 1.5px 1.5px 0; transform:translateY(-2px) rotate(45deg); transition:transform .2s }
.industry-menu button[aria-expanded="true"] span { transform:translateY(2px) rotate(225deg) }
.industry-panel { position:absolute; z-index:20; top:100%; right:-105px; width:clamp(430px,52vw,620px); padding:clamp(16px,2vw,24px); background:#fff; border:1px solid #dce5f3; border-radius:12px; box-shadow:0 18px 45px #15336426; animation:industry-enter .2s ease-out }
.industry-panel ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; list-style:none; padding:0; margin:0 }
.industry-panel li a { display:flex; align-items:center; gap:14px; height:100%; padding:16px 18px; border-radius:8px; color:#152a4e; line-height:1.35; transition:background .18s,color .18s }
.industry-icon { display:grid; place-items:center; flex:0 0 36px; height:36px; color:#214cc0; background:#eaf1ff; border-radius:8px }
.industry-panel li a:is(:hover,:focus-visible) .industry-icon { background:#dbe8ff }
.industry-panel li a:hover,.industry-panel li a:focus-visible { background:#f0f5ff; color:#184bcc }
.industry-panel .industry-overview { display:block; color:#214cc0; font-weight:600; border-top:1px solid #dde7f5; margin-top:12px; padding:12px 18px 4px }
.industry-overview:hover { text-decoration:underline }
@keyframes industry-enter { from { opacity:0; transform:translateY(-5px) } }
@media(max-width:1050px) {
  .bar nav { position:relative }
  .industry-menu { position:static }
  .industry-panel { right:0; width:min(620px,100%); max-height:60vh; overflow:auto }
}
@media(max-width:500px) { .industry-panel ul { grid-template-columns:1fr } }
@media(prefers-reduced-motion:reduce) {
  .industry-panel { animation:none }
  .industry-menu :is(a,button span) { transition:none }
}

/* Scroll-aware site header */
html { scroll-padding-top:calc(var(--header-height, 76px) + 12px) }
body > header {
  position:sticky; top:0; z-index:50;
  transition:transform .22s ease, background-color .2s ease, box-shadow .2s ease;
}
body > header.is-scrolled {
  background:rgb(255 255 255 / 85%); backdrop-filter:blur(16px);
  box-shadow:0 8px 24px #11234416;
}
body > header.is-hidden:not(:focus-within) { transform:translateY(-100%); pointer-events:none; box-shadow:none }
body > header.is-hidden:not(:focus-within) .industry-panel { visibility:hidden }

/* Integrated header and full-bleed hero on About and industry detail pages */
.integrated-hero > header { background:#0a1830; border-color:#91b4ff26 }
.integrated-hero > header.is-scrolled { background:rgb(10 24 48 / 85%) }
.integrated-hero > header .brand img { filter:brightness(0) invert(1) }
.integrated-hero > header nav > a,.integrated-hero .industry-menu > a,.integrated-hero > header .langs a { color:#e0ebff }
.integrated-hero > header nav > a:is(:hover,.current),.integrated-hero .industry-menu > a:hover,.integrated-hero .industry-menu > a.current { color:#9ddcff }
.integrated-hero .industry-menu button { color:#b7d5ff }
.integrated-hero .industry-menu button:hover { background:#ffffff1a }
.integrated-hero .inner-page > .wrap { width:100% }
.integrated-hero .inner-page > .wrap > :not(:first-child) { width:min(1280px,89%); margin-inline:auto }
.sector-page .sector-hero { border-radius:0 }
.integrated-hero .breadcrumb-band { background:#0a1830 }
.integrated-hero .crumb { color:#b7c9e6 }
.integrated-hero .crumb a { color:#d8e8ff; text-decoration:underline; text-underline-offset:3px }
.sector-page .sector-hero .page-intro { padding-left:max(5.5vw,calc((100% - 1280px)/2)); }
.sector-page .sector-hero::before {
  background:linear-gradient(180deg,#0a1830 0%,transparent 34%),linear-gradient(90deg,#0a1830 29%,#0a1830 37%,#0a1830c9 51%,transparent 83%);
}
@media(max-width:760px) {
  .sector-page .sector-hero .page-intro { padding-inline:5.5vw }
  .sector-page .sector-hero::before { background:linear-gradient(180deg,#0a1830 43%,#0a1830cc 58%,transparent 88%) }
}
@media(prefers-reduced-motion:reduce) { body > header { transition:none } }

.about-page > header:not(.is-scrolled) { border-bottom-color:transparent }
.about-page .studio-hero {
  border:0; border-radius:0; color:#fff;
  padding-inline:max(5.5vw,calc((100% - 1280px)/2));
  background:linear-gradient(180deg,#0a1830 0%,transparent 28%),radial-gradient(ellipse at 75% 57%,#1f3d73,#0a1830 67%);
}
.about-page .studio-hero .page-intro { padding-inline:0 clamp(18px,4vw,60px) }
.about-page .studio-hero .micro { color:#9cd8ff }
.about-page .studio-hero .page-intro p { color:#d7e6ff }
.about-page .studio-object {
  background:radial-gradient(ellipse at 50% 50%,#578dff29,transparent 69%);
}
.about-page .studio-object canvas { filter:drop-shadow(0 16px 24px #040e2366) }
@media(max-width:760px) {
  .about-page .studio-hero .page-intro { padding:32px 0 6px }
  .about-page .studio-object { height:270px }
}

:is(.work-page,.case-studies-page) > header:not(.is-scrolled) { border-bottom-color:transparent }
.work-page .expert-hero {
  border:0; border-radius:0; background:#0a1830;
}
.work-page .expert-hero::after {
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(#0a1830,transparent 36%);
}
.work-page .expert-hero .page-intro {
  min-height:clamp(350px,38vw,510px); width:62%;
  padding-left:max(5.5vw,calc((100% - 1280px)/2));
}
.work-page .expert-hero .page-intro p { max-width:48ch }
.case-studies-page :is(.archive-hero,.case-hero) {
  padding-inline:max(5.5vw,calc((100% - 1280px)/2)); color:#fff;
  background:linear-gradient(180deg,#0a1830,transparent 65%),radial-gradient(ellipse at 82% 90%,#23457b,#0a1830 74%);
}
.case-studies-page .archive-hero .page-intro { padding-block:clamp(38px,6vw,86px) }
.case-studies-page :is(.archive-hero,.case-hero) h1 { font-size:clamp(2.75rem,5.6vw,5.4rem) }
.case-studies-page :is(.archive-hero,.case-hero) .page-intro p { color:#d7e6ff }
.case-studies-page .case-hero { padding-block:clamp(30px,5vw,70px) }
.case-studies-page .case-hero .micro { color:#a9dfff }
.case-studies-page .case-hero .project-art { border:1px solid #7ba3e466 }
.case-studies-page .inner-page > .wrap > :is(.collection,.case-body) { margin-top:clamp(28px,5vw,58px) }
@media(max-width:760px) {
  .work-page .expert-hero .page-intro { min-height:0; width:100%; padding:32px 5.5vw 190px }
  .work-page .expert-hero::after { display:none }
  .case-studies-page .case-hero .page-intro { padding:0 0 12px }
}

/* Compact navigation */
.mobile-nav-toggle,.mobile-contact { display:none }
@media(max-width:1050px) {
  header.mobile-nav-ready .bar { min-height:64px; flex-wrap:nowrap; gap:9px }
  .mobile-nav-ready .brand { min-width:0 }
  .mobile-nav-ready .brand img { width:clamp(108px,33vw,171px) }
  .mobile-nav-ready .langs { margin-left:auto; flex:none }
  .mobile-nav-ready .langs a { display:grid; place-items:center; min-width:29px; min-height:31px }
  .mobile-nav-ready .header-contact { display:none }
  .mobile-nav-toggle:not([hidden]) {
    position:relative; z-index:3; display:grid; place-items:center; width:44px; height:44px; order:4;
    padding:0; border:0; border-radius:8px; background:transparent;
    color:#142d67; cursor:pointer; flex:none;
  }
  .mobile-nav-toggle svg { fill:none; stroke:currentColor; stroke-width:1.65; stroke-linecap:round }
  .mobile-nav-toggle .close-lines,.mobile-nav-toggle[aria-expanded=true] .menu-lines { display:none }
  .mobile-nav-toggle[aria-expanded=true] .close-lines { display:block }
  .integrated-hero .mobile-nav-toggle { color:#e0ebff }
  header.nav-open .mobile-nav-toggle { color:#142d67 }
  html.mobile-drawer-open { overflow:hidden }
  body > header.mobile-nav-ready.nav-open { backdrop-filter:none }
  header.mobile-nav-ready.nav-open::before { content:""; position:fixed; inset:0; z-index:1; background:#07162a88 }
  header.mobile-nav-ready #primary-nav {
    display:none; position:fixed; z-index:2; inset:0 0 0 auto; width:min(100%,400px); height:100dvh; margin:0;
    overflow:auto; overscroll-behavior:contain;
    padding:calc(var(--header-height,64px) + 16px) clamp(20px,6vw,36px) calc(24px + env(safe-area-inset-bottom));
    background:#fff; box-shadow:-18px 0 42px #10234440;
  }
  header.mobile-nav-ready.nav-open #primary-nav { display:block; animation:mobile-drawer-in .24s ease-out }
  header.mobile-nav-ready #primary-nav > a:not(.mobile-contact),header.mobile-nav-ready #primary-nav .industry-menu > a {
    display:flex; align-items:center; min-height:52px; padding:8px 10px; border-radius:6px;
    color:#152a4e; font-size:1.125rem; letter-spacing:.035em;
  }
  header.mobile-nav-ready #primary-nav > a.current,header.mobile-nav-ready #primary-nav .industry-menu > a.current { background:#edf4ff; color:#1440b1 }
  .mobile-nav-ready .industry-menu { display:grid; grid-template-columns:1fr auto; width:100%; gap:0 4px }
  .mobile-nav-ready .industry-menu button { width:44px; min-height:44px; color:#21448e }
  .mobile-nav-ready .industry-panel {
    position:static; grid-column:1/-1; width:auto; max-height:none; padding:6px;
    margin:4px 0 8px; border:0; border-radius:8px; box-shadow:none; background:#f1f6ff; overflow:visible;
  }
  .mobile-nav-ready .industry-panel ul { grid-template-columns:1fr; gap:2px }
  .mobile-nav-ready .industry-panel li a { min-height:44px; padding:6px 8px }
  .mobile-nav-ready .industry-panel .industry-overview { padding:8px; margin-top:4px }
  header.mobile-nav-ready #primary-nav > .mobile-contact { display:flex; width:100%; padding:13px; margin-top:8px; color:#fff }
}
@keyframes mobile-drawer-in { from { transform:translateX(100%) } }
@media(prefers-reduced-motion:reduce) {
  header.mobile-nav-ready.nav-open #primary-nav { animation:none }
}
