/* ---------- Fonts (self-hosted, SIL Open Font Licence) ---------- */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-italic.woff2") format("woff2");
  font-weight: 300 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/ibm-plex-sans.woff2") format("woff2");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */

:root {
  --bg: #070a10;
  --bg-raised: #0c111a;
  --ivory: #e8ecf1;
  --ivory-dim: #b8c0cb;
  --muted: #8b94a1;
  --accent: #4d9fff;
  --line: rgba(232, 236, 241, .11);
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ivory-dim);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, p { margin: 0; font-weight: inherit; font-size: inherit; }

ul, ol { margin: 0; padding: 0; list-style: none; }

html { scroll-behavior: smooth; }

[id] { scroll-margin-top: 96px; }

a { color: inherit; text-decoration: none; }

::selection { background: rgba(77, 159, 255, .35); color: var(--ivory); }

:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }

.vh {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  display: block;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* ---------- Notice strip ---------- */

.notice {
  padding: 11px var(--gutter);
  border-bottom: 1px solid var(--line);
  background: var(--bg-raised);
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .24em;
  text-align: center;
  text-transform: uppercase;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(100svh - 112px);
  padding: 64px var(--gutter) 88px;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 55% at 50% 45%, rgba(77, 159, 255, .07), transparent 70%),
    linear-gradient(to bottom, transparent 70%, var(--bg));
  pointer-events: none;
}

.guilloche {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: fade 2.4s var(--ease) .2s forwards;
}

.markets {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: fade 2s var(--ease) .4s forwards;
  pointer-events: none;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.mark {
  display: block;
  width: auto;
  height: clamp(112px, 17vh, 156px);
  margin-bottom: clamp(36px, 6vh, 56px);
}

.headline .eyebrow { margin-bottom: 22px; }

.display {
  display: block;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(42px, 7vw, 84px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -.005em;
}

.display .line { display: block; }

.display em { font-style: italic; font-weight: 300; }

.rule {
  display: block;
  width: 56px;
  height: 1px;
  margin: 34px 0 20px;
  background: var(--accent);
}

.risk {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .06em;
}

/* staged entrance */
.mark, .headline .eyebrow, .display .line, .rule, .risk {
  opacity: 0;
  animation: rise 1.1s var(--ease) forwards;
}
.mark { animation-delay: .1s; }
.headline .eyebrow { animation-delay: .35s; }
.display .line:first-child { animation-delay: .5s; }
.display .line:last-child { animation-delay: .65s; }
.rule { animation-name: draw; animation-delay: .9s; }
.risk { animation-delay: 1.05s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@keyframes draw {
  from { opacity: 0; transform: scaleX(0); }
  to { opacity: 1; transform: scaleX(1); }
}

@keyframes fade { to { opacity: 1; } }

.home-link {
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: color .2s;
}
.home-link:hover { color: var(--ivory); }

/* ---------- Content rows ---------- */

.row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 2.7fr;
  gap: 48px;
  padding: clamp(56px, 9vw, 104px) 0;
  border-top: 1px solid var(--line);
}

.row > .eyebrow { padding-top: .7em; }

.lede {
  max-width: 34em;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(22px, 2.3vw, 29px);
  font-weight: 400;
  line-height: 1.45;
}

.email {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  padding-bottom: 6px;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(34px, 4.6vw, 60px);
  font-weight: 300;
  line-height: 1.15;
  background: linear-gradient(var(--accent), var(--accent)) left bottom / 100% 1px no-repeat;
  transition: background-size .35s var(--ease), color .2s;
}

.email svg {
  width: .62em;
  height: .62em;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.2;
  transition: transform .3s var(--ease);
}

.email:hover { color: #fff; }
.email:hover svg { transform: translateX(4px); }

/* ---------- Disclosures ---------- */

.disclosures { border-bottom: 1px solid var(--line); }

details { border-top: 1px solid var(--line); }

summary {
  position: relative;
  padding: 22px 48px 22px 0;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(21px, 2vw, 25px);
  font-weight: 400;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
  transition: color .2s;
}

summary::-webkit-details-marker { display: none; }

summary::before, summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 4px;
  width: 14px;
  height: 1px;
  background: var(--accent);
  transition: transform .3s var(--ease);
}

summary::after { transform: rotate(90deg); }
details[open] summary::after { transform: rotate(0deg); }

summary:hover { color: #fff; }

.body {
  max-width: 62ch;
  padding: 0 0 26px;
  font-size: 15px;
  line-height: 1.75;
}

.body p + p { margin-top: 12px; }

/* ---------- Footer ---------- */

.footer {
  padding-top: 40px;
  padding-bottom: 56px;
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: .04em;
  text-align: center;
}

.footer a { transition: color .2s; }
.footer a:hover { color: var(--ivory); }

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

.nav {
  position: sticky;
  top: 12px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: calc(100% - 2 * var(--gutter));
  max-width: 1072px;
  margin: 12px auto 0;
  padding: 8px 8px 8px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(12, 17, 26, .62);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  transition: background .3s, border-color .3s;
}

.nav.scrolled {
  background: rgba(9, 12, 19, .88);
  border-color: rgba(232, 236, 241, .16);
}

.brand {
  color: var(--ivory);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
}

.nav-links { display: flex; gap: 32px; }

.nav-links a {
  color: var(--muted);
  font-size: 13.5px;
  letter-spacing: .02em;
  transition: color .2s;
}

.nav-links a:hover, .nav-links a.active { color: var(--ivory); }

.nav-cta {
  padding: 11px 20px;
  border: 1px solid rgba(77, 159, 255, .55);
  border-radius: 9px;
  color: var(--ivory);
  font-size: 13.5px;
  transition: background .2s, border-color .2s;
}

.nav-cta:hover { background: rgba(77, 159, 255, .12); border-color: var(--accent); }

/* ---------- Market sessions band ---------- */

.sessions {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-raised);
  overflow: hidden;
}

.sessions[hidden] { display: none; }

.sessions::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 60% 120% at 50% 50%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 120% at 50% 50%, #000 20%, transparent 75%);
  opacity: .55;
  pointer-events: none;
}

.sessions-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.sessions-note {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.sessions-note:empty { display: none; }

.session-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  flex: 1;
  max-width: 780px;
}

.session-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 22px;
  border-left: 1px solid var(--line);
}

.dial-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.dial { flex: none; width: 58px; height: 58px; }

.dial .face {
  fill: rgba(232, 236, 241, .025);
  stroke: rgba(232, 236, 241, .28);
  stroke-width: 1;
  transition: stroke .4s;
}

.dial .tick { stroke: rgba(232, 236, 241, .32); stroke-width: 1; stroke-linecap: round; }
.dial .tick.major { stroke: rgba(232, 236, 241, .7); stroke-width: 1.6; }
.dial .hand { stroke: var(--ivory); stroke-linecap: round; }
.dial .hour { stroke-width: 2.4; }
.dial .minute { stroke-width: 1.5; }
.dial .second { stroke: var(--accent); stroke-width: .8; }
.dial .pin { fill: var(--accent); }

.session-list li.open .face { stroke: rgba(77, 159, 255, .6); }

.city {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.clock {
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.15;
  font-variant-numeric: lining-nums tabular-nums;
}

.state {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.state::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3d424b;
}

.session-list li.open .state { color: var(--ivory-dim); }
.session-list li.open .state::before {
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(77, 159, 255, .18);
}

/* ---------- Capabilities ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.card {
  position: relative;
  padding: 30px 30px 28px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(232, 236, 241, .035), rgba(232, 236, 241, .01));
  overflow: hidden;
  transition: border-color .3s;
}

.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(77, 159, 255, .7), transparent);
}

.card:hover { border-color: rgba(77, 159, 255, .35); }

.num {
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
}

.card h3 {
  margin: 16px 0 10px;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 400;
  line-height: 1.1;
}

.card p { max-width: 30ch; color: var(--ivory-dim); }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.tags li {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .04em;
}

/* ---------- Approach ---------- */

.principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
}

.principles li {
  display: grid;
  grid-template-columns: 44px 1fr;
  padding: 24px 0 28px;
  border-top: 1px solid var(--line);
}

.principles li:nth-child(-n+2) { border-top: 0; padding-top: 4px; }

.numeral {
  grid-row: span 2;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  line-height: 1.3;
}

.principles h3 {
  margin: 0 0 6px;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
}

.principles p { font-size: 15px; line-height: 1.6; }

/* ---------- Enquiries ---------- */

#enquiries { align-items: center; }

.cta-line {
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 300;
  line-height: 1.12;
}

/* ---------- Leadership ---------- */

.leadership {
  margin-top: 28px;
  font-size: 15px;
  white-space: nowrap;
}

.leadership-role {
  margin-right: 12px;
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.leadership a {
  color: var(--ivory);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: color .2s;
}

.leadership a:hover { color: #fff; }

.nowrap { white-space: nowrap; }

/* ---------- Profile page ---------- */

.profile {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(64px, 10vw, 120px);
}

.portrait {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}

.portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.profile-text .eyebrow { margin-bottom: 18px; }

.profile-name {
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(40px, 5.6vw, 76px);
  font-weight: 300;
  line-height: 1.02;
  white-space: nowrap;
}

.profile-role {
  margin-top: 10px;
  color: var(--ivory-dim);
  font-family: var(--serif);
  font-size: clamp(21px, 2vw, 26px);
  font-style: italic;
}

.profile-rule {
  display: block;
  width: 56px;
  height: 1px;
  margin: 30px 0 26px;
  background: var(--accent);
}

.profile-bio {
  max-width: 34em;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(20px, 1.9vw, 25px);
  line-height: 1.5;
}

.profile-link {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  margin-top: 28px;
  padding-bottom: 5px;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 300;
  background: linear-gradient(var(--accent), var(--accent)) left bottom / 100% 1px no-repeat;
  transition: color .2s;
}

.profile-link svg {
  width: .62em;
  height: .62em;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.2;
  transition: transform .3s var(--ease);
}

.profile-link:hover { color: #fff; }
.profile-link:hover svg { transform: translateX(4px); }

@media (max-width: 760px) {
  .profile { grid-template-columns: 1fr; gap: 32px; }
  .portrait { max-width: 420px; }
}

/* ---------- Site footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-raised);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 52px;
}

.footer-brand img { display: block; width: auto; height: 76px; margin-bottom: 18px; }

.footer-grid .footer-brand p {
  margin-top: 0;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.3;
}

.site-footer h3 {
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.footer-grid nav a, .footer-grid div > a {
  display: block;
  padding: 4px 0;
  color: var(--ivory-dim);
  font-size: 14px;
  transition: color .2s;
}

.footer-grid nav a:hover, .footer-grid div > a:hover { color: var(--ivory); }

.footer-grid div > p { margin-top: 8px; color: var(--muted); font-size: 13px; }

.footer-base {
  padding-top: 22px;
  padding-bottom: 30px;
  border-top: 1px solid var(--line);
}

/* ---------- Small screens ---------- */

@media (max-width: 1000px) {
  .nav-links { gap: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .sessions-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .session-list { width: 100%; }
  .session-list li:first-child { padding-left: 0; border-left: 0; }
}

@media (max-width: 760px) {
  .row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .row > .eyebrow { padding-top: 0; }
  .notice { letter-spacing: .18em; }
  .nav { padding-left: 18px; }
  .nav-cta { padding: 12px 18px; }
  .cards { grid-template-columns: 1fr; }
  .session-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .session-list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .session-list li { gap: 10px; padding-right: 10px; }
  .dial { width: 48px; height: 48px; }
  .principles { grid-template-columns: 1fr; }
  .principles li:nth-child(2) { border-top: 1px solid var(--line); padding-top: 24px; }
  .footer-grid nav a, .footer-grid div > a { padding: 9px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .mark, .headline .eyebrow, .display .line, .rule, .risk, .guilloche, .markets { opacity: 1; }
}
