/* Kaveen Consultants – site design (v3).
   Colours from the logo (teal #02BDB4, deep teal #015F5A), white cotton-paper background, near-black body text.
   Every effect is progressive: without JavaScript, scroll-driven CSS or 3D support the content is simply shown. */

@property --p { syntax: "<number>"; inherits: true; initial-value: 0; }

:root {
  --teal: #02BDB4; --teal-2: #029A93; --teal-3: #017E78;
  --deep: #015F5A; --deep-2: #014C48; --deep-3: #013A37;
  --ink: #101716; --ink-2: #39443F; --mute: #66726D;
  --paper: #FFFFFF; --paper-2: #F1F3F0; --mint: #E2F4F1; --line: #DDE2DC; --white: #FFFFFF;
  --r: 18px; --ease: cubic-bezier(.2,.75,.2,1); --wrap: 1200px;
}
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; interpolate-size: allow-keywords; }
body { font: 400 17px/1.65 "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: #fff;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body::before { /* soft paper fibre */
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='520'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.014 .022' numOctaves='4' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .2 0 0 0 0 .19 0 0 0 -1.6 1.25'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"); }
body::after { /* fine grain */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .06; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.bg-lines { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
img, svg { display: block; max-width: 100%; }
a { color: var(--deep); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.025em; font-weight: 750; text-wrap: balance; color: var(--ink); }
p { text-wrap: pretty; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2.5px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 10px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }
main:focus { outline: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--deep); }
.eyebrow::before { content: ""; flex: none; width: 22px; height: 6px; border-radius: 1px; background: linear-gradient(90deg, var(--teal) 0 45%, transparent 45% 55%, var(--deep) 55%); }
.lede { font-size: 20px; line-height: 1.6; color: var(--ink-2); max-width: 46em; }
.h2 { font-size: clamp(30px, 4vw, 50px); margin-top: 14px; max-width: 20em; }
.sec { padding: clamp(70px, 10vw, 130px) 0; position: relative; }
.sec.first { padding-top: clamp(30px, 5vw, 60px); }
.sec.tight { padding-bottom: 40px; }
.sec-head { display: grid; gap: 16px; margin-bottom: 50px; max-width: 900px; }
.split-head { display: flex; justify-content: space-between; align-items: end; gap: 30px 40px; flex-wrap: wrap; margin-bottom: 50px; }
.split-head .sec-head { margin-bottom: 0; }
.more-row { margin-top: 22px; }
.prose p { color: var(--ink-2); }
.prose p + p { margin-top: 14px; }
.prose.wide { max-width: 860px; margin: -24px 0 44px; }
.muted { color: var(--mute); }
.disclaimer { font-size: 13px; color: var(--mute); max-width: 70em; margin-top: 22px; }

/* ---------- Logo */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); view-transition-name: brand; }
.brand svg { width: 42px; height: 32px; overflow: visible; flex: none; }
.brand rect { transform-box: fill-box; animation: bar-in .8s var(--ease) both; transition: transform .35s var(--ease); }
.brand rect:nth-child(2) { animation-delay: .08s; } .brand rect:nth-child(3) { animation-delay: .16s; }
.brand:hover rect:nth-child(1) { transform: translateX(6px); } .brand:hover rect:nth-child(3) { transform: translateX(-6px); }
@keyframes bar-in { from { transform: translateX(-40%); opacity: 0; } }
.brand b { display: block; font-size: 19px; font-weight: 750; letter-spacing: -.01em; line-height: 1.1; }
.brand small { display: block; font-size: 11.5px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); line-height: 1.3; }

/* ---------- Header */
.top { position: sticky; top: 0; z-index: 50; view-transition-name: top; transition: background .3s, box-shadow .3s, opacity .7s var(--ease), translate .7s var(--ease); }
.top.scrolled { background: rgba(255,255,255,.9); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 78px; }
.top nav { margin-left: auto; }
.menu { display: flex; gap: 2px; list-style: none; }
.menu a { position: relative; display: block; padding: 8px 12px; color: var(--ink); text-decoration: none; font-weight: 550; font-size: 15.5px; border-radius: 999px; }
.menu a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.menu a:hover::after, .menu a[aria-current]::after { transform: scaleX(1); }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--ink); transition: transform .3s; }
.entering .top { opacity: 0; translate: 0 -12px; pointer-events: none; }

/* ---------- Buttons and links */
.btn { --mx: 0px; --my: 0px; position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 15px 24px; border-radius: 999px; border: 0;
  background: var(--deep); color: #fff; font: inherit; font-weight: 650; font-size: 16px; text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate;
  transform: translate(var(--mx), var(--my)); transition: transform .25s var(--ease), box-shadow .3s, color .3s; box-shadow: 0 10px 24px -12px rgba(1,95,90,.6); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--teal); transform: translateY(101%); transition: transform .45s var(--ease); border-radius: inherit; }
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--ink); }
.btn i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.16); font-style: normal; transition: transform .3s var(--ease); }
.btn:hover i { transform: translateX(4px); background: rgba(16,23,22,.1); }
.btn.sm { padding: 11px 18px; font-size: 15px; }
.btn.block { width: 100%; justify-content: center; }
.btn:disabled { opacity: .6; cursor: wait; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--deep); text-decoration: none; background: linear-gradient(var(--teal), var(--teal)) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--ease); padding-bottom: 2px; }
.link:hover { background-size: 100% 2px; }
.link span { transition: transform .3s var(--ease); }
.link:hover span { transform: translateX(4px); }

/* ---------- Opening screen (home pages) */
.film { position: relative; margin-top: -78px; height: 100vh; height: 100svh; min-height: 560px; }
.screen { position: absolute; inset: 0; overflow: hidden; background: #fff; transform-origin: 50% 0;
  transform: scale(calc(1 - var(--q, 0) * .07)); border-radius: calc(var(--q, 0) * 36px); box-shadow: 0 30px 80px -40px rgba(1,58,55, calc(var(--q, 0) * .6)); }
.reel { position: absolute; inset: -3%; translate: var(--px, 0) var(--py, 0); transition: translate 1.4s var(--ease); }
.reel figure { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease; }
.reel figure:first-child, .reel figure.on { opacity: 1; }
.js .reel figure:first-child:not(.on) { opacity: 0; }
.reel img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(1.1); transform: scale(1.04); }
.reel figure.on img { animation: kb 9s linear both; }
.reel figure:nth-child(even).on img { animation-name: kb2; }
.film.paused .reel img { animation-play-state: paused; }
@keyframes kb { from { transform: scale(1.18) translate(1.5%, 1%); } to { transform: scale(1.04) translate(-1%, 0); } }
@keyframes kb2 { from { transform: scale(1.04) translate(-1.5%, 0); } to { transform: scale(1.17) translate(1%, -1%); } }
.screen .grade { position: absolute; inset: 0; background: var(--deep); mix-blend-mode: color; opacity: .5; }
.screen .wash { position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 56% at 50% 54%, rgba(255,255,255,.95) 25%, rgba(255,255,255,.74) 58%, rgba(255,255,255,.22) 100%),
              linear-gradient(rgba(255,255,255,.88), rgba(255,255,255,0) 20%, rgba(255,255,255,0) 82%, rgba(255,255,255,.8)); }
.film .title { position: relative; z-index: 2; height: 100%; display: grid; place-content: center; justify-items: center; text-align: center; padding-top: 50px;
  translate: calc(var(--px, 0) * -.4) calc(var(--py, 0) * -.4 + var(--q, 0) * -70px); opacity: calc(1 - var(--q, 0) * 1.3); transition: translate 1.4s var(--ease); }
.film .kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--deep); }
.film h1 { font-size: clamp(46px, 7.6vw, 124px); line-height: .92; letter-spacing: -.05em; font-weight: 800; margin: 24px 0; max-width: 14em; }
.film h1 .accent { color: var(--deep); }
.film .say { font-size: 19.5px; line-height: 1.6; color: var(--ink-2); max-width: 42em; }
.divs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 30px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.divs a, .divs span { color: inherit; text-decoration: none; }
.divs a:hover { color: var(--deep); }
.divs > *::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 1px; background: var(--teal); vertical-align: 1px; }
.divs > *:nth-child(even)::before { background: var(--deep); }
.film .actions { display: flex; justify-content: center; margin-top: 34px; }
.ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.js .ln > span { display: block; translate: 0 108%; }
.js .film.ready .ln > span { translate: 0 0; transition: translate 1.1s var(--ease) calc(var(--d, 0) * 120ms + .1s); }
.js .fade { opacity: 0; translate: 0 14px; }
.js .film.ready .fade { opacity: 1; translate: 0 0; transition: opacity .9s calc(var(--d, 0) * 120ms + .35s), translate .9s var(--ease) calc(var(--d, 0) * 120ms + .35s); }
.cut { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.cut i { position: absolute; left: -12%; width: 124%; height: 34.5%; background: var(--teal); translate: -101% 0; }
.cut i:nth-child(1) { top: 0; } .cut i:nth-child(2) { top: 33%; background: var(--deep); } .cut i:nth-child(3) { top: 66%; height: 34%; }
.cut.go i { animation: cut 1.15s cubic-bezier(.7,0,.2,1) both; }
.cut.go i:nth-child(1) { animation-delay: .07s; } .cut.go i:nth-child(3) { animation-delay: .14s; }
@keyframes cut { 0% { translate: -101% 0; } 44%, 56% { translate: 0 0; } 100% { translate: 101% 0; } }
.intro { position: absolute; inset: 0; z-index: 7; display: none; place-items: center; background: #fff; }
.kc-intro .intro { display: grid; }
.intro .mark { display: grid; justify-items: center; gap: 22px; }
.intro svg { width: 92px; height: 70px; overflow: visible; }
.intro rect { transform-box: fill-box; transform-origin: left; scale: 0 1; animation: grow-x .8s var(--ease) forwards; }
.intro rect:nth-child(2) { animation-delay: .18s; } .intro rect:nth-child(3) { animation-delay: .36s; }
@keyframes grow-x { to { scale: 1 1; } }
.intro p { font-size: 12px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--mute); }
.intro p b { color: var(--ink); font-variant-numeric: tabular-nums; display: inline-block; min-width: 3.4ch; text-align: right; }
.intro .bar { width: 180px; height: 2px; background: var(--line); }
.intro .bar i { display: block; height: 100%; background: var(--teal); scale: var(--k, 0) 1; transform-origin: left; }
.ctrl { position: absolute; z-index: 5; bottom: 24px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 15px; border: 1px solid rgba(16,23,22,.16); border-radius: 999px;
  background: rgba(255,255,255,.8); backdrop-filter: blur(8px); font: 700 11px/1 "Hanken Grotesk", system-ui, sans-serif; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; cursor: pointer; opacity: calc(1 - var(--q, 0) * 2); }
.ctrl:hover { border-color: var(--teal); }
.ctrl.l { left: 50%; translate: -50% 0; }
.ctrl.l i { font-style: normal; animation: nudge 1.6s infinite var(--ease); }
@keyframes nudge { 50% { translate: 0 3px; } }
.ctrl.r { right: 24px; }
.ctrl.r svg { width: 10px; height: 10px; }
.film.paused .ctrl.r .ps, .film:not(.paused) .ctrl.r .pl { display: none; }
#enter { scroll-margin-top: 100px; }

/* ---------- Inner page heading; the 3D field version is drawn by field.js */
.phero { position: relative; margin-top: -78px; padding-top: 78px; }
.phero.plain { padding-bottom: clamp(30px, 5vw, 60px); }
.phero.plain .wrap { padding-top: clamp(40px, 7vw, 90px); }
.phero h1 { font-size: clamp(38px, 5.4vw, 74px); line-height: 1; letter-spacing: -.04em; margin: 18px 0 20px; max-width: 17em; }
.phero .lede { max-width: 38em; }
.phero .split-head { align-items: center; margin-block: 0; flex-wrap: nowrap; }
.phero .split-head > div { flex: 1.1; }
.svc-photo { flex: .9; border-radius: 26px; overflow: hidden; aspect-ratio: 4/3; box-shadow: 0 30px 60px -40px rgba(1,58,55,.6); }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; }
.crumb ol { display: flex; flex-wrap: wrap; gap: 6px 10px; list-style: none; font-size: 13.5px; color: var(--mute); }
.crumb li + li::before { content: "/"; margin-right: 10px; color: var(--line); }
.crumb a { color: var(--mute); text-decoration: none; } .crumb a:hover { color: var(--deep); }
.rise { animation: word-in .9s var(--ease) both; } .lede.rise { animation-delay: .12s; }
@keyframes word-in { from { opacity: 0; transform: translateY(.45em); } to { opacity: 1; transform: none; } }
.fhero { height: min(84vh, 780px); min-height: 560px; padding: 0; }
.fhero .stage { position: absolute; inset: 0; overflow: hidden; }
.field-canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: crosshair; }
.pcopy { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 78px; pointer-events: none; }
.pcopy .inner { position: relative; max-width: 600px; pointer-events: auto; }
.pcopy .inner::before { content: ""; position: absolute; inset: -90px -120px -90px -160px; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,255,255,.94), rgba(255,255,255,.75) 55%, rgba(255,255,255,0)); }
.flabel { position: absolute; left: 0; top: 0; z-index: 1; display: flex; align-items: center; gap: 9px; padding: 7px 13px 7px 9px; font-size: 13.5px; font-weight: 650; white-space: nowrap;
  color: var(--ink); background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 10px 24px -14px rgba(1,58,55,.45);
  opacity: 0; translate: 0 8px; transition: opacity .7s var(--ease), translate .7s var(--ease); pointer-events: none; }
.flabel::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--teal); }
.flabel.d::before { background: var(--deep); }
.flabel.on { opacity: 1; translate: 0 0; }

/* ---------- Counters */
.proof { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); margin-top: clamp(40px, 6vw, 70px); }
.proof.n3 { grid-template-columns: repeat(3, 1fr); } .proof.n2 { grid-template-columns: repeat(2, 1fr); }
.proof div { padding: 26px 24px; }
.proof div + div { border-left: 1px solid var(--line); }
.proof strong { display: block; font-size: clamp(34px, 4vw, 48px); font-weight: 800; letter-spacing: -.04em; color: var(--deep); line-height: 1; font-variant-numeric: tabular-nums; }
.proof span { display: block; margin-top: 8px; color: var(--ink-2); font-size: 15px; line-height: 1.45; }

/* ---------- "What can we help you with?" (pure CSS) */
.intent { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.intent .sec-head { margin-bottom: 28px; }
.choices { display: grid; gap: 10px; }
.choices label { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--white); cursor: pointer; font-weight: 600; transition: border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.choices label:hover { transform: translateX(4px); border-color: var(--teal); }
.choices input { position: absolute; opacity: 0; }
.choices label::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); transition: border .25s; }
.choices label:has(input:checked) { border-color: var(--deep); box-shadow: 0 14px 30px -20px rgba(1,95,90,.7); }
.choices label:has(input:checked)::before { border: 5px solid var(--deep); }
.choices label:has(input:focus-visible) { outline: 2.5px solid var(--teal); outline-offset: 2px; }
.answers { display: grid; }
.answer { grid-area: 1 / 1; position: relative; min-height: 380px; padding: 36px; border-radius: 24px; background: var(--deep-3); color: #fff; overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.985); transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s; }
.answer h3 { color: #fff; font-size: 26px; margin: 14px 0 12px; max-width: 18em; }
.answer ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 22px 0 28px; max-width: 30em; }
.answer li { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: 14px; }
.answer .eyebrow { color: var(--teal); }
.answer .link { color: #fff; }
.answer svg.ill { position: absolute; right: -6px; bottom: -6px; width: 170px; opacity: .9; }
.answer svg.ill [stroke="#015F5A"], .answer svg.ill { stroke: #02BDB4; }

/* ---------- Scroll panel ("story box"): scroll inside the picture to move through the steps; every step stays visible beside it */
.sbox { --h: 680px; position: relative; height: var(--h); overflow-y: auto; border-radius: 28px; background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 40px 80px -60px rgba(1,58,55,.6); scrollbar-width: thin; scrollbar-color: var(--teal) transparent; }
.sbox:focus-visible { outline-offset: 3px; }
.sbox-inner { position: sticky; top: 0; height: var(--h); display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: stretch; padding: 34px 34px 34px 38px; }
.sbox-steps { list-style: none; display: grid; gap: 4px; align-content: center; counter-reset: s; }
.sbox-steps li { position: relative; padding: 11px 18px 11px 22px; border-radius: 14px; cursor: pointer; opacity: .42; transition: opacity .35s, background .35s; }
.sbox-steps li::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 2px; background: var(--line); transition: background .35s; }
.sbox-steps li:hover { opacity: .75; }
.sbox-steps li.done { opacity: .62; }
.sbox-steps li.on { opacity: 1; background: var(--mint); }
.sbox-steps li.on::before, .sbox-steps li.done::before { background: var(--teal); }
.sbox-steps .num { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--deep); }
.sbox-steps h3 { font-size: 19px; margin: 3px 0 0; }
.sbox-steps p { font-size: 15px; color: var(--ink-2); line-height: 1.5; max-height: 0; overflow: hidden; transition: max-height .45s var(--ease), margin .45s; }
.sbox-steps li.on p { max-height: 9em; margin-top: 6px; }
.sbox-steps ul { display: none; }
.sbox-steps li.on ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin-top: 10px; }
.sbox-steps li.on ul li { padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(1,95,90,.2); font-size: 13px; opacity: 1; cursor: default; background: #fff; }
.sbox-steps li.on ul li::before { display: none; }
.sbox-steps .link, .sbox-steps .soon { display: none; margin-top: 10px; }
.sbox-steps li.on .link, .sbox-steps li.on .soon { display: inline-flex; }
.soon { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.sbox-stage { position: relative; display: grid; place-items: center; min-height: 0; }
.sbox-track { height: calc(var(--n) * 260px); }
.sbox-rail { position: absolute; left: 10%; right: 10%; bottom: 4px; display: flex; gap: 6px; }
.sbox-rail b { flex: 1; height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; position: relative; }
.sbox-rail b::after { content: ""; position: absolute; inset: 0; background: var(--deep); transform: scaleX(var(--f, 0)); transform-origin: left; }
.sbox-hint { position: absolute; top: 0; left: 50%; translate: -50% 0; display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.85);
  font-size: 12px; font-weight: 650; color: var(--mute); white-space: nowrap; transition: opacity .4s; }
.sbox-hint::before { content: "↕"; color: var(--teal); font-weight: 800; }
.sbox.moved .sbox-hint { opacity: 0; }
.scenes { position: relative; width: 100%; height: 100%; }
.scenes svg { position: absolute; inset: 0; margin: auto; width: min(520px, 100%); height: 92%; opacity: 0; transform: perspective(900px) rotateY(-14deg) translateX(30px) scale(.94); transition: opacity .55s var(--ease), transform .7s var(--ease); }
.scenes svg.on { opacity: 1; transform: none; }
.plates { position: relative; width: 100%; height: 100%; perspective: 1600px; }
.plates .stage { position: absolute; left: 50%; top: 47%; width: 320px; height: 320px; margin: -160px; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-42deg); }
.plate { position: absolute; inset: 0; border-radius: 26px; transform-style: preserve-3d; transform: translateZ(calc(var(--k) * 42px - 110px)); transition: transform .7s var(--ease), background .5s, box-shadow .5s;
  background: rgba(2,189,180,.1); border: 1.5px solid rgba(1,95,90,.35); }
.plate span { position: absolute; left: 22px; bottom: 16px; font-size: 15px; font-weight: 700; color: var(--deep); }
.plate.on { background: var(--teal); border-color: var(--teal); transform: translateZ(calc(var(--k) * 42px - 110px + 60px)); box-shadow: 0 40px 60px -30px rgba(2,189,180,.65); }
.plate.on span { color: var(--deep-3); }
.plate.done { background: rgba(2,189,180,.28); }

/* ---------- Cards with tilt and spotlight; line drawings that draw themselves */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.pillars.three { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { --tx: 0deg; --ty: 0deg; --mx: 50%; --my: 50%; position: relative; padding: 30px 26px 28px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line);
  transform: perspective(900px) rotateX(var(--ty)) rotateY(var(--tx)); transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; overflow: hidden; }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(2,189,180,.14), transparent 70%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { box-shadow: 0 28px 50px -30px rgba(1,58,55,.45); border-color: rgba(2,189,180,.5); }
.card:hover::before { opacity: 1; }
.card svg.ill { width: 70px; height: 70px; margin-bottom: 20px; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 15.5px; }
.card.dark { background: var(--deep-3); color: #fff; border: 0; }
.card.dark h2, .card.dark b { color: #fff; } .card.dark p, .card.dark span { color: rgba(255,255,255,.78); }
.draw path, .draw line, .draw polyline, .draw rect.s, .draw circle.s { stroke-dasharray: 260; stroke-dashoffset: 260; }
.in .draw path, .in .draw line, .in .draw polyline, .in .draw rect.s, .in .draw circle.s,
.draw.in path, .draw.in polyline, .draw.in line, .draw.in rect.s, .draw.in circle.s { animation: draw 1.4s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ticks { list-style: none; display: grid; gap: 9px; }
.ticks.two { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px 28px; }
.ticks li, .svc li { position: relative; padding-left: 26px; font-size: 15.5px; color: var(--ink-2); }
.ticks li::before, .svc li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg); }

/* ---------- Tabs (pure CSS) */
.tabs { display: grid; grid-template-columns: 300px 1fr; gap: 40px; }
.tablist { display: grid; gap: 8px; align-content: start; }
.tablist label { padding: 18px 20px; border-radius: 14px; cursor: pointer; border: 1px solid transparent; transition: background .25s, border-color .25s; }
.tablist label b { display: block; font-size: 18px; }
.tablist input { position: absolute; opacity: 0; }
.tablist label:hover { background: var(--white); }
.tablist label:has(input:checked) { background: var(--white); border-color: var(--line); box-shadow: inset 4px 0 0 var(--teal); }
.tablist label:has(input:focus-visible) { outline: 2.5px solid var(--teal); }
.panels { display: grid; }
.panel { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateX(16px); transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s; }
.panel article { padding: 34px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.panel h3 { font-size: 26px; margin-bottom: 12px; }
.panel p { color: var(--ink-2); font-size: 17px; }

/* ---------- Pure-CSS switching (up to 12 choices) */
.intent:has(#hp1:checked) [data-a="hp1"], .intent:has(#hp2:checked) [data-a="hp2"], .intent:has(#hp3:checked) [data-a="hp3"], .intent:has(#hp4:checked) [data-a="hp4"],
.intent:has(#hp5:checked) [data-a="hp5"], .intent:has(#hp6:checked) [data-a="hp6"], .intent:has(#hp7:checked) [data-a="hp7"], .intent:has(#hp8:checked) [data-a="hp8"],
.tabs:has(#md1:checked) [data-p="md1"], .tabs:has(#md2:checked) [data-p="md2"], .tabs:has(#md3:checked) [data-p="md3"], .tabs:has(#md4:checked) [data-p="md4"],
.tabs:has(#md5:checked) [data-p="md5"], .tabs:has(#md6:checked) [data-p="md6"],
.explorer:has(#sv1:checked) [data-s="sv1"], .explorer:has(#sv2:checked) [data-s="sv2"], .explorer:has(#sv3:checked) [data-s="sv3"], .explorer:has(#sv4:checked) [data-s="sv4"],
.explorer:has(#sv5:checked) [data-s="sv5"], .explorer:has(#sv6:checked) [data-s="sv6"], .explorer:has(#sv7:checked) [data-s="sv7"], .explorer:has(#sv8:checked) [data-s="sv8"],
.explorer:has(#sv9:checked) [data-s="sv9"], .explorer:has(#sv10:checked) [data-s="sv10"], .explorer:has(#sv11:checked) [data-s="sv11"], .explorer:has(#sv12:checked) [data-s="sv12"]
{ opacity: 1; visibility: visible; transform: none; }

/* ---------- Service explorer */
.explorer { display: grid; grid-template-columns: 360px 1fr; gap: 32px; align-items: start; }
.svc-list { display: grid; gap: 4px; }
.svc-list label { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-radius: 12px; cursor: pointer; font-weight: 600; transition: background .2s, color .2s; }
.svc-list label svg { width: 22px; height: 22px; flex: none; color: var(--deep); }
.svc-list input { position: absolute; opacity: 0; }
.svc-list label:hover { background: var(--white); }
.svc-list label:has(input:checked) { background: var(--deep); color: #fff; }
.svc-list label:has(input:checked) svg { color: var(--teal); }
.svc-list label:has(input:focus-visible) { outline: 2.5px solid var(--teal); }
.svc-detail { position: sticky; top: 100px; display: grid; }
.svc { grid-area: 1 / 1; padding: 38px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 30px 60px -45px rgba(1,58,55,.55);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s; }
.svc h3 { font-size: 28px; margin-bottom: 8px; }
.svc > p { font-size: 18px; color: var(--ink-2); }
.svc ul { columns: 2; column-gap: 28px; list-style: none; margin: 24px 0 26px; }
.svc li { margin-bottom: 10px; break-inside: avoid; }

/* ---------- Photo with parallax; two-column text and photo */
.photo { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4/3; background: var(--paper-2); }
.photo img { width: 100%; height: 118%; object-fit: cover; transform: translateY(calc((var(--p, .5) - .5) * -14%)); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.duo.top { align-items: start; }
.duo.solo { grid-template-columns: 1fr; max-width: 860px; }
.duo .h2 { margin-bottom: 20px; }
.duo .prose + .link { margin-top: 22px; }
.quote { font-size: clamp(26px, 3vw, 38px); font-weight: 700; letter-spacing: -.02em; line-height: 1.25; color: var(--deep); }
.quote::before { content: "“"; display: block; font-size: 80px; line-height: .6; color: var(--teal); }

/* ---------- Values band */
.band { padding: 60px 0; overflow: clip; border-block: 1px solid var(--line); background: var(--white); }
.band .row { display: flex; gap: 44px; white-space: nowrap; font-size: clamp(52px, 9vw, 128px); font-weight: 800; letter-spacing: -.045em; line-height: 1; transform: translateX(calc(var(--p, .5) * -30%)); }
.band .row + .row { margin-top: 10px; transform: translateX(calc(-30% + var(--p, .5) * 30%)); }
.band .row span:nth-child(odd) { color: var(--deep); }
.band .row span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--teal); }
.mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.mvv div { padding: 26px; border-top: 3px solid var(--teal); background: var(--paper-2); border-radius: 0 0 var(--r) var(--r); }
.mvv b { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--deep); }
.mvv p { font-size: 20px; font-weight: 650; margin-top: 8px; line-height: 1.35; letter-spacing: -.01em; }

/* ---------- Team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.person { all: unset; cursor: pointer; display: block; text-align: left; }
.person .ph { position: relative; aspect-ratio: 4/5; border-radius: var(--r); overflow: hidden; background: var(--paper-2); }
.person img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .6s; filter: grayscale(.2); }
.person:hover img, .person:focus-visible img { transform: scale(1.05); filter: none; }
.person::after { content: attr(data-hint); position: relative; display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 650; color: var(--deep); opacity: 0; transition: opacity .3s; }
.person:hover::after, .person:focus-visible::after { opacity: 1; }
.person:focus-visible { outline: 2.5px solid var(--teal); outline-offset: 4px; border-radius: var(--r); }
.person h3 { font-size: 19px; margin-top: 14px; }
.person p { font-size: 14px; color: var(--mute); line-height: 1.45; margin-top: 4px; }
.ini { display: grid; place-items: center; width: 100%; height: 100%; font-size: 48px; font-weight: 800; color: var(--deep); background: var(--mint); }
.bio { margin: auto; width: min(720px, 100% - 32px); max-height: 86vh; overflow: auto; border: 0; border-radius: 24px; padding: 34px; background: var(--white); color: var(--ink);
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.45); opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .3s, transform .3s var(--ease), overlay .3s allow-discrete, display .3s allow-discrete; }
.bio:popover-open { opacity: 1; transform: none; }
@starting-style { .bio:popover-open { opacity: 0; transform: translateY(16px) scale(.98); } }
.bio::backdrop { background: rgba(1,30,28,.5); backdrop-filter: blur(4px); }
.bio .head { display: flex; gap: 20px; align-items: center; margin-bottom: 18px; padding-right: 40px; }
.bio .head img { width: 96px; height: 96px; border-radius: 18px; object-fit: cover; flex: none; }
.bio h3 { font-size: 26px; }
.bio .cred { font-size: 14px; font-weight: 650; color: var(--deep); margin-top: 4px; }
.bio .role { font-size: 14px; color: var(--mute); }
.bio > p { color: var(--ink-2); margin-top: 12px; }
.bio .x { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); cursor: pointer; font-size: 20px; }
.people { display: grid; gap: 22px; }
.pfull { display: grid; grid-template-columns: 220px 1fr; gap: 34px; padding: 30px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); scroll-margin-top: 100px; }
.pfull .ph { aspect-ratio: 4/5; border-radius: 16px; overflow: hidden; background: var(--paper-2); }
.pfull .ph img { width: 100%; height: 100%; object-fit: cover; }
.pfull h2 { font-size: 28px; }
.pfull .cred { font-weight: 650; color: var(--deep); margin-top: 6px; }
.pfull .role { color: var(--mute); margin-bottom: 14px; }

/* ---------- Offices, FAQ */
.offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.offices address { font-style: normal; padding: 22px 24px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.offices b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start; }
.faq-wrap .sec-head { margin-bottom: 20px; }
.faq { display: grid; gap: 10px; max-width: 900px; }
.faq details { border-radius: 16px; background: var(--white); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: rgba(2,189,180,.55); box-shadow: 0 20px 40px -32px rgba(1,58,55,.5); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 24px; cursor: pointer; font-weight: 650; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--deep); border-bottom: 2px solid var(--deep); transform: rotate(45deg); transition: transform .35s var(--ease); margin-top: -6px; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: 6px; }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq details p { padding: 0 24px 20px; color: var(--ink-2); }

/* ---------- Closing call to action */
.closing { position: relative; padding: clamp(60px, 8vw, 96px) clamp(28px, 6vw, 80px); border-radius: 32px; background: var(--deep); color: #fff; overflow: hidden; margin-top: clamp(40px, 6vw, 80px); }
.closing h2 { color: #fff; font-size: clamp(30px, 4.2vw, 52px); max-width: 15em; }
.closing p { color: rgba(255,255,255,.84); max-width: 36em; margin: 18px 0 32px; font-size: 18px; }
.closing .btn { background: var(--teal); color: var(--ink); }
.closing .btn::before { background: #fff; }
.closing .bars { position: absolute; right: -40px; top: 50%; translate: 0 -50%; width: 420px; opacity: .22; }
.closing .bars rect { animation: drift 7s ease-in-out infinite alternate; }
.closing .bars rect:nth-child(2) { animation-delay: -2s; } .closing .bars rect:nth-child(3) { animation-delay: -4s; }
@keyframes drift { to { transform: translateX(26px); } }

/* ---------- Services overview and service pages */
.sgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.sgrid.three { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.scard { display: flex; flex-direction: column; padding: 0; text-decoration: none; color: var(--ink); }
.scard .sc-ph { aspect-ratio: 16/9; overflow: hidden; }
.scard .sc-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.scard:hover .sc-ph img { transform: scale(1.05); }
.scard .sc-ic { padding: 28px 28px 0; color: var(--deep); }
.scard .sc-b { padding: 24px 28px 28px; display: grid; gap: 10px; flex: 1; align-content: start; }
.scard .sc-b .link { margin-top: auto; }
.areas { display: grid; gap: 22px; }
.area { display: grid; grid-template-columns: 80px 1fr; gap: 20px; padding: 34px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); scroll-margin-top: 100px; }
.area .num, .eng-list span { font-size: 38px; font-weight: 800; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.4px var(--teal); line-height: 1; }
.area h2 { font-size: 28px; } .area .lede { font-size: 18px; margin: 8px 0 14px; } .area .ticks { margin-top: 18px; }
.svc-page { display: grid; grid-template-columns: 1fr 320px; gap: 50px; align-items: start; }
.lead-prose p { font-size: 18.5px; color: var(--ink-2); }
.panel2 { margin-top: 30px; padding: 30px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); }
.panel2 h2 { font-size: 24px; margin-bottom: 14px; }
.panel2 > p { color: var(--ink-2); margin-bottom: 16px; }
.panel2 .link { margin-top: 18px; }
.mini-steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 16px; }
.mini-steps li { padding: 14px; border-radius: 14px; background: var(--paper-2); }
.mini-steps span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--deep); }
.mini-steps b { font-size: 15px; }
.side { position: sticky; top: 100px; display: grid; gap: 16px; }
.side-card { padding: 26px; border-radius: 22px; background: var(--deep-3); color: rgba(255,255,255,.85); }
.side-card p { margin-bottom: 18px; }
.side-card .btn { background: var(--teal); color: var(--ink); }
.side-card .btn::before { background: #fff; }
.side nav { display: grid; gap: 2px; padding: 12px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); }
.side nav a { padding: 9px 12px; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 550; }
.side nav a:hover { background: var(--paper-2); }
.side nav a[aria-current] { background: var(--mint); color: var(--deep); font-weight: 700; }
.eng-list { list-style: none; display: grid; gap: 14px; }
.eng-list li { display: grid; grid-template-columns: 60px 1fr; gap: 14px; padding: 24px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
.eng-list p { color: var(--ink-2); font-size: 15.5px; margin-top: 4px; }
.h3 { font-size: 26px; }

/* ---------- Scope builder */
.builder { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
.builder fieldset, fieldset.pick, fieldset.seg { border: 0; margin-bottom: 24px; }
.builder legend, fieldset.pick legend { font-weight: 750; font-size: 17px; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: 15px; font-weight: 550; transition: .25s var(--ease); }
.chips span::before { content: "+"; font-weight: 700; color: var(--deep); }
.chips label:hover span { border-color: var(--teal); }
.chips input:checked + span { background: var(--deep); border-color: var(--deep); color: #fff; }
.chips input:checked + span::before { content: "✓"; color: var(--teal); }
.chips input[type=radio] + span::before { content: "○"; }
.chips input[type=radio]:checked + span::before { content: "●"; }
.chips input:focus-visible + span { outline: 2.5px solid var(--teal); outline-offset: 2px; }
.summary { position: sticky; top: 100px; padding: 30px; border-radius: 24px; background: var(--deep-3); color: #fff; }
.summary h3 { color: #fff; font-size: 22px; margin: 6px 0 4px; }
.summary .eyebrow { color: var(--teal); }
.summary .eng { color: rgba(255,255,255,.7); font-size: 15px; }
.summary .meter { height: 8px; border-radius: 4px; background: rgba(255,255,255,.12); margin: 18px 0; overflow: hidden; }
.summary .meter i { display: block; height: 100%; width: calc(var(--n, 0) / var(--t, 9) * 100%); background: linear-gradient(90deg, var(--teal), #7FE9E3); border-radius: inherit; transition: width .5s var(--ease); }
.summary ul { list-style: none; display: grid; gap: 7px; margin: 10px 0 22px; }
.summary li { font-size: 15px; color: rgba(255,255,255,.85); animation: word-in .4s var(--ease) both; }
.summary li::before { content: "— "; color: var(--teal); }
.summary .empty { color: rgba(255,255,255,.55); font-size: 15px; margin-bottom: 18px; }
.summary .btn { background: var(--teal); color: var(--ink); width: 100%; justify-content: center; }
.summary .btn::before { background: #fff; }

/* ---------- Software row */
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee ul { display: flex; gap: 14px; width: max-content; list-style: none; animation: marquee 40s linear infinite; }
.marquee:hover ul { animation-play-state: paused; }
.marquee li { padding: 14px 22px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); font-weight: 650; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Contact */
.contact { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.formcard { padding: 34px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(1,58,55,.5); scroll-margin-top: 100px; }
.formcard > .muted { margin: 10px 0 22px; }
.field { position: relative; margin-bottom: 16px; }
.field input, .field textarea, .field select { width: 100%; padding: 22px 14px 8px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper-2); font: inherit; font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; appearance: none; }
.field textarea { min-height: 130px; resize: vertical; }
.field label { position: absolute; left: 15px; top: 15px; color: var(--mute); font-size: 16px; pointer-events: none; transition: .2s var(--ease); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(2,189,180,.16); background: var(--white); }
.field :is(input, textarea):is(:focus, :not(:placeholder-shown)) + label, .field select + label { top: 6px; font-size: 12px; font-weight: 650; color: var(--deep); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.note { font-size: 13px; color: var(--mute); margin-top: 14px; }
.hp { position: absolute; left: -9999px; }
.form-error { display: none; padding: 14px 16px; border-radius: 12px; background: #FDECEC; color: #8A1C1C; margin-bottom: 16px; font-size: 15px; }
.thanks { display: none; padding: 20px 0; }
.thanks h2 { font-size: 26px; margin-bottom: 8px; }
.cside { display: grid; gap: 16px; }
.cside .card h2 { font-size: 21px; margin-bottom: 8px; }
.people-mini { list-style: none; display: grid; gap: 10px; margin-top: 16px; }
.people-mini li { display: grid; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.12); font-size: 15px; }
.info { list-style: none; display: grid; gap: 10px; }
.info li { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); }
.info svg { color: var(--deep); flex: none; }
.cside .offices { grid-template-columns: 1fr; }
.cside .photo { aspect-ratio: 16/10; }
.booking-frame { width: 100%; height: 520px; border: 0; border-radius: 12px; }
.booking-frame.live { display: block; height: 640px; min-height: 420px; border-radius: 22px; background: transparent; transition: height .3s var(--ease); }
.book-sec .sec-head { margin-bottom: 30px; }
.book-sec .fine { margin-top: 14px; font-size: 14px; }
#form-sec { padding-top: clamp(40px, 6vw, 80px); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; translate: -50% 0; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14.5px;
  opacity: 0; transform: translateY(12px); transition: .35s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: none; }
.legal h2 { font-size: 24px; margin: 34px 0 12px; }
.legal ul { margin: 10px 0 10px 22px; color: var(--ink-2); }
.legal { max-width: 860px; }
.links404 { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; }
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 130; display: none; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; max-width: 760px; margin: auto;
  padding: 16px 20px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); font-size: 14.5px; }
.cookie.show { display: flex; }
.cookie .btns { display: flex; gap: 8px; }
.cookie button { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font: inherit; font-weight: 650; cursor: pointer; }
.cookie button[data-consent="yes"] { background: var(--deep); color: #fff; border-color: var(--deep); }

/* ---------- Footer */
.foot { padding: 70px 0 36px; margin-top: clamp(80px, 10vw, 120px); border-top: 1px solid var(--line); background: rgba(255,255,255,.92); font-size: 15px; }
.foot .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.1fr; gap: 36px; }
.foot .cols.n4 { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
.foot h2 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--deep); margin-bottom: 14px; }
.foot ul { list-style: none; display: grid; gap: 8px; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--deep); text-decoration: underline; }
.foot .blurb { color: var(--ink-2); margin-top: 16px; max-width: 30em; }
.foot .brand small { max-width: 22em; text-transform: none; letter-spacing: 0; font-size: 13px; }
.legal-row, .foot .legal { margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 13px; color: var(--mute); }
.foot .legal a { color: var(--mute); text-decoration: underline; }
.foot .disclaimer { margin: 0; }

/* ---------- Scroll reveal: CSS scroll-driven where supported, JavaScript otherwise */
@supports (animation-timeline: view()) {
  .rv { animation: rise linear both; animation-timeline: view(); animation-range: entry 0px entry 240px; }
  .photo img.px { animation: px linear both; animation-timeline: view(); transform: none; }
  @keyframes px { from { transform: translateY(-9%); } to { transform: translateY(5%); } }
}
@keyframes rise { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
.js-io .rv { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-io .rv.in { opacity: 1; transform: none; }
.card.rv { animation-name: rise; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .draw path, .draw line, .draw polyline, .draw rect.s, .draw circle.s { stroke-dashoffset: 0; }
  .marquee ul { flex-wrap: wrap; width: auto; }
  .js .ln > span, .js .fade { translate: 0 0; opacity: 1; }
  .cut, .intro { display: none !important; }
}

/* ---------- Responsive */
@media (max-width: 1080px) {
  .team { grid-template-columns: repeat(3, 1fr); }
  .proof { grid-template-columns: repeat(2, 1fr); }
  .proof div:nth-child(3) { border-left: 0; }
  .proof div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .foot .cols, .foot .cols.n4 { grid-template-columns: 1fr 1fr; }
  .svc-page { grid-template-columns: 1fr; }
  .side { position: static; }
}
@media (max-width: 900px) {
  .menu, .top .btn { display: none; }
  .burger { display: block; }
  .top.open { background: #fff; }
  .top.open .menu { display: grid; position: absolute; left: 12px; right: 12px; top: 74px; padding: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); }
  .top.open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .top.open .burger span:nth-child(2) { opacity: 0; }
  .top.open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .intent, .duo, .contact, .tabs, .explorer, .builder, .faq-wrap, .sbox-inner { grid-template-columns: 1fr; }
  .phero .split-head { flex-direction: column; align-items: stretch; }
  .mvv { grid-template-columns: 1fr; }
  .svc-detail, .summary { position: static; }
  .answer { min-height: 0; }
  .answer svg.ill { display: none; }
  /* scroll panels become a plain list of every step */
  .sbox { height: auto; overflow: visible; }
  .sbox-inner { position: static; height: auto; padding: 22px; }
  .sbox-stage, .sbox-track { display: none; }
  .sbox-steps li, .sbox-steps li.done { opacity: 1; background: none; cursor: default; }
  .sbox-steps li p { max-height: none; margin-top: 6px; }
  .sbox-steps li ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin-top: 10px; }
  .sbox-steps li ul li { padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(1,95,90,.2); font-size: 13px; }
  .sbox-steps li ul li::before { display: none; }
  .sbox-steps .link, .sbox-steps .soon { display: inline-flex; }
  .pfull { grid-template-columns: 1fr; }
  .pfull .ph { max-width: 240px; }
  .fhero { height: auto; min-height: 0; }
  .fhero .stage { position: relative; height: 92vh; min-height: 600px; }
  .pcopy { justify-content: flex-end; padding-bottom: 50px; }
  .flabel { display: none; }
  .film .title { place-content: end start; justify-items: start; text-align: left; padding-bottom: 92px; }
  .screen .wash { background: linear-gradient(rgba(255,255,255,.88), rgba(255,255,255,.3) 20%, rgba(255,255,255,.55) 38%, rgba(255,255,255,.95) 58%, #fff 75%); }
  .divs { justify-content: flex-start; }
  .film .actions { justify-content: flex-start; }
  .ctrl.l { left: 24px; translate: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 36px); }
  .team { grid-template-columns: 1fr 1fr; gap: 14px; }
  .row2 { grid-template-columns: 1fr; }
  .proof div { padding: 20px 14px; }
  .svc ul { columns: 1; }
  .formcard, .svc, .answer, .panel article, .area, .pfull { padding: 24px; }
  .area { grid-template-columns: 1fr; }
  .foot .cols, .foot .cols.n4 { grid-template-columns: 1fr; }
  .film h1 { font-size: clamp(40px, 12vw, 60px); }
  .film .say { font-size: 16.5px; }
  .divs { font-size: 11px; gap: 6px 16px; }
  .lede { font-size: 18px; }
}

/* Scroll panels: the picture tilts towards the pointer; the "clear" version is a see-through glass box */
.sbox-stage > .scenes, .sbox-stage > .plates { transform: perspective(1100px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); transition: transform .5s var(--ease); }
.sbox.clear { background: rgba(255,255,255,.38); border-color: rgba(1,95,90,.16); box-shadow: 0 30px 70px -60px rgba(1,58,55,.5); backdrop-filter: blur(5px); }
.sbox.clear .sbox-steps li.on { background: rgba(226,244,241,.85); }
.scenes svg .float { animation: float 5s ease-in-out infinite alternate; transform-box: fill-box; }
.scenes svg .float.b { animation-delay: -2.5s; }
@keyframes float { to { transform: translateY(-10px); } }.sbox.clear { --h: 560px; }

/* Team cards: photos and text always start at the top, whatever the length of the role */
.team { align-items: start; }
.person { display: flex; flex-direction: column; justify-content: flex-start; align-self: start; height: auto; }
/* ---------- Offices with a movable photo collage */
.off-wrap.with-gal { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; align-items: center; }
.offices.stack { grid-template-columns: 1fr; }
.link.map { margin-top: 12px; font-size: 14.5px; }
.collage { position: relative; height: 580px; }
.ctile { position: absolute; margin: 0; border-radius: 18px; overflow: hidden; border: 7px solid #fff; background: #fff; box-shadow: 0 30px 50px -30px rgba(1,58,55,.55), 0 0 0 1px var(--line);
  cursor: grab; touch-action: none; user-select: none; translate: var(--dx, 0px) var(--dy, 0px); rotate: var(--r, 0deg);
  transition: rotate .5s var(--ease), box-shadow .3s, scale .3s var(--ease); animation: bob 6s ease-in-out infinite alternate; }
.ctile img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ctile:hover { scale: 1.03; box-shadow: 0 40px 60px -30px rgba(1,58,55,.6), 0 0 0 1px var(--teal); }
.ctile.grab { cursor: grabbing; scale: 1.06; animation-play-state: paused; transition: box-shadow .3s, scale .3s; }
.ctile:nth-of-type(1) { left: 0; top: 6%; width: 27%; aspect-ratio: 5/8; --r: -6deg; animation-delay: -1s; }
.ctile:nth-of-type(2) { left: 25%; top: 0; width: 44%; aspect-ratio: 4/3; --r: 3deg; animation-delay: -3s; }
.ctile:nth-of-type(3) { right: 0; top: 24%; width: 38%; aspect-ratio: 1/1; --r: -3deg; animation-delay: -2s; }
.ctile:nth-of-type(4) { left: 8%; top: 56%; width: 36%; aspect-ratio: 5/4; --r: 5deg; animation-delay: -4s; }
.ctile:nth-of-type(5) { left: 47%; top: 50%; width: 21%; aspect-ratio: 9/16; --r: -7deg; animation-delay: -5s; }
.ctile:nth-of-type(6) { right: 4%; top: 66%; width: 26%; aspect-ratio: 4/3; --r: 6deg; }
.ctile:nth-of-type(n+7) { left: 30%; top: 30%; width: 26%; aspect-ratio: 4/3; --r: 2deg; }
@keyframes bob { to { transform: translateY(-9px); } }
.chint { position: absolute; left: 50%; bottom: -6px; translate: -50% 0; z-index: 50; display: flex; gap: 8px; align-items: center; padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,.9); border: 1px solid var(--line); font-size: 12.5px; font-weight: 650; color: var(--mute); pointer-events: none; transition: opacity .4s; }
.chint::before { content: "✥"; color: var(--teal); font-size: 15px; }
.collage.moved .chint { opacity: 0; }

/* ---------- Legal links, callout, sitemap */
.legal-nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot .legal-nav a { color: var(--ink-2); text-decoration: none; font-weight: 550; }
.foot .legal-nav a:hover { color: var(--deep); text-decoration: underline; }
.callout { padding: 18px 22px; border-left: 3px solid var(--teal); background: var(--mint); border-radius: 0 14px 14px 0; margin-bottom: 26px; color: var(--ink-2); }
.smap { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; align-items: start; }
.smap-col { padding: 26px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); }
.smap-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.smap-jump a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--deep); font-size: 14px; font-weight: 600; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.smap-jump a:hover { background: var(--deep); border-color: var(--deep); color: var(--white); }
.smap-site { scroll-margin-top: 110px; padding-top: 30px; border-top: 1px solid var(--line); }
.smap-site + .smap-site { margin-top: 56px; }
@media (min-width: 900px) { .smap-site .smap { grid-template-columns: repeat(3, 1fr); } }
.smap-site header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 22px; }
.smap-site header h2 { font-size: clamp(24px, 2.4vw, 32px); }
.smap-site header h2 a { color: var(--deep); text-decoration: none; } .smap-site header h2 a:hover { text-decoration: underline; }
.smap-site header span { color: var(--ink-3, #6b7a78); font-size: 14px; }
.smap-site:target header h2 a { color: var(--teal); }
.smap-col h2, .smap-col h3 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--deep); margin-bottom: 14px; }
.smap-col ul { list-style: none; display: grid; gap: 9px; }
.smap-col a { color: var(--ink-2); text-decoration: none; } .smap-col a:hover { color: var(--deep); text-decoration: underline; }

/* ---------- Team page: a floating cluster of faces, then large profile cards */
.faces { position: relative; flex: .9; width: min(540px, 100%); aspect-ratio: 1.1; }
.face { --d: 1; position: absolute; display: block; border-radius: 50%; overflow: hidden; border: 5px solid #fff; box-shadow: 0 24px 40px -24px rgba(1,58,55,.6), 0 0 0 1px var(--line);
  translate: calc(var(--mx, 0) * var(--d) * 1px) calc(var(--my, 0) * var(--d) * 1px); transition: translate .6s var(--ease), scale .35s var(--ease), box-shadow .35s;
  animation: bob 5s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.8s); }
.face img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25); transition: filter .4s; }
.face:hover, .face:focus-visible { scale: 1.1; z-index: 5; box-shadow: 0 30px 50px -24px rgba(1,58,55,.7), 0 0 0 3px var(--teal); }
.face:hover img { filter: none; }
.face:nth-child(1) { left: 34%; top: 2%; width: 31%; aspect-ratio: 1; --d: 18; }
.face:nth-child(2) { left: 3%; top: 20%; width: 25%; aspect-ratio: 1; --d: 30; }
.face:nth-child(3) { left: 70%; top: 16%; width: 24%; aspect-ratio: 1; --d: 26; }
.face:nth-child(4) { left: 15%; top: 54%; width: 23%; aspect-ratio: 1; --d: 38; }
.face:nth-child(5) { left: 47%; top: 44%; width: 27%; aspect-ratio: 1; --d: 22; }
.face:nth-child(6) { left: 78%; top: 56%; width: 19%; aspect-ratio: 1; --d: 44; }
.face:nth-child(7) { left: 40%; top: 79%; width: 17%; aspect-ratio: 1; --d: 50; }
.face:nth-child(n+8) { left: 4%; top: 80%; width: 15%; aspect-ratio: 1; --d: 34; }
.profiles { display: grid; gap: 30px; }
.profile { display: grid; grid-template-columns: 360px 1fr; gap: 46px; align-items: start; padding: 30px; border-radius: 28px; background: var(--white); border: 1px solid var(--line);
  scroll-margin-top: 100px; transition: box-shadow .45s var(--ease), translate .45s var(--ease), border-color .45s; }
.profile:hover { translate: 0 -4px; border-color: rgba(2,189,180,.45); box-shadow: 0 40px 80px -50px rgba(1,58,55,.55); }
.profile.flip { grid-template-columns: 1fr 360px; }
.profile.flip .pph { order: 2; }
.pph { position: relative; aspect-ratio: 4/5; border-radius: 20px; overflow: hidden; background: var(--mint);
  transform: perspective(900px) rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg)); transition: transform .45s var(--ease); }
.pph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) contrast(1.02); transition: transform .9s var(--ease), filter .6s; }
.profile:hover .pph img { transform: scale(1.06); filter: none; }
.pph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(1,58,55,.82), rgba(1,58,55,0) 42%); opacity: .75; transition: opacity .5s; }
.profile:hover .pph::after { opacity: 1; }
.pcred { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 16px; color: #fff; font-size: 13.5px; font-weight: 650; line-height: 1.4; translate: 0 6px; transition: translate .5s var(--ease); }
.profile:hover .pcred { translate: 0 0; }
.pbars { position: absolute; z-index: 2; right: 16px; top: 18px; display: grid; gap: 5px; justify-items: end; }
.pbars i { display: block; width: 38px; height: 9px; border-radius: 2px; background: var(--teal); translate: 140% 0; transition: translate .55s var(--ease); }
.pbars i:nth-child(2) { background: var(--deep); width: 38px; margin-right: -12px; transition-delay: .06s; }
.pbars i:nth-child(3) { margin-right: 12px; transition-delay: .12s; }
.profile:hover .pbars i { translate: 0 0; }
.pbody .eyebrow { margin-bottom: 10px; }
.pbody h2 { font-size: clamp(28px, 3vw, 40px); }
.pbody .role { color: var(--mute); margin: 6px 0 18px; }
.leads { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 22px; }
.leads span { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--deep); margin-right: 4px; }
.leads a { padding: 6px 13px; border-radius: 999px; background: var(--mint); color: var(--deep); text-decoration: none; font-size: 14px; font-weight: 600; transition: background .3s, color .3s; }
.leads a:hover { background: var(--deep); color: #fff; }
.profile .link { margin-top: 18px; }
@media (max-width: 900px) {
  .off-wrap.with-gal { grid-template-columns: 1fr; }
  .collage { height: 460px; }
  .faces { width: 100%; max-width: 420px; margin-top: 20px; }
  .profile, .profile.flip { grid-template-columns: 1fr; gap: 24px; padding: 22px; }
  .profile.flip .pph { order: 0; }
  .pph { max-width: 360px; }
}
/* Office maps */
.omap { display: block; width: 100%; height: 200px; margin-top: 14px; border: 0; border-radius: 12px; background: var(--paper-2); filter: grayscale(.15) contrast(1.02); }
.off-wrap .offices address { min-width: 0; }

/* ---------- Services scroll panel: slim list + one large card per service (the whole card is the link) */
.sbox.svx { --h: 600px; }
.svx .sbox-inner { grid-template-columns: .7fr 1.3fr; gap: 34px; }
.svx .sbox-steps { gap: 2px; }
.svx .sbox-steps li { display: flex; align-items: baseline; gap: 14px; padding: 9px 16px 9px 20px; }
.svx .sbox-steps li::before { top: 9px; bottom: 9px; }
.svx .sbox-steps .num { flex: none; width: 22px; }
.svx .sbox-steps h3 { font-size: 17px; margin: 0; }
.svx-cards { position: relative; width: 100%; height: 100%; transform: perspective(1200px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); transition: transform .5s var(--ease); }
.svx-card { position: absolute; inset: 4px 0 24px; display: flex; flex-direction: column; justify-content: flex-end; border-radius: 24px; overflow: hidden; background: var(--deep-3);
  color: #fff; text-decoration: none; box-shadow: 0 40px 70px -40px rgba(1,58,55,.7); opacity: 0; visibility: hidden; transform: translateY(26px) scale(.97);
  transition: opacity .5s var(--ease), transform .6s var(--ease), visibility .5s; }
.svx-card.on { opacity: 1; visibility: visible; transform: none; }
.svx-card.done { transform: translateY(-26px) scale(.97); }
.svx-ph { position: absolute; inset: 0; margin: 0; }
.svx-ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25) contrast(1.05); transform: scale(1.14); transition: transform 7s cubic-bezier(.2,.6,.2,1), filter .6s; }
.svx-card.on .svx-ph img { transform: scale(1.02); }
.svx-card:hover .svx-ph img { filter: none; }
.svx-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(1,58,55,.94) 0%, rgba(1,58,55,.6) 38%, rgba(1,58,55,.08) 72%); }
.svx-ic { position: absolute; inset: 0; display: grid; place-items: center; color: var(--teal);
  background: radial-gradient(rgba(2,189,180,.22) 1px, transparent 1.4px) 0 0 / 18px 18px, var(--deep-3); }
.svx-ic svg { width: 130px; height: 130px; transform: translateY(-50px); }
.svx-b { position: relative; z-index: 2; display: grid; gap: 8px; justify-items: start; padding: 30px 34px; }
.svx-b > * { opacity: 0; translate: 0 16px; transition: opacity .6s var(--ease), translate .6s var(--ease); }
.svx-card.on .svx-b > * { opacity: 1; translate: 0 0; }
.svx-card.on .svx-b > :nth-child(2) { transition-delay: .08s; } .svx-card.on .svx-b > :nth-child(3) { transition-delay: .16s; } .svx-card.on .svx-b > :nth-child(4) { transition-delay: .24s; }
.svx-b .count { font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--teal); }
.svx-b h3 { color: #fff; font-size: clamp(24px, 2.5vw, 36px); max-width: 16em; }
.svx-b p { color: rgba(255,255,255,.86); font-size: 17px; max-width: 32em; }
.svx-b .go { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; padding: 11px 18px; border-radius: 999px; background: var(--teal); color: var(--ink); font-weight: 650; font-size: 15px;
  transition: background .3s, opacity .6s var(--ease), translate .6s var(--ease); }
.svx-b .go i { font-style: normal; transition: transform .3s var(--ease); }
.svx-card:hover .go { background: #fff; }
.svx-card:hover .go i { transform: translateX(4px); }
.svx-card:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
@media (max-width: 900px) {
  .sbox.svx { height: auto; }
  .svx .sbox-steps, .svx .sbox-rail, .svx .sbox-hint { display: none; }
  .svx .sbox-stage { display: block; }
  .svx-cards { display: grid; gap: 14px; transform: none; }
  .svx-card, .svx-card.done { position: relative; inset: auto; min-height: 320px; opacity: 1; visibility: visible; transform: none; }
  .svx-b > * { opacity: 1; translate: 0 0; }
}
/* ---------- Services overview: a 3D ring of every service around the logo */
.orbit { --R: 250px; --tilt: 66deg; display: grid; grid-template-columns: 1.35fr .65fr; gap: 30px; align-items: center; margin: 0 0 70px; }
.orbit-scene { position: relative; height: 560px; perspective: 1500px; perspective-origin: 50% 30%; touch-action: pan-y; cursor: grab; user-select: none; }
.orbit-scene.drag { cursor: grabbing; }
.orbit-glow { position: absolute; left: 50%; top: 52%; width: 640px; height: 300px; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(2,189,180,.20), rgba(2,189,180,0)); }
.orbit-ring { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d;
  transform: rotateX(calc(var(--tilt) + var(--ry, 0deg))) rotateZ(var(--spin, 0deg)); }
.orbit-path { position: absolute; left: calc(var(--R) * -1); top: calc(var(--R) * -1); width: calc(var(--R) * 2); height: calc(var(--R) * 2); border-radius: 50%;
  border: 1.5px dashed rgba(1,95,90,.32); }
.orbit-path.p2 { left: calc(var(--R) * -.62); top: calc(var(--R) * -.62); width: calc(var(--R) * 1.24); height: calc(var(--R) * 1.24); border: 1px solid rgba(2,189,180,.35);
  animation: pulse 3.2s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.06); opacity: .5; } }
.orbit-core { position: absolute; left: -52px; top: -40px; width: 104px; height: 80px; transform-style: preserve-3d;
  transform: rotateZ(calc(var(--spin, 0deg) * -1)) rotateX(calc((var(--tilt) + var(--ry, 0deg)) * -1)) translateY(-20px); }
.orbit-core svg { width: 104px; height: 80px; filter: drop-shadow(0 18px 18px rgba(1,58,55,.28)); animation: bob 3.6s ease-in-out infinite alternate; }
.onode { position: absolute; left: 0; top: 0; transform-style: preserve-3d; text-decoration: none;
  transform: rotateZ(var(--a)) translateX(var(--R)) rotateZ(calc((var(--a) + var(--spin, 0deg)) * -1)) rotateX(calc((var(--tilt) + var(--ry, 0deg)) * -1)); }
.onode .chip { position: absolute; left: 0; top: 0; translate: -50% -100%; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; white-space: nowrap;
  border-radius: 999px; background: rgba(255,255,255,.96); border: 1px solid var(--line); color: var(--ink); font-size: 14px; box-shadow: 0 16px 30px -18px rgba(1,58,55,.55);
  transition: background .3s, color .3s, scale .3s var(--ease), box-shadow .3s; }
.onode .chip svg { color: var(--deep); flex: none; }
.onode .chip b { font-weight: 650; }
.onode::after { content: ""; position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(2,189,180,.18); }
.onode:hover .chip, .onode:focus-visible .chip, .onode.on .chip { background: var(--deep); color: #fff; scale: 1.08; box-shadow: 0 22px 40px -18px rgba(1,95,90,.8); }
.onode:hover .chip svg, .onode.on .chip svg { color: var(--teal); }
.onode:focus-visible { outline: none; }
.orbit-info { padding: 30px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 30px 60px -45px rgba(1,58,55,.55); }
.orbit-info .count { font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--teal-3); }
.orbit-info h3 { font-size: 24px; margin: 8px 0 10px; }
.orbit-info p { color: var(--ink-2); }
.orbit-info .btn { margin-top: 18px; }
.orbit-info .ohint { margin-top: 18px; font-size: 13px; color: var(--mute); }
.orbit-info.swap > :not(.ohint) { animation: word-in .45s var(--ease) both; }

/* ---------- Service cards: aligned titles and buttons, wide first cards so the last row is full */
.sgrid.cols3 { grid-template-columns: repeat(3, 1fr); }
.scard { height: 100%; }
.scard .sc-b { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.scard .sc-b .count { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--teal-3); }
.scard .sc-b h3 { font-size: 20px; line-height: 1.2; min-height: 2.4em; }
.scard .sc-b p { color: var(--ink-2); font-size: 15.5px; }
.scard .sc-b .link { margin-top: auto; padding-top: 6px; align-self: flex-start; }
.scard .sc-ph { position: relative; }
.scard .sc-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(1,58,55,.35), transparent 55%); opacity: 0; transition: opacity .5s; }
.scard:hover .sc-ph::after { opacity: 1; }
.scard .sc-ph img { filter: grayscale(.3); transition: transform .7s var(--ease), filter .5s; }
.scard:hover .sc-ph img { filter: none; }
.scard.wide { grid-column: span 2; flex-direction: row; }
.scard.wide .sc-ph { flex: 1.1; aspect-ratio: auto; min-height: 100%; }
.scard.wide .sc-b { flex: 1; justify-content: center; padding: 34px; }
.scard.wide .sc-b h3 { font-size: 26px; min-height: 0; }
.js-io .scard.rv { transition-delay: calc(var(--d, 0) * 90ms); }
@supports (animation-timeline: view()) { .scard.rv { animation-range: entry calc(var(--d, 0) * 40px) entry calc(240px + var(--d, 0) * 60px); } }
@media (max-width: 1080px) { .orbit { grid-template-columns: 1fr; } .orbit-info { max-width: 620px; } }
@media (max-width: 900px) {
  .sgrid.cols3 { grid-template-columns: 1fr 1fr; }
  .scard.wide { grid-column: span 2; }
  .orbit { --R: 140px; } .orbit-scene { height: 400px; } .onode .chip { font-size: 12px; padding: 6px 10px 6px 8px; } .onode .chip svg { display: none; }
}
@media (max-width: 600px) { .sgrid.cols3 { grid-template-columns: 1fr; } .scard.wide { grid-column: auto; flex-direction: column; } .scard.wide .sc-ph { aspect-ratio: 16/9; } }
/* ---------- Service pages: one calm side panel that matches the page */
.svc-page { grid-template-columns: 1fr 330px; gap: 56px; }
.svc-page > article > .lead-prose { margin-top: 30px; }
.side { top: 104px; align-self: start; }
.side-panel { position: relative; overflow: hidden; border-radius: 24px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 30px 60px -45px rgba(1,58,55,.5); }
.side-bars { display: grid; gap: 4px; padding: 22px 26px 0; }
.side-bars i { display: block; height: 6px; border-radius: 2px; background: var(--teal); width: 46px; margin-left: 10px; animation: bar-in .8s var(--ease) both; }
.side-bars i:nth-child(2) { background: var(--deep); margin-left: 20px; animation-delay: .08s; }
.side-bars i:nth-child(3) { margin-left: 0; animation-delay: .16s; }
.side-cta { padding: 16px 26px 24px; border-bottom: 1px solid var(--line); }
.side-cta p { color: var(--ink-2); font-size: 16px; line-height: 1.55; margin-bottom: 18px; }
.side-cta .btn { width: 100%; justify-content: space-between; }
.side .side-panel nav { display: grid; gap: 2px; padding: 16px 14px 18px; border: 0; border-radius: 0; background: none; }
.side-h { padding: 0 12px 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--deep); }
.side .side-panel nav a { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 12px; color: var(--ink-2); font-size: 15px; font-weight: 550; text-decoration: none;
  transition: background .25s, color .25s, padding .25s var(--ease); }
.side .side-panel nav a svg { flex: none; color: var(--teal-3); }
.side .side-panel nav a:hover { background: var(--paper-2); color: var(--ink); padding-left: 16px; }
.side .side-panel nav a[aria-current] { background: var(--mint); color: var(--deep); font-weight: 700; }
.side .side-panel nav a[aria-current] svg { color: var(--deep); }
/* refinements: equal cards with a centred last row; a side button that suits two lines */
.sgrid.cols3 { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.sgrid.cols3 > * { flex: 0 1 calc((100% - 44px) / 3); }
.svc-page { grid-template-columns: 1fr 350px; }
.side-cta .btn { border-radius: 16px; padding: 15px 18px 15px 20px; font-size: 15.5px; line-height: 1.3; text-align: left; }
@media (max-width: 900px) { .sgrid.cols3 > * { flex-basis: calc((100% - 22px) / 2); } }
@media (max-width: 600px) { .sgrid.cols3 > * { flex-basis: 100%; } }
/* Card rows sized by how many cards there are (never a lone card on a row); illustration and text centred */
.pillars.n2 { grid-template-columns: repeat(2, 1fr); }
.pillars.n3, .pillars.n6, .pillars.n9 { grid-template-columns: repeat(3, 1fr); }
.pillars.n4, .pillars.n8 { grid-template-columns: repeat(4, 1fr); }
.pillars.n5 { grid-template-columns: repeat(5, 1fr); gap: 14px; }
.pillars.n5 .card { padding: 28px 20px 26px; }
.pillars .card { text-align: center; }
.pillars .card svg.ill { margin-inline: auto; }
.pillars .card .ticks { text-align: left; display: inline-grid; }
@media (max-width: 1080px) {
  .pillars.n4, .pillars.n8 { grid-template-columns: repeat(2, 1fr); }
  .pillars.n5 { grid-template-columns: repeat(6, 1fr); }
  .pillars.n5 > * { grid-column: span 2; }
  .pillars.n5 > :nth-child(4) { grid-column: 2 / span 2; }
}
@media (max-width: 760px) {
  .pillars.n3, .pillars.n6, .pillars.n9 { grid-template-columns: 1fr; }
  .pillars.n5 { grid-template-columns: 1fr 1fr; }
  .pillars.n5 > *, .pillars.n5 > :nth-child(4) { grid-column: auto; }
  .pillars.n5 > :nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .pillars.n2, .pillars.n4, .pillars.n8, .pillars.n5 { grid-template-columns: 1fr; } .pillars.n5 > :nth-child(5) { grid-column: auto; } }
/* ---------- Isometric 3D workflow scenes: depth layers follow the pointer, small loops of motion while a scene is showing */
.iso .lz { transform: translate(calc(var(--px, 0) * var(--z) * 18px), calc(var(--py, 0) * var(--z) * 12px)); transition: transform .6s var(--ease); }
.scenes svg.iso { width: min(560px, 100%); height: 96%; filter: drop-shadow(0 30px 30px rgba(1,58,55,.12)); }
.scenes svg:not(.on) * { animation-play-state: paused !important; }
.iso .drop { animation: iso-drop 3.4s cubic-bezier(.5,0,.6,1) infinite; }
.iso .drop.b { animation-delay: -1.7s; }
@keyframes iso-drop { 0% { transform: translateY(-70px); opacity: 0; } 20% { opacity: 1; } 75% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(0); opacity: 0; } }
.iso .fill line { stroke-dasharray: 170; stroke-dashoffset: 170; animation: iso-fill 4.4s var(--ease) infinite; animation-delay: calc(var(--k) * .35s); }
@keyframes iso-fill { 45%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.iso .bob { animation: iso-bob 2.6s ease-in-out infinite alternate; animation-delay: calc(var(--k, 0) * -.7s); }
@keyframes iso-bob { to { transform: translateY(-12px); } }
.iso [class^="link"] line { animation: iso-dash 1.1s linear infinite; }
@keyframes iso-dash { to { stroke-dashoffset: -24; } }
.iso .tick { transform-box: fill-box; transform-origin: center; animation: iso-pop 4.2s var(--ease) infinite; animation-delay: calc(var(--k) * .45s); }
.iso .pop { transform-box: fill-box; transform-origin: center; animation: iso-pop 3.6s var(--ease) infinite; animation-delay: .8s; }
@keyframes iso-pop { 0%, 12% { transform: scale(0); opacity: 0; } 24%, 86% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
.iso .rise { animation: iso-rise 3.8s var(--ease) infinite; animation-delay: calc(var(--k) * .22s); }
@keyframes iso-rise { 0% { transform: translateY(34px); opacity: 0; } 26%, 84% { transform: none; opacity: 1; } 100% { opacity: 0; } }
.iso .sweep { animation: iso-sweep 3.6s ease-in-out infinite alternate; }
@keyframes iso-sweep { from { transform: translate(-80px, -26px); } to { transform: translate(46px, 34px); } }
.iso .fly { animation: iso-fly 3.4s ease-in infinite; }
@keyframes iso-fly { 0% { transform: translate(-70px, 60px) scale(.8); opacity: 0; } 18% { opacity: 1; } 100% { transform: translate(70px, -70px) scale(1.05); opacity: 0; } }
.iso .trail { animation: iso-dash 1.1s linear infinite; }
/* Software logos (marquee and Software page) */
.swl { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; color: var(--deep); transition: color .3s; }
.swl svg { width: 22px; height: 22px; }
.swl.mono { width: 28px; height: 28px; border-radius: 8px; background: var(--mint); font-size: 10.5px; font-weight: 800; letter-spacing: .02em; color: var(--deep); }
.marquee li { display: inline-flex; align-items: center; gap: 10px; }
.marquee li:hover .swl:not(.mono), .swlist li:hover .swl:not(.mono) { color: var(--brand); }
.swlist { list-style: none; display: grid; gap: 8px; text-align: left; margin-top: 6px; }
.swlist li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; font-size: 15px; font-weight: 550; color: var(--ink-2); transition: background .25s; }
.swlist li:hover { background: var(--paper-2); }

/* 3D art on value cards */
.viso { width: 150px; height: 130px; margin: -6px auto 12px; }
.viso svg { width: 100%; height: 100%; overflow: visible; }
.card:hover .viso svg { filter: drop-shadow(0 16px 18px rgba(1,58,55,.18)); }
/* Name beside the logo: "Kaveen" and "Private Limited" in the logo's dark green, "Consultants" in its teal */
.brand .wm-a { color: var(--deep); }
.brand .wm-b { color: var(--teal); }
.brand b { white-space: nowrap; }
@media (max-width: 1240px) { .top .brand b { font-size: 17px; } .menu a { padding: 8px 9px; font-size: 15px; } }
@media (max-width: 420px) { .top .brand b { font-size: 15px; } }.foot .brand b { white-space: normal; }
@media (max-width: 600px) {
  .top .brand { min-width: 0; flex: 1; }
  .top .brand b { white-space: normal; font-size: 15px; line-height: 1.15; }
  .top .brand small { font-size: 10px; }
  .top .wrap { gap: 12px; }
}@media (max-width: 600px) { .top .brand .wm-c { display: block; } }

/* ---------- Software site: editions (plans), screenshots, account, checkout, comparison */
.btn.ghost { background: var(--white); color: var(--deep); box-shadow: inset 0 0 0 1.5px var(--deep); }
.btn.ghost i { background: var(--mint); }
.wrap.narrow { max-width: 760px; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--deep); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.plans { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: stretch; margin-top: 8px; }
.plans.n1 { grid-template-columns: minmax(260px, 420px); }
.plans.n4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1180px) { .plans.n4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .plans.n4 { grid-template-columns: 1fr; } }
.plan { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); position: relative; transition: transform .35s var(--ease), box-shadow .35s; }
.plan:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -28px rgba(1,95,90,.45); }
.plan.live { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal), 0 24px 50px -32px rgba(1,95,90,.6); }
.plan.live::before { content: ""; position: absolute; left: 28px; right: 28px; top: -1px; height: 4px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--teal), var(--deep)); }
.plan-top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.plan .pill { font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 5px 11px; border-radius: 999px; background: var(--paper-2); color: var(--mute); }
.plan .pill.st-early-access, .plan .pill.st-available { background: var(--mint); color: var(--deep); }
.plan .badge { font-size: 12px; font-weight: 700; color: var(--teal-3); }
.plan .eyebrow { margin: 0; }
.plan h3 { font-size: 22px; line-height: 1.2; }
.plan-sum { color: var(--ink-2); }
.plan-price b { display: block; font-size: 22px; color: var(--ink); }
.plan-price span { font-size: 13px; color: var(--mute); }
.plan-facts { display: grid; gap: 8px; padding: 14px 0; border-block: 1px solid var(--line); margin: 0; }
.plan-facts div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; font-size: 14px; }
.plan-facts dt { color: var(--mute); } .plan-facts dd { margin: 0; color: var(--ink); font-weight: 600; }
.plan .ticks { flex: 1; font-size: 15px; }
.plan .btn { margin-top: auto; }
.shots { display: flex; gap: 22px; overflow-x: auto; padding: 6px 4px 22px; scroll-snap-type: x mandatory; }
.shot { flex: 0 0 auto; width: 230px; border-radius: 28px; overflow: hidden; border: 8px solid #111; background: #111; scroll-snap-align: start; box-shadow: 0 26px 50px -30px rgba(11,36,34,.6); transition: transform .35s var(--ease); }
.shot:hover { transform: translateY(-6px) rotate(-1deg); }
.shot img { display: block; width: 100%; height: auto; }
.acct-msg { padding: 14px 18px; border-radius: 14px; background: var(--mint); color: var(--deep); margin-bottom: 18px; font-weight: 600; }
.acct-msg.bad { background: #FDECEA; color: #8A1F12; }
.acct .card, .checkout .card { padding: 28px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); }
.acct-tabs { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--paper-2); margin-bottom: 22px; }
.acct-tabs button { flex: 1; border: 0; background: none; padding: 11px; border-radius: 999px; font: inherit; font-weight: 650; color: var(--mute); cursor: pointer; }
.acct-tabs button[aria-selected="true"] { background: var(--white); color: var(--deep); box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.acct form .btn { margin-top: 6px; }
.acct form .linkbtn { display: block; margin-top: 16px; }
.acct-hello { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.acct-lists { display: grid; gap: 18px; }
.acct-lists h3 { font-size: 18px; margin-bottom: 12px; }
.acct-row { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid var(--line); }
.acct-row span { color: var(--mute); font-size: 14px; }
.acct-row code { font-size: 14px; color: var(--deep); letter-spacing: .06em; }
.acct-row .st { font-style: normal; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--mute); }
.acct-row .st.paid { color: var(--deep); }
.checkout { display: grid; grid-template-columns: 380px 1fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } }
.co-sum { position: sticky; top: 100px; }
.co-sum h2 { font-size: 24px; margin: 6px 0; }
.co-sum dl { margin: 18px 0 0; display: grid; gap: 12px; }
.co-sum dl div { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.co-sum dt { color: var(--mute); } .co-sum dd { margin: 0; font-weight: 650; text-align: right; }
.co-total { padding-top: 14px; border-top: 1px solid var(--line); font-size: 18px; }
.co-mem { display: inline-flex; align-items: center; gap: 10px; }
.co-step { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper-2); font: inherit; font-weight: 700; cursor: pointer; }
.co-step:hover { border-color: var(--teal); }
.co-sum .fine { font-size: 13px; color: var(--mute); margin-top: 14px; }
.co-main { display: grid; gap: 18px; }
.table-wrap { overflow-x: auto; border-radius: 20px; border: 1px solid var(--line); background: var(--white); }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 15px; }
.compare th, .compare td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: 15px; color: var(--deep); background: var(--mint); }
.compare tbody th { color: var(--mute); font-weight: 600; width: 180px; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.plans:not(.n4):not(.n1) { display: flex; flex-wrap: wrap; justify-content: center; }
.plans:not(.n4):not(.n1) > .plan { flex: 1 1 300px; max-width: 384px; }
.plan .ticks { align-content: start; grid-auto-rows: min-content; }
.plan .btn { font-size: 15px; white-space: nowrap; padding-inline: 18px; }
.checkout [hidden], .acct [hidden], .acct[hidden] { display: none !important; }
.acct .card h2, .checkout .card h2 { margin-bottom: 10px; }
.acct .card p + .btn, .checkout .card p + .btn, .co-closed .btn { margin-top: 18px; }
.co-done .link { margin-top: 14px; }

/* ---------- Header: menu on its own row when it does not fit; division "home" button; solid header on phones */
.menu a, .top .btn { white-space: nowrap; }
.film { margin-top: calc(-1 * var(--top-h, 78px)); }
.phero { margin-top: calc(-1 * var(--top-h, 78px)); padding-top: var(--top-h, 78px); }
.top.stack .wrap { flex-wrap: wrap; row-gap: 0; padding-top: 6px; }
.top.stack .brand { order: 1; }
.top.stack .btn { order: 2; margin-left: auto; }
.top.stack nav { order: 3; flex-basis: 100%; margin-left: 0; border-top: 1px solid var(--line); padding: 6px 0 8px; }
.top.stack .menu { flex-wrap: wrap; margin-left: -12px; }
.menu .nav-home a { display: inline-flex; align-items: center; gap: 7px; margin-right: 8px; padding: 7px 14px; border: 1.5px solid var(--deep); color: var(--deep); font-weight: 650; background: var(--white); transition: background .25s, color .25s; }
.menu .nav-home a::after { display: none; }
.menu .nav-home a:hover, .menu .nav-home a[aria-current] { background: var(--deep); color: #fff; }
.menu .nav-home .ic { flex: none; }
@media (max-width: 900px) {
  .top, .top.scrolled { background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
  .top .wrap { min-height: 70px; }
  .top .brand svg { width: 36px; height: 28px; }
  .top.open .menu { top: calc(var(--top-h, 74px) - 4px); }
  .top.open .menu .nav-home a { justify-content: center; margin: 0 0 6px; }
  .film { height: auto; min-height: 100svh; }
  .film .screen { position: relative; min-height: 100svh; }
  .film .title { height: auto; min-height: 100svh; padding-top: calc(var(--top-h, 78px) + 28px); }
}
.top.stack { background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.top.stack .menu { margin-left: 0; }
.top.stack .menu .nav-home a { margin-left: 0; }
.film .title { padding-top: calc(var(--top-h, 78px) - 20px); }
.film { height: auto; min-height: 100vh; min-height: 100svh; }
.film .screen { position: relative; min-height: 100vh; min-height: 100svh; }
.film .title { height: auto; min-height: 100vh; min-height: 100svh; align-content: safe center; padding-top: calc(var(--top-h, 78px) + 24px); padding-bottom: 96px; }
@media (max-width: 900px) { .film .title { align-content: end; padding-bottom: 92px; } }
/* Room for descenders (g, y, p) inside the clipped title lines of the opening screen */
.ln { padding-bottom: .17em; margin-bottom: -.17em; }
/* Phones: the header is pinned to the screen (not "sticky" in the page), solid and without blur or transitions, so it cannot
   shift when the browser's address bar hides or the page bounces. The page heroes start below it instead of sliding under it. */
@media (max-width: 900px) {
  .top, .top.scrolled, .top.stack { position: fixed; top: 0; left: 0; right: 0; background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none;
    transition: none; transform: translateZ(0); will-change: transform; }
  .entering .top { translate: none; }
  main { padding-top: var(--top-h, 70px); }
  .film, .phero { margin-top: calc(-1 * var(--top-h, 70px)); }
}
