:root {
  --ink: #1B1140;
  --ink-2: #3D3659;
  --body: #4A4368;
  --muted: #6F6790;
  --soft: #5A5378;
  --accent: #5B3FD6;
  --accent-2: #4E8EF7;
  --line: #E7E5EF;
  --line-2: #E2DFEC;
  --wash: #F7F7FA;
  --on-dark: #C6C0DE;
  --on-dark-mute: #9F97C4;
  --pad: clamp(20px, 5vw, 32px);
  --max: 1180px;
  --serif: Newsreader, Georgia, serif;
  --sans: "Libre Franklin", system-ui, -apple-system, sans-serif;
}

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

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

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip-link {
  position: absolute; top: -48px; left: 12px; z-index: 100;
  padding: 12px 20px; background: var(--ink); color: #fff;
  font-size: 14px; letter-spacing: .03em; transition: top .2s ease;
}
.skip-link:focus { top: 12px; }
::selection { background: rgba(91, 63, 214, .16); }
input, textarea, button, select { font: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; text-wrap: pretty; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.kicker { margin: 0 0 20px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.h2 { margin: 0; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.14; }
.lead { margin: 24px 0 0; max-width: 600px; font-size: 17px; line-height: 1.7; color: var(--body); font-weight: 300; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar { display: flex; align-items: center; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; }
.brand img { height: 26px; width: auto; display: block; }
.desk { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.desk nav { display: flex; gap: 24px; align-items: center; }
.desk nav a {
  font-size: 14px; color: #423A5E; white-space: nowrap;
  padding-bottom: 3px; border-bottom: 1px solid transparent; transition: color .2s ease;
}
.desk nav a:hover { color: var(--accent); }
.desk nav a[aria-current="true"] { color: var(--accent); border-bottom-color: var(--accent); }
.lang { display: flex; align-items: center; gap: 6px; font-size: 12px; letter-spacing: .08em; color: #C9C5D8; }
.lang button {
  background: none; border: none; padding: 4px 2px; cursor: pointer;
  font-size: 12px; letter-spacing: .08em; color: #9A93B4; border-bottom: 1px solid transparent;
}
.lang button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.btn-line {
  display: inline-block; padding: 11px 22px; border: 1px solid var(--ink);
  color: var(--ink); font-size: 13px; letter-spacing: .04em; white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.btn-line:hover { background: var(--ink); color: #fff; }
.burger {
  display: none; margin-left: auto; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 4px; background: none; border: none; cursor: pointer;
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
}
.burger .lines { display: flex; flex-direction: column; gap: 4px; width: 20px; }
.burger .lines span { height: 1.5px; background: var(--ink); display: block; }
.drawer { display: none; border-top: 1px solid var(--line); background: #fff; }
.drawer[data-open="true"] { display: block; }
.drawer .wrap { padding-top: 18px; padding-bottom: 28px; display: flex; flex-direction: column; }
.drawer a.d-link {
  display: flex; align-items: center; min-height: 48px;
  font-size: 16px; color: var(--ink); border-bottom: 1px solid #F0EEF6;
}
.drawer .d-foot { display: flex; align-items: center; gap: 20px; margin-top: 22px; }
.btn-solid {
  display: inline-block; padding: 15px 30px; background: var(--ink); color: #fff;
  font-size: 14px; letter-spacing: .03em; transition: background .2s ease;
}
.btn-solid:hover { background: #2C1D63; color: #fff; }
.btn-outline {
  display: inline-block; padding: 15px 30px; border: 1px solid #D5D2E1;
  color: var(--ink); font-size: 14px; letter-spacing: .03em; transition: border-color .2s ease, color .2s ease;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 899px) {
  .desk { display: none; }
  .burger { display: flex; }
}

/* Hero */
#top { padding-top: 116px; padding-bottom: 96px; }
#top .eyebrow { margin: 0 0 34px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
#top h1 { margin: 0; max-width: 900px; font-size: clamp(38px, 5.6vw, 74px); line-height: 1.06; letter-spacing: -.015em; }
#top .hero-lead { margin: 34px 0 0; max-width: 620px; font-size: 18px; line-height: 1.65; color: var(--body); font-weight: 300; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }
.rule { margin-top: 84px; height: 2px; background: linear-gradient(90deg, var(--accent-2), var(--accent) 55%, rgba(91, 63, 214, 0)); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 620px; margin-top: 34px; }
.facts > div { padding-right: 32px; }
.facts > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.facts .k { margin: 0 0 6px; font-family: var(--serif); font-size: 20px; color: var(--ink); }
.facts .v { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); font-weight: 300; }
@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; max-width: none; gap: 24px; }
  .facts > div { padding-right: 0; }
  .facts > div + div { padding-left: 0; padding-top: 24px; border-left: none; border-top: 1px solid var(--line); }
}

/* About */
#about { background: var(--wash); border-top: 1px solid #EBE9F2; border-bottom: 1px solid #EBE9F2; }
#about .split {
  padding-top: 96px; padding-bottom: 96px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 64px;
}
#about .prose { display: flex; flex-direction: column; gap: 22px; max-width: 620px; }
#about .prose p { margin: 0; font-size: 17px; line-height: 1.7; color: var(--ink-2); font-weight: 300; }
.tiles {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px; background: var(--line-2); border: 1px solid var(--line-2);
}
.tiles > div { background: #fff; padding: 34px 30px; }
.tiles .t { margin: 0 0 12px; font-family: var(--serif); font-size: 19px; color: var(--ink); }
.tiles .d { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--muted); font-weight: 300; }
#about .tiles-wrap { padding-bottom: 96px; }

/* Services */
#services { background: var(--ink); color: #fff; }
#services .wrap { padding-top: 104px; padding-bottom: 104px; }
#services .kicker { color: var(--on-dark-mute); }
#services h2 { max-width: 760px; color: #fff; }
#services .lead { color: var(--on-dark); }
.phases { margin-top: 68px; }
.phase {
  display: grid; grid-template-columns: 100px minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px; padding: 44px 0; border-top: 1px solid rgba(255, 255, 255, .16);
}
.phase .num { margin: 0; font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--accent-2); }
.phase h3 { margin: 0 0 10px; font-size: 27px; color: #fff; }
.phase .meta { margin: 0 0 14px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-mute); }
.phase .desc { margin: 0; font-size: 15.5px; line-height: 1.7; color: var(--on-dark); font-weight: 300; }
.phase ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.phase li { display: flex; gap: 12px; font-size: 15px; line-height: 1.55; color: #E3E0F0; font-weight: 300; }
.phase li i { flex: none; width: 5px; height: 5px; margin-top: 9px; background: var(--accent-2); }
@media (max-width: 860px) {
  .phase { grid-template-columns: 1fr; gap: 22px; }
  .phase .num { font-size: 34px; }
}

/* Presence */
#presence { padding-top: 104px; padding-bottom: 104px; }
#presence h2 { max-width: 720px; margin-bottom: 48px; }
.t-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.presence { width: 100%; min-width: 520px; border-collapse: collapse; text-align: left; }
table.presence th {
  padding: 0 20px 14px 0; border-bottom: 1px solid var(--ink);
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--ink);
}
table.presence th:nth-child(1) { width: 22%; }
table.presence th:nth-child(2) { width: 26%; }
table.presence th:last-child { padding-right: 0; }
table.presence td { padding: 22px 20px 22px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-weight: 300; }
table.presence td:last-child { padding-right: 0; }
table.presence td.c { font-family: var(--serif); font-size: 19px; color: var(--ink); font-weight: 400; }
table.presence td.r { font-size: 14px; color: var(--accent); }
table.presence td.d { font-size: 15px; line-height: 1.7; color: var(--soft); }

/* Leadership */
#leadership { background: var(--wash); border-top: 1px solid #EBE9F2; border-bottom: 1px solid #EBE9F2; }
#leadership .wrap { padding-top: 96px; padding-bottom: 96px; }
#leadership h2 { max-width: 720px; margin-bottom: 56px; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.16; }
.lead-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 48px; align-items: center; }
.lead-grid .portrait {
  width: 100%; max-width: 340px; aspect-ratio: 1 / 1;
  object-fit: cover; object-position: 50% 22%; display: block;
}
.lead-grid blockquote {
  margin: 0 0 30px; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.4; color: var(--ink); font-style: italic;
}
.lead-grid .bio { margin: 0 0 18px; font-size: 15px; line-height: 1.75; color: var(--soft); font-weight: 300; }
.lead-grid .sig { padding-top: 22px; border-top: 1px solid #DEDBEA; }
.lead-grid .sig p { margin: 0; }
.lead-grid .sig .name { font-size: 15px; color: var(--ink); }
.lead-grid .sig .role { margin-top: 4px; font-size: 13px; color: var(--muted); font-weight: 300; }
.creds { margin-top: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); }
.creds > div { background: #fff; padding: 30px; }
.creds h3 { margin: 0 0 14px; font-family: var(--sans); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.creds ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.creds li { font-size: 14.5px; line-height: 1.5; color: var(--soft); font-weight: 300; }

/* FAQ */
#faq { padding-top: 104px; padding-bottom: 104px; }
#faq h2 { max-width: 720px; margin-bottom: 16px; }
#faq .lead { margin: 0 0 56px; max-width: 560px; }
.qa {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px 56px; padding: 34px 0; border-top: 1px solid var(--line);
}
.qa .q { margin: 0; font-family: var(--serif); font-size: clamp(19px, 2vw, 23px); line-height: 1.3; color: var(--ink); }
.qa .a { margin: 0; font-size: 15.5px; line-height: 1.75; color: var(--soft); font-weight: 300; }
.qa-end { border-top: 1px solid var(--line); }

/* Contact */
#contact { padding-top: 104px; padding-bottom: 104px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 64px; }
#contact h2 { margin: 0 0 24px; }
#contact .lead { margin: 0 0 44px; max-width: 460px; }
.offices { display: flex; flex-direction: column; gap: 26px; }
.offices .city { margin: 0 0 6px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.offices .line { margin: 0; font-size: 15px; line-height: 1.6; color: var(--soft); font-weight: 300; }
.offices > div { padding-top: 20px; border-top: 1px solid var(--line); }
form.enquiry {
  display: flex; flex-direction: column; gap: 22px;
  background: var(--wash); border: 1px solid var(--line-2); padding: clamp(24px, 4vw, 40px);
}
form.enquiry label { display: flex; flex-direction: column; gap: 8px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
form.enquiry input, form.enquiry textarea {
  padding: 13px 14px; border: 1px solid #D5D2E1; background: #fff; color: var(--ink);
  font-size: 16px; letter-spacing: 0; text-transform: none; border-radius: 0;
}
form.enquiry textarea { resize: vertical; min-height: 110px; }
form.enquiry .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
form.enquiry input:focus-visible, form.enquiry textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
form.enquiry button {
  align-self: flex-start; padding: 15px 32px; background: var(--ink); color: #fff;
  border: none; cursor: pointer; font-size: 14px; letter-spacing: .03em; transition: background .2s ease;
}
form.enquiry button:hover { background: #2C1D63; }
form.enquiry button[disabled] { opacity: .5; cursor: default; }
.form-note { margin: 0; font-size: 13px; line-height: 1.6; color: #8B84A6; font-weight: 300; }
.form-note[data-state="ok"] { color: var(--accent); }
.form-note[data-state="err"] { color: #B3261E; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark); }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: #fff; }
.f-top { padding-top: 64px; padding-bottom: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; }
.f-top img { height: 24px; width: auto; display: block; margin-bottom: 20px; filter: brightness(0) invert(1); }
.f-top .blurb { margin: 0; max-width: 260px; font-size: 14px; line-height: 1.7; font-weight: 300; }
.f-col h2 { margin: 0 0 14px; font-family: var(--sans); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #7E76A6; font-weight: 400; }
.f-col .items { display: flex; flex-direction: column; gap: 2px; font-size: 14px; font-weight: 300; }
.f-col .items a, .f-col .items span { display: flex; align-items: center; min-height: 34px; }
.f-bot {
  padding-top: 22px; padding-bottom: 40px; border-top: 1px solid rgba(255, 255, 255, .14);
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  font-size: 13px; font-weight: 300;
}
.f-bot span, .f-bot a { display: inline-flex; align-items: center; min-height: 30px; }
.f-legal { display: inline-flex; flex-wrap: wrap; gap: 6px 20px; }
