/* Cello Capital: the one stylesheet for every page.
 *
 * Layout model: a copy of the Squarespace "fluid engine" the site was designed in. Each section holds one grid
 * (.g): 8 columns on mobile, 24 on tablet and desktop, plus a gutter column each side, 11px gaps. Each block
 * (.b) gets its place from two custom properties set in the placements part at the bottom of this file:
 * --m (mobile grid-area) and --d (desktop grid-area), and --t when the tablet layout differs. A block copied
 * from Squarespace keeps the grid-area numbers Squarespace shows in its page source.
 *
 * Breakpoints: mobile < 700px, tablet 700-1099px, desktop >= 1100px.
 * Sizes and colours are the values measured on the live site (docs/phase0-notes.md).
 */

/* ---------- Fonts ---------- */
/* Roboto 3.015 variable, latin, SIL OFL 1.1 (assets/fonts/OFL.txt). This is the unhinted file Google Fonts serves
 * to macOS and the one Squarespace serves to everyone. Google sends Windows a hinted file whose stems snap to whole
 * pixels and render visibly heavier, so it is self-hosted rather than linked. A new file needs a new name (immutable). */
@font-face {
  font-family: "Roboto";
  src: url("/assets/fonts/roboto-v51-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Arial resized to Roboto's metrics, so text does not reflow when Roboto arrives. */
@font-face {
  font-family: "Roboto Fallback";
  src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Helvetica");
  ascent-override: 92.49%;
  descent-override: 24.34%;
  line-gap-override: 0%;
  size-adjust: 100.3%;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --accent: rgb(46, 57, 138);
  --dark: rgb(31, 33, 34);
  --black: rgb(1, 5, 14);
  --light: rgb(238, 239, 242);
  --white: #fff;
  --font: "Roboto", "Roboto Fallback", sans-serif;
  --gap: 11px;
  /* Header height: the logo plus 6vw (mobile) or 2vw (tablet, desktop) above and below. */
  --header-h: calc(12vw + 37px);
}
@media (min-width: 700px) {
  :root { --header-h: calc(4vw + 50px); }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  /* As on the live site: lighter text on macOS (no effect on Windows). */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--p);
  background: var(--white);
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

/* Type scale. --v is the Squarespace size in rem; the formulas are Squarespace's own (see the notes). */
h1, h2, h3, h4, .h2-style, .h3-style, .h4-style, .lg, .sm, .btn { font-size: calc((var(--v) - 1) * 0.012 * min(100vh, 900px) + 1rem); }
@media (min-width: 700px), (orientation: landscape) {
  h1, h2, h3, h4, .h2-style, .h3-style, .h4-style, .lg, .sm, .btn {
    font-size: min(calc((var(--v) - 1) * 1.2vw + 1rem), max(calc((var(--v) - 1) * 0.012 * 1400px + 1rem), calc(var(--v) * 1rem)));
  }
}
/* Visual level and document level differ in places: section labels are h2 drawn as Squarespace "h4", and
   big statements are paragraphs drawn as "h2". .h2-style and .h4-style carry the look without the level. */
h1 { --v: 4; } h2, .h2-style { --v: 2.5; } h3, .h3-style { --v: 1.6; } h4, .h4-style { --v: 1.4; }
.lg { --v: 1.2; } .sm { --v: 0.9; } .btn { --v: 1; } /* buttons 16px from the live 0.8 (Derek 11-10: bigger, more prominent) */
h1, h2, h3, h4, .h2-style, .h3-style, .h4-style {
  margin: 2rem 0;
  font-weight: 400;
  letter-spacing: 0;
  line-height: calc(1.2 * (1 + (1 - var(--v)) / 25));
  color: var(--h);
}
h4, .h4-style { letter-spacing: 0.2rem; text-transform: uppercase; color: var(--h4); }
.center { text-align: center; }
.justify { text-align: justify; }
/* Squarespace keeps authored spacing (double spaces after sentences, spaced bullets). */
.b p, .b h1, .b h2, .b h3, .b h4, .b li { white-space: pre-wrap; }
/* A heading drawn as large body text (team names). */
h3.lg { margin: 0; font-weight: 400; line-height: 1.3; letter-spacing: -0.02em; color: var(--p-lg); }
.white-text { color: var(--white); }
p, ul, ol { margin: 1rem 0; }
.lg { color: var(--p-lg); }
.sm { color: var(--p-sm); }
ul, ol { padding-left: 40px; }
li > p { margin: 0.5em 0; }
sup { line-height: 0; }
strong { font-weight: 700; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* The underline bar Squarespace draws behind highlighted words ("2009", "Security", "team"). */
.hl {
  padding-bottom: 0.08em;
  background: linear-gradient(rgb(46 57 138 / 0.5), rgb(46 57 138 / 0.5)) 0 100% / 100% 0.4em no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- Section themes (Squarespace's white, light, dark, bright) ---------- */
.t-white, .t-light, .t-dark, .t-bright { background: var(--bg); color: var(--p); }
.t-white {
  --bg: var(--white); --h: var(--dark); --h4: var(--black); --p: var(--dark); --p-lg: var(--black); --p-sm: var(--dark);
  --link: var(--accent); --btn-bg: var(--dark); --btn-fg: var(--white); --btn3-bg: var(--accent); --btn3-fg: var(--white);
}
.t-light {
  --bg: var(--light); --h: var(--dark); --h4: var(--black); --p: var(--black); --p-lg: var(--black); --p-sm: var(--dark);
  --link: var(--accent); --btn-bg: var(--accent); --btn-fg: var(--white); --btn3-bg: rgb(83, 83, 83); --btn3-fg: var(--white);
}
.t-dark {
  --bg: var(--dark); --h: var(--white); --h4: var(--white); --p: var(--white); --p-lg: var(--white); --p-sm: var(--white);
  --link: var(--light); --btn-bg: var(--white); --btn-fg: var(--black); --btn3-bg: var(--accent); --btn3-fg: var(--white);
}
.t-bright {
  --bg: var(--accent); --h: var(--white); --h4: var(--white); --p: var(--white); --p-lg: var(--white); --p-sm: var(--white);
  --link: var(--white); --btn-bg: var(--white); --btn-fg: var(--accent); --btn3-bg: var(--white); --btn3-fg: var(--accent);
}
/* Text on a block background follows the block's colour, not the section's. */
.box--white { --h: var(--black); --h4: var(--black); --p: var(--black); --p-lg: var(--black); --p-sm: var(--dark); background: var(--white); }
.box--accent { --p-lg: var(--white); background: var(--accent); }
.box--black { --p-lg: var(--white); background: var(--black); }
.box--mist { --h: var(--black); background: hsl(230 21% 95%); }

/* ---------- Header ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 21px; z-index: 30;
  padding: 1.2em 2em; border-radius: 300px; background: var(--white); color: var(--accent); font-size: 14.272px;
}
.skip-link:focus { left: 58px; }
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); padding: 0 6vw;
}
.site-header .logo img { width: auto; height: 30px; }
.site-header .logo .logo--dark { display: none; }
.nav-list { display: none; margin: 0; padding: 0; list-style: none; }
.nav-list a {
  display: block; padding: 0.1em 0;
  font-size: 16px; line-height: 1.2; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--white); text-decoration: none;
}
.nav-list a[aria-current="page"] { background: linear-gradient(currentColor, currentColor) 0 calc(100% - 0.1em) / 1px 1px repeat-x; }
.burger {
  display: block; position: relative; width: 47px; height: 37px; padding: 1px 6px;
  border: 0; background: none; color: var(--white); cursor: pointer;
}
.burger span { position: absolute; left: 6px; width: 35px; height: 1px; background: currentColor; transition: transform 0.25s cubic-bezier(0.2, 0.6, 0.3, 1); }
.burger span:first-child { top: 13px; }
.burger span:last-child { top: 25px; }
.menu-open .burger { color: var(--black); }
.menu-open .burger span:first-child { transform: translateY(6px) rotate(-45deg); }
.menu-open .burger span:last-child { transform: translateY(-6px) rotate(45deg); }
/* The live white logo vanishes on the light menu; show the blue one while the menu is open (DIFFERENCES.md). */
.menu-open .site-header .logo .logo--light { display: none; }
.menu-open .site-header .logo .logo--dark { display: block; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 15;
  display: flex; align-items: center; justify-content: center;
  background: var(--light);
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.mobile-menu ul { margin: 0; padding: 0; list-style: none; text-align: center; }
.mobile-menu a {
  display: block; padding: 0.35em 0;
  font-size: calc(1.69 * 0.012 * min(100vh, 900px) + 1rem); line-height: 1; letter-spacing: 0.058em; text-transform: uppercase;
  color: var(--black); text-decoration: none;
}
/* Without JavaScript the burger cannot open the menu, so show the plain link list instead. */
.no-js .burger, .no-js .mobile-menu { display: none; }
.no-js .nav-list { display: flex; flex-wrap: wrap; gap: 0 1em; }
.no-js .nav-list a { font-size: 13px; }
@media (min-width: 700px) {
  .site-header { padding: 0 4vw; }
  .site-header .logo img { height: 40px; }
}
/* Inline nav from 768px, as on the live site; below that the header keeps the menu button (tablet review). */
@media (min-width: 768px) {
  .nav-list, .no-js .nav-list { display: flex; gap: 0 1.4em; }
  .no-js .nav-list a { font-size: 16px; }
  .burger, .mobile-menu { display: none; }
}
@media (min-width: 1100px) {
  .site-header .logo img { height: 50px; }
  .nav-list, .no-js .nav-list { gap: 0 1.8em; }
}

/* ---------- Sections and the grid ---------- */
.s {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; justify-content: center;
  min-height: var(--minh, 0);
  padding: var(--pad, 0px) 0;
}
.h-small { --minh: 33vh; --pad: 3.3vmax; }
.h-medium { --minh: 66vh; --pad: 6.6vmax; }
.v-bottom { justify-content: flex-end; padding-top: calc(2 * var(--pad)); padding-bottom: 4vw; }
/* The header sits over the first section; push that section's content down by the header's height. */
main > .s:first-child { padding-top: calc(var(--header-h) + 2 * var(--pad, 0px)); }
main > .s:first-child.v-middle { padding-top: calc(var(--header-h) + var(--pad, 0px)); }
/* A thin divider above the footer when the last section is white, as on the live site. */
main > .t-white:last-child { box-shadow: inset 0 -2px var(--light); }

.s-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.s-bg picture { position: absolute; inset: 0; }
.s-bg img { width: 100%; height: 100%; object-fit: cover; }
.ov-15 { --overlay: 0.15; }
.s-bg::after { content: ""; position: absolute; inset: 0; background: var(--bg); opacity: var(--overlay, 0.2); }

.g {
  /* Row and column gaps are per section in Squarespace (11px unless a section rule says otherwise). */
  --rg: var(--gap); --cg: var(--gap);
  --gutter: calc(6vw - var(--cg));
  --cell: calc((1400px - var(--cg) * 7) / 8);
  display: grid;
  grid-template-columns: minmax(var(--gutter), 1fr) repeat(8, minmax(0, var(--cell))) minmax(var(--gutter), 1fr);
  grid-template-rows: repeat(var(--rm), minmax(24px, auto));
  gap: var(--rg) var(--cg);
  overflow-x: clip;
}
@media (min-width: 700px) {
  .g {
    --gutter: calc(4vw - var(--cg));
    --cell: calc((1400px - var(--cg) * 23) / 24);
    --cw: min(1400px, calc(100vw - 8vw));
    grid-template-columns: minmax(var(--gutter), 1fr) repeat(24, minmax(0, var(--cell))) minmax(var(--gutter), 1fr);
    grid-template-rows: repeat(var(--rt, var(--rd)), minmax(calc(var(--cw) * 0.0215), auto));
  }
}
@media (min-width: 1100px) {
  .g { grid-template-rows: repeat(var(--rd), minmax(calc(var(--cw) * 0.0215), auto)); }
}

/* A block: its place on the grid, then its content stacked from the top (or centred, or from the bottom). */
.b {
  grid-area: var(--m);
  position: relative;
  display: flex; flex-direction: column; justify-content: var(--jm, var(--j, flex-start));
  min-width: 0;
}
/* --jm: the block's vertical alignment on mobile when it differs from desktop. */
@media (min-width: 700px) { .b { grid-area: var(--t, var(--d)); justify-content: var(--j, flex-start); } }
@media (min-width: 1100px) { .b { grid-area: var(--d); } }
.b > :first-child { margin-top: 0; }
/* Flex children do not collapse margins; keep only bottom margins so the gaps match the live page's collapsed ones. */
.b > * { margin-top: 0; }
/* A few live blocks (a different Squarespace block type) keep their heading's outer margins. */
.b.keep-m > :first-child, .b.keep-mt > :first-child { margin-top: 2rem; }
.b.keep-m > :last-child { margin-bottom: 2rem; }
.b.an-1 > h1 { margin-bottom: -6px; } /* live: the heading overflows its block by 6px rather than growing the row */
.b > :last-child { margin-bottom: 0; }
.b.box { padding: var(--box-pad, 6%); }
.pad-bar { --box-pad: 1% 3%; } .pad-3 { --box-pad: 3%; }
.card-pad-1 { --box-pad: 10% 12%; } .card-pad-2 { --box-pad: 12% 20%; } .card-pad-3 { --box-pad: 12% 12%; }

/* Image blocks fill their cell; logos and diagrams are letterboxed instead of cropped. */
.b.img picture { position: absolute; inset: 0; } /* never let a photo's own height stretch the grid row */
.b.img img { width: 100%; height: 100%; }
.b.img img { object-fit: cover; }
.b.fit img { object-fit: contain; }
/* Squarespace image overlay, measured: the Proven approach photo shows through white at 61.6%. */
.b.wash::after { content: ""; position: absolute; inset: 0; background: rgb(255 255 255 / 0.616); }
.b.logo picture { position: static; }
.b.logo picture, .b.logo img { height: auto; }
.b.logo img { object-fit: contain; object-position: left top; }

/* ---------- Buttons ---------- */
.btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; padding: 0 2em;
  border: 0; border-radius: 300px;
  font-family: var(--font); font-weight: 500; line-height: 1.2; letter-spacing: 0.05em; text-transform: uppercase; text-align: center;
  background: var(--btn-bg); color: var(--btn-fg); text-decoration: none;
  transition: opacity 0.1s linear; cursor: pointer;
}
.btn--small { background: var(--btn3-bg); color: var(--btn3-fg); }
.btn:hover { opacity: 0.8; }
.btn { font-weight: 600; letter-spacing: 0.08em; }

/* Live headings in the Advantages cards end with two blank lines, which lifts the centred text. */
.b > .trail { margin-bottom: calc(3rem + 2.6 * 16px); }
/* Words on top of a photo: white heading, light-accent body. */
.on-img strong { color: var(--white); }
.on-img span { color: var(--light); }
/* "Institutional investors • ..." is fitted to one line by Squarespace; scale it with the container instead. */
.audiences { font-size: 14px; line-height: 1.3; letter-spacing: 0.15em; text-transform: uppercase; color: rgb(136, 136, 137); }
@media (min-width: 700px) { .audiences { font-size: 15px; letter-spacing: 0.2em; } }
@media (min-width: 1100px) { .audiences { font-size: calc(var(--cw) * 0.01411); line-height: 1; letter-spacing: 3.2px; white-space: nowrap; } }

/* ---------- Shapes ---------- */
.card { background: var(--light); border-radius: 10px; }
.notch { background: var(--black); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.rule { height: 1px; margin: 8px 0; border: 0; background: rgb(138, 138, 140); }

/* ---------- Footer ---------- */
.site-footer .label { color: var(--accent); }
.site-footer .sm a { color: var(--accent); }
/* Derek 11-10: the footer text a little bigger, with more line spacing (live: 14.3px / 1.3). */
.site-footer .sm { font-size: 1rem; line-height: 1.7; }
.site-footer .copyright { color: rgb(118, 118, 121); text-align: center; } /* live: rgb(170,170,173), 2.3:1; darkened to reach WCAG AA 4.5:1 */

/* ---------- Team: Core values accordion ---------- */
.values { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--white); }
.values details { border-bottom: 1px solid var(--white); }
.values summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 30px 0; cursor: pointer; list-style: none;
  font-size: calc((var(--v) - 1) * 0.012 * min(100vh, 900px) + 1rem); --v: 1.6; line-height: normal; letter-spacing: 0;
}
@media (min-width: 700px), (orientation: landscape) {
  .values summary { font-size: min(calc(0.6 * 1.2vw + 1rem), max(calc(0.6 * 16.8px + 1rem), 1.6rem)); }
}
.values summary::-webkit-details-marker { display: none; }
.values .value { margin: 0; font: inherit; letter-spacing: inherit; line-height: inherit; color: inherit; white-space: normal; }
.plus { position: relative; flex: none; width: 24px; height: 24px; }
.plus::before, .plus::after { content: ""; position: absolute; top: 50%; left: 0; width: 24px; height: 1px; background: currentColor; }
.plus::after { transform: rotate(90deg); transition: transform 0.25s; }
details[open] .plus::after { transform: rotate(0deg); }
.values details p { margin: 0; padding-bottom: 30px; font-size: 1.125rem; line-height: 1.6; } /* Derek 11-09: larger than the live site's */
/* The photo keeps its all-closed height while a value is open (site.js sets --h); the open text grows the section below it. */
@media (min-width: 700px) { .tm-28.held picture { position: sticky; top: 32px; height: var(--h); } }

/* ---------- Contact form ---------- */
.form { --field: var(--light); }
.form .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; margin: 0 0 24px; }
.form .field { margin: 0 0 24px; }
.form .pair .field { margin: 0; }
/* Wei 11-10: labels and fields larger than the live site's 16 px / 12 px labels and 33 px fields; 18 px / 1.6 as on Team. */
.form, .form label { font-size: 1.125rem; line-height: 1.6; }
.form label { display: block; margin-bottom: 6px; }
.ct-3 p { font-size: 1.125rem; line-height: 1.6; } /* the address block beside the form, same size */
.form input, .form textarea {
  display: block; width: 100%; margin: 0;
  padding: 10px 14px; border: 1px solid transparent; border-radius: 10px;
  font: inherit; line-height: 1.5; letter-spacing: -0.02em;
  background: var(--field); color: var(--black);
}
.form textarea { height: 160px; resize: vertical; }
.form input, .form textarea { caret-color: var(--accent); transition: border-color 0.15s; }
.form input:hover, .form textarea:hover { border-color: rgb(1 5 14 / 0.15); }
.form ::selection { background: rgb(46 57 138 / 0.2); }
.form input:focus-visible, .form textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; }
.form [aria-invalid="true"] { border-color: rgb(200, 30, 30); }
.form .error { margin: 6px 0 0; font-size: 1rem; color: rgb(200, 30, 30); }
.form .send { width: auto; height: auto; padding: 1.1em 2.6em; background: var(--dark); color: var(--white); }
.form .send[disabled] { opacity: 0.6; cursor: wait; }
.form [hidden] { display: none; }
.form-status { margin: 20px 0 0; }
.form-status.ok { margin: 0; font-size: 1.5rem; line-height: 1.3; } /* the only thing left once the form is sent */
.form-status.fail { color: rgb(200, 30, 30); }
.form-status p { margin: 8px 0 0; color: var(--p); }
.form-status[hidden] { display: none; }
.form-fallback { display: none; }
.no-js .form { display: none; }
.no-js .form-fallback { display: block; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.credit { color: var(--light); }
.credit a { color: var(--light); }

/* ---------- Team: leadership photo grid ----------
   Not on the live site (DIFFERENCES.md). Cards show photo, name and title, and link to the person's page. */
.team {
  --cols: 2; --tgap: 14px;
  display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); 
  gap: var(--tgap); align-items: stretch;
}
@media (min-width: 700px) { .team { --cols: 4; --tgap: 20px; } }
@media (min-width: 1100px) { .team { --tgap: 24px; } }
.person {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 28px 12px 22px; border: 0; border-radius: 10px; background: var(--light);
  font: inherit; letter-spacing: inherit; color: var(--p); text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color 0.15s linear;
}
@media (min-width: 700px) { .person { padding: 40px 20px 30px; } }
.person:hover { background: rgb(226, 228, 233); }
.person:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.person picture { width: min(100%, 200px); margin-bottom: 16px; }
.person .photo { width: 100%; height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
.person .name { font-weight: 700; color: var(--h, var(--p-lg)); }
.person .role { margin-bottom: 14px; line-height: 1.35; }
.person:hover .name { color: var(--accent); }
.person { box-shadow: 0 0 0 rgb(1 5 14 / 0); transition: background-color 0.15s linear, box-shadow 0.15s ease-out, transform 0.15s ease-out; }
.person:hover { box-shadow: 0 10px 24px rgb(1 5 14 / 0.08); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .person { transition: none; } .person:hover { transform: none; } }

/* ---------- Team: a profile page per person (team/*.html) ----------
   After Visar's redesign proposal, in this site's type and colours: a blue band with the breadcrumb, name, title
   and portrait, which overlaps the bio below it; then the bio, its first paragraph larger; then the other leaders. */
.prof-wrap { width: 88vw; max-width: 1180px; margin: 0 auto; } /* Derek 11-10: more centred on wide screens */
.prof-hero { --pad: 28px; z-index: 1; padding-bottom: 40px; background: linear-gradient(120deg, rgb(20, 24, 66), var(--accent)); }
.prof-hero .prof-wrap { display: grid; gap: 28px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.6em; margin-bottom: 20px; font-size: 15px; letter-spacing: 0.02em; }
.crumbs a { color: inherit; text-decoration: none; opacity: 0.8; }
.crumbs a:hover, .crumbs a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 0.25em; }
.prof-id h1 { margin: 0; }
.prof-role { margin: 12px 0 0; }
.prof-img { width: min(64vw, 300px); margin-bottom: -110px; }
.prof-img img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; /* Derek 11-17: the Team page's square crop */ border-radius: 10px; box-shadow: 0 24px 48px rgb(1 5 14 / 0.22); }
.prof-body { padding: 150px 0 64px; }
.prof-h { margin: 0 0 20px; }
.prof-text p { max-width: 68ch; }
.prof-text p:not(.prof-lead) { font-size: 1.125rem; line-height: 1.7; } /* Derek 11-09: larger than the live site's 16px / 1.3 */
.prof-text .prof-lead { margin-top: 0; line-height: 1.45; }
.prof-link { color: var(--link); text-underline-offset: 0.2em; }
.prof-more { padding: 56px 0 72px; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 44%; gap: 14px;
  margin: 0; padding: 0 0 8px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory;
}
.rail li { display: flex; scroll-snap-align: start; }
.rail .person { flex: 1; padding: 24px 12px 20px; background: var(--white); text-decoration: none; }
.rail .person:hover { background: rgb(248, 248, 250); }
.rail .person picture { width: min(100%, 140px); margin-bottom: 12px; }
@media (min-width: 700px) {
  .prof-wrap { width: 92vw; }
  .prof-hero { --pad: 48px; padding-bottom: 72px; }
  .prof-hero .prof-wrap { grid-template-columns: minmax(0, 1fr) clamp(240px, 28vw, 340px); column-gap: 6vw; align-items: start; }
  .prof-img { width: 100%; margin-bottom: -200px; }
  .prof-body { padding: 72px 0 96px; }
  .prof-text { max-width: calc(100% - clamp(240px, 28vw, 340px) - 6vw); }
  .rail { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; overflow: visible; padding: 0; }
}
@media (min-width: 1100px) { .rail { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* Top photos darkened to the Analytics page's level (DIFFERENCES.md 17). */
.dim-60 img { filter: brightness(0.6); }
.dim-67 img { filter: brightness(0.67); }

/* ---------- Motion ---------- */
/* The live site has no scroll animation. Keep it that way, and drop the menu fade and icon turns for people who
   ask for less motion. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* =====================================================================================================
   Placements. One rule per block: --m mobile grid-area, --d desktop, --t tablet when it differs.
   Section rules set the row counts: --rm mobile, --rd desktop, --rt tablet.
   ===================================================================================================== */

/* footer (every page) */
.ft-s1 { --rm: 20; --rd: 9; }
.ft-1 { --m: 2/2/5/6; --d: 3/2/6/5; } /* logo */
.ft-2 { --m: 5/2/10/10; --d: 3/12/7/16; } /* Navigation */
.ft-3 { --m: 11/2/15/10; --d: 3/17/7/21; } /* Location */
.ft-4 { --m: 15/2/19/10; --d: 3/22/6/26; } /* Contact */
.ft-5 { --m: 19/2/21/10; --d: 8/2/9/26; } /* Copyright */

/* home (generated by tools/placements.py, then hand-checked) */
.ab-s1 { --rm: 12; --rd: 12; } /* bright */
.ab-1 { --m: 1/2/9/10; --d: 1/2/7/19; } /* Investment management experts and platform for Mor */
.ab-2 { --m: 10/2/12/6; --d: 8/2/10/6; --j: center; } /* Get in touch */
.ab-s2 { --rm: 29; --rd: 16; } /* dark */
.ab-3 { --m: 3/2/4/10; --d: 1/2/3/8; } /* Overview */
.ab-4 { --m: 4/2/11/10; --d: 3/2/7/26; } /* Focused on fixed-income investment alternatives, C */
.ab-5 { --m: 11/2/13/7; --d: 8/2/10/6; } /* 2009 */
.ab-6 { --m: 12/2/13/7; --d: 10/2/11/6; } /* year founded */
.ab-7 { --m: 14/2/16/7; --d: 8/8/10/12; } /* 25 yrs */
.ab-8 { --m: 15/2/17/7; --d: 10/8/12/12; } /* years trading, research, and technology experience */
.ab-9 { --m: 18/2/20/7; --d: 8/14/10/18; } /* MBS */
.ab-10 { --m: 19/2/21/7; --d: 10/14/12/18; } /* investment strategy focused on prepayments */
.ab-11 { --m: 22/2/24/7; --d: 8/20/10/23; --jm: center; } /* image Cello-Analytics-Horizontal-Logo.png */
.ab-12 { --m: 24/2/26/6; --d: 10/20/12/23; } /* MASTR® proprietary analytics platform */
.ab-13 { --m: 27/2/28/10; --d: 13/2/14/26; --j: center; } /* horizontal rule */
.ab-14 { --m: 28/2/29/10; --d: 15/2/16/26; } /* mobile: full width (live: 2/7, text shrunk to 1px) */ /* Institutional investors • pension funds • sovereig */
.ab-s3 { --rm: 39; --rd: 22; } /* white */
.ab-15 { --m: 3/2/4/10; --d: 1/7/2/21; } /* Strategy */
.ab-16 { --m: 4/2/9/10; --d: 3/7/6/21; --jm: center; } /* For 15 years we have monetized prepayment risk of  */
.ab-17 { --m: 9/2/16/10; --d: 6/7/10/21; --jm: center; } /* Predicting when homeowners will prepay their mortg */
.ab-18 { --m: 16/2/18/6; --d: 21/12/23/16; --j: center; } /* Learn more */
.ab-19 { --m: 18/2/30/10; --d: 11/2/20/26; --j: center; } /* image ira-selendripity-qUpzRaylopM-unsplash.jpg */
.ab-20 { --m: 21/3/24/9; --d: 13/5/18/10; --j: center; --jm: flex-start; } /* ANALYZE We rigorously track and analyze real-world */
.ab-21 { --m: 24/3/28/9; --d: 13/18/18/24; --j: center; --jm: flex-start; } /* PREDICT We construct proprietary, data-driven mode */
.ab-22 { --m: 29/2/34/10; --d: 13/11/18/17; --j: center; } /* Our strategy lies in anticipating future prepaymen */
.ab-s4 { --rm: 36; --rd: 19; } /* dark */
.ab-23 { --m: 3/2/4/10; --d: 4/11/6/17; --j: center; } /* Advantages */
.ab-24 { --m: 4/2/8/10; --d: 6/4/8/24; } /* Rooted in three key advantages that drive success. */
.ab-25 { --m: 8/2/16/10; --d: 9/4/17/10; --j: center; } /* Experienced, knowledgeable team */
.ab-26 { --m: 13/4/15/8; --d: 14/5/16/9; --j: center; } /* Meet our team */
.ab-27 { --m: 17/2/25/10; --d: 9/11/17/17; --j: center; } /* Extensive proprietary analytics */
.ab-28 { --m: 22/4/24/8; --d: 14/12/16/16; --j: center; } /* Learn more */
.ab-29 { --m: 26/2/34/10; --d: 9/18/17/24; --j: center; } /* Long-term track record */
.ab-30 { --m: 31/4/33/8; --d: 14/19/16/23; --j: center; } /* Contact us */
.ab-s5 { --rm: 13; --rd: 10; } /* bright */
.ab-31 { --m: 3/2/7/10; --d: 3/2/9/14; --j: center; --jm: flex-start; } /* Contact us to learn more about Agency MBS investme */
.ab-32 { --m: 9/4/11/8; --d: 5/19/7/23; --j: center; } /* Contact us */

/* strategy (generated by tools/placements.py, then hand-checked) */
.st-s1 { --rm: 14; --rd: 11; } /* bright */
.st-1 { --m: 2/2/15/10; --d: 3/2/11/24; } /* Cello offers an alternative fixed-income investmen */
.st-s2 { --rm: 47; --rd: 27; --rg: 0px; --cg: 20px; } /* light */
.st-2 { --m: 3/2/5/10; --d: 3/2/5/26; --j: center; } /* Agency Mortgage-Backed Securities */
.st-3 { --m: 6/2/17/10; --d: 6/2/12/22; } /* In the world of fixed-income investments, Agency M */
.st-4 { --m: 17/2/21/10; --d: 12/2/15/22; } /* Agency MBS are home loans pooled and packaged into */
.st-5 { --m: 22/2/28/10; --d: 16/2/24/10; } /* Security Guaranteed by the U.S. government or GSEs */
.st-6 { --m: 29/2/35/10; --d: 16/10/24/18; } /* Liquidity $300B in daily trading volume ³ */
.st-7 { --m: 36/2/42/10; --d: 16/18/24/26; } /* Yield High risk-adjusted yields for bond market */
.st-8 { --m: 42/3/43/5; --d: 24/21/25/23; --j: center; } /* image shape */
.st-9 { --m: 43/2/47/10; --d: 25/2/27/26; --j: center; } /* Higher yields are possible due to MBS’ inherent ri */
.st-s3 { --rm: 56; --rd: 28; --rg: 0px; } /* white */
.st-10 { --m: 3/2/6/10; --d: 5/2/7/26; } /* the MBS prepayment opportunity */
.st-11 { --m: 6/2/14/10; --d: 7/2/13/14; --j: center; --jm: flex-start; } /* For 15 years we have monetized prepayment risk to  */
.st-12 { --m: 13/2/19/10; --d: 14/2/17/14; } /* Homeowner behavior in paying off their mortgages ( */
.st-13 { --m: 19/2/20/10; --d: 18/2/19/14; } /* Attributes that affect prepayments: */
.st-14 { --m: 20/2/26/10; --d: 19/2/24/6; --jm: center; } /* Mortgage Rate Loan Size Housing Price Credit Score */
.st-15 { --m: 25/2/30/10; --d: 19/6/24/10; --jm: center; } /* Servicer Employment Tax Rate Regulation */
.st-16 { --m: 29/2/35/10; --d: 19/10/24/15; --jm: center; } /* Geography Occupancy Type Origination Year Spread a */
.st-17 { --m: 36/1/50/11; --d: 6/15/23/26; --j: center; } /* image S-Curve.png */
.st-18 { --m: 51/2/56/10; --d: 25/2/29/26; --jm: center; } /* Our ability to powerfully predict and manage prepa */
.st-s4 { --rm: 22; --rd: 24; } /* light */
.st-19 { --m: 1/1/13/11; --d: 1/1/11/27; --j: center; } /* image unsplash-image-F41TGk8KACU.jpg */
.st-20 { --m: 3/2/5/10; --d: 3/5/4/23; } /* Proven approach */
.st-21 { --m: 4/2/11/10; --d: 5/5/9/23; } /* Our investment process is defined by the integrati */
.st-22 { --m: 11/2/19/10; --d: 10/5/20/23; --j: center; } /* image Approach+New.png */
.st-23 { --m: 19/2/21/6; --d: 21/8/23/13; --j: center; } /* Meet the team */
.st-24 { --m: 19/6/21/10; --d: 21/15/23/20; --j: center; } /* Learn about Mastr® */

/* team (generated by tools/placements.py, then hand-checked) */
.tm-s1 { --rm: 16; --rd: 9; } /* bright */
.tm-1 { --m: 2/2/14/10; --d: 2/2/10/21; } /* Delivering results and earning clients’ trust for  */
.tm-s2 { --rm: 7; --rd: 6; } /* white */
.tm-2 { --m: 1/2/2/10; --d: 1/2/2/26; } /* Leadership */
.tm-3 { --m: 2/2/6/10; --d: 3/2/5/26; } /* A deeply experienced team with a long history of w */
.tm-31 { --m: 7/2/8/10; --d: 6/2/7/26; } /* the seven-person photo grid and its bios (not on the live site) */
.tm-s3 { --rm: 30; --rd: 18; } /* dark */
.tm-28 { --m: 1/2/13/10; --d: 1/3/17/14; --jm: center; } /* image ruslan-sikunov-UI5M3oCOXHs-unsplash.jpg */
.tm-29 { --m: 14/2/15/10; --d: 1/16/2/25; } /* Core Values */
.tm-30 { --m: 15/2/31/10; --d: 3/16/17/25; } /* Curiosity Successful investing demands unconventio */

/* analytics (generated by tools/placements.py, then hand-checked) */
.an-s1 { --rm: 13; --rd: 13; } /* bright */
.an-1 { --m: 1/2/7/10; --d: 3/2/9/22; } /* MASTR ® proprietary analytics platform enables Cel */
.an-2 { --m: 7/2/10/10; --d: 10/2/13/20; } /* Our deep experience paired with proprietary analyt */
.an-s2 { --rm: 24; --rd: 17; } /* white */
.an-3 { --m: 2/2/4/10; --d: 3/2/5/14; } /* MASTR Analytics Platform */
.an-4 { --m: 4/2/12/10; --d: 5/2/12/14; } /* Cello’s robust proprietary analytics platform MAST */
.an-5 { --m: 12/2/18/10; --d: 12/2/16/14; } /* Valuation and risk management workflows Suite of p */
.an-6 { --m: 18/2/24/10; --d: 3/15/18/26; --j: center; } /* image MASTR-dark.jpg */

/* contact (generated by tools/placements.py, then hand-checked) */
.ct-s1 { --rm: 7; --rd: 7; } /* bright */
.ct-1 { --m: 1/2/4/10; --d: 1/2/5/18; } /* Learn more about Cello’s investment opportunities. */
.ct-s2 { --rm: 42; --rd: 26; } /* white; mobile: the larger form, and no photo credit row (11-10) */
.ct-2 { --m: 3/2/5/10; --d: 2/2/4/14; --j: center; --jm: flex-start; } /* Contact Us */
.ct-3 { --m: 5/2/12/10; --d: 4/2/11/12; } /* Cello Capital Management LP 12 East 49th Street, 1 */
.ct-4 { --m: 13/2/26/10; --d: 11/2/25/12; --j: flex-end; --jm: flex-start; } /* image shape */
.ct-5 { --m: 27/2/41/10; --d: 2/14/25/26; --j: center; } /* View fullsize; mobile one row lower than live, clear of Send */

/* disclaimer (generated by tools/placements.py, then hand-checked) */
.dc-s1 { --rm: 7; --rd: 5; } /* bright */
.dc-1 { --m: 1/2/4/10; --d: 1/6/5/22; } /* Legal Disclaimer */
.dc-s2 { --rm: 13; --rd: 26; } /* white */
.dc-2 { --m: 3/2/5/10; --d: 2/6/4/22; --j: center; --jm: flex-start; } /* Terms and Conditions of use of Cello Capital Manag */
.dc-3 { --m: 5/2/12/10; --d: 4/6/25/22; } /* DOCUMENTS ACCESSED THROUGH THIS SITE DO NOT REPRES */

/* footnotes (generated by tools/placements.py, then hand-checked) */
.fn-s1 { --rm: 7; --rd: 4; } /* bright */
.fn-1 { --m: 1/2/4/10; --d: 1/6/5/22; } /* Footnotes */
.fn-s2 { --rm: 14; --rd: 21; } /* white */
.fn-2 { --m: 3/2/10/10; --d: 2/6/8/22; } /* The Cello firm statistics including assets under m */
.fn-3 { --m: 11/2/13/10; --d: 21/24/22/26; --j: center; --jm: flex-start; } /* © Tower 49 */

/* 404 (generated by tools/placements.py, then hand-checked) */
.nf-s1 { --rm: 7; --rd: 4; } /* bright */
.nf-1 { --m: 1/2/4/10; --d: 1/6/5/22; } /* Page not found */
.nf-s2 { --rm: 14; --rd: 21; } /* white */
.nf-2 { --m: 3/2/10/10; --d: 2/6/6/22; } /* We couldn't find the page you were looking for. Th */
.nf-3 { --m: 11/2/13/10; --d: 21/24/22/26; --j: center; --jm: flex-start; } /* © Tower 49 */

/* =====================================================================================================
   Tablet (700-1099px). Squarespace had no tablet layout; these placements are new (proposals/tablet.md).
   Only blocks that move are listed; everything else keeps its desktop place.
   ===================================================================================================== */
/* header and footer */
.ft-1 { --t: 3/2/6/8; } .site-footer .logo img { max-width: 160px; } .ft-2 { --t: 3/9/8/14; } .ft-3 { --t: 3/14/8/20; } .ft-4 { --t: 3/20/8/26; } .ft-5 { --t: 9/2/10/26; } .ft-s1 { --rt: 10; }
/* about and home */
.ab-1 { --t: 1/2/7/24; } .ab-2 { --t: 8/2/10/9; }
.ab-s2 { --rt: 22; }
.ab-5 { --t: 8/2/10/12; } .ab-6 { --t: 10/2/12/12; } .ab-7 { --t: 8/14/10/24; } .ab-8 { --t: 10/14/12/24; }
.ab-9 { --t: 13/2/15/12; } .ab-10 { --t: 15/2/17/12; } .ab-11 { --t: 13/14/15/20; } .ab-11 img { max-width: 160px; } .ab-12 { --t: 15/14/17/24; }
.ab-13 { --t: 18/2/19/26; } .ab-14 { --t: 20/2/22/26; }
.ab-15 { --t: 1/4/2/24; } .ab-16 { --t: 3/4/6/24; } .ab-17 { --t: 6/4/10/24; }
.ab-20 { --t: 13/3/18/10; } .ab-22 { --t: 13/10/18/18; } .ab-21 { --t: 13/18/18/25; } .ab-18 { --t: 21/10/23/18; }
@media (min-width: 700px) and (max-width: 1099px) { .ab-s4 { --cg: 20px; } }
@media (min-width: 700px) { .ct-4 .form { padding-top: 32px; } } /* keeps the 18 px address off the form on tablet, and on desktop once an error message makes the form taller */
.ab-25 { --t: 9/2/17/10; } .ab-27 { --t: 9/10/17/18; } .ab-29 { --t: 9/18/17/26; }
.ab-26 { --t: 14/3/16/9; } .ab-28 { --t: 14/11/16/17; } .ab-30 { --t: 14/19/16/25; }
.ab-31 { --t: 3/2/9/17; } .ab-32 { --t: 5/18/7/25; }
/* strategy: the chart moves under its text, the attribute lists get room */
.st-3 { --t: 6/2/12/26; } .st-4 { --t: 13/2/16/26; }
.st-s3 { --rt: 49; }
.st-11 { --t: 7/2/13/26; } .st-12 { --t: 14/2/17/26; } .st-17 { --t: 18/4/36/24; } .st-13 { --t: 37/2/38/26; }
.st-14 { --t: 38/2/43/10; } .st-15 { --t: 38/10/43/18; } .st-16 { --t: 38/18/43/26; } .st-18 { --t: 44/2/48/26; }
.st-22 { --t: 10/3/20/25; } .st-23 { --t: 21/5/23/12; } .st-24 { --t: 21/14/23/22; }
/* team: two cards a row, headshot beside the name, bio below */
/* analytics and contact: a little more width for the text and the form */
.an-3 { --t: 3/2/5/15; } .an-4 { --t: 5/2/12/15; } .an-5 { --t: 12/2/16/15; } .an-6 { --t: 3/16/18/26; }
.ct-2 { --t: 2/2/4/15; } .ct-3 { --t: 4/2/11/14; } .ct-4 { --t: 11/2/25/14; } .ct-5 { --t: 2/15/25/26; }
/* legal pages, footnotes, 404: a wider reading column */
.dc-1, .fn-1, .nf-1 { --t: 1/3/5/25; }
.fn-3, .nf-3 { --t: 20/14/21/25; } .fn-3 p, .nf-3 p { text-align: right; white-space: nowrap; }
.dc-2 { --t: 2/3/4/25; } .dc-3 { --t: 4/3/25/25; } .fn-2 { --t: 2/3/8/25; } .nf-2 { --t: 2/3/6/25; }

