/* Night. The homepage and the Team page in OnePrime navy, so the page below the film matches it (drafts only).
   Max, 11/17/2026: "we need more darker blues not purples" and "the rest of the page doesn't feel like it matches any
   more". Every colour here sits between hue 214 and 222, so nothing leans to purple. Loaded after ../styles.css by the
   three draft pages only. index.html, the root team.html and the hosted Option 3 do not load it.

   Premium pass, 11/17/2026 ("They should all feel 10/10 premium and luxury"), then three rounds after blind critics.
   Round 5: the films are graded with a gel in place of a navy colour layer, the film starts under the hero copy so
   the words need no shadow, the record opens on its fullest year with a card as tall as the list, Unique Approach is
   one card of three cells, and every page has the same sign-off.
   Round 4 made everything around the slab cleaner. There are two voices and no more: the light slab for display
   (headline, section headings, numerals) and one sans weight for every item heading. The hero copy sits on the page
   grid like every other section. The record is a flat card. The films' blues are measured inside hue 214 to 222.
   Motion is in ../assets/motion.js (GSAP). Everything here reads in full without it. */

:root {
  --ink: #eef3fb;
  --text: #c0cbde;
  --muted: #96a5bf;
  --dim: #55647f;
  --ground: #070f20;
  --deep: #050b18;
  --abyss: #040914;
  --card: #0a1528;
  --blue: #4d86ff;
  --blue-hi: #8fb4ff;
  --line: rgba(160, 190, 240, 0.17);
  --line-2: rgba(160, 190, 240, 0.1);
  --line-hi: rgba(190, 212, 250, 0.36);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --r: 4px;
  --h2: clamp(34px, 4.2vw, 58px);
  /* The one gap between sections: about 160 px on a laptop. */
  --gap: clamp(88px, 11.2vw, 160px);
  /* Fine film grain, used only on the Team page's lit surfaces, where it stops their soft gradients banding. */
  --grain: url("../assets/grain.png") 0 0 / 256px 256px;
  --slab: "Roboto Slab", "Rockwell", Georgia, serif;
  --sans: "Libre Franklin", "Franklin Gothic Medium", "Helvetica Neue", Arial, sans-serif;
  /* The item voice: every item heading on the page (sectors, statements, companies, people) is this face and weight. */
  --item-w: 500;
  --item-size: clamp(18px, 1.4vw, 20px);
  /* The menu and every section share this inset, so the logo, the menu button and the content hold one left and
     right edge. */
  --edge: max(var(--pad), calc(50% - 620px + var(--pad)));
}

html { scrollbar-color: #2a3a5c transparent; background: var(--ground); }
body { background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 16.5px; line-height: 1.55; }
::selection { background: #2f6bff; color: #fff; }
:focus-visible { outline-color: var(--blue-hi); border-radius: var(--r); }
.skip { background: #2f6bff; color: #fff; border-radius: var(--r); }

/* The display voice: the slab, always light. Larger sizes are set lighter and tighter. */
h1, h2 { font-family: var(--slab); font-weight: 250; letter-spacing: -0.028em; }

/* The opening words wait for motion.js, so they never flash before they rise. The class is never set for anyone who
   asked for less motion, and it is dropped after 3 s if the script has not started. */
html.anim .nav, html.anim .hero h1, html.anim .hero .sub, html.anim .hero .hero-cta,
html.anim .who-opts, html.anim .answers, html.anim .hero .link { opacity: 0; }

/* ---------- Navigation, in the content's own container ---------- */
.nav { padding: 0 var(--edge); }
.nav a:not(.brand) { color: #b3c0d6; font-size: 14.5px; font-weight: 450; letter-spacing: 0.004em; }
.nav a[aria-current="page"] { font-weight: 500; }
.nav a.nav-cta { min-height: 38px; padding: 0 16px; border-radius: var(--r); color: #071022; font-size: 14.5px; font-weight: 550; }
@media (hover: hover) and (pointer: fine) { .nav a.nav-cta:hover { background: #dbe7ff; } }
.menu-btn { border-radius: var(--r); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42); font-weight: 500; }
/* A hairline draws under a menu link on hover, and stays under the page you are on. */
@media (min-width: 900px) {
  /* Investor Portal is the menu button on wide screens, so it is not also a link in the list. */
  .nav .nav-portal { display: none; }
  .nav li a { position: relative; }
  .nav li a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: currentColor;
    transform: scaleX(0); transform-origin: 100% 50%; transition: transform 240ms var(--ease);
  }
  .nav li a[aria-current="page"]::after { transform: scaleX(1); opacity: 0.55; }
}
/* The line slides through: in from the left on hover, out to the right on leaving. */
@media (min-width: 900px) and (hover: hover) and (pointer: fine) { .nav li a:hover::after { transform: scaleX(1); transform-origin: 0 50%; } }
@media (max-width: 899px) {
  .nav nav { background: #0a1630; box-shadow: 0 24px 40px -18px rgba(2, 6, 16, 0.85); }
  .nav li + li { border-top-color: var(--line); }
}
/* With scripts on, the menu stays in reach: it slides away as you read down and returns, on a blurred navy bar,
   the moment you scroll up. At the top of the page it sits on the film with no bar. */
html.navfix .nav { position: fixed; transition: transform 260ms var(--ease); }
html.navfix .nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; pointer-events: none;
  background: rgba(6, 13, 28, 0.8); border-bottom: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(16px) saturate(1.15); backdrop-filter: blur(16px) saturate(1.15);
  transition: opacity 200ms var(--ease);
}
html.navfix .nav.is-stuck::before { opacity: 1; }
html.navfix .nav.is-away { transform: translate3d(0, -104%, 0); }

/* ---------- Hero. The copy sits on the page grid, left, like every section under it ---------- */
.hero { justify-content: flex-start; padding: calc(var(--nav-h) + clamp(28px, 7svh, 76px)) var(--edge) 0; }
.hero-copy { align-items: flex-start; width: 100%; max-width: none; text-align: left; }
.hero h1 { max-width: 15.5em; font-weight: 250; letter-spacing: -0.03em; line-height: 1.1; }
.hero .sub { font-size: clamp(15.5px, 1.16vw, 17px); line-height: 1.5; }

/* The words sit on clean navy and the film starts under the button, at every width, so the copy needs no shadow and
   no band behind it. The hero is a column: the copy, then the film, which takes the height that is left and fades in
   out of the navy. --skip (per film, build.py) leaves out the top of the frame, so what shows is the city and not
   empty sky. */
.hero.filmed {
  --hero-h: clamp(640px, 100svh, 1240px);
  flex-direction: column; justify-content: flex-start; height: var(--hero-h); min-height: 0;
  background: var(--ground); color: var(--ink);
}
.hero.filmed .hero-copy { flex: none; }
.hero.filmed::after { height: 24%; background: linear-gradient(180deg, rgba(7, 15, 32, 0) 0%, rgba(7, 15, 32, 0.5) 58%, var(--ground) 100%); }
.hero.filmed .hero-art.film {
  position: relative; top: auto; left: auto; right: auto; bottom: auto; width: auto; height: auto;
  /* Full bleed: as wide as the screen, whatever the page margins are. */
  flex: 1 1 0; align-self: flex-start; width: 100vw; min-height: 180px; margin: clamp(26px, 4svh, 44px) 0 0 calc(50% - 50vw); overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 clamp(72px, 12svh, 132px));
  mask-image: linear-gradient(180deg, transparent 0, #000 clamp(72px, 12svh, 132px));
}
.hero.filmed .hero-art.film video {
  position: absolute; left: 0; top: calc(var(--hero-h) * var(--skip, 0) * -1); width: 100%; height: var(--hero-h);
  /* The film does not sink as the page scrolls here: its top edge would come into view. */
  transform: translate3d(calc(var(--px, 0) * -10px), calc(var(--py, 0) * -6px), 0) scale(1.04);
}
/* Graded, never dyed (Max: "it just looks like a blueberry"). Round 4 laid navy over the towers as colour and it
   read close to dyed, so that layer is gone. The grade (--grade, per film in build.py) takes most of the colour out
   of the footage, so the violet dusk goes near neutral, and holds deep blacks. Then a pale blue gel (--gel) is laid
   over it with multiply, as a filter sits over a lens: black stays black, grey takes a light true-blue cast, and
   what colour the footage keeps (the red bridge) shows through. Coloured pixels land at hue 214 to 222. */
.hero-art.film::before { background: rgb(var(--gel, 190, 214, 255)); mix-blend-mode: multiply; opacity: 1; }
.hero-art.film::after {
  background: linear-gradient(180deg, rgba(7, 15, 32, 0.46) 0%, rgba(7, 15, 32, 0.16) 24%, rgba(7, 15, 32, 0) 46%);
}
.hero.filmed h1 { color: #f1f5fc; text-shadow: none; }
/* On a phone the headline steps down until "technology businesses" clears the gutter. */
@media (max-width: 480px) { .hero.filmed h1 { font-size: min(8.3vw, 34px); } }
.hero.filmed .sub { color: #dbe3f1; text-shadow: none; }
/* The primary button, under the subline. It is the only "Get in touch" on the first screen. */
.hero-cta {
  display: inline-flex; align-items: center; min-height: 46px; margin-top: clamp(20px, 3.2svh, 32px); padding: 0 22px; border-radius: var(--r);
  background: #fff; color: #071022; font-size: 15px; font-weight: 550; letter-spacing: 0.004em; text-decoration: none;
  touch-action: manipulation; -webkit-user-select: none; user-select: none;
  transition: background-color 150ms var(--ease), transform 140ms var(--ease);
}
.hero-cta:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .hero-cta:hover { background: #dbe7ff; } }
/* While a headline rises line by line, each line is clipped to its own box. A little room below keeps a g or a y whole. */
.ln { padding-bottom: 0.16em; }
.ln-mask { margin-bottom: -0.16em; }

/* ---------- Shared type ---------- */
.lead-top h2, .areas h2, .says-h, .touch h2 { font-size: var(--h2); font-weight: 250; letter-spacing: -0.028em; line-height: 1.1; color: var(--ink); }
.lead-copy p, .areas p { color: var(--text); line-height: 1.62; }
.link { color: var(--ink); font-size: 16.5px; font-weight: 450; text-decoration-color: rgba(190, 212, 250, 0.5); }
@media (hover: hover) and (pointer: fine) { .link:hover { color: var(--blue-hi); } }

/* ---------- Section 1. The record, set as a ledger: ruled years on the left, one flat card on the right ---------- */
.lead { padding: calc(var(--gap) * 0.7) 0 0; background: var(--ground); }
.deck { margin-top: clamp(40px, 5vw, 72px); gap: 28px; }
.ylist { position: relative; }
.yrows { gap: 0; border-top: 1px solid var(--line); }
.yrows li { border-bottom: 1px solid var(--line); }
.yrow {
  grid-template-columns: 68px minmax(0, 1fr) auto; column-gap: 14px;
  min-height: 66px; padding: 10px 4px 10px 2px; border-radius: 0; background: none; box-shadow: none; color: var(--muted);
}
.yrow:active { transform: none; }
.yrow > span { transition: color 200ms var(--ease), transform 240ms var(--ease); }
.yrow-name { font-family: var(--slab); font-weight: 300; font-size: 26px; letter-spacing: -0.018em; color: #a9b6cd; }
.yrow-sub { font-size: 15px; line-height: 1.35; color: #94a3bd; white-space: nowrap; overflow: visible; text-overflow: clip; }
.yrow[aria-selected="true"] { background: none; box-shadow: none; }
.yrow[aria-selected="true"] .yrow-name { color: #fff; transform: translate3d(10px, 0, 0); }
.yrow[aria-selected="true"] .yrow-sub { color: var(--text); transform: translate3d(10px, 0, 0); }
@media (hover: hover) and (pointer: fine) {
  .yrow[aria-selected="false"]:hover { background: none; }
  .yrow[aria-selected="false"]:hover .yrow-name { color: #dbe3f1; }
}
/* One mark per company, 12 pixels at every width: filled for a public listing, outlined for an acquisition. The key
   under the list names both. */
.ticks { gap: 4px; }
.ticks i { width: 12px; height: 12px; border-radius: 2px; background: #8191ae; opacity: 1; }
.ticks i.m { background: none; box-shadow: inset 0 0 0 1.5px #8191ae; opacity: 1; }
.yrow[aria-selected="true"] .ticks i { background: var(--blue-hi); }
.yrow[aria-selected="true"] .ticks i.m { background: none; box-shadow: inset 0 0 0 1.5px var(--blue-hi); }
/* One marker glides to the chosen year: a flat tint with a rule under it. */
.ymark {
  display: block; position: absolute; left: 0; right: 0; top: 0; height: var(--mh, 67px); pointer-events: none;
  background: rgba(120, 160, 240, 0.07);
  transform: translate3d(0, var(--my, 1px), 0); transition: transform 260ms var(--ease);
}
.ymark::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: #7fa9ff; }
.key { gap: 9px; margin: 20px 0 0 2px; font-size: 14px; color: var(--muted); }
.key .ticks:not(:first-child) { margin-left: 18px; }
@media (max-width: 759px) {
  /* On a phone the summary holds one line by size, never by losing words. */
  .yrow { grid-template-columns: 48px minmax(0, 1fr) auto; column-gap: 7px; padding-right: 2px; }
  .yrow-name { font-size: 22px; }
  .yrow-sub { font-size: min(15px, 3vw); }
  .yrow[aria-selected="true"] .yrow-name, .yrow[aria-selected="true"] .yrow-sub { transform: none; }
  .yrow .ticks { gap: 3px; }
}

/* The card. Flat, with a one pixel border, and only as tall as its year. One row per company: the mark, the name,
   what happened and the month in full. A year with one to three exits has rows about 96 px tall, five exits a
   little less, and the nine listings of 2021 take one line each, so no year is taller than the list beside it. */
.ypanels { position: relative; gap: 0; }
.ypanel {
  min-height: 0; border: 1px solid var(--line); border-radius: var(--r); box-shadow: none; background: var(--card);
  padding: clamp(18px, 2vw, 28px) clamp(18px, 2.2vw, 30px) 4px;
}
.ypanel-head {
  grid-template-columns: auto minmax(0, 1fr); align-items: end; column-gap: 20px;
  padding: 0 0 clamp(14px, 1.6vw, 20px); border-bottom: 1px solid var(--line);
}
.ypanel-head h3 {
  margin: 0 0 -0.06em -0.03em;
  font-family: var(--slab); font-weight: 200; font-size: clamp(50px, 5.6vw, 80px); line-height: 0.92; letter-spacing: -0.04em;
  color: #fff; font-variant-numeric: lining-nums tabular-nums;
}
.ypanel-sub { justify-self: end; text-align: right; text-wrap: balance; font-size: 16px; line-height: 1.35; color: var(--text); }
/* The count ("2 exits") said again what the line above it says ("2 acquisitions"), so it is not shown. */
.ypanel-n { display: none; }
.cos { padding: 0; }
.co { column-gap: 14px; min-height: 68px; padding: 10px 0; border-bottom-color: var(--line-2); }
.co-name { font-size: 17px; font-weight: var(--item-w); color: var(--ink); }
.co-what { font-size: 15px; color: var(--text); }
.co-date { font-size: 15px; color: var(--muted); white-space: nowrap; }
/* The month in full with its year ("April 2026"), where the light page shows "Apr". */
.d-s { display: none; }
.d-f { display: inline; }
html.go .ypanel.is-on .ypanel-head h3 { animation: rise 280ms var(--ease) backwards; }
@media (max-width: 759px) {
  /* One to three exits: the mark beside the facts. */
  .cos.few .co { grid-template-columns: 108px minmax(0, 1fr); grid-template-areas: "logo name" "logo what" "logo date"; align-content: center; column-gap: 18px; row-gap: 1px; min-height: 92px; }
  .cos.few .co-logo { display: flex; grid-area: logo; align-items: center; align-self: center; height: 36px; overflow: hidden; }
  .cos.few .co-logo img { width: 100px; height: 30px; object-fit: contain; object-position: left center; transform: scale(var(--s, 1)); transform-origin: left center; filter: brightness(0) invert(1); opacity: 0.94; }
  .cos.few .co-name { grid-area: name; }
  .cos.few .co-what { grid-area: what; }
  .cos.few .co-date { grid-area: date; }
  /* Nine listings: one line each. */
  .cos.many .co { grid-template-columns: minmax(0, 1fr) auto 100px; grid-template-areas: none; column-gap: 10px; min-height: 42px; padding: 0; }
  .cos.many .co-name, .cos.many .co-what, .cos.many .co-date { grid-area: auto; }
  .cos.many .co-name { font-size: 15.5px; }
  .cos.many .co-what { font-size: 14px; }
  /* "November 2021" is the longest date: it holds inside its 100 pixel column. */
  .cos.many .co-date { font-size: 13.5px; text-align: right; }
}
@media (min-width: 760px) {
  .lead-copy { grid-column: 7 / span 6; }
  .deck { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: stretch; }
  .ylist { grid-column: 1 / span 5; }
  .ypanels { grid-column: 7 / span 6; display: grid; }
  /* Every card sits at the top of one cell, and the cell is as tall as the year list. So nothing on the page moves
     when the year changes. No card is taller than the list. */
  html.js .ypanel { position: absolute; left: 0; right: 0; top: 0; transition: opacity 200ms var(--ease); }
  html.js .ypanel:not(.is-on) { display: block; visibility: hidden; opacity: 0; }
  /* The section opens on its fullest year (2021, nine listings). That card takes the list's whole height and its
     rows share it, so at rest the two columns end level. */
  html.js .ypanel.fill, html.js .ypanel.fill:not(.is-on) { bottom: 0; display: flex; flex-direction: column; }
  html.js .ypanel.fill .cos { flex: 1 1 auto; display: grid; grid-auto-rows: minmax(0, 1fr); }
}
@media (min-width: 760px) and (max-width: 999px) {
  .co { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name date" "what what"; min-height: 64px; padding: 9px 0; }
  .co-name { grid-area: name; } .co-what { grid-area: what; } .co-date { grid-area: date; }
  .cos.many .co { grid-template-columns: minmax(0, 1fr) auto 108px; grid-template-areas: none; column-gap: 10px; min-height: 41px; padding: 0; }
  .cos.many .co-name, .cos.many .co-what, .cos.many .co-date { grid-area: auto; }
  .cos.many .co-name { font-size: 16px; }
  .cos.many .co-what, .cos.many .co-date { font-size: 14.5px; }
  .cos.many .co-date { text-align: right; }
}
@media (min-width: 1000px) {
  .yrow { min-height: 72px; }
  .ymark { height: var(--mh, 73px); }
  .co {
    grid-template-columns: 128px minmax(0, 1fr) auto; grid-template-areas: "logo name date" "logo what what";
    align-items: center; align-content: center; row-gap: 1px; min-height: 76px; padding: 0;
  }
  /* The month sits on the name's line, so the line under it has the full width ("Acquired by Marlin Equity Partners"). */
  .co-logo { grid-area: logo; }
  .co-name { grid-area: name; align-self: baseline; }
  .co-date { grid-area: date; align-self: baseline; text-align: right; }
  .co-what { grid-area: what; align-self: start; }
  .co-logo img { width: 100px; height: 28px; filter: brightness(0) invert(1); opacity: 0.92; }
  /* Nine listings: one line each. */
  .cos.many .co { grid-template-columns: 112px minmax(0, 1fr) auto 124px; grid-template-areas: none; min-height: 42px; }
  .cos.many .co > span { grid-area: auto; align-self: center; }
  .cos.many .co-logo img { width: 94px; height: 26px; }
  .cos.many .co-name { font-size: 16.5px; }
  /* One to three exits: rows about 96 px tall, with a larger mark. */
  .cos.few .co { grid-template-columns: 176px minmax(0, 1fr) auto; row-gap: 2px; min-height: 96px; }
  .cos.few .co-logo { height: 44px; }
  .cos.few .co-logo img { width: 138px; height: 38px; opacity: 0.96; }
  .cos.few .co-name { font-size: 18px; }
}

/* ---------- Areas of Investment. The heading and its sentence, then the six sectors three across ---------- */
.areas { padding: var(--gap) 0 0; background: var(--ground); }
.areas p { max-width: 46ch; }
.sectors { column-gap: 24px; margin-top: 8px; }
.sectors li { position: relative; gap: 8px; align-content: start; padding: 22px 0 30px; border-top: 0; }
/* The rule above each sector is its own line, so it can draw in from the left as the list arrives. */
.sectors li::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line);
  transform: scaleX(var(--rule, 1)); transform-origin: 0 50%;
}
.sectors strong { font-family: var(--sans); font-weight: var(--item-w); font-size: var(--item-size); line-height: 1.3; letter-spacing: -0.01em; color: #fff; }
.sectors span { max-width: 36ch; font-size: 15.5px; line-height: 1.55; color: #aab7cd; }
@media (min-width: 760px) {
  .areas-in { row-gap: 0; }
  /* The heading and the sentence sit on the page axis like the record's, and the sectors run the full width under them. */
  .areas-in > div { display: contents; }
  .areas h2 { grid-column: 1 / span 6; margin: 0; white-space: nowrap; }
  .areas-in > div > p { grid-column: 7 / span 6; padding-top: 10px; }
  .sectors { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(36px, 4.4vw, 60px); }
  .sectors li { padding: 24px 0 34px; }
}

/* ---------- Section 2. Unique Approach is one flat card of three cells. Who we are is a ruled list ---------- */
.approach { padding: var(--gap) 0 0; background: linear-gradient(180deg, var(--ground) 0px, var(--deep) 320px); }
.group + .group { margin-top: calc(var(--gap) * 0.62); }
.says-h { margin: 0 0 clamp(22px, 2.8vw, 38px); }
.says-h:not(:first-child) { margin-top: 0; }
/* Unique Approach: the record card's own material, cut into three cells by hairlines. */
.pillars { display: grid; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.pillar { padding: clamp(22px, 2.3vw, 32px) clamp(20px, 2.3vw, 32px) clamp(24px, 2.6vw, 36px); }
.pillar + .pillar { border-top: 1px solid var(--line); }
.pillar h3 { margin: 0 0 10px; font-family: var(--sans); font-size: var(--item-size); line-height: 1.3; font-weight: var(--item-w); letter-spacing: -0.01em; color: #fff; }
.pillar p { margin: 0; max-width: 60ch; font-size: clamp(16px, 1.2vw, 17px); line-height: 1.6; color: var(--text); text-wrap: balance; }
@media (min-width: 900px) {
  .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pillar + .pillar { border-top: 0; border-left: 1px solid var(--line); }
  .pillar h3 { margin-bottom: 14px; }
  .pillar p { max-width: none; }
}
/* Who we are: one row per statement, the heading on the left and its sentence on the right, every row one height. */
.says { display: grid; }
.say { position: relative; padding: 22px 0 26px; border-top: 0; color: #fff; }
.say::before, .say::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; transform-origin: 0 50%; }
.say::before { background: var(--line); transform: scaleX(var(--rule, 1)); }
.say::after { display: none; }
.say h3 { margin: 0 0 8px; font-family: var(--sans); font-size: var(--item-size); line-height: 1.3; font-weight: var(--item-w); letter-spacing: -0.01em; color: #fff; text-wrap: balance; }
.say p { max-width: 54ch; font-size: clamp(16px, 1.2vw, 17px); line-height: 1.6; color: var(--text); }
@media (min-width: 760px) {
  .says { grid-auto-rows: 1fr; }
  .say { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; align-content: start; padding: 26px 0 30px; }
  .say h3 { grid-column: 1 / span 5; margin: 0; padding-top: 0.12em; }
  .say p { grid-column: 7 / span 6; }
  /* Every row rests at full contrast. The one being read is marked by a single accent rule that draws across its
     top. When the reader moves on it fades where it lies, then resets unseen. */
  html.js .say, html.js .say.is-on { color: #fff; }
  html.js .say p, html.js .say.is-on p { color: var(--text); }
  html.js .say::after {
    display: block; background: linear-gradient(90deg, #7fa9ff 0%, rgba(127, 169, 255, 0.5) 42%, rgba(127, 169, 255, 0.14) 100%);
    transform: scaleX(0); opacity: 0; transition: opacity 140ms linear, transform 0s linear 140ms;
  }
  html.js .say.is-on::after { transform: scaleX(1); opacity: 1; transition: transform 280ms var(--ease), opacity 100ms linear; }
}

/* ---------- The sign-off, on the deepest navy and on the page grid ---------- */
.sign.foot {
  /* No space above: the rule the sign-off opens with is also the closing rule of the section before it. */
  padding: 0 0 clamp(40px, 5vw, 64px);
  background: linear-gradient(180deg, var(--deep) 0px, var(--abyss) 280px); color: var(--ink); overflow: visible;
}
.sign :focus-visible { outline-color: var(--blue-hi); }
.foot-in { display: grid; row-gap: 0; padding-top: 0; }
.foot-in::before { content: ""; display: block; height: 1px; margin-bottom: clamp(32px, 4vw, 56px); background: var(--line); }
/* The closing line says what the hero said, once more and quietly. */
.foot .sign-say {
  margin: 0; max-width: 17em;
  font-family: var(--slab); font-weight: 300; font-size: clamp(22px, 2.3vw, 32px); line-height: 1.25; letter-spacing: -0.02em; color: #dfe7f5;
}
.foot-links { display: grid; gap: 0; align-content: start; justify-items: start; list-style: none; margin: 18px 0 0; padding: 0; }
.foot-links a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  font-size: clamp(16.5px, 1.3vw, 18px); color: var(--ink); text-decoration: none; transition: color 150ms var(--ease);
}
.foot-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 9px; height: 1px; background: currentColor; opacity: 0.45;
  transition: opacity 150ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .foot-links a:hover { color: #fff; }
  .foot-links a:hover::after { opacity: 1; }
}
/* The ruled row, as on the Dieste page: copyright on the left, the SEC note on the page axis. */
.foot-legal {
  display: grid; gap: 10px; margin-top: clamp(40px, 5.4vw, 76px); padding-bottom: 18px; border-bottom: 1px solid var(--line-hi);
  font-size: 14px; line-height: 1.55; color: var(--muted);
}
.foot-legal p { margin: 0; text-wrap: balance; }
.foot-sec { display: grid; gap: 4px; max-width: 62ch; }
/* The name with a picture showing through its letters is Max's own reference (the Eladio Dieste page) and is kept on
   purpose. The name is the firm's real logo, large: the logo's own outline is the mask (a vector, so its edges are
   clean at any size), so the page has one wordmark and closes on the mark it opened with. It sits on the page grid,
   inside the margins. The picture is a sharp band from the same film the page opens on, graded the way the film is:
   most of its colour drained (a grey laid in as colour), a pale blue gel over it with multiply, the sky brought down,
   and the lower band lifted to one even pale
   tone, so the seven widely spaced letters of CAPITAL read as one word. Their spacing is the logo's own. */
.sign-mark {
  width: 100%; aspect-ratio: 3267.4 / 785.2; margin-top: clamp(24px, 2.8vw, 40px);
  background-color: #7f97c2;
  background-image:
    linear-gradient(180deg, rgba(var(--sign-pale, 150, 178, 226), 0) 40%, rgba(var(--sign-pale, 150, 178, 226), var(--sign-wash, 0.3)) 70%),
    linear-gradient(180deg, rgba(7, 15, 32, var(--sign-top, 0)) 0%, rgba(7, 15, 32, 0) 62%),
    linear-gradient(rgb(var(--sign-gel, 190, 216, 255)), rgb(var(--sign-gel, 190, 216, 255))),
    linear-gradient(rgba(128, 128, 128, var(--sign-drain, 0.9)), rgba(128, 128, 128, var(--sign-drain, 0.9))),
    var(--sign-img, none);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, cover;
  background-position: 0 0, 0 0, 0 0, 0 0, 50% 50%;
  background-repeat: no-repeat;
  background-blend-mode: normal, normal, multiply, color, normal;
  -webkit-mask: url("../assets/logo-mask.svg") 0 0 / 100% 100% no-repeat;
  mask: url("../assets/logo-mask.svg") 0 0 / 100% 100% no-repeat;
  filter: hue-rotate(var(--sign-hue, 0deg)) brightness(var(--sign-lift, 1.1)) contrast(1.06);
}
@media (min-width: 760px) {
  .foot-in { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .foot-in::before { grid-column: 1 / -1; }
  .foot .sign-say { grid-column: 1 / span 6; }
  .foot-links { grid-column: 7 / span 6; margin-top: 0; }
  .foot-links a { min-height: 40px; }
  .sign-mark, .foot-legal { grid-column: 1 / -1; }
  .foot-legal { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .foot-copy { grid-column: 1 / span 5; }
  .foot-sec { grid-column: 7 / span 6; }
}

/* ---------- Team page. The opening: the visitor finishes the headline ---------- */
.hero.who {
  padding-bottom: clamp(20px, 3svh, 40px); color: var(--ink);
  background: var(--grain), radial-gradient(84% 96% at 30% -12%, #13284f 0%, #0b1a37 44%, var(--ground) 100%);
}
.hero.who h1 { color: var(--ink); }
/* The four choices are set as words in the headline's own face. The chosen one is lit and underlined. */
.who-opts { justify-content: flex-start; gap: 0 clamp(22px, 3.2vw, 48px); margin-top: clamp(8px, 1.4svh, 16px); }
.who-opt {
  position: relative; min-height: 56px; padding: 0; border-radius: 0; background: none;
  font-family: var(--slab); font-weight: 250; font-size: clamp(25px, 3.1vw, 44px); letter-spacing: -0.026em; color: #8797b5;
  transition: color 200ms var(--ease);
}
.who-opt:active { transform: none; }
.who-opt::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--blue-hi);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 240ms var(--ease);
}
@media (hover: hover) and (pointer: fine) { .who-opt:hover { background: none; color: var(--text); } }
@media (max-width: 599px) {
  .who-opts { grid-template-columns: repeat(2, auto); justify-content: start; column-gap: 28px; width: auto; }
  .who-opt { justify-content: flex-start; padding: 0; min-height: 50px; }
}
#who-founders:checked ~ .who-opts [for="who-founders"],
#who-employees:checked ~ .who-opts [for="who-employees"],
#who-investors:checked ~ .who-opts [for="who-investors"],
#who-companies:checked ~ .who-opts [for="who-companies"] { background: none; color: #fff; font-weight: 250; }
#who-founders:checked ~ .who-opts [for="who-founders"]::after,
#who-employees:checked ~ .who-opts [for="who-employees"]::after,
#who-investors:checked ~ .who-opts [for="who-investors"]::after,
#who-companies:checked ~ .who-opts [for="who-companies"]::after { transform: scaleX(1); }
#who-founders:focus-visible ~ .who-opts [for="who-founders"],
#who-employees:focus-visible ~ .who-opts [for="who-employees"],
#who-investors:focus-visible ~ .who-opts [for="who-investors"],
#who-companies:focus-visible ~ .who-opts [for="who-companies"] { outline-color: var(--blue-hi); outline-offset: 6px; }
.answers { margin-top: clamp(22px, 3.6svh, 38px); }
.ans { color: var(--text); line-height: 1.6; text-wrap: pretty; }
.link.link-light { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .link.link-light:hover { color: var(--blue-hi); } }

/* ---------- Team page. The team: portraits on a studio-dark ground, the name under each ---------- */
.lead.team { padding-top: calc(var(--gap) * 0.75); background: var(--ground); }
.lead.team .lead-copy p { margin-bottom: 0; }
.people { gap: 30px 14px; margin-top: 30px; }
.people-big { margin-top: clamp(40px, 5vw, 72px); }
.person, .person-big { flex-direction: column; border: 0; border-radius: 0; overflow: visible; background: none; box-shadow: none; }
.ph {
  position: relative; border-radius: var(--r);
  background: var(--grain), radial-gradient(120% 92% at 50% 0%, #1d376a 0%, #11244c 48%, #0a1730 100%);
  box-shadow: inset 0 0 0 1px rgba(160, 190, 240, 0.13);
}
.ph img { transform-origin: 50% 100%; transition: transform 280ms var(--ease); }
/* The portrait's own colour is held back a little until it is pointed at. */
.ph::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 15, 32, 0) 52%, rgba(7, 15, 32, 0.5) 100%);
  transition: opacity 280ms var(--ease);
}
.pt, .person-big .pt { align-content: start; gap: 3px; padding: 14px 2px 0; }
/* One name style for all ten, in the item voice. The two partners differ only by the size of their portraits. */
.pn, .person-big .pn {
  font-family: var(--sans); font-weight: var(--item-w); font-size: 17.5px; line-height: 1.3; letter-spacing: -0.008em; color: #fff; white-space: nowrap;
}
.pr, .person-big .pr { font-size: 15px; line-height: 1.4; color: var(--muted); white-space: nowrap; }
@media (max-width: 759px) {
  /* Two across on a phone: the name and the title hold one line each. */
  .pn, .person-big .pn { font-size: min(16px, 4.1vw); }
  .pr, .person-big .pr { font-size: min(14px, 3.5vw); }
}
@media (hover: hover) and (pointer: fine) {
  .person:hover { background: none; box-shadow: none; }
  .person:hover .ph img { transform: scale(1.035); }
  .person:hover .ph::after { opacity: 0.35; }
}
@media (min-width: 760px) {
  .people { gap: 40px 24px; margin-top: 40px; }
  .people-big { margin-top: clamp(40px, 5vw, 72px); }
  /* A partner is a wider portrait with the name under it, like everyone else. No empty panel beside the photograph. */
  .person-big .ph { flex: none; aspect-ratio: 4 / 3; }
}

/* ---------- Team page. Contact ---------- */
.touch { padding: var(--gap) 0 clamp(44px, 5vw, 72px); background: linear-gradient(180deg, var(--ground) 0px, var(--deep) 320px); }
.touch-mail { color: var(--ink); text-decoration-color: rgba(190, 212, 250, 0.45); }
@media (hover: hover) and (pointer: fine) { .touch-mail:hover { color: var(--blue-hi); } }
.sec { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .nav, .nav::before, .nav li a::after, .hero-cta, .foot-links a, .foot-links a::after, .yrow > span, .ymark, .ypanel, .say::after, .who-opt, .who-opt::after, .ph img, .ph::after { transition-duration: 1ms !important; }
  html.go .ypanel.is-on .ypanel-head h3 { animation: none; }
  .yrow[aria-selected="true"] .yrow-name, .yrow[aria-selected="true"] .yrow-sub { transform: none; }
  .hero-cta:active { transform: none; }
  .ph img { transform: none !important; }
  html.navfix .nav.is-away { transform: none; }
}
