/* NOOVA Cognitive Lab: the company page.
   The product's colours and type (ds.css in Noova-HR): Golos Text, the
   cognitive cyan and the ego violet on night ink, the deck's dot field. */

:root {
  --gx: 4rem;
  --max-w: 1460px;
  --layout-width: min(100vw, var(--max-w));
  --gutter: 1.4rem;
  --columns: 12;
  --head-h: 5.5rem;
  --col: calc((var(--layout-width) - 2 * var(--gx) - var(--gutter) * (var(--columns) - 1)) / var(--columns));
  --grids-1: var(--col);
  --grids-3: calc(var(--col) * 3 + var(--gutter) * 2);
  --grids-4: calc(var(--col) * 4 + var(--gutter) * 3);
  --grids-6: calc(var(--col) * 6 + var(--gutter) * 5);
  --grids-8: calc(var(--col) * 8 + var(--gutter) * 7);
  --grids-10: calc(var(--col) * 10 + var(--gutter) * 9);

  --display-step: 3rem;
  --display-hero: 3.3rem;
  --display-hero-long: 2.8rem;

  --surface: #1b1e26;
  --bg: #0b0d14;
  --title: #d7d8d7;
  --cyan: #5cc5dd;
  --brand: #8db5be;
  --violet: #8690d8;
  --muted: #808087;
  --line: rgba(255, 255, 255, .14);
  --hair: rgba(255, 255, 255, .08);
  --font: "Golos Text", ui-sans-serif, system-ui, sans-serif;
  /* Three small sizes only: text, small text, labels and footnotes. */
  --fs-body: 1rem; --fs-small: .875rem; --fs-micro: .6875rem;
  --ease: cubic-bezier(.19, 1, .22, 1);
}
@media (min-width: 768px)  { :root { --display-step: 4.6rem; --display-hero: 5rem; --display-hero-long: 4.4rem; } }
@media (min-width: 1024px) { :root { --display-step: 6.4rem; --display-hero: 7.4rem; --display-hero-long: 6.4rem; } }
@media (min-width: 1280px) { :root { --display-hero: 8.6rem; --display-hero-long: 7.2rem; } }
@media (min-width: 1536px) { :root { --display-hero: 9.4rem; --display-hero-long: 7.8rem; } }
@media (max-width: 767px)  { :root { --gx: 1.1rem; --gutter: .5rem; --columns: 6; --head-h: 4.5rem; } }

/* Golos Text, variable 400 to 900, one file per alphabet. SIL Open Font License. */
@font-face {
  font-family: "Golos Text"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("../fonts/golos-text-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Golos Text"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("../fonts/golos-text-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Orbitron, the codes inside the graph's nodes. SIL Open Font License. */
@font-face { font-family: "Orbitron"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/orbitron-700-latin.woff2") format("woff2"); }

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: #fff; font: 400 16px/1.5 var(--font);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; overscroll-behavior: none;
}
p, h1, h2, h3, blockquote { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: rgba(92, 197, 221, .35); }
:focus-visible { outline: 1.5px solid var(--cyan); outline-offset: 3px; }
main, .footer { position: relative; z-index: 3; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 300; padding: .5rem .75rem; border-radius: .5rem; background: #fff; color: var(--bg); }
.skip:focus { top: 1rem; }
/* Until the team decides on the product for people, data-b2c="off" hides all of it. */
[data-b2c="off"] .b2c { display: none !important; }

.layer { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.layer--gl { z-index: 1; }
.layer--labels { z-index: 2; }
.top-fade { position: fixed; inset: 0 0 auto; height: calc(var(--head-h) + 4rem); z-index: 9; pointer-events: none; background: linear-gradient(rgba(11, 13, 20, .92), rgba(11, 13, 20, .45) 50%, rgba(11, 13, 20, 0)); }

/* ------------------------------------------------------------------ type */
.display { display: flex; flex-direction: column; margin: 0; font-weight: 400; color: var(--title); letter-spacing: -.05em; line-height: .98; }
.display--hero { font-size: var(--display-hero); text-align: center; }
.phase .lead { text-shadow: 0 0 32px rgba(11, 13, 20, .9), 0 0 12px rgba(11, 13, 20, .8); }
.display--hero-long { font-size: var(--display-hero-long); }
.display--center { text-align: center; }
.display--step { font-size: var(--display-step); line-height: 1.05; }
.h3 { max-width: 17ch; font-size: clamp(2.2rem, 3vw, 2.8rem); font-weight: 400; line-height: 1.1; letter-spacing: -.035em; color: var(--title); }
.lead { max-width: 30ch; font-size: var(--fs-body); line-height: 1.42; letter-spacing: -.01em; text-wrap: balance; }
.body-sm { max-width: 30ch; font-size: var(--fs-body); line-height: 1.5; color: rgba(255, 255, 255, .55); text-wrap: balance; }
.eyebrow { font-size: var(--fs-micro); font-weight: 500; line-height: 1.3; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow--accent { color: var(--cyan); }
.eyebrow--violet { color: var(--violet); }
.eyebrow--muted { color: var(--muted); }
.eyebrow--sm { font-size: var(--fs-micro); letter-spacing: .24em; color: rgba(255, 255, 255, .5); }
/* Footnotes and sources: one small, quiet line. */
.src { font-size: var(--fs-micro); line-height: 1.45; color: rgba(255, 255, 255, .38); }
.stat { display: flex; font-size: 4.5rem; font-weight: 400; line-height: 1; letter-spacing: -.05em; color: var(--cyan); }
.block { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; width: var(--grids-3); padding: 7.5rem 0; }
.block--row { width: auto; padding: 2.5rem 0; }

/* Blur reveals: words drift up out of focus, display lines one after another. */
[data-reveal="words"] .w { display: inline-block; opacity: 0; filter: blur(6px); transform: translateY(.35em); transition: opacity .9s var(--ease), filter .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i) * 28ms); }
[data-reveal="words"].is-in .w { opacity: 1; filter: blur(0); transform: none; }
/* headings take the words in a little slower and from a deeper blur than the text under them */
.h3[data-reveal="words"] .w { transition-duration: 1.1s; transition-delay: calc(var(--i) * 70ms); }
.h3[data-reveal="words"]:not(.is-in) .w { filter: blur(12px); }
[data-reveal="lines"] > span { display: block; opacity: 0; filter: blur(16px); transform: translateY(.12em); transition: opacity 1.2s var(--ease), filter 1.2s var(--ease), transform 1.2s var(--ease); transition-delay: calc(140ms + var(--i) * 140ms); }
[data-reveal="lines"].is-in > span { opacity: 1; filter: blur(0); transform: none; }
/* The section title used from the companies block on: two lines, the
   second one grey. */
.title2 { font-size: clamp(2rem, 3.6vw, 3.4rem); font-weight: 400; line-height: 1.05; letter-spacing: -.045em; }
.title2 span { text-wrap: balance; }
.title2 span + span { color: rgba(255, 255, 255, .42); }
/* Children come in one after another once the parent is revealed. */
.stagger > * { opacity: 0; filter: blur(8px); transform: translateY(16px); transition: opacity .9s var(--ease), filter .9s var(--ease), transform .9s var(--ease); }
.stagger.is-in > * { opacity: 1; filter: none; transform: none; }
.stagger > :nth-child(2) { transition-delay: .1s; }
.stagger > :nth-child(3) { transition-delay: .2s; }
.stagger > :nth-child(4) { transition-delay: .3s; }

/* The button of hr.noova.global: a 48px pill, white with dark words; the
   quiet one is outlined and lifts to the surface colour on hover. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 44px;
  border-radius: 40px; border: .5px solid #fff; background: #fff; color: var(--bg);
  font-size: 17px; font-weight: 500; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: color .22s, border-color .22s, background .22s;
}
.btn:hover { background: #d7d8d7; border-color: #d7d8d7; }

/* ---------------------------------------------------------------- header */
.top { position: fixed; inset: 0 0 auto; z-index: 20; height: var(--head-h); display: flex; align-items: center; pointer-events: none; }
.top__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: min(var(--grids-10) + 2 * var(--gx), 100% - 2 * var(--gx)); margin-inline: auto; }
@media (max-width: 1023px) { .top__in { width: calc(100% - 2 * var(--gx)); } }
.top__logo { display: block; width: 104px; color: #fff; pointer-events: auto; }
.top__logo svg { display: block; width: 100%; aspect-ratio: 168 / 42; fill: currentColor; }
.pop { position: relative; justify-self: start; pointer-events: auto; }
.pop--right { justify-self: end; }
.pop__btn {
  display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px 0 12px;
  border-radius: 999px; border: 1px solid var(--line); background: rgba(27, 30, 38, .66);
  font-size: var(--fs-small); font-weight: 500; cursor: pointer;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: background .3s, color .3s, border-color .3s;
}
.pop__btn:hover { border-color: rgba(255, 255, 255, .34); }
/* The header's two buttons are bare icons in the graph's own language. */
.pop__btn--icon, .pop.is-open .pop__btn.pop__btn--icon { position: relative; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; background: none; color: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; transition: opacity .3s; }
/* Header icons: thin strokes only. Menu is two lines of unequal length,
   the short one reaching full width on hover; Contact is a plus that turns.
   Open, each becomes a cross. */
.burger, .plus { position: relative; display: block; }
.burger i, .plus i { position: absolute; left: 0; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform .5s var(--ease), width .4s var(--ease), top .4s var(--ease); }
.burger { width: 22px; height: 14px; }
.burger i:first-child { top: 3px; width: 22px; }
.burger i:last-child { top: 10px; width: 13px; }
.pop__btn--icon:hover .burger i:last-child { width: 22px; }
.pop.is-open .burger i { top: 6.25px; width: 22px; }
.pop.is-open .burger i:first-child { transform: rotate(45deg); }
.pop.is-open .burger i:last-child { transform: rotate(-45deg); }
.plus { width: 18px; height: 18px; transition: transform .6s cubic-bezier(.34, 1.56, .64, 1); }
.plus i { top: 50%; width: 100%; margin-top: -.75px; }
.plus i:last-child { transform: rotate(90deg); }
.pop__btn--icon:hover .plus { transform: rotate(90deg); }
.pop.is-open .plus { transform: rotate(45deg); }
.pop.is-open .pop__btn { background: #fff; color: var(--bg); border-color: #fff; }
/* Six dots on a hexagon, the six abilities; they draw in and turn while open. */
.hex { position: relative; width: 16px; height: 16px; transition: transform .6s var(--ease); }
.hex i { position: absolute; left: 50%; top: 50%; width: 3px; height: 3px; margin: -1.5px; border-radius: 50%; background: var(--cyan); transform: rotate(var(--a)) translateY(-6px); transition: transform .5s var(--ease); }
.hex i:nth-child(1) { --a: 0deg; } .hex i:nth-child(2) { --a: 60deg; background: var(--violet); }
.hex i:nth-child(3) { --a: 120deg; } .hex i:nth-child(4) { --a: 180deg; background: var(--violet); }
.hex i:nth-child(5) { --a: 240deg; } .hex i:nth-child(6) { --a: 300deg; background: var(--violet); }
.pop.is-open .hex { transform: rotate(90deg); }
.pop.is-open .hex i { transform: rotate(var(--a)) translateY(-3.5px); }
.ping { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.ping::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--cyan); animation: ping 2s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes ping { 70%, 100% { transform: scale(2.6); opacity: 0; } }
.pop__panel {
  position: absolute; top: calc(100% + 10px); left: 0; width: 300px; max-width: calc(100vw - 2 * var(--gx));
  padding: 8px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(11, 13, 20, .72);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(24px) saturate(120%); backdrop-filter: blur(24px) saturate(120%);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.97); transform-origin: top left;
  transition: opacity .25s, transform .5s var(--ease), visibility 0s .5s;
}
.pop--right .pop__panel { left: auto; right: 0; transform-origin: top right; }
.pop.is-open .pop__panel { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .5s var(--ease), visibility 0s; }
.pop__body { display: flex; flex-direction: column; padding: 14px 16px 10px; }
.pop__body > * { opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .5s var(--ease); transition-delay: calc(40ms + var(--i, 0) * 25ms); }
.pop.is-open .pop__body > * { opacity: 1; transform: none; }
.pop__body .eyebrow { margin: 4px 0 8px; color: var(--muted); }
.pop__link { display: flex; align-items: center; gap: 14px; margin: 0 -10px; padding: 8px 10px; font-size: 1.25rem; font-weight: 400; letter-spacing: -.02em; text-decoration: none; transition: opacity .4s, transform .5s var(--ease), filter .35s; transition-delay: calc(40ms + var(--i, 0) * 25ms); }
.pop__link b { width: 20px; font-size: var(--fs-micro); font-weight: 400; letter-spacing: .04em; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .32); }
/* The item under the pointer stays sharp; the rest go out of focus. */
.pop__body:hover :is(.pop__link, .pop__row) { transition-delay: 0s; }
.pop__body:hover :is(.pop__link, .pop__row):not(:hover) { opacity: .35; filter: blur(1.5px); }
.pop__out, .pop__row svg, .footer__cta-arrow svg, .footer__top-ic svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pop__out { width: 14px; height: 14px; margin-left: auto; color: rgba(255, 255, 255, .35); }
.pop__sep { height: 14px; }
.pop__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 -10px; padding: 8px 10px; font-size: 1.25rem; font-weight: 400; letter-spacing: -.02em; text-decoration: none; transition: opacity .4s, transform .5s var(--ease), filter .35s; transition-delay: calc(40ms + var(--i, 0) * 25ms); }
.pop__row small { display: block; margin-bottom: 2px; font-size: var(--fs-micro); letter-spacing: .04em; color: rgba(255, 255, 255, .32); }
.pop__row svg { flex: none; width: 14px; height: 14px; color: rgba(255, 255, 255, .35); transition: transform .4s var(--ease); }
.pop__row:hover svg { transform: translate(2px, -2px); }
@media (max-width: 767px) {
  .top__logo { width: 84px; }
  .pop__btn { padding: 0 13px 0 11px; }
  .top__in:has(.pop.is-open) .pop:not(.is-open) { opacity: 0; pointer-events: none; }
}

/* ------------------------------------------------- hero and the three phases */
.lab { position: relative; pointer-events: none; }
.hero { position: relative; min-height: 100svh; padding: var(--head-h) var(--gx) 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6rem; }
.anchor, .phase { scroll-margin-top: var(--head-h); }
.phase { position: relative; height: 180svh; padding: 0 var(--gx); }
.phase__sticky { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; }
.phase__grid { width: 100%; margin: 0 auto; display: flex; justify-content: flex-start; }
@media (min-width: 1024px) { .phase__grid { width: var(--grids-10); } }
.phase__grid--end { justify-content: flex-end; }
.phase__block { display: flex; flex-direction: column; align-items: flex-start; gap: 1.75rem; width: var(--grids-3); }
.phase--measure .display--step { transform: translateX(calc(-1 * var(--grids-1))); }
@media (max-width: 1023px) {
  .phase__sticky { align-items: flex-start; padding-top: calc(var(--head-h) + 1rem); }
  .phase__grid--end { justify-content: flex-start; }
  .phase__block { width: 100%; gap: 1.1rem; }
  .phase--measure .display--step { transform: none; }
  .phase .lead { max-width: 24rem; }
}

/* ---------------------------------------------- complex made simple (#era) */
.era { position: relative; min-height: 100svh; padding: 0 var(--gx); margin-top: 90svh; scroll-margin-top: var(--head-h); }
.spacer-30 { min-height: 30svh; width: 100%; }
.grid-10 { width: 100%; margin: 0 auto; }
@media (min-width: 1024px) { .grid-10 { width: var(--grids-10); } }
.grid-10--end { display: flex; justify-content: flex-end; }
@media (max-width: 1023px) {
  .block { width: 100%; max-width: 32rem; padding: 2.5rem 0; }
}

/* ----------------------------------------------------- growth (#growth) */
.grow { margin-top: 30svh; padding: 0 var(--gx); min-height: 100svh; scroll-margin-top: var(--head-h); display: flex; flex-direction: column; align-items: center; }
.grow__inner { width: 100%; display: flex; flex-direction: column; align-items: center; }
.grow__head { height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem; text-align: center; }
.grow__head .eyebrow { max-width: 26rem; }
/* One full viewport per phrase, so each state of the tree holds before the next. */
.grow__rows { display: flex; flex-direction: column; }
.grow__row { min-height: 115svh; display: flex; align-items: center; width: 100%; }
.grow__row--end { justify-content: flex-end; }
@media (max-width: 1023px) {
  .grow { margin-top: 0; }
  .grow__head { height: auto; min-height: 70svh; padding-top: var(--head-h); }
  .grow__row { min-height: 90svh; align-items: flex-start; padding-top: 14svh; }
  .grow__row--end { justify-content: flex-start; }
}

/* ---------------------------------------------------------------- about */
.about { position: relative; min-height: 100svh; margin-top: 0; padding: 10rem var(--gx); overflow-x: clip; display: flex; flex-direction: column; align-items: center; scroll-margin-top: var(--head-h); }
.about__follow { position: absolute; inset: 0; margin: 0 auto; width: 100%; pointer-events: none; }
@media (min-width: 1024px) { .about__follow { width: var(--grids-10); } }
/* The focal line of the steps: a row of dots at the viewport centre that
   spreads out from the middle while the steps pass it. */
.about__line { position: absolute; left: 0; right: 0; display: flex; top: calc(var(--follow-y) * 100%); transform: translateY(calc(var(--follow-y) * -100%)); }
.about__line i { flex: 1; height: 2px; background: radial-gradient(circle, rgba(255, 255, 255, .35) .8px, transparent 1.2px) 0 50% / 8px 2px repeat-x; -webkit-mask: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); mask: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); opacity: 0; transform: scaleX(.2); transition: opacity .8s var(--ease), transform 1.2s var(--ease); }
.about__line.is-on i { opacity: 1; transform: none; }
.about__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2rem; width: 100%; }
.about__row { display: flex; justify-content: center; gap: var(--gutter); width: 100%; scroll-margin-top: calc(var(--head-h) + 2rem); }
@media (min-width: 1024px) { .about__row { width: var(--grids-6); } }
.about__cell { display: flex; width: var(--grids-3); }
.about__cell--mid { align-items: center; }
.about__cell--center { align-items: center; justify-content: center; }
.about__label { font-size: var(--fs-micro); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.quote { display: flex; flex-direction: column; gap: 1rem; padding: 2.5rem 0; }
.quote .lead::before { content: "\201C"; }
.quote .lead::after { content: "\201D"; }
@media (max-width: 1023px) {
  .about__row { flex-direction: column; gap: 0; }
  .about__cell { width: 100%; }
  .about__cell--center { justify-content: flex-start; padding-bottom: 2rem; }
}
.dna { margin: 12rem 0 6rem; display: flex; flex-direction: column; align-items: center; width: 100%; }
.dna .eyebrow { margin-bottom: 2.5rem; }
.dna ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: clamp(1.6rem, 5vw, 3.6rem); text-align: center; font-size: clamp(2.4rem, 10vw, 5.8rem); font-weight: 400; line-height: 1.1; letter-spacing: -.045em; }
@media (max-width: 767px) { .dna ol { gap: 3.4rem; font-size: 13vw; } }
/* Focus is driven from the follow line (js/main.js): opacity and blur are inline; the words never move. */
.dna li { opacity: .3; filter: blur(8px); will-change: filter, opacity; }

/* --------------------------------------------------------------- footer */
.footer { padding: 8rem 0 0; overflow: hidden; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, rgba(92, 197, 221, 0), rgba(92, 197, 221, .35) 50%, rgba(134, 144, 216, 0)); }
.footer__inner { width: 100%; padding: 0 var(--gx); margin: 0 auto; }
@media (min-width: 1024px) { .footer__inner { width: calc(var(--grids-10) + 2 * var(--gx)); } }
.footer__cta { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; text-decoration: none; }
.footer__cta-text { font-size: clamp(2.4rem, 6vw, 5.8rem); line-height: 1; transition: color .4s var(--ease); }
.footer__cta:hover .footer__cta-text { color: #fff; }
.footer__cta-arrow { position: relative; display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: clamp(3.5rem, 6vw, 5.5rem); aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line); transition: border-color .4s, color .4s; }
.footer__cta-arrow svg { position: relative; width: 38%; height: 38%; transition: transform .6s var(--ease); }
/* Never filled: on hover the outline and the arrow take the brand teal. */
.footer__cta:hover .footer__cta-arrow { border-color: var(--brand); color: var(--brand); }
.footer__cta:hover .footer__cta-arrow svg { transform: rotate(45deg); }
.footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); margin-top: 6rem; }
.footer__col h2 { margin: 0 0 1rem; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .15rem; }
.footer__col a { position: relative; display: inline-block; padding: .3rem 0; text-decoration: none; transition: opacity .25s; }
.footer__col a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .15rem; height: 1px; background: var(--cyan); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.footer__col a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer__grid:has(a:hover) a:not(:hover) { opacity: .6; }
.footer__bar { margin-top: 6rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 1.5rem var(--gx) 2rem; border-top: 1px solid rgba(255, 255, 255, .06); font-size: var(--fs-micro); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a { text-decoration: none; transition: color .2s; }
.footer__legal a:hover { color: #fff; }
.footer__top { display: inline-flex; align-items: center; gap: .6rem; padding: 0; background: none; border: 0; cursor: pointer; letter-spacing: inherit; text-transform: inherit; font-size: inherit; color: inherit; }
.footer__top:hover { color: #fff; }
.footer__top-ic { display: inline-flex; width: 1.7rem; height: 1.7rem; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line); transition: transform .5s var(--ease), border-color .2s; }
.footer__top-ic svg { width: 55%; height: 55%; }
.footer__top:hover .footer__top-ic { transform: translateY(-3px); border-color: var(--cyan); }
@media (max-width: 767px) {
  .footer { padding-top: 5rem; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; margin-top: 4rem; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal="words"] .w, [data-reveal="lines"] > span, .pop__panel, .pop__body > * { transition: none; }
  .ping::after { animation: none; }
}

/* ------------------------------------------------- the company page's own blocks */
.display--h1 { font-size: clamp(2.4rem, 5vw, 5.2rem); text-align: center; line-height: 1; }
/* The hero sits in the middle of the screen, the header's height kept free above and below. */
@media (min-width: 1024px) { .hero { padding-bottom: var(--head-h); gap: 1.3rem; } }
.display--phase { font-size: clamp(2.2rem, 3.6vw, 3.6rem); line-height: 1.05; }
.display--section { font-size: clamp(2.2rem, 4.6vw, 4.6rem); text-align: center; line-height: 1.02; }
.lead--center { text-align: center; max-width: 34ch; margin-inline: auto; color: rgba(255, 255, 255, .55); }
/* The hero title on one line at every width. */
.hero__title { white-space: nowrap; font-size: min(calc(var(--display-hero) * .87), 10.4vw); letter-spacing: -.07em; }
/* The hero's line under the title: two lines, smaller and lighter than a lead. */
.lead--hero { max-width: 44ch; margin-inline: auto; text-align: center; font-size: var(--fs-body); line-height: 1.5; color: rgba(255, 255, 255, .62); letter-spacing: 0; }
.lead--quote { font-size: 1.25rem; max-width: 26ch; }
.hero .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: .6rem; pointer-events: auto; }
/* The buttons come in last, after the title and the line under it. */
.hero [data-reveal].actions { opacity: 0; filter: blur(8px); transform: translateY(12px); transition: opacity .9s var(--ease) .7s, filter .9s var(--ease) .7s, transform 1s var(--ease) .7s; }
.hero [data-reveal].actions.is-in { opacity: 1; filter: none; transform: none; }
.btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .2); }
.btn--ghost:hover { background: var(--surface); border-color: rgba(255, 255, 255, .2); color: #fff; }

/* A phase's figure from somebody else's study: the number, what it counts, whose it is. */
.pstat { display: flex; flex-direction: column; gap: .4rem; }
.pstat__n { font-size: 3.4rem; line-height: 1; letter-spacing: -.05em; color: var(--cyan); }

/* A section's head inside the long About run. */
.shead { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; margin: 10rem 0 2rem; scroll-margin-top: calc(var(--head-h) + 2rem); }
.shead:first-child { margin-top: 0; }
/* A held breath before a new chapter. */
.shead--pause { margin-top: max(18rem, 45svh); }
/* What is coming: a quiet label in the HUD type, no frame. */
.soon { margin-left: .5rem; font-family: "Orbitron", var(--font); font-weight: 700; font-size: var(--fs-micro); letter-spacing: .2em; text-transform: uppercase; vertical-align: middle; color: rgba(255, 255, 255, .35); }

/* Time to a result, to scale: the two bars share one axis. */
/* The speed race: two numbers side by side, each over one thin bar on the
   same scale. The classic bar takes its time; the dialogue's is done at once. */
.race { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; margin: 4rem 0 2rem; }
.race__cell { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; padding-right: 2.6rem; }
.race__cell + .race__cell { padding: 0 0 0 2.6rem; }
.race__cell p { margin: 0; }
.race__v { display: flex; align-items: baseline; gap: .7rem; margin-top: .6rem; font-size: 1.6rem; letter-spacing: -.02em; color: var(--muted); }
.race__v b { font-weight: 400; font-size: clamp(3.6rem, 7vw, 6.4rem); line-height: .9; letter-spacing: -.06em; color: rgba(255, 255, 255, .45); }
.is-ours .race__v { color: var(--cyan); }
.is-ours .race__v b { color: var(--cyan); text-shadow: 0 0 40px rgba(92, 197, 221, .45); }
.race__d { font-size: var(--fs-small); color: var(--muted); }
.race__bar { position: relative; width: 100%; height: 2px; margin-top: 1.4rem; border-radius: 2px; background: rgba(255, 255, 255, .07); }
.race__bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--w) * 100%); border-radius: inherit; background: rgba(255, 255, 255, .4); transform: scaleX(0); transform-origin: left; transition: transform 2.6s cubic-bezier(.45, 0, .25, 1) .5s; }
.is-ours .race__bar::after { background: var(--cyan); box-shadow: 0 0 12px var(--cyan); transition-duration: .5s; }
.race.is-in .race__bar::after { transform: none; }
.race__src { grid-column: 1 / -1; margin: 2.2rem 0 0; }
.race__src b { font-weight: 500; color: rgba(255, 255, 255, .6); }
.race__src span { white-space: nowrap; }
.hud--grey::before { background: rgba(255, 255, 255, .45); box-shadow: none; }
.hud--violet::before { background: var(--violet); box-shadow: 0 0 8px var(--violet); }
.lead--wide { max-width: 44ch; }

/* Doors: one column per audience, each a label, one line about it and an
   arrow to act. The same component wherever the page offers a way in. */
.doors { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); column-gap: 2.6rem; width: 100%; }
.doors--pause { margin: max(18rem, 45svh) 0 1rem; }
.door { display: flex; flex-direction: column; align-items: flex-start; gap: 1.6rem; padding: 2.6rem 0 1rem; }
.door .hud { margin: 0; font-size: var(--fs-micro); }
.door__text { max-width: 22ch; font-size: clamp(1.3rem, 2vw, 1.8rem); line-height: 1.22; letter-spacing: -.025em; }
.door .go { margin-top: auto; }
.footer__doors { margin-top: 6rem; }
/* A quiet call to action: grey at rest; on hover the words turn white and
   the round arrow takes the brand teal. Never filled. */
.go { display: inline-flex; align-items: center; gap: .8rem; margin-top: .4rem; color: rgba(255, 255, 255, .55); font-size: var(--fs-small); font-weight: 500; text-decoration: none; transition: color .4s; }
.go:hover { color: #fff; }
.go__ic { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); color: rgba(255, 255, 255, .55); transition: border-color .4s, color .4s; }
.go__ic svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--ease); }
.go:hover .go__ic { border-color: var(--brand); color: var(--brand); }
.go:hover .go__ic svg { transform: rotate(45deg); }
.race .hud { font-size: var(--fs-micro); }
@media (min-width: 1024px) { .race, .doors--pause { width: var(--grids-10); } }

[data-reveal].race { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
[data-reveal].race.is-in { opacity: 1; transform: none; }

/* Companies, the way product sites show their product: a two-tone title
   with the action beside it, the candidate card lying back and dissolving
   into the page, and four short columns rising out of its fade. */
.hire { width: 100%; margin-top: max(14rem, 35svh); scroll-margin-top: calc(var(--head-h) + 2rem); }
@media (min-width: 1024px) { .hire { width: var(--grids-10); } }
.hire__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.hire__act { display: flex; flex-direction: column; align-items: flex-end; gap: .9rem; flex: none; }
.hire__act p { font-size: var(--fs-small); color: rgba(255, 255, 255, .55); }
.hire__shot { position: relative; margin: clamp(2.5rem, 5vw, 4rem) 0 0; border-radius: 14px; overflow: hidden; perspective: 1400px;
  -webkit-mask: linear-gradient(#000 35%, transparent 85%); mask: linear-gradient(#000 35%, transparent 85%);
  opacity: 0; transform: perspective(1400px) rotateX(16deg) translateY(48px) scale(.97); transform-origin: 50% 0; transition: opacity 1.2s var(--ease), transform 1.6s var(--ease); }
.hire__shot.is-in { opacity: 1; transform: none; }
.hire__shot::before { content: ""; position: absolute; inset: 0 0 auto; z-index: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), transparent); }
.hire__shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover; object-position: top; }
.hire__grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.4rem; margin-top: clamp(-3.5rem, -4vw, -1.5rem); }
.hire__item { display: flex; flex-direction: column; gap: .5rem; }
.hire__item h3 { margin: 0; font-size: var(--fs-body); font-weight: 500; }
.hire__item p { margin: 0; font-size: var(--fs-small); line-height: 1.55; color: rgba(255, 255, 255, .55); }
.hire__item .hire__n { font-size: 1.9rem; line-height: 1; letter-spacing: -.04em; color: #fff; }
.hire__n small { margin-right: .2em; font-size: var(--fs-small); letter-spacing: 0; color: rgba(255, 255, 255, .5); }
.hire__item .src { font-size: var(--fs-micro); color: rgba(255, 255, 255, .35); }
@media (max-width: 1023px) {
  .hire { margin-top: 12rem; }
  .hire__head { flex-direction: column; align-items: flex-start; }
  .hire__act { align-items: flex-start; }
  .hire__shot img { aspect-ratio: 4 / 3; }
  .hire__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; margin-top: -2rem; }
}
@media (max-width: 599px) { .hire__grid { grid-template-columns: minmax(0, 1fr); } }

/* Vision: the words on the left, one under another with air between them,
   while the two profiles assemble and overlap on the right (js/scene.js). */
.value { position: relative; display: flex; justify-content: center; padding: 18svh var(--gx) 60svh; margin-top: 30svh; scroll-margin-top: var(--head-h); }
.value__in { display: flex; flex-direction: column; gap: 60svh; width: 100%; }
@media (min-width: 1024px) { .value__in { width: var(--grids-10); } .value__in > * { max-width: var(--grids-4); } .value__in > .value__title { max-width: var(--grids-6); } }
.value__item .h3 { margin-bottom: 1rem; }
/* The founder's words on their own, centred and large, after the profiles. */
.say { display: flex; justify-content: center; padding: 10svh var(--gx) 10svh; }
.say__fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 2rem; max-width: 52rem; text-align: center; }
.say__fig blockquote { margin: 0; }
.say__fig p { font-size: clamp(1.6rem, 3.2vw, 2.9rem); line-height: 1.18; letter-spacing: -.035em; text-wrap: balance; }
.say__fig figcaption { display: flex; gap: .6rem; font-size: var(--fs-small); }
.say__name { color: #fff; font-weight: 500; }
.say__role { color: rgba(255, 255, 255, .45); }
.q { font-style: normal; color: rgba(255, 255, 255, .3); }
/* Science, ethics and scale: the shared title over three even columns. */
.sci { display: flex; justify-content: center; padding: 30svh var(--gx) 20svh; scroll-margin-top: var(--head-h); }
.sci__in { width: 100%; }
@media (min-width: 1024px) { .sci__in { width: var(--grids-10); } }
.sci__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.6rem, 3.5vw, 3.5rem); margin-top: clamp(3rem, 6vw, 5rem); }
.sci__item h3 { margin: 0 0 .8rem; font-size: var(--fs-body); font-weight: 500; }
.sci__item p { font-size: var(--fs-body); line-height: 1.6; color: rgba(255, 255, 255, .55); }
@media (max-width: 767px) { .sci__grid { grid-template-columns: minmax(0, 1fr); gap: 2.4rem; } }

/* The three ways in, at the foot of the page. */

/* On a phone each text gets a screen of its own over the backdrop, as in the growth section. */
@media (max-width: 1023px) { .value__in { gap: 75svh; } }
@media (max-width: 767px) {
  .race { grid-template-columns: minmax(0, 1fr); }
  .race__cell, .race__cell + .race__cell { padding: 0 0 2.4rem; }
  .race__src { margin-top: 1rem; }
  .doors { grid-auto-flow: row; }
  .doors--pause { margin-top: 12rem; }
  .door { padding: 2rem 0 1rem; }
  .shead { margin-top: 6rem; }
  .shead--pause { margin-top: 12rem; }
  .about { padding-top: 4rem; }
}


/* The AI era's two figures as instrument readouts: a dial of ticks whose
   share lights up as the block comes in, the number in the middle, the
   line it stands for under it. */
.phase__block--wide { width: min(30rem, 100%); }
.hud { display: inline-flex; align-items: center; gap: .6rem; font-family: "Orbitron", var(--font); font-weight: 700; font-size: var(--fs-micro); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.hud::before { content: ""; width: 6px; height: 6px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.2rem; width: 100%; }
.kpi { display: flex; flex-direction: column; gap: 1rem; }
.kpi__dial { position: relative; width: 116px; height: 116px; }
.kpi__dial svg { width: 100%; height: 100%; overflow: visible; }
/* A hundred hairline ticks of one length, one per percent; the share of
   them lights up in turn while the stage is on. */
.kpi__ticks line { stroke: rgba(255, 255, 255, .12); stroke-width: 1; transition: stroke .25s; }
.phase.is-on .kpi__ticks line.on { stroke: rgba(92, 197, 221, .9); transition-delay: calc(.3s + var(--i) * 10ms); }
.kpi__n { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; padding-top: 2.6rem; font-size: 1.9rem; font-weight: 400; line-height: 1; letter-spacing: -.04em; color: #fff; }
.kpi__n span { margin-left: .12em; font-size: var(--fs-small); letter-spacing: 0; color: var(--muted); }
.kpi__t { max-width: 13rem; font-size: var(--fs-small); line-height: 1.4; color: rgba(255, 255, 255, .74); }

/* A quotation: a large cyan mark, the words, then who said it after a short rule. */
.pquote { margin: 0; display: flex; flex-direction: column; gap: 1.1rem; max-width: 30rem; }
.pquote__mark { height: 2.4rem; font-size: 5.5rem; line-height: .85; color: var(--cyan); }
.pquote blockquote { margin: 0; }
.pquote p { font-size: 1.55rem; line-height: 1.3; letter-spacing: -.02em; color: #fff; text-wrap: balance; text-shadow: 0 0 28px rgba(11, 13, 20, .95); }
.pquote figcaption { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .9rem; font-size: var(--fs-small); }
.pquote figcaption::before { content: ""; width: 28px; height: 1px; background: var(--cyan); }
.pquote__name { font-weight: 500; color: #fff; }
.pquote__role { color: var(--muted); }
.pquote__role::first-letter { text-transform: uppercase; }
@media (max-width: 767px) { .kpi__dial { width: 104px; height: 104px; } .kpi__n { padding-top: 2.3rem; font-size: 1.7rem; } .pquote p { font-size: 1.25rem; } }

/* The limit is the mind: two small diagrams in the graph's language. A
   search box is one question to one answer; a system is a web the signals
   keep running through. */
.vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.8rem; width: 100%; }
.vs__item { margin: 0; display: flex; flex-direction: column; gap: .7rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.vs__svg { width: 100%; max-width: 150px; height: auto; overflow: visible; }
.vs__link { fill: none; stroke: rgba(255, 255, 255, .3); stroke-width: 1; stroke-dasharray: 1 3; }
.vs__node { fill: none; stroke: rgba(255, 255, 255, .75); stroke-width: 1; }
.vs__dot { fill: var(--cyan); }
.vs__sig { fill: var(--cyan); filter: drop-shadow(0 0 4px rgba(92, 197, 221, .9)); }
.vs__item figcaption { font-size: var(--fs-small); line-height: 1.4; color: rgba(255, 255, 255, .74); }
.vs__punch { font-size: 1.6rem; line-height: 1.25; letter-spacing: -.02em; color: #fff; }
.vs__punch em { font-style: normal; color: var(--cyan); }


/* A stage's block comes in with its stage and leaves with it: every part
   in turn, title first, so the text moves in step with the ball and the
   graph (js/main.js sets .is-on while the stage holds the screen). */
.phase .phase__block > * { opacity: 0; transform: translateY(18px); filter: blur(8px); transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s var(--ease); }
.phase.is-on .phase__block > * { opacity: 1; transform: none; filter: none; }
.phase.is-on .phase__block > :nth-child(2) { transition-delay: .12s; }
.phase.is-on .phase__block > :nth-child(3) { transition-delay: .24s; }
.phase.is-on .phase__block > :nth-child(4) { transition-delay: .36s; }

/* Thinking makes the complex simple: a compact block, no figure. The title
   on the left, two rows on the right, each with a small sign of its idea. */
.cs { position: relative; padding: 28vh var(--gx) 18vh; scroll-margin-top: var(--head-h); }
.cs__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem var(--gutter); margin: 0 auto; width: 100%; align-items: start; }
@media (min-width: 1024px) { .cs__grid { width: var(--grids-10); } }
.cs__head { display: flex; flex-direction: column; gap: 1.6rem; position: sticky; top: calc(var(--head-h) + 3rem); }
.cs__title { font-size: clamp(2.2rem, 3.6vw, 3.8rem); line-height: 1.02; letter-spacing: -.05em; }
.cs__title span { white-space: nowrap; }
.cs__sub { max-width: 24rem; font-size: var(--fs-body); line-height: 1.45; color: rgba(255, 255, 255, .62); }
.cs__head .go { align-self: flex-start; }
.cs__rows { display: flex; flex-direction: column; }
.cs__row { display: flex; flex-direction: column; gap: 1.1rem; padding: 2rem 0 2.4rem; border-top: 1px solid var(--line); }
.cs__row:last-child { border-bottom: 1px solid var(--line); }
.cs__sum { font-size: 1.75rem; line-height: 1.12; letter-spacing: -.04em; color: #fff; }
/* the equation's result sits on its own line: grey for the side AI replaces, cyan for the side that runs it */
.cs__sum b { display: block; font-weight: 400; color: var(--cyan); }
.cs__sum b.cs__grey { color: rgba(255, 255, 255, .42); }
.cs__text { max-width: 30rem; font-size: var(--fs-body); line-height: 1.5; color: rgba(255, 255, 255, .72); }
[data-reveal].cs { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
[data-reveal].cs.is-in { opacity: 1; transform: none; }
@media (max-width: 1023px) {
  .cs { padding: 14vh var(--gx) 10vh; }
  .cs__grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .cs__head { position: static; }
}

/* ----------------------------------------------------------------- ask */
/* One request window for pilots, integrations and investors, in the
   brand's own form controls: soft fields, pill topics, the white button. */
.ask { width: min(560px, calc(100vw - 32px)); max-height: calc(100svh - 32px); padding: 0; border: 0; border-radius: 24px; background: var(--surface); color: #fff; overflow: auto; }
.ask::backdrop { background: rgba(5, 6, 10, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ask[open] { animation: ask-in .5s var(--ease); }
@keyframes ask-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.ask__form, .ask__done { position: relative; display: flex; flex-direction: column; gap: 1.4rem; padding: clamp(1.4rem, 4vw, 2.4rem); }
.ask__done { display: none; align-items: flex-start; }
.ask.is-sent .ask__form { display: none; }
.ask.is-sent .ask__done { display: flex; }
.ask__x { position: absolute; top: 14px; right: 14px; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: none; color: rgba(255, 255, 255, .6); cursor: pointer; transition: border-color .3s, color .3s; }
.ask__x:hover { border-color: #fff; color: #fff; }
.ask__x svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.ask__title { font-size: 1.8rem; font-weight: 400; letter-spacing: -.035em; }
.ask__note { color: rgba(255, 255, 255, .55); }
.ask__topics { display: flex; flex-wrap: wrap; gap: .4rem; }
.ask__topics label { position: relative; }
.ask__topics input { position: absolute; opacity: 0; pointer-events: none; }
.ask__topics span { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 40px; border: 1px solid rgba(255, 255, 255, .2); font-size: var(--fs-small); color: rgba(255, 255, 255, .6); cursor: pointer; transition: background .22s, color .22s, border-color .22s; }
.ask__topics span:hover { color: #fff; }
.ask__topics input:checked + span { background: #fff; border-color: #fff; color: var(--bg); }
.ask__topics input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.ask__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.ask__f { display: flex; flex-direction: column; gap: .45rem; font-size: var(--fs-micro); color: rgba(255, 255, 255, .5); }
.ask__f--wide { grid-column: 1 / -1; }
.ask__f input, .ask__f textarea { height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .03); font: inherit; font-size: var(--fs-body); color: #fff; transition: border-color .2s; }
.ask__f textarea { height: auto; min-height: 96px; padding: 12px 16px; resize: vertical; }
.ask__f input:focus, .ask__f textarea:focus { outline: none; border-color: var(--brand); }
.ask__f .is-bad { border-color: #e5484d; }
.ask__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ask__foot { display: flex; align-items: center; gap: 1rem; }
.ask__foot .btn:disabled { opacity: .5; cursor: default; }
.ask__msg { font-size: var(--fs-small); color: rgba(255, 255, 255, .55); }
@media (max-width: 599px) { .ask__fields { grid-template-columns: minmax(0, 1fr); } }


/* ---------------------------------------------------------------- cookies */
.cookies { position: fixed; left: var(--gx); bottom: 1.5rem; z-index: 90; display: flex; align-items: center; gap: 1.5rem; max-width: calc(100% - 2 * var(--gx));
  padding: 1rem 1rem 1rem 1.5rem; border-radius: 24px; border: 1px solid var(--line); background: rgba(27, 30, 38, .66);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--title); font-size: var(--fs-small);
  opacity: 0; transform: translateY(1rem); transition: opacity .4s var(--ease), transform .6s var(--ease); }
.cookies.is-on { opacity: 1; transform: none; }
.cookies__text { margin: 0; }
.cookies__text a { color: var(--muted); transition: color .2s; }
.cookies__text a:hover { color: #fff; }
.cookies__btns { display: flex; gap: .5rem; flex: none; }
.cookies__btn { height: 40px; padding: 0 22px; font-size: 15px; }
@media (max-width: 767px) {
  .cookies { left: 1rem; right: 1rem; bottom: 1rem; max-width: none; flex-direction: column; align-items: stretch; gap: .9rem; padding: 1.1rem; border-radius: 20px; }
  .cookies__btn { flex: 1; }
}
