/* R3i — brand system v4 · institutional / private-banking register
   28 July 2026. Colour anchors from the R3i Capital Brand Book
   (R3i Blue in the mark, gold #AD7307 as restrained accent, navy
   grounds); serif display, ivory paper, hairline discipline.
   No gradients — flat fields only. */

:root {
  --blue: #0741AD;                       /* the mark; used sparingly */
  --ink: #EFECE4;                        /* light type on dark ground */
  --navy: #041D4C;                       /* covers — one shade above the page */
  --paper: #06080F;                      /* near-black navy ground (Lux-mapped) */
  --rule: rgba(239, 236, 228, 0.16);     /* light hairline on dark */
  --gold: #AD7307;                       /* Brand Book complementary — details only */
  --gold-soft: #C89A4B;                  /* brightened for dark ground */
  --muted: #8B8878;
  --ivory-muted: rgba(239, 236, 228, 0.6);
  --navy-rule: rgba(239, 236, 228, 0.18);
  --gold-on-navy: rgba(214, 178, 106, 0.85);

  --display: "Cormorant Garamond", "Times New Roman", serif;
  --body: "Archivo", "Helvetica Neue", sans-serif;

  --inset: clamp(18px, 4vw, 60px);
  --pad: clamp(30px, 4.4vw, 58px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { background: var(--paper); scroll-behavior: smooth; }

body {
  font-family: var(--body);
  font-weight: 400;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: #06080F; }

/* ---------- type roles ---------- */

.t-cover {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(52px, 8vw, 112px);
  line-height: 1.02;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.t-section {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.004em;
  text-wrap: balance;
}

.t-statement {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
}

.t-subhead {
  font-family: var(--display);
  font-weight: 600;
  font-size: 23px;
  line-height: 1.25;
}

.t-body { max-width: 64ch; font-size: 16px; line-height: 1.75; }

.t-caption {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 74ch;
}

.t-label {
  font-family: var(--body);
  font-weight: 600;
  font-size: 10.5px;
  line-height: 1.5;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.on-navy .t-label,
.t-label.muted { color: var(--gold-on-navy); }
.on-navy { color: var(--ink); }
.on-navy .t-caption { color: var(--ivory-muted); }

a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(173, 115, 7, 0.45); text-underline-offset: 4px; text-decoration-thickness: 1px; transition: color .2s ease, text-decoration-color .2s ease; }
a:hover { color: var(--gold-soft); text-decoration-color: var(--gold-soft); }
.on-navy a { color: var(--ink); text-decoration-color: var(--gold-on-navy); }
.on-navy a:hover { color: var(--gold-on-navy); }

p + p { margin-top: 1em; }

/* ---------- the field: hairline frame with crosshairs ---------- */

.field {
  position: relative;
  margin: var(--inset);
  border: 1px solid var(--rule);
  background: var(--paper);
}

.cross { position: absolute; width: 15px; height: 15px; pointer-events: none; z-index: 2; }
.cross::before, .cross::after { content: ""; position: absolute; background: var(--rule); }
.cross::before { left: 7px; top: 0; width: 1px; height: 15px; }
.cross::after  { left: 0; top: 7px; width: 15px; height: 1px; }
.cross.tl { top: -8px; left: -8px; }
.cross.tr { top: -8px; right: -8px; }
.cross.bl { bottom: -8px; left: -8px; }
.cross.br { bottom: -8px; right: -8px; }

.on-navy .cross::before, .on-navy .cross::after { background: var(--navy-rule); }
.field.on-navy { border-color: var(--navy-rule); background: var(--navy); }

/* ---------- column split ---------- */

.split { display: grid; grid-template-columns: minmax(180px, 1fr) 2.4fr; }
.split > .label-col { border-right: 1px solid var(--rule); padding: var(--pad); }
.split > .content-col { padding: var(--pad); min-width: 0; }
.on-navy .split > .label-col { border-right-color: var(--navy-rule); }

@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  .split > .label-col { border-right: none; border-bottom: 1px solid var(--rule); padding-bottom: 18px; }
  .split > .content-col { padding-top: 26px; }
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--inset);
  background: rgba(6, 8, 15, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--rule); }

.mark { display: inline-block; }
.mark-img, .mark-img:hover { padding: 0; background: transparent; }
.mark-img img { display: block; height: 46px; width: auto; }

.site-nav { display: flex; gap: clamp(14px, 2.4vw, 32px); flex-wrap: wrap; justify-content: flex-end; }
.site-nav a {
  font-family: var(--body);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 5px 0;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.site-nav a:hover { color: var(--gold-soft); border-bottom-color: var(--gold-soft); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--gold-soft); }

/* ---------- sections ---------- */

.section { border-top: 1px solid var(--rule); }
.section:first-child { border-top: none; }

/* ---------- cover ---------- */

.divider {
  position: relative;
  background: var(--navy);
  overflow: hidden;
  min-height: min(80vh, 780px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(80px, 13vw, 160px) var(--pad) var(--pad) var(--pad);
}
.divider .ghost {
  position: absolute;
  right: 0.02em;
  top: -0.1em;
  font-family: var(--display);
  font-weight: 600;
  font-style: italic;
  font-size: clamp(220px, 40vw, 540px);
  line-height: 1;
  color: rgba(239, 236, 228, 0.05);
  user-select: none;
}
.divider .divider-title { position: relative; width: 100%; }

/* gold keyline above the cover title */
.divider .divider-title::before {
  content: "";
  display: block;
  width: 64px;
  height: 1px;
  background: var(--gold-on-navy);
  margin-bottom: 26px;
}

/* ---------- cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.card {
  position: relative;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 34px 36px 40px 36px;
  min-width: 0;
  background: transparent;
  transition: background .35s ease;
}
.card:hover { background: #0A101F; }
.card .item-no {
  position: absolute;
  top: 26px;
  right: 28px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--gold-soft);
}
.card .t-subhead { margin: 34px 0 12px 0; }
.card p { font-size: 14px; line-height: 1.7; }

/* ---------- statement figures ---------- */

.figures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.figure {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 34px 36px 38px 36px;
  transition: background .35s ease;
}
.figure:hover { background: #0A101F; }
.figure .num {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(56px, 6.4vw, 84px);
  line-height: 1.05;
}

/* ---------- tables ---------- */

table { width: 100%; border-collapse: collapse; }
th {
  font-family: var(--body);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: left;
  color: var(--gold-soft);
  border-bottom: 1px solid var(--rule);
  padding: 13px 18px 13px 0;
}
td { border-bottom: 1px solid var(--rule); padding: 14px 18px 14px 0; vertical-align: top; font-size: 14px; }

/* ---------- furniture ---------- */

.furniture {
  padding: 22px var(--pad);
  border-top: 1px solid var(--rule);
  font-family: var(--body);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- footer: full-bleed navy close ---------- */

.site-footer {
  background: #030610;
  color: var(--ink);
  margin: 0;
  padding: clamp(52px, 7vw, 92px) var(--inset) 40px var(--inset);
  border-top: 1px solid var(--gold-on-navy);
}
.site-footer .legal {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ivory-muted);
  max-width: 74ch;
}
.site-footer .legal p + p { margin-top: 0.85em; }
.footer-links { display: flex; gap: 30px; margin: 30px 0 0 0; flex-wrap: wrap; }
.footer-links a {
  font-family: var(--body);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.footer-links a:hover { color: var(--gold-on-navy); }
.footer-line {
  font-family: var(--body);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory-muted);
  border-top: 1px solid var(--navy-rule);
  padding-top: 20px;
  margin-top: 36px;
}

/* ---------- misc ---------- */

.stack > * + * { margin-top: 17px; }
.eyebrow { margin-bottom: 18px; }

.people { list-style: none; columns: 3; gap: 36px; }
.people li { padding: 9px 0; border-bottom: 1px solid var(--rule); break-inside: avoid; font-size: 14px; }
@media (max-width: 860px) { .people { columns: 2; } }
@media (max-width: 560px) { .people { columns: 1; } }

.offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.office { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 30px 34px; font-size: 14px; line-height: 1.75; transition: background .35s ease; }
.office:hover { background: #0A101F; }
.office .t-label { display: block; margin-bottom: 12px; }

/* ---------- contact form ---------- */

.contact-form { display: grid; gap: 24px; max-width: 580px; margin-top: 14px; }
.contact-form .form-field label {
  font-family: var(--body);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  display: block;
  margin-bottom: 9px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--rule);
  border-radius: 0;
  background: #0A101F;
  padding: 14px 15px;
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .2s ease;
}
.contact-form select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' fill='none' stroke='%238F6410' stroke-width='1.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold-soft); }
.contact-form textarea { min-height: 150px; resize: vertical; }

.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  border: 1px solid var(--blue);
  border-radius: 0;
  cursor: pointer;
  font-family: var(--body);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 34px;
  justify-self: start;
  transition: background .25s ease, color .25s ease;
}
.btn:hover { background: transparent; color: var(--ink); border-color: var(--gold-soft); }
.btn:disabled { opacity: .6; cursor: default; }

/* ---------- reveal on scroll ---------- */

.rv { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .6, .2, 1); }
.rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .card, .figure, .office, .btn { transition: none; }
}

/* ---------- headshots ---------- */
.headshot {
  width: 128px;
  height: 128px;
  object-fit: cover;
  display: block;
  margin: 30px 0 4px 0;
  border: 1px solid var(--rule);
  filter: grayscale(100%);
}
