/* ==========================================================================
   HPRCL — Haridaspur Paradip Railway Company Limited
   Design system: "Chainage"
   Palette : rail-steel dark, signal red, kilometre-post amber
   Type    : Archivo (display) / IBM Plex Sans (body) / IBM Plex Mono (data)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Surfaces */
  --ink:        #0D1418;   /* cold rail-steel black */
  --ink-2:      #131E25;   /* elevated dark surface */
  --ink-3:      #1B2A33;   /* hairlines on dark */
  --steel:      #46606E;
  --paper:      #F4F6F6;   /* cool page white */
  --paper-2:    #E8EDED;   /* light surface */
  --line:       #D3DBDB;   /* hairlines on light */

  /* Ink */
  --text:       #17242B;
  --text-mute:  #586A72;
  --on-dark:    #F1F5F5;
  --on-dark-mute:#93A6B0;

  /* Accents */
  --signal:     #D9232D;   /* Indian Railways red — retained brand accent */
  --signal-dim: #A61A22;
  --signal-ink: #B81C25;   /* small red text on light surfaces — AA-safe */
  --marker:     #E8B23A;   /* kilometre-post amber — data + wayfinding only */

  /* Type */
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body:    "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Rhythm */
  --gut: clamp(20px, 4vw, 64px);
  --maxw: 1360px;
  --sec-y: clamp(72px, 9vw, 152px);

  --ease: cubic-bezier(.22,.61,.36,1);
  scroll-behavior: smooth;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--marker);
  outline-offset: 3px;
}

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }

/* ---------- Type primitives ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--marker);
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
  flex: none;
}
.eyebrow--dark { color: var(--signal-ink); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.022em;
  margin: 0;
  font-stretch: 112%;
}
.h-display {
  font-size: clamp(2.9rem, 8.4vw, 7.4rem);
  text-transform: uppercase;
  line-height: .88;
  letter-spacing: -.035em;
}
.h-section {
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  text-transform: uppercase;
  letter-spacing: -.028em;
}
.lede {
  font-size: clamp(1.05rem, 1.55vw, 1.32rem);
  line-height: 1.55;
  color: var(--text-mute);
  max-width: 62ch;
}
.data {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 17px 26px;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn i { font-size: 15px; transition: transform .4s var(--ease); }
.btn:hover i { transform: translateX(5px); }

.btn--solid { background: var(--signal); color: #fff; }
.btn--solid:hover { background: #fff; color: var(--ink); }

.btn--ghost { border-color: rgba(255,255,255,.34); color: var(--on-dark); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }

.btn--line { border-color: var(--text); color: var(--text); }
.btn--line:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  padding-block: 18px;
  transition: background .45s var(--ease), padding .45s var(--ease), border-color .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-header.is-stuck {
  background: rgba(13,20,24,.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-block: 11px;
  border-bottom-color: var(--ink-3);
}

.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; min-width: 0; }
.brand img { width: 46px; height: 46px; object-fit: contain; background: #fff; border-radius: 50%; padding: 3px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-mark {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 118%;
  font-size: 21px;
  letter-spacing: .04em;
  color: #fff;
}
.brand-sub {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Nav */
.nav > ul { display: flex; align-items: center; gap: 2px; }
.nav a {
  display: block;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(241,245,245,.78);
  padding: 10px 14px;
  position: relative;
  transition: color .3s var(--ease);
}
.nav a:hover, .nav a.active { color: #fff; }
.nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 3px;
  height: 2px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .38s var(--ease);
}
.nav > ul > li > a:hover::after,
.nav > ul > li > a.active::after { transform: scaleX(1); }

.nav .has-sub { position: relative; }
.nav .has-sub > a i { font-size: 10px; margin-left: 5px; }
.nav .sub {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 246px;
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .32s var(--ease);
}
.nav .has-sub:hover .sub,
.nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav .sub a { padding: 11px 14px; letter-spacing: .08em; }
.nav .sub a:hover { background: var(--ink-3); color: var(--marker); }

.nav-toggle { display: none; color: #fff; font-size: 26px; padding: 6px; z-index: 1000; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background: var(--ink);
  overflow: hidden;
}
.hero-stage { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s var(--ease);
}
.hero-slide.is-live { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  filter: saturate(.82) contrast(1.06);
}
.hero-slide.is-live img { animation: kenburns 11s linear forwards; }
@keyframes kenburns {
  from { transform: scale(1.06) translate3d(0,0,0); }
  to   { transform: scale(1.17) translate3d(-1.4%, -1.6%, 0); }
}

/* Cinematic grade: bottom-weighted scrim + side vignette */
.hero-stage::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(13,20,24,.97) 0%, rgba(13,20,24,.72) 32%, rgba(13,20,24,.18) 62%, rgba(13,20,24,.55) 100%),
    radial-gradient(120% 78% at 78% 40%, transparent 42%, rgba(13,20,24,.62) 100%);
}

.hero-body {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(120px, 15vh, 190px);
  padding-top: 140px;
}
.hero-body .eyebrow { margin-bottom: 26px; }

.hero h1 { color: #fff; }
.hero h1 .to {
  display: block;
  color: var(--signal);
  position: relative;
}
.hero h1 .to::before {
  content: "";
  display: inline-block;
  width: clamp(38px, 6vw, 96px);
  height: clamp(4px, .7vw, 9px);
  background: var(--signal);
  vertical-align: middle;
  margin-right: clamp(12px, 1.6vw, 26px);
  margin-bottom: .12em;
}
.hero-lede {
  color: rgba(241,245,245,.84);
  max-width: 54ch;
  margin: 30px 0 40px;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Chainage — the hero's slide control reads as the route itself */
.chainage {
  position: absolute;
  left: 0; right: 0;
  bottom: 46px;
  z-index: 3;
}
.chainage-inner { position: relative; }
.chainage-rail {
  position: relative;
  height: 1px;
  background: rgba(255,255,255,.2);
  display: flex;
  justify-content: space-between;
}
.chainage-rail::after {
  content: "";
  position: absolute;
  left: 0; top: 0; height: 1px;
  background: var(--signal);
  width: var(--progress, 0%);
  transition: width .45s var(--ease);
}
.km {
  position: relative;
  transform: translateY(-50%);
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}
.km-dot {
  width: 9px; height: 9px;
  border: 1px solid rgba(255,255,255,.45);
  background: var(--ink);
  transform: rotate(45deg);
  transition: all .35s var(--ease);
}
.km-label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .16em;
  color: rgba(255,255,255,.42);
  transition: color .35s var(--ease);
  position: absolute;
  top: 16px;
  white-space: nowrap;
}
.km:hover .km-dot { border-color: #fff; }
.km.is-live .km-dot { background: var(--signal); border-color: var(--signal); transform: rotate(45deg) scale(1.35); }
.km.is-live .km-label { color: #fff; }

.scroll-cue {
  position: absolute;
  right: var(--gut);
  bottom: 96px;
  z-index: 3;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 12px;
}
.scroll-cue::after {
  content: "";
  width: 1px; height: 46px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue { 0%,100% { opacity:.25; transform: scaleY(.5); } 50% { opacity:1; transform: scaleY(1); } }

/* ==========================================================================
   Ledger — key figures
   ========================================================================== */
.ledger { background: var(--ink); color: var(--on-dark); padding-block: clamp(44px, 5vw, 68px); }
.ledger-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--ink-3);
  border-block: 1px solid var(--ink-3);
}
.ledger-cell { background: var(--ink); padding: 30px clamp(18px, 2.4vw, 34px); }
.ledger-fig {
  font-family: var(--display);
  font-stretch: 118%;
  font-weight: 700;
  font-size: clamp(2.1rem, 3.4vw, 3.15rem);
  line-height: 1;
  letter-spacing: -.03em;
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.ledger-fig .unit { font-size: .42em; color: var(--marker); letter-spacing: .02em; }
.ledger-key {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
  margin-top: 14px;
}

/* ==========================================================================
   Editorial section (About)
   ========================================================================== */
.section { padding-block: var(--sec-y); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark .h-section { color: #fff; }
.section--dark .lede { color: var(--on-dark-mute); }
.section--tint { background: var(--paper-2); }

.editorial {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.editorial > * { min-width: 0; }
.editorial-head { position: sticky; top: 120px; }
.editorial-head .eyebrow { margin-bottom: 22px; }
.editorial-body p {
  margin: 0 0 22px;
  color: var(--text-mute);
  font-size: 1.03rem;
  line-height: 1.75;
}
.editorial-body p.opener {
  font-family: var(--display);
  font-stretch: 105%;
  font-weight: 500;
  font-size: clamp(1.22rem, 2.05vw, 1.72rem);
  line-height: 1.34;
  letter-spacing: -.015em;
  color: var(--text);
  margin-bottom: 30px;
}
.section--dark .editorial-body p { color: var(--on-dark-mute); }
.section--dark .editorial-body p.opener { color: #fff; }

/* ==========================================================================
   Corridor — signature diagram
   ========================================================================== */
.corridor { margin-top: clamp(46px, 6vw, 78px); }
.corridor-scroll {
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--steel) transparent;
}
.corridor-scroll::-webkit-scrollbar { height: 3px; }
.corridor-scroll::-webkit-scrollbar-thumb { background: var(--steel); }
.corridor-hint {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--marker);
}
.corridor-track {
  position: relative;
  min-width: 780px;
  padding-block: 68px 78px;
}
.corridor-line {
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 3px;
  background: #2B3D47;
  transform: translateY(-50%);
}
.corridor-line .seg-live {
  position: absolute;
  top: 0; height: 3px;
  background: var(--signal);
  left: 75%; right: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--ease) .25s;
}
.is-revealed .corridor-line .seg-live { transform: scaleX(1); }

.corridor-stops {
  position: relative;
  display: flex;
  justify-content: space-between;
}
.stop { position: relative; display: flex; flex-direction: column; align-items: center; flex: none; }
.stop-node {
  width: 13px; height: 13px;
  background: var(--ink);
  border: 2px solid var(--steel);
  border-radius: 50%;
}
.stop--key .stop-node { background: var(--signal); border-color: var(--signal); width: 17px; height: 17px; }
.stop--terminus .stop-node { background: var(--marker); border-color: var(--marker); width: 17px; height: 17px; }
.stop-name {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(100% + 16px);
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--on-dark);
  white-space: nowrap;
}
.stop-note {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(100% + 16px);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
  white-space: nowrap;
}
.stop:first-child .stop-name,
.stop:first-child .stop-note { left: 0; transform: none; }
.stop:last-child .stop-name,
.stop:last-child .stop-note { left: auto; right: 0; transform: none; }

.corridor-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
}
.corridor-legend span { display: flex; align-items: center; gap: 10px; }
.corridor-legend i { width: 22px; height: 3px; display: block; }

/* ==========================================================================
   Shareholding
   ========================================================================== */
.sec-head,
.share-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 46px; }
.share-stamp {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-mute);
  border: 1px solid var(--line);
  padding: 9px 14px;
}
.share-bar {
  display: flex;
  height: 66px;
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
}
.share-seg {
  position: relative;
  border-right: 1px solid rgba(255,255,255,.5);
  transform-origin: left;
}
.share-bar.rv-armed.is-revealed .share-seg { animation: growseg .95s var(--ease) both; }
.share-bar.rv-armed.is-revealed .share-seg:nth-child(1) { animation-delay: .05s; }
.share-bar.rv-armed.is-revealed .share-seg:nth-child(2) { animation-delay: .12s; }
.share-bar.rv-armed.is-revealed .share-seg:nth-child(3) { animation-delay: .19s; }
.share-bar.rv-armed.is-revealed .share-seg:nth-child(4) { animation-delay: .26s; }
.share-bar.rv-armed.is-revealed .share-seg:nth-child(5) { animation-delay: .33s; }
.share-bar.rv-armed.is-revealed .share-seg:nth-child(n+6) { animation-delay: .4s; }
@keyframes growseg { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.share-seg:last-child { border-right: 0; }

.share-list { margin-top: 34px; border-top: 1px solid var(--line); }
.share-row {
  display: grid;
  grid-template-columns: 22px 1fr auto auto;
  gap: 18px;
  align-items: center;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease);
}
.share-row:hover { background: rgba(13,20,24,.035); }
.share-swatch { width: 12px; height: 12px; }
.share-name { font-size: .96rem; font-weight: 500; }
.share-amt { font-family: var(--mono); font-size: .84rem; color: var(--text-mute); font-variant-numeric: tabular-nums; }
.share-pct { font-family: var(--mono); font-size: .95rem; font-weight: 600; font-variant-numeric: tabular-nums; min-width: 66px; text-align: right; }

/* ==========================================================================
   Gallery mosaic
   ========================================================================== */
.mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(120px, 15vw, 208px);
  gap: 10px;
}
.tile {
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
  display: block;
}
.tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.05s var(--ease), filter .6s var(--ease);
  filter: saturate(.72) brightness(.9);
}
.tile:hover img { transform: scale(1.06); filter: saturate(1) brightness(1); }
.tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,20,24,.7), transparent 55%);
  opacity: .8;
  transition: opacity .5s var(--ease);
}
.tile:hover::after { opacity: .35; }
.tile-tag {
  position: absolute;
  left: 16px; bottom: 14px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  transform: translateY(6px);
  opacity: 0;
  transition: all .45s var(--ease);
}
.tile:hover .tile-tag { transform: translateY(0); opacity: 1; }

.tile--a { grid-column: span 4; grid-row: span 2; }
.tile--b { grid-column: span 2; grid-row: span 1; }
.tile--c { grid-column: span 2; grid-row: span 1; }
.tile--d { grid-column: span 2; grid-row: span 2; }
.tile--e { grid-column: span 2; grid-row: span 2; }
.tile--f { grid-column: span 2; grid-row: span 2; }
.tile--g { grid-column: span 3; grid-row: span 2; }
.tile--h { grid-column: span 3; grid-row: span 2; }

/* ==========================================================================
   Pillars
   ========================================================================== */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ink-3); }
.pillar {
  background: var(--ink);
  padding: clamp(30px, 3.4vw, 52px);
  display: flex;
  flex-direction: column;
  min-height: 330px;
  position: relative;
  transition: background .45s var(--ease);
}
.pillar:hover { background: var(--ink-2); }
.pillar-idx {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--marker);
  margin-bottom: 26px;
}
.pillar h3 {
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.pillar p { color: var(--on-dark-mute); font-size: .97rem; line-height: 1.7; margin: 0 0 30px; }
.pillar-go {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pillar-go i { transition: transform .4s var(--ease); }
.pillar:hover .pillar-go i { transform: translateX(6px); }
.pillar::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--signal);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .5s var(--ease);
}
.pillar:hover::before { transform: scaleY(1); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: var(--on-dark); padding-top: clamp(56px, 6vw, 92px); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: clamp(28px, 4vw, 60px);
  padding-bottom: 56px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.footer-brand img { width: 52px; height: 52px; background: #fff; border-radius: 50%; padding: 4px; }
.footer-brand span { font-family: var(--display); font-weight: 800; font-stretch: 118%; font-size: 23px; letter-spacing: .04em; color: #fff; }
.footer-addr { font-size: .93rem; color: var(--on-dark-mute); line-height: 1.8; }
.footer-addr strong {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--marker);
  margin-bottom: 5px;
}
.footer-addr .blk { margin-bottom: 18px; }
.footer-addr a:hover { color: #fff; }

.footer-col h4 {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--marker);
  margin: 0 0 22px;
  font-stretch: normal;
}
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: .95rem; color: var(--on-dark-mute); transition: color .3s var(--ease); }
.footer-col a:hover { color: #fff; }

.subscribe p { font-size: .93rem; color: var(--on-dark-mute); margin: 0 0 18px; }
.subscribe-form { display: flex; border: 1px solid var(--ink-3); }
.subscribe-form input[type=email] {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 14px 16px;
  color: #fff;
  font-family: var(--body);
  font-size: .92rem;
  min-width: 0;
}
.subscribe-form input[type=email]::placeholder { color: #5A6D77; }
.subscribe-form input[type=email]:focus { outline: none; }
.subscribe-form:focus-within { border-color: var(--marker); }
.subscribe-form button {
  background: var(--signal);
  color: #fff;
  padding: 0 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background .35s var(--ease);
}
.subscribe-form button:hover { background: #fff; color: var(--ink); }

.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a {
  width: 40px; height: 40px;
  border: 1px solid var(--ink-3);
  display: grid; place-items: center;
  color: var(--on-dark-mute);
  transition: all .35s var(--ease);
}
.socials a:hover { background: var(--signal); border-color: var(--signal); color: #fff; }

.footer-base {
  border-top: 1px solid var(--ink-3);
  padding-block: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #7E929C;
}
.footer-base a:hover { color: var(--marker); }

/* Back to top */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 46px; height: 46px;
  background: var(--signal);
  color: #fff;
  display: grid; place-items: center;
  z-index: 800;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .4s var(--ease);
  font-size: 22px;
}
.to-top.is-on { opacity: 1; visibility: visible; transform: translateY(0); }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.rv { transition: opacity .9s var(--ease), transform .9s var(--ease); }
/* Hidden ONLY once JavaScript has armed it. If JS fails to load or errors,
   nothing is ever hidden, so the page still reads. */
.rv.rv-armed { opacity: 0; transform: translateY(26px); }
.rv.rv-armed.is-revealed { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .09s; }
.rv-d2 { transition-delay: .18s; }
.rv-d3 { transition-delay: .27s; }
.rv-d4 { transition-delay: .36s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .editorial { grid-template-columns: 1fr; }
  .editorial-head { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ledger-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; }
}

@media (max-width: 992px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(360px, 84vw);
    max-width: 100%;
    background: var(--ink);
    border-left: 1px solid var(--ink-3);
    padding: 88px 24px 40px;
    overflow-y: auto;
    overscroll-behavior: contain;
    /* Hidden by clipping, NOT by translating it off-screen. A fixed element
       parked beyond the right edge widens the page, which makes phones zoom
       the whole site out to fit. visibility also takes the closed menu out of
       the keyboard tab order. */
    visibility: hidden;
    clip-path: inset(0 0 0 100%);
    transition: clip-path .42s var(--ease), visibility .42s var(--ease);
  }
  body.nav-open .nav { visibility: visible; clip-path: inset(0 0 0 0); }
  body.nav-open { overflow: hidden; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { padding: 15px 0; font-size: 13px; border-bottom: 1px solid var(--ink-3); }
  .nav > ul > li > a::after { display: none; }
  .nav .sub {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    background: transparent; border: 0;
    padding: 0 0 0 18px;
    max-height: 0; overflow: hidden;
    transition: max-height .4s var(--ease);
  }
  .nav .has-sub.is-open .sub { max-height: 240px; }
  .site-header { background: rgba(13,20,24,.92); backdrop-filter: blur(12px); }
  .scroll-cue { display: none; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .brand-sub { display: none; }
  .hero { min-height: 92svh; }
  .hero-body { padding-bottom: 128px; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .ledger-grid { grid-template-columns: 1fr 1fr; }
  .ledger-cell { padding: 22px 16px; }
  .chainage { bottom: 34px; }
  .km-label { font-size: 8px; letter-spacing: .1em; }
  .km:not(.is-live):not(:first-child):not(:last-child) .km-label { display: none; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; }
  .tile--a, .tile--g, .tile--h { grid-column: span 2; grid-row: span 1; }
  .tile--b, .tile--c, .tile--d, .tile--e, .tile--f { grid-column: span 1; grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .share-row { grid-template-columns: 18px 1fr auto; }
  .share-amt { display: none; }
  .corridor-track { min-width: 680px; }
  .corridor-hint { display: flex; }
}

/* ==========================================================================
   Motion & print
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .rv, .rv.rv-armed { opacity: 1; transform: none; }
  .hero-slide.is-live img { animation: none; transform: scale(1.03); }
  .corridor-line .seg-live { transform: scaleX(1); }
}

/* ==========================================================================
   INNER PAGES
   ========================================================================== */

/* ---------- Page head ---------- */
.page-head {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  padding-top: clamp(140px, 17vh, 200px);
  padding-bottom: clamp(52px, 7vw, 92px);
  overflow: hidden;
  isolation: isolate;
}
.page-head-bg {
  position: absolute; inset: 0; z-index: -2;
}
.page-head-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.55) contrast(1.05);
  transform: scale(1.04);
}
.page-head::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, var(--ink) 4%, rgba(13,20,24,.86) 46%, rgba(13,20,24,.66) 100%),
    radial-gradient(110% 90% at 82% 30%, transparent 38%, rgba(13,20,24,.7) 100%);
}
.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
  margin-bottom: 24px;
}
.crumbs a { color: var(--marker); }
.crumbs a:hover { color: #fff; }
.crumbs .sep { color: #6B808C; }
.page-head h1 {
  color: #fff;
  font-size: clamp(2.3rem, 5.6vw, 4.6rem);
  text-transform: uppercase;
  letter-spacing: -.03em;
  line-height: .92;
}
.page-head .lede { color: var(--on-dark-mute); margin-top: 24px; }

/* ---------- Long-form prose ---------- */
.doc { display: grid; grid-template-columns: 250px 1fr; gap: clamp(30px, 5vw, 76px); align-items: start; }
.doc > * { min-width: 0; }
.doc-nav { position: sticky; top: 108px; }
.doc-nav h4 {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin: 0 0 16px;
  font-stretch: normal;
}
.doc-nav ol { counter-reset: dn; border-left: 1px solid var(--line); }
.doc-nav li { counter-increment: dn; }
.doc-nav a {
  display: block;
  padding: 8px 0 8px 16px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  font-size: .86rem;
  line-height: 1.45;
  color: var(--text-mute);
  transition: all .3s var(--ease);
}
.doc-nav a::before {
  content: counter(dn, decimal-leading-zero) "  ";
  font-family: var(--mono);
  font-size: .74rem;
  color: #A3B2B8;
}
.doc-nav a:hover, .doc-nav a.is-current { color: var(--text); border-left-color: var(--signal); }
.doc-nav a.is-current::before { color: var(--signal); }

.prose { max-width: 74ch; min-width: 0; }
.prose h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  text-transform: uppercase;
  margin: 0 0 20px;
  scroll-margin-top: 110px;
}
/* Descendant, not child: sections are wrapped in reveal containers, so a
   direct-child selector silently stops matching. */
.prose h3 {
  font-size: clamp(1.25rem, 2vw, 1.62rem);
  text-transform: uppercase;
  margin: 62px 0 18px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 110px;
}
/* First heading on the page carries no rule above it, in either structure. */
.prose > h3:first-child,
.prose > *:first-child > h3:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
/* A heading that opens its own wrapper still needs the rule and the gap. */
.prose > .rv > h3 { margin-top: 0; }
.prose > .rv { margin-top: 62px; }
.prose > .rv:first-child { margin-top: 0; }
.prose h4 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--signal-ink);
  margin: 32px 0 12px;
  font-stretch: normal;
  letter-spacing: .16em;
}
.prose p { margin: 0 0 18px; color: var(--text-mute); line-height: 1.75; }
.prose p.opener {
  font-family: var(--display);
  font-stretch: 105%;
  font-weight: 500;
  font-size: clamp(1.18rem, 1.9vw, 1.55rem);
  line-height: 1.4;
  letter-spacing: -.014em;
  color: var(--text);
  margin-bottom: 30px;
}
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 0; }
.prose li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 11px;
  color: var(--text-mute);
  line-height: 1.7;
}
.prose ul > li::before {
  content: "";
  position: absolute;
  left: 4px; top: .72em;
  width: 8px; height: 1px;
  background: var(--signal);
}
.prose ol { counter-reset: pl; }
.prose ol > li { counter-increment: pl; }
.prose ol > li::before {
  content: counter(pl, decimal-leading-zero);
  position: absolute;
  left: 0; top: .1em;
  font-family: var(--mono);
  font-size: .74rem;
  color: var(--signal);
}
.prose a:not(.btn) { color: var(--signal-ink); border-bottom: 1px solid currentColor; }

/* ---------- Pull quotes ---------- */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); margin: 40px 0 44px; }
.quote { background: var(--paper); padding: 30px; }
.quote p {
  font-family: var(--display);
  font-stretch: 104%;
  font-weight: 500;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--text);
  margin: 0 0 16px;
}
.quote cite {
  font-family: var(--mono);
  font-size: 10px;
  font-style: normal;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.section--tint .quote { background: var(--paper-2); }

/* ---------- Data tables ---------- */
.tbl-scroll { overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; }
.tbl-scroll::-webkit-scrollbar { height: 3px; }
.tbl-scroll::-webkit-scrollbar-thumb { background: var(--line); }
.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: .93rem;
  min-width: 560px;
}
.tbl thead th {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-mute);
  text-align: left;
  padding: 0 16px 14px 0;
  border-bottom: 1px solid var(--text);
}
.tbl td {
  padding: 16px 16px 16px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--text-mute);
  line-height: 1.65;
}
.tbl td:first-child { color: var(--text); font-weight: 500; width: 26%; }
.tbl .num { font-family: var(--mono); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.tbl tbody tr:hover { background: rgba(13,20,24,.03); }
.tbl ul { margin: 0; }
.tbl li { padding-left: 22px; margin-bottom: 8px; }
.tbl li::before { left: 2px !important; }
.tbl tfoot td {
  font-weight: 600;
  color: var(--text);
  border-bottom: 0;
  border-top: 1px solid var(--text);
  padding-top: 16px;
}

/* ---------- People ---------- */
.lead-person {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(28px, 4.5vw, 64px);
  align-items: start;
}
.lead-portrait { position: relative; }
.lead-portrait img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  background: var(--paper-2);
  filter: saturate(.9);
}
.lead-portrait::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 46px; height: 4px;
  background: var(--signal);
}
.lead-role {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--signal-ink);
  margin-bottom: 14px;
  display: block;
}
.lead-person h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); text-transform: uppercase; margin-bottom: 22px; }

.people {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(310px, 100%), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.person {
  background: var(--paper);
  padding: 26px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: background .35s var(--ease);
}
.person:hover { background: var(--paper-2); }
.person-pic {
  width: 84px; height: 104px;
  flex: none;
  object-fit: cover;
  background: var(--paper-2);
  filter: saturate(.85);
}
.person-name {
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: 1.04rem;
  text-transform: uppercase;
  letter-spacing: -.005em;
  line-height: 1.15;
  margin: 0 0 8px;
}
.person-role {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--signal-ink);
  display: block;
  margin-bottom: 3px;
}
.person-org {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: block;
  margin-bottom: 12px;
}
.person-note { font-size: .875rem; line-height: 1.6; color: var(--text-mute); margin: 0; }
.person-links { display: flex; gap: 12px; margin-top: 12px; }
.person-links a { color: var(--text-mute); font-size: 15px; }
.person-links a:hover { color: var(--signal-ink); }

/* ---------- Document / report rows ---------- */
.docs { border-top: 1px solid var(--line); }
.doc-row {
  display: grid;
  grid-template-columns: 128px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 26px 6px;
  border-bottom: 1px solid var(--line);
  transition: background .35s var(--ease), padding-left .35s var(--ease);
}
.doc-row:hover { background: rgba(13,20,24,.035); padding-left: 16px; }
.doc-year {
  font-family: var(--display);
  font-stretch: 118%;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -.02em;
  color: var(--text);
}
.doc-title { font-weight: 500; margin: 0 0 4px; }
.doc-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.doc-get {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--signal-ink);
  white-space: nowrap;
}
.doc-get i { transition: transform .35s var(--ease); }
.doc-row:hover .doc-get i { transform: translateY(3px); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(30px, 5vw, 76px); align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-block { border-top: 1px solid var(--line); padding: 22px 0; }
.contact-block h3 {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--signal-ink);
  margin: 0 0 12px;
  font-stretch: normal;
}
.contact-block p, .contact-block a { color: var(--text-mute); line-height: 1.7; margin: 0; display: block; }
.contact-block a:hover { color: var(--signal-ink); }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 8px;
}
.field input, .field textarea {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 14px 16px;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--text);
  transition: border-color .3s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--signal); }
.field textarea { resize: vertical; min-height: 150px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.map-frame { border: 1px solid var(--line); line-height: 0; margin-bottom: 8px; }
.map-frame iframe { width: 100%; height: clamp(280px, 42vh, 440px); border: 0; filter: grayscale(.35) contrast(1.05); }

/* ---------- Gallery page ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 10px;
}
.gallery-grid .tile { aspect-ratio: 4/3; }

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(6,11,14,.86);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s var(--ease);
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal-panel {
  background: var(--paper);
  max-width: 720px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  padding: clamp(26px, 4vw, 48px);
  position: relative;
  transform: translateY(16px);
  transition: transform .4s var(--ease);
}
.modal.is-open .modal-panel { transform: none; }
.modal-close {
  position: absolute;
  top: 14px; right: 16px;
  font-size: 22px;
  line-height: 1;
  color: var(--text-mute);
}
.modal-close:hover { color: var(--signal); }

/* ---------- Inner-page responsive ---------- */
@media (max-width: 1100px) {
  .doc { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .lead-person { grid-template-columns: 1fr; }
  .lead-portrait img { aspect-ratio: 3/2; }
  .quotes { grid-template-columns: 1fr; }
  .doc-row { grid-template-columns: 1fr auto; gap: 12px 18px; }
  .doc-year { grid-column: 1 / -1; font-size: 1.2rem; }
  .field-row { grid-template-columns: 1fr; }
  .person { flex-direction: column; }
  .person-pic { width: 100%; height: 200px; }
}

/* ==========================================================================
   BOARD & MANAGEMENT
   ========================================================================== */

/* ---------- Board composition bar ---------- */
.seats { display: flex; height: 74px; border: 1px solid var(--line); overflow: hidden; }
.seat-block {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 16px;
  color: #fff;
  min-width: 0;
  transform-origin: left;
}
.rv-armed.is-revealed > .seat-block { animation: growseg .9s var(--ease) both; }
.rv-armed.is-revealed > .seat-block:nth-child(2) { animation-delay: .08s; }
.rv-armed.is-revealed > .seat-block:nth-child(3) { animation-delay: .16s; }
.rv-armed.is-revealed > .seat-block:nth-child(4) { animation-delay: .24s; }
.rv-armed.is-revealed > .seat-block:nth-child(5) { animation-delay: .32s; }
.seat-org {
  font-family: var(--display);
  font-stretch: 116%;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.seat-count {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .15em;
  text-transform: uppercase;
  opacity: .82;
  margin-top: 4px;
  white-space: nowrap;
}
.seats-note {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 14px;
}

/* ---------- Roster grouped by nominating shareholder ---------- */
.roster-group { margin-bottom: clamp(38px, 5vw, 62px); }
.roster-group:last-child { margin-bottom: 0; }

.rg-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.rg-swatch { width: 12px; height: 12px; flex: none; align-self: center; }
.rg-name {
  font-family: var(--display);
  font-stretch: 114%;
  font-weight: 700;
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
  text-transform: uppercase;
  letter-spacing: -.008em;
  margin: 0;
  line-height: 1.1;
}
.rg-meta {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-mute);
  white-space: nowrap;
}

.roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(268px, 100%), 1fr)); gap: 22px; }

.director {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.section--tint .director { background: var(--paper); }
.director::before {
  content: "";
  position: absolute;
  left: -1px; top: -1px; bottom: -1px;
  width: 3px;
  background: var(--bar, var(--signal));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .42s var(--ease);
}
.director:hover { border-color: #B9C5C7; transform: translateY(-3px); }
.director:hover::before { transform: scaleY(1); }

.director-pic {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--paper-2);
  filter: saturate(.85);
  margin-bottom: 18px;
}
.director-name {
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: 1.06rem;
  line-height: 1.16;
  text-transform: uppercase;
  letter-spacing: -.006em;
  margin: 0 0 10px;
}
.director-role {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--signal-ink);
  display: block;
  margin-bottom: 14px;
}
.director-since {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.director-since b { color: var(--text); font-weight: 500; }
.tag-committee {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-mute);
  border: 1px solid var(--line);
  padding: 4px 8px;
  margin-bottom: 14px;
  align-self: flex-start;
}
.tag-committee::before { content: ""; width: 5px; height: 5px; background: var(--marker); }

/* ---------- Executive block (Chairman / MD) ---------- */
.exec {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: clamp(26px, 4vw, 58px);
  align-items: start;
}
.exec > * { min-width: 0; }
.exec-portrait { position: relative; }
.exec-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--paper-2);
  filter: saturate(.9);
}
.exec-portrait::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 52px; height: 4px;
  background: var(--signal);
}
.exec h2 {
  font-size: clamp(1.6rem, 2.9vw, 2.5rem);
  text-transform: uppercase;
  margin: 0 0 20px;
}
.exec p { color: var(--text-mute); line-height: 1.75; margin: 0 0 18px; max-width: 62ch; }
.exec-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--line);
  margin: 26px 0;
}
.exec-fact {
  padding: 16px 28px 16px 0;
  margin-right: 28px;
  border-right: 1px solid var(--line);
}
.exec-fact:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.exec-fact dt {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 7px;
}
.exec-fact dd {
  margin: 0;
  font-family: var(--display);
  font-stretch: 114%;
  font-weight: 700;
  font-size: 1.02rem;
  text-transform: uppercase;
  letter-spacing: -.004em;
}

/* ---------- Key management personnel ---------- */
.kmp { border-top: 2px solid var(--ink); }
.kmp-row {
  display: grid;
  grid-template-columns: 62px 190px 1fr;
  gap: clamp(20px, 3vw, 46px);
  align-items: start;
  padding: clamp(28px, 3.4vw, 44px) 0;
  border-bottom: 1px solid var(--line);
}
.kmp-row > * { min-width: 0; }
.kmp-idx {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  color: var(--signal-ink);
  padding-top: 5px;
}
.kmp-pic {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--paper-2);
  filter: saturate(.85);
}
.kmp-role {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--signal-ink);
  display: block;
  margin-bottom: 12px;
}
.kmp-name {
  font-family: var(--display);
  font-stretch: 114%;
  font-weight: 700;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  text-transform: uppercase;
  letter-spacing: -.016em;
  line-height: 1.08;
  margin: 0 0 16px;
}
.kmp-body p { color: var(--text-mute); line-height: 1.75; margin: 0 0 16px; max-width: 66ch; }
.kmp-statute {
  border-left: 2px solid var(--line);
  padding: 4px 0 4px 18px;
  margin: 20px 0 0;
  font-size: .9rem;
  line-height: 1.65;
  color: var(--text-mute);
  max-width: 68ch;
}
.kmp-statute strong {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 7px;
}
.kmp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.kmp-meta b { color: var(--text); font-weight: 500; }
.kmp-meta a { color: var(--signal-ink); }

/* ---------- Committee ---------- */
.committee { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 1px; background: var(--ink-3); }
.section--dark .committee-cell { background: var(--ink); padding: 26px; }
.committee-role {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--marker);
  display: block;
  margin-bottom: 12px;
}
.committee-name {
  font-family: var(--display);
  font-stretch: 114%;
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.15;
}
.committee-office { font-size: .88rem; color: var(--on-dark-mute); margin: 0; }

@media (max-width: 900px) {
  .exec { grid-template-columns: 1fr; }
  .exec-portrait img { aspect-ratio: 3 / 2; }
  .kmp-row { grid-template-columns: 42px 140px 1fr; gap: 18px; }
}
@media (max-width: 620px) {
  .kmp-row { grid-template-columns: 1fr; gap: 16px; }
  .kmp-pic { max-width: 210px; aspect-ratio: 1 / 1; }
  .kmp-idx { padding-top: 0; }
  .seats { height: auto; flex-direction: column; }
  .seat-block {
    padding: 12px 16px;
    animation: none !important;
    min-height: calc(var(--n, 1) * 22px + 34px);
  }
  .rg-meta { margin-left: 0; width: 100%; }
  .exec-fact { border-right: 0; margin-right: 0; padding: 12px 0; border-bottom: 1px solid var(--line); width: 100%; }
  .exec-fact:last-child { border-bottom: 0; }
}

/* ==========================================================================
   CSR — key facts and focus sectors
   ========================================================================== */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: 0 0 clamp(38px, 5vw, 58px);
}
.fact { background: var(--paper); padding: 24px 22px; }
.fact-fig {
  font-family: var(--display);
  font-stretch: 116%;
  font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  line-height: 1;
  letter-spacing: -.028em;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.fact-fig .unit { font-size: .44em; color: var(--signal-ink); letter-spacing: .01em; }
.fact-key {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 12px;
  line-height: 1.5;
}

.sectors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.sector { background: var(--paper); padding: clamp(20px, 2.4vw, 30px); }
.sector-idx {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--signal-ink);
  display: block;
  margin-bottom: 12px;
}
.sector h4 {
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.22;
  text-transform: uppercase;
  letter-spacing: -.006em;
  color: var(--text);
  margin: 0 0 16px;
}
.sector ul { margin: 0; padding: 0; }
.sector li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: .89rem;
  line-height: 1.6;
  color: var(--text-mute);
}
.sector li::before {
  content: "";
  position: absolute;
  left: 0; top: .68em;
  width: 7px; height: 1px;
  background: var(--signal);
}
.sector li:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .sectors { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .facts { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Plate — framed artwork (route map, plans, scanned drawings)
   Sits on an explicit white ground so a PNG exported with a transparent
   background still reads, whatever the artwork's own colours are.
   No aspect-ratio is forced: the image sets its own height.
   ========================================================================== */
.plate {
  display: block;
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  padding: clamp(12px, 1.8vw, 26px);
  line-height: 0;
  transition: border-color .35s var(--ease);
}
.plate:hover { border-color: #AFBDC0; }
.plate img {
  display: block;
  margin-inline: auto;
  width: auto;            /* never upscale a small scan past its own pixels */
  height: auto;
  max-width: 100%;        /* but always shrink to fit a narrow screen */
  max-height: 78vh;       /* a portrait map can't run away down the page */
}

.plate-zoom {
  position: absolute;
  right: clamp(20px, 2.4vw, 34px);
  bottom: clamp(20px, 2.4vw, 34px);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(13, 20, 24, .88);
  color: #fff;
  padding: 9px 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  pointer-events: none;
}
.plate:hover .plate-zoom,
.plate:focus-visible .plate-zoom { opacity: 1; transform: translateY(0); }

.plate-fig { margin: 0; }
.plate-cap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-mute);
  line-height: 1.6;
}
.plate-cap .src { margin-left: auto; }

/* Touch devices have no hover, so keep the zoom hint permanently visible. */
@media (hover: none) {
  .plate-zoom { opacity: 1; transform: none; }
}

/* ==========================================================================
   MOBILE
   Touch targets, legible label sizes, and section navigation on small screens.
   ========================================================================== */

/* Stop iOS inflating text when the phone is rotated to landscape. */
html { -webkit-text-size-adjust: 100%; }

/* ---------- Section navigation on small screens ----------
   On desktop this is a sidebar. Below 1100px it becomes a sticky row of chips
   under the header. The CSR policy is ~15,000px tall on a phone; hiding its
   navigation there left no way to reach a section without scrolling for it. */
@media (max-width: 1100px) {
  .doc-nav {
    display: block;
    position: sticky;
    top: 62px;
    z-index: 500;
    margin: -6px calc(var(--gut) * -1) 30px;
    padding: 10px 0 9px;
    background: color-mix(in srgb, var(--background-color, var(--paper)) 92%, transparent);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .doc-nav h4 {
    padding-inline: var(--gut);
    margin-bottom: 9px;
    font-size: 10px;
  }
  .doc-nav ol {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    border-left: 0;
    padding-inline: var(--gut);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .doc-nav ol::-webkit-scrollbar { display: none; }
  .doc-nav li { flex: none; }
  .doc-nav a {
    display: flex;
    align-items: center;
    min-height: 42px;
    margin-left: 0;
    padding: 8px 14px;
    white-space: nowrap;
    font-size: 11.5px;
    border: 1px solid var(--line);
    border-left: 1px solid var(--line);
    background: var(--paper);
    color: var(--text-mute);
  }
  .doc-nav a::before { margin-right: 6px; }
  .doc-nav a.is-current {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
  }
  .doc-nav a.is-current::before { color: var(--marker); }
  /* Headings must clear both the site header and the chip bar. */
  .prose h2, .prose h3 { scroll-margin-top: 204px; }
}

/* ---------- Touch targets ----------
   Anything tappable gets at least ~44px of hit area. Several controls were
   well under that: the hero slide markers were 9x1px. */
@media (max-width: 992px) {
  .nav-toggle {
    min-width: 46px;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (hover: none), (max-width: 760px) {
  /* Hero slide markers: the diamond stays small, the tap area does not. */
  .km { padding: 16px 10px; margin: -16px -10px; }

  .crumbs a, .crumbs span { display: inline-flex; align-items: center; min-height: 34px; }

  /* Phone and email are the most likely taps on a phone. */
  .footer-addr a,
  .contact-block a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-right: 4px;
  }
  .contact-block a { min-height: 46px; }

  .socials a { width: 46px; height: 46px; }
  .person-links a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
  .modal-close { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; top: 6px; right: 6px; }
  .footer-col a { display: inline-flex; align-items: center; min-height: 40px; }
  .doc-get { min-height: 44px; }
  .kmp-meta a { display: inline-flex; align-items: center; min-height: 40px; }
  .prose a:not(.btn) { display: inline-block; padding-block: 6px; }
}

/* ---------- Hover-only content must still appear on touch ---------- */
@media (hover: none) {
  .tile-tag { opacity: 1; transform: none; }
  .tile::after { opacity: .62; }
  .tile-tag { text-shadow: 0 1px 4px rgba(13,20,24,.55); }
}

/* ---------- Legible label sizes on small screens ----------
   The interface labels are set in 9.5-10px mono on desktop, which is fine at
   arm's length on a large screen but too small on a phone. Sizes go up and
   letter-spacing comes down slightly so nothing gets wider. */
@media (hover: none), (max-width: 860px) {
  .eyebrow,
  .ledger-key,
  .stop-note,
  .share-stamp,
  .seats-note,
  .seat-count,
  .corridor-legend,
  .corridor-hint,
  .doc-meta,
  .doc-get,
  .tile-tag,
  .person-role,
  .person-org,
  .director-role,
  .director-since,
  .rg-meta,
  .lead-role,
  .kmp-role,
  .kmp-idx,
  .kmp-meta,
  .committee-role,
  .fact-key,
  .sector-idx,
  .contact-block h3,
  .field label,
  .plate-cap,
  .plate-zoom,
  .quote cite,
  .tag-committee,
  .crumbs,
  .footer-addr strong,
  .footer-col h4,
  .footer-base,
  .subscribe-form button,
  .btn { font-size: 11.5px; letter-spacing: .11em; }

  .tbl thead th { font-size: 11px; letter-spacing: .1em; }
  .brand-sub { font-size: 11px; }
  .kmp-statute strong { font-size: 11px; }
  .sector li { font-size: .95rem; }
  .person-note, .director-since { line-height: 1.55; }
}

/* ---------- Forms ----------
   iOS zooms the whole page when a field under 16px receives focus. */
@media (max-width: 992px) {
  .subscribe-form input[type=email],
  .field input,
  .field textarea { font-size: 16px; }
  .subscribe-form input[type=email] { padding-block: 16px; }
  .subscribe-form button { padding-inline: 18px; }
}

/* ---------- Horizontal scrollers: show there is more to the right ---------- */
.scroll-hint {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-mute);
}
@media (max-width: 900px) {
  .scroll-hint { display: flex; }
}

/* ---------- Remaining small targets and labels ---------- */
@media (hover: none), (max-width: 760px) {
  .km {
    min-width: 44px;
    min-height: 44px;
    padding: 0 6px;
    margin: 0;
    justify-content: center;
  }
  .crumbs a { min-height: 44px; padding-inline: 5px; margin-inline: -5px; }
  .crumbs span { min-height: 44px; }
  .footer-base a { display: inline-flex; align-items: center; min-height: 40px; }
}
@media (hover: none), (max-width: 860px) {
  .pillar-idx { font-size: 11.5px; letter-spacing: .11em; }
  .doc-nav h4 { font-size: 11px; letter-spacing: .12em; }
  .km-label { font-size: 11px; }
}

/* ==========================================================================
   Grid and flex children must be allowed to shrink.
   By default a grid/flex child will not shrink below its content's intrinsic
   width. A text input reports an intrinsic width of about 20 characters, which
   was forcing the footer column wider than a 320px screen. The page then could
   not fit, so mobile browsers zoomed the whole site out to compensate — which
   also pushed the menu button off the edge of the screen.
   ========================================================================== */
.footer-grid > *,
.ledger-grid > *,
.pillars > *,
.people > *,
.roster > *,
.sectors > *,
.committee > *,
.facts > *,
.share-row > *,
.doc-row > *,
.gallery-grid > *,
.mosaic > *,
.field-row > *,
.quotes > *,
.kmp-row > *,
.subscribe-form > * { min-width: 0; }

/* Never let the field assert an intrinsic character width. */
.subscribe-form input[type=email] { width: 100%; }

/* ==========================================================================
   Mobile menu on short screens
   Nine items (seven plus the two-item submenu) do not fit a 568px-tall phone,
   let alone a phone held in landscape. Tighten the panel so everything fits
   where it can, and show a scroll shadow where it genuinely cannot.
   ========================================================================== */
@media (max-width: 992px) and (max-height: 720px) {
  .nav { padding-top: 68px; padding-bottom: 22px; }
  .nav > ul > li > a { padding-block: 12px; }
  .nav .sub a { padding-block: 10px; }
}
@media (max-width: 992px) and (max-height: 460px) {
  .nav { padding-top: 58px; padding-bottom: 16px; }
  .nav > ul > li > a { padding-block: 10px; font-size: 12px; }
  .nav .sub a { padding-block: 11px; }
  .nav .has-sub.is-open .sub { max-height: 200px; }
}

/* Scroll shadow: the lower edge darkens while there is more menu below it,
   and clears once you reach the end. Pure CSS, no script. */
@media (max-width: 992px) {
  .nav {
    background:
      linear-gradient(var(--ink) 34%, rgba(13, 20, 24, 0)) top    / 100% 44px no-repeat local,
      linear-gradient(rgba(13, 20, 24, 0), var(--ink) 66%) bottom / 100% 44px no-repeat local,
      radial-gradient(farthest-side at 50% 100%, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0)) bottom / 100% 16px no-repeat scroll,
      var(--ink);
  }
}
