/* ==========================================================================
   Self-hosted typefaces. No third-party request, no render-blocking round
   trip to Google, and nothing for the privacy policy to disclose.
   ========================================================================== */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/space-grotesk-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/space-grotesk-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
}

/* ==========================================================================
   Pragma Technology Consulting Services — shared stylesheet
   Design direction: "security console" — severity colour encodes meaning,
   not decoration. Critical (signal) -> High (amber) -> Cleared (cyan).
   ========================================================================== */

:root {
  /* Core palette */
  --ink:        #141142;
  --ink-2:      #1D1866;
  --ink-3:      #2A227F;
  --ultra:      #3B2BF0;
  --cyan:       #16D6E8;
  --brand:      #0086BF;   /* sampled from the Pragma mark */
  --gold:       #D4AF37;   /* hero labels on the dark ground */
  --signal:     #FF3D6E;
  --amber:      #FFB43D;
  --medium:     #6FA8E9;
  --clear:      #6FE9A8;
  --paper:      #F4F3FF;
  --white:      #FFFFFF;
  --muted:      #615D99;
  --muted-dark: #A6A2D8;
  --line:       rgba(20, 17, 66, 0.12);
  --line-dark:  rgba(255, 255, 255, 0.14);

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

  /* Rhythm */
  --gutter: clamp(20px, 5vw, 64px);
  --block:  clamp(76px, 9vw, 136px);
  --maxw:   1220px;
  --radius: 4px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(20, 17, 66, 0.05);
  --shadow-md: 0 14px 34px -18px rgba(20, 17, 66, 0.28);
  --shadow-lg: 0 40px 80px -34px rgba(20, 17, 66, 0.42);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.68;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
  overflow-wrap: break-word;
}

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

a { color: inherit; }

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

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 12px 18px;
  z-index: 200;
}
.skip:focus { left: 8px; top: 8px; }

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

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.06;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.35rem, 5.6vw, 4.3rem);
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(1.85rem, 4vw, 2.9rem);
  letter-spacing: -0.03em;
}
h3 { font-size: clamp(1.12rem, 1.9vw, 1.35rem); line-height: 1.22; }

p { margin: 0 0 1.1em; text-wrap: pretty; }

.lede {
  font-size: clamp(1.04rem, 1.6vw, 1.22rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 64ch;
  text-wrap: pretty;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;   /* 12px floor — small uppercase labels should not go under */
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ultra);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--cyan);
  flex: none;
}

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

.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 17, 66, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
}

.masthead .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--white);
  min-height: 44px;
}
.brand-mark {
  width: auto;
  height: 34px;
  flex: none;
  color: var(--brand);
  transition: color 0.2s ease;
}
.brand:hover .brand-mark { color: var(--cyan); }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}
.brand-text em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 500;
  margin-top: 5px;
  white-space: nowrap;
}
.foot .brand-mark { height: 44px; }
.foot .brand-text { font-size: 1.4rem; }
.foot .brand-text em { font-size: 0.6rem; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.9vw, 30px);
}

.nav a {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--muted-dark);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.nav a:hover { color: var(--white); }
.nav a[aria-current="page"] {
  color: var(--white);
  border-bottom-color: var(--cyan);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-dark);
  color: var(--white);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  padding: 12px 18px;
  min-height: 44px;
  border-radius: 100px;
  cursor: pointer;
}

/* ------------------------------------------------------------ buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 26px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--ultra); color: var(--white); }
.btn-primary:hover { background: var(--cyan); color: var(--ink); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--line-dark);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ultra); }

/* --------------------------------------------------------------- hero ---- */

.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  padding-block: clamp(60px, 8vw, 104px) clamp(70px, 9vw, 120px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 20%, transparent 75%);
}

.hero::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -180px;
  top: -220px;
  background: radial-gradient(circle, rgba(59,43,240,0.55), transparent 68%);
  pointer-events: none;
}

.hero .wrap { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.hero h1 { color: var(--white); }
.hero h1 em {
  font-style: normal;
  color: var(--cyan);
}

.hero .lede { color: var(--muted-dark); margin-top: 24px; }

/* The eyebrow defaults to --ultra, which is legible on white but only 2.35:1
   against the dark hero. Gold clears AA at 8.4:1 and reads warmer than cyan,
   which is doing other work on this page. */
.hero .eyebrow { color: var(--gold); }
.hero .eyebrow::before { background: var(--gold); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

/* ------------------------------------------------ signature: monitor ----- */

.monitor {
  background: linear-gradient(160deg, var(--ink-2), var(--ink));
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 22px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
}

.monitor-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-dark);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-dark);
}

.monitor-head b {
  color: var(--clear);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.monitor-head b::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clear);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(111, 233, 168, 0.5); }
  50%      { opacity: 0.55; box-shadow: 0 0 0 6px rgba(111, 233, 168, 0); }
}

.monitor-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-dark);
  opacity: 0;
  animation: rowIn 0.55s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}
.monitor-row:nth-child(2) { animation-delay: 0.12s; }
.monitor-row:nth-child(3) { animation-delay: 0.24s; }
.monitor-row:nth-child(4) { animation-delay: 0.36s; }
.monitor-row:nth-child(5) { animation-delay: 0.48s; }
.monitor-row:nth-child(6) { animation-delay: 0.60s; }
.monitor-row:nth-child(7) { animation-delay: 0.72s; }
.monitor-row:nth-child(8) { animation-delay: 0.84s; border-bottom: none; }
.monitor-row:last-of-type { border-bottom: none; }

@keyframes rowIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.monitor-row .sys {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--white);
}
.monitor-row .sub {
  display: block;
  font-size: 0.68rem;
  color: var(--muted-dark);
  letter-spacing: 0.05em;
  margin-top: 3px;
}

.chip {
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 100px;
  white-space: nowrap;
}
.chip.crit  { background: rgba(255, 61, 110, 0.16); color: #FF7A99; }
.chip.high  { background: rgba(255, 180, 61, 0.16); color: var(--amber); }
.chip.med   { background: rgba(111, 168, 233, 0.18); color: var(--medium); }
.chip.clear { background: rgba(111, 233, 168, 0.14); color: var(--clear); }

.monitor-foot {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 0.75rem;   /* caption sentence — keep it at the 12px floor */
  letter-spacing: 0.08em;
  color: var(--muted-dark);
}

/* ------------------------------------------------------- partner rail ---- */

.rail {
  background: var(--ink-2);
  color: var(--white);
  padding-block: 30px;
  border-top: 1px solid var(--line-dark);
}

.rail-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 40px;
}

.rail-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

.rail-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Partner logos sit on white tiles. SecurityBridge and Soterion supply dark
   artwork intended for light backgrounds, so a tile lets both be used exactly
   as the vendor provided them rather than recoloured to suit our palette. */
.rail-logos {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* All three tiles are the same size. The logos inside are not — they are sized
   to equal optical area, since SecurityBridge is a stacked two-line mark and
   would read far larger than the two wordmarks at a matching pixel height. */

.plogo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  width: 208px;
  height: 84px;
  flex: none;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease;
}
.plogo:hover { transform: translateY(-2px); }

.plogo img {
  display: block;
  width: auto;
  max-width: 100%;
}

/* Heights are set per logo rather than uniformly. Equal pixel heights would
   make the stacked SecurityBridge mark read as far larger than the two
   single-line wordmarks; these values equalise their optical area instead. */
.plogo-sb img { height: 46px; }
.plogo-pl img { height: 29px; }
.plogo-so img { height: 27px; }

/* ------------------------------------------------------------ section ---- */

.band { padding-block: var(--block); }
.band-paper { background: var(--paper); }
.band-ink { background: var(--ink); color: var(--white); }
.band-ink h2, .band-ink h3 { color: var(--white); }
.band-ink .lede { color: var(--muted-dark); }
.band-ink .eyebrow { color: var(--cyan); }

.band-head { max-width: 68ch; margin-bottom: clamp(38px, 5vw, 60px); }
.band-head h2 + .lede { margin-top: 20px; }

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

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 2.6vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(59, 43, 240, 0.32);
}

.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(150deg, rgba(59,43,240,0.10), rgba(22,214,232,0.14));
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}
.card .icon img { width: 26px; height: 26px; }

.card .tag {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ultra);
}
.card h3 { margin-top: -4px; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.card ul {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card ul li {
  font-size: 0.88rem;
  color: var(--ink);
  padding-left: 18px;
  position: relative;
}
.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 2px;
  background: var(--cyan);
}

.card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--ultra), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.card:hover::after { transform: scaleX(1); }

/* --------------------------------------------------------- lifecycle ---- */

.track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-dark);
}

.band-ink .track { border-color: var(--line-dark); }

.stage {
  padding: 30px 26px 30px 0;
  border-right: 1px solid var(--line-dark);
  position: relative;
}
.stage:last-child { border-right: none; }

.stage .n {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--cyan);
  display: block;
  margin-bottom: 12px;
}
.stage h3 { margin-bottom: 10px; }
.stage p { color: var(--muted-dark); font-size: 0.92rem; margin: 0; }

/* --------------------------------------------------------------- stat ---- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
  margin-top: 44px;
}
.stat .k {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ultra);
}
.band-ink .stat .k { color: var(--cyan); }
.stat .v {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
  display: block;
}
.band-ink .stat .v { color: var(--muted-dark); }

/* --------------------------------------------------------------- prose --- */

.prose { max-width: 68ch; }
.prose h3 { margin: 42px 0 14px; }
.prose ul { padding-left: 20px; color: var(--muted); }
.prose ul li { margin-bottom: 8px; }

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(34px, 5vw, 76px);
  align-items: start;
}
.split > * { min-width: 0; }
.split .lede { max-width: none; }
.split .eyebrow + h2 { margin-bottom: 18px; }

.split-even { grid-template-columns: 1fr 1fr; }
.split-center { align-items: center; }

/* -------------------------------------------------------------- media --- */

.media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink);
  box-shadow: var(--shadow-lg);
  line-height: 0;
}
.media img,
.media .art { width: 100%; height: auto; display: block; }
.media figcaption {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  line-height: 1.6;
  color: var(--muted-dark);
  padding: 14px 18px;
  border-top: 1px solid var(--line-dark);
  background: var(--ink);
}
.band-ink .media,
.hero .media { border-color: var(--line-dark); }

/* -------------------------------------------------------------- panel --- */

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--ultra), var(--cyan));
}
.panel h3 { margin-bottom: 12px; }
.panel p:last-child { margin-bottom: 0; }
.panel > ul { margin: 0; padding-left: 18px; color: var(--muted); }
.panel > ul li { margin-bottom: 8px; }
.panel > ul li:last-child { margin-bottom: 0; }

.panel-dark {
  background: var(--ink-2);
  border-color: var(--line-dark);
  color: var(--white);
  box-shadow: none;
}
.panel-dark p { color: var(--muted-dark); }

.panel-stack { display: grid; gap: 20px; }

/* ------------------------------------------------------------ reveal ---- */

html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.3, 1),
              transform 0.6s cubic-bezier(0.2, 0.8, 0.3, 1);
  will-change: opacity, transform;
}
html.js .reveal.in { opacity: 1; transform: none; }

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

.form { display: grid; gap: 20px; }

.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.field label .hint {
  color: var(--ultra);
  letter-spacing: 0.1em;
}
.field label .hint::before { content: "· "; }
.field input,
.field select,
.field textarea {
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ultra);
  outline: 2px solid rgba(59, 43, 240, 0.18);
  outline-offset: 0;
}
.field textarea { min-height: 130px; resize: vertical; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

/* Honeypot — visually and audibly hidden, but still fillable by bots.
   Deliberately not display:none, which some bots skip. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.captcha { margin-top: 4px; }
.captcha > div { max-width: 100%; }

.form-status {
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.5;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  background: rgba(111, 233, 168, 0.14);
  color: #1B7A4C;
  display: none;
}
.form-status.show { display: block; }
.form-status.bad {
  background: rgba(255, 61, 110, 0.12);
  color: #C31842;
}

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

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.contact-list dt,
.contact-list .k2 {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 7px;
}
.contact-list .v2 { color: var(--white); font-size: 0.98rem; line-height: 1.6; }
.contact-list a { color: var(--white); }

/* ----------------------------------------------------------------- cta --- */

.cta {
  background: var(--ultra);
  color: var(--white);
  padding-block: clamp(56px, 7vw, 92px);
}
.cta h2 { color: var(--white); max-width: 20ch; }
.cta p { color: rgba(255,255,255,0.82); max-width: 52ch; margin-top: 18px; }
.cta .btn-primary { background: var(--white); color: var(--ultra); }
.cta .btn-primary:hover { background: var(--ink); color: var(--white); }
.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 36px;
  flex-wrap: wrap;
}

/* -------------------------------------------------------------- footer --- */

.foot {
  background: var(--ink);
  color: var(--muted-dark);
  padding-block: 58px 30px;
  font-size: 0.9rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-dark);
}
.foot-blurb {
  margin-top: 16px;
  max-width: 42ch;
}

.foot h4 {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { color: var(--muted-dark); text-decoration: none; }
.foot a:hover { color: var(--cyan); }
.foot-base {
  padding-top: 22px;
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

/* -------------------------------------------------------- responsive ----- */

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .foot-grid { grid-template-columns: 1fr; }
  .stage { border-right: none; border-bottom: 1px solid var(--line-dark); padding-right: 0; }
  .stage:last-child { border-bottom: none; }
}

@media (max-width: 860px) {
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--line-dark);
    padding: 8px var(--gutter) 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line-dark); }
  .nav a:last-child { border-bottom: none; }
  .nav a[aria-current="page"] { border-bottom-color: var(--cyan); }
  .nav-toggle { display: block; }
  .masthead .wrap { position: relative; }
}

@media (max-width: 720px) {
  .form-row { grid-template-columns: 1fr; }
  body { font-size: 16px; line-height: 1.62; }
  .cards, .lines { gap: 16px; }
  .stats { gap: 22px; }
  .cta-inner { gap: 26px; }
  .monitor { padding: 18px; }
  .monitor-row { padding: 11px 0; }
  .rail-inner { gap: 16px; }
  .plogo { padding: 10px 14px; width: 168px; height: 70px; }
  .plogo-sb img { height: 38px; }
  .plogo-pl img { height: 24px; }
  .plogo-so img { height: 22px; }
}

@media (max-width: 420px) {
  .monitor-row { grid-template-columns: 1fr; gap: 8px; }
  .monitor-row .chip { justify-self: start; }
  .btn { width: 100%; justify-content: center; }
  .hero-actions { gap: 12px; }
  .cta .btn, .role .btn { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .monitor-row { opacity: 1; }
  html.js .reveal { opacity: 1; transform: none; }
  .btn:hover { transform: none; }
}

/* ============================================================ additions === */

/* Compact hero for interior pages */
.hero-compact { padding-block: clamp(48px, 6vw, 76px) clamp(52px, 6.5vw, 84px); }
.hero-compact .lede { margin-top: 22px; }

.band-tight { padding-block: clamp(60px, 7vw, 100px); }

/* Service lines — linked tiles */
.lines {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.line {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(24px, 2.6vw, 32px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.line:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(59, 43, 240, 0.32);
}
.line::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--ultra), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.line:hover::after { transform: scaleX(1); }

.line-n {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--cyan);
}
.line h3 { margin: 0; }
.line p { margin: 0; color: var(--muted); font-size: 0.93rem; flex: 1; }
.line-go {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ultra);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.line-go::after {
  content: "→";
  transition: transform 0.2s ease;
}
.line:hover .line-go::after { transform: translateX(4px); }

/* Contact page layout */
.split-form { grid-template-columns: 0.8fr 1.2fr; }

.contact-grid {
  grid-template-columns: 1fr;
  gap: 30px 40px;
}

/* Column widths are set explicitly rather than by auto-fit. Equal columns give
   the office block 243px, which is not enough for the company name (372px) or
   the street line (300px) — both wrapped mid-phrase. */
@media (min-width: 1100px) {
  .contact-grid { grid-template-columns: 400px 190px 150px 1fr; }
}

/* Between those sizes the office block takes the full row and the three short
   fields share the one below it. */
@media (min-width: 700px) and (max-width: 1099px) {
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid > *:first-child { grid-column: 1 / -1; }
}
.contact-list dd { margin: 0; }

/* Inline text links */
.link {
  color: var(--ultra);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.link:hover { text-decoration-thickness: 2px; }
.band-ink .link, .panel-dark .link { color: var(--cyan); }

.rail-band { padding-block: clamp(44px, 5vw, 64px); }

/* Footer legal links */
.foot-base { justify-content: space-between; }
.foot-legal {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.foot-legal a {
  color: var(--muted-dark);
  text-decoration: none;
}
.foot-legal a:hover { color: var(--cyan); }

/* Careers */
.roles { display: grid; gap: 16px; }
.role {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 22px clamp(20px, 2.4vw, 30px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.role h3 { margin: 0 0 6px; font-size: 1.15rem; }
.role p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.role .role-meta {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ultra);
  margin-bottom: 8px;
  display: block;
}

/* Legal document pages */
.legal { max-width: 74ch; }
.legal h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  margin: 46px 0 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.legal h2:first-of-type { margin-top: 0; border-top: none; padding-top: 0; }
.legal h3 { font-size: 1.05rem; margin: 26px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal .updated {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ultra);
  margin-bottom: 34px;
  display: block;
}

@media (max-width: 900px) {
  .split-form { grid-template-columns: 1fr; }
  .role { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 720px) {
  .foot-base { flex-direction: column; gap: 14px; align-items: flex-start; }
  .foot-legal { gap: 18px; }
}

/* Spacing utilities replacing former inline overrides */
.band-head-tight { margin-bottom: 34px; }
.media-lead { margin-bottom: clamp(30px, 4vw, 44px); }
.panel-follow { margin-top: 20px; }
.split-stacked { margin-bottom: var(--block); }
.split-stacked:last-of-type { margin-bottom: 0; }
p.tight { margin-bottom: 0; color: var(--muted); }
.panel-dark p.tight, .band-ink p.tight { color: var(--muted-dark); }

/* Reading measure — panels that span the full grid would otherwise run to
   ~120 characters per line, well past comfortable reading. */
.panel p,
.panel > ul { max-width: 78ch; }
.card p, .line p { max-width: none; }

/* Four-item grids land 3+1 with an orphan at tablet widths. Force 2x2 through
   the range where that happens, so the row always completes. */
@media (min-width: 620px) and (max-width: 1099px) {
  .lines,
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Above that, four across — the container is 1220px, so auto-fit would settle
   on three and leave the fourth stranded on its own row. */
@media (min-width: 1100px) {
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 620px) and (max-width: 999px) {
  .track { grid-template-columns: repeat(2, 1fr); }
}

/* Touch devices get larger hit areas regardless of width. An iPad in landscape
   is 1024px — wide enough for the horizontal nav, but still a finger, not a
   mouse. Keyed to pointer type rather than screen size so a 1024px laptop
   keeps the tighter desktop spacing. */
@media (pointer: coarse) {
  .nav { gap: clamp(10px, 1.4vw, 22px); }
  .nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 6px 8px;
  }
  .foot-legal a,
  .foot ul a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;   /* footer links are navigation too — full touch target */
  }
  .plogo { padding: 14px 18px; }
}

/* -------------------------------------------------- partner page blocks --- */

.partner-block { margin-bottom: var(--block); }
.partner-block:last-of-type { margin-bottom: 0; }

/* Logo and name read as one lockup: mark first, then the label and the name.
   Sits full width above the two columns so the logo has room to breathe. */
.partner-head {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 30px);
  margin-bottom: clamp(26px, 3vw, 40px);
  padding-bottom: clamp(22px, 2.6vw, 32px);
  border-bottom: 1px solid var(--line);
}
.partner-head-text .eyebrow { margin-bottom: 10px; }
.partner-head-text h2 { margin: 0; }

/* On a white band the tile needs an outline rather than the drop shadow that
   separates it from the dark rail. */
.plogo-onlight {
  flex: none;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

@media (max-width: 620px) {
  .partner-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.panel-follow-lg { margin-top: clamp(34px, 4vw, 48px); }

/* ------------------------------------------------------- privacy notice --- */

.privacy-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
  color: var(--white);
  box-shadow: 0 -12px 40px -18px rgba(0, 0, 0, 0.7);
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.3, 1), opacity 0.32s ease;
}
.privacy-bar.in { transform: translateY(0); }
.privacy-bar.gone { transform: translateY(100%); opacity: 0; }

.privacy-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  flex-wrap: wrap;
}

.privacy-text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted-dark);
  max-width: 68ch;
}
.privacy-text strong { color: var(--white); font-weight: 600; }
.privacy-bar .link { color: var(--cyan); }

.privacy-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex: none;
}
.privacy-actions .btn {
  padding: 12px 20px;
  font-size: 0.74rem;
  min-height: 44px;   /* touch target, including on tablets */
}

@media (max-width: 720px) {
  .privacy-inner { padding: 16px var(--gutter) 18px; gap: 14px; }
  .privacy-text { font-size: 0.84rem; }
  .privacy-actions { width: 100%; }
  .privacy-actions .btn { flex: 1; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .privacy-bar { transition: none; }
}

.foot-privacy { color: var(--muted-dark); }

@media (max-width: 720px) {
  .foot-base { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* ------------------------------------------------------ justified prose --- */

/* Long-form body copy is justified. Hyphenation is switched on with it: without
   it, justification stretches word gaps until "rivers" of white space run down
   the column, which is the usual reason justified text looks wrong on screen. */
.legal p,
.prose p,
.panel p,
.split .lede,
.band-head .lede {
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 7 3 3;   /* only hyphenate longer words, never tightly */
}

/* Short or structural text is left alone — justifying a two-line card
   description or a list item produces gaps rather than tidiness. */
.card p,
.line p,
.role p,
.stage p,
.form-note,
.monitor-foot,
.privacy-text,
.foot-blurb,
.legal li,
.prose li,
.panel > ul li {
  text-align: left;
  hyphens: manual;
}

/* Below roughly 40 characters a line cannot be justified without visible
   stretching, so narrow screens keep ragged-right. */
@media (max-width: 620px) {
  .legal p,
  .prose p,
  .panel p,
  .split .lede,
  .band-head .lede {
    text-align: left;
    hyphens: manual;
  }
}

/* Statutory disclosure — registered office and CIN, required on company
   publications under the Companies Act. Small print by design. */
.foot-statutory {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding-top: 22px;
  margin-top: 4px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--muted-dark);
}
.foot-statutory + .foot-base { border-top: none; padding-top: 14px; }

@media (max-width: 720px) {
  .foot-statutory { gap: 6px; }
}

/* Footer links are navigation, not prose, so they carry a real target size on
   pointer devices as well as touch (WCAG 2.5.8 asks for 24px minimum). */
.foot ul a,
.foot-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}

/* Restated after the baseline above, since later rules of equal specificity win. */
@media (pointer: coarse) {
  .foot ul a,
  .foot-legal a { min-height: 44px; }
}
