/* The Jazz Fintech, draft 30/10, v2 dark.
   The page sits on a deep ink navy, headings in Sora (Aaron's pick from fonts-board.html), Host Grotesk for reading.
   One section, ARMOUR, switches to the PFArmour world: neutral black #0c0c0c, Plus Jakarta Sans, green #4ea573 */

/* Display options, all SIL OFL, self hosted, latin subset */
@font-face { font-family: "Sora"; font-weight: 100 800; font-display: swap; src: url(../assets/fonts/Sora-latin.woff2) format("woff2"); }
@font-face { font-family: "Host Grotesk"; font-weight: 300 800; font-display: swap; src: url(../assets/fonts/HostGrotesk-latin-wght.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; }
@font-face { font-family: "Host Grotesk"; font-weight: 300 800; font-display: swap; src: url(../assets/fonts/HostGrotesk-latin-ext-wght.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 200 800; font-display: swap; src: url(../assets/fonts/PlusJakartaSans-latin.woff2) format("woff2"); }

:root {
  /* Brok tokens (brok-design 0.1.2) */
  /* dark: the ground is the Brok ink taken deeper, the text is its paper */
  --paper: #0D1420; --surface: #121B29; --well: #151F2E; --well-hover: #1A2637;
  --ink: #EEF1F5; --ink-hover: #FFFFFF; --ink-soft: #C3CAD5; --muted: #8792A3; --slate: #8792A3;
  --line: #1F2A3A; --rule: #3A4658; --brass: #B4A078; /* brass = "Fintech" in the logo */
  --display: "Sora", "Host Grotesk", sans-serif;
  --sans: "Host Grotesk", sans-serif;
  --shell: 1200px;
  --edge: max(24px, calc((100vw - var(--shell)) / 2));
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  /* PFArmour tokens (E:\PFArmour\Design.md) */
  --pfa-paper: #0c0c0c; --pfa-surface: #121212; --pfa-surface-2: #1a1a1a; --pfa-line: #242424;
  --pfa-subtle: #d1d1d1; --pfa-muted: #9c9c9c; --pfa-faint: #5f5f5f; --pfa-faint-text: #8a8a8a; /* faint as text: 5.6:1 on #0c0c0c */
  --pfa-green: #4ea573; --pfa-gold: #ffc935; --pfa-red: #e0564f;
  --pfa-sans: "Plus Jakarta Sans", "Host Grotesk", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/26px var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: inherit; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.wrap { padding-left: var(--edge); padding-right: var(--edge); }
.display { font-family: var(--display); font-weight: 600; letter-spacing: -.035em; }
.caption { display: block; margin: 0; font: 500 12px/16px var(--sans); letter-spacing: .02em; color: var(--muted); }
.h2 { margin: 0; font-size: 64px; line-height: 1.04; }

/* Buttons: ink primary, plain with drawn underline. Press answers on pointer down */
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px; border: 0; border-radius: 8px;
  font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s ease, transform .12s var(--ease-out); }
.btn--l { height: 52px; padding: 0 22px; font-size: 16px; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:active { transform: scale(.97); }
.btn--plain { padding-left: 4px; padding-right: 4px; background: none; color: var(--ink); }
.btn--plain::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 12px; height: 1px; background: currentColor; transform: scaleX(.25); transform-origin: left; transition: transform .35s var(--ease-out); }
.btn .arrow { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn--ink:hover { background: var(--ink-hover); }
  .btn--ink:hover .arrow { transform: translateX(3px); }
  .btn--plain:hover::after { transform: scaleX(1); }
}
.btn[aria-busy="true"] { pointer-events: none; opacity: .7; }



/* Hero */
/* Hero: one sentence in Sora 600, the place under it in Sora 300, same ground as the logo */
.hero { padding-top: 112px; }
.hero__title { margin: 0; font: 600 76px/1.04 var(--display); letter-spacing: -.04em; }
.hero__title .ln { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__title .ln > span { display: inline-block; }
.hero__place { text-wrap: balance; margin: 18px 0 0; font: 300 32px/1.15 var(--display); letter-spacing: -.02em; color: var(--muted); }
.js .hero__title .ln > span { animation: rise .9s var(--ease-out) both; }
.js .hero__title .ln:nth-child(2) > span { animation-delay: .08s; }
.js .hero__place { animation: fade-up .8s var(--ease-out) .2s both; }
@keyframes rise { from { transform: translateY(104%); } }
.actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 32px; }
.js .hero .actions { animation: fade-up .8s var(--ease-out) .3s both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } }


/* Firm */
.firm { padding-top: 160px; }
.firm p { margin: 0; max-width: 1040px; font: 500 38px/1.2 var(--sans); letter-spacing: -.022em; text-wrap: pretty; }
.firm p span { display: block; margin-top: 14px; color: var(--muted); }
/* Trusted by: one ruled row, label then the three logos grouped on one rhythm. Same mono tone, heights set by optical area */
.trusted { margin-top: 64px; display: flex; align-items: center; gap: 24px 64px; flex-wrap: wrap; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trusted .caption { flex: none; font: 500 14px/20px var(--sans); letter-spacing: 0; color: var(--muted); }
.clients { flex: 1; display: flex; align-items: center; justify-content: space-evenly; gap: 24px 64px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.clients a { display: flex; align-items: center; height: 48px; text-decoration: none; }
.clients img { width: auto; filter: brightness(0) invert(1); opacity: .7; transition: opacity .2s ease, transform .12s var(--ease-out); }
.clients img[alt="Hogg Capital"] { height: 36px; }
.clients img[alt="Fortex"] { height: 27px; }
.clients img[alt="Tier1FX"] { height: 25px; }
.clients a:active img { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .clients a:hover img { opacity: 1; } }
@media (max-width: 600px) {
  .trusted { gap: 16px 40px; padding: 24px 0; }
  .trusted .caption { flex-basis: 100%; }
  .clients { flex-wrap: nowrap; justify-content: space-between; gap: 16px; }
  .clients img[alt="Hogg Capital"] { height: 26px; } .clients img[alt="Fortex"] { height: 20px; } .clients img[alt="Tier1FX"] { height: 18px; }
}

/* Products: ruled rows, label above the name */
.products { padding-top: 160px; }
.rows { display: grid; gap: 88px; margin: 56px 0 0; padding: 0; list-style: none; } /* rows part by space alone, no rules */
.row { position: relative; padding: 0; scroll-margin-top: 112px; }
.row__name { margin: 0; font-size: 44px; line-height: 1.08; }
.row__name--armour svg { height: 36px; width: auto; margin-top: 6px; fill: var(--ink); }
.row p { margin: 16px 0 0; max-width: 640px; font: 400 19px/30px var(--sans); color: var(--ink-soft); }
.link { display: inline-block; margin-top: 18px; font: 600 15px/1 var(--sans); text-decoration: none; padding: 6px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 30% 1px no-repeat; transition: background-size .35s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link:hover { background-size: 100% 1px; } }

/* ARMOUR: the PFArmour world. Dark by default, no outlines on containers, fills separate */
.armour { margin-top: 160px; background: var(--pfa-paper); color: #fff; font-family: var(--pfa-sans); }
.armour__intro { padding-top: 120px; padding-bottom: 40px; }
.armour__logo { margin: 0; }
.armour__logo svg { height: 64px; width: auto; fill: #fff; }
.armour__intro p { margin: 28px 0 0; max-width: 720px; font: 500 22px/1.45 var(--pfa-sans); color: var(--pfa-subtle); letter-spacing: -.01em; }
.pfa-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; font: 700 15px/1 var(--pfa-sans); color: var(--pfa-green); text-decoration: none; padding: 6px 0; }
.pfa-link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; transition: transform .2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .pfa-link:hover svg { transform: translate(2px, -2px); } }


/* People */
.people { padding-top: 160px; }
.person { display: flex; align-items: center; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.person__name { display: block; font: 500 28px/1.1 var(--display); letter-spacing: -.03em; }
.person__role { display: block; margin-top: 6px; font: 400 16px/1 var(--sans); color: var(--muted); }

/* Contact: inset fields, label inside the well, rule draws in on focus */
.contact { padding-top: 160px; padding-bottom: 120px; }
.contact__lead { margin: 20px 0 0; font: 400 19px/30px var(--sans); color: var(--ink-soft); }
.contact__lead a { color: var(--ink); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.form { display: grid; gap: 12px; max-width: 760px; margin-top: 40px; }
.field { position: relative; display: block; padding: 14px 16px 12px; border-radius: 10px; background: var(--well); cursor: text; transition: background-color .2s ease; }
.field::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
.field:focus-within { background: var(--well-hover); }
.field:focus-within::after { transform: scaleX(1); }
.field.is-bad::after { background: #E0705F; transform: scaleX(1); }
.field span { display: block; font: 500 12px/16px var(--sans); color: var(--muted); }
.field input, .field textarea { display: block; width: 100%; margin-top: 4px; padding: 0; border: 0; background: none; outline: none; font: 500 17px/24px var(--sans); color: var(--ink); resize: vertical; }
.form__foot { display: flex; align-items: center; gap: 20px; margin-top: 12px; flex-wrap: wrap; }
.form__msg { margin: 0; font: 500 15px/22px var(--sans); color: var(--muted); }
.form__msg.ok { color: #6FC79B; } .form__msg.err { color: #E0705F; }


/* Scroll reveals: once, small, early */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease-out), transform .8s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero__title { font-size: 60px; } .hero__place { font-size: 28px; }
  .firm p { font-size: 32px; }
}
@media (max-width: 600px) {
  .hero { padding-top: 112px; }
  .hero__title { font-size: 40px; line-height: 1.08; } .hero__place { margin-top: 14px; font-size: 21px; }
  /* on a phone the two lines reflow as one sentence: no orphan words */
  .hero__title .ln, .hero__title .ln > span { display: inline; overflow: visible; padding: 0; margin: 0; }
  .hero__title .ln:first-child::after { content: " "; }
  .js .hero__title .ln > span { animation: none; }
  .js .hero__title { animation: fade-up .8s var(--ease-out) both; }
  .actions { margin-top: 28px; gap: 12px; } .actions .btn--ink { width: 100%; justify-content: center; }
  .firm, .products, .people, .contact { padding-top: 112px; }
  .firm p { font-size: 26px; line-height: 1.22; }
  .h2 { font-size: 42px; }
  .row__name { font-size: 32px; } .row__name--armour svg { height: 28px; }
  .row p { font-size: 17px; line-height: 27px; }
  .armour { margin-top: 112px; }
  .armour__intro { padding-top: 80px; }
  .armour__logo svg { height: 44px; }
  .armour__intro p { font-size: 18px; }
}

/* Reduced motion: no travel, no playhead, no scrub. States still change, by cross-fade */
@media (prefers-reduced-motion: reduce) {
  .js .hero__place, .js .hero__title, .js .hero__title .ln > span, .js .hero .actions { animation: none; }
  .js .reveal { transform: none; transition: opacity .3s ease; }
}


/* ===================================================================================
   v6, 30/10: no photography, design components in the language of the score.
   Palette v3 used as Aaron asked: Blue Note Navy #0D1420 is the ground everywhere, Fintech Champagne #B4A078 is the
   luminous matter (notes, bars, the action), Late Set Lilac #A69BE6 only on the note being played. Solid colours.
   =================================================================================== */
:root { --navy: #0D1420; --champagne: #B4A078; --champagne-hover: #C2B08C; --lilac: #A69BE6; --surface: #141C2A; --rule: #2E3A4C; }

/* the action is champagne, the light of the page; the header button turns white over ARMOUR */
.btn--ink { background: var(--champagne); color: var(--navy); }
@media (hover: hover) and (pointer: fine) { .btn--ink:hover { background: var(--champagne-hover); } }
.btn--plain::after { bottom: 12px; }


.firm { padding-top: 120px; }
.firm > p { margin-top: 0; }

/* Product components */
.comp { margin: 36px 0 0; }
.comp svg { display: block; width: 100%; height: auto; overflow: visible; }
.comp .lit { fill: var(--lilac); }
.comp text { font-family: var(--sans); }
.js .comp [data-k] { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); transition: transform .9s var(--ease-out); transition-delay: calc(var(--k) * 6ms); }
.js .is-in .comp [data-k], .js .comp.is-in [data-k] { transform: none; }
.js .comp [data-n] { opacity: 0; transition: opacity .3s ease; transition-delay: calc(.5s + var(--k) * 40ms); }
.js .is-in .comp [data-n], .js .comp.is-in [data-n] { opacity: 1; }

/* ARMOUR: the answer strip alone, drawn like the Expert Advisor and indicator components above it (the app screen was cut 03/11) */

/* People: typographic cards, name and role only */
.people .rows { margin-top: 40px; display: grid; gap: 12px; border-top: 0; }
.person { display: block; padding: 28px 28px 30px; border: 0; border-radius: 12px; background: var(--surface); }
.person__name { font-size: 36px; }
.person__role { margin-top: 12px; }


/* Contact form, one field per step (03/11): count above a four part bar, one big well, the action under it */
.form__progress { display: none; }
.form.is-stepped .form__progress { display: block; }
.form__count { margin: 0; font: 500 12px/16px var(--sans); letter-spacing: .02em; color: var(--muted); }
.form__count b { font-weight: 600; color: var(--ink); }
.form__bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.form__bar li { position: relative; height: 3px; border-radius: 2px; background: var(--rule); overflow: hidden; }
.form__bar li::after { content: ""; position: absolute; inset: 0; background: var(--champagne); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.form__bar li.on::after { transform: scaleX(1); }
.form.is-stepped { gap: 0; }
.form.is-stepped .step { margin-top: 16px; }
.step.is-in { animation: step-in .32s var(--ease-out) both; }
@keyframes step-in { from { opacity: 0; transform: translateY(8px); } }
.field--big { padding: 18px 20px 16px; }
.field--big::after { left: 20px; right: 20px; }
.field--big span { font-size: 13px; }
.field--big input, .field--big textarea { margin-top: 6px; font-size: 20px; line-height: 30px; }
.field--big textarea { min-height: 150px; }
.form__err { min-height: 22px; margin: 10px 0 0; font: 500 14px/22px var(--sans); color: #E0705F; }
.form.is-stepped .form__foot { margin-top: 8px; }
.form__foot .btn--ink { justify-content: center; min-width: 120px; }
.form__hint { margin: 0 0 0 auto; font: 500 13px/20px var(--sans); color: var(--muted); }
.form__hint:empty { display: none; }
.form__msg:empty { display: none; }
@media (max-width: 600px) {
  .field--big { padding: 16px 16px 14px; }
  .field--big::after { left: 16px; right: 16px; }
  .field--big input, .field--big textarea { font-size: 18px; line-height: 28px; }
  .form__foot { gap: 12px; }
  .form__foot .btn--ink { flex: 1; }
  .form__msg { width: 100%; }
  .form__hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .step.is-in { animation: step-fade .2s ease both; }
  .form__bar li::after { transition: none; }
}
@keyframes step-fade { from { opacity: 0; } }


@media (max-width: 600px) {
  .firm { padding-top: 80px; }
  .contact { padding-top: 96px; }
  .person { padding: 22px 20px 24px; } .person__name { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .comp [data-k] { transform: none; transition: none; }
  .js .comp [data-n] { opacity: 1; transition: none; }
}

/* Hero C. Drawn on a 1200 x 828 board: every size is in container units so the composition holds as one piece */
.hero { padding-top: 72px; }
.hc { position: relative; container-type: inline-size; }
.hc__art { display: block; width: 100%; height: auto; overflow: visible; }
.hc__line { stroke: var(--rule); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hc__disc, .hc__stem { fill: var(--champagne); }
.hc__run rect, #hc-run rect { fill: var(--champagne); transform-box: fill-box; }
#hc-run .up { transform-origin: 50% 100%; } #hc-run .down { transform-origin: 50% 0; }
#hc-run .on { fill: var(--lilac); }
.hc__ph { stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: 0; }
.hc.is-playing .hc__ph { opacity: 1; }
.hc__text { position: absolute; left: 36.667cqw; top: 6.5cqw; right: 0; }
.hc .hero__title { font-size: 6.333cqw; line-height: 1.04; }
.hc .hero__place { margin-top: 1.4cqw; font-size: 2.333cqw; }
.hc__actions { position: absolute; left: 36.667cqw; top: 57.333cqw; margin: 0; }

@media (max-width: 760px) {
  .hc { container-type: normal; display: flex; flex-direction: column; }
  .hc__text { position: static; order: 1; }
  .hc .hero__title { font-size: 40px; line-height: 1.08; }
  .hc .hero__place { margin-top: 14px; font-size: 21px; }
  .hc__art { order: 2; margin-top: 8px; }
  .hc__actions { position: static; order: 3; margin-top: 28px; }
}

/* the market a product serves, as a plain line under its name */
.row .row__sector { margin: 8px 0 0; font: 400 16px/24px var(--sans); color: var(--muted); }
.btn[hidden] { display: none; }

/* 16/11 rework. People: the BROK Trading team set, portraits 4:5 on the surface card, four across, two on phones */
.people .team { margin: 40px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.team .person { display: block; padding: 0; border: 0; border-radius: 12px; background: var(--surface); overflow: hidden; }
.team .person figure { margin: 0; }
.person__ph { aspect-ratio: 4 / 5; overflow: hidden; background: var(--well); }
.person__ph img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .team .person:hover .person__ph img { transform: scale(1.025); } }
.team figcaption { padding: 20px 22px 24px; }
.team .person__name { font-size: 24px; line-height: 1.15; }
.team .person__role { margin-top: 10px; font-size: 14px; line-height: 20px; text-wrap: balance; }
@media (max-width: 960px) { .people .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .people .team { gap: 10px; }
  .team .person { padding: 0; }
  .team figcaption { padding: 14px 14px 18px; }
  .team .person__name { font-size: 18px; }
  .team .person__role { font-size: 13px; line-height: 18px; }
}
@media (prefers-reduced-motion: reduce) { .person__ph img { transition: none; } }

.contact__lead a { white-space: nowrap; }

/* 16/11 ARMOUR scene: one pinned frame, everything in it is drawn from the scroll position (js/jazz.js, part 4).
   Geometry lives in one SVG, every word in the HTML layer above it, so type keeps its size while the camera zooms */
.armour { margin-top: 120px; }
.armour__track { position: relative; height: 620vh; }
.armour__pin { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; }
.stage { position: absolute; inset: 0; }
.scene { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.scene path, .scene line { fill: none; vector-effect: non-scaling-stroke; }
.sc-zero { stroke: var(--pfa-line); stroke-width: 1; }
.sc-floor { stroke: var(--pfa-red); stroke-width: 1; stroke-dasharray: 4 5; opacity: .7; }
.sc-m { stroke: var(--pfa-red); stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
.sc-s { stroke: var(--pfa-green); stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
.sc-ideal { stroke: #3d3d3d; stroke-width: 1.5; stroke-linejoin: round; }
.sc-hm { fill: var(--pfa-red); } .sc-hs { fill: var(--pfa-green); }
#sc-rungs line { stroke: #2c2c2c; stroke-width: 1; }
#sc-bands path { stroke: none; }
.scene .pc0 { fill: var(--pfa-gold); } .scene .pc1 { fill: #d9a62a; } .scene .pc2 { fill: #a87f1c; } .scene .pc3 { fill: var(--pfa-red); }
.sc-cx { stroke: #3a3a3a; stroke-width: 1; opacity: 0; }
.stage.is-hover .sc-cx, .stage.is-hover .tip { opacity: 1; }

.beats { position: absolute; z-index: 2; left: var(--edge); top: 104px; width: min(620px, calc(100% - 2 * var(--edge))); margin: 0; padding: 0; list-style: none; }
.beat { position: absolute; left: 0; top: 0; right: 0; will-change: transform, opacity; }
.beat h3 { margin: 0; font: 800 44px/1.06 var(--pfa-sans); letter-spacing: -.035em; text-wrap: balance; }
.beat p { margin: 12px 0 0; max-width: 560px; font: 500 18px/1.45 var(--pfa-sans); color: var(--pfa-muted); text-wrap: pretty; }

.figs { position: absolute; z-index: 2; right: var(--edge); top: 108px; display: flex; align-items: flex-end; gap: 40px; }
.fig b { display: block; margin-top: 8px; font: 800 32px/1 var(--pfa-sans); letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lab { display: block; font: 700 11px/1 var(--pfa-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--pfa-faint-text); white-space: nowrap; }
.fig.m b { color: #fff; transition: color .2s ease; } .fig.m.is-neg b { color: var(--pfa-red); } .fig.s b { color: var(--pfa-green); } .fig.e b { color: var(--pfa-gold); }
.demo { position: absolute; z-index: 2; right: var(--edge); bottom: 20px; font: 600 12px/1 var(--pfa-sans); color: var(--pfa-faint-text); }

.tag { position: absolute; left: 0; top: 0; z-index: 2; font: 700 11px/1 var(--pfa-sans); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; pointer-events: none; }
.tag--floor { color: var(--pfa-red); opacity: .85; }
.tag--fail { padding: 7px 10px; border-radius: 999px; background: var(--pfa-red); color: #1a0504; letter-spacing: .06em; }
.tchip { position: absolute; left: 0; top: 0; z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--pfa-surface-2); box-shadow: 0 6px 18px rgba(0,0,0,.45); font: 700 12px/1 var(--pfa-sans); color: var(--pfa-subtle); white-space: nowrap; pointer-events: none; }
.tchip i { width: 7px; height: 7px; border-radius: 2px; background: var(--pfa-red); }
.tchip.is-s i { background: var(--pfa-green); } .tchip.is-s { color: #fff; }
.plab { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; }
.plab .lab { letter-spacing: .08em; }
.plab b { display: block; margin-top: 5px; font: 800 22px/1 var(--pfa-sans); letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; }
.tip { position: absolute; left: 0; top: 0; z-index: 3; padding: 8px 10px; border-radius: 10px; background: var(--pfa-surface-2); box-shadow: 0 8px 24px rgba(0,0,0,.5); font: 600 12px/1.5 var(--pfa-sans); color: var(--pfa-subtle); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .12s ease; }
.tip b { color: #fff; } .tip .r { color: var(--pfa-red); } .tip .g { color: var(--pfa-green); }

.pip { position: absolute; z-index: 2; right: calc(var(--edge) - 24px); bottom: 0; display: flex; flex-direction: column; align-items: flex-end; will-change: transform; }
.pip img { display: block; height: 300px; width: auto; margin-top: 14px; transform: scaleX(-1); } /* Pip points back at the chart */
.pip__talk { order: -1; width: 340px; margin-right: 24px; display: flex; flex-direction: column-reverse; }
.bub { margin: 0; padding: 14px 16px; border-radius: 16px 16px 4px 16px; background: #93d8ae; color: #04150c; font: 700 15px/1.45 var(--pfa-sans); box-shadow: 0 10px 30px rgba(0,0,0,.45); transition: opacity .15s ease; }
.quick { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-bottom: 10px; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 14px; border: 0; border-radius: 999px; font: 700 12px/1 var(--pfa-sans); }
.chip.q { background: #1b4430; color: #d3e6da; cursor: pointer; transition: background-color .2s ease, color .2s ease, transform .12s ease; }
.chip.q:active { transform: scale(.98); }
.chip.q[aria-pressed="true"] { background: #93d8ae; color: #04150c; }
@media (hover: hover) and (pointer: fine) { .chip.q:hover:not([aria-pressed="true"]) { background: #1f4c34; color: #fff; } }

@media (max-width: 700px) {
  .armour { margin-top: 96px; }
  .armour__track { height: 560vh; }
  .beats { top: 76px; }
  .beat h3 { font-size: 28px; line-height: 1.1; }
  .beat p { margin-top: 8px; font-size: 15px; line-height: 1.45; }
  .figs { left: var(--edge); right: auto; top: 0; gap: 22px; } /* top set by js under the captions */
  .fig b { font-size: 22px; margin-top: 6px; }
  .lab { font-size: 10px; letter-spacing: .08em; }
  .fig .lab { max-width: 104px; white-space: normal; line-height: 1.25; }
  .plab b { font-size: 16px; }
  .tchip { height: 24px; padding: 0 8px; font-size: 11px; }
  .pip { right: -18px; flex-direction: row; align-items: flex-end; }
  .pip img { height: 150px; margin-top: 0; }
  .pip__talk { width: calc(100vw - 150px); margin-right: -14px; margin-bottom: 24px; }
  .bub { padding: 10px 12px; font-size: 13px; line-height: 1.4; border-radius: 14px 14px 4px 14px; }
  .quick { display: none; }
  .demo { left: var(--edge); right: auto; bottom: auto; top: 0; } /* top set by js */
}

/* Still frame: reduced motion. No pin, the four lines read as a list above the final frame */
.armour.is-static .armour__track { height: auto; }
.armour.is-static .armour__pin { position: relative; height: auto; min-height: 0; overflow: visible; }
.armour.is-static .beats { position: static; width: auto; padding: 24px var(--edge) 0; display: grid; gap: 28px; max-width: none; }
.armour.is-static .beat { position: static; opacity: 1 !important; transform: none !important; }
.armour.is-static .beat h3 { font-size: 30px; }
.armour.is-static .stage { position: relative; height: 760px; }
@media (max-width: 700px) { .armour.is-static .stage { height: 640px; } .armour.is-static .beat h3 { font-size: 24px; } }

/* People 16/11: plain rectangular portraits filling the card, same 4:5 frame, faces on one line */
.people .team { width: 100%; }
.person__ph { aspect-ratio: 4 / 5; border-radius: 0; }
.person__ph img { width: 100%; height: 100%; border-radius: 0; object-fit: cover; object-position: 50% 22%; filter: none; }

/* 16/11 Header: a floating capsule, 14px off the top. At the top of the page it spans the shell on the page ground;
   once the page moves it condenses around its content and the wordmark folds into the three dots. Solid fills only */
.nav { position: fixed; z-index: 30; top: 14px; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; pointer-events: none;
  transition: transform .22s var(--ease-out); }
.nav.is-hidden { transform: translateY(calc(-100% - 64px)); transition-duration: .18s; transition-timing-function: cubic-bezier(.4, 0, 1, 1); }
.nav__cap { pointer-events: auto; position: relative; display: flex; align-items: center; gap: 8px; height: 60px; padding: 0 8px 0 20px;
  width: min(var(--shell), calc(100% - 32px)); border-radius: 999px; background: var(--surface); color: var(--ink);
  box-shadow: 0 10px 30px rgba(3, 6, 12, .45), 0 1px 2px rgba(3, 6, 12, .5);
  transition: width .38s var(--ease-out), height .3s var(--ease-out), padding .3s var(--ease-out), background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.nav.is-top .nav__cap { box-shadow: none; background: var(--paper); padding-left: 0; padding-right: 0; }
.nav.is-moved .nav__cap { width: min(760px, calc(100% - 32px)); height: 54px; padding-left: 16px; }
.brand { display: flex; align-items: center; height: 40px; margin-right: auto; text-decoration: none; color: inherit; }
.brand__svg { height: 32px; width: 170px; overflow: visible; fill: currentColor; transition: width .3s var(--ease-out); }
.nav.is-moved .brand__svg { width: 32px; }
.brand__mark path { transform-box: fill-box; transform-origin: 50% 100%; }
.brand__word { transition: opacity .16s ease, transform .3s var(--ease-out); }
.brand__word .w1 { fill: var(--champagne); }
.nav.is-moved .brand__word { opacity: 0; transform: translateX(-8px); }
/* the three dots play once, small to large, each time the section in view changes */
.nav.is-play .brand__mark .d2 { animation: hop .42s var(--ease-out) both; }
.nav.is-play .brand__mark .d1 { animation: hop .42s var(--ease-out) .06s both; }
.nav.is-play .brand__mark .d0 { animation: hop .42s var(--ease-out) .12s both; }
@keyframes hop { 40% { transform: translateY(-18%); } }
.nav__links { position: relative; display: flex; align-items: center; gap: 2px; }
.nav__links a { position: relative; z-index: 1; display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 999px; font: 500 15px/1 var(--sans); text-decoration: none; color: inherit; transition: color .15s ease, background-color .15s ease; }
.nav__armour svg { height: 13px; width: auto; fill: currentColor; }
.nav__pill { position: absolute; z-index: 0; left: 0; top: 50%; height: 38px; margin-top: -19px; width: 0; border-radius: 999px; background: var(--champagne); opacity: 0;
  transition: transform .26s var(--ease-out), width .26s var(--ease-out), opacity .15s ease, background-color .2s ease; }
.nav__links a.is-on { color: var(--navy); }
@media (hover: hover) and (pointer: fine) { .nav__links a:not(.is-on):hover { background: rgba(238, 241, 245, .08); } }
.nav__action { height: 42px; padding: 0 18px; border-radius: 999px; margin-left: 6px; white-space: nowrap; transition: opacity .18s ease, transform .22s var(--ease-out), background-color .2s ease; }
.nav.no-cta .nav__action { opacity: 0; transform: translateY(-4px); pointer-events: none; }
.nav__menu { display: none; }
.nav__sheet { display: none; }
/* over the ARMOUR scene the capsule takes the PFArmour surface, and the pill on ARMOUR is its green */
.nav.is-dark .nav__cap { background: #1a1a1a; color: #fff; }
.nav.is-dark .nav__pill { background: var(--pfa-green); }
.nav.is-dark .nav__links a.is-on { color: #04150c; }
.nav.is-dark .btn--ink { background: #fff; color: var(--pfa-paper); }

@media (max-width: 860px) {
  .nav__links, .nav__action { display: none; }
  .nav__cap, .nav.is-moved .nav__cap { width: calc(100% - 24px); height: 54px; padding: 0 6px 0 16px; }
  .nav.is-top .nav__cap { padding: 0 6px 0 12px; }
  .brand__svg { height: 28px; width: 149px; }
  .nav.is-moved .brand__svg { width: 28px; }
  .nav__menu { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--champagne); color: var(--navy); font: 600 15px/1 var(--sans); cursor: pointer; transition: transform .12s var(--ease-out); }
  .nav__menu:active { transform: scale(.97); }
  .nav__menu i { position: relative; width: 14px; height: 10px; }
  .nav__menu i::before, .nav__menu i::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 1px; background: currentColor; transition: transform .2s var(--ease-out); }
  .nav__menu i::before { top: 1px; } .nav__menu i::after { bottom: 1px; }
  .nav__menu[aria-expanded="true"] i::before { transform: translateY(3px) rotate(45deg); }
  .nav__menu[aria-expanded="true"] i::after { transform: translateY(-3px) rotate(-45deg); }
  .nav.is-dark .nav__menu { background: #fff; color: var(--pfa-paper); }
  .nav__sheet { pointer-events: auto; display: grid; gap: 4px; width: calc(100% - 24px); margin-top: 8px; padding: 10px; border-radius: 24px; background: var(--surface); box-shadow: 0 18px 40px rgba(3, 6, 12, .55);
    transform-origin: 50% 0; animation: sheet-in .2s var(--ease-out) both; }
  .nav__sheet[hidden] { display: none; }
  .nav__sheet a:not(.btn) { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px; border-radius: 16px; font: 600 24px/1.1 var(--display); letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
  .nav__sheet a:not(.btn):active { background: var(--well-hover); }
  .nav__sheet a span { font: 400 14px/1.3 var(--sans); letter-spacing: 0; color: var(--muted); }
  .nav__sheet .nav__armour svg { height: 20px; }
  .nav__sheet a.is-on { background: var(--well); }
  .nav__sheet .btn { justify-content: center; margin-top: 6px; border-radius: 999px; }
  .nav.is-dark .nav__sheet { background: #1a1a1a; }
}
@keyframes sheet-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
@media (prefers-reduced-motion: reduce) {
  .nav, .nav__cap, .nav__pill, .brand__svg, .brand__word { transition-duration: .01s; }
  .nav.is-play .brand__mark path { animation: none; }
  .nav__sheet { animation: none; }
}

/* 16/11 Footer: the close breaks from the page. Solid champagne, navy ink, the three dot mark at full scale cropped
   by the right edge; the ring stays open so the field shows through it */
.foot { position: relative; overflow: hidden; margin-top: 40px; background: var(--champagne); color: var(--navy); }
.foot__mark { position: absolute; right: max(-40px, calc(var(--edge) - 120px)); top: 40px; width: min(40vw, 520px); height: auto; fill: var(--navy); pointer-events: none; }
.foot__in { position: relative; padding-top: 72px; padding-bottom: 40px; }
.foot__logo { display: inline-block; color: var(--navy); }
.foot__logo svg { display: block; height: 40px; width: auto; fill: currentColor; }
.foot__ask { margin: 240px 0 0; font: 600 13px/16px var(--sans); color: rgba(13, 20, 32, .72); }
.foot__contact { margin: 12px 0 0; display: grid; gap: 14px; }
.foot__mail { justify-self: start; font: 600 64px/1.08 var(--display); letter-spacing: -.04em; color: var(--navy); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 3px no-repeat; transition: background-size .35s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .foot__mail:hover { background-size: 100% 3px; } }
.foot__phones { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.foot__phones a { font: 500 22px/1.3 var(--sans); color: var(--navy); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .foot__phones a:hover, .legal a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; } }
.legal { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 96px; padding: 20px 0 0; box-shadow: 0 -1px 0 rgba(13, 20, 32, .28); }
.legal a { font: 500 14px/1.6 var(--sans); color: var(--navy); text-decoration: none; }
.entity, .disclaimer { margin: 16px 0 0; max-width: 900px; font: 400 13px/21px var(--sans); color: rgba(13, 20, 32, .8); }
.entity b, .disclaimer b { color: var(--navy); font-weight: 700; }
.copy { margin: 20px 0 0; font: 500 13px/1 var(--sans); color: rgba(13, 20, 32, .8); }
.foot ::selection { background: var(--navy); color: var(--champagne); }
.foot :focus-visible { outline-color: var(--navy); }
.social { display: flex; gap: 24px; margin-top: 24px; }
.social a { display: inline-flex; align-items: center; gap: 8px; font: 500 14px/1 var(--sans); color: var(--navy); text-decoration: none; padding: 6px 0; }
.social svg { width: 16px; height: 16px; fill: currentColor; }
@media (max-width: 860px) { .foot__mail { font-size: 44px; } }
@media (max-width: 600px) {
  .foot__mark { right: -36px; top: 24px; width: 250px; }
  .foot__in { padding-top: 40px; }
  .foot__logo svg { height: 32px; }
  .foot__ask { margin-top: 210px; }
  .foot__mail { font-size: min(30px, 6.1vw); letter-spacing: -.03em; }
  .foot__phones a { font-size: 19px; }
  .legal { margin-top: 56px; gap: 4px 18px; }
}
.social[hidden] { display: none; }
.legal.legal--group { margin-top: 0; padding-top: 6px; box-shadow: none; }
.legal--group a { color: rgba(13, 20, 32, .8); }
.armour { overflow-x: clip; } .armour.is-static .stage { overflow: hidden; }

/* 17/11 Contact: one full screen. Title and the ways to reach us on the left, the form across the right; fields are open lines, no boxes */
.contact { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 112px 0 96px; }
.contact__in { width: 100%; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; }
.contact__main { min-width: 0; }
.contact .h2 { font-size: 72px; }
.contact__lead { max-width: 460px; }
.contact__lead a { white-space: normal; } .contact__lead a[href^="tel"] { white-space: nowrap; }
.contact .form { margin-top: 0; }
.field, .field--big { padding: 0 0 14px; border-radius: 0; background: none; box-shadow: inset 0 -1px 0 var(--rule); }
.field:focus-within { background: none; }
.field::after, .field--big::after { left: 0; right: 0; background: var(--champagne); }
.field--big span { font-size: 14px; }
.field--big input, .field--big textarea { margin-top: 10px; font-size: 26px; line-height: 36px; letter-spacing: -.01em; }
.field--big textarea { min-height: 148px; resize: none; }
.form { max-width: none; }


@media (max-width: 860px) {
  .contact { padding: 96px 0 72px; }
  .contact__in { grid-template-columns: 1fr; gap: 32px; }
  .contact .h2 { font-size: 44px; }
  .field--big input, .field--big textarea { font-size: 20px; line-height: 30px; }
  .field--big textarea { min-height: 120px; }
}

/* Pip stands where Demo data sits: the label moves to the left while he is in frame */
@media (min-width: 701px) { .stage.pip-on .demo { right: auto; left: var(--edge); } }
@media (max-width: 600px) { .rows { gap: 64px; margin-top: 40px; } }

/* country strips under the portraits (Pietro via Aaron, 17/11/2026) */
.person__ph { position: relative; }
.person__ph.it::after, .person__ph.cy::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; }
.person__ph.it::after { background: linear-gradient(90deg, #009246 0 28.8%, #fff 28.8% 71.2%, #CE2B37 71.2%); }
.person__ph.cy::after { background: linear-gradient(90deg, #fff 0 29.35%, #D57800 29.35% 70.65%, #fff 70.65%); }
