html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
/* Layout: dark blueprint ground with fine grid; sticky left headings against right-hand content; one gold block closes the page. */
:root {
  --bg: #061A2E;
  --surface: #0B2744;
  --ink: #F2F6FB;
  --ink-2: #A3B5CA;
  --line: #1D3C5E;
  --grid: #0A2440;
  --gold: #D4A64A;
  --gold-text: #E3BB6B;
  --btn-bg: #D4A64A;
  --btn-ink: #0A2A4A;
  --cta-bg: #D4A64A;
  --cta-ink: #0A2A4A;
  --cta-btn: #0A2A4A;
  --cta-btn-ink: #FFFFFF;
  --form-bg: #0A2A4A;
  --form-ink: #FFFFFF;
  --form-ink-2: #B8C6D8;
  --form-line: #35597F;
  --form-field: #0F3358;
  --font: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --wrap: 74rem;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #F5F7FA;
    --surface: #FFFFFF;
    --ink: #0A2A4A;
    --ink-2: #475A70;
    --line: #D5DDE8;
    --grid: #E7EDF4;
    --gold-text: #8A6420;
    --btn-bg: #0A2A4A;
    --btn-ink: #FFFFFF;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #F5F7FA;
  --surface: #FFFFFF;
  --ink: #0A2A4A;
  --ink-2: #475A70;
  --line: #D5DDE8;
  --grid: #E7EDF4;
  --gold-text: #8A6420;
  --btn-bg: #0A2A4A;
  --btn-ink: #FFFFFF;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.12; letter-spacing: 0.002em; text-wrap: balance; }
p, ul, ol, figure { margin: 0; }
a { color: inherit; }
section[id] { scroll-margin-top: 4.5rem; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; }

.wrap { position: relative; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2.5rem); }
.mono { font-family: var(--mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.eyebrow { font-family: var(--mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); }
.gold-fill { fill: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.9rem 1.55rem; border-radius: 3px; border: 1.5px solid transparent;
  font: 600 0.9rem/1 var(--font); letter-spacing: 0.02em; text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--btn-bg); color: var(--btn-ink); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost { border-color: var(--ink-2); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--surface); }
.btn-sm { padding: 0.7rem 1.1rem; font-size: 0.8rem; }

/* Header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--ink); min-width: 0; }
.brand-mark { width: 2.4rem; height: 2.4rem; flex: none; color: var(--ink); }
.brand-word { display: flex; align-items: center; gap: 0.6rem; }
.brand-word b { font-size: 1.3rem; font-weight: 800; letter-spacing: 0.05em; line-height: 1; }
.brand-word .div { width: 2px; height: 1.3rem; background: var(--gold); flex: none; }
.brand-word span { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.22em; }
.head-nav { margin-left: auto; display: flex; gap: 1.75rem; }
.head-nav a { font-size: 0.85rem; font-weight: 500; text-decoration: none; color: var(--ink-2); }
.head-nav a:hover { color: var(--ink); }
@media (max-width: 52rem) { .head-nav { display: none; } .head-row .btn { margin-left: auto; } }
@media (max-width: 26rem) { .brand-word span { letter-spacing: 0.12em; } .brand { gap: 0.5rem; } .head-row { gap: 0.75rem; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 7vw, 6rem) clamp(3rem, 6vw, 5rem); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(#000 50%, transparent);
  mask-image: linear-gradient(#000 50%, transparent);
}
.hero-mark { position: absolute; right: -10rem; top: -6rem; width: 40rem; height: 40rem; color: var(--line); opacity: 0.7; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 6.2vw, 4.7rem); line-height: 1.04; margin-top: 1.25rem; }
.hero h1 em { font-style: normal; color: var(--gold-text); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); max-width: 35rem; margin-top: 1.5rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero-note { margin-top: 1.5rem; font-size: 0.85rem; color: var(--ink-2); }
@media (max-width: 56rem) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-mark { width: 24rem; height: 24rem; right: -11rem; top: -7rem; opacity: 0.4; }
}

/* Peer view card */
.peer { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: clamp(1.25rem, 3vw, 1.75rem); display: flex; flex-direction: column; gap: 1.5rem; min-width: 0; }
.peer-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.chip { font-family: var(--mono); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; border: 1px solid var(--line); color: var(--ink-2); padding: 0.25rem 0.6rem; border-radius: 999px; }
.peer-label { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; font-weight: 500; font-size: 0.95rem; }
.peer-label .mono { color: var(--ink-2); font-size: 0.66rem; }
.track { position: relative; height: 0.5rem; border-radius: 999px; background: var(--line); margin-top: 0.9rem; }
.range { position: absolute; top: 0; bottom: 0; left: calc(var(--lo) * 1%); width: calc((var(--hi) - var(--lo)) * 1%); background: var(--ink-2); opacity: 0.55; border-radius: 999px; }
.you { position: absolute; top: 50%; left: calc(var(--you) * 1%); width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--gold); border: 3px solid var(--surface); transform: translate(-50%, -50%); }
.axis { display: flex; justify-content: space-between; color: var(--ink-2); font-size: 0.64rem; margin-top: -0.5rem; }
.peer-foot { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; padding-top: 1.1rem; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 0.8rem; }
.key { display: inline-flex; align-items: center; gap: 0.5rem; }
.key .dot { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--gold); }
.key .band { width: 1.4rem; height: 0.4rem; border-radius: 999px; background: var(--ink-2); opacity: 0.55; }

/* Principles */
.principles { border-block: 1px solid var(--line); background: var(--surface); }
.pr-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pr { padding: 1.5rem 1.5rem 1.5rem 1.25rem; border-left: 1px solid var(--line); }
.pr:first-child { border-left: 0; padding-left: 0; }
.pr h3 { font-family: var(--mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); }
.pr p { margin-top: 0.5rem; font-size: 0.92rem; color: var(--ink-2); line-height: 1.55; }
@media (max-width: 60rem) {
  .pr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pr:nth-child(odd) { border-left: 0; padding-left: 0; }
  .pr:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 34rem) {
  .pr-grid { grid-template-columns: minmax(0, 1fr); }
  .pr { border-left: 0; padding-left: 0; }
  .pr + .pr { border-top: 1px solid var(--line); }
}

/* Split sections */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.split-head { position: sticky; top: calc(5.75rem + env(safe-area-inset-top, 0px)); display: flex; flex-direction: column; gap: 1rem; }
.split-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.split-head p { color: var(--ink-2); }
@media (max-width: 56rem) { .split { grid-template-columns: minmax(0, 1fr); } .split-head { position: static; } }

.rows { list-style: none; padding: 0; border-bottom: 1px solid var(--line); }
.rows > li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.25rem; padding-block: 1.75rem; border-top: 1px solid var(--line); }
.rows svg { width: 2.5rem; height: 2.5rem; color: var(--ink); }
.rows h3 { font-size: 1.2rem; }
.rows p { margin-top: 0.4rem; color: var(--ink-2); }

/* Exchange */
.exchange { background: var(--surface); border-block: 1px solid var(--line); }
.exchange-head { max-width: 42rem; display: flex; flex-direction: column; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.exchange-head h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
.flow-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 1rem; align-items: stretch; }
.node { border: 1px solid var(--line); background: var(--bg); border-radius: 6px; padding: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.node.mid { border-color: var(--gold); }
.node .mono { color: var(--gold-text); }
.node h3 { font-size: 1.1rem; }
.node p { color: var(--ink-2); font-size: 0.95rem; }
.arrow { display: grid; place-items: center; color: var(--gold); }
.arrow svg { width: 1.9rem; height: 1.9rem; }
.exchange-foot { margin-top: 2rem; max-width: 44rem; color: var(--ink-2); font-size: 0.95rem; }
@media (max-width: 60rem) {
  .flow-row { grid-template-columns: minmax(0, 1fr); }
  .arrow svg { transform: rotate(90deg); }
}

/* Timeline */
.timeline { list-style: none; padding: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 1.25rem; padding-bottom: 2.25rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 1.25rem; top: 2.6rem; bottom: 0.1rem; width: 1px; background: var(--line); }
.t-n { width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold-text); background: var(--bg); display: grid; place-items: center; font-family: var(--mono); font-weight: 500; font-size: 0.9rem; font-variant-numeric: tabular-nums; position: relative; }
.timeline h3 { font-size: 1.2rem; padding-top: 0.35rem; }
.timeline p { margin-top: 0.4rem; color: var(--ink-2); }

/* Who */
.who-list { list-style: none; padding: 0; border-bottom: 1px solid var(--line); }
.who-list li { display: flex; align-items: flex-start; gap: 1rem; padding-block: 1.1rem; border-top: 1px solid var(--line); }
.who-list li::before { content: ""; width: 0.55rem; height: 0.55rem; background: var(--gold); flex: none; margin-top: 0.6rem; }
.who-list li > div { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.who-name { font-size: clamp(1.15rem, 2.2vw, 1.45rem); font-weight: 500; line-height: 1.3; }
.who-desc { font-size: 0.92rem; color: var(--ink-2); }

/* FAQ */
.faq { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 1.4rem; line-height: 1; color: var(--gold-text); flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 2px; }
.faq-a { padding-bottom: 1.4rem; color: var(--ink-2); max-width: 40rem; }
.who-note { margin-top: 1.5rem; color: var(--ink-2); font-size: 0.97rem; max-width: 36rem; }

/* Contact (gold block) */
.cta { background: var(--cta-bg); color: var(--cta-ink); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.cta .eyebrow { color: var(--cta-ink); opacity: 0.8; }
.cta h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.05; margin-top: 1rem; }
.cta .lede { color: var(--cta-ink); opacity: 0.85; margin-top: 1.25rem; font-size: 1.05rem; }
.direct { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(10, 42, 74, 0.3); display: flex; flex-direction: column; gap: 0.9rem; min-width: 0; }
.cta .label { font-family: var(--mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.8; }
.addr { font-size: clamp(1.2rem, 2.8vw, 1.85rem); font-weight: 700; overflow-wrap: anywhere; }
.panel-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cta .btn-primary { background: var(--cta-btn); color: var(--cta-btn-ink); }
.cta .btn-ghost { border-color: var(--cta-ink); color: var(--cta-ink); }
.cta .btn-ghost:hover { background: rgba(10, 42, 74, 0.1); }
.cta a:focus-visible, .cta button:focus-visible { outline-color: var(--cta-ink); }
.copy-status { min-height: 1.4em; font-size: 0.85rem; font-weight: 500; }

/* Enquiry form */
.enq { background: var(--form-bg); color: var(--form-ink); color-scheme: dark; border-radius: 8px; padding: clamp(1.25rem, 3vw, 2rem); display: flex; flex-direction: column; gap: 1.1rem; min-width: 0; }
.enq h3 { font-size: 1.3rem; }
.enq .row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.field label { font-family: var(--mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--form-ink-2); }
.field input, .field select, .field textarea { width: 100%; font: 500 0.95rem/1.4 var(--font); color: var(--form-ink); background: var(--form-field); border: 1px solid var(--form-line); border-radius: 4px; padding: 0.8rem 0.9rem; }
.field textarea { resize: vertical; min-height: 6.5rem; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.field [aria-invalid="true"] { border-color: #F2A38B; }
.enq .btn-gold { background: var(--gold); color: #0A2A4A; align-self: flex-start; }
.enq .btn-gold:hover { transform: translateY(-1px); }
.enq .btn-ghost { border-color: var(--form-ink-2); color: var(--form-ink); }
.enq .btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.enq a:focus-visible, .enq button:focus-visible { outline-color: #FFFFFF; }
.fine { font-size: 0.8rem; color: var(--form-ink-2); }
.form-status { min-height: 1.4em; font-size: 0.9rem; font-weight: 500; color: var(--gold); }
.form-status.err { color: #F2A38B; }
.ready { border: 1px solid var(--form-line); border-radius: 6px; padding: 1rem; display: flex; flex-direction: column; gap: 0.8rem; background: var(--form-field); }
.ready p { font-size: 0.9rem; color: var(--form-ink-2); }
.ready textarea { min-height: 8rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 52rem) { .cta-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 34rem) { .enq .row2 { grid-template-columns: minmax(0, 1fr); } }

/* Footer */
.site-foot { padding-block: 2.5rem; }
.foot-row { display: flex; flex-wrap: wrap; gap: 1.25rem 3rem; align-items: flex-start; justify-content: space-between; }
.foot-row .brand-mark { width: 2rem; height: 2rem; }
.foot-row .brand-word b { font-size: 1.1rem; }
.foot-row .brand-word .div { height: 1.1rem; }
.foot-row .brand-word span { font-size: 0.68rem; }
.legal { max-width: 34rem; font-size: 0.8rem; color: var(--ink-2); line-height: 1.6; }

.sprite { position: absolute; width: 0; height: 0; }
.pt0 { padding-top: 0; }
.pr1 { --lo:28; --hi:72; --you:58; }
.pr2 { --lo:35; --hi:80; --you:41; }
.pr3 { --lo:20; --hi:65; --you:78; }
.legal a, .fine a, .doc a { color: var(--gold-text); text-decoration: underline; text-underline-offset: 3px; }
.doc { max-width: 46rem; margin-inline: auto; padding: clamp(2.5rem, 7vw, 4.5rem) 0; }
.doc h1 { font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.12; margin: 0 0 0.6rem; }
.doc h2 { font-size: 1.25rem; margin: 2.4rem 0 0.6rem; }
.doc p, .doc li { color: var(--ink-2); line-height: 1.7; font-size: 1rem; }
.doc ul { padding-left: 1.2rem; }
.doc .meta { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 0.8rem; color: var(--ink-2); }
.doc .tbl { overflow-x: auto; margin: 1rem 0; border: 1px solid var(--line); border-radius: 8px; }
.doc table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: 0.92rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.doc th { color: var(--ink); background: var(--surface); font-weight: 600; }
.doc tr:last-child td { border-bottom: 0; }
.doc .co { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 1rem 1.2rem; margin: 1.4rem 0; }
.doc .co p { margin: 0.2rem 0; }
.doc .co b { color: var(--ink); }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.7rem); }
.hero-points { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 0.7rem; max-width: 35rem; }
.hero-points li { font-size: 0.98rem; line-height: 1.55; color: var(--ink-2); padding-left: 1rem; border-left: 2px solid var(--gold); }
.hero-points b { color: var(--ink); font-weight: 600; }
.lede + .lede { margin-top: 1rem; font-size: 1rem; }
.post { display: block; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: 1.4rem 1.5rem; text-decoration: none !important; margin: 1.2rem 0; }
.post h2 { margin: 0.4rem 0 0.5rem; color: var(--ink); }
.post p { margin: 0; }
.post:hover { border-color: var(--gold-text); }
.doc .actions-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.6rem 0; }
.doc a.btn { text-decoration: none; }
.nf { text-align: center; }
.nf .btn { margin-top: 1rem; }
