/* ==========================================================================
   Yenetch design system v3
   Black & white with one highlight: Tech Blue #0066FF.
   Type: Inter Tight (display), Inter (text). One scale, one grid, one radius family.

   Contents
     1  Tokens & base          9  Stacking cards, rail, product UIs
     2  Buttons, links, logo  10  Services: bento, detail blocks
     3  Navigation & mega     11  Company: team, values, offices
     4  Heroes & sub-nav      12  Work: case tiles, story
     5  Layout helpers        13  Blog & article
     6  Photography           14  Forms, contact, finder
     7  Motion                15  CTA, footer, 404
     8  Illustrations         16  Chatbot
   ========================================================================== */

/* ---------- 1. tokens & base ---------- */
:root {
  color-scheme: light;
  --white: #FFFFFF;
  --paper: #F5F5F7;
  --paper-2: #EDEDF0;
  --ink: #0A0A0B;
  --ink-2: #505056;
  --ink-3: #86868C;
  --line: #E4E4E8;
  --black: #000000;
  --black-2: #0E0E10;
  --black-3: #1C1C1F;
  --on-black: #F5F5F7;
  --on-black-2: #A1A1A6;
  --on-black-line: #2A2A2E;
  --blue: #0066FF;
  --blue-hover: #0052CC;
  --blue-on-black: #3D8BFF;
  --blue-tint: #EBF2FF;
  --green: #1A9F5B;

  --f-display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-text: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --t-hero: clamp(2.9rem, 1.2rem + 7vw, 7.25rem);
  --t-1: clamp(2.25rem, 1.2rem + 4vw, 4.5rem);
  --t-2: clamp(1.75rem, 1.1rem + 2.4vw, 3rem);
  --t-3: clamp(1.25rem, 1rem + .8vw, 1.625rem);
  --t-lead: clamp(1.125rem, 1rem + .45vw, 1.375rem);
  --t-body: 1.0625rem;
  --t-small: .875rem;

  --r-1: 10px;
  --r-2: 20px;
  --r-3: 30px;
  --wrap: 1240px;
  --text: 760px;
  --gutter: clamp(16px, 4.5vw, 40px);
  --nav-h: 64px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow: 0 30px 80px -30px rgba(0,0,0,.28), 0 0 0 1px rgba(0,0,0,.05);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 64px); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 var(--t-body)/1.55 var(--f-text); letter-spacing: -.011em;
  font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; margin: 0; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
h3 { letter-spacing: -.02em; line-height: 1.18; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-only:focus { position: fixed; left: 12px; top: 12px; width: auto; height: auto; clip: auto; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.num { font-variant-numeric: tabular-nums; }
.blue { color: var(--blue); }
.dark .blue { color: var(--blue-on-black); }
.ico { width: 20px; height: 20px; flex: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--text { max-width: calc(var(--text) + var(--gutter) * 2); }
.sec { padding-block: clamp(80px, 11vw, 160px); }
.sec--tight { padding-block: clamp(56px, 7vw, 96px); }
.paper { background: var(--paper); }
.dark { background: var(--black); color: var(--on-black); }

.kicker { display: inline-block; font-size: var(--t-small); font-weight: 600; letter-spacing: -.005em; color: var(--blue); }
.dark .kicker { color: var(--blue-on-black); }
.head { display: grid; gap: 18px; max-width: 820px; margin-bottom: clamp(40px, 6vw, 80px); align-content: start; }
.head .head { margin: 0; }
.head h2 { font-size: var(--t-1); }
.head p { font-size: var(--t-lead); color: var(--ink-2); max-width: 60ch; line-height: 1.5; }
.dark .head p { color: var(--on-black-2); }
.head--row { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
@media (max-width: 760px) { .head--row { grid-template-columns: 1fr; } .head--row > .btn { justify-self: start; } }
.lead { font-size: var(--t-lead); color: var(--ink-2); line-height: 1.55; }
.dark .lead { color: var(--on-black-2); }
.lead + .lead { margin-top: 18px; }

/* ---------- 2. buttons, links, logo ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
  min-height: 48px; padding: 0 24px; border-radius: 999px; font-size: 1rem; font-weight: 500; letter-spacing: -.01em;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn .ico { width: 18px; height: 18px; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-hover); box-shadow: 0 10px 30px -10px rgba(0,102,255,.7); }
.btn--black { background: var(--ink); color: #fff; }
.btn--black:hover { background: #2a2a2d; }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--paper-2); }
.btn--line { box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); background: transparent; }
.btn--line:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.dark .btn--line { box-shadow: inset 0 0 0 1px #3a3a3f; color: var(--on-black); }
.dark .btn--line:hover { box-shadow: inset 0 0 0 1px var(--on-black); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: .9375rem; }
.btn--xs { min-height: 32px; padding: 0 14px; font-size: .8125rem; }
.more { color: var(--blue); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.more::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); transition: transform .2s var(--ease); }
a:hover > .more::after, .more:hover::after { transform: translateX(3px) rotate(45deg); }
.dark .more { color: var(--blue-on-black); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.logo { display: inline-flex; align-items: center; gap: 9px; }
.logo svg { width: 30px; height: 30px; flex: none; }
.logo span { font: 700 1.3125rem/1 var(--f-display); letter-spacing: -.045em; }
.logo--lg svg { width: 40px; height: 40px; }
.logo--lg span { font-size: 1.75rem; }
.mark .m-t { fill: var(--blue); }
.mark .m-o, .mark .m-r, .mark .m-l { fill: currentColor; }
.logo:hover .m-t { transform: translateY(-3px); }
.mark .m-t { transition: transform .5s var(--ease); }

/* ---------- 3. navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 60; height: var(--nav-h); isolation: isolate;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
/* The frosted bar is a pseudo-element, so the nav itself is not a backdrop root and the mega menu can blur the page under it. */
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.8); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); }
/* While a mega menu is open, the page below softens and blurs. */
.nav::after { content: ""; position: fixed; left: 0; right: 0; top: var(--nav-h); bottom: 0; z-index: -2; pointer-events: none;
  background: rgba(10,10,12,.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s; }
.nav:has(.has-mega:hover)::after, .nav:has(.has-mega:focus-within)::after { opacity: 1; visibility: visible; transition-delay: .06s, 0s; }
.nav__bar { height: 100%; display: flex; align-items: center; gap: 28px; }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; font-size: .9375rem; color: var(--ink-2); height: 100%; }
.nav__item { height: 100%; display: flex; align-items: center; }
.nav__link { position: relative; padding: 8px 12px; white-space: nowrap; transition: color .2s; border-radius: 999px; }
.nav__link:hover, .nav__item:focus-within > .nav__link, .nav__link[aria-current="page"] { color: var(--ink); }
.nav__link[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; background: var(--blue); border-radius: 2px; }
.nav__cta { display: flex; align-items: center; gap: 8px; }
.nav__phone { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); transition: background .2s, color .2s; }
.nav__phone:hover { background: var(--paper); color: var(--ink); }
.nav__phone .ico { width: 18px; height: 18px; }
.nav__mobile-cta { display: none; }
.nav__menu { display: none; width: 40px; height: 40px; margin-left: auto; border-radius: 50%; position: relative; }
.nav__menu i { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__menu i:first-child { top: 16px; } .nav__menu i:last-child { top: 23px; }
.nav__menu[aria-expanded="true"] i:first-child { top: 19.5px; transform: rotate(45deg); }
.nav__menu[aria-expanded="true"] i:last-child { top: 19.5px; transform: rotate(-45deg); }

/* mega menu: opens on hover or keyboard focus */
.mega {
  position: absolute; left: 0; right: 0; top: 100%; background: rgba(255,255,255,.78); backdrop-filter: saturate(1.8) blur(30px); -webkit-backdrop-filter: saturate(1.8) blur(30px);
  border-bottom: 1px solid var(--line); box-shadow: 0 40px 60px -40px rgba(0,0,0,.25);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .35s var(--ease), visibility 0s .25s;
}
.nav__item.has-mega:hover .mega, .nav__item.has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; transition-delay: .06s, .06s, 0s; }
.mega__grid { display: grid; grid-template-columns: 280px 1fr; gap: 48px; padding-block: 36px 44px; }
.mega__intro { display: grid; gap: 14px; align-content: start; }
.mega__intro p { font: 600 1.375rem/1.25 var(--f-display); letter-spacing: -.02em; color: var(--ink); }
.mega__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 12px; }
.mega__list a { display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; transition: background .2s; }
.mega__list a:hover { background: var(--paper); }
.mega__list b { font-weight: 600; color: var(--ink); font-size: .9375rem; display: flex; align-items: center; gap: 8px; }
.mega__list span { font-size: .8125rem; color: var(--ink-3); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mega__list .pill { font-style: normal; font-size: .6875rem; padding: 2px 7px; }

@media (max-width: 1100px) {
  .nav::after { display: none; }
  .nav__links { display: none; }
  .nav__menu { display: block; }
  .nav__cta { margin-left: auto; }
  .nav__cta .btn { display: none; }
  .nav__menu { margin-left: 0; }
  .mega { display: none; }
  .nav__links.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0; position: fixed; inset: var(--nav-h) 0 0 0; margin: 0; height: auto;
    background: #fff; padding: 12px var(--gutter) 40px; font: 600 1.75rem/1.2 var(--f-display); color: var(--ink); overflow-y: auto;
    animation: fade .35s var(--ease) both;
  }
  .nav__links.is-open .nav__item { height: auto; border-bottom: 1px solid var(--line); }
  .nav__links.is-open .nav__link { padding: 16px 0; width: 100%; border-radius: 0; }
  .nav__links.is-open .nav__link[aria-current="page"] { color: var(--blue); }
  .nav__links.is-open .nav__link[aria-current="page"]::after { display: none; }
  .nav__links.is-open .nav__mobile-cta { display: inline-flex; margin-top: 28px; font: 500 1rem var(--f-text); min-height: 52px; }
  /* sub-menus: the arrow opens the section's pages; the label still goes to the section page */
  .nav__links.is-open .nav__item.has-mega { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .nav__links.is-open .nav__sub { display: grid; }
  .nav__links.is-open .has-mega .mega { grid-column: 1 / -1; position: static; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; box-shadow: none; transform: none; transition: none; }
  .nav__links.is-open .has-mega.is-sub .mega { display: block; opacity: 1; visibility: visible; animation: fade .3s var(--ease) both; }
  .nav__links.is-open .mega .wrap { padding: 0; }
  .nav__links.is-open .mega__grid { grid-template-columns: 1fr; gap: 0; padding: 0 0 14px; }
  .nav__links.is-open .mega__intro { display: none; }
  .nav__links.is-open .mega__list { grid-template-columns: 1fr; gap: 2px; font: 400 1rem/1.3 var(--f-text); }
  .nav__links.is-open .mega__list a { padding: 10px 12px; }
  .nav__links.is-open .mega__list span { display: none; }
}
.nav__sub { display: none; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); color: var(--ink); }
.nav__sub svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.nav__sub[aria-expanded="true"] { background: var(--ink); color: #fff; }
.nav__sub[aria-expanded="true"] svg { transform: rotate(180deg); }

/* ---------- 4. heroes & sub-nav ---------- */
.hero { background: var(--black); color: var(--on-black); position: relative; overflow: hidden; padding-block: clamp(72px, 10vw, 140px) clamp(64px, 8vw, 110px); }
.hero::before {
  content: ""; position: absolute; inset: auto -20% -55% -20%; height: 90%; pointer-events: none;
  background: radial-gradient(50% 50% at 62% 40%, rgba(0,102,255,.30), transparent 70%);
}
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(70% 60% at 70% 40%, #000, transparent); -webkit-mask-image: radial-gradient(70% 60% at 70% 40%, #000, transparent); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero__eyebrow { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: var(--t-small); color: var(--on-black-2); margin-bottom: 28px; }
.hero__eyebrow b { color: var(--on-black); font-weight: 500; padding: 5px 10px; border-radius: 999px; background: #17171a; box-shadow: inset 0 0 0 1px var(--on-black-line); }
.hero h1 { font-size: var(--t-hero); letter-spacing: -.05em; line-height: .96; }
.hero h1 .ln, .phero h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .ln > span, .phero h1 .ln > span { display: inline-block; animation: rise 1s var(--ease) both; }
.hero h1 .ln:nth-child(2) > span, .phero h1 .ln:nth-child(2) > span { animation-delay: .08s; }
.hero h1 .ln:nth-child(3) > span { animation-delay: .16s; }
.hero h1 .outside { color: var(--blue-on-black); display: inline-block; transform: rotate(-3deg); transform-origin: left 80%; }
@keyframes rise { from { transform: translateY(105%); } }
.hero__lead { font-size: var(--t-lead); color: var(--on-black-2); max-width: 52ch; margin-top: 32px; line-height: 1.5; animation: fade .9s .35s var(--ease) both; }
.hero .actions { margin-top: 40px; animation: fade .9s .45s var(--ease) both; }
@keyframes fade { from { opacity: 0; transform: translateY(16px); } }
.hero__proof { display: flex; flex-wrap: wrap; gap: 12px 36px; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--on-black-line); animation: fade .9s .55s var(--ease) both; }
.hero__proof div { display: grid; gap: 2px; }
.hero__proof b { font: 600 1.75rem/1 var(--f-display); letter-spacing: -.03em; }
.hero__proof span { font-size: var(--t-small); color: var(--on-black-2); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero__stage { order: -1; max-width: 260px; margin-inline: auto; } }

/* Hero mark: the Y-Box logo drawn large. The body assembles on load, a light sweeps across it and the blue lid floats; it tilts with the pointer. */
@media (min-width: 901px) { .hero__stage { align-self: start; margin-top: 24px; } }
.hero__stage { perspective: 1200px; aspect-ratio: 1; width: 100%; display: grid; place-items: center; position: relative; }
.ybox3d { width: min(380px, 74vw); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease); transform-style: preserve-3d; }
.ybox { display: block; width: 100%; height: auto; overflow: visible; }
.ybox path, .ybox ellipse, .ybox rect { transform-box: fill-box; transform-origin: center; }
.ybox__ring { animation: ybIn 1.1s var(--ease) both; }
.ybox__bar { animation: ybBar 1s .35s var(--ease) both; }
.ybox__bar--r { animation-delay: .5s; }
.ybox__lid { animation: ybDrop 1s .75s var(--ease) both, ybFloat 6s 1.75s ease-in-out infinite; }
.ybox__halo { opacity: .55; animation: ybDrop 1s .75s var(--ease) both, ybHalo 6s 1.75s ease-in-out infinite; }
.ybox__glow { animation: ybGlow 6s 1.75s ease-in-out infinite; }
.ybox__sheen { animation: ybSheen 7s 2s ease-in-out infinite; }
@keyframes ybIn { from { opacity: 0; transform: scale(.86); } }
@keyframes ybBar { from { opacity: 0; transform: translateY(14px); } }
@keyframes ybDrop { from { opacity: 0; transform: translateY(-26px); } }
@keyframes ybFloat { 50% { transform: translateY(-5px); } }
@keyframes ybHalo { 50% { transform: translateY(-5px) scale(1.12); opacity: .8; } }
@keyframes ybGlow { 50% { transform: scaleX(.86); opacity: .7; } }
@keyframes ybSheen { 0% { transform: translateX(0); } 45%, 100% { transform: translateX(150px); } }
.hero__orbit { position: absolute; inset: 0; pointer-events: none; }
.hero__orbit span { position: absolute; font-size: .8125rem; font-weight: 500; color: var(--on-black-2); padding: 7px 13px; border-radius: 999px; background: rgba(23,23,26,.8); box-shadow: inset 0 0 0 1px var(--on-black-line); backdrop-filter: blur(8px); animation: bob 6s ease-in-out infinite; }
.hero__orbit span:nth-child(1) { left: 2%; top: 22%; }
.hero__orbit span:nth-child(2) { right: 0; top: 44%; animation-delay: -2s; }
.hero__orbit span:nth-child(3) { left: 14%; bottom: 10%; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

.phero { padding-block: clamp(64px, 9vw, 128px) clamp(48px, 6vw, 88px); position: relative; overflow: hidden; }
.phero.dark::before { content: ""; position: absolute; right: -10%; top: -30%; width: 70%; height: 140%; background: radial-gradient(closest-side, rgba(0,102,255,.28), transparent); pointer-events: none; }
.phero .wrap { position: relative; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: var(--t-small); color: var(--ink-3); margin-bottom: 28px; }
.crumbs i { font-style: normal; opacity: .5; }
.dark .crumbs { color: var(--on-black-2); }
.crumbs a:hover { color: var(--blue); }
.phero .kicker { margin-bottom: 18px; }
.phero h1 { font-size: var(--t-hero); letter-spacing: -.05em; line-height: .98; max-width: 15ch; }
.phero .h1-svc { font-size: clamp(2.5rem, 1.3rem + 4.4vw, 5rem); max-width: 16ch; animation: fade .9s var(--ease) both; }
.phero__sub { font: 600 var(--t-3)/1.25 var(--f-display); letter-spacing: -.02em; margin-top: 18px; max-width: 30ch; animation: fade .9s .2s var(--ease) both; }
.phero__lead { font-size: var(--t-lead); color: var(--ink-2); max-width: 56ch; margin-top: 24px; line-height: 1.5; animation: fade .9s .3s var(--ease) both; }
.dark .phero__lead { color: var(--on-black-2); }
.phero__price { margin-top: 20px; color: var(--ink-2); }
.phero__price b { color: var(--ink); font-size: 1.25rem; font-weight: 600; margin-right: 6px; }
.phero .actions { margin-top: 36px; animation: fade .9s .4s var(--ease) both; }
.phero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.phero__grid--case { align-items: end; }
.phero__visual { position: relative; }
.phero__visual .win { border-radius: 14px; }
.phero__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; }
.phero__tags .kicker { margin: 0; }
.phero__photo { border-radius: var(--r-3); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.phero--prod { background: var(--paper); }
.tag { font-size: .8125rem; padding: 6px 12px; border-radius: 999px; background: #17171a; color: var(--on-black); box-shadow: inset 0 0 0 1px var(--on-black-line); }
@media (max-width: 960px) { .phero__grid { grid-template-columns: 1fr; } }

.subnav { position: sticky; top: var(--nav-h); z-index: 50; background: rgba(255,255,255,.82); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); border-bottom: 1px solid rgba(0,0,0,.07); }
.subnav__bar { height: 52px; display: flex; align-items: center; gap: 24px; }
.subnav__title { font: 600 1.0625rem/1 var(--f-display); letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.subnav__links { display: flex; gap: 22px; margin-left: auto; font-size: .8125rem; color: var(--ink-2); }
.subnav__links a { white-space: nowrap; padding-block: 6px; transition: color .2s; }
.subnav__links a:hover, .subnav__links a.is-active { color: var(--ink); }
.subnav__links a.is-active { box-shadow: inset 0 -2px 0 var(--blue); }
@media (max-width: 860px) { .subnav__links { display: none; } .subnav .btn { margin-left: auto; } }

/* ---------- 5. layout helpers ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split--wide { grid-template-columns: 1fr 1.05fr; }
.split__text { display: grid; gap: 22px; align-content: start; }
.split__text h2 { font-size: var(--t-1); }
.split__text .actions { margin-top: 12px; }
.split__sub { font-size: 1.0625rem; margin-top: 12px; }
.split__media { border-radius: var(--r-3); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.prose-lite { display: grid; gap: 16px; font-size: 1.0625rem; color: var(--ink-2); line-height: 1.65; }
.dark .prose-lite { color: var(--on-black-2); }
@media (max-width: 900px) { .split, .split--wide { grid-template-columns: 1fr; } .split__media { aspect-ratio: 4 / 3; } }

.checks { display: grid; gap: 14px; font-size: 1.0625rem; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .4em; width: 12px; height: 7px; border: solid var(--blue); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.dark .checks li::before { border-color: var(--blue-on-black); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { padding: 12px 20px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; }
.dark .chips span { background: #111113; box-shadow: inset 0 0 0 1px var(--on-black-line); }
.chips--sm span { padding: 8px 14px; font-size: .9375rem; }
.chips-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 28px; }
.chip { padding: 9px 16px; border-radius: 999px; font-size: .9375rem; font-weight: 500; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); transition: all .2s; }
.chip:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.chip.is-on { background: var(--ink); color: #fff; box-shadow: none; }
.tools { margin-top: clamp(40px, 6vw, 72px); display: grid; gap: 16px; }

/* ---------- 6. photography ---------- */
figure img, .media img { width: 100%; height: 100%; object-fit: cover; }
.ph-missing { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--paper-2), var(--paper)); }
.mono img { filter: grayscale(1) contrast(1.05); transition: filter .6s var(--ease), transform .8s var(--ease); }

.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mosaic__i { border-radius: var(--r-2); overflow: hidden; aspect-ratio: 4 / 5; }
.mosaic__i:nth-child(2) { transform: translateY(40px); }
.mosaic__i:nth-child(3) { aspect-ratio: 4 / 3; }
.mosaic__i:nth-child(4) { aspect-ratio: 4 / 3; transform: translateY(40px); }
.mosaic img { filter: grayscale(1) contrast(1.05); transition: filter .7s var(--ease), transform 1s var(--ease); }
.mosaic__i:hover img { filter: none; transform: scale(1.04); }
.mosaic--tight .mosaic__i { aspect-ratio: 1; }
.mosaic--tight .mosaic__i:nth-child(n) { aspect-ratio: 1; }
.dark .mosaic img { filter: grayscale(1) brightness(.85) contrast(1.1); }

.prow { display: grid; gap: 14px; margin-top: clamp(56px, 8vw, 96px); overflow: hidden; }
.prow__track { display: flex; gap: 14px; width: max-content; }
.prow figure { width: clamp(220px, 26vw, 340px); aspect-ratio: 3 / 2; border-radius: var(--r-2); overflow: hidden; flex: none; }
.prow img { filter: grayscale(1) brightness(.9); transition: filter .6s; }
.prow figure:hover img { filter: none; }
.prow__track--a { animation: marquee 70s linear infinite; }
.prow__track--b { animation: marquee 80s linear infinite reverse; margin-left: -120px; }

/* ---------- 7. motion (progressive: without support everything is simply static and visible) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .fx-up, .fx-left, .fx-right, .fx-scale, .fx-stagger > * {
      animation: var(--fx, fxUp) linear both; animation-timeline: view(); animation-range: entry 0% entry 90%;
    }
    .fx-left { --fx: fxLeft; } .fx-right { --fx: fxRight; } .fx-scale { --fx: fxScale; }
    .fx-stagger > *:nth-child(3n+2) { animation-range: entry 8% entry 98%; }
    .fx-stagger > *:nth-child(3n) { animation-range: entry 16% cover 30%; }
    .fx-zoom img { animation: zoomOut linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
    .mosaic__i:nth-child(2n) { animation: drift linear both; animation-timeline: view(); animation-range: cover; }
    .prow__track--a { animation: slideL linear both; animation-timeline: view(); animation-range: cover; }
    .prow__track--b { animation: slideR linear both; animation-timeline: view(); animation-range: cover; }
  }
}
@keyframes fxUp { from { opacity: 0; transform: translateY(60px); } }
@keyframes fxLeft { from { opacity: 0; transform: translateX(-80px); } }
@keyframes fxRight { from { opacity: 0; transform: translateX(80px); } }
@keyframes fxScale { from { opacity: 0; transform: scale(.92); } }
@keyframes zoomOut { from { transform: scale(1.25); } }
@keyframes drift { from { transform: translateY(80px); } to { transform: translateY(0); } }
@keyframes slideL { from { transform: translateX(0); } to { transform: translateX(-25%); } }
@keyframes slideR { from { transform: translateX(-25%); } to { transform: translateX(0); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 700px) { .fx-left, .fx-right { --fx: fxUp; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* statement: words light up as it scrolls through the viewport (site.js sets --p on each word) */
.statement { font: 600 var(--t-2)/1.14 var(--f-display); letter-spacing: -.035em; max-width: 24ch; }
.statement .w { color: var(--ink); transition: color .25s; }
.statement .w.is-dim { color: #C9C9CE; }
.dark .statement .w.is-dim { color: #3a3a3f; }

/* ---------- 8. illustrations built in HTML (sharp, light, editable) ---------- */
.win { background: #fff; color: var(--ink); border-radius: 14px 14px 0 0; box-shadow: 0 30px 80px -20px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.06); overflow: hidden; font-size: 12px; letter-spacing: -.005em; }
.win--dark { background: #121214; color: #EDEDF0; box-shadow: 0 30px 80px -20px rgba(0,0,0,.6), 0 0 0 1px #26262a; }
.win__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.win--dark .win__bar { border-color: #26262a; }
.win__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d8d8dc; }
.win--dark .win__bar i { background: #3a3a3f; }
.win__bar span { margin-left: 10px; font-size: 11px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win__body { padding: 16px; display: grid; gap: 12px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { border-radius: 10px; padding: 10px 12px; background: var(--paper); display: grid; gap: 2px; }
.win--dark .kpi { background: #1b1b1e; }
.kpi small { font-size: 10.5px; color: var(--ink-3); }
.kpi b { font: 600 18px/1.1 var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi em { font-style: normal; font-size: 10.5px; font-weight: 600; color: var(--green); }
.chart { border-radius: 10px; background: var(--paper); padding: 10px 12px; }
.win--dark .chart { background: #1b1b1e; }
.chart svg { width: 100%; height: auto; }
.chart .grid line { stroke: #dedee3; stroke-width: 1; }
.win--dark .chart .grid line { stroke: #2a2a2e; }
.chart .area { fill: url(#gBlue); }
.chart .line { fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 600; animation: draw 2.4s .3s var(--ease) both; }
.chart .dot { fill: var(--blue); stroke: #fff; stroke-width: 2; }
.win--dark .chart .dot { stroke: #1b1b1e; }
.chart .lbl { font: 500 9.5px var(--f-text); fill: var(--ink-3); }
@keyframes draw { from { stroke-dashoffset: 600; } }
.bars { display: grid; gap: 7px; }
.bars div { display: grid; grid-template-columns: 64px 1fr 36px; align-items: center; gap: 8px; font-size: 11px; color: var(--ink-2); }
.win--dark .bars div { color: #a1a1a6; }
.bars s { height: 6px; border-radius: 3px; background: var(--blue); display: block; text-decoration: none; transform-origin: left; animation: grow 1.4s .5s var(--ease) both; }
.bars span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
@keyframes grow { from { transform: scaleX(0); } }

.code { font: 11.5px/1.7 ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace; padding: 14px 16px; white-space: pre; overflow: hidden; color: #d4d4d8; }
.code .k { color: #7aa7ff; } .code .s { color: #8fd694; } .code .c { color: #6b6b73; } .code .t { color: #f0c674; }
.devshot { position: relative; padding-bottom: 30px; }
.phone { position: absolute; right: 6%; bottom: 0; width: 150px; aspect-ratio: 9 / 18.5; border-radius: 26px; background: #0a0a0b; padding: 7px; box-shadow: 0 30px 60px -10px rgba(0,0,0,.45), 0 0 0 1px #2a2a2e; }
.phone__screen { width: 100%; height: 100%; border-radius: 20px; background: #fff; overflow: hidden; display: flex; flex-direction: column; font-size: 9.5px; color: var(--ink); }
.phone__map { flex: 1; background:
  linear-gradient(90deg, transparent 48%, #fff 48% 52%, transparent 52%) 0 0 / 60px 60px,
  linear-gradient(0deg, transparent 48%, #fff 48% 52%, transparent 52%) 0 0 / 60px 60px, #e9eef6; position: relative; }
.phone__map::before { content: ""; position: absolute; left: 22%; top: 30%; width: 50%; height: 36%; border: 2.5px solid var(--blue); border-color: var(--blue) var(--blue) transparent transparent; border-radius: 0 40px 0 0; }
.phone__map::after { content: ""; position: absolute; left: 68%; top: 26%; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 6px rgba(0,102,255,.2); }
.phone__sheet { padding: 10px; display: grid; gap: 6px; }
.phone__sheet b { font-size: 11px; font-weight: 600; }
.phone__sheet span { color: var(--ink-3); }
.phone__btn { background: var(--ink); color: #fff; text-align: center; border-radius: 8px; padding: 7px; font-weight: 600; }

.serp { display: grid; gap: 10px; }
.serp__q { display: flex; justify-content: space-between; align-items: center; padding: 9px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 11.5px; }
.serp__q svg { width: 14px; height: 14px; color: var(--ink-3); }
.serp__map { height: 64px; border-radius: 10px; position: relative; background: linear-gradient(90deg, transparent 49%, #fff 49% 51%, transparent 51%) 0 0 / 50px 50px, linear-gradient(0deg, transparent 49%, #fff 49% 51%, transparent 51%) 0 0 / 50px 50px, #e8eef8; }
.serp__map i { position: absolute; width: 10px; height: 10px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #c3c9d4; }
.serp__map i:nth-child(1) { left: 30%; top: 22px; background: var(--blue); box-shadow: 0 0 0 5px rgba(0,102,255,.2); }
.serp__map i:nth-child(2) { left: 55%; top: 30px; } .serp__map i:nth-child(3) { left: 72%; top: 16px; }
.serp__map span { position: absolute; right: 8px; bottom: 6px; font-size: 9.5px; font-weight: 600; background: #fff; padding: 2px 6px; border-radius: 4px; color: var(--blue); }
.serp__r { padding: 8px 10px; border-radius: 10px; display: grid; gap: 2px; }
.serp__r small { font-size: 9.5px; color: var(--ink-3); }
.serp__r b { font-size: 12.5px; color: #1a47b8; font-weight: 500; }
.serp__r p { font-size: 10.5px; color: var(--ink-2); }
.serp__r.is-us { background: var(--blue-tint); box-shadow: inset 2px 0 0 var(--blue); }
.serp__r:not(.is-us) { opacity: .55; }

.social-vis { position: relative; height: 420px; }
.phone--static { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 210px; right: auto; bottom: auto; }
.ig__head { display: flex; align-items: center; gap: 8px; padding: 12px 10px 8px; font-size: 11px; }
.ig__head i { width: 28px; height: 28px; border-radius: 50%; background: conic-gradient(var(--blue), #7fb0ff, var(--blue)); padding: 2px; }
.ig__head span { margin-left: auto; background: var(--blue); color: #fff; font-weight: 600; font-size: 9.5px; padding: 4px 8px; border-radius: 6px; }
.ig__stats { display: flex; justify-content: space-around; padding: 4px 6px 10px; font-size: 9px; color: var(--ink-3); text-align: center; }
.ig__stats b { display: block; color: var(--ink); font-size: 11.5px; }
.ig__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; flex: 1; }
.ig__grid i { aspect-ratio: 1; }
.ig__grid .t1 { background: linear-gradient(160deg, #0a0a0b, #3a3a40); } .ig__grid .t2 { background: linear-gradient(160deg, #dce7ff, #8fb3ff); }
.ig__grid .t3 { background: linear-gradient(160deg, #e9e4dc, #cfc5b6); } .ig__grid .t4 { background: linear-gradient(160deg, #0066ff, #003a99); }
.ig__grid .t5 { background: linear-gradient(160deg, #f5f5f7, #d8d8dc); } .ig__grid .t6 { background: linear-gradient(160deg, #1d1d1f, #0066ff); }
.float-card { position: absolute; background: #fff; color: var(--ink); border-radius: 14px; padding: 12px 16px; display: grid; gap: 2px; box-shadow: 0 20px 50px -15px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.05); animation: bob 6s ease-in-out infinite; z-index: 2; }
.float-card small { font-size: 11px; color: var(--ink-3); }
.float-card b { font: 600 1.375rem/1.1 var(--f-display); letter-spacing: -.03em; }
.float-card em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--green); }
.float-card--a { left: 0; top: 70px; } .float-card--b { right: 0; bottom: 60px; animation-delay: -3s; }
.float-card--c { right: -8px; bottom: -18px; animation-delay: -2s; }

.reviews { display: grid; gap: 8px; }
.reviews__score { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 6px 4px 10px; border-bottom: 1px solid var(--line); }
.reviews__score b { grid-row: span 2; font: 600 34px/1 var(--f-display); letter-spacing: -.04em; }
.reviews__score small { color: var(--ink-3); font-size: 10.5px; }
.stars { color: #F5A623; letter-spacing: 1px; font-size: 11px; }
.stars em { color: #d8d8dc; font-style: normal; }
.rv { background: var(--paper); border-radius: 10px; padding: 9px 11px; display: grid; gap: 3px; }
.rv > div { display: flex; justify-content: space-between; }
.rv b { font-size: 11.5px; } .rv p { font-size: 11px; color: var(--ink-2); }
.rv small { font-size: 10px; color: var(--blue); font-weight: 600; }

.figma { display: grid; grid-template-columns: 34px 1fr; min-height: 230px; margin: -16px; }
.figma aside { background: var(--paper); border-right: 1px solid var(--line); display: grid; align-content: start; gap: 10px; padding: 12px 9px; }
.figma aside i { height: 14px; border-radius: 4px; background: #dcdce1; }
.figma__canvas { position: relative; background: radial-gradient(#d8d8de 1px, transparent 1px) 0 0 / 14px 14px; padding: 18px; display: flex; gap: 14px; align-items: flex-start; }
.fr { width: 30%; aspect-ratio: 9 / 16; background: #fff; border-radius: 8px; box-shadow: 0 6px 20px -8px rgba(0,0,0,.25); padding: 8px; display: grid; gap: 6px; align-content: start; position: relative; }
.fr span { position: absolute; top: -14px; left: 0; font-size: 9px; color: var(--ink-3); }
.fr i { height: 26px; border-radius: 5px; background: var(--paper-2); }
.fr i:first-of-type { height: 48px; background: linear-gradient(135deg, #dce7ff, #9fbfff); }
.fr b { height: 16px; border-radius: 5px; background: var(--ink); margin-top: 6px; }
.fr--b { box-shadow: 0 0 0 2px var(--blue), 0 6px 20px -8px rgba(0,0,0,.25); }
.fr--b b { background: var(--blue); }
.fr--c em { width: 34px; height: 34px; border-radius: 50%; background: #E3F6EC; margin: 30px auto 0; }
.cursor { position: absolute; left: 56%; top: 62%; display: flex; align-items: flex-start; gap: 2px; animation: bob 5s ease-in-out infinite; }
.cursor svg { width: 12px; fill: var(--blue); }
.cursor span { font-size: 9.5px; font-weight: 600; color: #fff; background: var(--blue); padding: 2px 6px; border-radius: 5px; margin-top: 12px; }

.ai { display: grid; gap: 10px; }
.ai__msg { background: #1b1b1e; border-radius: 12px 12px 12px 4px; padding: 10px 12px; display: grid; gap: 8px; max-width: 92%; }
.ai__msg--me { background: var(--blue); color: #fff; justify-self: end; border-radius: 12px 12px 4px 12px; max-width: 80%; }
.ai__msg b { font-size: 12px; }
.ai__msg small { font-size: 10px; color: #8a8a90; }
.ai__bars { display: grid; gap: 6px; }
.ai__bars p { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 8px; font-size: 10.5px; color: #c7c7cc; }
.ai__bars s { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--blue), #7fb0ff); display: block; transform-origin: left; animation: grow 1.4s .4s var(--ease) both; }
.ai__input { display: flex; justify-content: space-between; align-items: center; border-radius: 999px; padding: 9px 9px 9px 14px; background: #1b1b1e; color: #6b6b72; font-size: 11px; }
.ai__input i { width: 20px; height: 20px; border-radius: 50%; background: var(--blue); }

.cloud { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cloud__status { display: grid; gap: 6px; }
.cloud__status p { display: grid; grid-template-columns: 8px 1fr auto; align-items: center; gap: 8px; background: #1b1b1e; border-radius: 8px; padding: 8px 10px; font-size: 10.5px; }
.cloud__status i { width: 8px; height: 8px; border-radius: 50%; background: #34C759; box-shadow: 0 0 0 3px rgba(52,199,89,.2); }
.cloud__status i.busy { background: var(--blue-on-black); box-shadow: 0 0 0 3px rgba(61,139,255,.25); animation: blink 1.2s infinite; }
.cloud__status em { font-style: normal; color: #8a8a90; font-variant-numeric: tabular-nums; }
.cloud__chart { background: #1b1b1e; border-radius: 10px; padding: 10px; display: grid; gap: 8px; }
.cloud__chart small { font-size: 10px; color: #8a8a90; }
.cloud__chart div { display: flex; align-items: flex-end; gap: 3px; height: 110px; }
.cloud__chart s { flex: 1; border-radius: 2px 2px 0 0; background: linear-gradient(var(--blue-on-black), rgba(61,139,255,.25)); transform-origin: bottom; animation: growY 1.2s var(--ease) both; }
@keyframes growY { from { transform: scaleY(0); } }

.talent-vis { position: relative; display: grid; gap: 12px; padding: 10px 0 30px; }
.tc { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 14px; background: #fff; color: var(--ink); border-radius: 16px; padding: 14px 16px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.4), 0 0 0 1px rgba(0,0,0,.05); }
.tc:nth-child(2) { margin-left: 28px; margin-right: -12px; }
.tc:nth-child(3) { margin-left: 8px; margin-right: 18px; }
.tc i { width: 44px; height: 44px; border-radius: 50%; }
.tc--a i { background: linear-gradient(135deg, #0a0a0b, #3a3a40); } .tc--b i { background: linear-gradient(135deg, #0066ff, #7fb0ff); } .tc--c i { background: linear-gradient(135deg, #cfd3da, #9aa0aa); }
.tc b { display: block; font-size: .9375rem; } .tc span { font-size: .75rem; color: var(--ink-3); }
.tc em { font-style: normal; font-size: .6875rem; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: #E3F6EC; color: #11793F; white-space: nowrap; }

/* ---------- 9. stacking cards, product rail, product UIs ---------- */
.stack { display: grid; gap: 24px; }
.scard { position: sticky; top: calc(var(--nav-h) + 24px + var(--i, 0) * 14px); border-radius: var(--r-3); overflow: hidden; display: grid; grid-template-columns: 1.15fr .85fr; min-height: 540px; background: var(--white); box-shadow: 0 0 0 1px var(--line), 0 -20px 60px -30px rgba(0,0,0,.25); transform-origin: 50% 0; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 861px) {
    .scard { animation: sink linear both; animation-timeline: view(); animation-range: exit-crossing 0% exit-crossing 100%; }
    .scard:last-child { animation: none; }
  }
}
@keyframes sink { to { transform: scale(.92); filter: brightness(.75); } }
.scard__body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 20px; }
.scard__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.scard__meta span { font-size: .8125rem; padding: 6px 12px; border-radius: 999px; background: var(--paper); color: var(--ink-2); }
.scard__meta span:first-child { background: var(--ink); color: #fff; font-weight: 500; }
.scard h3 { font-size: var(--t-3); max-width: 26ch; }
.scard dl { margin: 0; display: grid; gap: 14px; }
.scard dt { font-size: var(--t-small); font-weight: 600; }
.scard dd { margin: 4px 0 0; color: var(--ink-2); font-size: .9688rem; max-width: 56ch; }
.scard__foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; font-size: var(--t-small); color: var(--ink-3); }
.scard__foot a:not(.more) { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.scard__side { position: relative; background: var(--black); color: var(--on-black); overflow: hidden; }
.scard__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.55) contrast(1.1); transition: filter .8s var(--ease), transform 1.2s var(--ease); }
.scard:hover .scard__photo { filter: grayscale(.2) brightness(.5); transform: scale(1.03); }
.scard__nums { position: relative; height: 100%; padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: flex-end; gap: 22px; background: linear-gradient(transparent 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.85)); }
.scard__nums div { display: grid; gap: 6px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.18); }
.scard__nums div:last-child { border: 0; padding-bottom: 0; }
.scard__nums b { font: 600 clamp(2.5rem, 1.8rem + 2.4vw, 4rem)/1 var(--f-display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.scard__nums div:first-child b { color: var(--blue-on-black); }
.scard__nums span { color: rgba(255,255,255,.78); font-size: .9375rem; }
.scard--blue .scard__nums { background: linear-gradient(rgba(0,102,255,.35), rgba(0,82,204,.92) 50%); }
.scard--blue .scard__nums div:first-child b { color: #fff; }
@media (max-width: 860px) { .scard { grid-template-columns: 1fr; position: relative; top: 0; min-height: 0; } .scard__side { min-height: 360px; } }

.rail { position: relative; }
.rail__sticky { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block: 72px 56px; }
.rail__sticky::-webkit-scrollbar { display: none; }
.rail__track { display: flex; gap: 20px; width: max-content; padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.pcard { scroll-snap-align: center; width: min(460px, 82vw); border-radius: var(--r-3); background: var(--paper); padding: 28px 28px 0; display: flex; flex-direction: column; gap: 14px; overflow: hidden; min-height: 560px; }
.dark .pcard { background: var(--black-3); }
.pcard__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pcard__cat { font-size: var(--t-small); color: var(--ink-3); }
.dark .pcard__cat { color: var(--on-black-2); }
.pill { font-size: .75rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.pill--live { background: #E3F6EC; color: #11793F; }
.pill--new { background: var(--blue-tint); color: var(--blue); }
.pill--soon { background: var(--paper-2); color: var(--ink-2); }
.dark .pill--soon { background: #2a2a2e; color: var(--on-black-2); }
.pcard h3 { font-size: 1.75rem; letter-spacing: -.03em; }
.pcard > p { color: var(--ink-2); }
.dark .pcard > p { color: var(--on-black-2); }
.pcard__price { font-weight: 600; }
.pcard__price small { font-weight: 400; color: var(--ink-3); margin-left: 6px; }
.pcard .more { justify-self: start; }
.pcard .win { margin-top: auto; }
.vis-photo { margin-top: auto; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; }
@supports (animation-timeline: view()) {
  @media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
    .rail { height: 300vh; view-timeline-name: --rail; }
    .rail__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 0; }
    .rail__track { animation: railX linear both; animation-timeline: --rail; animation-range: contain 0% contain 100%; }
    @keyframes railX { to { transform: translateX(calc(-100% + 100vw)); } }
  }
}

.ui-store { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ui-store div { border-radius: 8px; background: var(--paper); padding: 6px; display: grid; gap: 4px; font-size: 10px; }
.ui-store i { aspect-ratio: 1; border-radius: 6px; display: block; }
.ui-store div:nth-child(1) i { background: linear-gradient(160deg, #e9e4dc, #cfc5b6); }
.ui-store div:nth-child(2) i { background: linear-gradient(160deg, #1d1d1f, #4a4a50); }
.ui-store div:nth-child(3) i { background: linear-gradient(160deg, #dce7ff, #8fb3ff); }
.ui-store b { font-weight: 600; }
.ui-kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ui-kanban div { background: var(--paper); border-radius: 8px; padding: 6px; display: grid; gap: 5px; align-content: start; font-size: 10px; }
.ui-kanban small { color: var(--ink-3); font-weight: 600; }
.ui-kanban p { background: #fff; border-radius: 6px; padding: 6px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.ui-kanban p.hot { box-shadow: inset 2px 0 0 var(--blue), 0 1px 2px rgba(0,0,0,.06); }
.ui-photo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ui-photo figure { margin: 0; border-radius: 8px; aspect-ratio: 4 / 5; position: relative; overflow: hidden; }
.ui-photo figure:first-child { background: #d9d9de; }
.ui-photo figure:last-child { background: radial-gradient(80% 60% at 50% 30%, #fbe9d7, #e9c9a7 60%, #c99d73); }
.ui-photo figure::before { content: ""; position: absolute; left: 32%; right: 32%; top: 26%; bottom: 18%; border-radius: 12px 12px 6px 6px; background: linear-gradient(160deg, #2b2b30, #0e0e10); }
.ui-photo figure:first-child::before { transform: rotate(-6deg); filter: brightness(1.3); }
.ui-photo figure:last-child::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: 12%; height: 8%; border-radius: 50%; background: rgba(90,50,20,.25); filter: blur(4px); }
.ui-photo figcaption { position: absolute; left: 6px; top: 6px; font-size: 9.5px; font-weight: 600; background: rgba(255,255,255,.85); padding: 3px 6px; border-radius: 4px; z-index: 1; }
.ui-receipt { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; font-size: 10.5px; }
.ui-receipt .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ui-receipt .grid span { background: var(--paper); border-radius: 6px; padding: 10px 4px; text-align: center; }
.ui-receipt .bill { background: var(--paper); border-radius: 8px; padding: 8px; display: grid; gap: 4px; }
.ui-receipt .bill p { display: flex; justify-content: space-between; }
.ui-receipt .bill p:last-child { border-top: 1px dashed #c9c9cf; padding-top: 5px; font-weight: 700; }
.ui-hr { display: grid; gap: 6px; font-size: 10.5px; }
.ui-hr p { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 8px; background: var(--paper); border-radius: 8px; padding: 6px 8px; }
.ui-hr i { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #cfd3da, #9aa0aa); }
.ui-hr em { font-style: normal; font-weight: 600; font-size: 9.5px; padding: 2px 6px; border-radius: 4px; background: #E3F6EC; color: #11793F; }
.ui-hr em.away { background: var(--paper-2); color: var(--ink-2); }

/* products index: large alternating cards */
.pbigs { display: grid; gap: 20px; }
.pbig { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; border-radius: var(--r-3); background: var(--paper); padding: clamp(28px, 5vw, 64px); overflow: hidden; transition: transform .5s var(--ease); }
.pbig:hover { transform: translateY(-4px); }
.pbig--dark { background: var(--black); color: var(--on-black); }
.pbig__txt { display: grid; gap: 16px; }
.pbig h2 { font-size: var(--t-2); }
.pbig p { color: var(--ink-2); font-size: 1.0625rem; }
.pbig--dark p { color: var(--on-black-2); }
.pbig--dark .pcard__price { color: var(--on-black); }
.pbig--dark .more { color: var(--blue-on-black); }
.pbig__vis .win { border-radius: 14px; transition: transform .6s var(--ease); }
.pbig:hover .pbig__vis .win { transform: translateY(-6px) rotate(-.5deg); }
@media (max-width: 900px) { .pbig { grid-template-columns: 1fr; } }
.pricecard { border-radius: var(--r-3); background: var(--paper); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; }
.pricecard h2 { font-size: var(--t-2); margin-top: 12px; }
.pricecard p { color: var(--ink-2); margin-top: 8px; }
@media (max-width: 760px) { .pricecard { grid-template-columns: 1fr; } }

/* ---------- 10. services ---------- */
.verticals { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vcard { border-radius: var(--r-3); padding: clamp(28px, 4vw, 52px) clamp(24px, 4vw, 52px) 0; display: flex; flex-direction: column; gap: 18px; overflow: hidden; min-height: 640px; position: relative; isolation: isolate; }
.vcard--dark { background: var(--black); color: var(--on-black); }
.vcard--light { background: var(--paper); }
.vcard h3 { font-size: var(--t-2); letter-spacing: -.035em; line-height: 1.02; }
.vcard > p { font-size: var(--t-lead); color: var(--ink-2); max-width: 36ch; }
.vcard--dark > p { color: var(--on-black-2); }
.vcard__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.vcard__tags li { font-size: .8125rem; padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,.05); color: var(--ink-2); }
.vcard--dark .vcard__tags li { background: #1a1a1d; color: var(--on-black-2); }
.vcard__visual { margin-top: auto; transform: translateY(24px); transition: transform .6s var(--ease); }
.vcard:hover .vcard__visual { transform: translateY(8px); }
.vband { margin-top: 20px; border-radius: var(--r-3); background: var(--blue); color: #fff; padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; overflow: hidden; transition: transform .5s var(--ease); }
.vband:hover { transform: translateY(-4px); }
.vband > div:first-child { display: grid; gap: 16px; }
.vband .kicker, .vband .more { color: #fff; }
.vband h3 { font-size: var(--t-2); line-height: 1.04; letter-spacing: -.035em; }
.vband p { color: rgba(255,255,255,.82); font-size: var(--t-lead); max-width: 40ch; }
@media (max-width: 960px) { .verticals, .vband { grid-template-columns: 1fr; } .vcard { min-height: 0; } }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { grid-column: span 2; border-radius: var(--r-2); background: var(--paper); padding: 28px; display: flex; flex-direction: column; gap: 12px; min-height: 250px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); position: relative; overflow: hidden; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(0,0,0,.25); }
.tile--wide { grid-column: span 3; }
.tile--dark { background: var(--black); color: var(--on-black); }
.tile--blue { background: var(--blue); color: #fff; }
.tile h3 { font-size: 1.375rem; }
.tile p { color: var(--ink-2); font-size: .9688rem; }
.tile--dark p { color: var(--on-black-2); } .tile--blue p { color: rgba(255,255,255,.85); }
.tile ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tile li { font-size: .78rem; padding: 5px 10px; border-radius: 999px; background: #fff; color: var(--ink-2); }
.tile--dark li { background: #1c1c1f; color: var(--on-black-2); } .tile--blue li { background: rgba(255,255,255,.16); color: #fff; }
.tile__ix { font-size: var(--t-small); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.tile--dark .tile__ix { color: #6b6b72; } .tile--blue .tile__ix { color: rgba(255,255,255,.7); }
.tile .more { margin-top: 4px; }
.tile--dark .more { color: var(--blue-on-black); } .tile--blue .more { color: #fff; }
.tile__photo { margin: -28px -28px 8px; height: 190px; overflow: hidden; }
.tile__photo img { transition: transform 1s var(--ease), filter .6s; filter: grayscale(.15); }
.tile:hover .tile__photo img { transform: scale(1.05); filter: none; }
.tile--dark .tile__photo img { filter: grayscale(1) brightness(.8); }
.tile--dark:hover .tile__photo img { filter: grayscale(.2) brightness(.85); }
@media (max-width: 1000px) { .bento { grid-template-columns: 1fr 1fr; } .tile, .tile--wide { grid-column: span 1; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } }

.engine { display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); gap: 0; position: relative; counter-reset: s; }
.engine--4 { --n: 4; } .engine--3 { --n: 3; }
.engine::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: linear-gradient(90deg, var(--blue), #7fb0ff); opacity: .9; }
.engine li { position: relative; padding-right: 24px; display: grid; gap: 10px; align-content: start; counter-increment: s; }
.engine li::before { content: counter(s); width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--black); color: #fff; font: 600 1.125rem var(--f-display); box-shadow: 0 0 0 6px var(--white); position: relative; }
.paper .engine li::before { box-shadow: 0 0 0 6px var(--paper); }
.dark .engine li::before { background: var(--blue); box-shadow: 0 0 0 6px var(--black); }
.engine h3 { font-size: 1.25rem; margin-top: 12px; }
.engine p { color: var(--ink-2); font-size: .9375rem; }
.dark .engine p { color: var(--on-black-2); }
.engine small { color: var(--blue); font-weight: 500; font-size: .8125rem; }
.dark .engine small { color: var(--blue-on-black); }
@media (max-width: 900px) { .engine { grid-template-columns: 1fr; gap: 28px; } .engine::before { left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; } .engine li { padding-left: 76px; padding-right: 0; } .engine li::before { position: absolute; left: 0; top: 0; } .engine h3 { margin-top: 0; } }

.ocards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ocard { border-radius: var(--r-2); padding: 32px; background: #111113; display: grid; gap: 14px; align-content: start; min-height: 240px; box-shadow: inset 0 0 0 1px #1e1e21; position: relative; overflow: hidden; }
.ocard b { font: 600 var(--t-small) var(--f-text); color: var(--blue-on-black); }
.ocard h3 { font-size: 1.625rem; }
.ocard p { color: var(--on-black-2); }
.ocard::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 80%; height: 80%; background: radial-gradient(closest-side, rgba(0,102,255,.22), transparent); opacity: 0; transition: opacity .6s; }
.ocard:hover::after { opacity: 1; }
.dcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dcard { border-radius: var(--r-2); padding: 28px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 10px; align-content: start; transition: box-shadow .3s, transform .3s var(--ease); }
.paper .dcard { box-shadow: none; }
.dcard:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--ink); }
.dcard .ico { width: 26px; height: 26px; color: var(--blue); padding: 4px; border-radius: 8px; background: var(--blue-tint); box-sizing: content-box; }
.dcard b { font: 600 var(--t-small) var(--f-text); color: var(--blue); }
.dcard h3 { font-size: 1.1875rem; margin-top: 6px; }
.dcard p { color: var(--ink-2); font-size: .9688rem; }
@media (max-width: 1000px) { .ocards, .dcards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .ocards, .dcards { grid-template-columns: 1fr; } }

.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.models--4 { grid-template-columns: repeat(4, 1fr); }
.models--auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.model { border-radius: var(--r-2); padding: 32px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 14px; }
.model h3 { font-size: 1.5rem; }
.model p { color: var(--ink-2); }
.model ul { display: grid; gap: 8px; margin-top: 8px; font-size: .9375rem; }
.model li { padding-left: 24px; position: relative; }
.model li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 10px; height: 6px; border: solid var(--blue); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.model .more { margin-top: auto; }
.model__best { font-size: .9375rem; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.model__best b { display: block; color: var(--ink); font-weight: 600; font-size: var(--t-small); }
.model--pick { background: var(--black); color: var(--on-black); box-shadow: none; }
.model--pick p { color: var(--on-black-2); }
.model--pick .model__best { border-color: var(--on-black-line); }
.model--pick .model__best b { color: var(--on-black); }
.model--pick li::before { border-color: var(--blue-on-black); }
.model--pick .kicker, .model--pick .more { color: var(--blue-on-black); }
@media (max-width: 1100px) { .models--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .models, .models--4 { grid-template-columns: 1fr; } }

.pricing { display: grid; grid-template-columns: 1fr 340px; gap: 16px; align-items: start; }
.ideal { border-radius: var(--r-2); padding: 32px; background: var(--paper); display: grid; gap: 20px; position: sticky; top: calc(var(--nav-h) + 72px); }
.ideal h3 { font-size: 1.25rem; }
.ideal .checks { font-size: 1rem; gap: 10px; }
.ideal .btn { justify-self: start; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } .ideal { position: static; } }

.rtiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.rtiles--3 { grid-template-columns: repeat(3, 1fr); }
.rtile { border-radius: var(--r-2); padding: 26px; background: var(--white); display: flex; flex-direction: column; gap: 10px; transition: transform .4s var(--ease), box-shadow .4s; box-shadow: inset 0 0 0 1px var(--line); }
.paper .rtile { box-shadow: none; }
.rtile:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(0,0,0,.25); }
.rtile h3 { font-size: 1.1875rem; }
.rtile p { color: var(--ink-2); font-size: .9375rem; }
.rtile .more { margin-top: auto; padding-top: 6px; }
.rtile .pill { align-self: flex-start; }
.rtile--photo figure { margin: -26px -26px 10px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-2) var(--r-2) 0 0; }
.rtile--photo img { transition: transform 1s var(--ease); }
.rtile--photo:hover img { transform: scale(1.05); }
@media (max-width: 900px) { .rtiles--3 { grid-template-columns: 1fr; } }

.gcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gcard { border-radius: var(--r-2); padding: 28px; background: var(--paper); display: grid; gap: 10px; align-content: start; }
.gcard .ico { width: 28px; height: 28px; color: #fff; background: var(--blue); border-radius: 50%; padding: 6px; box-sizing: content-box; }
.gcard h3 { font-size: 1.1875rem; margin-top: 8px; }
.gcard p { color: var(--ink-2); font-size: .9688rem; }
@media (max-width: 1000px) { .gcards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gcards { grid-template-columns: 1fr; } }

.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.role { border-radius: var(--r-2); padding: 24px; background: var(--white); display: grid; gap: 14px; align-content: start; }
.role h3 { font-size: 1.0625rem; }
.role ul { display: flex; flex-wrap: wrap; gap: 6px; }
.role li { font-size: .78rem; padding: 5px 10px; border-radius: 999px; background: var(--paper); color: var(--ink-2); }
@media (max-width: 1000px) { .roles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .roles { grid-template-columns: 1fr; } }

/* ---------- 11. company: stats, values, team, offices ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 8px 24px 8px 24px; display: grid; gap: 10px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.dark .stat { border-color: var(--on-black-line); }
.stat b { font: 600 clamp(2.75rem, 1.8rem + 3vw, 4.75rem)/1 var(--f-display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.stat span { color: var(--ink-2); font-size: var(--t-small); max-width: 22ch; }
.dark .stat span { color: var(--on-black-2); }
@media (max-width: 820px) { .stats { grid-template-columns: 1fr 1fr; row-gap: 40px; } .stat:nth-child(3) { border-left: 0; padding-left: 0; } }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value { border-radius: var(--r-2); padding: 28px; background: #111113; display: grid; gap: 12px; align-content: start; min-height: 220px; }
.value b { font: 600 var(--t-small) var(--f-text); color: var(--blue-on-black); }
.value h3 { font-size: 1.5rem; }
.value p { color: var(--on-black-2); font-size: .9688rem; }
.values--light .value { background: var(--paper); }
.values--light .value b { color: var(--blue); }
.values--light .value p { color: var(--ink-2); }
@media (max-width: 1000px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

.leaders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.leader { border-radius: var(--r-2); background: var(--paper); padding: 14px 14px 24px; display: grid; gap: 18px; position: relative; }
.leader__photo { aspect-ratio: 5 / 4; border-radius: 14px; overflow: hidden; background: linear-gradient(150deg, #1a1a1d, #000); display: grid; place-items: center; position: relative; }
.leader__photo img { filter: grayscale(1); }
article:hover .leader__photo img {
    filter: grayscale(0);
}
.leader__mono { width: 32%; color: #fff; opacity: .95; }
.leader__photo:has(.leader__mono)::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 70% 110%, rgba(0,102,255,.45), transparent); }
.leader:nth-child(3n+2) .leader__photo { background: linear-gradient(150deg, #0a5cff, #002f80); }
.leader:nth-child(3n+2) .leader__mono .m-t { fill: #fff; }
.leader:nth-child(3n) .leader__photo { background: linear-gradient(150deg, #e9e9ee, #cfcfd6); }
.leader:nth-child(3n) .leader__mono { color: var(--ink); }
.leader > div { padding-inline: 10px; display: grid; gap: 6px; }
.leader h3 { font-size: 1.25rem; }
.leader p { color: var(--ink-2); font-size: .9375rem; }
.leader p.leader__remit { color: var(--ink-3, #6e6e73); font-size: .875rem; line-height: 1.5; }
.leader__in { position: absolute; right: 22px; bottom: 24px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; }
.leader__in svg { width: 15px; height: 15px; fill: var(--ink); }
.squads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(48px, 7vw, 88px); border-top: 1px solid var(--line); }
.squad { padding: 32px 28px 32px 0; display: grid; gap: 10px; align-content: start; border-bottom: 1px solid var(--line); }
.squad:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.squad b { font: 600 var(--t-small) var(--f-text); color: var(--blue); }
.squad h3 { font-size: 1.375rem; }
.squad p { color: var(--ink-2); font-size: .9688rem; }
.squad ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.squad li { font-size: .78rem; padding: 5px 10px; border-radius: 999px; background: var(--paper); color: var(--ink-2); }
@media (max-width: 960px) { .leaders { grid-template-columns: 1fr 1fr; } .squads { grid-template-columns: 1fr 1fr; } .squad:nth-child(n) { padding: 28px 20px 28px 0; border-left: 0; } .squad:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line); } }
@media (max-width: 600px) { .leaders, .squads { grid-template-columns: 1fr; } .squad:nth-child(n) { padding-left: 0; border-left: 0; } }

.team-teaser { overflow: hidden; }
.squad-list { display: grid; border-top: 1px solid var(--on-black-line); }
.squad-list li { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--on-black-line); font-size: .9375rem; }
.squad-list b { font-weight: 600; }
.squad-list span { color: var(--on-black-2); }
@media (max-width: 560px) { .squad-list li { grid-template-columns: 1fr; gap: 2px; } }

.mv { display: grid; gap: 16px; }
.mv__card { border-radius: var(--r-2); padding: clamp(28px, 4vw, 44px); background: var(--paper); display: grid; gap: 16px; }
.mv__card p { font: 600 var(--t-3)/1.3 var(--f-display); letter-spacing: -.02em; }
.mv__card--dark { background: var(--black); color: var(--on-black); }
.mv__card--dark .kicker { color: var(--blue-on-black); }

.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.office { border-radius: var(--r-3); background: var(--white); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.office figure { aspect-ratio: 16 / 9; overflow: hidden; }
.office img { filter: grayscale(1) contrast(1.05); transition: filter .8s var(--ease), transform 1.2s var(--ease); }
.office:hover img { filter: none; transform: scale(1.03); }
.office > div { padding: 28px 32px 32px; display: grid; gap: 10px; align-content: start; }
.office h3 { font-size: 1.75rem; }
.office p { color: var(--ink-2); }
@media (max-width: 800px) { .offices { grid-template-columns: 1fr; } }

.follow { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; }
.follow h2 { font-size: var(--t-2); margin-top: 14px; }
@media (max-width: 760px) { .follow { grid-template-columns: 1fr; } }
.social { display: flex; flex-wrap: wrap; gap: 8px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #17171a; color: var(--on-black-2); transition: background .2s, color .2s, transform .2s var(--ease); }
.social a:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.social svg { width: 17px; height: 17px; fill: currentColor; }
.social--lg a { width: 56px; height: 56px; background: var(--paper); color: var(--ink); }
.social--lg svg { width: 22px; height: 22px; }

.inds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ind { position: relative; border-radius: var(--r-2); overflow: hidden; aspect-ratio: 3 / 4; background: var(--black); color: #fff; }
.ind figure { position: absolute; inset: 0; }
.ind img { filter: grayscale(1) brightness(.7); transition: filter .7s var(--ease), transform 1.2s var(--ease); }
.ind:hover img { filter: grayscale(0) brightness(.6); transform: scale(1.06); }
.ind__txt { position: absolute; inset: auto 0 0 0; padding: 22px; display: grid; gap: 6px; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.ind h3 { font-size: 1.25rem; }
.ind p { font-size: .8125rem; color: rgba(255,255,255,.75); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s; }
.ind:hover p, .ind:focus-within p { max-height: 80px; opacity: 1; }
@media (hover: none) { .ind p { max-height: none; opacity: 1; } }
@media (max-width: 1000px) { .inds { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 12. work ---------- */
.ctiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ctile { border-radius: var(--r-3); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s; }
.paper .ctile { box-shadow: none; }
.ctile:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.3); }
.ctile__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--black); }
.ctile__media img { filter: grayscale(1) brightness(.75); transition: filter .8s var(--ease), transform 1.2s var(--ease); }
.ctile:hover .ctile__media img { filter: grayscale(0) brightness(.7); transform: scale(1.05); }
.ctile__media figcaption { position: absolute; left: 22px; bottom: 18px; right: 22px; color: #fff; display: grid; gap: 2px; }
.ctile__media b { font: 600 2.75rem/1 var(--f-display); letter-spacing: -.05em; }
.ctile__media span { font-size: .875rem; color: rgba(255,255,255,.85); }
.ctile__body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.ctile__meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: .8125rem; color: var(--ink-3); }
.ctile__meta span:first-child { color: var(--ink); font-weight: 600; }
.ctile h3 { font-size: 1.1875rem; }
.ctile .more { margin-top: auto; }
.ctile.is-hidden { display: none; }
@media (max-width: 1000px) { .ctiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .ctiles { grid-template-columns: 1fr; } }

.metrics-band { background: var(--black); color: var(--on-black); border-top: 1px solid var(--on-black-line); }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.metrics > * { padding: clamp(32px, 5vw, 56px) 24px; display: grid; gap: 8px; border-left: 1px solid var(--on-black-line); }
.metrics > *:first-child { border-left: 0; padding-left: 0; }
.metrics b { font: 600 clamp(2.5rem, 1.6rem + 3vw, 4.25rem)/1 var(--f-display); letter-spacing: -.05em; }
.metrics > *:first-child b { color: var(--blue-on-black); }
.metrics span { color: var(--on-black-2); }
@media (max-width: 640px) { .metrics > * { border-left: 0; padding-left: 0; border-top: 1px solid var(--on-black-line); } }

.story { display: grid; gap: 0; max-width: 1040px; }
.story__row { display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding-block: 40px; border-top: 1px solid var(--line); }
.story__row h2 { font-size: 1.5rem; }
.story__row p { font-size: var(--t-lead); color: var(--ink-2); line-height: 1.6; }
.story__links { display: flex; flex-wrap: wrap; gap: 10px; }
.story__links a { padding: 10px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; transition: all .2s; }
.story__links a:hover { box-shadow: inset 0 0 0 1px var(--blue); color: var(--blue); }
@media (max-width: 760px) { .story__row { grid-template-columns: 1fr; gap: 14px; } }
.bigquote { border-radius: var(--r-3); background: var(--blue); color: #fff; padding: clamp(36px, 6vw, 88px); display: grid; gap: 28px; }
.bigquote blockquote { margin: 0; font: 600 var(--t-2)/1.18 var(--f-display); letter-spacing: -.03em; max-width: 26ch; }
.bigquote figcaption { color: rgba(255,255,255,.8); }
.bigquote b { color: #fff; }

.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.quote { border-radius: var(--r-2); background: var(--paper); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 28px; }
.quote blockquote { margin: 0; font: 500 var(--t-3)/1.3 var(--f-display); letter-spacing: -.02em; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: var(--t-small); color: var(--ink-3); }
.quote figcaption i { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 600 .875rem var(--f-display); font-style: normal; }
.quote figcaption b { display: block; color: var(--ink); font-weight: 600; }
@media (max-width: 800px) { .quotes { grid-template-columns: 1fr; } }

.logos { padding-block: 36px; border-bottom: 1px solid var(--line); overflow: hidden; }
.logos p { text-align: center; font-size: var(--t-small); color: var(--ink-3); margin-bottom: 22px; }
.logos__track { display: flex; gap: 56px; width: max-content; animation: marquee 60s linear infinite; }
.logos:hover .logos__track { animation-play-state: paused; }
.logos__track > span { font: 600 1.125rem/1 var(--f-display); letter-spacing: -.02em; color: #9a9aa0; white-space: nowrap; }
.logos__track { align-items: center; }
/* uploaded client logos: every logo fits the same 140x44 box, greyscale until hovered */
.logos__track .logos__img { display: inline-flex; align-items: center; justify-content: center; width: 140px; height: 44px; flex: none; }
.logos__img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .25s, opacity .25s; }
.logos__img:hover img { filter: none; opacity: 1; }
.quote figcaption img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; background: var(--line); }

/* ---------- 13. blog & article ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post { border-radius: var(--r-2); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .3s, transform .4s var(--ease); }
.paper .post { box-shadow: none; }
.post:hover { box-shadow: 0 30px 60px -30px rgba(0,0,0,.3); transform: translateY(-4px); }
.post__cover { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.post__cover img { transition: transform 1s var(--ease); }
.post:hover .post__cover img { transform: scale(1.05); }
.post__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post__meta { display: flex; justify-content: space-between; gap: 12px; font-size: .8125rem; color: var(--ink-3); }
.post__meta b { color: var(--blue); font-weight: 600; }
.post h3 { font-size: 1.25rem; line-height: 1.24; }
.post p { color: var(--ink-2); font-size: .9375rem; }
.post time { margin-top: auto; font-size: .8125rem; color: var(--ink-3); }
.posts--grid { margin-top: 20px; }
@media (max-width: 1000px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } }
.feature { display: grid; grid-template-columns: 1.2fr 1fr; border-radius: var(--r-3); overflow: hidden; background: var(--black); color: var(--on-black); transition: transform .5s var(--ease); }
.feature:hover { transform: translateY(-4px); }
.feature figure { min-height: 360px; overflow: hidden; }
.feature img { transition: transform 1.2s var(--ease); }
.feature:hover img { transform: scale(1.04); }
.feature__body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.feature h2 { font-size: var(--t-2); }
.feature p { color: var(--on-black-2); font-size: 1.0625rem; }
.feature .post__meta { justify-content: flex-start; gap: 18px; }
.feature .post__meta b { color: var(--blue-on-black); }
.feature time { font-size: .875rem; color: var(--on-black-2); }
.feature .more { color: var(--blue-on-black); }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } .feature figure { min-height: 0; aspect-ratio: 16 / 9; } }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.pager a { min-width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; }
.pager a[aria-current] { background: var(--ink); color: #fff; box-shadow: none; }
.news { border-radius: var(--r-3); background: var(--paper); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.news h2 { font-size: var(--t-2); margin: 12px 0 10px; }
.news p { color: var(--ink-2); }
.news__form { display: flex; gap: 10px; }
.news__form .field { background: #fff; }
@media (max-width: 860px) { .news { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .news__form { flex-direction: column; } }

.article__head { padding-block: clamp(56px, 8vw, 104px) 40px; }
.article__head .post__meta { justify-content: flex-start; gap: 18px; margin-bottom: 20px; }
.article__head h1 { font-size: clamp(2.25rem, 1.3rem + 3.6vw, 4rem); letter-spacing: -.045em; line-height: 1.04; }
.article__lead { font-size: var(--t-lead); color: var(--ink-2); margin-top: 22px; line-height: 1.5; }
.article__byline { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.article__byline > span:nth-child(2) { display: grid; font-size: .9375rem; }
.article__byline time { color: var(--ink-3); font-size: .875rem; }
.article__byline .share { margin-left: auto; }
.byline__av { width: 44px; height: 44px; border-radius: 50%; background: var(--black); color: #fff; display: grid; place-items: center; flex: none; }
.byline__av svg { width: 24px; height: 24px; }
.article__cover .wrap { max-width: 1180px; }
.article__cover img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--r-3); }
.article__grid { display: grid; grid-template-columns: 240px minmax(0, var(--text)); gap: clamp(32px, 6vw, 88px); justify-content: center; padding-block: clamp(48px, 7vw, 88px) clamp(72px, 9vw, 120px); }
.toc nav { position: sticky; top: calc(var(--nav-h) + 32px); display: grid; gap: 14px; font-size: .875rem; }
.toc b { font-weight: 600; }
.toc ol { display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; color: var(--ink-3); border-left: 2px solid transparent; transition: color .2s, border-color .2s; line-height: 1.35; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); border-color: var(--blue); }
@media (max-width: 960px) { .article__grid { grid-template-columns: minmax(0, 1fr); } .toc { display: none; } }

.share { display: flex; gap: 6px; }
.share a, .share button { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--ink); transition: background .2s, color .2s; }
.share a:hover, .share button:hover { background: var(--blue); color: #fff; }
.share svg { width: 15px; height: 15px; fill: currentColor; }
.share .ico { fill: none; width: 17px; height: 17px; }
.article__share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 600; }

.prose { font-size: 1.125rem; line-height: 1.75; color: #1f1f23; min-width: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-top: 2.2em; line-height: 1.15; scroll-margin-top: calc(var(--nav-h) + 24px); }
.prose h3 { font-size: 1.25rem; margin-top: 1.8em; }
.prose h2 + p, .prose h3 + p { margin-top: .6em; }
.prose a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: .5em; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li::marker { color: var(--blue); }
.prose strong { font-weight: 600; color: var(--ink); }
.prose .table-wrap { overflow-x: auto; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.5; }
.prose th, .prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--paper); font-weight: 600; white-space: nowrap; }
.prose tr:last-child td { border-bottom: 0; }
.prose .callout { border-radius: 16px; background: var(--blue-tint); padding: 22px 24px; border-left: 3px solid var(--blue); }
.prose .callout strong { color: var(--blue); display: block; margin-bottom: 6px; font-size: .875rem; }
.prose .callout p { margin: 0; }
.author { display: flex; gap: 16px; align-items: flex-start; margin-top: 56px !important; padding: 24px; border-radius: 18px; background: var(--paper); font-size: 1rem; line-height: 1.55; }
.author p { color: var(--ink-2); margin-top: 4px; }

/* ---------- 14. forms, contact, finder ---------- */
.field { width: 100%; min-height: 52px; padding: 14px 16px; border: 0; border-radius: 12px; background: var(--paper); color: var(--ink); font: inherit; font-size: 16px; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .2s, background .2s; }
.field:focus { outline: none; box-shadow: inset 0 0 0 2px var(--blue); background: #fff; }
textarea.field { resize: vertical; }
input[type=file].field { min-height: 0; padding: 10px; color: var(--ink-2); font-size: var(--t-small); cursor: pointer; }
input[type=file].field::file-selector-button { margin-right: 14px; padding: 9px 16px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: inherit; font-weight: 500; cursor: pointer; transition: background .2s; }
input[type=file].field:hover::file-selector-button { background: var(--blue); }
.cform__hint { font-size: .8125rem; color: var(--ink-3); }
select.field { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 44px; }
.err { color: #D70015; font-size: var(--t-small); }

.contact { display: grid; grid-template-columns: 1.3fr .7fr; gap: 20px; align-items: start; }
.contact__form { border-radius: var(--r-3); background: var(--white); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); }
.cform { display: grid; gap: 18px; }
.cform__row { display: grid; gap: 8px; }
.cform label { font-weight: 500; font-size: var(--t-small); }
.cform .btn { justify-self: start; margin-top: 6px; }
.cform__note { font-size: .8125rem; color: var(--ink-3); }
.cform__note a { text-decoration: underline; }
.cform__done { display: grid; gap: 12px; justify-items: start; padding: 24px 0; }
.cform__done .ico { width: 44px; height: 44px; color: #fff; background: var(--green); border-radius: 50%; padding: 10px; box-sizing: content-box; }
.cform__done h2 { font-size: var(--t-2); }
.contact__side { display: grid; gap: 12px; }
.ccard { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--r-2); background: var(--paper); text-align: left; transition: background .2s, transform .3s var(--ease); width: 100%; }
.ccard:hover { background: var(--paper-2); transform: translateX(3px); }
.ccard > svg { width: 22px; height: 22px; color: var(--blue); fill: none; flex: none; }
.ccard > svg path[d^="M17.47"], .ccard > svg:not(.ico) { fill: var(--blue); }
.ccard span { display: grid; gap: 2px; }
.ccard small { font-size: .8125rem; color: var(--ink-3); }
.ccard b { font-weight: 600; }
.ccard--social { display: grid; gap: 12px; }
.ccard--social:hover { transform: none; background: var(--paper); }
.ccard--social .social a { background: #fff; color: var(--ink); }
.ccard--social .social a:hover { background: var(--blue); color: #fff; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

.finder { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.finder .head h2 { font-size: var(--t-1); }
.finder__panel { background: var(--white); border-radius: var(--r-3); padding: clamp(24px, 3vw, 40px); box-shadow: 0 30px 80px -40px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.04); min-height: 460px; }
.finder__progress { display: flex; gap: 6px; margin-bottom: 28px; }
.finder__progress i { flex: 1; height: 3px; border-radius: 2px; background: var(--paper-2); transition: background .3s; }
.finder__progress i.is-done { background: var(--blue); }
.finder__meta { display: flex; justify-content: space-between; font-size: var(--t-small); color: var(--ink-3); margin-bottom: 8px; }
.finder__q { font-size: var(--t-3); margin-bottom: 24px; outline: none; }
.finder__options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt { text-align: left; padding: 18px; border-radius: 14px; background: var(--paper); font-weight: 500; line-height: 1.35; transition: background .2s, box-shadow .2s, transform .2s; }
.opt:hover { background: var(--paper-2); }
.opt[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--blue); background: var(--blue-tint); }
.finder__nav { display: flex; margin-top: 20px; }
.finder__back { color: var(--ink-2); font-weight: 500; padding: 6px 0; }
.finder__back[disabled] { visibility: hidden; }
.result { display: grid; gap: 16px; animation: fade .5s var(--ease) both; }
.result__primary { background: var(--black); color: #fff; border-radius: 18px; padding: 22px; display: grid; gap: 8px; }
.result__primary small { font-size: var(--t-small); color: var(--blue-on-black); font-weight: 600; }
.result__primary h3 { font-size: var(--t-3); outline: none; }
.result__primary p { color: var(--on-black-2); }
.result__list li { display: flex; gap: 12px; justify-content: space-between; align-items: baseline; padding: 12px 2px; border-bottom: 1px solid var(--line); }
.result__list li span { color: var(--ink-3); font-size: var(--t-small); white-space: nowrap; }
.result__proof { font-size: .9375rem; color: var(--ink-2); background: var(--paper); border-radius: 14px; padding: 14px 16px; }
.result__proof b { color: var(--ink); }
.result__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.result__actions .btn--ghost, .finder__panel .btn--ghost { box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 900px) { .finder { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .finder__options { grid-template-columns: 1fr; } }

.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-wrap .head { position: sticky; top: calc(var(--nav-h) + 72px); }
.faq-wrap .head h2 { font-size: var(--t-2); }
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; font: 600 1.1875rem/1.35 var(--f-display); letter-spacing: -.015em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); font: 400 1.25rem/1 var(--f-text); color: var(--ink-2); transition: transform .3s var(--ease), background .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--blue); color: #fff; }
.faq details p { padding: 0 44px 24px 0; color: var(--ink-2); max-width: 70ch; animation: fade .4s var(--ease) both; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } .faq-wrap .head { position: static; } }

/* ---------- 15. CTA, footer, 404 ---------- */
.cta { border-radius: var(--r-3); background: var(--black); color: var(--on-black); padding: clamp(40px, 7vw, 96px); text-align: center; display: grid; justify-items: center; gap: 22px; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 40% -10% -60%; background: radial-gradient(closest-side, rgba(0,102,255,.4), transparent); pointer-events: none; }
.cta > * { position: relative; }
.cta__mark { width: 56px; color: #fff; }
.cta__mark .m-t { animation: lidFloat 4s ease-in-out infinite; }
@keyframes lidFloat { 50% { transform: translateY(-4px); } }
.cta h2 { font-size: var(--t-1); max-width: 16ch; }
.cta p { color: var(--on-black-2); font-size: var(--t-lead); max-width: 48ch; }
.cta .actions { justify-content: center; margin-top: 10px; }
.cta .btn--line { color: #fff; }
.cta__alt { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; font-size: .9375rem; color: var(--on-black-2); margin-top: 4px; }
.cta__alt a { display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.cta__alt a:hover { color: #fff; }
.cta__alt svg { width: 16px; height: 16px; }
.cta__alt svg:not(.ico) { fill: currentColor; }

.footer { background: var(--black); color: var(--on-black); padding-block: 96px 36px; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding-bottom: 64px; border-bottom: 1px solid var(--on-black-line); }
.footer__brand { display: grid; gap: 24px; align-content: start; }
.footer__brand p { color: var(--on-black-2); max-width: 38ch; font-size: 1.0625rem; }
.footer .logo { color: #fff; }
.footer__contact { display: grid; gap: 6px; align-content: start; }
.footer__big-link { font: 600 clamp(1.5rem, 1rem + 1.6vw, 2.25rem)/1.2 var(--f-display); letter-spacing: -.03em; color: #fff; justify-self: start; background: linear-gradient(var(--blue-on-black), var(--blue-on-black)) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--ease); }
.footer__big-link:hover { background-size: 100% 2px; }
.footer__offices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; font-size: .875rem; color: var(--on-black-2); }
.footer__offices b { display: block; color: var(--on-black); font-weight: 600; }
.footer__offices span { display: block; font-size: .8125rem; margin-bottom: 6px; }
.footer__offices a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding-top: 56px; }
.footer h4 { font: 600 var(--t-small) var(--f-text); letter-spacing: 0; color: var(--on-black); margin-bottom: 18px; }
.footer__sub { margin-top: 32px; }
.footer li + li { margin-top: 11px; }
.footer__col a { color: var(--on-black-2); font-size: .9375rem; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__word { display: flex; align-items: center; gap: .12em; margin-top: 72px; color: #141416; font: 700 clamp(4rem, 19vw, 17rem)/.8 var(--f-display); letter-spacing: -.07em; user-select: none; white-space: nowrap; }
.footer__word svg { width: .78em; height: .78em; flex: none; }
.footer__word .m-t { fill: #0b1a33; }
.footer__base { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--on-black-line); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: .8125rem; color: #6b6b72; }
.footer__base nav { display: flex; gap: 20px; }
.footer__base a:hover { color: #fff; }
@media (max-width: 960px) { .footer__top { grid-template-columns: 1fr; } .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__offices { grid-template-columns: 1fr; } }

.nf { min-height: 80vh; display: grid; align-items: center; padding-block: 96px; text-align: center; position: relative; overflow: hidden; }
.nf::before { content: ""; position: absolute; inset: 30% -20% -40%; background: radial-gradient(closest-side, rgba(0,102,255,.35), transparent); }
.nf .wrap { position: relative; display: grid; justify-items: center; gap: 22px; }
.nf h1 { font-size: var(--t-1); max-width: 18ch; }
.nf .actions { justify-content: center; }
.nf__cube { width: 120px; color: #fff; }
.nf__cube .m-t { transform: translate(14px, -18px) rotate(-12deg); transform-origin: 50% 25%; animation: lidFloat 3s ease-in-out infinite; }

.jobs { display: grid; border-top: 1px solid var(--line); }
.job { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.job h3 { font-size: 1.375rem; }
.job p { color: var(--ink-3); margin-top: 4px; }

/* ---------- 16. chatbot ---------- */
.yb-launch {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 80;
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 6px; border-radius: 999px;
  background: var(--ink); color: #fff; box-shadow: 0 12px 40px -8px rgba(0,0,0,.45); font-weight: 500; transition: transform .3s var(--ease);
}
.yb-launch:hover { transform: translateY(-2px); }
.yb-av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; flex: none; }
.yb-av svg { width: 60%; height: 60%; }
.yb-av .mark .m-t { fill: #fff; }
.yb-av .mark .m-o, .yb-av .mark .m-r, .yb-av .mark .m-l { fill: #fff; }
.yb-launch__dot { position: absolute; top: 6px; left: 38px; width: 10px; height: 10px; border-radius: 50%; background: #34C759; border: 2px solid var(--ink); }
.yb {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  width: min(400px, calc(100vw - 24px)); height: min(660px, calc(100dvh - 40px));
  background: #fff; color: var(--ink); border-radius: 24px; box-shadow: 0 40px 100px -20px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.06);
  display: flex; flex-direction: column; overflow: hidden; transform-origin: bottom right; animation: ybIn .35s var(--ease);
}
@keyframes ybIn { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.yb__head { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--black); color: #fff; }
.yb__head b { display: block; font-weight: 600; }
.yb__head small { color: var(--on-black-2); font-size: .78rem; display: flex; align-items: center; gap: 6px; }
.yb__head small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #34C759; }
.yb__close { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; background: #1f1f22; color: #fff; font-size: 1.1rem; }
.yb__log { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; }
.yb-msg { max-width: 86%; padding: 11px 15px; border-radius: 20px; font-size: .9375rem; line-height: 1.45; white-space: pre-line; animation: fade .3s var(--ease) both; }
.yb-msg--bot { background: var(--paper); border-bottom-left-radius: 6px; align-self: flex-start; }
.yb-msg--me { background: var(--blue); color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; }
.yb-card { align-self: stretch; border-radius: 16px; padding: 14px; display: grid; gap: 6px; box-shadow: inset 0 0 0 1px var(--line); animation: fade .3s var(--ease) both; }
.yb-card small { font-size: .72rem; font-weight: 600; color: var(--blue); }
.yb-card b { font-weight: 600; }
.yb-card p { font-size: .875rem; color: var(--ink-2); }
.yb-card ul { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.yb-card li { font-size: .75rem; padding: 4px 9px; border-radius: 999px; background: var(--paper); color: var(--ink-2); }
.yb-card .yb-metrics { display: flex; gap: 18px; flex-wrap: wrap; }
.yb-card .yb-metrics span { font-size: .78rem; color: var(--ink-2); }
.yb-card .yb-metrics b { display: block; font: 600 1.25rem/1.1 var(--f-display); color: var(--ink); }
.yb-card a.more { font-size: .8125rem; margin-top: 4px; }
.yb-typing { align-self: flex-start; display: flex; gap: 4px; padding: 14px 16px; background: var(--paper); border-radius: 20px; }
.yb-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: blink 1s infinite; }
.yb-typing i:nth-child(2) { animation-delay: .15s; } .yb-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; } }
.yb__chips { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 16px 12px; }
.yb-chip { border-radius: 999px; padding: 8px 13px; font-size: .84rem; font-weight: 500; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, color .2s; }
.yb-chip:hover { box-shadow: inset 0 0 0 1px var(--blue); color: var(--blue); }
.yb__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.yb__form input { flex: 1; min-width: 0; height: 46px; border: 0; border-radius: 999px; padding: 0 18px; background: var(--paper); color: var(--ink); font: inherit; font-size: 16px; }
.yb__form input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--blue); background: #fff; }
.yb__form button { width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 1rem; flex: none; }
.yb__foot { text-align: center; font-size: .7rem; color: var(--ink-3); padding: 0 12px 10px; }
@media (max-width: 520px) {
  .yb { right: 0; bottom: 0; width: 100%; height: 100dvh; border-radius: 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
  .yb__head { padding-top: calc(16px + env(safe-area-inset-top, 0px)); }
  .yb-launch { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); padding-right: 6px; }
  .yb-launch > span:last-child { display: none; }
}
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: .9rem; z-index: 100; max-width: calc(100vw - 32px); text-align: center; animation: fade .3s var(--ease); }

/* ===== 17. Cookie consent ===== */
.cookie {
  position: fixed; left: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 90; width: min(440px, calc(100vw - 40px));
  background: rgba(255,255,255,.92); backdrop-filter: saturate(1.8) blur(24px); -webkit-backdrop-filter: saturate(1.8) blur(24px);
  color: var(--ink); border-radius: var(--r-2); padding: 22px; display: grid; gap: 18px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.06);
  opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.cookie.is-in { opacity: 1; transform: none; }
.cookie h2 { font-size: 1.0625rem; letter-spacing: -.01em; margin-bottom: 6px; }
.cookie p { font-size: .875rem; line-height: 1.55; color: var(--ink-2); }
.cookie p a { color: var(--blue); }
.cookie__prefs { display: grid; gap: 2px; margin-top: 14px; border-top: 1px solid var(--line); }
.cookie__prefs[hidden] { display: none; }
.cookie__opt { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.cookie__opt b { display: block; font-size: .875rem; }
.cookie__opt small { display: block; font-size: .8125rem; color: var(--ink-3); line-height: 1.45; margin-top: 2px; }
.cookie__opt input { appearance: none; -webkit-appearance: none; flex: none; width: 44px; height: 26px; border-radius: 999px; background: #d2d2d7; position: relative; cursor: pointer; transition: background .2s var(--ease); }
.cookie__opt input::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s var(--ease); }
.cookie__opt input:checked { background: var(--blue); }
.cookie__opt input:checked::after { transform: translateX(18px); }
.cookie__opt input:disabled { opacity: .45; cursor: default; }
.cookie__opt input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie__actions .btn { flex: 1 1 auto; justify-content: center; min-height: 42px; padding: 10px 16px; font-size: .875rem; }
@media (max-width: 600px) {
  .cookie { left: 12px; right: 12px; width: auto; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); padding: 18px; }
  .cookie__actions .btn[data-cookie="all"] { order: -1; flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) { .cookie { transition: none; } }
.rtile .pill { align-self: flex-start; }
.dark .rtile { background: #141416; box-shadow: inset 0 0 0 1px var(--on-black-line); }
.dark .rtile h3 { color: var(--on-black); }
.dark .rtile p { color: var(--on-black-2); }
.dark .rtile:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), 0 24px 50px -24px rgba(0,0,0,.6); }

/* ==========================================================================
   18. Mobile dock, contact sheet & back-to-top rocket
   Markup: tools/sitegen/dock.py. Behaviour: assets/js/dock.js.
   The dock shows on phones and small tablets (<= 900px) and reuses the header's mobile menu and the chatbot.
   ========================================================================== */
:root { --spring: cubic-bezier(.34, 1.4, .5, 1); --dock-h: 64px; --dock-gap: 10px; --dock-safe: env(safe-area-inset-bottom, 0px); }
.dock, .csheet { display: none; }

@media (max-width: 900px) {
  .dock {
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
    position: fixed; left: 12px; right: 12px; bottom: calc(var(--dock-gap) + var(--dock-safe)); z-index: 70;
    height: var(--dock-h); max-width: 460px; margin-inline: auto; padding: 0 4px; border-radius: 26px;
    background: rgba(252,252,253,.86); backdrop-filter: saturate(1.9) blur(26px); -webkit-backdrop-filter: saturate(1.9) blur(26px);
    box-shadow: 0 20px 44px -16px rgba(0,0,0,.38), 0 2px 8px -2px rgba(0,0,0,.08), 0 0 0 .5px rgba(0,0,0,.1), inset 0 1px 0 rgba(255,255,255,.75);
    animation: dockIn .7s var(--spring) .25s both;
  }
  @keyframes dockIn { from { opacity: 0; transform: translateY(calc(100% + 24px)); } }
  .dock__item {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 100%; min-width: 0;
    color: #6E6E75; font: 500 10.5px/1 var(--f-text); letter-spacing: .005em; border-radius: 18px;
    -webkit-tap-highlight-color: transparent; transition: color .2s, transform .35s var(--spring);
  }
  .dock__item svg { width: 24px; height: 24px; transition: transform .35s var(--spring); }
  .dock__item span { white-space: nowrap; }
  .dock__item:active svg { transform: scale(.84); }
  .dock__item.is-active, .dock__item[aria-expanded="true"] { color: var(--blue); }
  .dock__item.is-active span, .dock__item[aria-expanded="true"] span { font-weight: 600; }
  .dock__item:focus-visible { outline-offset: -4px; border-radius: 16px; }
  .dock__menu {
    justify-self: center; width: 58px; height: 58px; margin-top: -30px; border-radius: 50%; display: grid; place-items: center; color: #fff;
    background: radial-gradient(120% 120% at 30% 20%, #34343A 0%, #0A0A0B 55%, #000 100%);
    box-shadow: 0 0 0 5px rgba(250,250,252,.9), 0 14px 28px -8px rgba(0,0,0,.55), 0 0 0 5.5px rgba(0,0,0,.06);
    -webkit-tap-highlight-color: transparent; transition: transform .4s var(--spring), background .3s;
  }
  .dock__menu:active { transform: scale(.9); }
  .dock__menu[aria-expanded="true"] { background: radial-gradient(120% 120% at 30% 20%, #3D8BFF 0%, var(--blue) 55%, #0047B8 100%); }
  .dock__menu:focus-visible { outline-offset: 6px; border-radius: 50%; }
  .dock__bars { position: relative; width: 20px; height: 14px; }
  .dock__bars i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .4s var(--spring), opacity .2s, width .3s var(--ease); }
  .dock__bars i:nth-child(1) { top: 0; } .dock__bars i:nth-child(2) { top: 6px; width: 70%; left: 15%; } .dock__bars i:nth-child(3) { top: 12px; }
  .dock__menu[aria-expanded="true"] .dock__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .dock__menu[aria-expanded="true"] .dock__bars i:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .dock__menu[aria-expanded="true"] .dock__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  /* Room for the dock: the footer, the open menu and the other floating pieces sit above it. */
  .footer { padding-bottom: calc(36px + var(--dock-h) + var(--dock-gap) + 28px + var(--dock-safe)); }
  .nav__links.is-open { padding-bottom: calc(var(--dock-h) + var(--dock-gap) + 56px + var(--dock-safe)); }
  .yb-launch { display: none !important; }
  .cookie { bottom: calc(var(--dock-h) + var(--dock-gap) + 12px + var(--dock-safe)); }
  .toast { bottom: calc(var(--dock-h) + var(--dock-gap) + 18px + var(--dock-safe)); }

  /* Contact sheet: a square, frosted panel that springs out of the Contact slot. */
  .csheet { display: flex; align-items: flex-end; justify-content: center; position: fixed; inset: 0; z-index: 95;
    padding: 16px 12px calc(var(--dock-h) + var(--dock-gap) + 12px + var(--dock-safe)); }
  .csheet__scrim { position: absolute; inset: 0; background: rgba(12,12,16,.26); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
    opacity: 0; transition: opacity .3s var(--ease); }
  .csheet.is-open .csheet__scrim { opacity: 1; }
  .csheet__panel {
    position: relative; width: min(372px, 100%); padding: 18px 14px 14px; border-radius: 32px;
    background: rgba(246,246,248,.86); backdrop-filter: saturate(2) blur(40px); -webkit-backdrop-filter: saturate(2) blur(40px);
    box-shadow: 0 50px 100px -24px rgba(0,0,0,.5), 0 0 0 .5px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.8);
    transform-origin: 86% 100%; transform: translateY(28px) scale(.8); opacity: 0;
    transition: transform .3s var(--ease), opacity .2s var(--ease);
  }
  .csheet.is-open .csheet__panel { transform: none; opacity: 1; transition: transform .6s var(--spring), opacity .22s var(--ease); }
  .csheet__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 2px 4px 14px; }
  .csheet__head h2 { font-size: 1.3125rem; letter-spacing: -.025em; }
  .csheet__head p { font-size: .8125rem; color: var(--ink-3); margin-top: 4px; }
  .csheet__close { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.06); color: var(--ink-2); transition: background .2s, transform .3s var(--spring); }
  .csheet__close svg { width: 16px; height: 16px; }
  .csheet__close:active { transform: scale(.88); }
  .csheet__close:focus-visible { border-radius: 50%; }
  .csheet__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ctile2 {
    --c: var(--ink); display: grid; grid-template-columns: 36px minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; column-gap: 9px; row-gap: 1px; min-width: 0;
    min-height: 68px; padding: 12px 8px 12px 10px; border-radius: 20px; text-align: left; color: var(--ink);
    background: rgba(255,255,255,.82); box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 0 0 .5px rgba(0,0,0,.07);
    -webkit-tap-highlight-color: transparent; transition: transform .35s var(--spring), background .2s;
  }
  .csheet.is-open .ctile2 { animation: ctileIn .55s var(--spring) both; animation-delay: calc(var(--i) * 32ms + 70ms); }
  @keyframes ctileIn { from { opacity: 0; transform: translateY(14px) scale(.9); } }
  .ctile2:active { transform: scale(.94); background: #fff; }
  .ctile2:focus-visible { outline-offset: 2px; border-radius: 22px; }
  .ctile2__ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; grid-row: span 2; align-self: center; width: 36px; height: 36px; border-radius: 11px; color: #fff;
    background: var(--c); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 6px 14px -6px var(--c); }
  .ctile2__ico svg { width: 20px; height: 20px; }
  .ctile2__ico svg:not([fill="none"]) { fill: currentColor; }
  .ctile2 b { align-self: end; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; font-size: .8125rem; letter-spacing: -.01em; line-height: 1.2; max-width: 100%; }
  .ctile2 small { align-self: start; letter-spacing: -.012em; font-size: .6875rem; color: var(--ink-3); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ctile2--call { --c: linear-gradient(160deg, #3D8BFF, #0052CC); }
  .ctile2--wa { --c: linear-gradient(160deg, #4BE07B, #1DA851); }
  .ctile2--mail { --c: linear-gradient(160deg, #3A3A40, #0A0A0B); }
  .ctile2--talk { --c: linear-gradient(160deg, #3A3A40, #0A0A0B); }
  .ctile2--finder { --c: linear-gradient(160deg, #3D8BFF, #0052CC); }
  .ctile2--ask { --c: linear-gradient(160deg, #3A3A40, #0A0A0B); }
  .ctile2__ico { box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 6px 14px -8px rgba(0,0,0,.45); }
  .ctile2--ask .mark { width: 22px; height: 22px; color: #fff; }
  .ctile2--ask .mark .m-t { fill: var(--blue-on-black); }
}
@media (min-width: 521px) and (max-width: 900px) {
  .yb { bottom: calc(var(--dock-h) + var(--dock-gap) + 12px + var(--dock-safe)); height: min(620px, calc(100dvh - var(--dock-h) - 40px - var(--dock-safe))); }
}

/* Back-to-top rocket: idles on a frosted pad, rumbles on hover, launches on click while the page glides to the top. */
.rk {
  position: fixed; right: 20px; bottom: calc(90px + env(safe-area-inset-bottom, 0px)); z-index: 72; width: 60px; height: 60px; border-radius: 50%;
  opacity: 0; visibility: hidden; transform: translateY(18px) scale(.86); -webkit-tap-highlight-color: transparent;
  transition: opacity .3s var(--ease), transform .55s var(--spring), visibility 0s .55s;
}
.rk.is-shown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.rk:focus-visible { outline-offset: 5px; border-radius: 50%; }
html.dock-menu-open .rk, html.dock-sheet-open .rk { opacity: 0; visibility: hidden; }
.rk__pad {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(90% 90% at 50% 20%, rgba(255,255,255,.9), rgba(242,242,246,.72));
  backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px);
  box-shadow: 0 16px 34px -14px rgba(0,0,0,.45), 0 0 0 .5px rgba(0,0,0,.1), inset 0 1px 0 rgba(255,255,255,.9), inset 0 -8px 16px -10px rgba(0,0,0,.12);
  transition: transform .5s var(--spring), opacity .35s var(--ease), box-shadow .35s var(--ease);
}
.rk__ring { position: absolute; inset: -2px; width: calc(100% + 4px); height: calc(100% + 4px); transform: rotate(-90deg); overflow: visible; }
.rk__ring circle { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 179.1; stroke-dashoffset: calc(179.1 - var(--p, 0) * 179.1); opacity: .85; transition: stroke-dashoffset .15s linear; }
.rk__ship { position: absolute; z-index: 2; left: 13px; top: 3px; width: 34px; height: 70.8px; pointer-events: none; }
.rk__ship::after { /* contrail, drawn only during launch */
  content: ""; position: absolute; left: 50%; top: 50px; width: 5px; height: 0; margin-left: -2.5px; border-radius: 3px;
  background: linear-gradient(rgba(255,170,70,.75), rgba(214,216,224,.55) 30%, rgba(214,216,224,0)); filter: blur(1.5px); opacity: 0;
}
.rk__svg { width: 100%; height: 100%; overflow: visible; animation: rkBob 3.4s ease-in-out infinite; filter: drop-shadow(0 3px 3px rgba(0,0,0,.18)); }
@keyframes rkBob { 50% { transform: translateY(-2.5px); } }
.rk__flame { transform-box: view-box; transform-origin: 24px 71px; transform: scale(.4, 0); opacity: 0; transition: transform .35s var(--spring), opacity .2s var(--ease); }
.rk__f1, .rk__f2, .rk__f3, .rk__glow { transform-box: view-box; transform-origin: 24px 71px; animation: rkFlick .12s ease-in-out infinite alternate; animation-play-state: paused; }
.rk__f2 { animation-duration: .09s; animation-direction: alternate-reverse; }
.rk__f3 { animation-duration: .07s; }
.rk__glow { animation-name: rkGlow; animation-duration: .16s; }
@keyframes rkFlick { from { transform: scale(1.06, .86); } to { transform: scale(.94, 1.08); } }
@keyframes rkGlow { from { opacity: .55; } to { opacity: 1; } }
@keyframes rkShake {
  0%, 100% { transform: translate(0, 0) rotate(0); } 25% { transform: translate(-.6px, .4px) rotate(-1.2deg); }
  50% { transform: translate(.5px, -.3px) rotate(.9deg); } 75% { transform: translate(-.3px, -.5px) rotate(-.6deg); }
}
@keyframes rkShakeHard {
  0%, 100% { transform: translate(0, 0) rotate(0); } 20% { transform: translate(-1.3px, .8px) rotate(-2.4deg); }
  40% { transform: translate(1.2px, -.6px) rotate(2deg); } 60% { transform: translate(-1px, -.9px) rotate(-1.6deg); } 80% { transform: translate(.9px, .7px) rotate(1.4deg); }
}
@media (hover: hover) {
  .rk:hover .rk__svg { animation: rkShake .14s linear infinite; }
  .rk:hover .rk__flame { opacity: 1; transform: scale(.72, .55); }
  .rk:hover .rk__pad { transform: scale(1.04); }
  .rk:hover :is(.rk__f1, .rk__f2, .rk__f3, .rk__glow) { animation-play-state: running; }
}
.rk:focus-visible .rk__svg { animation: rkShake .14s linear infinite; }
.rk:focus-visible .rk__flame { opacity: 1; transform: scale(.72, .55); }
.rk:focus-visible :is(.rk__f1, .rk__f2, .rk__f3, .rk__glow) { animation-play-state: running; }
.rk.is-ignite .rk__svg { animation: rkShakeHard .08s linear infinite; }
.rk.is-ignite .rk__flame { opacity: 1; transform: scale(1, .95); transition-duration: .25s; }
.rk.is-ignite :is(.rk__f1, .rk__f2, .rk__f3, .rk__glow) { animation-play-state: running; }
.rk.is-ignite .rk__pad { box-shadow: 0 16px 38px -10px rgba(255,120,0,.55), 0 0 0 6px rgba(255,150,40,.14), 0 0 0 .5px rgba(0,0,0,.1), inset 0 1px 0 rgba(255,255,255,.9); }
.rk.is-launch .rk__ship { transform: translateY(calc(-100vh - 180px)); transition: transform 1.05s cubic-bezier(.55, 0, .85, .3); }
.rk.is-launch .rk__ship::after { height: 190px; opacity: 1; transition: height .9s cubic-bezier(.55, 0, .85, .3), opacity .2s; }
.rk.is-launch .rk__svg { animation: rkShake .1s linear infinite; }
.rk.is-launch .rk__flame { transform: scale(1.15, 1.9); }
.rk.is-launch .rk__pad { transform: scale(.55); opacity: 0; transition-delay: .12s; }
.rk.is-launch .rk__ring { opacity: 0; transition: opacity .2s; }
.rk.is-reset, .rk.is-reset * { transition: none !important; }
.rk__puff {
  position: absolute; z-index: 1; left: 50%; top: 54px; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 40% 35%, #FFFFFF 0 16%, #E4E5EA 48%, rgba(176,180,190,.55) 64%, rgba(176,180,190,0) 72%);
  animation: rkPuff var(--t, 1.1s) cubic-bezier(.2, .7, .2, 1) var(--d, 0s) both;
}
@keyframes rkPuff { 0% { opacity: 0; transform: translate(0, 0) scale(.3); } 16% { opacity: .95; } 100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(var(--s)); } }
.rk__spark {
  position: absolute; z-index: 1; left: 50%; top: 55px; width: 3px; height: 3px; margin: -1.5px 0 0 -1.5px; border-radius: 50%; pointer-events: none;
  background: #FFD27A; box-shadow: 0 0 6px 2px rgba(255,140,0,.7);
  animation: rkSpark calc(var(--t, 1s) * .6) ease-out var(--d, 0s) both;
}
@keyframes rkSpark { 0% { opacity: 1; transform: translate(0, 0); } 100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(.4); } }
@media (max-width: 900px) {
  .rk { right: 16px; bottom: calc(var(--dock-h) + var(--dock-gap) + 18px + var(--dock-safe)); }
}
@media (prefers-reduced-motion: reduce) {
  .dock, .csheet__panel, .csheet__scrim, .ctile2, .rk, .rk * { animation: none !important; transition: none !important; }
}
/* ---------- end 18 ---------- */

/* ---------- 19. Job application popup (assets/js/apply.js) ---------- */
.apl { border: 0; padding: 0; margin: auto; width: min(680px, calc(100% - 24px)); max-height: calc(100dvh - 32px); border-radius: 28px; background: rgba(255,255,255,.92); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0,0,0,.45); -webkit-backdrop-filter: saturate(1.8) blur(30px); backdrop-filter: saturate(1.8) blur(30px); overflow: auto; overscroll-behavior: contain; }
.apl[open] { animation: fade .3s var(--ease) both; }
.apl::backdrop { background: rgba(0,0,0,.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.apl-open body { overflow: hidden; }
.apl__panel { padding: clamp(20px, 4vw, 36px); display: grid; gap: 20px; }
.apl__head { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.apl__head h2 { font: 600 clamp(1.5rem, 3vw, 2rem)/1.15 var(--f-display); letter-spacing: -.02em; margin-top: 6px; }
.apl__x { width: 40px; height: 40px; border-radius: 50%; background: var(--paper); font-size: 1.5rem; line-height: 1; color: var(--ink-2); flex: none; }
.apl__x:hover { background: var(--line); }
.apl__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.apl .cform { gap: 16px; }
.apl .field { min-height: 48px; padding: 12px 14px; }
.apl textarea.field { min-height: 90px; resize: vertical; }
.apl__file { padding: 11px 14px; }
.apl__error { color: #c62828; font-size: .875rem; font-weight: 500; }
.apl__done { padding: 8px 0 4px; }
.apl__done h3 { font: 600 1.5rem var(--f-display); }
@media (max-width: 560px) { .apl__grid { grid-template-columns: 1fr; } .apl { border-radius: 24px; } }
