/* ==========================================================================
   TOLVARA — tolvara.co
   catalogue.css — service-catalogue / contract-table stylesheet.
   Square edges, hairline rules, wide register geometry. No cards.
   ========================================================================== */

:root {
  /* Surfaces & ink */
  --c-base: #FFFFFF;
  --c-surface: #F7F9FC;
  --c-dark: #0B1220;
  --c-dark-2: #111B2E;
  --c-text: #0B1220;
  --c-body: #1E293B;
  --c-muted: #475569;
  --c-faint: #64748B;

  /* Accent */
  --c-accent: #1D4ED8;
  --c-accent-deep: #1E40AF;
  --c-accent-light: #60A5FA;
  --c-accent-wash: #DBEAFE;
  --c-mark: #0B7F6E;

  /* Rules */
  --line-hair: #E5EAF1;
  --line-hair-strong: #0B1220;
  --line-hair-invert: rgba(255, 255, 255, .10);
  --rule: 1px solid var(--line-hair);

  /* Radius — square everywhere except actions */
  --radius-action: 8px;

  /* Type */
  --face-display: "Sora", "Inter", -apple-system, sans-serif;
  --face-body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --face-mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;

  --type-display: clamp(2rem, 1.5rem + 2.1vw, 3rem);
  --type-heading: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  --type-sub: 1.0625rem;
  --type-figure: clamp(2.25rem, 1.7rem + 2.4vw, 3.5rem);
  --type-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --type-base: 1rem;
  --type-small: 0.875rem;
  --type-label: 0.75rem;

  /* Geometry */
  --w-page: 1240px;
  --w-page-wide: 1400px;
  --w-page-narrow: 640px;
  --w-page-prose: 760px;
  --pad-block: clamp(3.5rem, 2.5rem + 3.5vw, 5.5rem);
  --gap-lg: clamp(32px, 4vw, 64px);
  --gap-md: 24px;
  --gap-sm: 12px;
  --masthead-h: 64px;
  --util-h: 34px;
}

/* ---------- Reset & base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--face-body);
  font-size: var(--type-base);
  line-height: 1.6;
  color: var(--c-body);
  background: var(--c-base);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 { margin: 0; color: var(--c-text); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--c-accent); text-decoration: none; }
a:hover { color: var(--c-accent-deep); }

ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

::selection { background: var(--c-accent-wash); color: var(--c-text); }

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

.skip-to-content {
  position: absolute;
  left: 16px;
  top: -56px;
  z-index: 300;
  background: var(--c-dark);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-action);
  font-size: var(--type-small);
  font-weight: 600;
  transition: top .15s ease-out;
}
.skip-to-content:focus { top: 12px; color: #fff; }

.offscreen {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- Widths & blocks ---------- */

.page-width {
  width: 100%;
  max-width: var(--w-page);
  margin-inline: auto;
  padding-inline: 24px;
}
.page-width-wide { max-width: var(--w-page-wide); }
.page-width-narrow { max-width: var(--w-page-narrow); }
.page-width-prose { max-width: var(--w-page-prose); }

.block { padding-block: var(--pad-block); }
.block-tint { background: var(--c-surface); }
.block-head { margin-bottom: clamp(32px, 3.2vw, 44px); }

/* ---------- Type helpers ---------- */

.label {
  display: block;
  font-family: var(--face-mono);
  font-size: var(--type-label);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin: 0 0 14px;
}

.heading {
  font-family: var(--face-display);
  font-size: var(--type-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
  max-width: 28ch;
}

.heading-sm {
  font-family: var(--face-display);
  font-size: var(--type-sub);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.block-intro {
  font-size: var(--type-lead);
  line-height: 1.65;
  color: var(--c-muted);
  max-width: 68ch;
  margin-top: 16px;
}

.mono-face { font-family: var(--face-mono); font-weight: 500; letter-spacing: -0.02em; }

.register-note {
  font-size: var(--type-small);
  color: var(--c-muted);
  margin-top: 16px;
  max-width: 90ch;
}

/* ---------- Actions ---------- */

.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: var(--radius-action);
  font-family: var(--face-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color .15s ease-out, border-color .15s ease-out, color .15s ease-out;
}
.action-solid { background: var(--c-accent); color: #fff; }
.action-solid:hover { background: var(--c-accent-deep); color: #fff; }
.action-quiet { background: transparent; border-color: var(--line-hair); color: var(--c-body); }
.action-quiet:hover { border-color: var(--c-faint); background: var(--c-surface); color: var(--c-text); }
.action-invert { background: #fff; color: var(--c-accent-deep); }
.action-invert:hover { background: var(--c-surface); color: var(--c-accent-deep); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-accent);
}
.arrow-glyph { display: inline-block; transition: transform .15s ease-out; }
.arrow-link:hover .arrow-glyph { transform: translateX(4px); }

/* ---------- Utility bar (contract desk) ---------- */

.util-bar {
  background: var(--c-dark);
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  line-height: 1;
}
.util-bar-row {
  min-height: var(--util-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.util-registration {
  font-family: var(--face-mono);
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.util-contact {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
  min-width: 0;
}
.util-contact a { color: #fff; font-weight: 600; }
.util-contact a:hover { color: var(--c-accent-light); }
.util-hours { color: rgba(255, 255, 255, .68); }
.util-mail { color: #fff; font-weight: 600; }

/* ---------- Masthead ---------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-base);
  border-bottom: 1px solid var(--line-hair);
}
.masthead-row {
  min-height: var(--masthead-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--c-text);
  flex-shrink: 0;
}
.wordmark:hover { color: var(--c-text); }
.wordmark-mark { width: 26px; height: 26px; flex-shrink: 0; }
.wordmark-text {
  display: inline-flex;
  align-items: center;
  font-family: var(--face-display);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: 0.06em;
  line-height: 1;
  color: currentColor;
  translate: 0 1px;
}
.wordmark-v { height: 0.7em; width: auto; margin: 0 0.06em; translate: 0 0.01em; }

.desk-nav { margin-left: auto; }
.desk-nav ul { display: flex; list-style: none; margin: 0; padding: 0; align-items: center; }
.desk-nav li { padding-right: 24px; }
.desk-nav li + li { border-left: 1px solid var(--line-hair); padding-left: 24px; }
.desk-nav a {
  font-family: var(--face-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-body);
  transition: color .15s ease-out;
}
.desk-nav a:hover { color: var(--c-accent); }
.desk-nav a[aria-current="page"] { color: var(--c-accent); }

.masthead-actions { display: flex; align-items: center; gap: 10px; }
.masthead-actions .action { height: 38px; font-size: 14px; padding-inline: 18px; }

/* ---------- Drawer navigation ---------- */

.drawer-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--line-hair);
  background: none;
  cursor: pointer;
  color: var(--c-text);
  align-items: center;
  justify-content: center;
}

.drawer-scrim {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(11, 18, 32, .45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease-out, visibility .2s;
}
.drawer-scrim.scrim-open { opacity: 1; visibility: visible; }

.nav-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 120;
  width: min(340px, 88vw);
  background: var(--c-base);
  border-left: 1px solid var(--line-hair);
  padding: 20px 20px 32px;
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .22s ease-out, visibility .22s;
}
.nav-drawer.drawer-open { transform: none; visibility: visible; }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-hair);
  margin-bottom: 8px;
}
.drawer-title {
  font-family: var(--face-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-faint);
}
.drawer-close {
  width: 40px; height: 40px;
  border: 1px solid var(--line-hair);
  background: none;
  color: var(--c-text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-drawer ul { list-style: none; margin: 0; padding: 0; }
.nav-drawer li { border-bottom: 1px solid var(--line-hair); }
.nav-drawer a:not(.action) {
  display: block;
  padding: 16px 2px;
  font-family: var(--face-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--c-text);
}
.nav-drawer a:not(.action):hover { color: var(--c-accent); }
.drawer-foot { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.drawer-foot .action { width: 100%; }
.drawer-desk {
  font-family: var(--face-mono);
  font-size: 12px;
  color: var(--c-muted);
  margin-top: 18px;
  line-height: 1.6;
}
body.scroll-locked { overflow: hidden; }

/* ---------- Opening statement (home) ---------- */

.opening {
  background: var(--c-base);
  text-align: center;
  padding: clamp(3rem, 2rem + 3vw, 5rem) 0 clamp(2.5rem, 2vw, 3.5rem);
}
.opening .label { color: var(--c-accent); }
.opening h1 {
  font-family: var(--face-display);
  font-size: var(--type-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.06;
  max-width: 18ch;
  margin: 0 auto 20px;
}
.summary-line {
  font-size: var(--type-lead);
  line-height: 1.65;
  color: var(--c-muted);
  max-width: 56ch;
  margin: 0 auto 28px;
}
.opening .action { margin-inline: auto; }

/* ---------- Page opening (inner pages) ---------- */

.page-opening {
  background: var(--c-surface);
  border-bottom: 1px solid var(--line-hair);
  padding: clamp(2.25rem, 1.6rem + 2vw, 3.25rem) 0 clamp(2rem, 1.5rem + 1.6vw, 3rem);
}
.page-opening h1 {
  font-family: var(--face-display);
  font-size: clamp(1.875rem, 1.4rem + 1.9vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 22ch;
}
.page-opening .summary-line {
  margin: 18px 0 0;
  max-width: 68ch;
}
.page-opening .document-meta { margin-top: 14px; }

.crumb-trail {
  font-family: var(--face-mono);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--c-muted);
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line-hair);
}
.crumb-trail a { color: var(--c-muted); }
.crumb-trail a:hover { color: var(--c-accent); }
.crumb-trail span { padding-inline: 8px; color: var(--c-faint); }

/* ---------- Pillar strip (service counter) ---------- */

.pillar-strip {
  background: var(--c-base);
  border-block: 1px solid var(--line-hair);
}
.pillar-strip ul {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
.pillar {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.pillar + .pillar { border-left: 1px solid var(--line-hair); }
.pillar a { color: var(--c-text); }
.pillar a:hover { color: var(--c-accent); }
.pillar-index {
  font-family: var(--face-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--c-faint);
}
.pillar-name {
  font-family: var(--face-body);
  font-size: 15px;
  font-weight: 600;
  color: inherit;
  line-height: 1.3;
}
.pillar-meta { font-size: 12px; color: var(--c-muted); }

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

/* position:relative so absolutely-positioned .offscreen text inside the table
   is contained by the scroller and cannot push the page sideways. */
.catalogue-scroll { overflow-x: auto; position: relative; }
.catalogue-scroll:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }

.scroll-hint {
  display: none;
  font-family: var(--face-mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin: 0 0 12px;
}
@media (max-width: 1023px) { .scroll-hint { display: block; } }

.catalogue {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.9375rem;
  text-align: left;
}

.col-service { width: 22%; }
.col-included { width: 34%; }
.col-response { width: 14%; }
.col-basis { width: 20%; }
.col-detail { width: 10%; }
.col-scope { width: 26%; }
.col-kind { width: 16%; }
.col-price { width: 17%; }
.col-resp { width: 19%; }

.col-priority { width: 14%; }
.col-definition { width: 32%; }
.col-target { width: 15%; }
.col-cadence { width: 15%; }
.col-resolution { width: 15%; }
.col-cover { width: 9%; }

.catalogue-head th,
.catalogue thead th {
  font-family: var(--face-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-muted);
  text-align: left;
  padding: 0 20px 12px 0;
  border-bottom: 2px solid var(--line-hair-strong);
  white-space: nowrap;
}

.catalogue-row > th,
.catalogue-row > td,
.catalogue tbody tr > th,
.catalogue tbody tr > td {
  padding: 26px 20px 26px 0;
  border-bottom: 1px solid var(--line-hair);
  vertical-align: top;
  text-align: left;
  font-weight: 400;
  color: var(--c-body);
}
.catalogue-row:hover,
.catalogue tbody tr:hover { background: var(--c-surface); }

.catalogue-row > th[scope="row"],
.catalogue tbody tr > th[scope="row"] {
  font-family: var(--face-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--c-text);
  line-height: 1.3;
}
.catalogue tbody tr > th[scope="row"] a { color: var(--c-text); }
.catalogue tbody tr > th[scope="row"] a:hover { color: var(--c-accent); text-decoration: underline; text-underline-offset: 3px; }

.row-note {
  display: block;
  font-family: var(--face-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--c-muted);
  margin-top: 6px;
  line-height: 1.5;
}

.catalogue tbody td > .row-note:first-child { margin-top: 0; }

.inclusions {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.55;
}

.metric {
  font-family: var(--face-mono);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--c-text);
  white-space: nowrap;
}
.metric-cell {
  font-family: var(--face-mono);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--c-text);
  white-space: nowrap;
}
.unit { font-size: 12px; color: var(--c-muted); letter-spacing: 0; }
.metric-sub {
  display: block;
  font-family: var(--face-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--c-muted);
  margin-top: 6px;
  white-space: normal;
}

.row-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--line-hair);
  color: var(--c-accent);
  font-size: 16px;
  line-height: 1;
  transition: background-color .15s ease-out, border-color .15s ease-out;
}
.row-link a:hover { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }

.mark-yes { color: var(--c-mark); display: inline-flex; }
.mark-yes svg { width: 18px; height: 18px; }

/* ---------- Full-bleed photographic strip ---------- */

.wide-strip {
  width: 100%;
  height: clamp(220px, 26vw, 380px);
  border-block: 1px solid var(--line-hair);
  display: flex;
  align-items: flex-end;
  background-color: var(--c-dark);
  background-repeat: no-repeat;
  background-position: center 45%;
  background-size: cover;
}
.wide-strip-datacentre {
  background-image:
    linear-gradient(0deg, rgba(11,18,32,.72) 0%, rgba(11,18,32,.15) 55%),
    linear-gradient(90deg, rgba(11,18,32,.60), rgba(11,18,32,.18)),
    url('img/datacentre-hall-dark.webp');
}
.wide-strip-fibre {
  background-image:
    linear-gradient(0deg, rgba(11,18,32,.72) 0%, rgba(11,18,32,.15) 55%),
    linear-gradient(90deg, rgba(11,18,32,.60), rgba(11,18,32,.18)),
    url('img/fibre-patch-panel-detail.webp');
}
.wide-strip-workspace {
  background-image:
    linear-gradient(0deg, rgba(11,18,32,.74) 0%, rgba(11,18,32,.18) 55%),
    linear-gradient(90deg, rgba(11,18,32,.62), rgba(11,18,32,.20)),
    url('img/ops-workspace-calm.webp');
}
.wide-strip-caption {
  font-family: var(--face-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  padding-bottom: 20px;
}

/* ---------- Commitment band ---------- */

.commitment-band {
  background: var(--c-surface);
  border-block: 1px solid var(--line-hair);
  padding-block: clamp(32px, 3.5vw, 48px);
}
.commitment-band ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
.commitment-item { display: flex; flex-direction: column; padding-right: 24px; min-width: 0; }
.commitment-item + .commitment-item { border-left: 1px solid var(--line-hair); padding-left: 32px; }
.commitment-index {
  font-family: var(--face-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--c-faint);
  margin-bottom: 10px;
}
.commitment-figure {
  font-family: var(--face-mono);
  font-weight: 500;
  font-size: var(--type-figure);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--c-text);
  font-variant-numeric: tabular-nums;
}
.commitment-label {
  font-family: var(--face-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-top: 12px;
  line-height: 1.5;
}
.commitment-band ol {
  padding-bottom: clamp(24px, 2.5vw, 32px);
  border-bottom: 1px solid var(--line-hair);
}
.commitment-note {
  font-size: var(--type-small);
  color: var(--c-muted);
  margin-top: 18px;
  max-width: 90ch;
}

/* ---------- Ledger (horizontal + vertical) ---------- */

.ledger-across {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--line-hair-strong);
}
.ledger-column { padding: 28px 28px 0 0; min-width: 0; }
.ledger-column + .ledger-column { border-left: 1px solid var(--line-hair); padding-left: 32px; }
.ledger-column .heading-sm { margin-bottom: 10px; }
.ledger-column p { color: var(--c-muted); font-size: 0.9375rem; }

.ledger { border-top: 2px solid var(--line-hair-strong); margin: 0; }
.ledger-row {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: var(--gap-md);
  padding: 24px 0;
  border-bottom: 1px solid var(--line-hair);
}
.ledger-row dt { font-weight: 600; color: var(--c-text); }
.ledger-row dd { margin: 0; color: var(--c-muted); font-size: 0.9375rem; }
.ledger-inset { margin-top: 28px; }
.ledger-index { font-family: var(--face-mono); font-weight: 500; color: var(--c-accent); margin-right: 8px; }
.ledger-term {
  display: block;
  font-weight: 400;
  font-family: var(--face-mono);
  font-size: 12px;
  color: var(--c-muted);
  margin-top: 4px;
}

/* ---------- Stage band (process) ---------- */

.stage-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.stage { padding: 24px 28px 0 0; min-width: 0; border-top: 1px solid var(--line-hair-strong); }
.stage:first-child { border-top-width: 2px; }
.stage + .stage { border-left: 1px solid var(--line-hair); padding-left: 28px; }
.stage-index {
  font-family: var(--face-mono);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--c-accent);
  display: block;
  margin-bottom: 12px;
}
.stage .heading-sm { margin-bottom: 8px; }
.stage p { color: var(--c-muted); font-size: 0.9375rem; }
.stage-term {
  font-family: var(--face-mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-faint);
  margin-top: 14px;
}

/* ---------- Scenario ruled block ---------- */

.scenario-block {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--gap-lg);
  border-top: 2px solid var(--line-hair-strong);
  padding-top: 32px;
}
.scenario-note {
  display: inline-block;
  font-family: var(--face-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-muted);
  border: 1px solid var(--line-hair);
  padding: 6px 12px;
  margin-bottom: 18px;
}
.scenario-block .heading-sm { margin-bottom: 14px; font-size: 1.25rem; }
.scenario-block p { color: var(--c-muted); font-size: 0.9688rem; }
.scenario-figures {
  border-left: 1px solid var(--line-hair);
  padding-left: var(--gap-lg);
  display: flex;
  flex-direction: column;
  gap: 26px;
  justify-content: center;
}
.scenario-value {
  font-family: var(--face-mono);
  font-weight: 500;
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem);
  letter-spacing: -0.02em;
  color: var(--c-text);
  line-height: 1.1;
  display: block;
}
.scenario-caption { font-size: var(--type-small); color: var(--c-muted); margin-top: 6px; }

/* ---------- Query list (FAQ) ---------- */

.query-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 64px;
  align-content: start;
  border-top: 2px solid var(--line-hair-strong);
}
.query { border-bottom: 1px solid var(--line-hair); align-self: start; }
.query summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-text);
  cursor: pointer;
  list-style: none;
}
.query summary::-webkit-details-marker { display: none; }
.query-mark {
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 3px;
  color: var(--c-accent);
  transition: transform .25s ease;
}
.query[open] .query-mark { transform: rotate(45deg); }
.query-answer { padding: 0 34px 18px 0; color: var(--c-muted); font-size: 0.9375rem; }

/* ---------- Spec rows (services / about) ---------- */

.spec {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: var(--gap-lg);
  align-items: start;
  border-top: 2px solid var(--line-hair-strong);
  padding-top: 32px;
}
.spec-head .heading { font-size: clamp(1.375rem, 1.15rem + 0.9vw, 1.875rem); }
.spec-head p { color: var(--c-muted); font-size: 0.9375rem; margin-top: 14px; }
.spec-body p { color: var(--c-muted); }
.spec-note { font-size: var(--type-small); color: var(--c-faint); margin-top: 6px; }
.spec-subhead { margin-top: 28px; }

.inclusion-list { list-style: none; margin: 20px 0 0; padding: 0; }
.inclusion-list li {
  position: relative;
  padding: 8px 0 8px 24px;
  color: var(--c-body);
  border-bottom: 1px solid var(--line-hair);
  font-size: 0.9375rem;
}
.inclusion-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 17px;
  width: 10px; height: 1px;
  background: var(--c-accent);
}

.terms-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-hair-strong);
  margin: 28px 0 0;
}
.terms-cell { padding: 16px 20px 0 0; min-width: 0; }
.terms-cell + .terms-cell { border-left: 1px solid var(--line-hair); padding-left: 20px; }
.terms-key {
  font-family: var(--face-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-muted);
  display: block;
  margin-bottom: 8px;
}
.terms-value {
  font-family: var(--face-mono);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: -0.02em;
  color: var(--c-text);
  display: block;
  margin: 0;
}

/* ---------- Contact ---------- */

.contact-columns {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--gap-lg);
  align-items: start;
}
.enquiry-route { border-top: 1px solid var(--line-hair-strong); padding-top: 20px; }
.enquiry-route + .enquiry-route { margin-top: 28px; }
.enquiry-route .heading-sm { margin-bottom: 8px; font-size: 1.0625rem; }
.enquiry-route p { color: var(--c-muted); font-size: 0.9375rem; }
.route-mail { margin-top: 12px; }
.postal-address {
  font-style: normal;
  color: var(--c-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ---------- Enquiry block (flat contract footer) ---------- */

.enquiry-block { background: var(--c-accent); padding-block: 3rem; }
.enquiry-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-lg);
}
.enquiry-block .heading { color: #fff; max-width: 22ch; }
.enquiry-block p { color: rgba(255, 255, 255, .86); font-size: 0.9375rem; margin: 10px 0 0; max-width: 58ch; }
.enquiry-block p a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.enquiry-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex-shrink: 0; }
.enquiry-actions .action-note { font-size: 13px; color: rgba(255, 255, 255, .78); margin: 0; }

/* ---------- Footer ---------- */

.footer-block {
  background: var(--c-dark);
  color: rgba(255, 255, 255, .64);
  padding: clamp(3rem, 2.5rem + 2vw, 4.5rem) 0 2.5rem;
}
.footer-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 44px;
}
.footer-identity .wordmark { color: #fff; margin-bottom: 18px; }
.footer-identity .wordmark-mark { width: 24px; height: 24px; }
.footer-identity .wordmark-text { font-size: 0.9375rem; }
.footer-identity p { font-size: var(--type-small); line-height: 1.7; max-width: 30ch; color: rgba(255, 255, 255, .58); }
.footer-column h2 {
  color: #fff;
  font-family: var(--face-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-column ul { list-style: none; margin: 0; padding: 0; }
.footer-column li { margin-bottom: 10px; }
.footer-column a { font-size: var(--type-small); color: rgba(255, 255, 255, .68); transition: color .15s ease-out; }
.footer-column a:hover { color: #fff; }
.footer-address { font-style: normal; font-size: var(--type-small); line-height: 1.7; color: rgba(255, 255, 255, .58); }
.footer-address a { color: rgba(255, 255, 255, .8); }
.footer-address a:hover { color: #fff; }

.footer-disclosure {
  border-top: 1px solid var(--line-hair-invert);
  padding-top: 26px;
  font-size: 0.8125rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, .55);
}
.footer-disclosure a { color: rgba(255, 255, 255, .72); }
.footer-disclosure a:hover { color: #fff; }
.disclosure-links { margin-top: 6px; }
.disclosure-links a { margin-right: 4px; }

/* ---------- Legal / document pages ---------- */

.document-meta {
  font-family: var(--face-mono);
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--c-muted);
  margin-top: 14px;
}

.contents-list {
  border-top: 2px solid var(--line-hair-strong);
  border-bottom: 1px solid var(--line-hair);
  padding: 22px 0 18px;
  margin-bottom: clamp(36px, 4vw, 52px);
}
.contents-list h2 {
  font-family: var(--face-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 14px;
}
.contents-list ol { margin: 0; padding-left: 1.4em; columns: 2; column-gap: 40px; font-size: 0.9063rem; }
.contents-list li { margin-bottom: 8px; break-inside: avoid; }

.document-body h2 {
  font-family: var(--face-display);
  font-size: 1.3125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 2.4em 0 0.8em;
  padding-top: 0.6em;
  border-top: 1px solid var(--line-hair);
  scroll-margin-top: 96px;
}
.document-body h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.document-body h3 { font-size: 1.0625rem; font-weight: 600; margin: 1.8em 0 0.6em; }
.document-body p, .document-body li { color: var(--c-body); font-size: 0.9688rem; line-height: 1.7; }
.document-body ul, .document-body ol { margin-bottom: 1.2em; }
.document-body li { margin-bottom: 0.5em; }
.document-body .catalogue-scroll { margin: 1.4em 0; }
.document-body .catalogue { min-width: 640px; font-size: 0.9063rem; table-layout: auto; }
.document-body .catalogue tbody tr > td { padding: 16px 20px 16px 0; }
.document-body .catalogue thead th { padding-bottom: 10px; }
.back-to-top { display: inline-block; margin-top: 3em; font-size: var(--type-small); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1179px) {
  .commitment-band ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .commitment-item { padding-block: 20px; }
  .commitment-item + .commitment-item { border-left: 0; padding-left: 0; }
  .commitment-item:nth-child(even) { border-left: 1px solid var(--line-hair); padding-left: 32px; }
  .commitment-item:nth-child(n+3) { border-top: 1px solid var(--line-hair); }
}

@media (max-width: 1023px) {
  .pillar-strip ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pillar + .pillar { border-left: 1px solid var(--line-hair); }
  .pillar:nth-child(3n+1) { border-left: 0; }
  .pillar:nth-child(n+4) { border-top: 1px solid var(--line-hair); }

  .ledger-across { grid-template-columns: 1fr; }
  .ledger-column { padding: 24px 0; border-bottom: 1px solid var(--line-hair); }
  .ledger-column + .ledger-column { border-left: 0; padding-left: 0; }

  .stage-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage { padding-bottom: 24px; }
  .stage + .stage { border-left: 0; padding-left: 0; }
  .stage:nth-child(even) { border-left: 1px solid var(--line-hair); padding-left: 28px; }

  .scenario-block { grid-template-columns: 1fr; }
  .scenario-figures {
    border-left: 0;
    border-top: 1px solid var(--line-hair);
    padding-left: 0;
    padding-top: 26px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 32px;
  }

  .spec, .contact-columns { grid-template-columns: 1fr; }
  .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-identity { grid-column: 1 / -1; }
  .util-hours { display: none; }
}

@media (max-width: 899px) {
  .desk-nav { display: none; }
  .drawer-toggle { display: inline-flex; }
  .masthead-actions { margin-left: auto; }
}

@media (max-width: 767px) {
  .query-list { grid-template-columns: 1fr; }
  .enquiry-row { flex-direction: column; align-items: flex-start; }
  .enquiry-actions { align-items: flex-start; width: 100%; }
  .terms-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .terms-cell { padding-bottom: 16px; }
  .terms-cell + .terms-cell { border-left: 0; padding-left: 0; }
  .terms-cell:nth-child(even) { border-left: 1px solid var(--line-hair); padding-left: 20px; }
  .terms-cell:nth-child(n+3) { border-top: 1px solid var(--line-hair); }
}

@media (max-width: 639px) {
  .util-bar { font-size: 11px; }
  .util-registration { letter-spacing: 0; }
  .pillar-strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar:nth-child(3n+1) { border-left: 1px solid var(--line-hair); }
  .pillar:nth-child(odd) { border-left: 0; }
  .pillar:nth-child(n+3) { border-top: 1px solid var(--line-hair); }

  .stage-band { grid-template-columns: 1fr; }
  .stage:nth-child(even) { border-left: 0; padding-left: 0; }

  .commitment-band ol { grid-template-columns: 1fr; }
  .commitment-item:nth-child(even) { border-left: 0; padding-left: 0; }
  .commitment-item:nth-child(n+2) { border-top: 1px solid var(--line-hair); }

  .footer-columns { grid-template-columns: 1fr; }
  .contents-list ol { columns: 1; }
  .ledger-row { grid-template-columns: 1fr; gap: 6px; }
  .opening .action { width: 100%; }
  .masthead-actions .action { padding-inline: 14px; font-size: 13px; }
  .terms-row { grid-template-columns: 1fr; }
  .terms-cell:nth-child(even) { border-left: 0; padding-left: 0; }
  .terms-cell:nth-child(n+2) { border-top: 1px solid var(--line-hair); }
}
