/*
 * Unijolly Investments — stylesheet.
 *
 * The idea is the register itself. This company's website exists so that a
 * shareholder, a regulator or an auditor can find one filed document, so the
 * design is built like the thing it serves: a dark navy masthead over a white
 * sheet, structure carried by ruled bands and columns, and every figure — every
 * date, period, financial year and count — set in a monospace face so a column
 * of them aligns by construction rather than by luck.
 *
 * One file, zero !important.
 */

/* ==========================================================================
   1. Design tokens
   ========================================================================== */

:root {
  color-scheme: light;

  /* --- Ground ----------------------------------------------------------- */
  --paper:           #FFFFFF;
  --slate:           #F2F5F9;   /* panels, table zebra, hero ground */
  --slate-deep:      #E4EAF1;
  --hairline:        #DCE3EB;
  --hairline-strong: #BFCAD6;

  /* --- Ink -------------------------------------------------------------- */
  --ink:             #0C1B2A;   /* 17.4:1 on paper */
  --ink-muted:       #47586A;   /*  7.2:1 on paper */
  --ink-subtle:      #66788B;   /*  4.6:1 on paper */
  --ink-inverse:     #FFFFFF;

  /* --- Navy — the chrome ------------------------------------------------ */
  --navy:            #0F2E4E;   /* 13.8:1 on paper — headings, buttons, marks */
  --navy-deep:       #0A2038;

  /* --- Interactive ------------------------------------------------------ */
  --link:            #1B4E7E;   /*  8.6:1 on paper */
  --link-strong:     #123A61;
  --wash:            #E9F0F8;   /* hover and current-state fill */

  /* --- Semantic --------------------------------------------------------- */
  --error:           #8A2233;

  /* --- Focus ------------------------------------------------------------ */
  --focus:           #1B4E7E;

  /* --- Radius — every surface softened, never sharp --------------------- */
  --r-xs:            4px;
  --r-sm:            8px;
  --r-md:            12px;
  --r-lg:            16px;
  --r-pill:          999px;

  /* --- Elevation — used once, on the stuck masthead --------------------- */
  --shadow-bar:      0 2px 14px -6px rgba(12, 27, 42, .45);
  --shadow-panel:    0 1px 2px rgba(12, 27, 42, .04), 0 12px 28px -22px rgba(12, 27, 42, .28);

  /* --- Type ------------------------------------------------------------- */
  --font-sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --fs-micro: .625rem;
  --fs-xs:    .6875rem;
  --fs-sm:    .78125rem;
  --fs-md:    .875rem;    /* body */
  --fs-lg:    1rem;
  --fs-xl:    1.25rem;
  --fs-2xl:   1.625rem;
  --fs-3xl:   2.125rem;
  --fs-4xl:   2.75rem;

  /* --- Space ------------------------------------------------------------ */
  --sp-10: .25rem;
  --sp-20: .5rem;
  --sp-30: .75rem;
  --sp-40: 1rem;
  --sp-50: 1.5rem;
  --sp-60: 2rem;
  --sp-70: 3rem;
  --sp-80: 4rem;
  --sp-90: 5.5rem;

  /* --- Layout ----------------------------------------------------------- */
  --measure:   70ch;
  --shell:     1560px;
  --gutter:    1.25rem;
  --header-h:  4.5rem;
  --rail:      16.5rem;

  /* --- Motion ----------------------------------------------------------- */
  --ease:      cubic-bezier(.22, .61, .36, 1);
  --dur-fast:  120ms;
  --dur:       200ms;
}

@media (min-width: 48em) { :root { --gutter: 2rem; --header-h: 5rem; } }
@media (min-width: 80em) { :root { --gutter: 3rem; } }
@media (min-width: 100em) { :root { --gutter: 4rem; } }

/* ==========================================================================
   2. Reset & base
   ========================================================================== */

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

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

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-md);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-inline-size: 100%; block-size: auto; }
img { border: 0; }

a { color: var(--link); }

button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}
:where(a, button, input, select, textarea, summary, [tabindex]):focus:not(:focus-visible) { outline: none; }

hr { border: 0; border-block-start: 1px solid var(--hairline); margin: var(--sp-70) 0; }

/* ==========================================================================
   3. Typography
   --------------------------------------------------------------------------
   Headings are a grotesque set tight and semibold. Anything that is a figure,
   a label or a column header is monospace — that split is the whole voice.
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.03em;
  margin-block: 0;
  color: var(--ink);
}

h1 { font-size: var(--fs-4xl); line-height: 1.04; }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); letter-spacing: -.02em; }
h4 { font-size: var(--fs-lg); letter-spacing: -.01em; }

h5, h6 { margin-block: 0; }
h5 { font-size: var(--fs-md); font-weight: 600; }

p { margin-block: 0; }

/* The mono micro-label. Used for every column header, every field name and
   every eyebrow — never for running text. */
.label {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-subtle);
}

/* The signature eyebrow: a ruled mono tag rather than a line of small caps. */
.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--link);
}

.lede {
  font-size: var(--fs-lg);
  line-height: 1.6;
  color: var(--ink-muted);
  max-inline-size: 62ch;
}

.mono { font-family: var(--font-mono); }

.prose { max-inline-size: var(--measure); }
.prose > * + * { margin-block-start: 1.1em; }
.prose h2, .prose h3, .prose h4 { margin-block-start: 2em; }
.prose ul, .prose ol { padding-inline-start: 1.25em; }
.prose li + li { margin-block-start: .35em; }
.prose a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: .2em; }
.prose a:hover { color: var(--link-strong); }

/* ==========================================================================
   4. Accessibility utilities
   ========================================================================== */

.screen-reader-text {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  inset-block-start: -100%;
  z-index: 200;
  padding: .75rem 1.25rem;
  background-color: var(--paper);
  color: var(--navy);
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { inset-block-start: 0; }

/* ==========================================================================
   5. Shell
   ========================================================================== */

.container {
  inline-size: 100%;
  max-inline-size: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.main { padding-block: var(--sp-80) var(--sp-90); }
.main--home { padding-block: 0 var(--sp-80); }

/* ==========================================================================
   6. Masthead — solid navy, sticky
   ========================================================================== */

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 100;
  background-color: var(--paper);
  border-block-end: 1px solid var(--hairline);
}

@media (prefers-reduced-motion: no-preference) {
  .site-header { transition: box-shadow var(--dur) var(--ease); }
}

.site-header[data-scrolled="true"] { box-shadow: var(--shadow-bar); }

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-40);
  min-block-size: var(--header-h);
}

/* --- Brand: the wordmark alone. There is no supplied mark. ---------------- */

.site-brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  text-decoration: none;
  color: var(--navy);
}

.site-brand__mark { display: grid; gap: .1rem; justify-items: start; min-inline-size: 0; }

/* One line, always. The wordmark is the logo, so it must never wrap. */
.site-brand__name {
  font-family: var(--font-sans);
  font-size: clamp(1.0625rem, 1.5vw, 1.3125rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--navy);
  white-space: nowrap;
}

.site-brand__tag {
  font-family: var(--font-mono);
  font-size: .5625rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-subtle);
  white-space: nowrap;
}

@media (max-width: 29.9375em) { .site-brand__tag { display: none; } }

.site-brand--footer .site-brand__name { white-space: normal; letter-spacing: -.02em; }

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

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}

@media (pointer: coarse) { .nav-toggle { min-block-size: 44px; min-inline-size: 44px; } }

.site-nav { display: flex; align-items: center; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .125rem;
}

.site-nav a {
  position: relative;
  display: flex;
  align-items: center;
  padding-block: .875rem;
  padding-inline: .75rem;
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--r-xs);
}

@media (pointer: coarse) { .site-nav a { min-block-size: 44px; } }

@media (prefers-reduced-motion: no-preference) {
  .site-nav a { transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease); }
}

.site-nav a:hover { color: var(--link); background-color: var(--wash); }

/* Current page: a bar beneath, so the state is never carried by colour alone. */
.site-nav .current-menu-item > a::after,
.site-nav .current_page_item > a::after,
.site-nav .current-menu-ancestor > a::after {
  content: "";
  position: absolute;
  inset-inline: .75rem;
  inset-block-end: .3rem;
  block-size: 2px;
  background-color: var(--navy);
  border-radius: var(--r-pill);
}

.site-nav .current-menu-item > a,
.site-nav .current_page_item > a,
.site-nav .current-menu-ancestor > a { color: var(--navy); }

@media (max-width: 63.9375em) {
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 90;
    display: block;
    padding: var(--sp-50) var(--gutter) var(--sp-80);
    background-color: var(--paper);
    border-block-start: 1px solid var(--hairline);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .site-nav[hidden] { display: none; }
  /* Hug the text, or the current-page rule stretches the width of the drawer. */
  .site-nav a { font-size: var(--fs-sm); padding-block: 1rem; inline-size: fit-content; }
  .site-nav .current-menu-item > a::after,
  .site-nav .current_page_item > a::after { inset-block-end: .5rem; }
}

@media (min-width: 64em) {
  .nav-toggle { display: none; }
  .site-nav[hidden] { display: flex; }
  .site-nav ul { flex-direction: row; align-items: center; gap: var(--sp-10); }
}

/* ==========================================================================
   7. Hero — split composition
   --------------------------------------------------------------------------
   The content panel sits on the slate ground at the leading edge; the
   photograph bleeds from the trailing edge and is blended across the seam by a
   gradient rather than cut at a hard line. Type therefore sits on a flat panel,
   never on the image, so no dark scrim is needed. Below lg the two stack —
   content first, image beneath.
   ========================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background-color: var(--slate);
  border-block-end: 1px solid var(--hairline);
}

.hero__inner { display: grid; }

@media (min-width: 64em) {
  .hero__inner { min-block-size: clamp(30rem, 66svh, 40rem); }
}

/* All slides share one grid cell, so the hero is exactly as tall as its
   tallest slide — nothing is out of flow and nothing can be clipped. */
.hero__slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__slide { transition: opacity 650ms var(--ease), visibility 0s 650ms; }
}

.hero__slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; }

@media (prefers-reduced-motion: no-preference) {
  .hero__slide.is-active { transition: opacity 650ms var(--ease), visibility 0s; }
}

@media (min-width: 64em) {
  .hero__slide { grid-template-columns: minmax(0, 41fr) minmax(0, 59fr); align-items: stretch; }
}

.hero__panel {
  display: flex;
  align-items: center;
  background-color: var(--slate);
  z-index: 2;
  padding-block: var(--sp-70);
  padding-inline: var(--gutter);
}

@media (min-width: 64em) {
  .hero__panel {
    padding-block: var(--sp-80);
    padding-inline-start: max(var(--gutter), calc((100vw - var(--shell)) / 2 + var(--gutter)));
    padding-inline-end: var(--sp-60);
  }
}

.hero__panel-inner { inline-size: 100%; max-inline-size: 33rem; }

/* Staged handoff: the outgoing text drops quickly, the photograph cross-fades
   underneath, and the incoming text arrives after — so only one headline is
   ever readable at a time. */
@media (prefers-reduced-motion: no-preference) {
  .hero__panel-inner {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 200ms var(--ease), transform 200ms var(--ease);
  }
  .hero__slide.is-active .hero__panel-inner {
    opacity: 1;
    transform: none;
    transition: opacity 420ms var(--ease) 260ms, transform 420ms var(--ease) 260ms;
  }
}

.hero__eyebrow { margin: 0 0 var(--sp-50); }

.hero__title {
  font-family: var(--font-sans);
  font-size: clamp(2.25rem, 3.9vw, 3.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.035em;
  color: var(--ink);
  margin: 0 0 var(--sp-40);
  max-inline-size: 15ch;
  text-wrap: balance;
}

.hero__lede {
  font-size: var(--fs-md);
  line-height: 1.65;
  color: var(--ink-muted);
  max-inline-size: 42ch;
  margin: 0 0 var(--sp-50);
}

.hero__cta { margin: 0; display: flex; flex-wrap: wrap; gap: var(--sp-30); }

.hero__figure { position: relative; z-index: 1; overflow: hidden; }

@media (max-width: 63.9375em) { .hero__figure { aspect-ratio: 16 / 10; } }

/* Absolutely positioned so the photograph fills the panel without its own
   intrinsic height driving the grid row. */
.hero__figure img {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: center;
  background-color: var(--slate-deep);
}

/* The seam: a wash of the panel ground over the image's leading edge, so the
   photograph dissolves into the panel instead of butting against it. */
.hero__blend {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  inline-size: 40%;
  pointer-events: none;
  background: linear-gradient(
    to right,
    var(--slate) 0%,
    rgba(242, 245, 249, .88) 26%,
    rgba(242, 245, 249, .44) 62%,
    rgba(242, 245, 249, 0) 100%
  );
}

@media (max-width: 63.9375em) {
  .hero__blend {
    inset-block-start: 0;
    inset-inline: 0;
    inline-size: auto;
    block-size: 26%;
    background: linear-gradient(to bottom, var(--slate) 0%, rgba(242, 245, 249, 0) 100%);
  }
}

/* --- Controls — deliberately quiet ---------------------------------------- */

.hero__arrow {
  position: absolute;
  inset-block-start: 50%;
  z-index: 3;
  translate: 0 -50%;
  inline-size: 2rem;
  block-size: 2rem;
  display: grid;
  place-items: center;
  color: var(--ink-subtle);
  border-radius: var(--r-pill);
  cursor: pointer;
  opacity: .5;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__arrow { transition: opacity var(--dur) var(--ease), color var(--dur) var(--ease); }
}

.hero__arrow::before { content: ""; position: absolute; inset: -.6rem; }
.hero__arrow:hover { opacity: 1; color: var(--link); }
.hero__arrow:focus-visible { opacity: 1; }
.hero__arrow svg { inline-size: .875rem; block-size: .875rem; }

.hero__arrow--prev { inset-inline-start: clamp(.75rem, 2vw, 1.5rem); }
.hero__arrow--next { inset-inline-end: clamp(.75rem, 2vw, 1.5rem); }

@media (max-width: 63.9375em) { .hero__arrow { display: none; } }

/* Slide markers: short rules rather than dots, echoing the ruled bands. */
.hero__dots {
  position: absolute;
  inset-block-end: var(--sp-40);
  inset-inline: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: .5rem;
}

.hero__dot {
  position: relative;
  inline-size: 1.75rem;
  block-size: 3px;
  padding: 0;
  border-radius: var(--r-pill);
  background-color: var(--hairline-strong);
  cursor: pointer;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__dot { transition: background-color var(--dur) var(--ease), inline-size var(--dur) var(--ease); }
}

.hero__dot::before { content: ""; position: absolute; inset: -1.1rem -.35rem; }
.hero__dot.is-active { background-color: var(--navy); inline-size: 2.75rem; }
.hero__dot:hover { background-color: var(--ink-muted); }
.hero__dot:focus-visible { outline: 2px solid var(--navy); outline-offset: 5px; }

/* ==========================================================================
   8. Buttons
   ========================================================================== */

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-border: var(--hairline-strong);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding-block: .625rem;
  padding-inline: 1.125rem;
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.005em;
  text-decoration: none;
  white-space: nowrap;
  color: var(--btn-fg);
  background-color: var(--btn-bg);
  border: 1px solid var(--btn-border);
  border-radius: var(--r-sm);
  cursor: pointer;
}

@media (pointer: coarse) { .btn { min-block-size: 44px; } }

@media (prefers-reduced-motion: no-preference) {
  .btn {
    transition: background-color var(--dur-fast) var(--ease),
                border-color var(--dur-fast) var(--ease),
                color var(--dur-fast) var(--ease);
  }
}

.btn svg { inline-size: 1em; block-size: 1em; flex: none; }

.btn--primary { --btn-bg: var(--navy); --btn-fg: var(--ink-inverse); --btn-border: var(--navy); }
.btn--primary:hover { --btn-bg: var(--navy-deep); --btn-border: var(--navy-deep); }

.btn--secondary { --btn-fg: var(--ink); --btn-bg: var(--paper); }
.btn--secondary:hover { --btn-border: var(--link); --btn-fg: var(--link); }

.btn--quiet { --btn-border: transparent; --btn-fg: var(--link); padding-inline: .5rem; }
.btn--quiet:hover { --btn-bg: var(--wash); }

.btn--sm { padding-block: .375rem; padding-inline: .75rem; font-size: var(--fs-xs); }

/* ==========================================================================
   9. Sections
   --------------------------------------------------------------------------
   A section head is a mono tag, a heading, and a rule underneath the whole
   block — the band structure the rest of the page repeats.
   ========================================================================== */

.section { padding-block: var(--sp-80); }
.section--slate { background-color: var(--slate); border-block: 1px solid var(--hairline); }
.section--slate .card { background-color: var(--paper); }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-30) var(--sp-50);
  padding-block-end: var(--sp-40);
  margin-block-end: var(--sp-60);
  border-block-end: 2px solid var(--ink);
}

.section__head > div { min-inline-size: 0; }
.section__head .tag { margin-block-end: var(--sp-30); }

.section__head h2 {
  font-size: var(--fs-3xl);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}

.section__head > a {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--link);
  text-decoration: none;
  white-space: nowrap;
  padding-block-end: .2rem;
}
.section__head > a:hover { color: var(--link-strong); text-decoration: underline; }

.section__lede { font-size: var(--fs-md); line-height: 1.6; color: var(--ink-muted); margin: var(--sp-30) 0 0; max-inline-size: 58ch; }

/* ==========================================================================
   11. About — statement over a spec grid
   ========================================================================== */

.about__statement {
  font-family: var(--font-sans);
  font-size: var(--fs-lg);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -.012em;
  color: var(--ink-muted);
  max-inline-size: 58ch;
  margin: 0;
  text-wrap: pretty;
}

/* Body copy inside the statement — the About page renders the editor's own
   content here — matches it rather than falling back to the base size. */
.about__statement.prose > * { font-size: var(--fs-lg); line-height: 1.65; }

.about__grid {
  display: grid;
  gap: var(--sp-60);
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

@media (min-width: 64em) {
  .about__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--sp-80); }
}

.about__aside { display: grid; gap: var(--sp-40); }

/* --- Spec list: a ruled two-column table of facts ------------------------- */

.facts { display: grid; margin: 0; border-block-start: 1px solid var(--ink); }

.facts > div {
  display: grid;
  gap: .15rem;
  padding-block: .875rem;
  border-block-end: 1px solid var(--hairline);
}

@media (min-width: 30em) {
  .facts > div { grid-template-columns: 12rem minmax(0, 1fr); gap: .25rem var(--sp-40); align-items: baseline; }
}

.facts dt {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-subtle);
  margin: 0;
}

.facts dd { margin: 0; font-size: var(--fs-sm); font-weight: 500; color: var(--ink); }

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

.roster { display: grid; gap: var(--sp-60); }

@media (min-width: 48em) { .roster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-70); } }

.roster__title {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  padding-block-end: .625rem;
  margin: 0 0 var(--sp-20);
  border-block-end: 2px solid var(--ink);
}

.roster__list { list-style: none; margin: 0; padding: 0; counter-reset: roster; }

.roster__item {
  display: grid;
  gap: .15rem;
  padding-block: .875rem;
  border-block-end: 1px solid var(--hairline);
}

@media (min-width: 30em) {
  .roster__item { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: .25rem var(--sp-40); align-items: baseline; }
}

.roster__name { font-size: var(--fs-md); font-weight: 600; letter-spacing: -.015em; line-height: 1.3; color: var(--ink); }
.roster__role { font-family: var(--font-mono); font-size: var(--fs-xs); line-height: 1.5; color: var(--ink-muted); }

/* ==========================================================================
   12. Disclosure index — every category, grouped, with its count
   ========================================================================== */

.dir {
  display: grid;
  gap: var(--sp-50);
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 48em) { .dir { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-60); } }
@media (min-width: 64em) { .dir { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Inside the Investor Centre the index shares the row with the rail, so four
   columns would set each one to about ten characters wide. */
@media (min-width: 64em) {
  .layout .dir { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.dir__group {
  min-inline-size: 0;
  display: flex;
  flex-direction: column;
  background-color: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  overflow: hidden;
}

.dir__title {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  padding: .75rem 1rem;
  margin: 0;
  background-color: var(--slate);
  border-block-end: 1px solid var(--hairline);
}

.dir__count { margin-inline-start: auto; color: var(--ink-subtle); }

.dir__list { list-style: none; margin: 0; padding: .25rem .5rem .5rem; flex: 1; }

.dir__list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
  padding: .5rem .5rem;
  font-size: var(--fs-sm);
  line-height: 1.35;
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--r-xs);
}

.dir__list li + li a { border-block-start: 1px solid var(--hairline); }

@media (prefers-reduced-motion: no-preference) {
  .dir__list a { transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
}

.dir__list a:hover { background-color: var(--wash); color: var(--link); }

.dir__n { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--ink-subtle); flex: none; }

/* ==========================================================================
   13. The register
   --------------------------------------------------------------------------
   The most important component on this site. Below md it reflows to stacked
   cards using data-label attributes rather than forcing a horizontal scroll on
   a phone; the markup stays a real table throughout.
   ========================================================================== */

.table-wrap {
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  background-color: var(--paper);
  overflow: hidden;
}

.register { inline-size: 100%; border-collapse: collapse; font-size: var(--fs-sm); }

.register caption {
  caption-side: bottom;
  padding: .75rem 1rem;
  border-block-start: 1px solid var(--hairline);
  font-size: var(--fs-xs);
  color: var(--ink-muted);
  text-align: start;
}

.register th, .register td { padding: .9375rem 1rem; text-align: start; vertical-align: baseline; }

/* Column heads carry the mono label treatment used for every field name on the
   site, over a ruled band rather than a filled one. */
.register thead th {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  background-color: var(--paper);
  border-block-end: 2px solid var(--ink);
  white-space: nowrap;
}

.register tbody tr { border-block-start: 1px solid var(--hairline); }
.register tbody tr:nth-child(even) { background-color: var(--slate); }

@media (prefers-reduced-motion: no-preference) {
  .register tbody tr { transition: background-color var(--dur-fast) var(--ease); }
}

.register tbody tr:hover { background-color: var(--wash); }

/* Financial-year band inside a long archive.
 *
 * Deliberately NOT sticky. It was, and because each year is its own <tbody> and
 * most years hold one or two filings, the heading pinned itself while its own
 * rows slid underneath and were clipped in half. A heading that hides the row it
 * introduces is worse than no heading, and a group two rows tall has nothing to
 * gain from following the scroll. */
.register__group th {
  background-color: var(--slate-deep);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  padding-block: .625rem;
  box-shadow: inset 0 -1px 0 var(--hairline-strong), inset 3px 0 0 var(--navy);
}

.register__group + tr { border-block-start: 0; }
.register tbody tr.register__group { background-color: var(--slate-deep); }

.doc-link { font-weight: 600; letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.doc-link:hover { color: var(--link); text-decoration: underline; }

/* Secondary links inside a row — the category, chiefly. Scoped away from the
   title and the action button, which carry their own colour. */
.register td a:not(.doc-link):not(.btn) { color: var(--ink-muted); text-decoration: none; }
.register td a:not(.doc-link):not(.btn):hover { color: var(--link); text-decoration: underline; }

.col-num { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--ink-muted); white-space: nowrap; }
.col-dl { text-align: end; white-space: nowrap; }
.col-pending { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--ink-subtle); }

@media (max-width: 47.9375em) {
  .register, .register tbody, .register tr, .register td { display: block; inline-size: 100%; }

  .register thead {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .register tbody tr { padding: var(--sp-40); }

  .register td { padding: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
  .register td + td { margin-block-start: .5rem; }

  .register td[data-label]::before {
    content: attr(data-label);
    flex: none;
    font-family: var(--font-mono);
    font-size: var(--fs-micro);
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-subtle);
  }

  .col-dl { text-align: start; margin-block-start: .875rem; }
  .col-dl::before { content: none; }

  .register tbody tr.register__group { padding: 0; }
  .register__group th { display: block; padding: .625rem var(--sp-40); }
}

/* --- Empty state ---------------------------------------------------------- */

.empty-state {
  padding: var(--sp-70) var(--sp-50);
  text-align: center;
  color: var(--ink-muted);
  background-color: var(--slate);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
}
.empty-state p { margin: 0; }
.empty-state p + p { margin-block-start: .5rem; }

/* ==========================================================================
   14. Inner-page head — a navy band continuing the masthead
   ========================================================================== */

.page-head {
  background-color: var(--slate);
  border-block-end: 1px solid var(--hairline);
  padding-block: var(--sp-50) var(--sp-60);
}

.page-head h1 {
  font-size: clamp(1.875rem, 3.4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.035em;
  color: var(--ink);
  margin: var(--sp-30) 0 0;
  max-inline-size: 22ch;
  text-wrap: balance;
}

.page-head > .container > p {
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--ink-muted);
  margin: var(--sp-30) 0 0;
  max-inline-size: 58ch;
}

.page-head__meta {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.breadcrumbs a { color: var(--ink-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--link); text-decoration: underline; }
.breadcrumbs span { color: var(--hairline-strong); }

/* ==========================================================================
   15. Investor layout & rail
   ========================================================================== */

.layout { display: grid; gap: var(--sp-60); grid-template-columns: minmax(0, 1fr); }

@media (min-width: 64em) {
  .layout { grid-template-columns: var(--rail) minmax(0, 1fr); gap: var(--sp-80); align-items: start; }
}

/* Below lg the rail stacks above the register, which puts 23 category links
   between a phone user and the documents they came for. It goes underneath
   instead — the masthead menu still reaches every category. */
@media (max-width: 63.9375em) {
  .investor-nav { order: 2; padding-block-start: var(--sp-50); border-block-start: 1px solid var(--hairline); }
}

@media (min-width: 64em) {
  .investor-nav { position: sticky; inset-block-start: calc(var(--header-h) + var(--sp-50)); }
}

.investor-nav__group + .investor-nav__group { margin-block-start: var(--sp-50); }

.investor-nav__title {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  padding-block-end: .5rem;
  margin: 0 0 .5rem;
  border-block-end: 2px solid var(--ink);
}

.investor-nav ul { list-style: none; margin: 0; padding: 0; }

.investor-nav a {
  display: block;
  padding-block: .5rem;
  padding-inline: .625rem;
  border-inline-start: 2px solid transparent;
  font-size: var(--fs-sm);
  line-height: 1.35;
  color: var(--ink-muted);
  text-decoration: none;
}

@media (prefers-reduced-motion: no-preference) {
  .investor-nav a {
    transition: color var(--dur-fast) var(--ease),
                background-color var(--dur-fast) var(--ease),
                border-color var(--dur-fast) var(--ease);
  }
}

.investor-nav a:hover { color: var(--link); background-color: var(--slate); border-inline-start-color: var(--hairline-strong); }

.investor-nav .is-current > a {
  color: var(--navy);
  font-weight: 600;
  background-color: var(--wash);
  border-inline-start-color: var(--navy);
}

/* ==========================================================================
   16. Filters
   ========================================================================== */

.filters {
  display: grid;
  gap: var(--sp-30);
  grid-template-columns: minmax(0, 1fr);
  padding: var(--sp-40);
  margin-block-end: var(--sp-50);
  background-color: var(--slate);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
}

@media (min-width: 48em) {
  .filters { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: var(--sp-40); }
  .filters__actions { grid-column: 1 / -1; }
}

@media (min-width: 80em) {
  .filters { grid-template-columns: 2fr repeat(3, 1fr) auto; }
  .filters__actions { grid-column: auto; }
}

.filters__field { display: grid; gap: .3rem; min-inline-size: 0; }

.filters__field label {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-subtle);
}

.filters input[type="search"],
.filters select {
  inline-size: 100%;
  padding: .5rem .625rem;
  font-size: var(--fs-sm);
  color: var(--ink);
  background-color: var(--paper);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-sm);
}

.filters input[type="search"]:hover, .filters select:hover { border-color: var(--link); }

.filters__actions { display: flex; align-items: center; gap: var(--sp-20); }
.filters__actions .btn { --btn-bg: var(--navy); --btn-fg: var(--ink-inverse); --btn-border: var(--navy); }
.filters__actions .btn:hover { --btn-bg: var(--navy-deep); --btn-border: var(--navy-deep); }
.filters__actions .btn--quiet { --btn-bg: transparent; --btn-fg: var(--link); --btn-border: transparent; }
.filters__actions .btn--quiet:hover { --btn-bg: var(--wash); --btn-fg: var(--link-strong); }

/* --- Financial-year pills ------------------------------------------------- */

.year-pills { display: flex; flex-wrap: wrap; gap: .375rem; margin: 0 0 var(--sp-50); list-style: none; padding: 0; }

.year-pill {
  display: inline-flex;
  align-items: center;
  padding: .375rem .75rem;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: .02em;
  color: var(--ink-muted);
  text-decoration: none;
  background-color: var(--paper);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-sm);
}

.year-pill:hover { border-color: var(--link); color: var(--link); }
.year-pill.is-active { background-color: var(--navy); border-color: var(--navy); color: var(--ink-inverse); }

/* ==========================================================================
   17. Panels — contacts and governance
   --------------------------------------------------------------------------
   Tinted panels on the white sheet, rather than white cards on a tint.
   ========================================================================== */

.cards { display: grid; gap: var(--sp-40); grid-template-columns: minmax(0, 1fr); }

@media (min-width: 48em) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.card {
  padding: var(--sp-50);
  background-color: var(--slate);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
}

.card h2, .card h3 {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  padding-block-end: .5rem;
  margin: 0 0 var(--sp-40);
  border-block-end: 2px solid var(--ink);
}

.card p { font-size: var(--fs-sm); line-height: 1.7; color: var(--ink-muted); margin: 0; }
.card p + p { margin-block-start: .6rem; }
.card strong { color: var(--ink); font-weight: 600; }
.card a { color: var(--link); }

.card-links { list-style: none; margin: var(--sp-30) 0 0; padding: 0; }

.card-links li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
  padding-block: .5rem;
  border-block-start: 1px solid var(--hairline);
  font-size: var(--fs-sm);
}

.card-links a { font-weight: 600; color: var(--ink); text-decoration: none; }
.card-links a:hover { color: var(--link); text-decoration: underline; }

/* --- Contact page map ----------------------------------------------------- */

.map-frame {
  inline-size: 100%;
  margin-inline: auto;
  aspect-ratio: 32 / 9;
  max-block-size: 20rem;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  overflow: hidden;
}
.map-frame iframe { inline-size: 100%; block-size: 100%; border: 0; display: block; }

@media (max-width: 47.9375em) { .map-frame { aspect-ratio: 4 / 3; } }

.map-fallback {
  font-size: var(--fs-sm);
  color: var(--ink-muted);
  margin-block-start: var(--sp-30);
  text-align: center;
}

/* ==========================================================================
   18. Pagination
   ========================================================================== */

.pagination { margin-block-start: var(--sp-50); }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .375rem; align-items: center; }

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 2.25rem;
  min-block-size: 2.25rem;
  padding-inline: .5rem;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--ink-muted);
  text-decoration: none;
  background-color: var(--paper);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-sm);
}

.pagination a.page-numbers:hover { border-color: var(--link); color: var(--link); }
.pagination .page-numbers.current { background-color: var(--navy); border-color: var(--navy); color: var(--ink-inverse); }
.pagination .screen-reader-text { position: absolute; }

/* ==========================================================================
   19. Footer — navy, closing the sheet the masthead opened
   ========================================================================== */

.site-footer {
  background-color: var(--slate);
  color: var(--ink-muted);
  border-block-start: 1px solid var(--hairline);
  padding-block-start: var(--sp-70);
}

.site-footer__grid { display: grid; gap: var(--sp-60); grid-template-columns: minmax(0, 1fr); }

@media (min-width: 48em) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (min-width: 64em) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1.1fr) minmax(0, 1.2fr);
    gap: var(--sp-70);
  }
}

.site-footer__col { min-inline-size: 0; }

@media (max-width: 63.9375em) { .site-footer__col--brand { grid-column: 1 / -1; } }

.site-footer__blurb {
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: var(--ink-muted);
  max-inline-size: 42ch;
  margin: var(--sp-40) 0 0;
}

.site-footer__cin {
  display: flex;
  gap: .6rem;
  align-items: baseline;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  margin: var(--sp-40) 0 0;
}
.site-footer__cin span { color: var(--ink-subtle); }

.site-footer__heading {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  padding-block-end: .625rem;
  margin: 0 0 var(--sp-40);
  border-block-end: 1px solid var(--hairline-strong);
}

.site-footer address {
  font-style: normal;
  font-size: var(--fs-sm);
  line-height: 1.8;
  color: var(--ink-muted);
}
.site-footer address a { color: var(--ink-muted); }
.site-footer address a:hover { color: var(--link); }

.site-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }

.site-footer__links a {
  display: block;
  padding-block: .4rem;
  font-size: var(--fs-sm);
  color: var(--ink-muted);
  text-decoration: none;
}

@media (prefers-reduced-motion: no-preference) {
  .site-footer__links a { transition: color var(--dur-fast) var(--ease); }
}

.site-footer__links a:hover { color: var(--link); }

.site-footer__bar {
  margin-block-start: var(--sp-70);
  padding-block: var(--sp-50);
  border-block-start: 1px solid var(--hairline-strong);
  display: flex;
  flex-wrap: wrap;
  gap: .5rem var(--sp-60);
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  color: var(--ink-muted);
}
.site-footer__bar p { margin: 0; }

.site-footer__listing { flex: 1 1 auto; text-align: center; }

@media (max-width: 47.9375em) { .site-footer__listing { flex-basis: 100%; text-align: start; } }

.site-footer__credit { display: inline-flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; color: var(--ink-muted); }

/* The build credit is the one line in the bar that carries the accent, and the
   only one set in the display face rather than mono. */
.site-footer__credit-link {
  position: relative;
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--navy);
  text-decoration: none;
}

.site-footer__credit-link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: -2px;
  block-size: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left;
}

@media (prefers-reduced-motion: no-preference) {
  .site-footer__credit-link::after { transition: transform var(--dur) var(--ease); }
}

.site-footer__credit-link:hover { color: var(--link); }
.site-footer__credit-link:hover::after { transform: scaleX(1); }

/* ==========================================================================
   20. Search form & single document
   ========================================================================== */

.search-form { display: flex; gap: var(--sp-20); max-inline-size: 32rem; }

.search-form input[type="search"] {
  flex: 1 1 auto;
  padding: .5rem .625rem;
  font-size: var(--fs-sm);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-sm);
  background-color: var(--paper);
}

.doc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-30); margin-block-start: var(--sp-50); }
.doc-body { margin-block-start: var(--sp-60); }
