/* ==========================================================================
   TenssorT — public website styles
   Colours, fonts and sizes come from CSS variables printed by
   templates/partials/theme_vars.html (editable in Dashboard > Settings).
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh);
  color: var(--text);
  background: var(--bg);
  background-image: var(--body-bg-image, none);
  background-attachment: fixed;
  background-size: cover;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color .3s ease, color .3s ease;
}
img, svg, video, canvas { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(var(--accent-rgb), .7); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(var(--primary-rgb), .25); }

h1, h2, h3, h4, .h3, .h4 {
  font-family: var(--font-heading);
  color: var(--heading);
  font-weight: var(--h-weight);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
}
h1 { font-size: calc(clamp(2rem, 1.3rem + 2.6vw, 3.25rem) * var(--h-scale)); }
h2 { font-size: calc(clamp(1.6rem, 1.15rem + 1.6vw, 2.5rem) * var(--h-scale)); }
h3, .h3 { font-size: calc(clamp(1.1rem, 1rem + .35vw, 1.3rem) * var(--h-scale)); letter-spacing: -0.01em; }
.h4 { font-size: calc(1.1rem * var(--h-scale)); }
p { margin: 0 0 1em; }
.lead { font-size: 1.125em; color: var(--muted); max-width: 68ch; }
.muted { color: var(--muted); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.container--narrow { max-width: 820px; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 10001; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 12px; }

.ico { flex: none; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--primary); margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--primary), var(--accent2)); }
.eyebrow--light { color: #8fd8ff; }
.eyebrow--sm { font-size: .7rem; margin-bottom: .5rem; }
.eyebrow--sm::before { width: 14px; }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--card); --b-fg: var(--heading); --b-bd: var(--border);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: .7em 1.35em; border-radius: calc(var(--radius) * .75);
  border: 1px solid var(--b-bd); background: var(--b-bg); color: var(--b-fg);
  font-weight: 600; font-size: .95rem; line-height: 1.2; cursor: pointer; text-align: center;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); color: var(--b-fg); }
.btn:active { transform: translateY(0); }
.btn .ico { transition: transform .2s ease; }
.btn:hover .ico { transform: translateX(2px); }
.btn-primary {
  --b-fg: var(--btn-text); --b-bd: transparent;
  background: linear-gradient(120deg, var(--primary) 0%, var(--accent) 100%);
  box-shadow: 0 8px 24px -8px rgba(var(--primary-rgb), .55);
}
.btn-primary:hover { box-shadow: 0 12px 30px -8px rgba(var(--primary-rgb), .7); }
.btn-outline { --b-bg: transparent; --b-fg: var(--heading); --b-bd: var(--border); }
.btn-outline:hover { --b-bd: var(--primary); --b-fg: var(--primary); }
.btn-soft { --b-bg: rgba(var(--primary-rgb), .09); --b-fg: var(--primary); --b-bd: transparent; }
.btn-soft:hover { --b-bg: rgba(var(--primary-rgb), .16); }
.btn-glass { --b-bg: rgba(255,255,255,.08); --b-fg: #fff; --b-bd: rgba(255,255,255,.28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { --b-bg: rgba(255,255,255,.16); --b-fg: #fff; }
.btn-light { --b-bg: #fff; --b-fg: #071B49; --b-bd: transparent; box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); }
.btn-light:hover { --b-fg: #075AF5; }
.btn-sm { min-height: 38px; padding: .5em 1em; font-size: .875rem; }
.btn-lg { min-height: 54px; padding: .85em 1.6em; font-size: 1rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; }
.link-arrow .ico { transition: transform .2s; }
.link-arrow:hover .ico { transform: translateX(3px); }
.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: transparent; border: 1px solid transparent; cursor: pointer; color: inherit;
  transition: background .2s, border-color .2s;
}
.icon-btn:hover { background: rgba(var(--primary-rgb), .1); }

/* ---------- Announcement ---------- */
.announce { background: linear-gradient(90deg, var(--primary), var(--accent)); color: #fff; font-size: .875rem; position: relative; z-index: 60; }
.announce__inner { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 38px; }
.announce a { color: #fff; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.announce__close { position: absolute; right: 10px; background: none; border: 0; color: #fff; cursor: pointer; opacity: .8; padding: 6px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(var(--header-bg-rgb), .82);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
  color: var(--header-text);
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease, color .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(0,0,0,.35); }
.header__inner { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--header-text); flex: none; }
.brand:hover { color: var(--header-text); }
.brand__mark { width: var(--logo-h); height: var(--logo-h); object-fit: contain; }
.brand__text { font-family: var(--font-heading); font-weight: 800; font-size: calc(var(--logo-h) * .58); letter-spacing: -0.02em; line-height: 1; }
.brand__tail { background: linear-gradient(180deg, var(--accent2), var(--primary)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand__img { height: var(--logo-h); width: auto; }
.brand__img--dark { display: none; }
[data-theme="dark"] .brand__img--light { display: none; }
[data-theme="dark"] .brand__img--dark { display: block; }

.nav { flex: 1; display: flex; justify-content: center; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 10px;
  color: inherit; font-weight: 500; font-size: var(--nav-size); position: relative;
}
.nav__link:hover, .nav__link.is-active { color: var(--primary); }
.nav__link.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--primary), var(--accent2)); }
.nav__chev { transition: transform .2s ease; }
.nav__item--mega.is-open .nav__chev { transform: rotate(180deg); }
.header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.burger { display: none; }

.theme-toggle__moon { display: none; }
[data-theme="dark"] .theme-toggle__sun { display: none; }
[data-theme="dark"] .theme-toggle__moon { display: block; }

/* Overlay header on top of the sticky hero */
.site-header--overlay { position: fixed; left: 0; right: 0; }
.site-header--overlay.is-top { background: linear-gradient(180deg, rgba(3,8,23,.55), rgba(3,8,23,0)); border-color: transparent; color: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header--overlay.is-top .brand, .site-header--overlay.is-top .nav__link { color: #fff; }
.site-header--overlay.is-top .nav__link:hover { color: #9fe3ff; }
.site-header--overlay.is-top .brand__img--light { display: none; }
.site-header--overlay.is-top .brand__img--dark { display: block; }
body.is-home .announce + .site-header--overlay { top: 38px; }
body.is-home .announce + .site-header--overlay.is-scrolled { top: 0; }

/* Mega menu */
.nav__item--mega { position: static; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--card); color: var(--text);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  box-shadow: 0 30px 60px -30px rgba(var(--heading-rgb), .35);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.nav__item--mega.is-open .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (hover: hover) and (min-width: 1081px) {
  .nav__item--mega:hover .mega, .nav__item--mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__item--mega:hover .nav__chev { transform: rotate(180deg); }
}
.mega__inner { display: grid; grid-template-columns: repeat(4, 1fr) 1.1fr; gap: 28px; padding-top: 28px; padding-bottom: 30px; }
.mega__title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--primary); margin: 0 0 12px; }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega li a { display: block; padding: 8px 10px; margin: 0 -10px; border-radius: 10px; color: var(--heading); }
.mega li a:hover { background: rgba(var(--primary-rgb), .07); }
.mega li strong { display: block; font-size: .92rem; font-weight: 600; }
.mega li span { display: block; font-size: .8rem; color: var(--muted); line-height: 1.4; }
.mega__cta { background: linear-gradient(160deg, rgba(var(--primary-rgb), .1), rgba(var(--accent-rgb), .06)); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.mega__cta p { margin: 0; font-size: .9rem; color: var(--muted); }
.mega__cta-title { font-family: var(--font-heading); font-weight: 700; color: var(--heading) !important; font-size: 1.05rem !important; }

/* Drawer (mobile/tablet menu) */
.drawer { position: fixed; inset: 0; z-index: 200; }
.drawer[hidden] { display: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(3,8,23,.55); backdrop-filter: blur(3px); animation: fade .2s ease; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  background: var(--bg); color: var(--text); display: flex; flex-direction: column;
  padding: 16px 20px calc(20px + env(safe-area-inset-bottom)); overflow-y: auto;
  animation: slideIn .28s cubic-bezier(.2,.9,.3,1);
  box-shadow: -20px 0 60px -20px rgba(0,0,0,.4);
}
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.drawer__top .brand { color: var(--heading); }
.drawer__list { list-style: none; margin: 0; padding: 0; }
.drawer__list > li { border-bottom: 1px solid var(--border); }
.drawer__list > li > a, .drawer__group summary { display: flex; justify-content: space-between; align-items: center; padding: 15px 2px; color: var(--heading); font-weight: 600; font-size: 1.05rem; cursor: pointer; list-style: none; }
.drawer__group summary::-webkit-details-marker { display: none; }
.drawer__group[open] summary .ico { transform: rotate(180deg); }
.drawer__group ul { list-style: none; padding: 0 0 8px; margin: 0; }
.drawer__group ul a { display: block; padding: 8px 12px; color: var(--text); border-radius: 8px; }
.drawer__group ul a:hover { background: rgba(var(--primary-rgb), .07); }
.drawer__group .link-arrow { margin: 6px 12px 16px; }
.drawer__cat { margin: 10px 12px 4px; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--primary); }
.drawer__bottom { margin-top: auto; padding-top: 24px; display: grid; gap: 12px; }
.drawer__contact { display: flex; gap: 10px; align-items: center; color: var(--text); font-size: .95rem; }
@keyframes slideIn { from { transform: translateX(100%); } }
@keyframes fade { from { opacity: 0; } }
body.drawer-open { overflow: hidden; }

/* ==========================================================================
   Sticky WebGL hero (adapted from the Codrops StickyImageEffect)
   ========================================================================== */
.sticky-hero {
  position: relative; overflow: hidden; isolation: isolate;
  height: 100vh; height: 100svh; min-height: 620px; max-height: 1100px;
  background: #050B1F; color: #fff;
  cursor: grab; user-select: none; -webkit-user-select: none;
  touch-action: pan-y;
  outline: none;
}
.sticky-hero.is-grabbing { cursor: grabbing; }
.sticky-stage { position: absolute; inset: 0; z-index: 0; }
.sticky-stage canvas { width: 100% !important; height: 100% !important; -webkit-touch-callout: none; user-select: none; }
.hero-shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3,8,23, calc(var(--hero-shade) + .25)) 0%, rgba(3,8,23, var(--hero-shade)) 38%, rgba(3,8,23, calc(var(--hero-shade) * .35)) 70%, rgba(3,8,23, calc(var(--hero-shade) * .5)) 100%),
    linear-gradient(0deg, rgba(3,8,23,.75) 0%, rgba(3,8,23,0) 30%);
}
.hero-loader { position: absolute; inset: 0; z-index: 2; background: #050B1F; display: grid; place-items: center; transition: opacity .8s ease .1s, visibility 0s linear .9s; pointer-events: none; }
.hero-loader::after { content: ""; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #075AF5, #00CFBE); opacity: .5; animation: loaderAnim .7s linear infinite alternate forwards; }
.sticky-hero.is-loaded .hero-loader { opacity: 0; visibility: hidden; }
@keyframes loaderAnim { to { opacity: 1; transform: scale3d(.5, .5, 1); } }
html:not(.js) .hero-loader { display: none; }

.hero-inner { position: relative; z-index: 3; height: 100%; display: flex; align-items: center; pointer-events: none; }
.hero-copy { max-width: min(600px, 46%); pointer-events: auto; padding-top: 40px; }
.hero-title {
  color: #fff; font-size: calc(clamp(2.1rem, 1.2rem + 3.2vw, var(--hero-size)) * var(--h-scale));
  line-height: 1.06; letter-spacing: -0.03em; margin-bottom: .45em; text-wrap: balance;
}
.hero-text { color: rgba(226,234,248,.86); font-size: 1.08em; max-width: 54ch; margin-bottom: 1.8em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions--center { justify-content: center; }

.slides {
  position: absolute; z-index: 3; top: 50%; left: 54%; right: 4vw;
  pointer-events: none; will-change: transform;
}
.slide {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  height: 30vh; min-height: 200px; color: #fff;
  transform: translateY(-50%);
  transition: transform 1300ms cubic-bezier(.2,1,.3,1), opacity 500ms cubic-bezier(.2,1,.3,1);
}
.slide-meta {
  display: flex; align-items: center; gap: 14px; margin: 0 0 .4rem; max-width: 34ch;
  font-size: .98rem; color: rgba(226,234,248,.9); line-height: 1.45;
}
.slide-num { font-family: var(--font-heading); font-weight: 700; font-size: .85rem; color: #6fe7ff; padding: 3px 9px; border: 1px solid rgba(111,231,255,.45); border-radius: 999px; flex: none; }
.slide-meta, .slide-more { opacity: 0; transition: opacity 900ms cubic-bezier(.2,1,.3,1); }
.show-meta .slide-meta, .show-meta .slide-more { opacity: 1; transition: opacity 1500ms 300ms cubic-bezier(.2,1,.3,1); }
.slide-more { pointer-events: auto; color: #fff; display: inline-flex; gap: 6px; align-items: center; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 2px; margin-top: .3rem; }
.slide-more:hover { color: #9fe3ff; border-color: transparent; }
.slide-title {
  font-family: var(--font-heading); font-weight: 900; text-transform: uppercase;
  font-size: clamp(3rem, var(--slide-size), 9.5rem); line-height: .95; letter-spacing: -0.04em;
  margin: 0; color: #fafafa; white-space: nowrap; text-indent: -0.04em;
  transition: color 500ms cubic-bezier(.2,1,.3,1);
}
.prev, .next { opacity: 0; }
.prev { transform: translateY(-85%); }
.next { transform: translateY(-15%); }
.prev .slide-title, .next .slide-title {
  -webkit-text-stroke: 1.5px #fafafa; -webkit-text-fill-color: transparent; color: transparent;
}
.scrolling > .slide { transform: translateY(-50%); opacity: 1; }

.hero-controls { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding-bottom: max(26px, env(safe-area-inset-bottom)); }
.hero-controls__inner { display: flex; align-items: center; gap: 24px; }
.hero-counter { margin: 0; font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; color: #fff; display: flex; gap: 8px; align-items: baseline; }
.hero-counter__total { font-size: .85rem; color: rgba(255,255,255,.55); }
.hero-dots { display: flex; gap: 8px; }
.hero-dot { width: 26px; height: 4px; border-radius: 4px; border: 0; padding: 0; background: rgba(255,255,255,.3); cursor: pointer; transition: width .3s, background .3s; position: relative; }
.hero-dot::before { content: ""; position: absolute; inset: -10px -2px; }
.hero-dot.is-active { width: 46px; background: linear-gradient(90deg, #22C3F5, #1EE3CF); }
.hero-hint { margin: 0 0 0 auto; display: inline-flex; gap: 8px; align-items: center; font-size: .85rem; color: rgba(255,255,255,.7); letter-spacing: .04em; }
.hero-arrows { display: flex; gap: 8px; }
.hero-arrow { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); transition: background .2s, opacity .2s; }
.hero-arrow:hover:not(:disabled) { background: rgba(255,255,255,.2); }
.hero-arrow:disabled { opacity: .35; cursor: default; }

/* fallback (no WebGL / reduced motion) */
.sticky-fallback .fallback-img { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .9s ease; transform: scale(1.03); }
.sticky-fallback .fallback-img.is-active { opacity: 1; transform: none; transition: opacity .9s ease, transform 6s ease; }
html:not(.js) .slides .slide:first-child { opacity: 1; }

/* custom cursor (desktop only, hero only) */
.cursor { display: none; }
@media (pointer: fine) {
  .cursor { display: block; }
  .sticky-hero:not(.sticky-fallback) { cursor: none; }
  .sticky-hero a, .sticky-hero button { cursor: pointer; }
}
.cursor__inner { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; mix-blend-mode: difference; border-radius: 50%; opacity: 0; transition: opacity .25s ease; }
.cursor.is-visible .cursor__inner { opacity: 1; }
.cursor.is-link .cursor__inner--circle { opacity: 0; }
.cursor.is-link .cursor__inner--dot { opacity: 0 !important; }
.cursor__inner--dot { width: 8px; height: 8px; background: #fff; }
.cursor__inner--circle { width: 42px; height: 42px; border: 1px solid #fff; }

/* ==========================================================================
   Sections & layout
   ========================================================================== */
.section { padding: clamp(64px, 8vw, 112px) 0; position: relative; }
.section--tight { padding: clamp(36px, 5vw, 64px) 0; }
.section--alt { background: var(--surface); }
.section--dark { background: radial-gradient(1200px 600px at 85% 0%, rgba(7,90,245,.45), transparent 60%), #050f2e; color: #c9d5ea; overflow: hidden; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead { color: #a9b8d6; }
.section--dark .eyebrow { color: #7fd6ff; }
.section--dark .link-arrow { color: #7fd6ff; }
.section--dark__glow { position: absolute; width: 600px; height: 600px; left: -200px; bottom: -300px; background: radial-gradient(circle, rgba(0,207,190,.25), transparent 65%); pointer-events: none; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }
.section-head h2:last-child, .section-head p:last-child { margin-bottom: 0; }
.section-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 52px); }
.section-top .section-head { margin-bottom: 0; }
.section-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.section-actions--center { justify-content: center; }

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--top { align-items: start; }
.split__media img { border-radius: calc(var(--radius) * 1.4); box-shadow: 0 30px 60px -30px rgba(var(--heading-rgb), .45); width: 100%; }

/* ---------- Cards ---------- */
.card {
  position: relative; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: clamp(20px, 2.2vw, 28px);
  transition: transform .3s cubic-bezier(.2,.9,.3,1), box-shadow .3s ease, border-color .3s ease;
}
.card h3 { margin-bottom: .45em; }
.card p { color: var(--muted); margin-bottom: 0; }
.card--link { display: flex; flex-direction: column; color: inherit; }
.card--link:hover { transform: translateY(-4px); border-color: rgba(var(--primary-rgb), .35); box-shadow: 0 24px 50px -28px rgba(var(--primary-rgb), .55); color: inherit; }
.card__more { margin-top: auto; padding-top: 18px; display: inline-flex; gap: 6px; align-items: center; color: var(--primary); font-weight: 600; font-size: .9rem; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 20px; flex-wrap: wrap; }
.mini-card h3 { font-size: 1.15rem; }

.icon-bubble {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; flex: none;
  color: var(--primary); margin-bottom: 18px;
  background: linear-gradient(140deg, rgba(var(--primary-rgb), .14), rgba(var(--accent-rgb), .08));
  border: 1px solid rgba(var(--primary-rgb), .16);
}
.icon-bubble--sm { width: 40px; height: 40px; border-radius: 12px; margin-bottom: 14px; }
.icon-bubble--lg { width: 64px; height: 64px; border-radius: 18px; }
.icon-bubble--glow { color: #7fd6ff; background: rgba(127,214,255,.08); border-color: rgba(127,214,255,.22); }

.service-card h3 a { color: var(--heading); }
.service-card h3 a:hover { color: var(--primary); }
.service-card--full { display: flex; flex-direction: column; }

/* pillars */
.pillars { counter-reset: p; }
.pillar {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 30px 26px 28px;
  border-radius: calc(var(--radius) * 1.2); color: var(--text); overflow: hidden;
  background: var(--card); border: 1px solid var(--border);
  transition: transform .35s cubic-bezier(.2,.9,.3,1), box-shadow .35s ease, border-color .3s;
}
.pillar::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent2)); transform: scaleX(.25); transform-origin: left; transition: transform .5s cubic-bezier(.2,.9,.3,1); }
.pillar:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -32px rgba(var(--primary-rgb), .6); border-color: rgba(var(--primary-rgb), .3); color: var(--text); }
.pillar:hover::before { transform: scaleX(1); }
.pillar__num { font-family: var(--font-heading); font-weight: 800; font-size: 3.2rem; line-height: 1; letter-spacing: -0.04em; background: linear-gradient(160deg, var(--primary), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
.pillar__icon { position: absolute; top: 28px; right: 24px; color: var(--accent); }
.pillar h3 { font-size: calc(1.35rem * var(--h-scale)); text-transform: uppercase; letter-spacing: .04em; margin: 6px 0 0; }
.pillar p { margin: 0; color: var(--muted); }
.pillar__go { margin-top: auto; padding-top: 8px; color: var(--primary); }

/* challenges */
.challenges { border: 1px solid var(--border); border-radius: calc(var(--radius) * 1.2); overflow: hidden; background: var(--card); }
.challenges__head { display: grid; grid-template-columns: 1fr 36px 1fr; padding: 14px 22px; background: var(--surface); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.challenges__head span:last-child { grid-column: 3; }
.challenge { display: grid; grid-template-columns: 1fr 36px 1fr; align-items: center; padding: 18px 22px; border-top: 1px solid var(--border); transition: background .2s; }
.challenge:hover { background: rgba(var(--primary-rgb), .04); }
.challenge p { margin: 0; display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.challenge__from { color: var(--heading); }
.challenge__from .ico { color: #f59e0b; margin-top: 3px; }
.challenge__to { color: var(--text); }
.challenge__to .ico { color: var(--accent2); margin-top: 3px; }
.challenge__arrow { color: var(--muted); display: grid; place-items: center; }

/* glass cards on dark */
.glass-card { position: relative; padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); transition: background .3s, transform .3s, border-color .3s; }
.glass-card:hover { background: rgba(255,255,255,.07); transform: translateY(-4px); border-color: rgba(127,214,255,.35); }
.glass-card p { color: #a9b8d6; margin: 0; }

/* industries chips */
.chips-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.industry-chip { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--border); color: var(--heading); font-weight: 600; transition: border-color .2s, transform .2s, box-shadow .2s; }
.industry-chip .icon-bubble { margin: 0; width: 38px; height: 38px; border-radius: 50%; }
.industry-chip:hover { border-color: rgba(var(--primary-rgb), .4); transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(var(--primary-rgb), .6); color: var(--primary); }

/* research tiles */
.research-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.research-tile { display: flex; align-items: center; gap: 12px; padding: 18px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); color: var(--heading); font-weight: 600; transition: transform .3s, border-color .3s; }
.research-tile .ico { color: var(--accent); }
.research-tile:hover { transform: translateY(-3px); border-color: rgba(var(--accent-rgb), .4); }

/* process */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.process::before { content: ""; position: absolute; top: 28px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--primary), var(--accent2)); opacity: .35; }
.process__step { position: relative; text-align: center; padding: 0 6px; }
.process__dot { position: relative; z-index: 1; display: grid; place-items: center; margin: 0 auto 16px; width: 58px; height: 58px; border-radius: 50%; background: var(--card); color: var(--primary); border: 2px solid rgba(var(--primary-rgb), .3); box-shadow: 0 0 0 6px var(--surface); }
.process__num { display: block; font-size: .75rem; font-weight: 700; color: var(--accent); letter-spacing: .1em; margin-bottom: 4px; }
.process__step h3 { font-size: 1.08rem; }
.process__step p { color: var(--muted); font-size: .93rem; margin: 0; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); transition: border-color .2s, box-shadow .2s; }
.faq__item[open] { border-color: rgba(var(--primary-rgb), .35); box-shadow: 0 16px 40px -28px rgba(var(--primary-rgb), .6); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; font-weight: 600; color: var(--heading); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(var(--primary-rgb), .08); color: var(--primary); transition: transform .25s; }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__a { padding: 0 22px 18px; color: var(--muted); }
.faq__a p:last-child { margin: 0; }

/* CTA band */
.section--cta { padding-top: 0; }
.section--alt + .section--cta, .section--cta:first-child { padding-top: clamp(64px, 8vw, 112px); }
.cta-band {
  position: relative; overflow: hidden; border-radius: calc(var(--radius) * 1.6);
  padding: clamp(36px, 5vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  background: linear-gradient(120deg, #071B49 0%, #0b3aa8 55%, #0a7fc0 100%); color: #d8e4f7;
}
.cta-band__glow { position: absolute; width: 520px; height: 520px; right: -140px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(0,207,190,.45), transparent 65%); pointer-events: none; }
.cta-band__text { position: relative; max-width: 640px; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: #c7d6f0; }
.cta-band__actions { position: relative; display: flex; gap: 12px; flex-wrap: wrap; }

/* Page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 clamp(44px, 6vw, 80px); background: var(--surface); border-bottom: 1px solid var(--border); }
.page-hero__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px 380px at 92% -10%, rgba(var(--primary-rgb), .22), transparent 65%), radial-gradient(520px 320px at 70% 120%, rgba(var(--accent-rgb), .14), transparent 60%); }
.page-hero__glow::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(var(--primary-rgb), .07) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--primary-rgb), .07) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(90deg, transparent 30%, #000 100%); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%); }
.page-hero__inner { position: relative; }
.page-hero__inner--split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.page-hero h1 { max-width: 20ch; text-wrap: balance; }
.page-hero--article h1 { max-width: none; }
.page-hero .lead { font-size: 1.18em; }
.page-hero__body { max-width: 68ch; }
.page-hero .hero-actions { margin-top: 28px; }
.page-hero__media img { border-radius: calc(var(--radius) * 1.4); box-shadow: 0 30px 60px -30px rgba(var(--heading-rgb), .5); }
.page-hero--home { padding-top: 140px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--primary); }

/* Lists, tags, badges */
.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: rgba(var(--primary-rgb), .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23075AF5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat; }
.check-list--sm { font-size: .9rem; gap: 6px; margin-top: 14px; color: var(--text); }
.check-list--sm li::before { width: 16px; height: 16px; background-size: 10px; }
.check-list--soft li::before { background-color: rgba(var(--accent-rgb), .14); }
.check-list--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.check-list--cards li { background: var(--card); border: 1px solid var(--border); border-radius: calc(var(--radius) * .8); padding: 14px 16px 14px 44px; }
.check-list--cards li::before { left: 16px; top: 17px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; }
.tag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 600; background: rgba(var(--primary-rgb), .08); color: var(--primary); }
a.tag:hover { background: rgba(var(--primary-rgb), .16); }
.badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: rgba(var(--primary-rgb), .12); color: var(--primary); }
.badge--deployed, .badge--published { background: rgba(16,185,129,.14); color: #059669; }
.badge--prototype, .badge--active { background: rgba(var(--accent-rgb), .14); color: var(--accent); }
.badge--research, .badge--concept { background: rgba(139,92,246,.14); color: #7c3aed; }
.badge--progress { background: rgba(245,158,11,.15); color: #b45309; }
.badge--hot { background: linear-gradient(90deg, var(--primary), var(--accent)); color: #fff; vertical-align: middle; margin-left: 6px; }
[data-theme="dark"] .badge--deployed, [data-theme="dark"] .badge--published { color: #34d399; }
[data-theme="dark"] .badge--research, [data-theme="dark"] .badge--concept { color: #a78bfa; }
[data-theme="dark"] .badge--progress { color: #fbbf24; }
.meta-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: .86rem; color: var(--muted); margin-bottom: 12px; }
.meta-line span { display: inline-flex; align-items: center; gap: 6px; }
.empty-note { display: flex; gap: 12px; align-items: center; padding: 22px 24px; border-radius: var(--radius); border: 1px dashed var(--border); color: var(--muted); background: var(--card); }
.empty-note .ico { color: var(--primary); }

/* Services page */
.svc-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; position: sticky; top: 84px; z-index: 5; padding: 10px; border-radius: 22px; background: rgba(var(--header-bg-rgb), .85); backdrop-filter: blur(10px); border: 1px solid var(--border); width: fit-content; max-width: 100%; }
.svc-tabs a { display: inline-flex; gap: 8px; align-items: center; padding: 8px 16px; border-radius: 999px; color: var(--heading); font-weight: 600; font-size: .9rem; }
.svc-tabs a:hover { background: rgba(var(--primary-rgb), .08); color: var(--primary); }
.svc-group { margin-bottom: clamp(48px, 6vw, 80px); scroll-margin-top: 150px; }
.svc-group:last-child { margin-bottom: 0; }
.svc-group__head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 26px; }
.svc-group__head .icon-bubble { margin: 0; }
.svc-group__head h2 { font-size: calc(1.6rem * var(--h-scale)); margin-bottom: .2em; }
.svc-group__head p { margin: 0; color: var(--muted); max-width: 70ch; }

/* Solutions list */
.solution-list { display: grid; gap: 16px; }
.solution { display: grid; grid-template-columns: 72px 1fr auto; gap: 24px; align-items: center; padding: 26px 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); scroll-margin-top: 110px; transition: border-color .3s, box-shadow .3s; }
.solution:hover { border-color: rgba(var(--primary-rgb), .3); box-shadow: 0 20px 50px -34px rgba(var(--primary-rgb), .7); }
.solution__num { font-family: var(--font-heading); font-weight: 800; font-size: 2.2rem; letter-spacing: -0.04em; background: linear-gradient(160deg, var(--primary), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.solution h3 { display: flex; gap: 10px; align-items: center; margin-bottom: .3em; }
.solution h3 .ico { color: var(--accent); }
.solution__summary { color: var(--text); margin-bottom: .4em; }
.solution .muted p:last-child { margin-bottom: 0; }

/* Research */
.research-card h3 { font-size: 1.1rem; }
.rproject__img { border-radius: calc(var(--radius) * .7); margin-bottom: 16px; aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.rproject .badge { margin-bottom: 12px; }
.rproject__meta { display: grid; gap: 10px; margin: 18px 0; }
.rproject__meta div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; font-size: .9rem; }
.rproject__meta dt { font-weight: 700; color: var(--heading); }
.rproject__meta dd { margin: 0; color: var(--muted); }
.pubs { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.pub { display: grid; grid-template-columns: 80px 1fr; gap: 20px; padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); }
.pub__year { font-family: var(--font-heading); font-weight: 800; font-size: 1.4rem; color: var(--primary); }
.pub h3 { font-size: 1.08rem; }
.pub__authors { margin: 0 0 4px; color: var(--text); font-size: .92rem; }
.pub__venue { margin: 0 0 8px; color: var(--muted); font-style: italic; font-size: .9rem; }
.pub__links { display: flex; gap: 16px; flex-wrap: wrap; margin: 8px 0 0; font-size: .88rem; font-weight: 600; }
.pub__links a { display: inline-flex; gap: 4px; align-items: center; }
.pub__abs summary { cursor: pointer; font-size: .88rem; color: var(--primary); font-weight: 600; }
.pub__abs p { font-size: .92rem; color: var(--muted); margin-top: 8px; }

/* Industries */
.industry-card__img { margin: -28px -28px 20px; width: calc(100% + 56px); max-width: none; aspect-ratio: 16/8; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.industry-card { scroll-margin-top: 110px; }

/* Work / projects */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--card); color: var(--heading); font-weight: 600; font-size: .88rem; cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.is-active { background: var(--heading); border-color: var(--heading); color: var(--bg); }
.project-card { padding: 0; overflow: hidden; }
.project-card__media { position: relative; aspect-ratio: 16/10; background: linear-gradient(140deg, #071B49, #075AF5 70%, #00CFBE); overflow: hidden; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.9,.3,1); }
.project-card:hover .project-card__media img { transform: scale(1.05); }
.project-card__placeholder { height: 100%; display: grid; place-items: center; color: rgba(255,255,255,.75); }
.project-card__media .badge { position: absolute; top: 14px; left: 14px; background: rgba(3,8,23,.65); color: #fff; backdrop-filter: blur(6px); }
.project-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.project-card.is-hidden, .job.is-hidden { display: none; }

.cover-figure { margin: clamp(-40px, -4vw, -24px) 0 0; position: relative; z-index: 2; }
.cover-figure img { width: 100%; border-radius: calc(var(--radius) * 1.4); box-shadow: 0 40px 80px -40px rgba(var(--heading-rgb), .55); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.detail-grid--job { grid-template-columns: minmax(0, 1fr) 460px; }
.side-card { position: sticky; top: 100px; padding: 26px; border-radius: calc(var(--radius) * 1.2); background: var(--surface); border: 1px solid var(--border); display: grid; gap: 14px; }
.side-card p { margin: 0; color: var(--muted); }
.side-card__title { font-weight: 700; color: var(--heading) !important; font-size: .95rem; margin-top: 6px !important; }
.mini-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.mini-steps li { display: flex; gap: 12px; align-items: center; font-size: .93rem; color: var(--text); }
.mini-steps span { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; background: rgba(var(--primary-rgb), .12); color: var(--primary); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.gallery figure { margin: 0; }
.gallery img { border-radius: calc(var(--radius) * .8); width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.gallery figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; }

/* Prose (articles, pages) */
.prose { font-size: 1.04em; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { margin-top: 1.8em; font-size: calc(1.6rem * var(--h-scale)); display: flex; gap: 10px; align-items: center; }
.prose h2 .ico { color: var(--accent); }
.prose h3 { margin-top: 1.5em; }
.prose p, .prose li { color: var(--text); }
.prose ul:not(.check-list), .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose a { text-decoration: underline; text-decoration-color: rgba(var(--primary-rgb), .35); text-underline-offset: 3px; }
.prose blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 4px solid var(--primary); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; color: var(--heading); font-size: 1.05em; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose pre { background: #050B1F; color: #d6e4ff; padding: 18px 20px; border-radius: var(--radius); overflow-x: auto; font-size: .88em; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; background: rgba(var(--primary-rgb), .08); padding: 2px 6px; border-radius: 6px; }
.prose pre code { background: none; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95em; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.prose th { background: var(--surface); color: var(--heading); }
.prose iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--radius); }
.prose-mini p { color: var(--muted); }
.prose-mini--center { max-width: 760px; }
.section-head--center + .prose-mini--center { margin: 0 auto; text-align: center; }
.refs { font-size: .9em; color: var(--muted); }
.share { display: flex; align-items: center; gap: 8px; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--border); }
.share span { font-weight: 600; color: var(--heading); margin-right: 6px; }
.share a, .share button { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); color: var(--heading); cursor: pointer; text-decoration: none; }
.share a:hover, .share button:hover { color: var(--primary); border-color: var(--primary); }
.inline-cta { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; margin-top: 36px; padding: 24px; border-radius: calc(var(--radius) * 1.2); background: linear-gradient(140deg, rgba(var(--primary-rgb), .1), rgba(var(--accent-rgb), .06)); border: 1px solid var(--border); }
.inline-cta .icon-bubble { margin: 0; }
.inline-cta p { margin: 0; }
.inline-cta .h4 { color: var(--heading); font-weight: 700; margin-bottom: 4px; }

/* Articles */
.article-card { padding: 0; overflow: hidden; }
.article-card__media { aspect-ratio: 16/9; background: linear-gradient(140deg, #071B49, #075AF5 70%, #00CFBE); overflow: hidden; }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.9,.3,1); }
.article-card:hover .article-card__media img { transform: scale(1.05); }
.article-card__placeholder { height: 100%; display: grid; place-items: center; color: rgba(255,255,255,.75); }
.article-card__body { padding: 22px 24px 26px; }
.article-card h3 { margin-top: 4px; }
.insights-bar { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.insights-bar .filters { margin: 0; }
.search-input { display: flex; align-items: center; gap: 8px; padding: 0 14px; min-height: 44px; border-radius: 999px; border: 1px solid var(--border); background: var(--card); color: var(--muted); min-width: 260px; }
.search-input input { border: 0; background: transparent; outline: none; color: var(--heading); flex: 1; min-width: 0; font: inherit; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 40px; color: var(--muted); }
.pagination a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border); color: var(--heading); }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }

/* About */
.value-card h3 { font-size: 1.15rem; }
.team-card { text-align: center; padding: 26px 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); }
.team-card__photo { width: 110px; height: 110px; margin: 0 auto 16px; border-radius: 50%; overflow: hidden; background: linear-gradient(140deg, var(--primary), var(--accent2)); display: grid; place-items: center; color: #fff; font-size: 2.4rem; font-weight: 800; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { margin-bottom: 2px; font-size: 1.08rem; }
.team-card__role { color: var(--primary); font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.team-card__bio { color: var(--muted); font-size: .9rem; }
.team-card__links { display: flex; justify-content: center; gap: 10px; margin: 0; }
.quote blockquote { margin: 12px 0 18px; color: var(--heading); font-size: 1.02rem; }
.quote__mark { color: var(--accent); }
.quote figcaption { display: flex; gap: 12px; align-items: center; font-size: .9rem; color: var(--muted); }
.quote figcaption img { border-radius: 50%; object-fit: cover; }
.quote figcaption strong { display: block; color: var(--heading); }

/* Careers */
.jobs { display: grid; gap: 14px; }
.job { display: grid; grid-template-columns: 1fr auto 44px; gap: 24px; align-items: center; padding: 24px 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); color: inherit; transition: border-color .25s, transform .25s, box-shadow .25s; }
.job:hover { border-color: rgba(var(--primary-rgb), .4); transform: translateY(-2px); box-shadow: 0 20px 44px -30px rgba(var(--primary-rgb), .7); color: inherit; }
.job h3 { margin-bottom: 4px; }
.job__main p { margin: 0; color: var(--muted); }
.job__meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .88rem; color: var(--muted); max-width: 420px; justify-content: flex-end; }
.job__meta li { display: inline-flex; gap: 6px; align-items: center; }
.job__meta--hero { justify-content: flex-start; max-width: none; margin-top: 22px; font-size: .92rem; }
.job__meta--hero li { padding: 6px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--border); }
.job__go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(var(--primary-rgb), .1); color: var(--primary); transition: transform .25s; }
.job:hover .job__go { transform: translateX(3px); }
.general-apply { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: calc(var(--radius) * 1.4); background: var(--card); border: 1px solid var(--border); }
.general-apply .icon-bubble { margin: 0; }
.general-apply h2 { font-size: calc(1.5rem * var(--h-scale)); margin-bottom: .2em; }
.general-apply p { margin: 0; color: var(--muted); }
.apply-col { position: sticky; top: 96px; }
.apply-col--wide { position: static; grid-column: 1 / -1; max-width: 860px; margin: 0 auto; width: 100%; }

/* ---------- Forms ---------- */
.form-card { background: var(--card); border: 1px solid var(--border); border-radius: calc(var(--radius) * 1.3); padding: clamp(22px, 3.4vw, 40px); box-shadow: 0 30px 70px -50px rgba(var(--heading-rgb), .6); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; margin-bottom: 24px; }
.form-grid--1 { grid-template-columns: 1fr; }
.form-grid--2up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; color: var(--heading); }
.req { color: #ef4444; font-style: normal; }
.opt { font-weight: 400; color: var(--muted); font-size: .8rem; }
.field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: calc(var(--radius) * .65);
  border: 1px solid var(--border); background: var(--bg); color: var(--heading); font: inherit; font-size: .97rem;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(var(--primary-rgb), .14); }
.field input[type=file] { padding: 10px; background: var(--surface); border-style: dashed; cursor: pointer; }
.field input[type=file]::file-selector-button { margin-right: 12px; border: 0; border-radius: 8px; padding: 8px 14px; background: rgba(var(--primary-rgb), .12); color: var(--primary); font-weight: 600; cursor: pointer; }
.field--error input, .field--error select, .field--error textarea { border-color: #ef4444 !important; }
.field__help { margin: 0; font-size: .8rem; color: var(--muted); }
.field__error { margin: 0; font-size: .83rem; color: #ef4444; font-weight: 500; }
.field--check { flex-direction: row; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400 !important; font-size: .9rem !important; color: var(--text) !important; cursor: pointer; line-height: 1.5; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--primary); }
.seg { border: 0; padding: 0; margin: 0 0 22px; }
.seg legend { font-weight: 600; font-size: .9rem; color: var(--heading); margin-bottom: 10px; }
.seg__opt { display: inline-flex; margin: 0 6px 8px 0; cursor: pointer; }
.seg__opt input { position: absolute; opacity: 0; pointer-events: none; }
.seg__opt span { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--border); font-size: .88rem; font-weight: 600; color: var(--heading); transition: all .2s; }
.seg__opt input:checked + span { background: linear-gradient(120deg, var(--primary), var(--accent)); color: #fff; border-color: transparent; }
.seg__opt input:focus-visible + span { outline: 3px solid rgba(var(--accent-rgb), .6); outline-offset: 2px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { display: flex; gap: 6px; align-items: center; justify-content: center; margin: 14px 0 0; font-size: .82rem; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-side { display: grid; gap: 18px; position: sticky; top: 96px; }
.contact-card { padding: 26px; border-radius: calc(var(--radius) * 1.2); background: var(--surface); border: 1px solid var(--border); }
.contact-list { list-style: none; padding: 0; margin: 14px 0 18px; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list .icon-bubble { margin: 0; }
.contact-list small { display: block; color: var(--muted); font-size: .78rem; }
.contact-list a, .contact-list span { color: var(--heading); font-weight: 600; word-break: break-word; }
.map iframe { width: 100%; height: 260px; border: 0; border-radius: var(--radius); }

.flash-wrap { padding-top: 16px; }
.flash { padding: 14px 18px; border-radius: calc(var(--radius) * .7); margin-bottom: 10px; font-weight: 500; border: 1px solid; }
.flash--success { background: rgba(16,185,129,.1); border-color: rgba(16,185,129,.3); color: #047857; }
.flash--error { background: rgba(239,68,68,.08); border-color: rgba(239,68,68,.3); color: #b91c1c; }
.flash--info, .flash--warning { background: rgba(var(--primary-rgb), .08); border-color: rgba(var(--primary-rgb), .25); color: var(--primary); }
[data-theme="dark"] .flash--success { color: #6ee7b7; }
[data-theme="dark"] .flash--error { color: #fca5a5; }

.thanks { min-height: 60vh; display: grid; place-items: center; }
.thanks__card { text-align: center; padding: clamp(32px, 6vw, 64px); border-radius: calc(var(--radius) * 1.6); background: var(--card); border: 1px solid var(--border); box-shadow: 0 40px 90px -60px rgba(var(--heading-rgb), .7); }
.thanks__icon { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; margin-bottom: 18px; color: #fff; background: linear-gradient(140deg, var(--primary), var(--accent2)); box-shadow: 0 16px 40px -14px rgba(var(--primary-rgb), .8); }
.thanks .lead { margin: 0 auto 28px; }
.big-404 { font-family: var(--font-heading); font-size: clamp(5rem, 16vw, 9rem); font-weight: 900; line-height: 1; margin: 0 0 10px; background: linear-gradient(140deg, var(--primary), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: clamp(56px, 7vw, 88px) 0 0; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr) 1.5fr; gap: 36px; }
.footer__brand img { height: 44px; width: auto; margin-bottom: 18px; }
.footer__motto { font-family: var(--font-heading); color: #fff; font-weight: 600; font-size: 1.05rem; line-height: 1.4; }
.footer__text { opacity: .8; font-size: .9rem; }
.footer__title { color: #fff; font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--footer-text); }
.site-footer a:hover { color: #fff; }
.footer__contact li a, .footer__contact li span { display: inline-flex; gap: 8px; align-items: flex-start; word-break: break-word; }
.footer__contact .ico { margin-top: 3px; color: #7fd6ff; }
.social { display: flex !important; gap: 8px !important; margin-top: 20px !important; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.social a:hover { background: rgba(255,255,255,.14); }
.social--dark a { background: var(--card); border-color: var(--border); color: var(--heading); }
.social--dark { list-style: none; padding: 0; margin: 0; }
.newsletter { margin-top: 22px; }
.newsletter label { display: block; color: #fff; font-weight: 600; margin-bottom: 10px; font-size: .9rem; }
.newsletter__row { display: flex; gap: 8px; }
.newsletter input { flex: 1; min-width: 0; min-height: 42px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; font: inherit; }
.newsletter input::placeholder { color: rgba(255,255,255,.5); }
.newsletter input:focus { outline: none; border-color: #7fd6ff; }
.newsletter__msg { margin: 8px 0 0; font-size: .85rem; min-height: 1em; color: #7fe7d6; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px clamp(16px, 4vw, 32px); margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.footer__bottom p { margin: 0; opacity: .8; }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ---------- Reveal on scroll ---------- */
.has-reveal .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.9,.3,1), transform .8s cubic-bezier(.2,.9,.3,1); transition-delay: calc(var(--i, 0) * 70ms); }
.has-reveal .reveal.is-in { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  .has-reveal .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .nav__link { padding: 10px 9px; }
  .footer__grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
  .footer__contact { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
  .footer__contact .footer__title { grid-column: 1 / -1; }
}
@media (max-width: 1080px) {
  .nav, .header__cta { display: none; }
  .burger { display: inline-grid; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .process::before { display: none; }
  .detail-grid, .detail-grid--job { grid-template-columns: 1fr; }
  .side-card, .apply-col, .contact-side { position: static; }
  .mega__inner { grid-template-columns: repeat(2, 1fr); }
  .slides { left: 50%; }
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .faq-wrap, .page-hero__inner--split, .contact-grid { grid-template-columns: 1fr; }
  .challenge { grid-template-columns: 1fr; gap: 8px; }
  .challenge__arrow { display: none; }
  .challenges__head { display: none; }
  .solution { grid-template-columns: 1fr; gap: 10px; }
  .solution__num { font-size: 1.6rem; }
  .solution__cta { justify-self: start; }
  .job { grid-template-columns: 1fr 44px; }
  .job__meta { grid-column: 1; grid-row: 2; justify-content: flex-start; max-width: none; }
  .job__go { grid-column: 2; grid-row: 1 / span 2; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
  .check-list--cards { grid-template-columns: 1fr; }

  /* Hero on tablets & phones: text on top, sticky slide word below */
  .sticky-hero { height: auto; min-height: max(100svh, 700px); max-height: none; }
  .hero-inner { align-items: flex-start; height: auto; min-height: inherit; }
  .hero-copy { max-width: 640px; padding-top: 108px; padding-bottom: 300px; }
  .hero-shade { background: linear-gradient(180deg, rgba(3,8,23, calc(var(--hero-shade) + .25)) 0%, rgba(3,8,23, var(--hero-shade)) 55%, rgba(3,8,23,.35) 75%, rgba(3,8,23,.8) 100%); }
  .slides { left: clamp(16px, 4vw, 32px); right: clamp(16px, 4vw, 32px); top: calc(100% - 205px); }
  .slide { height: 150px; min-height: 0; }
  .slide-title { font-size: clamp(2.6rem, 13vw, 5.5rem); }
  .slide-meta { font-size: .88rem; }
  .hero-hint { display: none; }
  .hero-controls__inner { justify-content: space-between; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid, .form-grid--2up { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; text-align: left; gap: 0; }
  .process__step { display: grid; grid-template-columns: 58px 1fr; column-gap: 16px; text-align: left; padding: 0 0 24px; position: relative; }
  .process__step::after { content: ""; position: absolute; left: 28px; top: 62px; bottom: 4px; width: 2px; background: rgba(var(--primary-rgb), .2); }
  .process__step:last-child::after { display: none; }
  .process__dot { grid-row: span 3; margin: 0; }
  .research-tiles { grid-template-columns: 1fr; }
  .footer__grid, .footer__contact { grid-template-columns: 1fr; }
  .section-top { align-items: flex-start; flex-direction: column; }
  .general-apply, .inline-cta { grid-template-columns: 1fr; text-align: left; }
  .pub { grid-template-columns: 1fr; gap: 6px; }
  .rproject__meta div { grid-template-columns: 1fr; gap: 2px; }
  .gallery { grid-template-columns: 1fr; }
  .search-input { min-width: 0; width: 100%; }
  .svc-tabs { border-radius: var(--radius); position: static; }
  .hero-title { font-size: calc(clamp(1.95rem, 8.4vw, 2.6rem) * var(--h-scale)); }
  .hero-text { font-size: 1rem; }
  .hero-actions .btn-lg { width: 100%; }
  .hero-copy { padding-bottom: 320px; }
  .hero-dots { display: none; }
  .header__inner { min-height: 64px; }
  .cta-band__actions, .cta-band__actions .btn { width: 100%; }
  .page-hero h1 { max-width: none; }
}
@media (max-height: 700px) and (min-width: 901px) {
  .hero-text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}
@media print {
  .site-header, .site-footer, .sticky-hero, .cursor, .drawer { display: none !important; }
}

/* card blocks written with "## " inside section bodies */
.prose-mini--center:has(> .grid) { max-width: none; }
.prose-mini .grid { text-align: left; }
.mini-card h3 { display: flex; align-items: center; gap: 10px; }
.mini-card h3::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: linear-gradient(135deg, var(--primary), var(--accent2)); flex: none; }

/* ==========================================================================
   v1.1 — About page (reference layout), stats counters, founder card
   ========================================================================== */
.pill-badge {
  display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px; border-radius: 32px;
  background: var(--card); color: var(--muted); font-size: 1.05rem; font-weight: 500; margin-bottom: 22px;
  border: 1px solid var(--border); box-shadow: 0 6px 18px -14px rgba(var(--heading-rgb), .5);
}
.pill-badge svg { color: var(--heading); }
.pill-cta {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; height: 56px; padding: 0 10px 0 22px;
  border-radius: 100px; border: 0; cursor: pointer; white-space: nowrap;
  background: var(--heading); color: var(--bg); font-family: var(--font-heading); font-size: 1.05rem; font-weight: 600;
  transition: transform .2s ease, box-shadow .25s ease, background .25s;
}
.pill-cta:hover { color: var(--bg); transform: translateY(-2px); box-shadow: 0 16px 30px -16px rgba(var(--heading-rgb), .8); }
.pill-cta__arrow { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent2)); color: #fff; transition: transform .25s; }
.pill-cta:hover .pill-cta__arrow { transform: rotate(45deg); }
.pill-cta--sm { height: 48px; font-size: .95rem; }
.pill-cta--sm .pill-cta__arrow { width: 32px; height: 32px; }
.pill-cta--block { width: 100%; }

.about-hero { background: var(--surface); padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 72px); overflow: hidden; }
.about-hero__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(32px, 4vw, 56px); }
.about-hero__intro { max-width: 980px; }
.about-hero__title { font-size: calc(clamp(2.3rem, 1.2rem + 4.2vw, 4.6rem) * var(--h-scale)); font-weight: 600; line-height: 1.06; letter-spacing: -0.035em; margin: 0; text-wrap: balance; }
.about-hero .lead { margin: 20px 0 0; font-size: 1.15em; }
.photoband { display: grid; gap: 16px; }
.photoband__row { display: grid; gap: 16px; }
.photoband__row--tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.photoband__row--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.photoband__row:empty { display: none; }
.photoband__tile { margin: 0; border-radius: calc(var(--radius) * 1.4); overflow: hidden; aspect-ratio: 7 / 6; background: var(--card); }
.photoband__tile--wide { aspect-ratio: 16 / 7; }
.photoband__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.9,.3,1); }
.photoband__tile:hover img { transform: scale(1.05); }

/* Stats cards: number top-left + label; on hover the card turns white, shows its index and moves the number bottom-right */
.stats-section { background: var(--surface); }
.stats-head { max-width: 1100px; margin-bottom: clamp(28px, 4vw, 48px); }
.stats-head h2 { font-size: calc(clamp(1.7rem, 1.1rem + 2vw, 2.7rem) * var(--h-scale)); font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; margin: 0; }
.stats-head .lead { margin-top: 14px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 36px); }
.stat-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-card {
  --mint: color-mix(in srgb, var(--accent2) 11%, var(--card));
  position: relative; min-height: 270px; padding: 30px; border-radius: calc(var(--radius) * 1.3);
  background: var(--mint); border: 1px solid transparent; cursor: default; overflow: hidden; outline: none;
  transition: background .45s ease, box-shadow .45s ease, border-color .45s ease, transform .45s cubic-bezier(.2,.9,.3,1);
}
.stat-card:focus-visible { border-color: var(--primary); }
.stat-card__num {
  position: absolute; margin: 0; font-family: var(--font-heading); font-weight: 600; line-height: 1; letter-spacing: -0.03em;
  font-size: clamp(3rem, 2.2rem + 2.2vw, 4.25rem); color: var(--heading);
  transition: opacity .45s ease, transform .55s cubic-bezier(.2,.9,.3,1);
}
.stat-card__num sup { font-size: .5em; vertical-align: .55em; margin-left: 2px; font-weight: 600; }
.stat-card__num--top { top: 30px; left: 30px; }
.stat-card__num--bottom { right: 30px; bottom: 28px; opacity: 0; transform: translateY(18px); }
.stat-card__label { position: absolute; right: 30px; bottom: 30px; margin: 0; max-width: 70%; text-align: right; font-size: 1.05rem; color: var(--heading); transition: opacity .35s ease, transform .45s ease; }
.stat-card__index { position: absolute; top: 30px; left: 30px; font-size: .95rem; color: var(--muted); opacity: 0; transform: translateY(-8px); transition: opacity .4s ease, transform .45s ease; }
.stat-card:hover, .stat-card:focus-visible, .stat-card.is-active {
  background: var(--card); border-color: var(--border); box-shadow: 0 30px 60px -40px rgba(var(--heading-rgb), .45); transform: translateY(-4px);
}
.stat-card:hover .stat-card__num--top, .stat-card:focus-visible .stat-card__num--top, .stat-card.is-active .stat-card__num--top { opacity: 0; transform: translateY(-18px); }
.stat-card:hover .stat-card__num--bottom, .stat-card:focus-visible .stat-card__num--bottom, .stat-card.is-active .stat-card__num--bottom { opacity: 1; transform: none; }
.stat-card:hover .stat-card__label, .stat-card:focus-visible .stat-card__label, .stat-card.is-active .stat-card__label { opacity: 0; transform: translateY(10px); }
.stat-card:hover .stat-card__index, .stat-card:focus-visible .stat-card__index, .stat-card.is-active .stat-card__index { opacity: 1; transform: none; }
.stats-body { margin-top: 28px; max-width: 760px; }

.about-split-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.about-split-head h2, .about-h2 { font-size: calc(clamp(1.8rem, 1.1rem + 2.4vw, 3rem) * var(--h-scale)); font-weight: 600; letter-spacing: -0.03em; margin: 0; }
.about-split-head .lead { margin: 0; }

.week-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: w; }
.week-step { position: relative; padding: 24px 22px 26px; border-radius: calc(var(--radius) * 1.2); background: var(--card); border: 1px solid var(--border); transition: transform .35s, box-shadow .35s, border-color .35s; }
.week-step:hover { transform: translateY(-4px); border-color: rgba(var(--primary-rgb), .35); box-shadow: 0 24px 50px -34px rgba(var(--primary-rgb), .7); }
.week-step__tag { display: inline-flex; padding: 5px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--heading); color: var(--bg); margin-bottom: 18px; }
.week-step__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px; color: var(--primary); background: rgba(var(--primary-rgb), .1); }
.week-step h3 { font-size: 1.12rem; margin-bottom: .35em; }
.week-step p { margin: 0; color: var(--muted); font-size: .93rem; }

.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.why-card { padding: 28px 24px; border-radius: calc(var(--radius) * 1.2); background: var(--card); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; min-height: 240px; transition: background .35s, transform .35s; }
.why-card:hover { transform: translateY(-4px); background: color-mix(in srgb, var(--accent2) 9%, var(--card)); }
.why-card__num { font-family: var(--font-heading); font-weight: 700; font-size: 2.4rem; line-height: 1; background: linear-gradient(160deg, var(--primary), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: auto; padding-bottom: 22px; }
.why-card h3 { font-size: 1.15rem; margin: 0; }
.why-card p { margin: 0; color: var(--muted); font-size: .94rem; }

.founder-wrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: stretch; }
.founder-form { padding: clamp(24px, 3.5vw, 44px); border-radius: calc(var(--radius) * 1.5); background: var(--surface); border: 1px solid var(--border); }
.founder-form h2 { font-size: calc(clamp(1.7rem, 1.1rem + 1.8vw, 2.5rem) * var(--h-scale)); font-weight: 600; letter-spacing: -0.02em; }
.founder-form .lead { margin-bottom: 26px; }
.founder-form .form-grid { margin-bottom: 22px; }
.founder-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 22px; padding: clamp(22px, 3vw, 34px); border-radius: calc(var(--radius) * 1.5); color: #d6e2f5;
  background: radial-gradient(500px 300px at 100% 0%, rgba(0,207,190,.25), transparent 60%), linear-gradient(160deg, #071B49, #0b2f8a 70%, #075AF5); }
.founder-card__promises { display: grid; gap: 10px; }
.founder-card__promises p { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: .95rem; }
.founder-card__promises .ico { color: #5ef0de; margin-top: 3px; }
.founder-card__person { margin-top: auto; display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: end; padding: 16px; border-radius: calc(var(--radius) * 1.2); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(6px); }
.founder-card__photo { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: #fff; }
.founder-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.founder-card__name { margin: 0; color: #fff; font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700; line-height: 1.2; }
.founder-card__role { margin: 2px 0 10px; color: #7fe3ff; font-weight: 600; font-size: .92rem; }
.founder-card__quote { margin: 0 0 12px; font-size: .95rem; font-style: italic; color: #e5ecfa; }
.founder-card__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .88rem; }
.founder-card__contact a { display: inline-flex; gap: 8px; align-items: center; color: #d6e2f5; word-break: break-all; }
.founder-card__contact a:hover { color: #fff; }

@media (max-width: 1080px) {
  .week-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .why-grid, .stat-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .founder-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .about-hero__head { flex-direction: column; align-items: flex-start; }
  .about-split-head { grid-template-columns: 1fr; gap: 14px; }
  .photoband__row--tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-grid, .stat-grid--2 { grid-template-columns: 1fr; }
  .stat-card { min-height: 200px; }
}
@media (max-width: 640px) {
  .photoband__row--wide, .why-grid, .week-steps, .stat-grid--4 { grid-template-columns: 1fr; }
  .photoband { gap: 10px; } .photoband__row { gap: 10px; }
  .photoband__tile--wide { aspect-ratio: 16 / 9; }
  .founder-card__person { grid-template-columns: 1fr; }
  .founder-card__photo { max-width: 220px; }
  .pill-badge { height: 40px; font-size: .95rem; }
}
/* founder card: large photo on top, details, then promises */
.founder-card__person { order: -1; margin-top: 0; grid-template-columns: 1fr; align-items: start; gap: 16px; padding: 14px; }
.founder-card__photo { aspect-ratio: 5 / 4; max-height: 380px; width: 100%; }
.founder-card__info { padding: 0 6px 6px; }
.founder-card__promises { margin-top: auto; padding-top: 6px; }
@media (max-width: 640px) { .founder-card__photo { max-width: none; aspect-ratio: 1 / 1; } }
.founder-card__person { display: flex; flex-direction: column; flex: 1 1 auto; }
.founder-card__photo { flex: 1 1 auto; aspect-ratio: auto; min-height: 300px; max-height: none; }
.founder-card__promises { margin-top: 0; }
@media (max-width: 1080px) { .founder-card__photo { flex: none; aspect-ratio: 4 / 3; min-height: 0; } }
@media (max-width: 640px) { .founder-card__photo { aspect-ratio: 1 / 1; } }

/* v1.2 stats: default = name only; hover/focus/tap = white card, index + counting number bottom-right */
.stat-card__label { left: 30px; right: 30px; top: 30px; bottom: auto; max-width: none; text-align: left;
  font-family: var(--font-heading); font-weight: 600; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); line-height: 1.2; letter-spacing: -0.01em; }
.stat-card__hint { position: absolute; left: 30px; bottom: 28px; display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); transition: opacity .35s ease; }
.stat-card__hint::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--primary), var(--accent2)); }
.stat-card__num { top: auto; left: auto; right: 30px; bottom: 26px; opacity: 0; transform: translateY(22px); }
.stat-card:hover .stat-card__num, .stat-card:focus-visible .stat-card__num, .stat-card.is-active .stat-card__num { opacity: 1; transform: none; }
.stat-card:hover .stat-card__label, .stat-card:focus-visible .stat-card__label, .stat-card.is-active .stat-card__label { opacity: 0; transform: translateY(-10px); }
.stat-card:hover .stat-card__hint, .stat-card:focus-visible .stat-card__hint, .stat-card.is-active .stat-card__hint { opacity: 0; }
@media (hover: none) { .stat-card__hint { font-size: 0; } .stat-card__hint::after { content: "Tap to see"; font-size: .85rem; } }
/* custom cursor must never stay on screen outside the hero */
.cursor:not(.is-visible) .cursor__inner { opacity: 0 !important; }

/* ==========================================================================
   v1.3 — larger team cards, flexible footer, header options
   ========================================================================== */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); justify-content: center; gap: clamp(18px, 2.4vw, 32px); }
.team-card { padding: 0; text-align: left; overflow: hidden; border-radius: calc(var(--radius) * 1.5); background: var(--card); border: 1px solid var(--border);
  box-shadow: 0 24px 60px -40px rgba(var(--heading-rgb), .45); transition: transform .4s cubic-bezier(.2,.9,.3,1), box-shadow .4s ease, border-color .3s; }
.team-card:hover { transform: translateY(-6px); border-color: rgba(var(--primary-rgb), .35); box-shadow: 0 36px 70px -40px rgba(var(--primary-rgb), .6); }
.team-card__photo { width: 100%; height: auto; aspect-ratio: 4 / 4.4; margin: 0; border-radius: 0; font-size: 4rem;
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent2) 14%, var(--surface)), var(--surface)); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .8s cubic-bezier(.2,.9,.3,1); }
.team-card:hover .team-card__photo img { transform: scale(1.04); }
.team-card__body { padding: 22px 24px 26px; }
.team-card h3 { font-size: calc(1.35rem * var(--h-scale)); margin: 0 0 4px; }
.team-card__role { display: inline-flex; padding: 4px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--primary); background: rgba(var(--primary-rgb), .09); margin: 0 0 12px; }
.team-card__bio { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.team-card__links { justify-content: flex-start; gap: 8px; }
.team-card__links a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); color: var(--heading); }
.team-card__links a:hover { color: var(--primary); border-color: var(--primary); }

/* Footer: columns adapt to what is switched on in the dashboard */
.footer__grid { display: flex; flex-wrap: wrap; gap: 36px 48px; }
.footer__grid > * { flex: 1 1 160px; min-width: 0; }
.footer__grid > .footer__about { flex: 1.8 1 300px; max-width: 460px; }
.footer__grid > .footer__contact { flex: 1.4 1 260px; display: block; }
.footer__social { margin-top: 22px; }
.footer__title--sm { margin-bottom: 10px; }
.footer__social .social { margin-top: 0 !important; flex-wrap: wrap; }
.footer__bottom ul:empty { display: none; }
.social--drawer { list-style: none; padding: 0; margin: 0 0 6px; display: flex; gap: 8px; }
.social--drawer a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); color: var(--heading); }
.site-header--static:not(.site-header--overlay) { position: relative; }
@media (max-width: 1240px) { .footer__contact { grid-column: auto; display: block; } }
@media (max-width: 640px) { .footer__grid > .footer__about { max-width: none; } .team-grid { grid-template-columns: minmax(0, 1fr); } }
