@font-face {
  font-family: Inter;
  src: url('/media/inter-regular.woff2') format('woff2');
  font-display: swap;
  font-weight: 400;
}
@font-face {
  font-family: Inter;
  src: url('/media/inter-semibold.woff2') format('woff2');
  font-display: swap;
  font-weight: 600;
}
@font-face {
  font-family: 'Inter Display';
  src: url('/media/inter-display-bold.woff2') format('woff2');
  font-display: swap;
  font-weight: 700;
}
@font-face {
  font-family: 'Source Serif';
  src: url('/media/source-serif-italic.woff2') format('woff2');
  font-display: swap;
  font-style: italic;
}
:root {
  color-scheme: dark;
  --bg: #080c0b;
  --paper: #eff6f2;
  --muted: #a0ada5;
  --mint: #93ffd5;
  --line: #a9e5c827;
  --sans: Inter, Arial, sans-serif;
  --display: 'Inter Display', Inter, Arial, sans-serif;
  --serif: 'Source Serif', Georgia, serif;
  --ease: cubic-bezier(.2,.75,.25,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--paper); font: 400 1rem/1.55 var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
img { max-width: 100%; display: block; }
p, figure, h1, h2, h3 { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 5px; }
[id] { scroll-margin-top: 24px; }
.wrap { width: min(100% - 96px, 1192px); margin-inline: auto; }
.section { padding-block: clamp(66px, 8vw, 115px); }
.skip { position: fixed; inset: 10px auto auto 10px; z-index: 5; transform: translateY(-180%); background: var(--mint); color: var(--bg); padding: 10px 16px; }
.skip:focus { transform: none; }

.header { position: relative; z-index: 4; padding-top: 22px; }
.header-inner {
  min-height: 63px; padding: 0 17px 0 22px; border: 1px solid var(--line);
  background: #101714db; border-radius: 14px; box-shadow: inset 0 1px #eefcf015; backdrop-filter: blur(20px);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
}
.brand { width: fit-content; }
.brand img { width: 92px; height: auto; filter: invert(1); }
.nav { display: flex; gap: clamp(18px, 3vw, 43px); align-items: center; font-size: .84rem; color: #d6e1da; }
.nav a:hover, .footer a:hover { color: var(--mint); }
.header-contact { justify-self: end; }
.menu { display: none; }
.button {
  display: inline-flex; width: fit-content; align-items: center; justify-content: center; gap: 16px;
  min-height: 47px; padding: 0 17px; border: 1px solid #b4ffe1; border-radius: 9px;
  background: var(--mint); color: #0c291e; font-size: .82rem; font-weight: 600;
  box-shadow: inset 0 1px 1px #fff9, 0 0 18px #71ffd125;
  transition: box-shadow .22s, background .22s, transform .25s var(--ease);
}
.button:hover { background: #c5ffe9; box-shadow: 0 0 26px #71ffd156; transform: translateY(-2px); }
.button span { position: relative; display: inline-block; width: 12px; height: 12px; flex: 0 0 12px; font-size: 0; }
.button span::before { content: ''; position: absolute; inset: 0 0 auto auto; width: 8px; height: 8px; border-top: 1.5px solid; border-right: 1.5px solid; }
.button span::after { content: ''; position: absolute; top: 5px; left: 0; width: 13px; height: 1.5px; background: currentColor; transform: rotate(-45deg); }
.button-small { min-height: 37px; padding-inline: 12px; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--mint); font-size: .69rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.dot { flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px #8dffcf; }
h2 { font: 700 clamp(2.55rem, 5.7vw, 5.15rem)/.99 var(--display); letter-spacing: -.073em; text-wrap: balance; }
h2 em { color: var(--mint); font: italic 400 1em/.99 var(--serif); letter-spacing: -.055em; }
.section-intro h2, .work h2, .contact h2 { margin-top: 13px; }
.section-intro > p:last-child:not(.eyebrow) { max-width: 35rem; margin-top: 19px; color: var(--muted); }

.hero { position: relative; isolation: isolate; margin-top: -86px; padding-top: clamp(142px, 13.3vw, 190px); }
.hero::before, .mambito::before {
  content: ''; position: absolute; pointer-events: none; inset: 0; z-index: -1;
  background-image: linear-gradient(#a1efcf12 1px, transparent 1px), linear-gradient(90deg, #a1efcf12 1px, transparent 1px);
  background-size: 64px 64px; mask-image: linear-gradient(black, black 48%, transparent 99%);
}
.hero-light {
  position: absolute; z-index: -2; inset: 0; overflow: hidden;
  background: radial-gradient(ellipse at 91% 3%, #285f469d, transparent 46%), radial-gradient(ellipse at 52% 70%, #123a2a8c, transparent 54%);
}
.hero-light::after {
  content: ''; position: absolute; width: 70%; height: 48%; top: -18%; right: -23%; transform: rotate(-36deg);
  background: repeating-linear-gradient(0deg, transparent 0 19px, #8fffd02b 26px 30px, transparent 39px 54px);
  filter: blur(8px); mask-image: linear-gradient(90deg, transparent, black);
}
.hero-copy { text-align: center; animation: enter .65s var(--ease) both; }
.hero-copy .eyebrow { width: fit-content; margin-inline: auto; padding: 5px 11px; letter-spacing: .09em; border: 1px solid var(--line); border-radius: 100px; background: #19282296; }
.hero h1 { margin: 23px auto 18px; font: 700 clamp(3.2rem, 8.2vw, 7.7rem)/.86 var(--display); text-transform: uppercase; letter-spacing: -.075em; word-spacing: .06em; }
.hero h1 em { font-style: normal; color: var(--mint); text-shadow: 0 0 40px #64e4aa30; }
.hero-description { max-width: 36rem; margin-inline: auto; color: #bac9c0; font-size: clamp(.95rem, 1.45vw, 1.09rem); }
.hero-scene { display: grid; grid-template-columns: .88fr 2.5fr .88fr; gap: 8px; align-items: center; margin-top: 13px; }
.hero-aside { position: relative; z-index: 1; align-self: center; }
.hero-aside > p { color: #becdc4; font-size: .87rem; max-width: 15rem; margin-bottom: 14px; }
.hero-differentiator { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
.hero-diagnostic {
  justify-self: end; width: min(100%, 190px); border: 1px solid var(--line);
  background: #111a16c9; border-radius: 11px; padding: 15px; transition: border-color .25s;
}
.hero-diagnostic:hover { border-color: var(--mint); }
.hero-diagnostic p, .hero-diagnostic span { font-size: .74rem; color: #bfcdc4; }
.hero-diagnostic strong { display: block; color: var(--mint); font: 700 1.2rem/1.06 var(--display); letter-spacing: -.035em; margin-block: 8px; }
.stack { position: relative; height: clamp(270px, 31vw, 403px); perspective: 840px; }
.plate {
  position: absolute; top: 48%; left: 50%; width: 61%; max-width: 370px; aspect-ratio: 1.67;
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
  padding: 17px 19px; border: 1px solid #bdffe989; border-radius: 17px;
  box-shadow: inset 0 1px #d9ffed5d, 0 26px 53px #0007;
  transform: translate(-50%,-50%) translate(var(--x),var(--y)) rotateX(24deg) rotateY(-17deg) rotateZ(-15deg) skewX(-13deg);
  animation: float 6s ease-in-out infinite; animation-delay: var(--delay);
}
.plate::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(140deg, transparent 20%, #e1fff622 48%, transparent 64%), repeating-linear-gradient(90deg, transparent 0 26px, #e5fff10a 27px 28px);
}
.plate span { font-size: .68rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.plate b { align-self: flex-end; font: 700 clamp(1.15rem, 2.75vw, 2.1rem)/1 var(--display); letter-spacing: -.055em; }
.plate img { width: clamp(65px, 10vw, 122px); height: auto; filter: invert(1); opacity: .83; }
.plate-back { --x: 23%; --y: 24%; --delay: -.8s; background: linear-gradient(145deg,#385e4d,#94f1c5 55%,#caffe6); color: #17382a; }
.plate-middle { --x: 7%; --y: 5%; --delay: -.4s; background: linear-gradient(145deg,#172522,#29443b 55%,#50796c); }
.plate-front { --x: -8%; --y: -18%; --delay: 0s; background: radial-gradient(ellipse at 90% 0%,#abe8cb9c,transparent 62%), linear-gradient(145deg,#455b53,#778d83 50%,#263e34); }
@keyframes float { 50% { transform: translate(-50%,-50%) translate(var(--x),calc(var(--y) - 9px)) rotateX(25deg) rotateY(-16deg) rotateZ(-14deg) skewX(-13deg); } }

.trust { display: grid; grid-template-columns: 140px minmax(0,1fr) auto; align-items: center; gap: 14px 22px; min-height: 93px; border-block: 1px solid var(--line); }
.trust p { color: var(--muted); font-size: .76rem; }
.logo-rail { overflow:hidden; min-width:0; mask-image:linear-gradient(to right,transparent,#000 7%,#000 93%,transparent); }
.logo-track { display:flex; width:max(200%,1080px); animation:brand-scroll 27s linear infinite; }
.logos { flex:0 0 50%; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); align-items:center; justify-items:center; }
.logo-rail:hover .logo-track,.trust[data-paused=true] .logo-track { animation-play-state:paused; }
.logo-pause { display:grid; place-items:center; width:32px; height:32px; border:1px solid var(--line); border-radius:50%; background:transparent; color:var(--muted); cursor:pointer; }
.logo-pause:hover,.logo-pause:focus-visible { color:var(--mint); }
@keyframes brand-scroll { to { transform:translateX(-50%); } }
@media (prefers-reduced-motion:reduce) {
  .logo-rail { mask-image:none; }
  .trust .logo-track { width:100%; animation:none; }
  .logo-track .logos { flex-basis:100%; }
  .trust .logos-repeat,.trust .logo-pause { display:none; }
}
.logos img { width: min(100%,133px); height: 52px; object-fit: contain; filter: grayscale(1) invert(1); opacity: .75; }

.services > .section-intro, .mambito .section-intro { text-align: center; }
.services > .section-intro .eyebrow, .mambito .section-intro .eyebrow { justify-content: center; }
.services > .section-intro p, .mambito .section-intro p { margin-inline: auto; }
.glass { background: linear-gradient(135deg,#1d2d258a,#0d1512b0); border: 1px solid var(--line); border-radius: 17px; box-shadow: inset 0 1px #e9ffef0e; }
.service-grid { display: grid; grid-template-columns: repeat(12,1fr); gap: 14px; margin-top: 43px; }
.tile { min-width: 0; position: relative; overflow: hidden; padding: 20px 23px 23px; }
.tile h3, .project h3, .demo h3 { font-size: 1.08rem; font-weight: 600; letter-spacing: -.025em; }
.tile p { margin-top: 5px; color: var(--muted); font-size: .86rem; }
.strategy, .follow { grid-column: span 7; }
.creative, .media { grid-column: span 5; }
.service-art { height: 144px; overflow: hidden; position: relative; display: grid; place-items: center; }
.signal { display: flex; align-items: center; justify-content: center; min-width: 0; width: 100%; }
.signal span { padding: 8px 10px; border-radius: 7px; font-size: clamp(.58rem,1.15vw,.75rem); border: 1px solid #aaffdb44; background: #183228; white-space: nowrap; }
.signal span:last-child { background: var(--mint); color: #10291e; }
.signal i { width: 8%; max-width: 56px; flex-shrink: 1; border-top: 1px solid #87d4b281; box-shadow: 0 0 12px #7fffd479; }
.mini-reels { display: flex; align-items: center; justify-content: center; gap: 8px; }
.mini-reels img { width: 62px; height: 99px; border: 1px solid #def7e343; border-radius: 8px; object-fit: cover; filter: saturate(.65); transform: rotate(-12deg) translateY(7px); box-shadow: 0 8px 16px #0008; }
.mini-reels img:nth-child(2) { transform: scale(1.14); z-index: 1; }
.mini-reels img:nth-child(3) { transform: rotate(12deg) translateY(7px); }
.orbit, .pulse { position: absolute; width: 150px; height: 96px; }
.orbit i { position: absolute; inset: 5px 23px; border: 1px solid #9fffd8ab; border-radius: 50%; transform: rotate(26deg); box-shadow: 0 0 13px #7affc926; }
.orbit i:nth-child(2) { transform: rotate(85deg); }
.orbit i:nth-child(3) { transform: rotate(-28deg); }
.orbit b, .pulse-core { width: 22px; height: 22px; border-radius: 50%; background: #b7ffe3; box-shadow: 0 0 25px #a2ffce,0 0 58px #83e9c185; }
.orbit b { position: absolute; inset: 37px auto auto 64px; }
.pulse { width: 100%; height: 80px; background: radial-gradient(ellipse, #a2ffd8c7, #70dfa45e 18%, transparent 69%); filter: blur(13px); }
.pulse::after { content: ''; position: absolute; inset: 32% 5%; background: linear-gradient(90deg,transparent,#a8ffdb,transparent); filter: blur(3px); }
.pulse-core { position: relative; width: 46px; height: 46px; background: linear-gradient(135deg,#070e0b,#172e23); border: 1px solid #b2ffdc; }

.mambito { position: relative; isolation: isolate; border-block: 1px solid var(--line); background: radial-gradient(ellipse at 50% 11%,#133a2bb5,transparent 70%),#0a100d; }
.mambito::before { mask-image: radial-gradient(ellipse,black,transparent 75%); }
.product-grid { max-width: 1090px; margin: 38px auto 0; display: grid; grid-template-columns: .94fr 1.1fr; gap: 17px; align-items: stretch; }
.demo { padding: 21px; display: flex; flex-direction: column; min-width: 0; }
.demo-top { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.demo-top strong { font: 700 1.3rem/1 var(--display); letter-spacing: -.04em; }
.demo-top span { font-size: .69rem; color: var(--muted); }
.demo-controls { display: flex; flex-wrap: wrap; gap: 7px; margin-block: 17px; }
.demo-controls button { border: 1px solid var(--line); background: #111f18; border-radius: 7px; padding: 7px 10px; font-size: .77rem; cursor: pointer; }
.demo-controls button[aria-pressed="true"] { color: #112b20; background: var(--mint); border-color: var(--mint); }
.demo-views { min-height: 210px; border: 1px solid var(--line); background: #0b1510c9; padding: 16px; border-radius: 11px; }
.demo-preview { display: flex; align-items: center; gap: 13px; margin-top: 13px; }
.demo-preview img { flex: 0 0 auto; width: 69px; height: 94px; object-fit: cover; border-radius: 6px; }
.demo-preview strong { font-size: .86rem; }
.demo-preview p { color: var(--muted); font-size: .8rem; margin-top: 4px; }
.demo-preview span { display: inline-block; margin-top: 8px; color: var(--mint); font-size: .71rem; }
.demo-list { list-style: none; padding: 0; margin: 10px 0 0; }
.demo-list li { padding: 9px 0; border-bottom: 1px solid var(--line); color: #bcd0c3; font-size: .86rem; }
/* Framed surfaces share one pointer-driven reflection. */
.optical-frame { position: relative; isolation: isolate; overflow: hidden; }
.optical-frame::before {
  content: ''; position: absolute; z-index: 3; pointer-events: none; inset: 0; border-radius: inherit;
  background: radial-gradient(ellipse 190px 145px at var(--frame-x, 50%) var(--frame-y, 0%), #b3f9de24, transparent 80%);
  opacity: 0; transition: opacity .32s ease;
}
@media (hover: hover) { .optical-frame:hover::before { opacity: 1; } }

.mascot-frame {
  display: grid; grid-template-rows: minmax(265px,1fr) auto; min-width: 0;
  background: #090e0d; border: 1px solid #b9ded547; border-radius: 17px;
  box-shadow: inset 0 1px #d7f2ed23, 0 18px 54px #0004;
}
.mascot-stage {
  position: relative; isolation: isolate; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(ellipse at 51% 43%,#34574f 0%,#172925 38%,#0b1010 76%);
}
.mascot-traces {
  position: absolute; z-index: -1; inset: 0; opacity: .7;
  background: repeating-radial-gradient(ellipse at 50% 50%,transparent 0 37px,#b3dcd61d 38px 39px,transparent 40px 59px),
    linear-gradient(#bbdcd320 1px,transparent 1px) center / 100% 50%,
    linear-gradient(90deg,#bbdcd320 1px,transparent 1px) center / 50% 100%;
  mask-image: radial-gradient(ellipse,black 40%,transparent 86%);
}
.mascot {
  --mascot-size: clamp(145px, 16vw, 190px);
  width: var(--mascot-size); aspect-ratio: 10/9; display: flex; padding: calc(var(--mascot-size) * .055);
  border-radius: calc(var(--mascot-size) * .12);
  background: linear-gradient(130deg,#66ffb3a8 0% 26%,#20b068 94%);
  box-shadow: inset 0 5px 21px #ffffffd9,inset 0 -8px 30px #602a1c99,inset -9px 0 27px #602a1c80,0 17px 31px #0008;
  transform: translate(var(--head-x,0px),var(--head-y,0px)) rotate(var(--head-tilt,0deg));
  transition: transform .22s ease-out;
}
.mascot-face {
  flex: 1; display: flex; align-items: center; justify-content: center; overflow: hidden;
  gap: var(--eye-gap, calc(var(--mascot-size) * .19));
  border-radius: calc(var(--mascot-size) * .08);
  background: linear-gradient(124deg,#66ffb3a8 0% 46%,#20b068 100%);
  box-shadow: inset -8px 0 29px #84402c8c,inset 0 -5px 23px #84402c73,inset 0 3px 13px #fffffff2;
  transition: gap .22s ease-out;
}
.mascot-eye {
  position: relative; flex: 0 0 auto; overflow: hidden; width: calc(var(--mascot-size) * .221);
  height: calc(var(--mascot-size) * .232); border-radius: 50%;
  background: radial-gradient(ellipse at 50% 42%,#1e1614 52%,#000f 100%);
  box-shadow: 0 3px 8px #461e1473;
  transform: translate(var(--eye-x,0px),var(--eye-y,0px));
  transition: transform .2s ease-out;
  animation: mascot-blink 4.8s infinite;
}
.mascot-eye i {
  position: absolute; width: 72%; height: 56%; top: 34%; left: 38%; border-radius: 50%;
  opacity: .5; transform: translate(-50%,-50%) translate(var(--glint-x,0px),var(--glint-y,0px));
  background: radial-gradient(ellipse,#fffffff2,#ffffff73 38%,transparent 72%);
}
@keyframes mascot-blink {
  0%,89%,95%,100% { scale: 1 1; }
  92% { scale: 1 .08; }
}
.mascot-frame figcaption {
  display: flex; align-items: center; min-height: 50px; gap: 8px; padding: 11px 17px;
  border-top: 1px solid var(--line); font-size: .83rem; font-weight: 600;
}
.mascot-frame figcaption span:last-child { margin-left: auto; color: var(--muted); font-size: .7rem; font-weight: 400; }

.chrome-piece {
  pointer-events: none; display: block; aspect-ratio: 1.1; border-radius: 27%;
  border: 1px solid #d7fff68c;
  background: radial-gradient(ellipse at 48% 52%,#0b1013 24%,transparent 66%),
    conic-gradient(from 208deg at 50% 49%,#111817,#526663,#daf8e9,#cfb5db,#222929,#101213,#afded0,#ffeac3,#111817);
  box-shadow: inset 1px 2px 5px #e8fff6bb,inset -2px -4px 10px #0009,0 13px 22px #0008;
}
.mascot-orbit { position: absolute; width: 54px; right: 10%; top: 14%; rotate: -28deg; opacity: .74; }

.access-card {
  grid-column: 1/-1; display: flex; justify-content: space-between; align-items: center; gap: 12px 24px;
  padding: 19px 22px; background: linear-gradient(112deg,#1d2d25,#101916 70%);
}
.access-copy h3 { font: italic 400 1.6rem/1.04 var(--serif); letter-spacing: -.035em; }
.access-copy p { color: #c2d0c6; font-size: .82rem; margin-top: 5px; }
.access-card .button { flex: 0 0 auto; }

.work-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 38px; margin-bottom: 29px; }
.work-description { max-width: 18rem; color: var(--muted); }
.reel-audio-note { margin: .55rem 0 0; color: var(--mint); font-size: .75rem; }
.project-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.project-cover { position: relative; isolation: isolate; display: block; aspect-ratio: 5/6; overflow: hidden; border-radius: 13px; border: 1px solid var(--line); background: #15241d; }
.project-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.project-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 60%,#050b08a8); pointer-events: none; }
.project-cover:hover img { transform: scale(1.05); }
.project h3 { margin-top: 10px; }
.project p { color: var(--muted); font-size: .78rem; margin-top: 4px; }
.team { background: radial-gradient(ellipse at 91% 4%,#29302f,#101515 50%,#0d1410 87%); border-block: 1px solid var(--line); }
.team-grid { display: grid; gap: 15px; }
.team-intro {
  padding: clamp(24px,5vw,56px); padding-right: clamp(90px,20vw,250px);
  background: linear-gradient(128deg,#303537 0%,#101517 57%,#090d0e 100%);
  border: 1px solid #b6d4cc38; border-radius: 16px;
}
.team-intro h2 { font-size: clamp(2.55rem, 5.2vw, 4.75rem); text-wrap: initial; }
.team-chrome { position: absolute; width: clamp(68px,16vw,210px); top: 50%; right: 7%; translate: 0 -50%; rotate: -29deg; z-index: -1; }
.portraits { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.portraits figure {
  border-radius: 15px; border: 1px solid #c7dfd53b;
  background: linear-gradient(145deg,#22292a,#0e1613 70%);
}
.portrait-image { overflow: hidden; background: #111618; position: relative; }
.portrait-image::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg,transparent 55%,#080e0d91); }
.portraits img {
  width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; object-position: center 20%; filter: grayscale(1) contrast(1.06);
  transition: transform .55s var(--ease),filter .55s var(--ease);
}
.portraits figure:hover img { transform: scale(1.045); filter: grayscale(.23) contrast(1.03); }
.portraits figcaption { display: grid; gap: 5px; padding: 15px 18px 17px; border-top: 1px solid var(--line); line-height: 1.25; }
.portraits figcaption strong { font: 700 clamp(1.02rem,2.35vw,1.65rem)/1 var(--display); letter-spacing: -.035em; }
.portraits figcaption span { color: #c3d3c9; font-size: .76rem; }
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,7vw,96px); }
.faq { align-items: start; }
.questions { border-top: 1px solid var(--line); }
.questions details { border-bottom: 1px solid var(--line); }
.questions summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; list-style: none; cursor: pointer; padding: 16px 0; font-size: .92rem; font-weight: 600; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: '+'; color: var(--mint); font-size: 1.23rem; line-height: 1; font-weight: 400; }
.questions details[open] summary::after { content: '−'; }
.questions details p { color: var(--muted); font-size: .85rem; padding: 0 15px 16px 0; }
.contact-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px 40px; align-items: center; padding: clamp(22px,5vw,63px); background: radial-gradient(ellipse at 0 0,#28573f,transparent 70%),#101a15; }
.contact-inner > div:last-child p { color: #c1d8c8; margin-bottom: 13px; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.contact-direct { color: #c1d8c8; font-weight: 600; padding-block: 10px; text-decoration: underline; text-underline-offset: .2em; }
.contact-direct:hover { color: #c5ffe9; }
.footer { display: flex; flex-wrap: wrap; align-items: center; gap: 13px 22px; min-height: 96px; padding-block: 20px; font-size: .76rem; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 9px 16px; margin-left: auto; }

@keyframes enter { from { opacity: .15; transform: translateY(13px); } to { opacity: 1; transform: none; } }
.revealed { animation: enter .65s var(--ease) both; }

@media (max-width: 850px) {
  .wrap { width: calc(100% - 48px); }
  .hero h1 { font-size: clamp(3.05rem, 9.3vw, 6.5rem); }
  .hero-scene { grid-template-columns: 1fr 2fr; }
  .hero-diagnostic { grid-column: 1/-1; justify-self: center; width: auto; margin: 0 0 18px; }
  .stack .plate { width: 70%; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 34px); }
  .section { padding-block: 62px; }
  .header { padding-top: 12px; }
  .header-inner { grid-template-columns: 1fr auto; min-height: 57px; padding-inline: 12px; }
  .header-contact { display: none; }
  .menu { display: inline-flex; gap: 8px; align-items: center; padding: 7px 10px; border-radius: 7px; border: 1px solid var(--line); background: transparent; font-size: .79rem; cursor: pointer; }
  .nav { order: 3; grid-column: 1/-1; flex-wrap: wrap; gap: 9px 17px; padding-bottom: 13px; }
  .nav[data-mobile-hidden="true"] { display: none; }
  .hero { margin-top: -69px; padding-top: 119px; }
  .hero h1 { font-size: clamp(1.86rem, 9.05vw, 4rem); margin-block: 18px 14px; letter-spacing: -.075em; }
  .hero-description { font-size: .9rem; }
  .hero-scene { grid-template-columns: 1fr; margin-top: 14px; gap: 8px; }
  .stack { grid-row: 1; height: clamp(215px,62vw,334px); }
  .stack .plate { width: 67%; padding: 12px; border-radius: 12px; }
  .plate span { font-size: .56rem; }
  .hero-aside { text-align: center; margin-bottom: 29px; }
  .hero-aside > p { margin-inline: auto; }
  .trust { grid-template-columns: minmax(0,1fr) auto; padding-block: 13px; gap:7px 10px; }
  .logo-rail { grid-column:1/-1; grid-row:2; }
  .logo-pause { grid-column:2; grid-row:1; }
  .logo-track { width:max(200%,880px); animation-duration:21s; }
  .trust br { display: none; }
  .logos { gap: 7px; }
  .logos img { height: 31px; }
  .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 25px; }
  .tile { grid-column: auto; padding: 9px 10px 12px; border-radius: 10px; }
  .tile h3 { font-size: .9rem; }
  .tile p { font-size: .74rem; }
  .service-art { height: 94px; }
  .signal span { padding: 4px 3px; font-size: .52rem; }
  .signal span:first-child { display: none; }
  .signal i:first-of-type { display: none; }
  .mini-reels img { width: 38px; height: 63px; }
  .product-grid, .team-grid, .faq, .contact-inner { grid-template-columns: 1fr; }
  .product-grid, .work-heading { gap: 12px; }
  .demo { padding: 13px; }
  .demo-views { min-height: 175px; padding: 12px; }
  .access-card { flex-wrap: wrap; padding: 16px; }
  .mascot-frame { grid-template-rows: 218px auto; }
  .team-intro { padding-right: 24px; }
  .team-intro .team-chrome { top: 35px; right: 14px; opacity: .55; }
  .team-intro h2 { max-width: 90%; }
  .portraits { gap: 8px; }
  .portraits img { aspect-ratio: 4/5; }
  .portraits figcaption { padding: 10px; }
  .portraits figcaption span { font-size: .68rem; }
  .work-heading { display: grid; }
  .project-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 71%; overflow-x: auto; padding: 5px 5px 13px; margin-inline: -5px; scroll-snap-type: x mandatory; scroll-padding-inline: 5px; }
  .project { scroll-snap-align: start; }
  .footer-links { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.demo-metrics { display: grid; grid-template-columns: repeat(auto-fit,minmax(110px,1fr)); gap: 8px; margin: 13px 0 0; }
.demo-metrics > div { padding: 11px; background: #172b22; border: 1px solid var(--line); border-radius: 8px; }
.demo-metrics dt { color: var(--paper); font-size: .8rem; }
.demo-metrics dd { margin: 2px 0 0; color: var(--muted); font-size: .73rem; }

/* Mambito chat */
.chat-theater {
  min-height: clamp(510px, 49vw, 640px); max-width: 1110px; margin-inline: auto;
  display: grid; place-items: center; padding: clamp(44px, 7vw, 95px) clamp(15px, 5vw, 64px);
  border: 1px solid #d6fff343; border-radius: clamp(24px, 5vw, 60px);
  background: radial-gradient(ellipse at 50% 27%,#152725 0%,#0d1716 37%,#080d0c 78%);
  box-shadow: inset 0 1px 0 #ddfff52b,inset 0 -40px 120px #0205048c,0 35px 90px #0008;
}
.chat-depth { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.chat-depth::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle,#b7ead157 0 1px,transparent 1.5px) 0 0/17px 17px;
  mask-image: radial-gradient(ellipse at center,transparent 31%,#0008 76%);
}
.chat-depth::after {
  content: ''; position: absolute; inset: -15% -14%; opacity: .86;
  background: repeating-linear-gradient(98deg,#d6fbef24 0 1px,transparent 2px 7px),
    radial-gradient(ellipse at 10% 49%,#80aaae7d 0%,transparent 35%),
    radial-gradient(ellipse at 89% 61%,#5fa78b62 0%,transparent 37%),
    radial-gradient(ellipse at 50% 9%,#77e2c739 0%,transparent 45%);
  mask-image: radial-gradient(ellipse at 50% 50%,transparent 24%,#000 64%,transparent 98%);
  transform: rotate(-7deg) scale(1.05); filter: blur(1px);
  animation: chat-drift 13s ease-in-out infinite alternate;
}
@keyframes chat-drift { to { transform: translate(2%, 2%) rotate(-4deg) scale(1.12); opacity: .62; } }
.chat-inner { width: min(100%, 660px); min-width: 0; }
.chat-welcome { text-align: center; margin-bottom: 28px; }
.chat-welcome h2 { font-size: clamp(2.4rem, 5.65vw, 4.85rem); margin-top: 8px; }
.chat-welcome p { color: #b9cbc3; font-size: clamp(.91rem, 1.5vw, 1.05rem); margin: 13px auto 0; max-width: 36ch; }
.chat-mascot-stage {
  width: 155px; height: 133px; margin-inline: auto; overflow: visible;
  background: radial-gradient(ellipse,#a1ffdf2c,transparent 67%);
}
.chat-mascot-stage .mascot { --mascot-size: 95px; box-shadow: inset 0 2px 11px #ffffffad,inset 0 -4px 16px #602a1c85,0 8px 34px #86ffbf39; }
.chat-mascot-stage .mascot-face { box-shadow: inset -4px 0 14px #84402c80,inset 0 2px 8px #ffffffe0; }
.chat-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.chat-composer {
  display: flex; align-items: flex-end; gap: 11px; position: relative;
  padding: 8px 9px 8px 17px; border: 1px solid #d2f7e45f; border-radius: 32px;
  background: linear-gradient(118deg,#dcfff01b 0%,transparent 23%,#98ccbb1f 47%,transparent 78%,#e9fff41a),
    #101715de;
  box-shadow: inset 0 1px #edfff33b,0 13px 34px #0008;
  backdrop-filter: blur(16px); transition: border-color .25s,box-shadow .25s;
}
.chat-composer:focus-within { border-color: #abefceab; box-shadow: inset 0 1px #edfff351,0 0 26px #93ffd522,0 13px 30px #0008; }
.composer-glint {
  flex: 0 0 16px; width: 16px; height: 16px; margin-bottom: 14px; border-radius: 50%;
  border: 1px solid #edfff79c; box-shadow: inset -3px -3px 7px #bcfff771,0 0 13px #c8ffee69;
  background: radial-gradient(circle at 68% 68%,#d8fff3d9,#6ba89b34 63%);
}
.chat-composer textarea {
  display: block; width: 100%; min-width: 0; min-height: 43px; max-height: 128px; field-sizing: content;
  resize: none; border: 0; outline: 0; padding: 11px 0; background: transparent; color: var(--paper);
  font: inherit; font-size: max(16px,.98rem); line-height: 1.3;
}
.chat-composer textarea::placeholder { color: #a9beb4; }
.chat-send {
  flex: 0 0 43px; height: 43px; display: grid; place-items: center; padding: 0;
  border: 1px solid #c9ffe7; border-radius: 50%; background: linear-gradient(145deg,#d4ffee,#87ddb6); color: #123328;
  cursor: pointer; box-shadow: inset 0 1px #fff9,0 1px 12px #9cffe150;
}
.chat-send:hover { background: #d9ffef; }
.chat-send span { width: 14px; height: 14px; position: relative; }
.chat-send span::before { content: ''; position: absolute; inset: 1px auto auto 3px; width: 8px; height: 8px; border-top: 2px solid; border-left: 2px solid; transform: rotate(45deg); }
.chat-send span::after { content: ''; position: absolute; inset: 2px auto auto 6px; width: 2px; height: 12px; background: currentColor; }
.chat-example {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 9px; width: fit-content;
  margin: 14px auto 0; padding: 8px 12px; border: 1px solid #9bc9b73e; border-radius: 12px;
  background: #14231ec7; color: #b4c8be; font-size: .75rem; line-height: 1.45; cursor: pointer;
}
.chat-example strong { color: #dcfcec; }
.chat-example:hover { border-color: var(--mint); background: #19332a; }
.chat-privacy { margin-top: 11px; color: #a6bcb1; font-size: .69rem; text-align: center; }
.chat-exchange { display: grid; gap: 10px; margin-bottom: 12px; }
.chat-user, .diagnosis-message { min-width: 0; max-width: 96%; padding: 11px 14px; border: 1px solid #88d7b438; overflow-wrap: anywhere; }
.chat-user { justify-self: end; border-radius: 13px 13px 3px 13px; background: #19342b; color: #e1f8ee; font-size: .88rem; white-space: pre-wrap; }
.diagnosis-message { justify-self: start; border-radius: 3px 13px 13px; background: #14221e; }
.diagnosis-message h3 { margin-bottom: 6px; color: var(--mint); font-size: 1.02rem; }
.diagnosis-message p { color: #dfede5; font-size: .88rem; }
.diagnosis-message p + p { margin-top: 6px; }
.diagnosis-options, .diagnosis-next { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 13px; }
.chat-theater [hidden] { display: none; }
.diagnosis-options button, .diagnosis-reset { padding: 6px 11px; border: 1px solid #9bc9b75a; border-radius: 16px; background: #111d18; cursor: pointer; font-size: .76rem; }
.diagnosis-options button:hover, .diagnosis-reset:hover { background: #234438; }
.diagnosis-offline { margin-top: 12px; font-size: .82rem; }
.diagnosis-offline a { color: var(--mint); text-decoration: underline; }

@media (max-width: 850px) { .nav { gap: 13px; } }
@media (max-width: 640px) {
  .hero-diagnostic { margin-bottom: 20px; }
  .chat-theater { padding-block: 34px 43px; }
  .chat-composer { gap: 8px; padding-left: 12px; }
  .composer-glint { flex-basis: 12px; width: 12px; height: 12px; margin-bottom: 16px; }
  .chat-mascot-stage { height: 112px; }
  .chat-welcome h2 { font-size: clamp(2.15rem, 9vw, 3.2rem); }
  .chat-example { text-align: left; justify-content: start; }
}

/* One continuous entrance, from Mambito's face to the Mambo wordmark. */
.intro-playing .site-intro {
  --intro-duration: 1.72s;
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  background: #000;
  overflow: hidden;
  pointer-events: none;
  animation: intro-reveal var(--intro-duration) both;
}
.intro-emblem {
  width: clamp(166px, 25vw, 310px);
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
  padding: 1px;
  isolation: isolate;
  border-radius: 25%;
  background: linear-gradient(135deg,#838a85 0%,#323734 29%,#0a0d0c 52%,#252b27 100%);
  animation: intro-emblem var(--intro-duration) cubic-bezier(.2,.65,.22,1) both;
}
.intro-emblem::before {
  content: '';
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background: #020303;
}
.intro-tile {
  position: relative;
  width: 80%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  border-radius: 23%;
  background:
    radial-gradient(ellipse at 50% 48%,#252c28 0%,transparent 62%),
    linear-gradient(150deg,#141615,#050606 69%);
  box-shadow: inset 0 1px 0 #d7e2db12;
}
.intro-tile > * { grid-area: 1 / 1; }
.intro-mambito.mascot {
  --mascot-size: clamp(72px, 12vw, 145px);
  box-shadow: inset 0 3px 12px #fff9,inset 0 -6px 20px #0b4f35c4,0 0 32px #73f5b442;
  animation: intro-mambito var(--intro-duration) cubic-bezier(.4,0,.18,1) both;
}
.intro-mambito .mascot-face { box-shadow: inset 0 2px 8px #fff9,inset 0 -6px 18px #1c8759a8; }
.intro-mambito .mascot-eye { animation: intro-eyes var(--intro-duration) both; }
.intro-light {
  width: 66%;
  height: 2px;
  border-radius: 50%;
  background: #b4ffe0;
  box-shadow: 0 0 8px #93ffd5,0 0 25px 3px #57e9ae66;
  animation: intro-light var(--intro-duration) both;
}
.intro-wordmark {
  width: 74%;
  height: auto;
  filter: invert(1) drop-shadow(0 0 15px #c8ffe635);
  animation: intro-logo var(--intro-duration) cubic-bezier(.17,.67,.17,1) both;
}
@keyframes intro-reveal {
  0%, 78% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}
@keyframes intro-emblem {
  0% { opacity: .42; transform: scale(.92); }
  18%, 76% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.09); }
}
@keyframes intro-mambito {
  0% { opacity: 0; transform: scale(.75); }
  17%, 35% { opacity: 1; transform: scale(1); }
  48% { opacity: .76; transform: scale(1.09,.08); }
  57%, 100% { opacity: 0; transform: scale(1.27,.01); }
}
@keyframes intro-eyes {
  0%, 26%, 37% { scale: 1; }
  31%, 44%, 100% { scale: 1 .09; }
}
@keyframes intro-light {
  0%, 37% { opacity: 0; transform: scaleX(.24); }
  49% { opacity: .92; transform: scaleX(1); }
  65%, 100% { opacity: 0; transform: scaleX(1.36); }
}
@keyframes intro-logo {
  0%, 43% { opacity: 0; clip-path: inset(49% 0); transform: scale(.92); }
  63%, 83% { opacity: 1; clip-path: inset(0); transform: scale(1); }
  100% { opacity: 0; clip-path: inset(0); transform: scale(1.025); }
}
@media (prefers-reduced-motion: reduce) {
  .intro-playing .site-intro { display: none; }
}

.service-flow .section-intro { text-align: center; margin-bottom: clamp(26px, 5vw, 46px); }
.service-flow .section-intro > p { max-width: 39rem; margin-inline: auto; }
.flow-frame {
  padding: clamp(16px, 4vw, 42px);
  border-radius: clamp(20px, 4vw, 34px);
  background: radial-gradient(ellipse at 48% 100%, #1b43336b, transparent 70%), #0e1613;
}
.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 4.5vw, 58px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.flow-step {
  position: relative;
  min-width: 0;
  padding: clamp(15px, 2.5vw, 27px);
  border: 1px solid #c5ffe326;
  border-radius: 16px;
  background: linear-gradient(145deg, #253b31a0, #101a16 80%);
  box-shadow: inset 0 1px #effff11a;
}
.flow-step:last-child {
  border-color: #93ffd55c;
  background: radial-gradient(ellipse at 105% 110%, #26654b70, transparent 76%), #182d24;
}
.flow-step:not(:last-child)::after {
  content: '›' / '';
  position: absolute;
  inset: 0 auto 0 100%;
  width: clamp(16px, 4.5vw, 58px);
  display: grid;
  place-items: center;
  color: var(--mint);
  font-size: 1.5rem;
}
.flow-step h3, .flow-intelligence h3 {
  font: 700 clamp(1rem, 1.7vw, 1.3rem)/1.15 var(--display);
  letter-spacing: -.025em;
}
.flow-step p, .flow-intelligence p { margin-top: 8px; color: #becdc4; font-size: .9rem; line-height: 1.48; }
.flow-icon {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  border: 1px solid #b5ffdb3a;
  border-radius: 11px;
  padding: 10px;
  margin-bottom: 16px;
  background: radial-gradient(ellipse at 20% 10%, #93ffd52b, transparent 95%), #152922;
  color: var(--mint);
}
.flow-icon i { display: block; background: currentColor; }
.flow-offer { flex-direction: column; align-items: flex-start; justify-content: center; }
.flow-offer i { height: 2px; width: 100%; border-radius: 2px; }
.flow-offer i:last-child { width: 63%; }
.flow-campaign i { width: 3px; height: 8px; border-radius: 3px; }
.flow-campaign i:nth-child(2) { height: 13px; }
.flow-campaign i:nth-child(3) { height: 19px; }
.flow-message { align-items: center; position: relative; gap: 2px; }
.flow-message::before { content: ''; position: absolute; inset: 12px 10px; border: 1px solid currentColor; border-radius: 5px 5px 5px 1px; }
.flow-message i { width: 2px; height: 2px; border-radius: 50%; }
.flow-intelligence {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.6vw, 23px);
  margin-top: 26px;
  padding: clamp(14px, 2.6vw, 24px);
  border: 1px solid #93ffd535;
  border-radius: 16px;
  background: linear-gradient(115deg, #2b554066, #102018);
}
.flow-intelligence::before {
  content: '';
  position: absolute;
  inset: -27px auto 100% 50%;
  width: 1px;
  background: linear-gradient(#93ffd522, #93ffd58a);
}
.flow-intelligence .mascot { --mascot-size: 47px; flex: none; }
.flow-intelligence h3 { color: var(--mint); }
.flow-intelligence p { max-width: 62ch; margin-bottom: 0; }

.project-grid { gap: clamp(13px, 2vw, 22px); }
.project-cover {
  border-radius: clamp(15px, 2vw, 25px);
  border-color: #def9e747;
  background: #111b16;
  box-shadow: 0 18px 48px -32px #000c;
  transition: transform .42s var(--ease), border-color .42s var(--ease), box-shadow .42s var(--ease);
}
.project-cover > img { transition: transform .68s var(--ease); }
.project-cover::after { background: linear-gradient(180deg, #0b141220, transparent 30%, transparent 42%, #0a110f91 87%, #080e0cd9); }
.project-caption {
  position: absolute;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  gap: 12px;
  inset: auto 9px 9px;
  padding: clamp(12px, 1.9vw, 20px);
  border: 1px solid #f0fff531;
  border-radius: clamp(11px, 1.5vw, 17px);
  background: linear-gradient(135deg, #cceadd22, #0b1711b3 70%);
  backdrop-filter: blur(18px) saturate(1.22);
  box-shadow: inset 0 1px #effff321;
}
.project-caption h3 { margin: 0; color: #f5fff8; font-size: clamp(1rem, 1.7vw, 1.28rem); }
.project-caption p { color: #d6e6dc; line-height: 1.35; font-size: .81rem; }
@media (hover: hover) {
  .project-cover:hover { transform: translateY(-4px); border-color: #c7ffdf9f; box-shadow: 0 20px 42px -23px #69f0b44f; }
}
@media (max-width: 680px) {
  .flow-steps { grid-template-columns: 1fr; gap: 15px; }
  .flow-step { padding: 15px 15px 15px 68px; }
  .flow-icon { position: absolute; top: 15px; left: 14px; margin: 0; }
  .flow-step:not(:last-child)::after { inset: 100% 0 auto; width: auto; height: 15px; rotate: 90deg; line-height: 0; }
  .flow-intelligence::before { left: 38px; }
  .flow-intelligence { align-items: flex-start; }
  .flow-intelligence .mascot { --mascot-size: 39px; }
  .project-grid { grid-auto-columns: 83%; }
}

/* Floating glass navigation stays in view as the page scrolls. */
.header {
  position: sticky;
  top: 0;
  z-index: 12;
  padding-top: max(16px, env(safe-area-inset-top));
}
.header-inner {
  grid-template-columns: minmax(105px,1fr) auto minmax(246px,1fr);
  gap: clamp(10px,2vw,22px);
  border-color: #b3f4d53e;
  background: linear-gradient(123deg,#baffdb17,transparent 53%,#92ffd50b), #0c1712ad;
  box-shadow: inset 0 1px #edfff329,0 13px 38px -19px #000d;
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
}
.skip { z-index: 13; }
main[id], main section[id] { scroll-margin-top: 88px; }
.header-actions,.header-social { display: flex; align-items: center; gap: 7px; }
.header-actions { justify-self: end; }
.header-contact { white-space: nowrap; }
.social-button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #bcf5d834;
  border-radius: 9px;
  color: #d6ede1;
  background: linear-gradient(155deg,#c4ffe315,#b4e7cf08);
  box-shadow: inset 0 1px #ddffe518;
  transition: color .2s ease,background .2s ease,border-color .2s ease,box-shadow .2s ease,transform .2s var(--ease);
}
.social-button svg { width: 17px; height: 17px; }
.social-button:is(:hover,:focus-visible) {
  color: #0a2b1d;
  background: var(--mint);
  border-color: #c6ffe8;
  box-shadow: 0 0 19px #93ffd574,inset 0 1px #ffffff99;
  transform: translateY(-1px);
}
@media (max-width: 850px) {
  .header-inner { grid-template-columns: minmax(75px,1fr) auto minmax(237px,1fr); }
  .header-inner .brand img { width: 77px; }
}
@media (max-width: 700px) {
  .header { padding-top: max(9px, env(safe-area-inset-top)); }
  .header-inner {
    grid-template-columns: minmax(48px,1fr) auto auto;
    gap: 6px;
    padding-inline: 8px;
    min-height: 56px;
  }
  .header-inner .brand img { width: clamp(48px,17vw,70px); }
  .header-inner .header-contact { display: inline-flex; min-height: 33px; padding-inline: 8px; font-size: .72rem; }
  .header-inner .header-contact span { display: none; }
  .header-actions,.header-social { gap: 4px; }
  .social-button { width: 34px; height: 34px; }
  .social-button svg { width: 16px; height: 16px; }
  .header-inner .menu {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #b4e7cf0b;
    cursor: pointer;
  }
  .header .nav { order: 3; grid-column: 1/-1; flex-wrap: wrap; gap: 9px 17px; padding: 7px 5px 13px; }
  .header .nav[data-mobile-hidden="true"] { display: none; }
  main[id],main section[id] { scroll-margin-top: 72px; }
}

/* The glass cards sit over a shared wash of mint light. */
.niches {
  position: relative;
  isolation: isolate;
  border-top: 1px solid var(--line);
}
.niches::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 8% 0 4%;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 25% 40%, #216b5852, transparent 44%),
    radial-gradient(ellipse at 75% 70%, #234e4138, transparent 48%);
  filter: blur(26px);
}
.niches .section-intro { margin-bottom: clamp(24px, 3vw, 37px); }
.niches .section-intro > p:last-child { max-width: 54ch; }
.niche-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.niche-card {
  padding: clamp(18px, 2.3vw, 29px);
  border: 1px solid #b8f8dd30;
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 0% 0%, #8bf1cb19, transparent 65%),
    linear-gradient(150deg, #223a30a8, #111a17e0 67%, #13251bba);
  box-shadow: inset 0 1px #daffed1f, 0 10px 29px -14px #000b;
  -webkit-backdrop-filter: blur(17px);
  backdrop-filter: blur(17px);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.niche-card:nth-child(3n + 2) {
  background:
    radial-gradient(ellipse at 100% 0%, #8bf1cb1c, transparent 64%),
    linear-gradient(145deg, #1b2a26c0, #101a17e0 65%, #162820ba);
}
.niche-card::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(#dafee83d 1px, transparent 1px);
  background-size: 7px 7px;
  mask-image: radial-gradient(ellipse 150px 92px at 100% 0%, #000, transparent);
}
@media (hover: hover) {
  .niche-card:hover {
    border-color: #a0fddd69;
    box-shadow: inset 0 1px #e2fff04a, 0 15px 27px -16px #010c08;
  }
}
.niche-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  margin-bottom: 18px;
  border: 1px solid #a9ffdc49;
  border-radius: 12px;
  color: var(--mint);
  background: linear-gradient(151deg, #a3f9d628, #4ba48413);
  box-shadow: inset 0 1px #e2fff13d, 0 5px 20px #78ffca12;
}
.niche-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.niche-card h3 {
  font: 600 clamp(1.25rem, 2.2vw, 1.65rem)/1.15 var(--display);
  letter-spacing: -.045em;
}
.niche-card dl {
  margin: 19px 0 0;
  padding-top: 15px;
  border-top: 1px solid #b8f8dd22;
}
.niche-card dt { color: var(--mint); font-size: .875rem; font-weight: 600; }
.niche-card dd { margin: 3px 0 0; color: #c6d6cc; font-size: 1rem; line-height: 1.45; }
.niche-card dd + dt { margin-top: 13px; }
.niche-next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
  margin-top: 24px;
  text-align: center;
}
.niche-next p { color: var(--muted); }
@media (max-width: 900px) {
  .niche-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
  .niche-grid { grid-template-columns: minmax(0, 1fr); }
  .niche-card h3 { font-size: 1.4rem; }
  .niche-next { margin-top: 20px; }
}

/* The existing poster grid remains available without JavaScript. */
.orbit-preview { display: none; }
.work:has(.reel-orbit) {
  overflow: clip;
  background: radial-gradient(ellipse at 50% 62%, #1c443124, transparent 64%);
}
.project-grid.reel-orbit {
  position: relative;
  display: block;
  width: 100%;
  height: calc(clamp(124px, 25vw, 264px) * 16 / 9 + 34px);
  margin: 0 auto;
  padding: 0;
  overflow: visible;
  perspective: 920px;
}
.reel-orbit .project {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(124px, 25vw, 264px);
  transform: translate(-50%, -50%);
}
.reel-orbit .project-cover {
  aspect-ratio: 9 / 16;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  box-shadow: 0 18px 43px -22px #000e;
}
.reel-orbit .project-cover:hover { transform: none; }
.reel-orbit .project-cover img {
  object-fit: cover;
  -webkit-user-drag: none;
}
.reel-orbit .project-cover:hover img { transform: none; }
.reel-orbit .orbit-preview {
  display: block;
  pointer-events: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .3s ease;
}
.reel-orbit .orbit-preview.is-playing { opacity: 1; }
.reel-orbit .project-caption { padding: 12px; align-items: center; }
@media (max-width: 589px) {
  .project-grid.reel-orbit { height: calc(clamp(145px, 46vw, 220px) * 16 / 9 + 27px); perspective: 680px; }
  .reel-orbit .project { width: clamp(145px, 46vw, 220px); }
  .reel-orbit .project-caption { inset: auto 6px 6px; padding: 8px; gap: 5px; }
  .reel-orbit .project-caption h3 { font-size: .92rem; }
  .reel-orbit .project-caption p { font-size: .69rem; }
}
