:root {
  --bg: #f2f4f3;
  --card: #ffffff;
  --ink: #0a1a1f;
  --soft: #56676c;
  --line: rgba(10, 26, 31, .1);
  --teal: #005872;
  --deep: #05242d;
  --accent: #1B90CF;
  --ok: #13a88a;
  --amber: #f5a524;
  --risk: #f04a3a;
  --r: 20px;
  --sans: "Inter Tight", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --out: cubic-bezier(.16, 1, .3, 1);
  /* one content column for every section: 1280px wide, centred, with a responsive gutter.
     --edge is the left/right padding a full-width element needs to line up with .wrap */
  --gut: clamp(16px, 4vw, 40px);
  --edge: max(var(--gut), calc((100% - 1280px) / 2 + var(--gut)));
}
*, *::before, *::after { box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16.5px; line-height: 1.55; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ol, ul { margin: 0; }
button { font: inherit; color: inherit; }
.mono { font-family: var(--mono); font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gut); }
.eyebrow { font-family: var(--mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--teal); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--accent); }
.h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; max-width: 20ch; }
.sec-head { margin-bottom: 56px; }
.sec-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.sec-lead { color: var(--soft); max-width: 56ch; margin-top: 18px; font-size: 1.05rem; }
::selection { background: var(--accent); color: #fff; }

/* progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100; }
.progress span { display: block; height: 100%; background: var(--teal); transform-origin: left; transform: scaleX(0); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 600; font-size: .95rem; border: 1px solid transparent; transition: transform .4s var(--out), background .3s, box-shadow .4s; white-space: nowrap; }
.btn svg { width: 18px; transition: transform .4s var(--out); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn__label { position: relative; overflow: hidden; display: inline-block; height: 1.3em; line-height: 1.3em; }
.btn__label > span { display: block; text-shadow: 0 1.3em 0 currentColor; transition: transform .5s var(--out); }
.btn:hover .btn__label > span { transform: translateY(-1.3em); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { box-shadow: 0 10px 30px rgba(10, 26, 31, .25); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { box-shadow: 0 12px 34px rgba(27, 144, 207, .45); }
.btn--line { border-color: rgba(10, 26, 31, .2); background: transparent; }
.btn--line:hover { background: var(--card); }
.btn--xl { height: 60px; padding: 0 30px; font-size: 1.05rem; border-radius: 14px; }
/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: 28px; padding: 14px var(--edge); background: rgba(242, 244, 243, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 8px; }
.brand img { height: 42px; width: auto; }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a { padding: 8px 12px; border-radius: 10px; font-weight: 500; font-size: .93rem; color: var(--soft); transition: color .2s, background .2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); background: rgba(10, 26, 31, .05); }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.nav__toggle span { width: 16px; height: 1.6px; background: var(--ink); }
@media (max-width: 980px) {
  .nav__links { display: none; position: absolute; left: 12px; right: 12px; top: calc(100% + 6px); flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 10px; box-shadow: 0 20px 50px rgba(10, 26, 31, .12); }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a { padding: 14px; font-size: 1rem; }
  .nav > .btn { display: none; }
  .nav__toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; max-width: 1360px; margin: 0 auto; padding: clamp(40px, 7vw, 90px) clamp(16px, 4vw, 40px) 60px; min-height: calc(100vh - 72px); }
.tag { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; font-weight: 500; color: var(--soft); }
.tag__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(19, 168, 138, .18); }
.hero__title { font-size: clamp(2.8rem, 6.6vw, 6.2rem); line-height: .98; letter-spacing: -.05em; font-weight: 800; margin: 28px 0; }
.hl { display: block; overflow: hidden; padding-bottom: .04em; }
.rotator { display: inline-block; height: 1.1em; overflow: hidden; vertical-align: bottom; position: relative; color: var(--teal); margin-bottom: -.06em; }
.rotator::after { content: ""; position: absolute; left: 0; right: 0; bottom: .14em; height: .16em; background: var(--accent); z-index: -1; }
.rotator__track { display: flex; flex-direction: column; }
/* each word gets .4em of empty space below it, so the descender of the previous word (g, p) scrolls out of the window instead of peeking in above the current one */
.rotator__track span { height: 1.5em; line-height: 1.1em; }
.hero__lead { color: var(--soft); max-width: 50ch; font-size: 1.1rem; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero__checks { list-style: none; padding: 0; display: flex; gap: 20px; flex-wrap: wrap; margin-top: 32px; font-size: .9rem; color: var(--soft); }
.hero__checks li { display: flex; align-items: center; gap: 8px; }
.hero__checks li::before { content: "✓"; width: 20px; height: 20px; border-radius: 50%; background: rgba(19, 168, 138, .14); color: var(--ok); display: grid; place-items: center; font-size: .72rem; font-weight: 700; }

/* stage */
.stage { position: relative; height: min(640px, 80vh); perspective: 1400px; }
.stage__inner { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.layer { position: absolute; transform-style: preserve-3d; }
.dash { left: 0; top: 8%; width: 74%; background: var(--card); border-radius: var(--r); border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(5, 36, 45, .3); padding: 20px; }
.dash__top { display: flex; justify-content: space-between; align-items: center; color: var(--soft); }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--ok); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0; }
.dash__kpis div { background: var(--bg); border-radius: 12px; padding: 10px 12px; }
.dash__kpis small { display: block; color: var(--soft); font-size: .72rem; }
.dash__kpis b { font-size: 1.5rem; letter-spacing: -.03em; }
.dash__bars { display: flex; align-items: flex-end; gap: 4px; height: 70px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.dash__bars span { flex: 1; border-radius: 3px 3px 0 0; background: var(--ok); transition: height .8s var(--out), background .6s; }
.dash__list { list-style: none; padding: 0; margin-top: 10px; }
.dash__list li { display: grid; grid-template-columns: 64px 1fr 44px; align-items: center; gap: 10px; padding: 7px 0; font-size: .8rem; border-bottom: 1px dashed var(--line); }
.dash__list li:last-child { border: 0; }
.dash__list .pid { font-family: var(--mono); color: var(--soft); }
.dash__list .bar { height: 6px; background: var(--bg); border-radius: 6px; overflow: hidden; }
.dash__list .bar em { display: block; height: 100%; border-radius: 6px; transition: width .9s var(--out), background .6s; }
.dash__list .sc { font-family: var(--mono); font-weight: 500; text-align: right; }
.phone { right: 2%; top: 0; width: 262px; height: 540px; background: var(--ink); border-radius: 44px; padding: 10px; box-shadow: 0 60px 100px -30px rgba(5, 36, 45, .5), inset 0 0 0 2px #24363c; }
.phone__notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 76px; height: 22px; border-radius: 20px; background: var(--ink); z-index: 2; }
.phone__screen { height: 100%; border-radius: 35px; background: #f6f8f7; padding: 52px 16px 16px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.app__head small { color: var(--soft); font-size: .72rem; }
.app__head b { display: block; font-size: 1.15rem; letter-spacing: -.02em; }
.app__ring { position: relative; width: 120px; height: 120px; margin: 0 auto; }
.app__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: #e3e9e7; stroke-width: 10; }
.ring-fg { fill: none; stroke: var(--teal); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 314.16; stroke-dashoffset: 314.16; }
.app__ring div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.app__ring b { font-size: 1.8rem; letter-spacing: -.04em; line-height: 1; }
.app__ring small { font-size: .66rem; color: var(--soft); }
.app__msg { background: var(--teal); color: #fff; border-radius: 16px; padding: 12px; font-size: .8rem; line-height: 1.4; }
.app__msg small { display: block; opacity: .7; font-size: .66rem; margin-bottom: 4px; text-transform: uppercase; letter-spacing: .06em; }
.app__btns { display: flex; gap: 6px; margin-top: 10px; }
.app__btns span { background: var(--accent); color: #fff; padding: 5px 10px; border-radius: 8px; font-weight: 600; font-size: .72rem; }
.app__btns span + span { background: rgba(255, 255, 255, .15); color: #fff; }
.app__tasks { list-style: none; padding: 0; font-size: .8rem; }
.app__tasks li { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid #e6ecea; }
.app__tasks i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #c5d0cd; }
.app__tasks .done i { background: var(--ok); border-color: var(--ok); }
.app__tasks .done { color: var(--soft); text-decoration: line-through; }
.toast { right: 30%; top: -2%; display: flex; align-items: center; gap: 12px; background: var(--card); border-radius: 14px; padding: 12px 16px 12px 12px; box-shadow: 0 24px 50px -16px rgba(5, 36, 45, .35); border: 1px solid var(--line); min-width: 230px; }
.toast__icon { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: rgba(240, 74, 58, .12); color: var(--risk); font-weight: 800; }
.toast b { display: block; font-size: .86rem; }
.toast small { color: var(--soft); font-size: .76rem; }
.chip { left: 6%; bottom: 4%; background: var(--deep); color: #fff; padding: 14px 18px; border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(5, 36, 45, .6); display: grid; gap: 2px; }
.chip .mono { color: rgba(255, 255, 255, .6); font-size: .66rem; }
.chip b { font-size: 1.8rem; letter-spacing: -.03em; line-height: 1.1; }
.chip em { font-style: normal; color: var(--accent); font-size: .8rem; font-weight: 600; }
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  /* under the text now: room above, so the toast (top -2%) doesn't touch the list above it */
  .stage { height: 600px; margin-top: 48px; }
}
@media (max-width: 560px) {
  .stage { height: 560px; margin: 48px -8px 0; }
  .dash { width: 92%; top: 22%; }
  .phone { right: 0; top: 70px; }
  .toast { right: auto; left: 0; top: 0; min-width: 0; z-index: 3; }
}

/* ---------- Team ---------- */
.team { padding: 0 0 140px; }
.people { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.pc { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 10px 10px 16px; transition: transform .5s var(--out), box-shadow .5s; }
.pc:hover { transform: translateY(-8px); box-shadow: 0 24px 50px -24px rgba(5, 36, 45, .35); }
.pc__img { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--bg); margin-bottom: 12px; }
.pc__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .6s, transform .8s var(--out); }
.pc:hover .pc__img img { filter: none; transform: scale(1.06); }
.pc b { display: block; font-size: 1rem; padding: 0 6px; letter-spacing: -.01em; }
.pc span { display: block; color: var(--soft); font-size: .84rem; padding: 0 6px; }
@media (max-width: 1100px) { .people { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .people { grid-template-columns: 1fr 1fr; } }
/* the card is a button that opens the bio drawer */
button.pc { position: relative; font: inherit; color: inherit; text-align: left; cursor: pointer; width: 100%; }
.pc .pc__img { display: block; padding: 0; }   /* a span now, so not the .pc span text style */
.pc__more { position: absolute; right: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; font-style: normal; font-size: 1.1rem; opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s var(--out); }
.pc:hover .pc__more, .pc:focus-visible .pc__more { opacity: 1; transform: none; }
@media (hover: none) { .pc__more { opacity: 1; transform: none; } }

/* ---------- Team bio drawer (from the right; full screen on a phone) ---------- */
.pb-back { position: fixed; inset: 0; z-index: 90; background: rgba(5, 36, 45, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s; }
.pb { position: fixed; z-index: 91; top: 0; right: 0; bottom: 0; width: min(560px, 100%); background: var(--card); box-shadow: -30px 0 80px -20px rgba(5, 36, 45, .4); transform: translateX(100%); transition: transform .7s var(--out); display: flex; flex-direction: column; }
.pb-open .pb-back { opacity: 1; }
.pb-open .pb { transform: none; }
.pb-open { overflow: hidden; }
.pb__img { position: relative; height: 300px; flex: none; overflow: hidden; background: var(--bg); clip-path: inset(0 0 100% 0); transition: clip-path .9s .15s var(--out); }
.pb.is-in .pb__img { clip-path: inset(0); }
.pb__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transform: scale(1.15); transition: transform 1.2s .15s var(--out); }
.pb.is-in .pb__img img { transform: none; }
.pb__x { position: absolute; right: 16px; top: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); cursor: pointer; font-size: 1.3rem; line-height: 1; }
.pb__body { padding: 28px clamp(22px, 4vw, 40px) 40px; overflow-y: auto; overscroll-behavior: contain; }
.pb__role { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.pb__name { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.03em; line-height: 1.1; margin: 6px 0 18px; }
.pb__bio p { margin: 0 0 14px; color: #33464b; line-height: 1.65; }
.pb__links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.pb__links a { display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .86rem; }
.pb__links .pb__in { background: var(--ink); border-color: var(--ink); color: #fff; }
/* the text rises line by line once the drawer is open (site.js sets each line's delay) */
.pb__body > *, .pb__bio > * { opacity: 0; transform: translateY(18px); transition: opacity .5s, transform .7s var(--out); }
.pb__body > .pb__bio { opacity: 1; transform: none; }
.pb.is-in .pb__body > *, .pb.is-in .pb__bio > * { opacity: 1; transform: none; }
.pb__nav { display: flex; justify-content: space-between; gap: 10px; padding: 14px clamp(22px, 4vw, 40px); border-top: 1px solid var(--line); flex: none; }
.pb__nav button { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 9px 16px; font: inherit; font-size: .86rem; cursor: pointer; }
.pb[hidden], .pb-back[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .pb, .pb__img, .pb__img img, .pb__body > *, .pb__bio > * { transition: none; } }

/* ---------- CTA ---------- */
.cta { padding: 0; }
.cta__box { position: relative; overflow: hidden; border-radius: 0; background: var(--deep); color: #fff; padding: clamp(80px, 12vw, 160px) clamp(20px, 6vw, 80px); text-align: center; }
.cta__dots { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta__box > *:not(canvas) { position: relative; }
.cta__title { font-size: clamp(2.4rem, 6.4vw, 5.8rem); line-height: 1; letter-spacing: -.045em; font-weight: 800; max-width: 16ch; margin: 0 auto 44px; }

/* ---------- Footer: contact form + partners ---------- */
.foot { padding: clamp(72px, 9vw, 120px) 0 32px; }
.foot__top { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.foot__tag { color: var(--soft); margin-top: 14px; }
.foot__h { font-size: clamp(2.2rem, 4.4vw, 3.9rem); line-height: 1; letter-spacing: -.045em; font-weight: 800; margin: 40px 0 20px; max-width: 12ch; }
.foot__h em { font-style: normal; color: var(--accent); }
.foot__lead { color: var(--soft); max-width: 42ch; font-size: 1.05rem; }
.foot__mail { display: inline-flex; flex-direction: column; gap: 2px; margin-top: 36px; font-weight: 700; font-size: 1.15rem; }
.foot__mail .mono { color: var(--soft); font-weight: 400; }
.foot__mail i { display: inline-block; font-style: normal; color: var(--accent); transition: transform .3s var(--out); }
.foot__mail:hover i { transform: translateX(6px); }

.cf { --mx: 50%; --my: 0%; position: relative; overflow: hidden; display: grid; gap: 14px; padding: clamp(22px, 3vw, 36px); border-radius: 28px; border: 1px solid var(--line);
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(27, 144, 207, .1), transparent 60%), var(--card); box-shadow: 0 40px 80px -50px rgba(5, 36, 45, .35); }
.cf__chips { border: 0; padding: 0; margin: 0 0 4px; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.cf__chips legend { color: var(--soft); margin-bottom: 12px; padding: 0; }
.cf__chips label { cursor: pointer; }
.cf__chips input, .cf__consent input { position: absolute; opacity: 0; pointer-events: none; }
.cf__chips span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-weight: 600; font-size: .92rem; transition: background .3s, color .3s, border-color .3s, transform .3s var(--out); }
.cf__chips span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .25; transition: opacity .3s, background .3s, transform .4s var(--out); }
.cf__chips label:hover span { transform: translateY(-2px); }
.cf__chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.cf__chips input:checked + span::before { opacity: 1; background: var(--accent); transform: scale(1.3); }
.cf__chips input:focus-visible + span { box-shadow: 0 0 0 4px rgba(27, 144, 207, .25); }
.cf__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cf__f { position: relative; }
.cf__f input, .cf__f textarea { width: 100%; display: block; border: 1px solid transparent; border-radius: 14px; background: var(--bg); padding: 24px 40px 9px 16px; font: inherit; font-size: 1rem; color: var(--ink); outline: none; transition: border-color .25s, background .25s, box-shadow .25s; }
.cf__f textarea { min-height: 132px; resize: vertical; padding-bottom: 26px; }
.cf__f label { position: absolute; left: 17px; top: 16px; color: var(--soft); pointer-events: none; transform-origin: 0 0; transition: transform .3s var(--out), color .3s; }
.cf__f label span { opacity: .6; }
.cf__f :focus + label, .cf__f :not(:placeholder-shown) + label { transform: translateY(-9px) scale(.74); color: var(--accent); }
.cf__f input:hover, .cf__f textarea:hover { border-color: var(--line); }
.cf__f :focus { background: #fff; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(27, 144, 207, .14); }
.cf__f::after { content: "✓"; position: absolute; right: 15px; top: 16px; color: var(--ok); font-weight: 800; opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s var(--out); }
.cf__f.is-valid::after { opacity: 1; transform: scale(1); }
.cf__err { display: block; max-height: 0; overflow: hidden; color: var(--risk); font-size: .8rem; padding-left: 4px; transition: max-height .3s, margin .3s; }
.cf__f.is-invalid :is(input, textarea) { border-color: var(--risk); background: #fff; }
.cf__f.is-invalid .cf__err { max-height: 40px; margin-top: 6px; }
.cf__count { position: absolute; right: 14px; bottom: 10px; font-family: var(--mono); font-size: .68rem; color: var(--soft); transition: bottom .3s; }
.cf__f--area.is-invalid .cf__count { bottom: 36px; }
.cf__consent { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--soft); cursor: pointer; line-height: 1.4; }
.cf__consent i { flex: 0 0 20px; height: 20px; border-radius: 6px; border: 1.5px solid rgba(10, 26, 31, .25); background: #fff; display: grid; place-items: center; transition: background .25s, border-color .25s; }
.cf__consent i::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) scale(0); margin-top: -2px; transition: transform .3s var(--out); }
.cf__consent input:checked + i { background: var(--accent); border-color: var(--accent); }
.cf__consent input:checked + i::after { transform: rotate(-45deg) scale(1); }
.cf__consent input:focus-visible + i { box-shadow: 0 0 0 4px rgba(27, 144, 207, .25); }
.cf__consent.is-invalid i { border-color: var(--risk); animation: cf-shake .4s; }
.cf__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.cf__send { position: relative; border: 0; cursor: pointer; }
.cf__send:disabled { cursor: progress; }
.cf__spin { position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; opacity: 0; animation: cf-spin .8s linear infinite; transition: opacity .2s; }
.cf.is-sending .cf__spin { opacity: 1; }
.cf.is-sending .cf__send > :not(.cf__spin) { opacity: 0; }
.cf__msg { font-size: .88rem; color: var(--risk); }
.cf.is-error .cf__send { animation: cf-shake .4s; }
.cf__done { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 32px; background: var(--card); opacity: 0; visibility: hidden; transform: scale(1.04); transition: opacity .5s, transform .6s var(--out), visibility 0s .6s; }
.cf.is-done .cf__done { opacity: 1; visibility: visible; transform: none; transition: opacity .5s, transform .6s var(--out); }
.cf__done svg { width: 76px; height: 76px; fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
.cf__done circle { stroke-dasharray: 183; stroke-dashoffset: 183; transition: stroke-dashoffset .9s var(--out) .15s; }
.cf__done path { stroke-dasharray: 42; stroke-dashoffset: 42; transition: stroke-dashoffset .5s var(--out) .75s; }
.cf.is-done .cf__done circle, .cf.is-done .cf__done path { stroke-dashoffset: 0; }
.cf__done h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -.035em; font-weight: 800; }
.cf__done p { color: var(--soft); }
.cf__again { margin-top: 14px; border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 9px 18px; font-weight: 600; cursor: pointer; transition: background .2s; }
.cf__again:hover { background: var(--bg); }
@keyframes cf-spin { to { transform: rotate(360deg); } }
@keyframes cf-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
/* the reCAPTCHA badge (Google sets no z-index): above the page, under the menu bar (60) */
.grecaptcha-badge { z-index: 50 !important; }

.foot__intro .brand img { height: 58px; }
.foot__partners { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 28px; margin-top: clamp(64px, 8vw, 104px); padding-top: 32px; border-top: 1px solid var(--line); }
.foot__sup { display: flex; align-items: center; flex-wrap: wrap; gap: 18px clamp(24px, 4vw, 56px); }
/* LinkedIn: pill whose LinkedIn-blue fill grows out of the icon on hover */
.li { --li: #0A66C2; position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: 14px; padding: 7px 8px 7px 7px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); transition: border-color .4s, box-shadow .5s var(--out), transform .4s var(--out); }
.li::before { content: ""; position: absolute; z-index: -1; left: 7px; top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; background: var(--li); transform: scale(1); transition: transform .7s var(--out); }
.li__ico { flex: 0 0 44px; height: 44px; display: grid; place-items: center; color: #fff; }
.li__ico svg { width: 20px; height: 20px; transition: transform .6s var(--out); }
.li__txt { display: grid; line-height: 1.2; padding-right: 4px; transition: color .4s; }
.li__txt small { color: var(--soft); font-size: .64rem; letter-spacing: .1em; transition: color .4s; }
.li__txt b { font-size: .98rem; }
.li__arr { flex: 0 0 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); overflow: hidden; transition: background .4s, color .4s; }
.li__arr svg { width: 16px; height: 16px; transition: transform .5s var(--out); }
.li:hover { border-color: var(--li); box-shadow: 0 18px 40px -18px rgba(10, 102, 194, .7); transform: translateY(-2px); }
.li:hover::before { transform: scale(16); }
.li:hover .li__ico svg { transform: rotate(-12deg) scale(1.15); }
.li:hover .li__txt, .li:hover .li__txt small { color: #fff; }
.li:hover .li__arr { background: rgba(255, 255, 255, .18); color: #fff; }
.li:hover .li__arr svg { animation: li-arrow .6s var(--out); }
@keyframes li-arrow { 0% { transform: none; } 45% { transform: translate(14px, -14px); } 46% { transform: translate(-14px, 14px); } 100% { transform: none; } }
.foot__partners .mono { color: var(--soft); font-weight: 600; letter-spacing: .12em; }
.foot__partners img { height: 34px; width: auto; filter: grayscale(1); opacity: .55; transition: filter .4s, opacity .4s, transform .4s var(--out); }
.foot__partners a:hover img { filter: none; opacity: 1; transform: translateY(-2px); }
.foot__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--soft); }
@media (max-width: 900px) { .foot__top { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cf__row { grid-template-columns: 1fr; } .foot__partners img { height: 28px; } }

/* =====================================================================
   Combined layout: light Signal sections sit above a fixed Pulse
   particle field that only shows through the dark (.dk) sections.
   ===================================================================== */
main, .foot { position: relative; z-index: 1; }
.hero, .team, .cta, .foot { position: relative; background: var(--bg); }
.hero { max-width: none; padding-left: var(--edge); padding-right: var(--edge); }
.team { padding-top: 140px; }
.cta { padding-top: 24px; }  /* full screen width: no side padding, no rounded corners */
.p-field { position: fixed; inset: 0; z-index: 0; background: #030d14; opacity: 0; visibility: hidden; transition: opacity .6s, visibility 0s .6s; pointer-events: none; }
.p-field.is-on { opacity: 1; visibility: visible; transition: opacity .6s, visibility 0s; }
.p-field canvas { width: 100%; height: 100%; display: block; transition: opacity 1s; }

/* =====================================================================
   Slide 2 · Clarity profiles (+ Signal persona tabs, + 06 message phone)
   ===================================================================== */
.cp { --c-paper: #F5F4F0; --c-ink: #0E1013; --c-soft: #6A6E75; --c-line: rgba(14, 16, 19, .12); --c-blue: #1B90CF; --c-coral: #E9684A;
  --c-sans: "Archivo", system-ui, sans-serif; --c-mono: "DM Mono", ui-monospace, monospace;
  position: relative; background: var(--c-paper); color: var(--c-ink); font-family: var(--c-sans); overflow: hidden; }
.cp__pin { height: 100vh; height: 100svh; display: flex; align-items: center; gap: 4vw; padding: 76px 0 0 var(--edge); }
.cp__intro { flex: 0 0 min(440px, 84vw); }
.cp__eyebrow { font-family: var(--c-mono); font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; color: var(--c-blue); margin-bottom: 22px; }
.cp__h2 { font-size: clamp(2.2rem, 5.4vw, 4.8rem); line-height: .96; letter-spacing: -.035em; font-weight: 800; font-stretch: 112%; }
.cp__lead { color: var(--c-soft); font-size: 1.1rem; max-width: 54ch; margin-top: 22px; }
.cp__bar { height: 3px; background: var(--c-line); margin-top: 40px; max-width: 320px; }
.cp__bar span { display: block; height: 100%; background: var(--c-blue); transform-origin: left; transform: scaleX(0); }
.cp__track { display: flex; align-items: flex-start; gap: 22px; padding: 0 10vw 0 0; will-change: transform; }
.cp__col { flex: 0 0 auto; width: min(300px, 80vw); display: flex; flex-direction: column; gap: 12px; transition: transform .5s var(--out); }
.cp__col.is-on { transform: translateY(-8px); }
.cp .ptab { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 10px; border-radius: 16px; border: 1px solid var(--line); background: rgba(242, 244, 243, .96); font-family: var(--sans); text-align: left; cursor: pointer; transition: background .3s, border-color .3s, box-shadow .3s; }
.cp .ptab:hover { background: var(--card); }
.cp .ptab.is-on { background: var(--card); border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0, 88, 114, .1); }
.cp .ptab img { width: 44px; height: 44px; border-radius: 11px; object-fit: cover; }
.cp .ptab b { display: block; font-size: 1rem; color: var(--ink); }
.cp .ptab small { color: var(--soft); font-size: .82rem; }
/* phone (from design 06), now the placeholder for every profile message */
.m-phone { width: 100%; height: min(560px, calc(100vh - 290px)); min-height: 440px; background: #111c24; border-radius: 42px; padding: 10px; box-shadow: 0 50px 90px -40px rgba(22, 50, 79, .6); font-family: "Manrope", var(--sans); transition: box-shadow .5s; }
.cp__col.is-on .m-phone { box-shadow: 0 50px 90px -36px rgba(0, 88, 114, .7), 0 0 0 3px rgba(0, 88, 114, .25); }
.m-phone__bar { display: flex; justify-content: space-between; align-items: center; color: #fff; font-size: .72rem; font-weight: 700; padding: 5px 16px 9px; }
.m-phone__notch { width: 76px; height: 20px; border-radius: 20px; background: #000; }
.m-phone__app { height: calc(100% - 34px); background: #fff; border-radius: 32px; padding: 16px 12px; display: flex; flex-direction: column; gap: 9px; overflow: hidden; color: #1F2C36; }
/* app screen modelled on the ARM "Up next" content cards */
.m-top { display: flex; justify-content: space-between; align-items: center; }
.m-top small { font-family: var(--c-mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-blue); }
.m-x { width: 24px; height: 24px; border-radius: 7px; border: 1px solid #E3E7EA; display: grid; place-items: center; font-size: .8rem; color: #5F6A72; }
.m-title { font-size: .98rem; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.m-sub { font-size: .74rem; line-height: 1.4; color: #6B7680; }
.m-media { position: relative; flex: 0 0 auto; height: 112px; border-radius: 12px; overflow: hidden; background: #EEF1F3; margin: 0; }
.m-media img, .m-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-media--fit img { object-fit: contain; background: #fff; }
.m-play { position: absolute; inset: 0; margin: auto; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: #1F2C36; font-size: 1rem; padding-left: 4px; cursor: pointer; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .5); transition: transform .3s var(--out), opacity .3s; }
.m-play:hover { transform: scale(1.1); }
.m-media.is-playing .m-play { opacity: 0; pointer-events: none; }
.m-card { border: 1px solid #ECEFF1; border-radius: 12px; padding: 10px 11px; font-size: .76rem; line-height: 1.4; }
.m-card__h { display: flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 800; margin-bottom: 6px; }
.m-card__h i { font-style: normal; color: var(--c-blue); }
.m-card p { color: #4A5660; }
.m-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 5px; color: #4A5660; }
.m-list li { padding-left: 14px; position: relative; }
.m-list li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 5px; height: 5px; border-radius: 50%; background: var(--c-blue); }
.m-list a { color: var(--c-blue); text-decoration: underline; }
ol.m-list { counter-reset: s; }
ol.m-list li { padding-left: 20px; }
ol.m-list li::before { counter-increment: s; content: counter(s); width: 15px; height: 15px; top: .1em; left: 0; display: grid; place-items: center; color: #fff; font-size: .58rem; font-weight: 800; }
.m-cta { align-self: flex-start; display: inline-block; padding: 7px 13px; border: 0; border-radius: 999px; background: #3D8F7E; color: #fff; font-weight: 700; font-size: .8rem; cursor: pointer; transition: transform .3s var(--out); }
.m-cta:hover { transform: translateY(-2px); }
.m-bubble { background: #fff; border-radius: 18px 18px 18px 6px; padding: 10px 12px; font-size: .8rem; line-height: 1.45; color: #1F2C36; box-shadow: 0 10px 24px -16px rgba(22, 50, 79, .5); }
.m-bubble--me { flex: 0 0 auto; align-self: flex-end; background: #3D8F7E; color: #fff; border-radius: 18px 18px 6px 18px; font-weight: 600; }
.m-slots { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.m-slots button { border: 1px solid var(--c-line); background: #fff; color: var(--c-ink); padding: 7px 10px; border-radius: 10px; font-weight: 700; font-size: .78rem; cursor: pointer; transition: background .3s, border-color .3s, color .3s; }
.m-slots button.on { background: var(--c-blue); border-color: var(--c-blue); color: #fff; }
.pf-cap { padding: 0 4px; }
.pf__n { font-family: var(--c-mono); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; color: var(--c-blue); }
.pf-cap h3 { font-size: 1.7rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.05; margin: 2px 0 4px; transition: font-stretch .6s var(--out); font-stretch: 100%; }
.cp__col:hover .pf-cap h3 { font-stretch: 125%; }
.pf-cap p { color: var(--c-soft); font-size: .9rem; line-height: 1.4; }
@media (max-width: 860px) {
  .cp__pin { height: auto; flex-direction: column; align-items: stretch; padding: 100px var(--gut); }
  .cp__track { flex-direction: column; align-items: center; padding: 40px 0 0; gap: 56px; transform: none !important; }
  .m-phone { height: 560px; }
}

/* =====================================================================
   Pulse dark sections (.dk) — slides 3 to 7 and 9
   ===================================================================== */
.dk { --d-bg: #030d14; --d-bg-2: #071822; --d-ink: #e8f3f4; --d-soft: #8ea6ad; --d-line: rgba(160, 220, 225, .12); --d-teal: #1B90CF; --d-amber: #ffc35a; --d-coral: #ff6b4a; --d-radius: 22px; --d-ease: cubic-bezier(.22, 1, .36, 1);
  --d-display: "Space Grotesk", system-ui, sans-serif; --d-body: "Inter", system-ui, sans-serif; --d-mono: "JetBrains Mono", ui-monospace, monospace;
  position: relative; color: var(--d-ink); font-family: var(--d-body); font-size: 16px; line-height: 1.6; }
.dk h2, .dk h3 { font-family: var(--d-display); font-weight: 600; letter-spacing: -.02em; }
.dk .mono { font-family: var(--d-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.dk .eyebrow { display: block; color: var(--d-teal); margin-bottom: 22px; font-family: var(--d-mono); font-size: .75rem; letter-spacing: .08em; }
.dk .eyebrow::before { display: none; }
.dk .h2 { font-size: clamp(2rem, 4.6vw, 3.8rem); line-height: 1.04; max-width: 16ch; font-weight: 600; letter-spacing: -.02em; }
.dk ::selection { background: var(--d-teal); color: var(--d-bg); }
.split .line { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split .line > span { display: inline-block; will-change: transform; }

/* approach (slide 3) */
.p-approach { height: 640vh; }
.p-approach__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding: 110px var(--edge) 40px; }
.p-approach__head { display: flex; align-items: center; gap: 24px; }
.p-approach__head .eyebrow { margin: 0; }
.p-approach__progress { flex: 1; height: 1px; background: var(--d-line); position: relative; }
.p-approach__progress span { position: absolute; inset: 0; background: var(--d-teal); transform-origin: left; transform: scaleX(0); }
.p-steps { position: relative; align-self: center; max-width: 600px; height: 460px; }
.p-step { position: absolute; inset: 0; opacity: 0; transform: translateY(40px); transition: opacity .7s var(--d-ease), transform .7s var(--d-ease); pointer-events: none; display: flex; flex-direction: column; justify-content: center; }
.p-step.is-active { opacity: 1; transform: none; pointer-events: auto; }
.p-step__idx { color: var(--d-teal); }
.p-step__title { font-size: clamp(3.4rem, 9vw, 8rem); line-height: .95; letter-spacing: -.05em; margin: 18px 0 24px; }
.p-step__title--long { font-size: clamp(2.6rem, 6.2vw, 5.6rem); }
.p-step p { color: var(--d-soft); font-size: 1.1rem; max-width: 46ch; }
.p-cycle { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.p-cycle li { display: flex; align-items: center; gap: 12px; color: var(--d-soft); font-size: .98rem; line-height: 1.3; opacity: .45; transition: opacity .5s, color .5s; }
.p-cycle i { flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--c); color: #0b1f33; font-style: normal; font-weight: 700; display: grid; place-items: center; font-size: .85rem; box-shadow: 0 0 0 0 var(--c); transition: box-shadow .5s; }
.p-cycle li:first-child i, .p-cycle li:nth-child(2) i, .p-cycle li:nth-child(4) i { color: #fff; }
.p-cycle li.is-on { opacity: 1; color: var(--d-ink); }
.p-cycle li.is-current i { box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 30%, transparent); }
.p-readout { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.p-readout div { border: 1px solid var(--d-line); background: rgba(7, 24, 34, .6); backdrop-filter: blur(8px); padding: 12px 16px; border-radius: 14px; min-width: 130px; }
.p-readout span { display: block; color: var(--d-soft); font-size: .64rem; }
.p-readout b { font-weight: 500; color: var(--d-ink); font-size: .95rem; }
@media (max-width: 700px) { .p-steps { height: 470px; } .p-readout div { min-width: 0; flex: 1; } .p-cycle { grid-template-columns: 1fr; gap: 8px; } .p-step p { font-size: 1rem; } }

/* platform bento (slide 4) */
.p-platform { padding: 160px 0; background: linear-gradient(180deg, rgba(3, 13, 20, .85), var(--d-bg) 30%); }
.p-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(240px, auto); gap: 16px; margin-top: 64px; }
.p-card { position: relative; border-radius: var(--d-radius); padding: 28px; background: var(--d-bg-2); border: 1px solid var(--d-line); display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.p-card h3 { font-size: 1.35rem; line-height: 1.15; }
.p-card p { color: var(--d-soft); font-size: .95rem; }
.p-card__tag { color: var(--d-teal); margin-bottom: auto; }
.p-card--xl { grid-column: span 2; grid-row: span 2; }
.p-card__viz { position: absolute; inset: 70px 0 auto; height: 45%; opacity: .9; }
.spark { width: 100%; height: 100%; }
.p-card--xl h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); max-width: 20ch; }
.p-meter { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.p-meter span { display: block; height: 100%; width: calc(var(--v) * 100%); background: linear-gradient(90deg, var(--d-teal), var(--d-amber), var(--d-coral)); transform-origin: left; }
.p-bento .p-card:nth-child(2) { grid-column: span 2; }
.p-bento .p-card:nth-child(5) { grid-column: span 4; min-height: 0; }
.glow::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(27, 144, 207, .7), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; }
.glow::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(27, 144, 207, .07), transparent 40%); opacity: 0; transition: opacity .4s; }
.glow:hover::before, .glow:hover::after { opacity: 1; }
@media (max-width: 900px) { .p-bento { grid-template-columns: 1fr 1fr; } .p-bento .p-card:nth-child(5) { grid-column: span 2; } .p-card--xl { grid-row: span 1; min-height: 360px; } }
@media (max-width: 560px) { .p-bento { grid-template-columns: 1fr; } .p-card--xl, .p-bento .p-card:nth-child(2), .p-bento .p-card:nth-child(5) { grid-column: auto; } }

/* statement (slide 5) */
.p-statement { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; max-width: 1280px; margin: 0 auto; padding: 120px var(--gut); }
.p-statement__text { font-family: var(--d-display); font-size: clamp(1.7rem, 4.2vw, 3.6rem); line-height: 1.12; letter-spacing: -.02em; font-weight: 500; }
.p-statement__text .w { opacity: .14; }

/* hidden risk (slide 6) */
.p-problem { padding: 120px 0 160px; }
.p-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--d-line); border: 1px solid var(--d-line); border-radius: var(--d-radius); overflow: hidden; margin-top: 64px; }
.p-stat { background: rgba(3, 13, 20, .72); backdrop-filter: blur(6px); padding: 36px 28px 32px; }
.p-stat__num { font-family: var(--d-display); font-size: clamp(2rem, 3.1vw, 3.1rem); white-space: nowrap; font-weight: 600; letter-spacing: -.04em; color: var(--d-coral); line-height: 1; margin-bottom: 18px; }
.p-stat p { color: var(--d-soft); font-size: .95rem; max-width: 22ch; }
.p-problem__note { margin-top: 40px; max-width: 640px; color: var(--d-soft); font-size: 1.05rem; }
@media (max-width: 900px) { .p-stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .p-stats { grid-template-columns: 1fr; } }

/* timeline (slide 7) */
.p-timeline { background: var(--d-bg); overflow: hidden; }
.p-timeline__pin { height: 100vh; height: 100svh; display: flex; align-items: center; gap: 6vw; padding-left: var(--edge); }
.p-timeline__intro { flex: 0 0 auto; width: min(420px, 80vw); }
.p-timeline__track { display: flex; gap: 24px; padding-right: 10vw; will-change: transform; }
.tl { flex: 0 0 auto; width: min(420px, 78vw); min-height: 380px; border-radius: var(--d-radius); border: 1px solid var(--d-line); padding: 32px; display: flex; flex-direction: column; background: var(--d-bg-2); position: relative; }
.tl::after { content: ""; position: absolute; left: 32px; right: 32px; top: 120px; height: 1px; background: var(--d-line); }
.tl__year { font-family: var(--d-display); font-size: clamp(3.4rem, 6vw, 5rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--d-soft); }
.tl__year small { font-size: .5em; }
.tl__tag { color: var(--d-teal); margin: 40px 0 16px; }
.tl h3 { font-size: 1.45rem; line-height: 1.15; margin-bottom: 12px; }
.tl p { color: var(--d-soft); }
.tl--now { background: linear-gradient(160deg, rgba(27, 144, 207, .16), var(--d-bg-2) 60%); border-color: rgba(27, 144, 207, .4); }
.tl--now .tl__year { color: var(--d-teal); -webkit-text-stroke: 0; }
@media (max-width: 800px) {
  .p-timeline__pin { height: auto; flex-direction: column; align-items: stretch; padding: 120px var(--gut); }
  .p-timeline__track { flex-direction: column; padding: 0; transform: none !important; }
  .tl { width: 100%; min-height: 0; }
}

/* blog (slide 9) */
.p-blog { padding: 140px 0 160px; background: var(--d-bg); }
.p-blog__head { display: flex; justify-content: space-between; align-items: baseline; }
.link-arrow { display: inline-flex; gap: 8px; color: var(--d-teal); font-weight: 500; }
.link-arrow i { font-style: normal; transition: transform .35s var(--d-ease); }
a:hover .link-arrow i, .link-arrow:hover i { transform: translateX(5px); }
.p-posts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.p-post { position: relative; border-radius: var(--d-radius); background: var(--d-bg-2); border: 1px solid var(--d-line); padding: 16px 16px 28px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.p-post__img { aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #0c2430; }
.p-post__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1s var(--d-ease); }
.p-post:hover .p-post__img img { transform: scale(1); }
.p-post > .mono { color: var(--d-soft); padding: 0 12px; }
.p-post h3 { font-size: 1.5rem; line-height: 1.2; padding: 0 12px; }
.p-post .link-arrow { padding: 0 12px; margin-top: auto; }
@media (max-width: 760px) { .p-posts { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* =====================================================================
   Subpages (blog, contact): the page head under the nav
   ===================================================================== */
.sub-head { padding: clamp(56px, 8vw, 96px) 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.sub-head h1 { font-size: clamp(2.6rem, 6vw, 5rem); line-height: .98; letter-spacing: -.045em; font-weight: 800; max-width: 18ch; overflow-wrap: anywhere; }
.sub-lead { color: var(--soft); font-size: 1.1rem; max-width: 60ch; margin-top: 18px; }
.sub-lead a { color: var(--accent); }

/* =====================================================================
   Blog page: the Link2Trials blog layout (newest post large, cards, sidebar) in PACE colours.
   Class names match resources/views/clients/blog.php, so the two stay easy to compare.
   ===================================================================== */
.bl-body { padding: 48px 0 80px; }
.bl-none { color: var(--soft); }
.bl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bl-cat { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(27, 144, 207, .1); color: var(--teal); font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; transition: background .2s, color .2s; }
.bl-cat:hover { background: var(--accent); color: #fff; }
.bl-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--soft); font-size: .82rem; margin: 0; }
.bl-meta span + span::before { content: "\00b7"; margin-right: 16px; opacity: .5; }
.bl-title { font-weight: 800; letter-spacing: -.02em; }
.bl-title a { color: var(--ink); transition: color .2s; }
.bl-title a:hover { color: var(--accent); }
.bl-text { color: var(--soft); line-height: 1.7; font-size: .95rem; margin: 10px 0 0; }
.bl-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.bl-tags a { color: var(--soft); font-size: .8rem; transition: color .2s; }
.bl-tags a:hover { color: var(--accent); }
/* the image; without a file a calm branded surface stays */
.bl-shot { display: block; overflow: hidden; border-radius: var(--r); background: linear-gradient(135deg, var(--deep), var(--teal)); }
.bl-shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--out); }
.bl-shot:hover img { transform: scale(1.05); }
.bl-lead { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.bl-lead .bl-shot { aspect-ratio: 16 / 10; }
.bl-lead .bl-title { font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.1; margin: 14px 0 10px; }
.bl-cols { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
.bl-grid { display: grid; grid-template-columns: 1fr; gap: 34px; }
.bl-card .bl-shot { aspect-ratio: 16 / 10; margin-bottom: 14px; }
.bl-card .bl-title { font-size: 1.2rem; line-height: 1.3; margin: 12px 0 8px; }
/* one article */
.bl-cover { display: block; width: 100%; height: auto; border-radius: var(--r); margin-bottom: 24px; }
.bl-artmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding-bottom: 20px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.bl-rich { color: #33454b; line-height: 1.85; font-size: 1.05rem; }
.bl-rich h2, .bl-rich h3 { font-weight: 800; color: var(--ink); letter-spacing: -.02em; margin: 34px 0 12px; }
.bl-rich p { margin: 0 0 18px; }
.bl-rich ul, .bl-rich ol { margin: 0 0 18px; padding-left: 22px; }
.bl-rich img { max-width: 100%; height: auto; border-radius: 16px; }
.bl-rich a { color: var(--accent); }
.bl-rich a:hover { text-decoration: underline; }
.bl-share { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.bl-share h2 { font-weight: 800; font-size: 1.1rem; margin: 0 0 14px; }
.bl-updated { color: var(--soft); font-size: .82rem; margin: 18px 0 0; }
/* the sidebar: search, category and the latest posts */
.bl-side { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.bl-side h3 { font-family: var(--mono); font-weight: 500; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); margin: 26px 0 12px; }
.bl-search { position: relative; }
.bl-search input { width: 100%; padding: 13px 48px 13px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font: inherit; font-size: .95rem; color: var(--ink); }
.bl-search input:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(27, 144, 207, .14); }
.bl-search button { position: absolute; right: 5px; top: 5px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--accent); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.bl-search button:hover { background: var(--teal); }
.bl-search svg { width: 18px; height: 18px; }
.bl-select { width: 100%; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); font: inherit; font-size: .95rem; color: var(--ink); }
.bl-latest { list-style: none; margin: 0; padding: 0; }
.bl-latest li { padding: 12px 0; border-top: 1px solid var(--line); }
.bl-latest li:first-child { border-top: 0; padding-top: 0; }
.bl-latest-date { display: block; color: var(--soft); font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 3px; }
.bl-latest a { color: var(--ink); font-weight: 700; font-size: .93rem; line-height: 1.4; transition: color .2s; }
.bl-latest a:hover { color: var(--accent); }
/* paging: the same Pagination class, dressed differently */
.bl-pages { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.bl-pages .pagination { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; justify-content: center; }
.bl-pages .page-link { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 700; font-size: .9rem; }
.bl-pages .page-link:hover { border-color: var(--accent); color: var(--accent); }
.bl-pages .active .page-link { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (min-width: 768px) { .bl-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) {
  .bl-lead { grid-template-columns: 7fr 5fr; gap: 48px; }
  .bl-cols { grid-template-columns: 8fr 4fr; gap: 56px; }
  .bl-cols .bl-side { position: sticky; top: 100px; }
}

/* =====================================================================
   Contact page: the Link2Trials contact layout - the invitation on a dark stage with two slow
   colour fields, the form beside it - in PACE colours. The form is the same .cf as in the footer.
   ===================================================================== */
.ct-stage { position: relative; overflow: hidden; isolation: isolate; background: var(--deep); color: #fff; padding: clamp(56px, 8vw, 104px) 0; }
.ct-aur { position: absolute; inset: -30% -10%; z-index: -1; pointer-events: none; }
.ct-aur i { position: absolute; display: block; border-radius: 50%; filter: blur(90px); opacity: .55; }
.ct-aur i:nth-child(1) { left: -2%; top: 0; width: 52%; height: 70%; background: radial-gradient(circle, rgba(27, 144, 207, .6), transparent 68%); animation: ct-a 30s ease-in-out infinite alternate; }
.ct-aur i:nth-child(2) { right: -4%; bottom: -12%; width: 56%; height: 74%; background: radial-gradient(circle, rgba(226, 23, 126, .38), transparent 70%); animation: ct-b 36s ease-in-out infinite alternate; }
@keyframes ct-a { to { transform: translate3d(8%, 6%, 0) scale(1.14); } }
@keyframes ct-b { to { transform: translate3d(-9%, -6%, 0) scale(1.12); } }
.ct-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.ct-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; max-width: 18ch; }
.ct-company { margin-top: 34px; font-weight: 700; font-size: 1.05rem; }
.ct-details { list-style: none; margin: 14px 0 0; padding: 0; color: rgba(255, 255, 255, .78); }
.ct-details li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.ct-details li:first-child { border-top: 0; }
.ct-details svg { width: 20px; height: 20px; flex: none; color: var(--accent); margin-top: 2px; }
.ct-details span { display: block; line-height: 1.55; }
.ct-details a { color: #fff; border-bottom: 1px solid rgba(27, 144, 207, .6); transition: border-color .2s; }
.ct-details a:hover { border-bottom-color: #fff; }
.ct-panel .cf { box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .55); color: var(--ink); }
.foot--short { padding-top: 8px; }
.foot--short .foot__partners { margin-top: 0; border-top: 0; }
@media (min-width: 992px) { .ct-grid { grid-template-columns: 5fr 6fr; gap: 64px; } }
@media (prefers-reduced-motion: reduce) { .ct-aur i { animation: none; } .bl-shot img { transition: none; } }

/* Share links under an article: plain links instead of a third-party share widget */
.bl-sharebar { display: flex; flex-wrap: wrap; gap: 8px; }
.bl-sharebar a, .bl-sharebar button { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; transition: border-color .2s, color .2s; }
.bl-sharebar a:hover, .bl-sharebar button:hover { border-color: var(--accent); color: var(--accent); }
