/* Record First. OnePrime Capital homepage direction.
   Two grounds, white and one navy (hue 220). Headings and display statements
   are set in Libre Caslon Display at regular weight, close to the serif of
   the OnePrime mark. Data, labels and lists are in Libre Franklin. Rules are
   hairlines, corners are 2 pixels, and nothing glows. Motion is written in
   assets/site.js, app.js and team.js. */

:root {
  --navy: #0a2254;
  --ink: #0a101c;
  --text: #2a3243;
  --muted: #5a6376;
  --soft: #8a94a8;
  /* One rule colour on white. The chart's axis is the only ink line. */
  --line: #cdd4e1;
  --edge: #cdd4e1;
  /* The second tone of the key: acquisitions. */
  --light: #93a6cc;
  --rule-dark: rgba(255, 255, 255, 0.18);
  --on-dark: rgba(255, 255, 255, 0.7);
  --serif: "Libre Caslon Display", "Libre Caslon Text", "Big Caslon", Georgia, "Times New Roman", serif;
  /* The same Caslon cut for text sizes. Its strokes are heavier, so it carries serif text under 32 pixels. */
  --serif-text: "Libre Caslon Text", "Libre Caslon Display", Georgia, "Times New Roman", serif;
  --sans: "Libre Franklin", "Franklin Gothic Medium", "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --pad: clamp(20px, 4.4vw, 64px);
  --nav-h: 80px;
  --r: 2px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  scrollbar-color: var(--edge) transparent;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  -webkit-tap-highlight-color: transparent;
}

h1, h2 { font-family: var(--serif); font-weight: 400; }

::selection { background: var(--navy); color: #fff; }
.record ::selection, .who ::selection, .close ::selection, .foot ::selection { background: #fff; color: var(--navy); }

:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 2px; }
.record :focus-visible, .close :focus-visible, .foot :focus-visible { outline-color: #fff; }

.vh {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip {
  position: absolute; left: var(--pad); top: -80px; z-index: 20;
  padding: 10px 14px; border-radius: var(--r); background: var(--navy); color: #fff;
  font-weight: 600; font-size: 14px; text-decoration: none;
}
.skip:focus { top: 12px; }

.ico { flex: none; }
.nb { white-space: nowrap; }

/* ---------- Navigation ---------- */

.nav {
  position: relative; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--nav-h); padding: 0 var(--pad);
}
.brand { display: block; line-height: 0; }
.brand img { height: 30px; width: auto; filter: brightness(0); }

.nav ul { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 38px); list-style: none; margin: 0; padding: 0; }
.nav a:not(.brand) {
  position: relative;
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px;
  font-size: 14.5px; font-weight: 500; letter-spacing: -0.003em; color: var(--ink); text-decoration: none;
}
/* A hairline under the link. It stands under the current page and draws in under a pointer. */
.nav a:not(.brand):not(.portal)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 11px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 220ms var(--ease-out);
}
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a.portal {
  min-height: 40px; padding: 0 14px 0 16px; border-radius: var(--r); font-weight: 540;
  box-shadow: inset 0 0 0 1px var(--ink);
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out);
}
.nav a.portal .ico { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .nav a:not(.brand):not(.portal):hover::after { transform: scaleX(1); }
  .nav a.portal:hover { background: var(--navy); color: #fff; box-shadow: inset 0 0 0 1px var(--navy); }
  .nav a.portal:hover .ico { transform: translate(2px, -2px); }
}

.menu-btn {
  display: none; align-items: center; height: 44px; padding: 0 16px;
  border: 0; border-radius: var(--r); background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
  font: 540 14.5px/1 inherit; font-family: inherit; cursor: pointer; touch-action: manipulation;
  -webkit-user-select: none; user-select: none;
}

@media (max-width: 899px) {
  .nav { --nav-h: 72px; }
  .menu-btn { display: inline-flex; }
  .nav nav {
    position: absolute; left: 0; right: 0; top: var(--nav-h);
    padding: 0 var(--pad) 20px; background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 24px 40px -28px rgba(10, 34, 84, 0.45);
    display: none;
  }
  .nav.is-open nav { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav li + li { border-top: 1px solid var(--line); }
  .nav a:not(.brand) { width: 100%; min-height: 54px; font-size: 17px; }
  .nav a:not(.brand):not(.portal)::after { content: none; }
  .nav a[aria-current="page"] { font-weight: 640; }
  .nav a.portal { box-shadow: none; padding: 0; justify-content: space-between; }
}

/* ---------- Buttons. The action colour is the navy of the record ---------- */

.cta {
  display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 18px 0 20px; border-radius: var(--r);
  background: var(--navy); color: #fff; font-size: 14.5px; font-weight: 540; letter-spacing: -0.003em; text-decoration: none;
  touch-action: manipulation; -webkit-user-select: none; user-select: none;
  transition: background-color 180ms var(--ease-out), transform 140ms var(--ease-out);
}
.cta .ico { transition: transform 200ms var(--ease-out); }
.cta:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) {
  .cta:hover { background: var(--ink); }
  .cta:hover .ico { transform: translate(2px, -2px); }
}

/* ---------- Choices. Filters, sorts and the team page's chooser are words on a
   line. One rule marks the chosen word and slides to the next one. ---------- */

.filters, .sorts, .pick-set { position: relative; display: inline-flex; flex-wrap: wrap; gap: 0 clamp(20px, 2vw, 30px); }

.f, .s, .w {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0; border: 0; border-radius: 0;
  background: none; color: var(--muted);
  font-family: inherit; font-size: 14.5px; font-weight: 520; letter-spacing: -0.003em; line-height: 1; white-space: nowrap;
  cursor: pointer; touch-action: manipulation; -webkit-user-select: none; user-select: none;
  transition: color 160ms var(--ease-out);
}
.f[aria-pressed="true"], .s[aria-pressed="true"], .w[aria-pressed="true"] { color: var(--ink); box-shadow: inset 0 -1px 0 currentColor; }
.has-ind > [aria-pressed="true"] { box-shadow: none; }
.f-n { font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; opacity: 0.7; }
@media (hover: hover) and (pointer: fine) {
  .f[aria-pressed="false"]:hover, .s[aria-pressed="false"]:hover, .w[aria-pressed="false"]:hover { color: var(--ink); }
}

.ind {
  position: absolute; left: 0; top: 0; width: 100px; height: 1px; background: var(--ink);
  transform-origin: 0 0; pointer-events: none; opacity: 0;
  transition: transform 280ms var(--ease-out);
}
.ind.is-set { opacity: 1; }

/* The key. Each mark is a small tile with the same left edge the chart's tiles carry: navy for a
   public listing, the lighter blue for an acquisition. */
.sw {
  width: 18px; height: 12px; flex: none; border: 1px solid var(--line); border-left: 0; border-radius: 0 1px 1px 0;
  background: linear-gradient(var(--navy), var(--navy)) left / 3px 100% no-repeat, #fff;
}
.sw-ma { background: linear-gradient(var(--light), var(--light)) left / 3px 100% no-repeat, #fff; }
.sw-all { background: linear-gradient(180deg, var(--navy) 50%, var(--light) 50%) left / 3px 100% no-repeat, #fff; }

/* ---------- Scene 1. The headline, the three counts, then the record by year ---------- */

.hero { display: flex; flex-direction: column; padding: 0 var(--pad) clamp(48px, 6vw, 72px); }

.hero-top { padding-top: clamp(44px, 9vw, 100px); }

.lead {
  margin: 0 0 20px;
  font-size: clamp(36px, 9.4vw, 60px); line-height: 1.1; letter-spacing: -0.012em;
  text-wrap: balance;
}
.about p { margin: 0 0 20px; max-width: 62ch; font-size: 16px; line-height: 1.56; color: var(--text); text-wrap: pretty; }

/* The three counts of the record, set large. They are the key to the chart and they filter it. */
.legend { margin-top: 34px; border-bottom: 1px solid var(--line); }
.legend .filters { display: flex; flex-wrap: nowrap; gap: 0 clamp(18px, 3.4vw, 48px); }
.legend .f {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center;
  column-gap: 8px; row-gap: 6px; height: auto; padding: 0 0 14px; text-align: left; font-size: 13.5px;
}
.legend .f-n {
  grid-row: 1; grid-column: 1 / -1;
  font-family: var(--serif); font-size: clamp(46px, 6.1vw, 88px); line-height: 1; font-weight: 400; letter-spacing: -0.02em;
  color: var(--navy); opacity: 1; font-variant-numeric: lining-nums;
  transition: color 180ms var(--ease-out);
}
.legend .sw { grid-row: 2; grid-column: 1; }
.legend .f-l { grid-row: 2; grid-column: 2; }
.legend .f[aria-pressed="false"] .f-n { color: rgba(10, 34, 84, 0.55); }
@media (hover: hover) and (pointer: fine) {
  .legend .f[aria-pressed="false"]:hover .f-n { color: var(--navy); }
}

.stage { position: relative; min-width: 0; margin-top: 36px; }
.axis { display: none; }

/* Year rows on phones and tablets. The same record, read top to bottom. */
.yr {
  display: grid; grid-template-columns: 58px minmax(0, 1fr); align-items: start; gap: 10px 12px;
  padding: 14px 0; border-top: 1px solid var(--line);
}
.yr-label {
  position: relative;
  margin: 0; padding-top: 10px; font-size: 16px; line-height: 1.2; font-weight: 560; letter-spacing: -0.01em;
  color: var(--ink); font-variant-numeric: tabular-nums;
  transition: color 160ms var(--ease-out);
}
.yr.is-empty .yr-label { color: var(--soft); font-weight: 480; }
.yr-count { display: none; }

/* Tiles keep one width at every screen size, so every logo keeps one size. */
.stack { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 5px; list-style: none; margin: 0; padding: 0; }
/* A year with no exits carries one short hairline where its first tile would stand, the way a
   table marks a blank. */
.yr.is-empty .stack::before {
  content: ""; display: block; height: 38px;
  background: linear-gradient(var(--soft), var(--soft)) left center / 16px 1px no-repeat;
}

/* One tile style: the logo on white inside a hairline. The left edge says which kind of exit
   it was, navy for a public listing and the lighter blue for an acquisition, as in the key above. */
.tile {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 38px; padding: 0 0 0 3px; border: 0; border-radius: var(--r); overflow: hidden;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer;
  touch-action: manipulation; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
  transition: background-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.tile::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--navy); pointer-events: none;
}
.tile[data-kind="ma"]::before { background: var(--light); }
/* Every logo is drawn in the one navy, at one optical height. */
.tile img {
  width: 61%; height: clamp(15px, 46%, 21px); object-fit: contain; pointer-events: none;
  transform: scale(var(--s, 1));
  filter: url(#ink-navy);
}
.tile[aria-pressed="true"] { background: var(--navy); box-shadow: none; }
.tile[aria-pressed="true"] img { filter: brightness(0) invert(1); }
.tile[aria-pressed="true"]::before { background: #fff; }
.tile[aria-pressed="true"][data-kind="ma"]::before { background: var(--light); }

@media (hover: hover) and (pointer: fine) {
  .tile[aria-pressed="false"]:hover { box-shadow: inset 0 0 0 1px var(--navy); }
}

/* While the script is moving tiles, nothing else is animating them. */
.is-flip .tile { transition: none; }
/* A copy of a tile or a row that has just left, held in place while it fades. */
.ghost { position: absolute; margin: 0; pointer-events: none; z-index: 2; }

/* The opening waits for the page script. If the script never runs, everything shows after 3.2 seconds. */
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.done) .hero :is(.lead, .about, .legend, .tile, .yr-label, .yr-count, .axis),
  html.js:not(.done) .pick :is(.pick-line, .pick-choose, .pick-out) { opacity: 0; }
}
/* A line of a heading rises from behind its own edge. The edge sits a little low so descenders are not cut. */
.ln-mask { padding-bottom: 0.16em; margin-bottom: -0.16em; }

/* One company's details. Nothing shows at rest: the card opens on a pointer, on keyboard focus
   or on a tap, by the tile it belongs to. On a phone it sits in the row of the tile's year. */
.detail {
  display: none;
  position: relative;
  margin-top: 4px; padding: 10px 14px 11px; border-radius: var(--r); background: #fff;
  box-shadow: 0 0 0 1px var(--edge);
}
.detail.is-open { display: block; }
.yr .detail { grid-column: 2; }
.detail-name { margin: 0 0 3px; font-family: var(--sans); font-size: 15.5px; line-height: 1.25; font-weight: 600; letter-spacing: -0.012em; }
.detail dl { display: flex; flex-wrap: wrap; margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.detail dl div { display: inline-flex; }
.detail dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.detail dd { margin: 0; font-variant-numeric: tabular-nums; }
.detail dl div + div dd::before { content: "\00a0\00b7\00a0"; }

/* The chart. Years stand as columns on one ruled axis. */
@media (min-width: 1100px) {
  .hero {
    --gap: clamp(8px, 0.9vw, 14px);
    --label-h: 34px;
    --tile: clamp(36px, 2.9vw, 44px);
    padding-bottom: 64px;
  }
  /* The top of the page sits on the chart's nine columns. The headline runs on two lines. The
     paragraph and the button take the first five columns. The three counts stand over the last
     three years, one count a column, and their words and key marks share the button's row. */
  .hero-top {
    padding-top: 100px;
    display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); column-gap: var(--gap); align-items: end;
  }
  .lead { grid-column: 1 / -1; max-width: 13.6em; margin-bottom: 34px; font-size: min(5vw, 76px); }
  .about { grid-column: 1 / span 5; }
  .about p { margin-bottom: 24px; }
  .legend { grid-column: 7 / span 3; margin: 0; }
  .legend .filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); }
  .legend .f { padding-bottom: 0; row-gap: 0; }
  .legend .f-l { line-height: 46px; }
  .legend .ind { height: 1px; }

  /* The chart is its own block: a clear break above it, then its own top rule. */
  .stage {
    margin-top: 104px; padding-top: 34px; border-top: 1px solid var(--line);
    /* The plot keeps the height of its tallest year, so a filter never moves the page under it. */
    min-height: calc(9 * (var(--tile) + 5px) + 26px + 48px + 35px);
    display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); column-gap: var(--gap);
  }

  .axis {
    display: block; grid-column: 1 / -1; grid-row: 1; align-self: end;
    height: 1px; margin-bottom: var(--label-h); background: var(--ink); transform-origin: 0 50%;
  }
  .yr {
    grid-column: var(--col); grid-row: 1; align-self: end;
    display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; border: 0; min-height: 0;
  }
  .yr-count {
    display: block; order: 1; height: 18px; margin: 0 0 8px;
    font-size: 14px; line-height: 18px; font-weight: 560; font-variant-numeric: tabular-nums; color: var(--navy);
  }
  .stack { order: 2; display: flex; flex-direction: column-reverse; flex-wrap: nowrap; }
  .stack li { width: 100%; }
  .tile, .yr.is-empty .stack::before { height: var(--tile); }
  .yr.is-empty .stack::before { background-position: center; }
  .yr-label {
    order: 3; height: var(--label-h); margin-top: 14px; padding-top: 13px;
    font-size: 14.5px; line-height: 20px; font-weight: 540; letter-spacing: 0;
  }
  .yr.is-live .yr-label { font-weight: 660; }
  /* A tick where each year starts on the axis. */
  .yr-label::before { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 6px; background: var(--ink); }

  /* The card is one column wide: over the tile's own column when the sky there is free,
     beside the tile when it is not. It follows the pointer. */
  .has-card .detail {
    position: absolute; left: 0; top: 0; z-index: 3; width: calc((100% - 8 * var(--gap)) / 9);
    margin: 0; padding: 9px 11px 10px; pointer-events: none;
    box-shadow: 0 0 0 1px var(--edge), 0 12px 22px -14px rgba(10, 34, 84, 0.4);
    transition: transform 280ms var(--ease-out);
  }
  .has-card .detail::after {
    content: ""; position: absolute; width: 9px; height: 9px; background: #fff; transform: rotate(45deg);
  }
  .has-card .detail[data-side="above"]::after { left: calc(var(--c, 20px) - 4.5px); bottom: -5px; box-shadow: 1px 1px 0 var(--edge); }
  .has-card .detail[data-side="right"]::after { left: -5px; top: calc(var(--c, 20px) - 4.5px); box-shadow: -1px 1px 0 var(--edge); }
  .has-card .detail[data-side="left"]::after { right: -5px; top: calc(var(--c, 20px) - 4.5px); box-shadow: 1px -1px 0 var(--edge); }
  .has-card .detail-name { font-size: 15px; margin-bottom: 3px; }
  .has-card .detail dl { display: block; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
  .has-card .detail dl div { display: block; }
  .has-card .detail dl div + div dd::before { content: none; }
}

/* ---------- Scene 2. The full record, as text ---------- */

.record {
  padding: clamp(56px, 8.4vw, 124px) var(--pad) clamp(56px, 6vw, 92px);
  background: var(--navy);
  color: #fff;
}
.record h2, .who h2 {
  margin: 0 0 clamp(26px, 3.2vw, 44px);
  font-size: clamp(38px, 5vw, 72px); line-height: 1.1; letter-spacing: -0.012em;
}
.controls {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 40px;
  border-bottom: 1px solid var(--rule-dark);
}
.record .f, .record .s { color: var(--on-dark); }
.record .f[aria-pressed="true"], .record .s[aria-pressed="true"] { color: #fff; }
.record .ind { background: #fff; }
.record .sw { display: none; }
@media (hover: hover) and (pointer: fine) {
  .record .f[aria-pressed="false"]:hover, .record .s[aria-pressed="false"]:hover { color: #fff; }
}

.recs { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); column-gap: clamp(32px, 5.4vw, 96px); list-style: none; margin: 0; padding: 0; }
@media (min-width: 1000px) {
  .recs { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(var(--rows, 12), auto); grid-auto-flow: column; }
}

.rec {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name exit" "date exit";
  align-items: baseline; column-gap: 16px; row-gap: 3px;
  padding: 15px 0; border-bottom: 1px solid var(--rule-dark);
}
.rec[hidden], .rec.is-cut { display: none; }
.rec-date { grid-area: date; font-size: 13.5px; color: var(--on-dark); font-variant-numeric: tabular-nums; }
.rec-name { grid-area: name; font-size: clamp(20px, 1.85vw, 26px); line-height: 1.16; font-weight: 520; letter-spacing: -0.018em; }
.rec-exit { grid-area: exit; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; text-align: right; font-size: 13.5px; }
.x-type { color: var(--on-dark); }
.x-tk { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; margin-right: -0.12em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.x-tk-v { transition: color 280ms var(--ease-out); }
.x-tk.is-turning .x-tk-v { color: #a9bde6; transition: none; }
.x-by { font-size: 14.5px; font-weight: 540; letter-spacing: -0.003em; }

@media (min-width: 640px) {
  .rec { grid-template-columns: 92px minmax(0, 1fr) auto; grid-template-areas: "date name exit"; padding: 16px 0; }
  .rec-exit { flex-direction: row; align-items: baseline; gap: 10px; }
}

/* On a phone the list opens on the six most recent. This control shows the rest in place. */
.recs-more {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; height: 52px; margin: 0; padding: 0; border: 0; border-bottom: 1px solid var(--rule-dark);
  background: none; color: #fff; font-family: inherit; font-size: 15px; font-weight: 520; text-align: left;
  cursor: pointer; touch-action: manipulation; -webkit-user-select: none; user-select: none;
}
.recs-more[hidden] { display: none; }
.recs-more .f-n { margin-right: auto; font-size: 13px; }

.note { margin: clamp(30px, 3.6vw, 48px) 0 0; max-width: 84ch; font-size: 13px; line-height: 1.6; color: var(--on-dark); text-wrap: pretty; }

/* ---------- Scene 3. Areas of Investment: a heading on the left, six ruled rows on the right ---------- */

.areas { padding: clamp(56px, 8.4vw, 124px) var(--pad); }

.split { display: grid; gap: 26px; }
.split-head h2, .approach h2 {
  margin: 0; font-size: clamp(34px, 3.8vw, 54px); line-height: 1.1; letter-spacing: -0.012em;
  text-wrap: balance;
}
.split-head p { margin: 20px 0 22px; max-width: 40ch; font-size: 16px; line-height: 1.56; color: var(--text); text-wrap: pretty; }

.split-rows { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.split-rows > * { display: grid; gap: 6px; margin: 0; padding: 20px 0 22px; border-top: 1px solid var(--line); }
/* Item headings are one face and one weight everywhere: the serif, regular. */
/* Under 32 pixels the serif is the text cut of the same Caslon, so the thin strokes hold. */
.sector-name, .st h3 { font-family: var(--serif-text); font-weight: 400; letter-spacing: -0.012em; color: inherit; }
.sector-name { margin: 0; font-size: clamp(21px, 1.7vw, 24px); line-height: 1.2; }
.sector-desc, .st p { margin: 0; max-width: 52ch; font-size: 16px; line-height: 1.56; color: var(--text); text-wrap: pretty; }

@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(32px, 4.4vw, 64px); align-items: start; }
  /* The heading keeps its place while its rows pass. */
  .split-head { position: sticky; top: 40px; margin-top: -0.14em; }
  .split-rows > * { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(24px, 3.2vw, 48px); padding: 20px 0 22px; align-items: baseline; }
  /* The six sectors stand two by three, name over description. */
  .sectors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 4.4vw, 64px); }
  .sectors > .sector { display: block; padding: 18px 0 22px; }
  .sectors .sector-name { margin-bottom: 8px; }
}

/* Under a pointer the row being read stays at full strength and the others step back. */
@media (hover: hover) and (pointer: fine) {
  .sector { transition: opacity 200ms var(--ease-out); }
  .sectors:hover .sector:not(:hover) { opacity: 0.42; }
}

/* ---------- Scene 4. Who we are: four statements set large, two by two, on the navy ---------- */

.who {
  padding: clamp(56px, 8.4vw, 124px) var(--pad) clamp(64px, 7vw, 104px);
  background: var(--navy); color: #fff;
}
.who-grid { display: grid; gap: 0 clamp(32px, 5.4vw, 96px); }
.who .st { padding: clamp(22px, 2.4vw, 32px) 0 clamp(30px, 3.6vw, 52px); border-top: 1px solid var(--rule-dark); }
.who .st h3 {
  margin: 0 0 clamp(14px, 1.6vw, 22px); max-width: 15em;
  font-size: clamp(23px, 5.8vw, 29px); line-height: 1.18;
  text-wrap: balance;
}
.who .st p { color: var(--on-dark); max-width: 46ch; }
.st p + .st-foot { margin-top: 8px; }
.who .st .st-foot { font-size: 14px; }
@media (min-width: 760px) {
  .who-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* From 34 pixels up the statements go back to the display cut. */
@media (min-width: 1100px) {
  .who .st h3 { font-family: var(--serif); font-size: clamp(34px, 3.1vw, 44px); line-height: 1.12; letter-spacing: -0.008em; }
}

/* ---------- Scene 5. Unique Approach: three columns under one rule. A short ink rule sits on
   it over the first column and slides to the column under a pointer, the way the rule under a
   chosen word does everywhere else on the site. ---------- */

.approach { padding: clamp(56px, 8.4vw, 124px) var(--pad) clamp(64px, 9vw, 136px); }
.approach h2 { margin-bottom: clamp(26px, 3.2vw, 44px); }
.approach-grid { position: relative; display: grid; gap: 0 clamp(28px, 3.4vw, 48px); }
.approach .st { padding: 20px 0 30px; border-top: 1px solid var(--line); }
.approach .st h3 { margin: 0 0 12px; font-size: clamp(22px, 1.85vw, 26px); line-height: 1.2; }
.approach .ind { display: none; }
@media (min-width: 900px) {
  .approach-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .approach .st { padding-bottom: 0; }
  .approach .ind { display: block; }
  @media (hover: hover) and (pointer: fine) {
    .approach .st { transition: opacity 200ms var(--ease-out); }
    .approach-grid:hover .st:not(:hover) { opacity: 0.5; }
  }
}

/* ---------- Closing and footer. One navy sign-off ---------- */

.close {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 26px 48px;
  padding: clamp(56px, 8.4vw, 124px) var(--pad) clamp(40px, 4.4vw, 60px);
  background: var(--navy);
  color: #fff;
}
.close h2 { margin: 0; font-size: clamp(42px, 5vw, 72px); line-height: 1.1; letter-spacing: -0.012em; }
.close-side { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; padding-bottom: 8px; }
.close-mail {
  font-size: clamp(17px, 1.5vw, 21px); font-weight: 460; letter-spacing: -0.008em; color: #fff; overflow-wrap: anywhere;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em; text-decoration-color: rgba(255, 255, 255, 0.45);
  transition: text-decoration-color 180ms var(--ease-out);
}
.cta-light { background: #fff; color: var(--navy); }
@media (hover: hover) and (pointer: fine) {
  .close-mail:hover { text-decoration-color: #fff; }
  .cta-light:hover { background: #e3eaf6; }
}

.foot {
  display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 24px 48px;
  padding: 0 var(--pad) calc(48px + env(safe-area-inset-bottom));
  background: var(--navy); color: #fff;
}
.foot::before { content: ""; flex: 0 0 100%; height: 1px; margin-bottom: 14px; background: var(--rule-dark); }
.foot-logo { height: 43px; width: auto; filter: brightness(0) invert(1); opacity: 0.96; }
.foot-legal p { margin: 0 0 6px; max-width: 72ch; font-size: 13px; line-height: 1.55; color: var(--on-dark); text-wrap: pretty; }
.foot-legal p:last-child { margin-bottom: 0; }

/* ---------- Team page (team.html). The visitor picks who they are, then meets the people ---------- */

/* Opening. The question at the left, finished by the chosen word. The answer at the right, in one column. */
.pick { display: grid; gap: clamp(26px, 3.4vw, 44px); padding: clamp(44px, 9vw, 100px) var(--pad) clamp(52px, 6vw, 88px); }
.pick-line {
  font-family: var(--serif); font-size: clamp(36px, 9.4vw, 60px); line-height: 1.1; letter-spacing: -0.012em;
  text-wrap: balance;
}
.pick-line h1 { display: inline; margin: 0; font: inherit; letter-spacing: inherit; }
.pick-word { display: none; margin: 0; white-space: nowrap; }
/* The chosen word stands on a rule, the same rule that marks the choice below. */
html.js .pick-word { display: inline-block; border-bottom: 1px solid var(--ink); }
/* That rule and the sliding rule under a choice are the two ink marks. Every other rule is the one grey. */
/* Without the script every answer shows, so the choices would do nothing. */
.pick-choose { display: none; }
html.js .pick-choose { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 34px; margin-top: clamp(22px, 2.6vw, 36px); }
.pick-label { margin: 0; font-size: 14px; font-weight: 480; color: var(--muted); }
.pick-set { gap: 0 clamp(22px, 2.4vw, 34px); }
.w { height: 46px; font-size: 16px; }
/* On a phone the four choices stay on one line. */
@media (max-width: 430px) {
  .pick-set { gap: 0 clamp(12px, 4.2vw, 18px); }
  .w { font-size: clamp(14px, 4vw, 15.5px); }
}

/* The answer stands on a ruled line, like the years on the chart's axis. */
.pick-out { border-top: 1px solid var(--line); padding-top: clamp(20px, 2.2vw, 28px); }
.ans { display: grid; gap: 14px; padding-bottom: 26px; }
.ans + .ans { padding-top: 24px; border-top: 1px solid var(--line); }
html.js .ans:not(.is-on) { display: none; }
html.js .ans + .ans { padding-top: 0; border-top: 0; }
.ans h2 { margin: 0 0 10px; font-size: 26px; line-height: 1.2; color: var(--ink); }
/* With the script on, the headline already names the choice. The heading stays for screen readers. */
html.js .ans h2 {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; opacity: 0;
}
.ans-lead {
  margin: 0; max-width: 30em;
  font-size: clamp(20px, 1.75vw, 24px); line-height: 1.3; letter-spacing: -0.016em; font-weight: 480; color: var(--ink);
  text-wrap: pretty;
}
.ans-more { margin: 0; max-width: 50ch; font-size: 16px; line-height: 1.56; color: var(--text); text-wrap: pretty; }

@media (min-width: 1000px) {
  .pick {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(40px, 5.4vw, 88px); align-items: start;
    padding-top: 100px;
    --h: min(calc((100vw - 2 * var(--pad)) / 15.2), 90px);
  }
  /* Three lines fill the left column: the question on two, the chosen word on its own. */
  .pick-line { font-size: var(--h); line-height: 1.1; }
  html.js .pick-word { display: block; width: max-content; }
  html.js .pick-choose { margin-top: clamp(26px, 2.8vw, 40px); }
  /* The rule over the answer lines up with the top of the headline's letters. */
  .pick-out { margin-top: calc(var(--h) * 0.4); }
  /* The tallest answer sets the height, so choosing never moves the page. */
  .pick-out { min-height: 348px; }
}

/* The people. The navy of the record, one tile a person, every pair of eyes on one line. */
.people .record-head {
  display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 18px 48px;
  margin-bottom: clamp(30px, 3.6vw, 52px);
}
.people h2 { margin: 0; }
/* On the team page the people and the sign-off share the navy, so one rule parts them. */
.people { padding-bottom: clamp(56px, 6vw, 88px); }
.people + .close { padding-top: 0; }
.people + .close::before { content: ""; flex: 0 0 100%; height: 1px; margin-bottom: clamp(30px, 4vw, 56px); background: var(--rule-dark); }
.people-line { margin: 0 0 12px; max-width: 31em; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.55; color: var(--on-dark); text-wrap: pretty; }
.people-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 12px;
  list-style: none; margin: 0; padding: 0;
}
@media (min-width: 760px) {
  .people-grid { gap: clamp(36px, 3.8vw, 60px) clamp(10px, 1.3vw, 20px); }
}
/* The two Managing Partners stand first, at a larger size, beside the heading. Name and title sit
   under the portrait on the same hairline and in the same type as everyone else's. */
.people-lead {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 12px;
  list-style: none; margin: 0 0 30px; padding: 0;
}
.people-lead .mate-frame { aspect-ratio: 4 / 5; }
@media (min-width: 760px) {
  .people-lead { column-gap: clamp(10px, 1.3vw, 20px); margin-bottom: clamp(36px, 3.8vw, 60px); }
  .people-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .people-top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(10px, 1.3vw, 20px); align-items: start; }
  .people .people-top .record-head { display: block; margin: 0; padding-right: 12px; }
  .people-top .people-line { margin-top: clamp(18px, 2vw, 28px); }
  .people-top .people-lead { grid-column: 2 / span 2; }
}
.mate { margin: 0; }
.mate-frame { aspect-ratio: 17 / 20; overflow: hidden; border-radius: var(--r); background: linear-gradient(180deg, #eef1f6 0%, #dfe5ee 100%); }
/* Every portrait is set in black and white with a faint cool cast in the shadows, so the face is the
   lightest thing in its tile. Each is zoomed and nudged (the values are in build.py) so every pair
   of eyes sits on one line. */
.mate-frame img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top;
  filter: url(#tone);
  transform-origin: 50% 0;
  transform: translate(var(--x, 0%), var(--y, 0%)) scale(var(--z, 1));
}
.mate figcaption { display: grid; gap: 4px; margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--rule-dark); }
.mate-name { font-size: 16px; line-height: 1.2; font-weight: 520; letter-spacing: -0.014em; }
@media (min-width: 760px) { .mate-name { font-size: clamp(15px, 1.45vw, 19px); } }
.mate-role { font-size: 13.5px; line-height: 1.35; color: var(--on-dark); }

/* ---------- Reduced motion keeps every change and drops the movement ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile, .cta, .cta .ico, .ind, .has-card .detail, .sector, .x-tk-v, .legend .f-n,
  .nav a::after, .nav a.portal .ico, .f, .s, .w, .yr-label, .close-mail { transition-duration: 1ms !important; }
  .cta, .cta .ico, .nav a.portal .ico { transform: none !important; }
}
