/* Modernist — design-system tokens and component classes. This file is the source of truth for the system's look; retune it here and see readme.md. */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;600;800&display=swap');

:root {
  --color-bg: #f3f2f2;
  --color-surface: #eae9e9;
  --color-text: #201e1d;
  --color-accent: #ec3013;
  --color-accent-2: #e15b47;
  --color-divider: color-mix(in srgb, #201e1d 40%, transparent);

  /* Tonal ramps — generated in OKLCH on one shared lightness scale, so the
     same step of any role matches the others in visual value. */
  --color-neutral-100: #f8f4f4;
  --color-neutral-200: #eae7e7;
  --color-neutral-300: #d7d3d3;
  --color-neutral-400: #bab6b6;
  --color-neutral-500: #9b9797;
  --color-neutral-600: #7d7979;
  --color-neutral-700: #605d5d;
  --color-neutral-800: #444141;
  --color-neutral-900: #2d2b2b;

  --color-accent-100: #fff2ef;
  --color-accent-200: #ffe0d9;
  --color-accent-300: #ffc4b8;
  --color-accent-400: #ff9783;
  --color-accent-500: #ff563c;
  --color-accent-600: #dd2b0f;
  --color-accent-700: #ae1800;
  --color-accent-800: #7c1405;
  --color-accent-900: #4d170e;

  --color-accent-2-100: #fff2ef;
  --color-accent-2-200: #ffe0da;
  --color-accent-2-300: #ffc4b9;
  --color-accent-2-400: #ff9784;
  --color-accent-2-500: #ef6853;
  --color-accent-2-600: #c94b39;
  --color-accent-2-700: #9e3526;
  --color-accent-2-800: #71261b;
  --color-accent-2-900: #471d16;

  --font-heading: "Archivo", system-ui, sans-serif;
  --font-heading-weight: 800;
  --font-body: "Archivo", system-ui, sans-serif;

  --space-1: 4.0px;
  --space-2: 8.0px;
  --space-3: 12.0px;
  --space-4: 16.0px;
  --space-6: 24.0px;
  --space-8: 32.0px;

  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;

  /* Elevation — derived from the ground: soft ink-tinted shadows on a
     light theme, a hairline edge + ambient darkness on a dark one. */
  --shadow-sm: 0 1px 2px color-mix(in srgb, #2d2b2b 14%, transparent);
  --shadow-md: 0 3px 10px color-mix(in srgb, #2d2b2b 16%, transparent);
  --shadow-lg: 0 12px 32px color-mix(in srgb, #2d2b2b 22%, transparent);
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
}
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: var(--font-heading-weight); }

.grayscale{filter:grayscale(1) contrast(1.08)}

/* ══════════════════════════════════════════════════════════════════════════
   Components — built with the tokens above. Plain CSS
   on plain HTML: no JavaScript, no build step. Each class is documented in
   readme.md and demonstrated in foundations/ and components/.
   ══════════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 15px; line-height: 1.55; font-weight: 400; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 var(--space-2);
}
h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 { font-size: 25px; }
h4 { font-size: 20px; }
h5 { font-size: 16px; }
h6 { font-size: 13px; }
h6 { letter-spacing: 0.08em; text-transform: uppercase; }
p { margin: 0 0 var(--space-3); }
a { color: var(--color-accent); text-underline-offset: 3px; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
figcaption {
  font-size: 11px; margin-top: var(--space-1);
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}
.text-muted { color: color-mix(in srgb, var(--color-text) 55%, transparent); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }

/* — rules — */
.hr {
  height: 2px; border: 0; margin: var(--space-4) 0;
  background: var(--color-divider);
}

/* — buttons — */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 14px; line-height: 1.2; color: var(--color-text); /* matches the .input's 14px —
     the pair sits side by side in sign-up rows */
  background: transparent; border: 1px solid transparent;
  padding: var(--space-2) calc(var(--space-3) * 1.2);
  border-radius: var(--radius-md);
}
.btn svg { display: block; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { background: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-600); }
.btn-primary:active { background: var(--color-accent-700); }
.btn-secondary { border-color: var(--color-divider); }
.btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.btn-secondary:active { background: color-mix(in srgb, var(--color-text) 14%, transparent); }
.btn-ghost { color: var(--color-accent); padding-inline: var(--space-1); }
.btn-ghost:hover { background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
.btn-ghost:active { background: color-mix(in srgb, var(--color-accent) 18%, transparent); }
.btn-icon { width: 36px; height: 36px; padding: 0; }
.btn-block { width: 100%; margin-top: var(--space-2); justify-content: flex-start; text-align: left; }

/* — forms — */
.field > label {
  display: block; font-size: 12px; margin-bottom: 5px;
  color: color-mix(in srgb, var(--color-text) 70%, transparent);
}
.input {
  width: 100%; min-height: 36px; padding: 6px 10px; font: inherit;
  font-size: 14px; color: var(--color-text); caret-color: var(--color-accent);
  background: var(--color-surface);
  border: 1px solid var(--color-divider); border-radius: var(--radius-md);
}
.input:hover { border-color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.input:focus-visible { border-color: var(--color-accent); outline-offset: 0; }
textarea.input { min-height: 90px; resize: vertical; }
.radio { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; }
.radio input, .seg-opt input {
  position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;
}
.radio .dot {
  width: 16px; height: 16px; flex: none; border-radius: 50%;
  border: 1.5px solid var(--color-divider);
}
.radio:hover .dot { border-color: var(--color-accent); }
.radio input:checked + .dot {
  border-color: var(--color-accent); background: var(--color-accent);
  box-shadow: inset 0 0 0 4px var(--color-bg);
}
.radio input:focus-visible + .dot { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.seg {
  display: inline-flex; overflow: hidden;
  border: 1px solid var(--color-divider); border-radius: var(--radius-md);
}
.seg-opt {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; font-size: 13px; cursor: pointer;
}
.seg-opt + .seg-opt { border-left: 1px solid var(--color-divider); }
.seg-opt:has(input:checked) { background: var(--color-accent); color: var(--color-bg); }
.seg-opt:not(:has(input:checked)):hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.seg-opt:has(input:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: -2px; }

/* — cards — */
.card {
  display: flex; flex-direction: column; gap: var(--space-2);
  padding: var(--space-3); border-radius: var(--radius-md); background: var(--color-surface);
}
.card-kicker { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); }
.card-title {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 17px; line-height: 1.2;
}
.card-body { margin: 0; font-size: 13px; opacity: 0.8; flex: 1; }
.card-meta {
  display: flex; align-items: center; gap: 6px; font-size: 11px;
  color: color-mix(in srgb, var(--color-text) 50%, transparent);
}
.elev-sm { box-shadow: var(--shadow-sm); }
.elev-md { box-shadow: var(--shadow-md); }
.elev-lg { box-shadow: var(--shadow-lg); }

/* — tags — */
.tag {
  display: inline-flex; align-items: center; font-size: 11px;
  letter-spacing: 0.02em; padding: 3px 10px;
  border-radius: calc(var(--radius-md) * 0.75);
}
.tag-accent { background: var(--color-accent-100); color: var(--color-accent-800); }
.tag-accent-2 { background: var(--color-accent-2-100); color: var(--color-accent-2-800); }
.tag-neutral { background: var(--color-neutral-100); color: var(--color-neutral-800); }
.tag-outline { border: 1px solid var(--color-accent); color: var(--color-accent); }

/* — navigation — */
.nav {
  display: flex; align-items: center; gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-bottom: 2px solid var(--color-divider);
}
.nav-brand {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 18px; margin-right: auto;
}
.nav a { color: inherit; text-decoration: none; font-size: 14px; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--color-accent); }

/* — tables — */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
  text-align: left; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
  padding: var(--space-2); border-bottom: 2px solid var(--color-divider);
}
.table td {
  padding: var(--space-2);
  border-bottom: 1px solid var(--color-divider);
}
.table tbody tr:hover { background: color-mix(in srgb, var(--color-text) 4%, transparent); }

/* — dialog — */
.dialog-backdrop {
  position: fixed; inset: 0; display: grid; place-items: center;
  padding: var(--space-4);
  background: color-mix(in srgb, var(--color-neutral-900) 50%, transparent);
}
.dialog {
  width: min(440px, 100%); display: flex; flex-direction: column; gap: var(--space-3);
  padding: var(--space-4); border-radius: var(--radius-lg);
  background: var(--color-surface); box-shadow: var(--shadow-lg);
}
.dialog-title {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 20px;
}
.dialog-body { font-size: 14px; opacity: 0.85; }
.dialog-actions { display: flex; justify-content: flex-end; gap: var(--space-2); margin-top: var(--space-2); }


:root{--color-bg:#FFFFFF;--color-surface:#F2F2F2;--color-text:#16181B;--color-accent:#9E2419;--color-accent-600:#8A1F15;--color-accent-700:#741A12;--color-divider:#DEDDD8;--font-heading-weight:600}
html{scroll-behavior:smooth}
body{margin:0;background:#FFFFFF;color:#2E3034;font-family:"Archivo",system-ui,sans-serif;font-size:16px;line-height:1.65;text-wrap:pretty;overflow-x:hidden;font-variant-numeric:tabular-nums}
a{color:#9E2419;text-underline-offset:3px}
a:hover{color:#741A12}
:focus-visible{outline:2px solid #9E2419;outline-offset:2px}

html,body{height:auto}
[hidden]{display:none!important}
.btn{display:inline-flex;align-items:center;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.btn:hover{background:#9E2419!important;border-color:#9E2419!important;color:#FFFFFF!important}
.btn[disabled]{opacity:.35;cursor:not-allowed}
.btn[disabled]:hover{background:#16181B!important;border-color:#16181B!important}
.burger{display:none!important}
.mobile-menu{border-top:1px solid #DEDDD8;background:#FFFFFF}
.mobile-menu nav{display:flex;flex-direction:column;max-width:1200px;margin:0 auto;padding:8px clamp(20px,5vw,40px) 20px}
.mobile-menu a{color:#16181B;text-decoration:none;font-size:15px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;padding:16px 0;border-bottom:1px solid #DEDDD8}
@media (max-width:1079px){#mainNav{display:none!important}.burger{display:flex!important}}
@media (max-width:700px){main[data-page=home] section:first-of-type>img+div{background:linear-gradient(180deg,rgba(255,255,255,.95) 0%,rgba(255,255,255,.88) 60%,rgba(255,255,255,.55) 100%)!important}}
.mobile-menu a{text-transform:none!important;letter-spacing:0!important;font-weight:500!important}
.vg-card{max-width:780px;margin:0 auto;background:#FFFFFF;border-top:2px solid #16181B;box-shadow:0 4px 24px rgba(0,0,0,.06);padding:clamp(28px,4vw,48px);display:flex;flex-direction:column;gap:22px}
.vg-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;padding:22px 0;border-top:1px solid #DEDDD8;border-bottom:1px solid #DEDDD8}
.vg-card fieldset{border:0;margin:0;padding:0;min-width:0}
.vg-label{display:block;font-size:12.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#16181B;margin:0 0 12px;padding:0}
.vg-card select{width:100%;height:48px;padding:0 36px 0 12px;font:inherit;font-size:16px;color:#16181B;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2317191c' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center;border:1px solid #B9BABC;border-radius:0;-webkit-appearance:none;appearance:none;cursor:pointer}
.vg-opts{display:grid;row-gap:12px}
.vg-opt{display:grid;grid-template-columns:20px minmax(0,1fr);column-gap:12px;align-items:start;font-size:16px;line-height:1.5;color:#2E3034;cursor:pointer}
.vg-opt input{width:18px;height:18px;margin:3px 0 0;accent-color:#9E2419;cursor:pointer}
.vg-actions{display:flex;gap:12px;flex-wrap:wrap}
.vg-restr{max-width:780px;margin:32px auto 0}
@media (max-width:640px){.vg-fields{grid-template-columns:1fr;gap:22px}.vg-actions .btn{width:100%}}
nav[aria-label="Asset classes"] a{font-size:18px!important;font-weight:600!important;letter-spacing:-0.005em!important}
@media (max-width:700px){nav[aria-label="Asset classes"] a{font-size:16px!important}}
.pg-hero{position:relative;overflow:hidden;background:#F2F2F2!important;min-height:clamp(440px,58vh,600px);display:flex;align-items:center}
.pg-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.pg-hero>.pg-wash{position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.94) 0%,rgba(255,255,255,.86) 38%,rgba(255,255,255,.35) 62%,rgba(255,255,255,0) 80%)}
.pg-hero>div:last-child{position:relative;width:100%;box-sizing:border-box}
@media (max-width:700px){.pg-hero>.pg-wash{background:linear-gradient(180deg,rgba(255,255,255,.95) 0%,rgba(255,255,255,.88) 65%,rgba(255,255,255,.6) 100%)}}
.thesis-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(20px,3vw,40px);margin-top:clamp(36px,4vw,56px)}
.thesis-grid a{display:flex;flex-direction:column;gap:12px;border-top:2px solid #16181B;padding-top:22px;text-decoration:none;color:inherit}
.thesis-grid a:hover h3{color:#9E2419}
@media (max-width:860px){.thesis-grid{grid-template-columns:1fr}}
@media (max-width:700px){nav[aria-label="Asset classes"]>div{flex-direction:column;gap:0!important;flex-wrap:nowrap!important}
nav[aria-label="Asset classes"] a{padding:14px 0!important;border-top:1px solid #DEDDD8}
nav[aria-label="Asset classes"] a:first-child{border-top:0}
.rtable{min-width:0!important}
.rtable thead{display:none}
.rtable tr{display:block;padding:16px 0;border-bottom:1px solid #DEDDD8}
.rtable th,.rtable td{display:block;border:0!important;padding:3px 0!important;width:auto!important}
.rtable td::before{content:attr(data-label);display:block;font-size:13px;font-weight:600;letter-spacing:.02em;color:#16181B;margin-top:10px}}
@media (max-width:700px){.m-hide{display:none!important}
.pg-hero{min-height:0!important;padding:14px 0 14px!important}
main section div:has(> div > h2:only-child){row-gap:0!important}
main section div:has(> div > h2:only-child)>div:has(> h2:only-child){margin-bottom:-6px}
.pg-hero>.pg-wash{background:linear-gradient(180deg,rgba(255,255,255,.9) 0%,rgba(255,255,255,.8) 70%,rgba(255,255,255,.55) 100%)!important}
main[data-page=home] section:first-of-type{height:auto!important;min-height:0!important;padding:14px 0 36px!important}
main[data-page=home] section:first-of-type>img+div{background:linear-gradient(180deg,rgba(255,255,255,.9) 0%,rgba(255,255,255,.8) 70%,rgba(255,255,255,.55) 100%)!important}
main .btn{width:100%;box-sizing:border-box}
main section{padding-top:14px!important;padding-bottom:14px!important}
main section[style*="background: rgb(242, 242, 242)"],main section[style*="background: rgb(22, 24, 27)"],main section[style*="background:#16181B"],main section[style*="background:#F2F2F2"]{padding-top:24px!important;padding-bottom:24px!important}
main section [style*="gap: clamp(18px, 2.2vw, 32px)"]{gap:10px!important}
main section h2{margin-bottom:8px!important}
main section p:has(+ .m-hide){margin-bottom:0!important}
main section .m-hide + .btn,main section .m-hide + div:has(.btn){margin-top:20px!important}
main section [style*="border-top: 2px solid rgb(22, 24, 27); padding-top: 24px"]:has(> p + h3){display:flex;flex-wrap:wrap;align-items:baseline;column-gap:12px;padding-top:12px!important}
main section [style*="border-top: 2px solid rgb(22, 24, 27); padding-top: 24px"]:has(> p + h3)>p:first-child{margin:0!important;flex:0 0 auto}
main section [style*="border-top: 2px solid rgb(22, 24, 27); padding-top: 24px"]:has(> p + h3)>h3{margin:0!important;flex:1 1 0;min-width:0}
main section [style*="border-top: 2px solid rgb(22, 24, 27); padding-top: 24px"]:has(> p + h3)>p:last-child{flex:0 0 100%;margin-top:6px!important}
main section [style*="border-top: 2px solid rgb(22, 24, 27); padding-top: 24px"]{padding-top:12px!important}
main section [style*="border-top: 2px solid rgb(22, 24, 27); padding-top: 24px"]>h3:first-child{margin-bottom:4px!important}
main section [style*="border-top: 2px solid rgb(22, 24, 27); padding-top: 24px"]>h3:first-child+p{line-height:1.55!important}
main section [style*="minmax(min(100%, 280px), 1fr)"]{gap:16px!important}
main section [style*="margin-top: clamp("]{margin-top:20px!important}
.rtable tr{padding:10px 0!important}
.rtable th[scope=row]{margin-bottom:2px}
.rtable td{padding:2px 0!important;line-height:1.5!important}
.rtable td::before{display:inline!important;margin:0 6px 0 0!important;content:attr(data-label) ":"!important;font-size:15px!important}
main section [style*="margin: 0px 0px 48px"],main section [style*="margin: 0px 0px 32px"]{margin-bottom:16px!important}
main section [style*="gap: 24px 64px"],main section [style*="gap: 32px 64px"],main section [style*="gap: 40px 32px"]{row-gap:10px!important}
main section [style*="gap: 40px;"],main section [style*="gap: 32px;"]{gap:18px!important}
main section [style*="padding: 24px 24px 32px 0px"]{padding:12px 0 14px!important}
main section [style*="padding-top: 20px"]{padding-top:14px!important}
main section [style*="padding-top: 24px"]{padding-top:14px!important}
main section [style*="margin: 0px 0px 36px"],main section [style*="margin: 0px 0px 40px"]{margin-bottom:14px!important}
main section [style*="margin: 72px 0px 32px"]{margin:28px 0 16px!important}
main section [style*="margin: clamp(40px, 5vw, 56px) auto 0px"]{margin-top:20px!important}
main section [style*="padding: 16px 0px"]{padding:10px 0!important}
main section [style*="padding: 20px 24px 20px 0px"]{padding:10px 0!important}
.thesis-grid{margin-top:22px!important;gap:18px!important}.thesis-grid a{padding-top:14px!important;gap:8px!important}
footer [style*="padding: clamp(48px, 6vw, 72px) clamp(20px, 5vw, 40px) 0px"]{padding-top:28px!important}
footer [style*="gap: 40px"],footer [style*="gap: 32px"]{gap:20px!important}
footer>div:last-child{padding-top:19px!important;padding-bottom:17px!important;margin-top:18px!important;row-gap:16px!important}
footer nav[aria-label=Legal]{gap:2px!important}
footer nav[aria-label=Legal]>a{line-height:1.5!important}
footer nav[aria-label=Legal]>p{margin-bottom:6px!important}
footer nav[aria-label=Legal]>button{margin-top:0!important;line-height:1.5!important}
footer>div:last-child p{line-height:1.5!important}
main[data-page=programme] #gState-form>section{padding-top:14px!important;padding-bottom:24px!important}
main[data-page=company] section:not(.pg-hero){padding-top:22px!important;padding-bottom:22px!important}
main[data-page=company] section[style*="background: rgb(242, 242, 242)"]{padding-top:20px!important;padding-bottom:16px!important}
main[data-page=company] section div:has(> div > h2:only-child)>div:has(> h2:only-child){margin-bottom:2px}
main[data-page=company] section.pg-hero{padding-bottom:19px!important}
main[data-page=company] section.pg-hero p[style*="uppercase"]{margin-bottom:15px!important}
main[data-page=mathematics] section.pg-hero{padding-bottom:24.2px!important}
main[data-page=mathematics] section.pg-hero p[style*="uppercase"]{margin-bottom:22.5px!important}
main[data-page=mathematics] section.pg-hero p:not([style*="uppercase"]){margin-top:15.4px!important;margin-bottom:0!important}
.vg-card{padding:20px!important}}
@media (min-width:1080px){.pg-no{display:none!important}
main[data-page=programme] #gState-form>section{padding-top:55px!important}
main[data-page=programme] #gState-form .pg-num{margin-bottom:53px!important}
main section [style*="gap: 32px 64px; align-items: flex-end"]{align-items:center!important}
main section [style*="gap: 32px 64px; align-items: flex-end"]>p{background:#F2F2F2;padding:34px 38px!important;border-left:2px solid #9E2419;max-width:none!important}}
.radio input{accent-color:#9E2419}
img{max-width:100%}
.ck-btns{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ck-btns .btn{justify-content:center;font-size:14px!important;font-weight:600;letter-spacing:0!important;text-transform:none!important;padding:12px!important}
.ck-btns .btn:last-child{grid-column:1/-1}
.ck-cat{border-top:1px solid #DEDDD8}
.ck-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0}
.ck-exp{font:inherit;font-size:14px;font-weight:600;color:#16181B;background:none;border:0;padding:0;cursor:pointer;display:flex;gap:10px;align-items:center;text-align:left}
.ck-plus{display:inline-block;width:14px;color:#9E2419;font-size:17px;line-height:1}
.ck-always{font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#686B70;white-space:nowrap}
.ck-body{padding:0 0 14px 24px;font-size:13px;line-height:1.6;color:#2E3034}
.ck-body p{margin:0 0 8px}.ck-body ul{margin:0;padding:0 0 0 16px;color:#686B70}
.ck-switch{position:relative;display:inline-block;width:38px;height:22px;flex:none;cursor:pointer}
.ck-switch input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
.ck-switch span{position:absolute;inset:0;background:#C9C8C3;border-radius:22px;transition:background .2s;pointer-events:none}
.ck-switch span:after{content:'';position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:50%;background:#FFFFFF;transition:transform .2s}
.ck-switch input:checked+span{background:#9E2419}.ck-switch input:checked+span:after{transform:translateX(16px)}
.ck-switch input:focus-visible+span{outline:2px solid #16181B;outline-offset:2px}
.ct-l{font-size:12px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#686B70;margin:0 0 4px}
.ct-v{font-size:16px;line-height:1.6;color:#16181B;margin:0 0 18px}.ct-v a{color:#16181B}
.ct-f{display:flex;flex-direction:column;gap:8px}
.ct-f span{font-size:12px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#16181B}
.ct-f input,.ct-f select,.ct-f textarea{font:inherit;font-size:16px;color:#16181B;background:#FFFFFF;border:1px solid #16181B;border-radius:0;padding:12px 14px;min-height:50px;width:100%;box-sizing:border-box}
.ct-f textarea{resize:vertical;min-height:130px}
.ct-f input:focus,.ct-f select:focus,.ct-f textarea:focus{outline:2px solid #9E2419;outline-offset:-1px}

    .eq-group{display:inline-flex;align-items:center;gap:inherit;white-space:nowrap}
    figure[aria-label="Asset coverage test"] .eq-group{gap:28px}
    figure[aria-label="Annual cash test"] .eq-group{gap:24px}
    .m-only{display:none}
    @media (max-width:700px){.m-only{display:block}
    main .thesis-grid a{pointer-events:none}
    main section #mathMore{width:100%;margin-top:20px!important}
    main section .thesis-grid + .m-only{margin-top:20px!important}
    body.m-show section.m-hide{display:block!important}
    legal-x{}}
    .ct-f select{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:auto;line-height:inherit;padding:12px 44px 12px 14px;background:#FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2316181B' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center;cursor:pointer}
    #mainNav a{font-size:16px!important;font-weight:500!important;letter-spacing:0.005em!important;color:#16181B}
#mainNav{gap:clamp(20px,2.4vw,36px)!important}
.mobile-menu a{font-size:17px!important}

.btn{justify-content:center!important;min-height:48px;box-sizing:border-box}
.btn[disabled]{opacity:.45!important;background:#16181B!important;color:#FFFFFF!important;border-color:#16181B!important}
footer p[style*="158, 36, 25"],footer p[style*="#9E2419"]{color:#16181B!important}
footer>div:last-child{position:relative;border-top:0!important}
footer>div:last-child::before{content:"";position:absolute;top:0;left:clamp(20px,5vw,40px);right:clamp(20px,5vw,40px);border-top:1px solid #DEDDD8}
@media (min-width:900px){main [style*="minmax(min(100%, 250px)"]{grid-template-columns:repeat(3,1fr)!important}}
header svg text{font-kerning:normal}

@media (max-width:700px){
header>div:first-child{height:80px!important;gap:16px!important}
header a[aria-label] svg{height:59px!important}
main[data-page=home] section:first-of-type{padding-top:28px!important}
.pg-hero{padding-top:28px!important;padding-bottom:24px!important}
main h1{font-size:28px!important;line-height:1.14!important;font-weight:700!important;letter-spacing:-0.02em!important;max-width:none!important}
main[data-page=home] h1{font-size:30px!important}
main[data-page=home] section:first-of-type h1+p{font-size:17px!important;margin-top:14px!important}
main[data-page=home] section:first-of-type p:not(:first-of-type){font-size:16px!important;line-height:1.6!important;margin-top:14px!important;margin-bottom:24px!important}
main h2{font-size:22px!important;line-height:1.2!important;font-weight:700!important;letter-spacing:-0.015em!important}
main h3{font-size:18px!important;line-height:1.3!important;font-weight:700!important}
main p[style*="font-size: 19px"],main p[style*="font-size:19px"],main p[style*="font-size: 18px"],main p[style*="font-size:18px"],main p[style*="font-size: 17px"],main p[style*="font-size:17px"],main li{font-size:16px!important;line-height:1.6!important}
main p[style*="font-size: 12.5px"],main p[style*="font-size:12.5px"]{font-size:11.5px!important}
main section:first-of-type h1+p{margin-top:20px!important;margin-bottom:0!important}
main section:first-of-type div:has(> h1)+p{margin-top:20px!important;margin-bottom:0!important}
main section:first-of-type div:has(> div > h1){row-gap:0!important}
main:not([data-page=home]) section:first-of-type{padding-bottom:10px!important}
main[data-page=home] section:first-of-type h1+p{margin-top:16px!important}
main[data-page=home] section:first-of-type p:not(:first-of-type){margin-top:22px!important;margin-bottom:0!important}
main[data-page=home] section:first-of-type .btn{margin-top:26px!important}
main:not([data-page=home]) section.pg-hero:first-of-type{padding-top:22px!important;padding-bottom:22px!important}
main:not([data-page=home]) section:first-of-type p:has(+ h1){margin-bottom:14px!important}
main[data-page=mathematics] section.pg-hero:first-of-type p[style*="uppercase"]{margin-bottom:14px!important}
main[data-page=mathematics] section.pg-hero:first-of-type p:not([style*="uppercase"]){margin-top:20px!important}
main:not([data-page=home]) section:first-of-type:not(.pg-hero){padding-top:22px!important}
.pg-hero h1{margin:0!important}
main[data-page=company] dl{border-bottom:0!important}
main dt,main dd{font-size:16px!important}
main[data-page=strategies] section:last-of-type p:last-child{margin-top:24px!important}
body[data-page=home] #mobileMenu a[href$="/"],body[data-page=home] #mobileMenu a[href$="/index.html"],body[data-page=company] #mobileMenu a[href$="/about.html"],body[data-page=mathematics] #mobileMenu a[href$="/approach.html"],body[data-page=strategies] #mobileMenu a[href$="/strategy.html"],body[data-page=programme] #mobileMenu a[href$="/investment-programme.html"],body[data-page=originators] #mobileMenu a[href$="/partners.html"],body[data-page=contact] #mobileMenu a[href$="/contact.html"]{color:#9E2419!important;font-weight:700!important}
}

@media (max-width:700px){
/* ---- boundaries: 24 ---- */
body:not(#_) main section{padding-top:24px!important;padding-bottom:24px!important}
body:not(#_) main section.sp-join{padding-bottom:0!important}
body:not(#_) main section :is(p,h1,h2,h3,dl,div,table,form,ul):first-child{margin-top:0!important}
body:not(#_) main section :is(p,h1,h2,h3,dl,div,table,form,ul):last-child{margin-bottom:0!important}
/* red labels: tight line box so the label itself carries no extra space */
body:not(#_) main p[style*="uppercase"]{line-height:1.25!important}
/* ---- stacked two-column blocks (not the page header, not lists, not button rows) ---- */
body:not(#_) main section:not(:first-of-type) div:is([style*="flex-wrap: wrap"],[style*="flex-wrap:wrap"]):not(dl div):not(:has(> .btn)){row-gap:14px!important}
body:not(#_) main section div:has(> h2:only-child){margin-bottom:0!important}
body:not(#_) main section div[style*="padding-top: 4px"]{padding-top:0!important}
/* ---- label to heading: 12 ---- */
body:not(#_) main section:not(:first-of-type) p[style*="uppercase"]:has(+ h2){margin-bottom:12px!important}
/* ---- paragraphs: 16 ---- */
body:not(#_) main section:not(:first-of-type) p:not([style*="uppercase"]):not(.ct-l):has(+ p:not([style*="uppercase"]):not(.ct-l):not(.m-hide)){margin-bottom:10px!important}
body:not(#_) main section p:has(~ .m-hide):not(:has(~ :not(.m-hide))){margin-bottom:0!important}
body:not(#_) main section :is(div,p):has(~ .m-hide):not(:has(~ :not(.m-hide))){margin-bottom:0!important}
/* ---- closing link or button: 24 above, 24 below ---- */
body:not(#_) main section a.scp2{margin-top:24px!important}
body:not(#_) main section p:has(+ .m-hide + a.scp2),body:not(#_) main section p:has(+ a.scp2){margin-bottom:0!important}
body:not(#_) main section:not(:first-of-type) p + .btn,body:not(#_) main section:not(:first-of-type) p + div:has(> .btn){margin-top:21px!important}
body:not(#_) main section div:has(> .btn):not(:has(> :not(.btn))){row-gap:12px!important}
body:not(#_) main section:not(:first-of-type) p:has(+ .btn),body:not(#_) main section:not(:first-of-type) p:has(+ div > .btn){margin-bottom:0!important}
/* ---- text leading: the last paragraph in a block carries ~4px of invisible line space ---- */
body:not(#_) main section p:not([style*="uppercase"]):not(.ct-l):last-child{margin-bottom:-4px!important}
body:not(#_) main section p:not([style*="uppercase"]):has(~ .m-hide):not(:has(~ :not(.m-hide))){margin-bottom:-4px!important}
body:not(#_) main section a.scp2{margin-top:14px!important}
/* ---- Home: Three principles ---- */
body:not(#_) main section div[style*="border-top: 2px"]:has(> h3){padding-top:15px!important}
body:not(#_) main section div:has(> div[style*="border-top: 2px"] > h3){row-gap:13px!important}
/* ---- Originators: We work with ---- */
body:not(#_) main section p[style*="uppercase"]:has(+ div > div[style*="border-top"] > h3){margin-bottom:24px!important}
body:not(#_) main section div[style*="border-top"]:has(> h3 + p){padding-top:15px!important}
/* ---- Mathematics: the two identities and one test ---- */
body:not(#_) main section h2 + .thesis-grid{margin-top:16px!important}
body:not(#_) main .thesis-grid > a{padding-top:16px!important}
body:not(#_) main .thesis-grid > a > p[style*="uppercase"]{margin-bottom:2px!important}
body:not(#_) main .thesis-grid > a > h3 + p{margin-top:-3px!important}
body:not(#_) main .thesis-grid{row-gap:16px!important}
body:not(#_) main .thesis-grid + p{margin-top:16px!important}
/* ---- Company: founder photo and governance rows ---- */
body:not(#_) main section h2 + img{margin-top:16px!important}
body:not(#_) main dl > div{padding-top:13px!important;padding-bottom:12px!important;row-gap:2px!important}
body:not(#_) main dl > div:last-child{padding-bottom:0!important}
body:not(#_) main dl > div:last-child dd{margin-bottom:-4px!important}
/* ---- Strategies: heading, strapline, body ---- */
body:not(#_) main section h2 + p:has(+ div){margin-bottom:-4px!important}
/* ---- comparison tables shown as cards ---- */
body:not(#_) main section:has(.rtable) h2{margin-bottom:0!important}
body:not(#_) main .rtable tr{padding:0!important}
body:not(#_) main .rtable th{padding:16px 0 3px!important;font-size:11.5px!important;line-height:1.25!important}
body:not(#_) main .rtable td{padding:0 0 2px!important;font-size:16px!important;line-height:1.6!important}
body:not(#_) main .rtable td:last-child{padding-bottom:13px!important}
body:not(#_) main section .rtable ~ p,body:not(#_) main section div:has(> .rtable) + p{margin-top:22px!important}
/* ---- Contact: details and form ---- */
body:not(#_) main section div[style*="border-top"]:has(> h2 + .ct-l){padding-top:16px!important}
body:not(#_) main h2:has(+ .ct-l){margin-bottom:14px!important}
body:not(#_) main .ct-l{margin-bottom:3px!important}
body:not(#_) main .ct-v{margin-bottom:10px!important}
body:not(#_) main .ct-v:has(+ p:not(.ct-l)){margin-bottom:0!important}
body:not(#_) main .ct-v + p:not(.ct-l){margin-top:12px!important}
body:not(#_) main section div:has(> form){row-gap:24px!important}
body:not(#_) main section:not(:first-of-type) form .btn,body:not(#_) main section:not(:first-of-type) form div:has(> .btn){margin-top:0!important}
/* ---- finishing touches ---- */
body:not(#_) main section h2 + p:has(+ div){margin-top:-2px!important}
body:not(#_) main[data-page=originators] section div[style*="border-top"]:has(> h3 + p) > p:not(.a1):not(.a2):not(.a3):last-child{margin-bottom:1px!important}
body:not(#_) main[data-page=originators] section div[style*="border-top"]:has(> h3 + p):last-child > p:not(.a1):not(.a2):not(.a3):last-child{margin-bottom:-2px!important}
body:not(#_) main section p:has(> a[href^="mailto"]):has(+ .btn){margin-bottom:-3px!important}
body:not(#_) main[data-page=home] section:first-of-type h1 + p + p{margin-top:13px!important}
body:not(#_) main[data-page=home] section:first-of-type .btn{margin-top:21px!important}
/* ---- Important Information page ---- */
body:not(#_) main[data-page=legal] section:first-of-type{padding-bottom:12px!important}
body:not(#_) main[data-page=legal] section div[style*="border-top"]:has(> h3){padding-top:16px!important;padding-bottom:16px!important}
body:not(#_) main[data-page=legal] section div[style*="border-top"]:has(> h3):last-child{padding-bottom:0!important}
body:not(#_) main[data-page=legal] section div[style*="border-top"] > h3{margin-bottom:5px!important}
body:not(#_) main[data-page=legal] section ol > li{padding-top:14px!important}
body:not(#_) main[data-page=legal] section ol > li:last-child{padding-bottom:0!important}
/* ---- Investment Programme access card ---- */
body:not(#_) main section:has(#gateForm){padding-top:24px!important}
body:not(#_) main p.pg-num:has(+ #gateForm){margin-bottom:24px!important}
body:not(#_) main #gateForm{padding-top:16px!important}
body:not(#_) main #gateForm > p:first-child{margin-bottom:-10px!important}
body:not(#_) main #gateForm > h2{margin-bottom:-6px!important}
body:not(#_) main #gateForm > .vg-fields{margin-top:-5px!important;padding-top:14px!important}
body:not(#_) main .vg-restr{margin-top:5px!important}
body:not(#_) main .vg-restr > p:first-child{margin-bottom:9px!important}
body:not(#_) main .vg-restr > p:not(:first-child):not(:last-child){margin-bottom:10px!important}
body:not(#_) main[data-page=legal] .rtable{margin-top:-14px!important}
body:not(#_) main .rt-agency{display:block!important}
body:not(#_) main .ap-sub{font-size:17px!important;margin-top:16px!important}
body:not(#_) main section div:has(> .ap-sub) + p{margin-top:17px!important}
}