@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/InstrumentSerif-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #002147;
  --blue: #1D4E89;
  --pale: #9FC3D9;
  --paper: #F4F0E6;
  --stone: #B9B4A6;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --pad: clamp(18px, 3vw, 44px);
  --S: min(100svh, 62vw);      /* side of the square stage */
  --bolt: .25;                 /* bolt-on corner as a fraction of the stage */
}

* { box-sizing: border-box; margin: 0; }
html, body { background: var(--paper); }
body { color: var(--ink); font-family: var(--sans); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

.hero {
  position: relative;
  height: 100svh; min-height: 560px;
  overflow: hidden;
  background: var(--paper);
}

/* ---------- logo ---------- */
.top { position: absolute; left: var(--pad); top: clamp(20px, 2.4vw, 34px); z-index: 3; }
.logo img { display: block; height: clamp(24px, 2.1vw, 32px); width: auto; }

/* ---------- the stage: footage cut into nested right angles ---------- */
.stage {
  position: absolute; top: 0; right: 0;
  width: var(--S); height: var(--S);
  touch-action: pan-y;
}
.film, .cut { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.film { object-fit: cover; filter: grayscale(1) contrast(1.1); }
.cut { background: var(--paper); cursor: pointer; }

/* the bolt-on: the corner piece of the mark, and it is the menu */
.bolt {
  position: absolute; top: 0; right: 0;
  width: calc(var(--S) * var(--bolt)); height: calc(var(--S) * var(--bolt));
  background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(10px, 1.5vw, 22px);
  gap: clamp(1px, .35vw, 6px);
  transition: background .3s ease;
}
.bolt a {
  position: relative; align-self: flex-start;
  font-size: clamp(10.5px, .86vw, 13px); font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; line-height: 1.5;
  white-space: nowrap;
}
.bolt a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--paper); transform: scaleX(0); transform-origin: left;
  transition: transform .25s cubic-bezier(.2,.8,.2,1);
}
.bolt a:hover::after, .bolt a:focus-visible::after { transform: scaleX(1); }

/* ---------- words ---------- */
.words {
  position: absolute; left: var(--pad); bottom: var(--pad); z-index: 2;
  width: calc(100vw - var(--S) - var(--pad) * 2);
}
.title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(38px, 4.55vw, 84px);
  line-height: .98; letter-spacing: -.02em;
  text-wrap: balance;
}
.title em { font-style: normal; color: var(--blue); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 2.6vw, 40px); }
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  height: 52px; padding: 0 22px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  white-space: nowrap;
  border: 1.5px solid var(--ink);
  transition: background .2s ease, color .2s ease;
}
.btn i { font-style: normal; font-size: 16px; line-height: 1; transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.btn:hover i, .btn:focus-visible i { transform: translate(3px, -3px); }
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover, .btn-solid:focus-visible { background: var(--blue); border-color: var(--blue); }
.btn-line:hover, .btn-line:focus-visible { background: var(--ink); color: var(--paper); }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ---------- entrance ---------- */
@media (prefers-reduced-motion: no-preference) {
  .bolt  { animation: slot 1.1s cubic-bezier(.2,.8,.2,1) .1s both; }
  .title { animation: rise .9s cubic-bezier(.2,.8,.2,1) .25s both; }
  .actions { animation: rise .9s cubic-bezier(.2,.8,.2,1) .4s both; }
  @keyframes slot { from { transform: translate(40%, -40%); opacity: 0; } to { transform: none; opacity: 1; } }
  @keyframes rise { from { transform: translateY(22px); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* ---------- phone: header strip, square, words ---------- */
@media (max-width: 820px) {
  :root { --S: 100vw; --bolt: .4; }
  .hero { height: auto; min-height: 100svh; display: flex; flex-direction: column; overflow: visible; }
  .top { position: static; padding: 18px var(--pad); }
  .stage { position: relative; flex: none; }
  .words { position: static; width: auto; padding: 26px var(--pad) 30px; margin-top: auto; }
  .title { font-size: clamp(34px, 10.4vw, 64px); }
  .btn { height: 48px; padding: 0 16px; gap: 10px; font-size: 11.5px; }
  .actions { gap: 10px; }
}

/* ---------- below the hero: four picture tiles and a text panel ---------- */
.more { display: grid; grid-template-columns: 1fr 1fr; background: #ECE7DB; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; }
.tile {
  position: relative; display: block; aspect-ratio: 1; overflow: hidden;
  color: var(--paper); background: var(--ink);
}
.tile-2 { background: var(--blue); }
.tile-3 { background: var(--blue); }
.tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.08);
  transition: transform .9s cubic-bezier(.2,.8,.2,1);
}
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, 0) 55%);
}
.tile span, .tile i { position: absolute; z-index: 2; bottom: clamp(18px, 2.6vw, 44px); }
.tile span {
  left: clamp(16px, 2.6vw, 44px); right: clamp(40px, 5vw, 84px);
  font-family: var(--serif); font-size: clamp(22px, 2.3vw, 38px); line-height: 1.05; letter-spacing: -.01em;
}
.tile i {
  right: clamp(16px, 2.6vw, 44px);
  font-style: normal; font-size: clamp(24px, 2.3vw, 38px); line-height: 1.05;
  transition: transform .25s cubic-bezier(.2,.8,.2,1);
}
.tile:hover img, .tile:focus-visible img { transform: scale(1.06); }
.tile:hover i, .tile:focus-visible i { transform: translateX(6px); }

.more-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(32px, 7vw, 120px) clamp(20px, 6vw, 110px);
}
.eyebrow {
  font-size: clamp(11.5px, .95vw, 14px); font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: clamp(14px, 1.6vw, 26px);
}
.lede {
  font-family: var(--serif); font-size: clamp(28px, 3vw, 52px); line-height: 1.12; letter-spacing: -.015em;
  color: var(--ink); max-width: 17em; text-wrap: balance;
}
@media (max-width: 820px) {
  .more { grid-template-columns: 1fr; }
  .more-text { padding: 44px var(--pad) 56px; }
}

/* ---------- section-by-section scrolling (desktop) ----------
   The hero is fixed behind the page; an empty spacer of the same height holds its place in
   the scroll, and the next section slides up over it. The page settles on one section at a
   time. (The hero itself is not a snap point: a pinned element as a snap point makes
   scrolling back up stutter.) */
.hero-space { display: none; }
@media (min-width: 821px) {
  html { scroll-snap-type: y mandatory; }
  .hero { position: fixed; top: 0; left: 0; right: 0; z-index: 0; }
  .hero-space { display: block; height: 100svh; scroll-snap-align: start; }
  .more { position: relative; z-index: 5; min-height: 100svh; scroll-snap-align: start; }
  .tiles { grid-template-rows: 1fr 1fr; }
  .tile { aspect-ratio: auto; }
}
@media (min-width: 821px) and (prefers-reduced-motion: reduce) {
  html { scroll-snap-type: none; }
}

/* ---------- the menu box stays top right on every section (desktop) ----------
   A page-level copy of the box sits exactly over the one in the hero, above all sections.
   Past the hero it also shows the logo, in white. */
.dock { display: none; }
@media (min-width: 821px) {
  .dock {
    position: fixed; top: 0; right: 0; z-index: 20;
    width: calc(var(--S) * var(--bolt)); height: calc(var(--S) * var(--bolt));
    background: var(--ink); color: var(--paper);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: clamp(10px, 1.5vw, 22px); gap: clamp(1px, .35vw, 6px);
  }
  .dock a {
    position: relative; align-self: flex-start;
    font-size: clamp(10.5px, .86vw, 13px); font-weight: 600;
    letter-spacing: .13em; text-transform: uppercase; line-height: 1.5; white-space: nowrap;
  }
  .dock a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
    background: var(--paper); transform: scaleX(0); transform-origin: left;
    transition: transform .25s cubic-bezier(.2,.8,.2,1);
  }
  .dock a:hover::after, .dock a:focus-visible::after { transform: scaleX(1); }
  .dock a.dock-logo::after { display: none; }
  .dock-logo img { display: block; width: 100%; max-width: 190px; height: auto; }
  .dock a.dock-logo {
    align-self: stretch; margin-bottom: auto;
    opacity: 0; transform: translateY(-8px); pointer-events: none;
    transition: opacity .35s ease, transform .45s cubic-bezier(.2,.8,.2,1);
  }
  .past-hero .dock a.dock-logo { opacity: 1; transform: none; pointer-events: auto; }
}
@media (min-width: 821px) and (prefers-reduced-motion: no-preference) {
  .dock { animation: slot 1.1s cubic-bezier(.2,.8,.2,1) .1s both; }
}
.still .dock { animation: none !important; }

.still .bolt, .still .title, .still .actions { animation: none !important; }

/* longer menu labels may wrap onto a second line */
.bolt a, .dock a { white-space: normal; }

/* ---------- What we do ----------
   One navy slide, everything centred: a four-scene story drawn on a full-bleed canvas, and under
   it the words. In the story a buyer is a FRAME (the logo's open square; the gap is its strategy)
   and a company is a small PIECE; "You" is the one pale piece that completes a frame. Each scene's
   sentence comes up big in the serif, then shrinks into the paragraph below, which grows by one
   sentence per scene (the newest one is emphasised). When the mark is complete the headline takes
   the big line. What this block shows without the script is the resting state: mark, headline,
   full paragraph (the finished mark is as tall as .what-stage). All drawing and timing is in the inline script (render(t)); .what-stage is only
   the measured box the story is laid out in. */
section.what {
  position: relative; z-index: 5; overflow: hidden;
  background: var(--ink); color: var(--paper); text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.what .eyebrow { margin: 0; color: var(--pale); z-index: 1; }
.what-stage { width: 100%; }
.wf-c { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.wf-you {
  position: absolute; left: 0; top: 0; opacity: 0; pointer-events: none;
  font-size: clamp(10.5px, .86vw, 13px); font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  line-height: 1; color: var(--pale); white-space: nowrap;
}
.wf-buyer { color: var(--paper); white-space: normal; text-align: left; line-height: 1.3; }
.what-text { position: relative; z-index: 1; flex: none; width: 100%; padding: 0 var(--pad); }
.what-big { display: grid; align-items: center; justify-items: center; }
.what-big > * { grid-area: 1 / 1; margin: 0; font-family: var(--serif); font-weight: 400; text-wrap: balance; }
.what-say { font-size: clamp(27px, 3.4vw, 60px); line-height: 1.04; letter-spacing: -.015em; opacity: 0; will-change: transform, opacity; }
.what-title { font-size: clamp(38px, 4.55vw, 84px); line-height: .98; letter-spacing: -.02em; color: var(--paper); }   /* the hero headline's size */
.what-title em { font-style: normal; color: var(--pale); }
.what-para {
  margin: clamp(10px, 1.9vh, 20px) auto 0; max-width: 34em;
  font-size: clamp(15px, 1.15vw, 17px); line-height: 1.5; color: rgba(244, 240, 230, .78);
}
.what-para { position: relative; }
.what-para span span { display: inline-block; will-change: transform; }
.what-para > span.on { color: var(--paper); -webkit-text-stroke: .55px currentColor; }   /* the newest sentence: bold without moving the lines */
@media (min-width: 821px) {
  section.what { height: 100svh; min-height: 520px; scroll-snap-align: start; padding: clamp(30px, 6.6vh, 60px) 0; }   /* the same space above the mark and under the paragraph */
  .what .eyebrow { position: absolute; left: var(--pad); top: clamp(26px, 2.9vw, 42px); }
  .what-stage { flex: 1 1 0; min-height: 0; margin-bottom: clamp(22px, 5.6vh, 52px); }
}
@media (max-width: 820px) {
  section.what { padding: 86px 0 56px; }
  .what .eyebrow { align-self: flex-start; margin: 0 var(--pad) 18px; }
  .what-stage { height: 100vw; margin-bottom: 26px; }
  .what-say { font-size: clamp(27px, 8vw, 44px); }
  .what-title { font-size: clamp(38px, 11.5vw, 64px); }
  .what-para { font-size: 16px; margin-top: 20px; }
}

/* ---------- Our people ----------
   Each portrait is cut like the logo: the picture, and a corner piece that hangs off it.
   At rest the picture carries a navy wash and the corner piece a pale one; on hover (or, on
   touch screens, when it scrolls into view) the piece bolts on, the gap closes and the
   washes lift, leaving one clean black-and-white portrait. */
.people {
  position: relative; z-index: 5;
  display: flex; flex-direction: column; justify-content: space-between; gap: clamp(28px, 4vh, 56px);
  padding: clamp(36px, 6vh, 72px) var(--pad) clamp(28px, 5vh, 56px);
  background: var(--paper); color: var(--ink);
}
.people-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(30px, 3.4vw, 60px); line-height: 1.06; letter-spacing: -.018em;
  max-width: 14em; text-wrap: balance;
}
.people-title:empty {
  height: 1.1em; width: min(70%, 9em);
  background: linear-gradient(rgba(0,33,71,.16), rgba(0,33,71,.16)) 0 .12em / 100% .78em no-repeat;
}
.people-row {
  --P: min(24vw, 29vh, calc((100vw - 250px - var(--pad) - 8vw) / 3.15));
  display: grid; grid-template-columns: repeat(3, var(--P)); justify-content: start; gap: clamp(20px, 4vw, 64px); align-items: end;
}
/* the rest of the team, smaller */
.people-more { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: clamp(10px, 1.6vh, 18px) clamp(8px, 1.2vw, 20px); max-width: calc(100vw - 2 * var(--pad)); }
.people-more .person figcaption { padding-top: 8px; gap: 4px; min-height: 0; }
.people-more .p-name { font-size: clamp(13px, 1.1vw, 17px); }
.people-more .p-role { font-size: 9.5px; }
.person { margin: 0; }
.portrait { position: relative; width: 100%; aspect-ratio: 1; }
.pf, .pp { position: absolute; inset: 0; transition: clip-path .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.pf img, .pp img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06); }
/* the picture, with the corner cut away (a little wider than the piece, so paper shows as a gap) */
.pf { clip-path: polygon(0 0, 55.5% 0, 55.5% 14.5%, 85.5% 14.5%, 85.5% 44.5%, 100% 44.5%, 100% 100%, 0 100%); }
/* the corner piece: the logo's M58 0H100V42H88V12H58Z */
.pp { clip-path: polygon(58% 0, 100% 0, 100% 42%, 88% 42%, 88% 12%, 58% 12%); transform: translate(4.5%, -4.5%); }
.pf::after, .pp::after {
  content: ""; position: absolute; inset: 0; mix-blend-mode: multiply;
  transition: opacity .6s ease;
}
.pf::after { background: var(--ink); opacity: .62; }
.pp::after { background: var(--pale); opacity: 1; }
.person:hover .pf, .person:focus-within .pf, .person.in .pf {
  /* joined: the picture is whole again underneath the piece, so no seam shows */
  clip-path: polygon(0 0, 100% 0, 100% 0, 100% 0, 100% 0, 100% 0, 100% 100%, 0 100%);
}
.person:hover .pp, .person:focus-within .pp, .person.in .pp { transform: none; }
.person:hover .pf::after, .person:focus-within .pf::after, .person.in .pf::after,
.person:hover .pp::after, .person:focus-within .pp::after, .person.in .pp::after { opacity: 0; }
.person figcaption { display: flex; flex-direction: column; gap: 6px; padding-top: clamp(12px, 1.4vw, 20px); min-height: 3.6em; }
.p-name { font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 1.9vw, 30px); line-height: 1.1; }
.p-role { font-size: clamp(10.5px, .86vw, 13px); font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--blue); }
.p-name:empty { display: block; height: .7em; width: 58%; background: rgba(0,33,71,.16); }
.p-role:empty { display: block; height: .7em; width: 36%; background: rgba(0,33,71,.1); }
@media (prefers-reduced-motion: reduce) { .pf, .pp, .pf::after, .pp::after { transition: none; } }
@media (min-width: 821px) {
  .people { min-height: 100svh; scroll-snap-align: start; }
}
/* people-fit: on desktop the section is exactly one screen. Every vertical size is a share of
   the window height (portraits are also capped by the width), so nothing can push it taller. */
@media (min-width: 821px) {
  .people { height: 100svh; min-height: 0; padding: 4.5vh var(--pad) 3.5vh; gap: 0; justify-content: space-between; overflow: hidden; }
  .people-row { --P: min(24vw, calc((100vw - 250px - var(--pad) - 8vw) / 3.15), 32vh); align-items: start; margin-top: 1.5vh; }
  .people-row .person figcaption { padding-top: 1.4vh; gap: .6vh; min-height: 0; }
  .people-row .p-name { font-size: min(1.9vw, 3.4vh); }
  .people-row .p-role { font-size: min(.86vw, 1.5vh); line-height: 1.3; white-space: nowrap; }
  .people-more { --s: 16vh; grid-template-columns: repeat(10, minmax(0, var(--s))); justify-content: space-between; row-gap: 1.6vh; margin-top: 1.5vh; }
  .people-more .person figcaption { padding-top: .9vh; gap: .4vh; }
  .people-more .p-name { font-size: min(1.1vw, 1.9vh); }
  .people-more .p-role { font-size: min(9.5px, 1.15vh); line-height: 1.3; }
}
@media (max-width: 820px) {
  .people { padding: 44px var(--pad) 48px; gap: 28px; }
  .people-row { --P: 100%; grid-template-columns: 1fr; gap: 36px; max-width: 420px; }
}

/* ---------- phone fixes ---------- */
.dock-toggle { display: none; }
@media (min-width: 821px) { .dock-links { display: contents; } }
@media (max-width: 820px) {
  /* no blank band between the footage and the headline */
  .hero { min-height: 0; }
  .words { margin-top: 0; }
  /* long tile labels: smaller type and more room, so they take two lines not three */
  .tile span { font-size: 18px; right: 30px; }
  .tile i { font-size: 20px; right: 12px; }
  /* past the first screen, a slim bar keeps the logo (in white) and the menu to hand */
  .dock {
    display: flex; align-items: center; justify-content: space-between;
    position: fixed; top: 0; left: 0; right: 0; z-index: 20;
    height: 54px; padding: 0 var(--pad);
    background: var(--ink); color: var(--paper);
    transform: translateY(-100%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
  }
  .past-hero .dock { transform: none; }
  .dock-logo { display: block; }
  .dock-logo img { display: block; height: 22px; width: auto; }
  .dock-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; margin-right: -8px; padding: 0 8px;
    background: none; border: 0; cursor: pointer;
  }
  .dock-toggle i { display: block; height: 2px; background: var(--paper); transition: transform .25s ease; }
  .dock.open .dock-toggle i:first-child { transform: translateY(4px) rotate(45deg); }
  .dock.open .dock-toggle i:last-child { transform: translateY(-4px) rotate(-45deg); }
  .dock-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; padding: 6px var(--pad) 20px;
    background: var(--ink);
  }
  .dock.open .dock-links { display: flex; }
  .dock-links a {
    padding: 11px 0; font-size: 13px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
    border-top: 1px solid rgba(244, 240, 230, .18);
  }
}
@media (max-width: 820px) and (prefers-reduced-motion: reduce) { .dock { transition: none; } }

/* phone: the first-screen menu box is a little wider and its type a little tighter,
   so every menu item stays on one line */
@media (max-width: 820px) {
  :root { --bolt: .46; }
  .bolt a { font-size: 10px; letter-spacing: .08em; white-space: nowrap; }
}

/* desktop: menu items stay on one line (the box is sized to fit them, see index.html) */
@media (min-width: 821px) {
  .bolt a, .dock a { white-space: nowrap; }
  .dock-logo img { max-width: 170px; }
}

@media (max-width: 820px) {
  .people-more { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; margin-top: 12px; }
}

/* ---------- Sub pages (Acquire companies, Sell your company) ----------
   Ordinary scrolling pages in the same language as the home page: paper, navy serif, the
   notched picture with its corner piece, and the fixed menu box. */
html.sub { scroll-snap-type: none; }
.sp { background: var(--paper); color: var(--ink); }
.slot { display: block; margin: 0; }
.slot.h { height: 1.1em; width: min(100%, 9em); background: linear-gradient(rgba(0,33,71,.16), rgba(0,33,71,.16)) 0 .16em / 100% .78em no-repeat; }
.slot.l1, .slot.l2, .slot.l3 { font-size: clamp(15px, 1.15vw, 18px); width: min(100%, 30em);
  background:
    linear-gradient(rgba(0,33,71,.1), rgba(0,33,71,.1)) 0 .3em / 100% .55em no-repeat,
    linear-gradient(rgba(0,33,71,.1), rgba(0,33,71,.1)) 0 1.55em / 92% .55em no-repeat,
    linear-gradient(rgba(0,33,71,.1), rgba(0,33,71,.1)) 0 2.8em / 55% .55em no-repeat; }
.slot.l1 { height: 1.1em; } .slot.l2 { height: 2.3em; } .slot.l3 { height: 3.6em; }
.slot.s { width: 45%; }
.slot.lede3 { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 38px); height: 3.5em; width: min(100%, 17em);
  background:
    linear-gradient(rgba(0,33,71,.16), rgba(0,33,71,.16)) 0 .2em / 100% .7em no-repeat,
    linear-gradient(rgba(0,33,71,.16), rgba(0,33,71,.16)) 0 1.4em / 88% .7em no-repeat,
    linear-gradient(rgba(0,33,71,.16), rgba(0,33,71,.16)) 0 2.6em / 48% .7em no-repeat; }

.sp-head { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: 100svh; }
.sp-logo { position: absolute; left: var(--pad); top: clamp(20px, 2.4vw, 34px); z-index: 3; }
.sp-logo img { display: block; height: clamp(26px, 2.4vw, 38px); width: auto; }
.sp-head-text { display: flex; flex-direction: column; justify-content: flex-end; gap: clamp(18px, 3vh, 32px); padding: 18vh clamp(20px, 3vw, 44px) clamp(36px, 7vh, 80px) var(--pad); }
.sp-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: min(7.6vw, 15vh); line-height: .96; letter-spacing: -.025em; text-wrap: balance; }
.sp-head-fig { --P: min(36vw, 62vh); display: flex; align-items: center; justify-content: center; padding-right: 15vw; background: #ECE7DB; }
.sp-head-fig .person { width: var(--P); transform: translateY(5%); }

.sp-sec { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 64px); padding: clamp(48px, 10vh, 120px) var(--pad); border-top: 1.5px solid rgba(0, 33, 71, .18); }
.sp-sec-head { display: flex; flex-direction: column; gap: 14px; }
.sp-sec-head b { font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 1.9vw, 30px); color: var(--blue); }
.sp-sec-head .slot.h { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 60px); height: 2.2em;
  background:
    linear-gradient(rgba(0,33,71,.16), rgba(0,33,71,.16)) 0 .12em / 100% .78em no-repeat,
    linear-gradient(rgba(0,33,71,.16), rgba(0,33,71,.16)) 0 1.2em / 62% .78em no-repeat; }
.sp-sec-body { display: flex; flex-direction: column; gap: clamp(18px, 3vh, 30px); }
.sp-list { list-style: none; margin: 0; padding: 0; max-width: 36em; }
.sp-list li { padding: clamp(14px, 1.4vw, 22px) 0; border-top: 1.5px solid rgba(0, 33, 71, .18); }
.sp-list li:last-child { border-bottom: 1.5px solid rgba(0, 33, 71, .18); }
.sp-list li::before { content: ""; display: block; height: .6em; width: 64%; background: rgba(0,33,71,.1); }
.sp-list li:nth-child(2)::before { width: 82%; } .sp-list li:nth-child(3)::before { width: 52%; } .sp-list li:nth-child(4)::before { width: 72%; }
.sp-contact { display: flex; flex-direction: column; gap: 8px; align-self: start; }
.sp-contact img { display: block; width: 100%; max-width: 200px; aspect-ratio: 1; object-fit: cover; filter: grayscale(1) contrast(1.06); margin-bottom: 8px; }

.sp-ind { padding: clamp(48px, 10vh, 120px) var(--pad); background: var(--ink); color: var(--paper); }
.sp-ind .eyebrow { color: var(--pale); }
.sp-ind ul { list-style: none; margin: 0; padding: 0; }
.sp-ind a { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: clamp(14px, 2.4vh, 26px) 0; border-top: 1.5px solid rgba(244, 240, 230, .22); color: inherit; text-decoration: none;
  font-family: var(--serif); font-size: clamp(28px, 4.2vw, 68px); line-height: 1.05; letter-spacing: -.02em; transition: color .3s ease, padding-left .4s cubic-bezier(.2,.8,.2,1); }
.sp-ind li:last-child a { border-bottom: 1.5px solid rgba(244, 240, 230, .22); }
.sp-ind a i { font-style: normal; color: var(--pale); }
.sp-ind a:hover { color: var(--pale); padding-left: 14px; }

.sp-deals { padding: clamp(48px, 10vh, 120px) var(--pad); background: #ECE7DB; }
.sp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.sp-deal { display: flex; flex-direction: column; gap: 14px; padding: clamp(18px, 2vw, 30px); background: var(--paper); min-height: clamp(180px, 30vh, 280px); }
.sp-deal svg { width: 30px; height: 30px; margin-bottom: auto; overflow: visible; fill: var(--ink); }
.sp-deal svg .pc { fill: var(--pale); transform: translate(10%, -10%); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.sp-deal:hover svg .pc { transform: none; }

.sp-next { padding: clamp(56px, 14vh, 160px) var(--pad) clamp(36px, 7vh, 80px); background: var(--blue); color: var(--paper); }
.sp-next a { color: inherit; text-decoration: none; }
.sp-next-main { display: inline-flex; align-items: baseline; gap: .3em; font-family: var(--serif); font-size: min(9vw, 16vh); line-height: 1; letter-spacing: -.025em; }
.sp-next-main i { font-style: normal; color: var(--pale); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.sp-next-main:hover i { transform: translateX(.15em); }
.sp-next p { display: flex; gap: 28px; margin: clamp(28px, 6vh, 64px) 0 0; font-size: clamp(11.5px, .95vw, 14px); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.dock-links a[aria-current="page"] { color: var(--pale); }
@media (max-width: 820px) {
  .sp-head { grid-template-columns: 1fr; min-height: 0; }
  .sp-logo { display: none; }
  .sp-head-text { padding: 96px var(--pad) 40px; }
  .sp-title { font-size: 15vw; }
  .sp-head-fig { --P: 66vw; padding: 56px 0 56px; }
  .sp-head-fig .person { transform: none; }
  .sp-sec { grid-template-columns: 1fr; }
  .sp-contact { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .sp-contact img { max-width: 96px; margin: 0 12px 0 0; }
  .sp-contact .p-name, .sp-contact .p-role { flex: 1 1 30%; }
  .sp-grid { grid-template-columns: 1fr 1fr; }
  .sp-next-main { font-size: 12vw; }
}
@media (min-width: 821px) {
  /* keep content clear of the fixed menu box */
  .sp-sec, .sp-ind, .sp-deals, .sp-next { padding-right: max(18vw, 250px); }
}

/* ---------- Sell your company / Acquire companies: blank sections for now ---------- */
.blank { position: relative; z-index: 5; min-height: 70svh; padding: clamp(36px, 6vh, 72px) var(--pad); background: var(--paper); color: var(--ink); }
.blank-alt { background: #ECE7DB; }
@media (min-width: 821px) { .blank { height: 100svh; min-height: 0; scroll-snap-align: start; padding-top: 4.5vh; } }
.blank-sub { margin-top: clamp(16px, 2.6vh, 28px); max-width: 30em; font-size: clamp(16px, 1.35vw, 21px); line-height: 1.5; color: var(--ink); }
.blank-split .lede { font-weight: 400; }
@media (min-width: 821px) { .blank.blank-split { display: grid; grid-template-columns: 1fr 1fr; padding: 0; } }
@media (max-width: 820px) { .blank.blank-split { padding: 0; min-height: 0; } }
/* the label sits where every section label sits (top left, as on Our people) */
@media (min-width: 821px) { .blank-eyebrow { position: absolute; top: 4.5vh; left: var(--pad); margin: 0; } }
@media (max-width: 820px) { .blank-eyebrow { padding: 36px var(--pad) 0; margin: 0; } .blank-split .more-text { padding-top: 22px; } }
/* Sell your company: same split as Industry Reports (picture left, text right). The picture is
   one strict four-by-four grid: all twelve portraits, each cropped to the same head size and eye
   line and quiet under the navy of Our people, set in a right angle around a flat navy square.
   One person at a time is uncovered, and the square gives their industry, name and line.
   Everything moves as one wipe from the left: the navy returns over the last portrait and
   leaves the next, the last name is wiped away and the next follows it in. */
.sell .lede { font-weight: 400; }
.xgrid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--ink); }
.xp { cursor: pointer; }
.xp:nth-child(10), .xp:nth-child(12) { grid-column: 3; }
.xph { position: relative; aspect-ratio: .84; overflow: hidden; background: var(--ink); }
.xph img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: grayscale(1) contrast(1.06); }
.xph::after { content: ""; position: absolute; inset: 0; background: var(--ink); opacity: .7; }
.xp.on .xph::after { clip-path: inset(0 0 0 100%); animation: x-clear .8s cubic-bezier(.2,.8,.2,1); }
.xp.off .xph::after { animation: x-cover .8s cubic-bezier(.2,.8,.2,1); }
.xc { position: absolute; left: 0; bottom: 0; width: 50%; height: 50%; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 16px var(--pad); background: var(--ink); color: var(--paper); clip-path: inset(0 100% 0 0); }
.xp.off .xc { animation: x-out .8s cubic-bezier(.2,.8,.2,1); }
.xp.on .xc { clip-path: inset(0); animation: x-in .8s cubic-bezier(.2,.8,.2,1) .12s backwards; }
.xi { font-size: 9px; line-height: 1.35; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pale); }
.xn { margin-top: .3em; font-family: var(--serif); font-weight: 400; font-size: 25px; line-height: 1.05; letter-spacing: -.01em; }
.xd { margin-top: .6em; font-size: 12.5px; line-height: 1.4; opacity: .86; }
@keyframes x-clear { from { clip-path: inset(0); } to { clip-path: inset(0 0 0 100%); } }
@keyframes x-cover { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes x-out { from { clip-path: inset(0); } to { clip-path: inset(0 0 0 100%); } }
@keyframes x-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@media (min-width: 821px) {
  .xgrid { grid-template-rows: repeat(4, minmax(0, 1fr)); }
  .xph { aspect-ratio: auto; height: 100%; }
  .xc { padding: clamp(18px, 2.6vw, 44px) clamp(16px, 2.6vw, 44px); }
  .xi { font-size: clamp(9.5px, min(.86vw, 1.5vh), 13px); letter-spacing: .14em; }
  .xn { font-size: clamp(22px, min(2.6vw, 4.6vh), 44px); }
  .xd { font-size: clamp(12px, min(1.05vw, 1.9vh), 16px); line-height: 1.45; }
}
@media (prefers-reduced-motion: reduce) { .xp .xph::after, .xp .xc { animation: none !important; } }
/* the fixed line at the top of the navy square, always on one line (sized from the square's
   width); only the person's caption below it changes */
.xhead { position: absolute; z-index: 2; left: 0; top: 50%; width: 50%; margin: 0; pointer-events: none;
  padding: 18px var(--pad) 0; font-family: var(--serif); font-weight: 400; font-size: calc((50vw - 2 * var(--pad)) / 7.9); line-height: 1.04; letter-spacing: -.015em; color: var(--paper); white-space: nowrap; }
.xn { font-size: 17px; }
@media (min-width: 821px) {
  .xhead { padding: clamp(18px, 2.6vw, 44px) clamp(16px, 2.6vw, 44px) 0; font-size: calc((25vw - 2 * clamp(16px, 2.6vw, 44px)) / 7.9); }
  .xn { font-size: clamp(18px, min(1.9vw, 3.4vh), 32px); }
}

/* ---------- Acquire companies: split left / right like Sell; the left half is blank for now ---------- */
.acq-left { display: none; }
.acq .lede { font-weight: 400; }
@media (min-width: 821px) {
  .blank.acq { display: grid; grid-template-columns: 1fr 1fr; padding: 0; }
  .acq-left { display: block; background: #ECE7DB; }
}
@media (max-width: 820px) { .blank.acq { padding: 0; min-height: 0; } }
