/* MBIC 2026. One system for every page. */
@font-face { font-family: "Funnel Display"; src: url("../fonts/funnel-display.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Funnel Sans"; src: url("../fonts/funnel-sans.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }

:root {
  --bg: #05080d;
  --bg-2: #0a1017;
  --bg-3: #101822;
  --line: rgba(150, 185, 215, .16);
  --line-2: rgba(150, 185, 215, .3);
  --ink: #eaf0f6;
  --ink-2: #a9b6c4;
  --teal: #2bd4a7;
  --blue: #4dabf7;
  --amber: #ffc857;
  --btn-ink: #03130e;
  --display: "Funnel Display", "Segoe UI", system-ui, sans-serif;
  --text: "Funnel Sans", "Segoe UI", system-ui, sans-serif;
  --edge: clamp(1.25rem, 5vw, 5rem);
  --wide: 82rem;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --head-h: 4.5rem;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; scrollbar-color: #24313f var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--text); -webkit-font-smoothing: antialiased; }
::selection { background: var(--teal); color: var(--btn-ink); }
::-webkit-scrollbar { width: 11px; } ::-webkit-scrollbar-track { background: var(--bg); } ::-webkit-scrollbar-thumb { background: #24313f; border-radius: 6px; border: 3px solid var(--bg); }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.028em; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 6.6vw, 5.9rem); line-height: .97; letter-spacing: -.036em; }
h2 { font-size: clamp(2.05rem, 4.4vw, 3.8rem); line-height: 1.02; }
h3 { font-size: clamp(1.3rem, 1.9vw, 1.6rem); line-height: 1.15; letter-spacing: -.015em; }
p { text-wrap: pretty; }
.lede { font-size: clamp(1.1rem, 1.45vw, 1.3rem); line-height: 1.5; color: var(--ink-2); max-width: 36em; }
.soft { color: var(--ink-2); }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--wide) + 2 * var(--edge)); margin-inline: auto; padding-inline: var(--edge); }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: var(--teal); color: var(--btn-ink); padding: .7rem 1rem; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 1rem; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- The world: fixed planes behind and in front of the copy ---------- */
.world { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.world__glow { position: absolute; inset: -10%; background:
  radial-gradient(60% 55% at 12% -5%, rgba(43, 212, 167, .22), transparent 70%),
  radial-gradient(50% 50% at 96% 108%, rgba(77, 171, 247, .16), transparent 70%); }
.world canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.world__still { position: absolute; inset: 0; display: none; background:
  radial-gradient(1px 1px at 20% 30%, rgba(77,171,247,.8) 50%, transparent 51%) 0 0 / 90px 70px,
  radial-gradient(1px 1px at 70% 60%, rgba(43,212,167,.7) 50%, transparent 51%) 0 0 / 130px 110px;
  -webkit-mask-image: linear-gradient(180deg, transparent 35%, #000 100%); mask-image: linear-gradient(180deg, transparent 35%, #000 100%); }
.no-gl .world__still { display: block; }
.front { position: fixed; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.front i { position: absolute; border-radius: 50%; filter: blur(22px); opacity: .5; transform: translate3d(calc(var(--px, 0) * var(--d)), calc(var(--py, 0) * var(--d) + var(--sy, 0px) * var(--k)), 0); will-change: transform; }
.front i:nth-child(1) { width: 15vmax; height: 15vmax; left: -6vmax; bottom: 6vh; background: rgba(43, 212, 167, .16); --d: 46px; --k: -.22; }
.front i:nth-child(2) { width: 9vmax; height: 9vmax; right: 4vw; top: 16vh; background: rgba(77, 171, 247, .15); --d: -30px; --k: -.4; }
.front i:nth-child(3) { width: 5vmax; height: 5vmax; right: 30vw; bottom: -2vmax; background: rgba(255, 200, 87, .12); --d: 64px; --k: -.6; filter: blur(14px); }
.page { position: relative; z-index: 2; }

/* ---------- Header ---------- */
.head { position: fixed; inset: 0 0 auto 0; z-index: 20; height: var(--head-h); display: flex; align-items: center; pointer-events: none; }
.head::before { content: ""; position: absolute; inset: 0 0 -2.5rem 0; z-index: -1; background: linear-gradient(rgba(5, 8, 13, .92) 25%, rgba(5, 8, 13, 0)); pointer-events: none; }
.head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.head a, .head button { pointer-events: auto; }
.brand { display: block; padding: .25rem 0; }
.brand svg { height: 2.5rem; width: auto; }
.pill { display: flex; align-items: center; gap: .15rem; padding: .3rem .3rem .3rem 1rem; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(8, 13, 20, .72); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 10px 30px -12px rgba(43, 212, 167, .35); }
.pill__links { display: flex; align-items: center; }
.pill__links a { padding: .55rem .8rem; font-size: .9rem; font-weight: 500; text-decoration: none; color: var(--ink-2); border-radius: 999px; transition: color .25s var(--ease), background-color .25s var(--ease); }
.pill__links a:hover, .pill__links a[aria-current="page"] { color: var(--ink); }
.pill__links a[aria-current="page"] { background: rgba(150, 185, 215, .12); }
.menu-btn { display: none; align-items: center; gap: .5rem; height: 2.75rem; padding: 0 1rem; border: 0; border-radius: 999px; background: none; color: var(--ink); font: 500 .9rem var(--text); cursor: pointer; }
.menu-btn span { width: 1.1rem; height: 2px; background: currentColor; box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor; }

/* ---------- Buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .8rem 1.5rem; border-radius: 999px; border: 1px solid transparent; background: var(--teal); color: var(--btn-ink); font: 600 1rem/1.1 var(--text); text-decoration: none; cursor: pointer; transition: transform .35s var(--ease), translate .5s var(--ease), background-color .25s var(--ease), box-shadow .35s var(--ease); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .9); }
.btn { translate: var(--mx, 0) var(--my, 0); }
.btn:hover { transform: translateY(-2px); background: #54e4bd; box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .95); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--sm { min-height: 2.5rem; padding: .55rem 1.1rem; font-size: .9rem; box-shadow: none; }
.btn--line { background: transparent; color: var(--ink); border-color: var(--line-2); box-shadow: none; }
.btn--line:hover { background: rgba(150, 185, 215, .1); border-color: var(--ink-2); box-shadow: none; }
.link { font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: .15em; transition: background-size .4s var(--ease), color .25s; }
.link:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--teal); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.4rem; margin-top: 2rem; }
.tel { font-family: var(--display); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Home: waypoints in one world ---------- */
.wp { position: relative; min-height: 100svh; }
.wp__stick { min-height: 100svh; display: grid; align-items: center; padding: calc(var(--head-h) + 1.5rem) 0 3rem; }
.cue { max-width: 37rem; position: relative; }
.cue::before { content: ""; position: absolute; inset: -4rem max(-6rem, calc(var(--edge) * -1)); z-index: -1; background: radial-gradient(closest-side, rgba(5, 8, 13, .78), rgba(5, 8, 13, .5) 60%, transparent); pointer-events: none; }
.cue > * + * { margin-top: 1.25rem; }
.cue h2 + .lede, .cue h1 + .lede { margin-top: 1.5rem; }
.wp--right .cue { margin-left: auto; }
.wp--centre .wp__stick { align-items: end; }
.wp--centre .cue { margin-inline: auto; text-align: center; max-width: 46rem; }
.wp--centre .lede { margin-inline: auto; }
.wp--centre .actions { justify-content: center; }
.wp--hero .wp__stick { align-items: center; padding-bottom: 16vh; }
.wp--hero .cue { max-width: 54rem; }
.clock { font-family: var(--display); font-weight: 600; font-size: clamp(1.1rem, 1.5vw, 1.35rem); color: var(--amber); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.facts { display: grid; gap: .7rem; margin-top: 1.5rem; }
.facts li { display: grid; grid-template-columns: 1.1rem 1fr; gap: .8rem; align-items: baseline; color: var(--ink-2); }
.facts li::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--teal); transform: translateY(-.1em); }
.facts--no li::before { background: none; border: 1.5px solid var(--ink-2); }

/* scroll-driven mode: JS adds .scrolly when motion is allowed */
.scrolly .wp { min-height: calc(var(--span, 1.6) * 100svh); }
.scrolly .wp__stick { position: sticky; top: 0; height: 100svh; min-height: 0; }
.scrolly .wp__stick > .wrap { display: grid; align-items: inherit; height: 100%; }
.scrolly .cue { grid-area: 1 / 1; visibility: var(--vis, hidden); opacity: calc(1 - var(--x, 0)); filter: blur(calc(var(--x, 0) * 14px)); transform: translate3d(calc(var(--x, 0) * var(--pull, 9vw)), calc(var(--x, 0) * -11vh), 0) scale(calc(1 - var(--x, 0) * .08)); transform-origin: var(--pull-origin, 100% 30%); will-change: opacity, transform, filter; }
.scrolly .wp--right .cue { --pull: -9vw; --pull-origin: 0% 30%; }
.scrolly .wp--centre .cue { --pull: 0vw; --pull-origin: 50% 0%; }
.scrolly .cue > *, .scrolly .cue .w { --w: clamp(0, calc(var(--e, 0) * (1 + var(--n, 8) * .11) - var(--i, 0) * .11), 1); }
.scrolly .cue > :not(h1, h2) { opacity: var(--w); transform: translate3d(0, calc((1 - var(--w)) * 2.2rem), 0); }
.scrolly .cue .w { display: inline-block; opacity: var(--w); filter: blur(calc((1 - var(--w)) * 7px)); transform: translate3d(0, calc((1 - var(--w)) * .55em), 0) rotate(calc((1 - var(--w)) * 3deg)); transform-origin: 0 100%; }
.scrolly [data-step] { opacity: var(--s, 0); transform: translate3d(0, calc((1 - var(--s, 0)) * 1rem), 0); }
html:not(.scrolly) [data-step] { opacity: 1; }
.wp--hero .cue { --e: 1; --vis: visible; }
html:not(.scrolly) .wp, html:not(.scrolly) .wp__stick { min-height: 72svh; }
html:not(.scrolly) .wp--hero, html:not(.scrolly) .wp--hero .wp__stick { min-height: 100svh; }
html:not(.scrolly) .cue + .cue { margin-top: 4rem; }

/* hero entrance, once */
@media (prefers-reduced-motion: no-preference) {
  .enter .w, .enter > :not(h1, h2), .hero__copy > * { animation: rise 1.2s var(--ease) both; animation-delay: calc(.25s + var(--i, 0) * 70ms); }
  .hero__copy > :nth-child(2) { --i: 2; } .hero__copy > :nth-child(3) { --i: 4; } .hero__copy > :nth-child(4) { --i: 6; }
  @keyframes rise { from { opacity: 0; transform: translateY(1.75rem) rotate(2deg); filter: blur(10px); } }
}

/* the map of the world */
.rail { position: fixed; right: clamp(.75rem, 2vw, 2rem); top: 50%; z-index: 15; transform: translateY(-50%); display: none; }
.scrolly .rail { display: grid; gap: .15rem; }
.rail a { display: grid; grid-template-columns: 1fr auto; align-items: center; justify-items: end; gap: .75rem; padding: .45rem 0; text-decoration: none; font-size: .8rem; font-weight: 500; color: var(--ink-2); }
.rail a span { opacity: 0; transform: translateX(.4rem); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.rail a::after { content: ""; width: .5rem; height: .5rem; border-radius: 50%; border: 1.5px solid var(--ink-2); transition: transform .4s var(--ease), background-color .3s, border-color .3s; }
.rail:hover a span, .rail a:focus-visible span { opacity: 1; transform: none; }
.rail a[aria-current="true"] { color: var(--ink); }
.rail a[aria-current="true"]::after { background: var(--teal); border-color: var(--teal); transform: scale(1.5); }

/* ---------- Inner pages ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; padding: calc(var(--head-h) + 3rem) 0 clamp(3rem, 9vh, 6rem); }
.hero__copy { max-width: 46rem; position: relative; }
.hero__copy::before { content: ""; position: absolute; inset: -3rem max(-5rem, calc(var(--edge) * -1)); z-index: -1; background: radial-gradient(closest-side, rgba(5, 8, 13, .86), rgba(5, 8, 13, .6) 62%, transparent); pointer-events: none; }
.hero--plain { min-height: 62svh; }
.hero--mid { align-items: center; padding-bottom: 24vh; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 5rem); }
.hero .lede { margin-top: 1.5rem; }
.panel { position: relative; background: var(--bg); padding: clamp(4.5rem, 11vh, 8.5rem) 0; }
.panel--alt { background: var(--bg-2); }
.panel--open { background: none; }
.panel > .wrap > h2 { max-width: 20ch; }
.panel > .wrap > h2 + .lede { margin-top: 1.25rem; }
.stack > * + * { margin-top: 1.25rem; }
.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.split > :first-child { grid-column: span 5; }
.split > :last-child { grid-column: span 7; }
.split--even > * { grid-column: span 6 !important; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); margin-top: 3rem; }
.rule-list { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.rule-list > li, .rule-list > div { display: grid; grid-template-columns: minmax(10rem, 1fr) 2fr; gap: 1rem 3rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.rule-list h3 { font-size: 1.2rem; }
.rule-list p { color: var(--ink-2); }
.surface { background: var(--bg-3); border: 1px solid var(--line); border-radius: 1.25rem; padding: clamp(1.25rem, 2.5vw, 2rem); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .9); }
.tag { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .7rem; border-radius: 999px; border: 1px solid var(--line-2); font-size: .82rem; font-weight: 500; color: var(--ink-2); }
.tag--hot { color: var(--amber); border-color: rgba(255, 200, 87, .5); }
.tag--ok { color: var(--teal); border-color: rgba(43, 212, 167, .5); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { min-height: 2.75rem; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line-2); background: none; color: var(--ink-2); font: 500 .95rem var(--text); cursor: pointer; transition: color .2s, border-color .2s, background-color .2s; }
.chip:hover { color: var(--ink); border-color: var(--ink-2); }
.chip[aria-pressed="true"], .chip[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.shot { border-radius: 1rem; border: 1px solid var(--line); overflow: hidden; background: var(--bg-3); }
.shot img { width: 100%; transition: transform .8s var(--ease); }
.shot:hover img { transform: scale(1.025); }
.prose { max-width: 46rem; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 3rem; }
.prose h3 { margin-top: 2rem; }
.prose ul { list-style: disc; padding-left: 1.25rem; } .prose ol { list-style: decimal; padding-left: 1.25rem; }
.prose li + li { margin-top: .4rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--teal); }

/* close: the world forms the mark, the action sits under it */
.close { position: relative; min-height: 100svh; display: grid; align-items: end; padding: 6rem 0 clamp(4rem, 12vh, 8rem); text-align: center; }
.close .lede { margin: 1.5rem auto 0; }
.close .actions { justify-content: center; }
.close h2 { max-width: 18ch; margin-inline: auto; }

/* ---------- Footer ---------- */
.foot { position: relative; z-index: 2; background: var(--bg); border-top: 1px solid var(--line); padding: 4rem 0 2rem; font-size: .95rem; }
.foot__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; }
.foot h2 { font: 600 .95rem var(--text); letter-spacing: 0; color: var(--ink); margin-bottom: .9rem; }
.foot li + li { margin-top: .55rem; }
.foot a { color: var(--ink-2); text-decoration: none; transition: color .2s; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot__brand svg { height: 3.25rem; width: auto; margin-bottom: 1rem; }
.foot__brand p { color: var(--ink-2); max-width: 24em; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .875rem; }
.foot__base ul { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; } .foot__base li + li { margin: 0; }

/* ---------- Phone and tablet ---------- */
@media (max-width: 62rem) {
  .pill { padding: .3rem; gap: .3rem; }
  .pill__links { position: fixed; inset: 0; z-index: -1; flex-direction: column; align-items: flex-start; justify-content: center; gap: .25rem; padding: 6rem var(--edge) 3rem; background: rgba(5, 8, 13, .97); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; }
  .pill__links a { font: 600 clamp(1.8rem, 7vw, 2.6rem)/1.15 var(--display); letter-spacing: -.02em; color: var(--ink); padding: .5rem 0; }
  .pill__links a[aria-current="page"] { background: none; color: var(--teal); }
  .menu-open .pill__links { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
  .menu-btn { display: inline-flex; }
  .rail { display: none !important; }
  .split > * { grid-column: 1 / -1 !important; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 40rem) {
  :root { --head-h: 4rem; }
  .brand svg { height: 2.1rem; }
  .menu-btn { padding: 0 .8rem; } .menu-btn b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .pill .btn--sm { padding-inline: .9rem; }
  .hero--mid { align-items: end; padding-bottom: 3rem; }
  .wp__stick, .wp--centre .wp__stick { align-items: end; padding-bottom: 2.5rem; }
  .wp--right .cue { margin-left: 0; }
  .cue { background: linear-gradient(180deg, transparent, rgba(5, 8, 13, .82) 22%); margin-inline: calc(var(--edge) * -1); padding: 3rem var(--edge) 0; }
  .cue::before, .hero__copy::before { display: none; }
  .wp--centre .cue { text-align: left; } .wp--centre .actions { justify-content: flex-start; }
  .actions .btn { width: 100%; }
  .rule-list > li, .rule-list > div { grid-template-columns: 1fr; gap: .4rem; }
  .close { text-align: left; } .close .actions { justify-content: flex-start; } .close h2, .close .lede { margin-inline: 0; }
  .front i { opacity: .3; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .front { display: none; }
}

/* ---------- pinned sequences (service pages): scroll is the clock ---------- */
.seq { position: relative; }
.scrolly .seq { height: calc(var(--span, 3) * 100svh); }
.scrolly .seq__stick { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; align-items: center; padding-top: var(--head-h); }
.seq--open { background: none; }

/* ---------- read-outs that ride with the waypoint copy on the home page ---------- */
.hud { display: grid; gap: .55rem; margin-top: 1.75rem; max-width: 31rem; }
.wp--right .hud { margin-left: 0; }
@media (max-width: 40rem) { .hud__row { grid-template-columns: 1fr; gap: .15rem; padding: .55rem .8rem; } .hud { gap: .4rem; margin-top: 1rem; } .cue h2 { font-size: 1.75rem; } .cue .lede { font-size: 1rem; } }
@media (max-height: 46rem) and (min-width: 40rem) { .cue h2 { font-size: clamp(1.8rem, 3.4vw, 2.9rem); } .hud__row { padding: .5rem .9rem; } }
.hud__row { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: baseline; padding: .7rem 1rem; border: 1px solid var(--line); border-radius: .9rem; background: rgba(10, 16, 23, .66); }
.hud__row time, .hud__row b { font: 600 .9rem var(--display); font-variant-numeric: tabular-nums; color: var(--teal); white-space: nowrap; }
.hud__row--hot time, .hud__row--hot b { color: var(--amber); }
.hud__row span { color: var(--ink); font-size: .98rem; }
.hud__row cite { display: block; font-style: normal; font-size: .85rem; color: var(--amber); margin-top: .3rem; }
.meter { height: 2px; background: var(--line); margin-top: 1.5rem; max-width: 30rem; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--teal); transform-origin: 0 50%; transform: scaleX(var(--q, 0)); }

/* ---------- pointer follower ---------- */
.pointer { position: fixed; left: 0; top: 0; z-index: 60; width: 0; height: 0; pointer-events: none; opacity: 0; transition: opacity .4s; }
.pointer.is-on { opacity: 1; }
.pointer::before { content: ""; position: absolute; left: -1.1rem; top: -1.1rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 1px solid rgba(233, 240, 246, .45); transform: scale(.45); transition: transform .45s var(--ease), border-color .3s, background-color .3s; }
.pointer.is-over::before { transform: scale(1.25); border-color: var(--teal); background: rgba(43, 212, 167, .08); }

/* ---------- page to page ---------- */
@view-transition { navigation: auto; }
.head { view-transition-name: head; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: vt-out .32s cubic-bezier(.4, 0, 1, 1) both; }
  ::view-transition-new(root) { animation: vt-in .55s var(--ease) both; }
  @keyframes vt-out { to { opacity: 0; filter: blur(10px); transform: scale(1.02); } }
  @keyframes vt-in { from { opacity: 0; filter: blur(12px); transform: scale(.985); } }
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* tall, narrow screens (tablet portrait): the swarm takes the top, the copy the bottom */
.btn--sm { white-space: nowrap; }
@media (max-aspect-ratio: 5/6) {
  .wp__stick, .wp--centre .wp__stick, .wp--hero .wp__stick { align-items: end; padding-bottom: 6vh; }
  .wp--right .cue { margin-left: 0; }
  .cue { max-width: 40rem; }
  .hero, .hero--mid { align-items: end; padding-bottom: 6vh; }
  .rail { display: none !important; }
}
@media (max-aspect-ratio: 5/6) { .wp--hero .wp__stick { align-items: center; padding-bottom: 22vh; } }

/* the team line above each service page close */
.team-line { border-top: 1px solid var(--line); padding: clamp(3rem, 7vh, 5rem) 0; background: var(--bg); position: relative; }
.team-line .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.team-line h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.team-line p { color: var(--ink-2); max-width: 40em; }
.team-line p + p { margin-top: 1rem; }
@media (max-width: 62rem) { .team-line .wrap { grid-template-columns: 1fr; } }

/* ---------- footer: blog and social icons ---------- */
.social { display: flex; gap: .5rem; }
.foot__base .social li + li { margin: 0; }
.social__item { position: relative; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line-2); border-radius: 50%; color: var(--ink-2); text-decoration: none; transition: color .25s var(--ease), border-color .25s var(--ease), transform .35s var(--ease); }
.social__item svg { width: 1.05rem; height: 1.05rem; fill: currentColor; }
.social__item svg.is-line { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; width: 1.4rem; height: 1.4rem; }
a.social__item:hover { color: var(--teal); border-color: var(--teal); transform: translateY(-2px); text-decoration: none; }
span.social__item { cursor: default; }
span.social__item:hover, span.social__item:focus-visible { color: var(--ink); border-color: var(--ink-2); }
.social__item::after { content: attr(data-tip); position: absolute; bottom: calc(100% + .55rem); left: 50%; padding: .3rem .65rem; border-radius: .5rem; background: var(--ink); color: var(--bg); font: 600 .78rem var(--text); white-space: nowrap; pointer-events: none; opacity: 0; transform: translate(-50%, .3rem); transition: opacity .2s ease, transform .3s var(--ease); }
.social__item:hover::after, .social__item:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.foot__base { align-items: center; }
