/* RegVersa main site: the Regulatory Journal theme (paper + serif, navy/cyan bar).
   Shared by the homepage, /work-with-us/, /regulatory-intelligence-platform-pakistan/
   and 404.html. Tokens and the navbar are kept in step with template/journal.html so
   regversa.com and /journal/ read as one site. */

:root {
  --paper: #faf8f4;
  --surface: #ffffff;
  --ink: #16181d;
  --ink-2: #454a54;
  --muted: #6b707b;
  --rule: #e3dfd6;
  --accent: #0f4c5c;
  --accent-2: #c4752b;
  --accent-soft: #e6f0f1;
  --ok: #2b6331;
  --serif: Charter, "Bitstream Charter", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 68rem;
  --measure: 42rem;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #121417;
    --surface: #1a1d22;
    --ink: #ecebe7;
    --ink-2: #c3c5ca;
    --muted: #8d929c;
    --rule: #2c3038;
    --accent: #7cc4d2;
    --accent-2: #e3a464;
    --accent-soft: #1d2c31;
    --ok: #8fcf98;
  }
}

:root[data-theme="dark"] {
  --paper: #121417;
  --surface: #1a1d22;
  --ink: #ecebe7;
  --ink-2: #c3c5ca;
  --muted: #8d929c;
  --rule: #2c3038;
  --accent: #7cc4d2;
  --accent-2: #e3a464;
  --accent-soft: #1d2c31;
  --ok: #8fcf98;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; }
b, strong { font-weight: 600; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; letter-spacing: -.01em; }

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; transform: translateY(-160%); background: var(--surface); color: var(--ink); border: 1px solid var(--rule); padding: 8px 12px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { transform: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
main, .site-header, .site-footer { position: relative; z-index: 1; }

/* ---------- header: brand row + navy navbar (mirrors the journal) ---------- */
.site-header { background: var(--surface); }
.nav-wrap { display: flex; align-items: center; padding: 1rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-logo-link { display: block; border-radius: 9px; }
.brand-logo-link:hover, .brand-logo-link:focus-visible { box-shadow: 0 0 0 3px var(--accent-soft); }
.brand-logo { flex: none; width: 44px; height: 44px; border-radius: 9px; display: block; }
.wordmark { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; text-decoration: none; }
/* The wordmark is used as a mask so it takes the theme colour; the triangle in the A keeps the accent. */
.wm-name {
  display: block; width: 199px; height: 25px;
  background: linear-gradient(var(--accent), var(--accent)) 89.7% 94.3%/5.3% 39.8% no-repeat, var(--ink);
  -webkit-mask: url("/assets/regversa-wordmark.png") center/contain no-repeat;
  mask: url("/assets/regversa-wordmark.png") center/contain no-repeat;
}
.wm-sub { font: 400 .95rem/1 var(--sans); letter-spacing: .14em; color: var(--ink-2); margin-top: .4rem; padding-left: .15rem; white-space: nowrap; }
.brand-text.wordmark:hover .wm-name, .brand-text.wordmark:focus-visible .wm-name { background: var(--accent); }

.navbar { --bar: #16233a; --bar-ink: #fff; --bar-hi: #22d3ee; background: var(--bar); color: var(--bar-ink); position: relative; z-index: 20; }
.navbar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 1rem; }
.nav-menu, .nav-sub { list-style: none; margin: 0; padding: 0; }
.nav-menu { display: flex; flex-wrap: wrap; align-items: stretch; }
.nav-menu > li { display: flex; align-items: center; position: relative; }
.nav-menu > li + li::before { content: ""; width: 1px; height: 1.6rem; background: rgba(255, 255, 255, .35); }
.nav-menu > li > a, .nav-menu summary { display: flex; align-items: center; gap: .45rem; padding: 1.05rem 1.15rem; font: 700 .8rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--bar-ink); text-decoration: none; cursor: pointer; border-bottom: 3px solid transparent; }
.nav-menu > li:first-child > a { padding-left: 0; }
.nav-menu summary { list-style: none; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary::after { content: ""; width: .42rem; height: .42rem; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-.15rem) rotate(45deg); transition: transform .15s; }
.nav-menu details[open] summary::after { transform: translateY(.1rem) rotate(-135deg); }
.nav-menu > li > a:hover, .nav-menu summary:hover, .nav-menu > li > a[aria-current="page"], .nav-menu details:has([aria-current="page"]) summary { border-bottom-color: var(--bar-hi); }
.nav-menu a:focus-visible, .nav-menu summary:focus-visible, .nav-icons a:focus-visible, .navbar .theme-toggle:focus-visible { outline: 2px solid var(--bar-hi); outline-offset: -2px; }
.nav-sub { position: absolute; top: 100%; left: 0; min-width: 13rem; background: var(--surface); border: 1px solid var(--rule); border-top: 3px solid var(--bar-hi); border-radius: 0 0 6px 6px; box-shadow: 0 10px 24px rgba(0, 0, 0, .18); padding: .35rem 0; }
.nav-menu > li:last-child .nav-sub { left: auto; right: 0; }
.nav-sub a { display: block; padding: .6rem 1rem; font-size: .92rem; color: var(--ink); text-decoration: none; }
.nav-sub a:hover, .nav-sub a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); }
.nav-icons { display: flex; align-items: center; gap: .6rem; padding: .55rem 0; }
.nav-icon { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: #fff; color: #16233a; }
.nav-icon svg { width: 1rem; height: 1rem; fill: currentColor; }
.nav-icon:hover { background: var(--bar-hi); }
.theme-toggle { font: inherit; font-size: .85rem; color: var(--ink-2); background: transparent; border: 1px solid var(--rule); border-radius: 999px; padding: .15rem .65rem; cursor: pointer; }
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.navbar .theme-toggle { color: var(--bar-ink); border-color: rgba(255, 255, 255, .45); }
.navbar .theme-toggle:hover { color: var(--bar-hi); border-color: var(--bar-hi); }
.status { display: inline-flex; align-items: center; gap: .45rem; font: 600 .7rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--bar-ink); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--bar-hi); }

/* ---------- buttons and links ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; padding: 0 22px; border-radius: 6px;
  background: var(--accent); color: var(--paper);
  font: 600 .9rem/1 var(--sans); letter-spacing: .01em;
  text-decoration: none; border: 1px solid var(--accent); cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.button:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.button:active { transform: translateY(1px); }
.button-small { min-height: 40px; padding-inline: 16px; }
.button-ghost { background: transparent; color: var(--accent); border-color: var(--rule); }
.button-ghost:hover { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }
.button-light { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }
.button-light:hover { background: var(--ink); border-color: var(--ink); }
.text-link { font: 600 .9rem/1 var(--sans); color: var(--accent); text-decoration: none; }
.text-link span { margin-left: 6px; display: inline-block; transition: transform .2s; }
.text-link:hover span { transform: translateX(3px); }
.inline-link { color: var(--accent); }
.light-link { color: var(--accent); }

/* ---------- shared type ---------- */
.eyebrow, .eyebrow-text {
  margin: 0 0 .6rem; font: 700 .8rem/1.3 var(--sans);
  text-transform: uppercase; letter-spacing: .1em; color: var(--muted);
}
.grad { color: var(--accent); font-style: normal; }
.rule { width: 220px; max-width: 100%; height: 2px; margin: 1.6rem 0 1.4rem; background: var(--ink); }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.tags li, .tag-row span {
  font: 600 .7rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase;
  padding: .32rem .5rem; border: 1px solid var(--rule); border-radius: 3px;
  color: var(--ink-2); background: var(--surface);
}
.tag-row { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: 1.5rem; }
.note { margin: .9rem 0 0; font-size: .82rem; color: var(--muted); }

/* ---------- hero ---------- */
.hero { padding: 3rem 0 2.5rem; border-bottom: 1px solid var(--rule); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero h1 { margin: .4rem 0 .2rem; font-size: clamp(2rem, 4.8vw, 3.1rem); line-height: 1.12; }
.hero h1 b { font-weight: 700; }
.hero-lead { margin: 0; max-width: var(--measure); font: 1.12rem/1.6 var(--serif); color: var(--ink-2); }
.hero-lead strong { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; }

/* ---------- hero visualisation ---------- */
.panel {
  position: relative; aspect-ratio: 1; width: 100%; max-width: 480px; margin-inline: auto;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--rule); border-radius: 14px;
}
/* currentColor drives the whole diagram, so it follows the theme with no second copy. */
.viz { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--accent); }
.viz .wire { stroke: var(--rule); }
.viz .glyph { font-family: var(--sans); font-size: 10px; letter-spacing: .12em; fill: var(--muted); }
.viz-halo { fill: var(--accent-soft); }
.viz-sweep { fill: currentColor; opacity: .1; }
.viz-orbit { stroke: currentColor; opacity: .4; }
.viz-dot { fill: currentColor; }
.viz-flows { stroke: currentColor; opacity: .75; }
.viz-nodes circle { fill: var(--surface); stroke: currentColor; }
.core-pulse { stroke: currentColor; }
.ring { transform-origin: 250px 250px; }
.ring-a { animation: spin 44s linear infinite; opacity: .55; }
.ring-b { animation: spin 30s linear infinite reverse; opacity: .6; }
.ring-c { animation: spin 68s linear infinite; opacity: .45; }
@keyframes spin { to { transform: rotate(360deg); } }
.flow { stroke-dasharray: 5 13; animation: flow 2.6s linear infinite; }
.flow.d1 { animation-delay: -.5s; } .flow.d2 { animation-delay: -1s; } .flow.d3 { animation-delay: -1.5s; }
.flow.d4 { animation-delay: -2s; } .flow.d5 { animation-delay: -.8s; } .flow.d6 { animation-delay: -1.8s; }
@keyframes flow { to { stroke-dashoffset: -72; } }
.node { animation: nodePulse 3.4s ease-in-out infinite; }
.node:nth-of-type(2) { animation-delay: .42s; } .node:nth-of-type(3) { animation-delay: .84s; }
.node:nth-of-type(4) { animation-delay: 1.26s; } .node:nth-of-type(5) { animation-delay: 1.68s; }
.node:nth-of-type(6) { animation-delay: 2.1s; } .node:nth-of-type(7) { animation-delay: 2.52s; }
@keyframes nodePulse { 0%, 100% { opacity: .5; } 45% { opacity: 1; } }
.core-pulse { transform-origin: 250px 250px; animation: corePulse 3.6s ease-out infinite; }
.core-pulse-2 { animation-delay: 1.2s; } .core-pulse-3 { animation-delay: 2.4s; }
@keyframes corePulse { 0% { transform: scale(.7); opacity: .5; } 100% { transform: scale(1.55); opacity: 0; } }
.sweep { transform-origin: 250px 250px; animation: spin 7s linear infinite; }
.panel-logo { position: relative; width: 44%; border-radius: 12px; opacity: 0; transform: scale(.96); transition: opacity .3s ease, transform .3s ease; }
.panel:hover .panel-logo { opacity: 1; transform: scale(1); }
@media (hover: none) { .panel-logo { opacity: 1; transform: none; } }
.panel-label {
  position: absolute; left: 50%; bottom: 1.1rem; transform: translateX(-50%);
  font: 700 .68rem/1 var(--sans); letter-spacing: .18em; color: var(--accent);
  background: var(--accent-soft); border-radius: 999px; padding: .35rem .8rem;
}

/* ---------- trust strip ---------- */
.trust-strip { border-bottom: 1px solid var(--rule); background: var(--surface); }
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.trust-grid span {
  padding: 1.1rem .6rem; text-align: center;
  font: 600 .7rem/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); border-right: 1px solid var(--rule);
}
.trust-grid span:last-child { border-right: 0; }

/* ---------- sections ---------- */
.section { position: relative; padding: 4rem 0; }
.section-heading { max-width: 46rem; }
.section-heading h2, .pakistan-copy h2, .cta-panel h2 { margin: 0 0 .7rem; font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.section-heading p, .pakistan-copy p { color: var(--ink-2); font: 1.02rem/1.7 var(--sans); }
.section-heading.centered { margin-inline: auto; text-align: center; }
.contrast-section { background: var(--surface); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section-h { font: 700 .8rem/1.3 var(--sans); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); border-top: 2px solid var(--ink); padding-top: .6rem; margin: 2rem 0 1rem; }

/* ---------- capability cards ---------- */
.capability-grid { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.capability-card {
  position: relative; padding: 1.5rem 1.4rem;
  background: var(--surface); border: 1px solid var(--rule); border-radius: 10px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.capability-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0, 0, 0, .08); }
.card-number { display: block; font: 700 .7rem/1 var(--sans); color: var(--accent); letter-spacing: .12em; }
.capability-card h3 { margin: 1.6rem 0 .5rem; font-size: 1.12rem; }
.capability-card p { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.65; }

/* ---------- split layouts and products ---------- */
.split-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: start; }
.evidence-section .split-layout { align-items: center; }
.product-grid { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.product-card { display: flex; flex-direction: column; padding: 1.6rem; background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; }
.product-card h3 { margin: 1rem 0 .4rem; font-size: 1.3rem; }
.product-card .button { margin-top: auto; align-self: flex-start; }
.product-badge { align-self: flex-start; font: 600 .68rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); border-radius: 3px; padding: .32rem .5rem; }
.product-features { list-style: none; margin: 1.3rem 0 1.6rem; padding: 0; border-top: 1px solid var(--rule); }
.product-features li { padding: .7rem 0 .7rem 1.3rem; border-bottom: 1px solid var(--rule); position: relative; color: var(--ink-2); font-size: .95rem; }
.product-features li::before { content: ""; position: absolute; left: .2rem; top: 1.15rem; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.product-features strong { color: var(--ink); font-weight: 600; }

/* ---------- principles ---------- */
.principle-list { border-top: 1px solid var(--rule); }
.principle-item { display: grid; grid-template-columns: 200px 1fr; gap: 1.5rem; padding: 1.3rem 0; border-bottom: 1px solid var(--rule); }
.principle-item span { font: 600 1rem/1.4 var(--sans); color: var(--ink); }
.principle-item p { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.65; }

/* ---------- intelligence panel ---------- */
.intelligence-panel { position: relative; overflow: hidden; padding: 1.6rem; background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; }
.panel-topbar, .record-header, .confidence-row { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.panel-topbar { padding-bottom: 1.1rem; border-bottom: 1px solid var(--rule); }
.panel-topbar > div { display: grid; gap: .2rem; }
.panel-kicker, .record-label, .confidence-row small, .evidence-grid small { font: 600 .66rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.panel-topbar strong { font-size: .98rem; font-weight: 600; }
.live-pill { position: relative; z-index: 1; font: 600 .66rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: .3rem .6rem; }
.record-card { margin-top: 1.1rem; background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; padding: 1.1rem; }
.record-header { justify-content: flex-start; }
.source-icon { width: 36px; height: 36px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); border-radius: 8px; font-weight: 700; }
.record-header > div:nth-child(2) { flex: 1; display: grid; gap: .1rem; }
.record-header strong { font-size: .88rem; font-weight: 600; }
.verified { font: 600 .64rem/1 var(--sans); color: var(--ok); letter-spacing: .08em; text-transform: uppercase; }
.record-lines { display: grid; gap: .5rem; margin-top: 1.1rem; }
.record-lines span { height: 5px; border-radius: 4px; background: var(--rule); display: block; }
.record-lines span:nth-child(1) { width: 91%; }
.record-lines span:nth-child(2) { width: 76%; }
.record-lines span:nth-child(3) { width: 83%; }
.flow-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; font: 600 .7rem/1 var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 1.1rem 0; }
.flow-row i { font-style: normal; color: var(--accent); }
.evidence-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.evidence-grid > div { background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; padding: .8rem; }
.evidence-grid strong { font-size: .88rem; font-weight: 600; }
.confidence-row { margin-top: 1.1rem; }
.confidence-row > div:first-child { display: grid; }
.confidence-row strong { font-size: .88rem; color: var(--ok); font-weight: 600; }
.confidence-bar { flex: 1; max-width: 200px; height: 5px; background: var(--rule); border-radius: 999px; overflow: hidden; }
.confidence-bar span { display: block; width: 86%; height: 100%; background: var(--accent); }

/* ---------- Pakistan / jurisdiction ---------- */
.pakistan-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 4rem; align-items: center; }
.jurisdiction-card { background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; padding: 1.5rem; }
.jurisdiction-top { display: flex; justify-content: space-between; gap: 1.2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--rule); }
.jurisdiction-top span { font: 600 .66rem/1.3 var(--sans); color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.jurisdiction-top strong { font-size: .88rem; font-weight: 600; color: var(--accent); }
.jurisdiction-stack { display: grid; gap: .55rem; padding: 1.1rem 0; }
.jurisdiction-stack div { position: relative; overflow: hidden; background: var(--paper); border: 1px solid var(--rule); border-radius: 8px; padding: .7rem .9rem; font-size: .92rem; color: var(--ink-2); }
.jurisdiction-stack i { position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--accent); }
.jurisdiction-note { margin: 0; padding-top: 1rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: .85rem; }

/* ---------- architecture ---------- */
.architecture-section { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--surface); }
.architecture-flow { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 1rem; align-items: stretch; }
.architecture-flow > div { min-height: 170px; display: flex; flex-direction: column; justify-content: center; padding: 1.3rem; background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; }
.architecture-flow > div span { font: 700 .68rem/1 var(--sans); color: var(--accent); letter-spacing: .12em; text-transform: uppercase; }
.architecture-flow strong { font-size: 1.05rem; font-weight: 600; margin-top: .5rem; }
.architecture-flow small { color: var(--ink-2); margin-top: .4rem; line-height: 1.5; }
.architecture-flow b { color: var(--accent); font-weight: 400; align-self: center; }

/* ---------- final CTA ---------- */
.final-cta { padding-top: 3.5rem; }
.cta-panel { padding: 2.5rem; background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; display: grid; gap: 1.6rem; }
.cta-panel h2 { max-width: 44rem; }
.cta-panel p { color: var(--ink-2); max-width: 44rem; margin: 0; line-height: 1.7; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.cta-panel .light-link { color: var(--accent); }

/* ---------- footer ---------- */
.site-footer { margin-top: 4rem; padding: 2.2rem 0 2.5rem; border-top: 1px solid var(--rule); background: var(--surface); }
.footer-grid { display: flex; justify-content: space-between; gap: 2rem; align-items: end; flex-wrap: wrap; }
.footer-grid p { margin: .8rem 0 0; color: var(--ink-2); font-size: .88rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: .8rem; font-size: .88rem; }
.footer-links a { color: var(--ink-2); text-decoration: none; }
.footer-links a:hover { color: var(--accent); text-decoration: underline; }
.footer-meta { display: flex; flex-direction: column; align-items: flex-end; gap: .25rem; color: var(--muted); font-size: .8rem; }

/* ---------- interior pages ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; font: 600 .72rem/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.page-hero { padding: 3rem 0 2.5rem; border-bottom: 1px solid var(--rule); }
.page-hero h1 { margin: 1rem 0 .8rem; font-size: clamp(2rem, 4.5vw, 2.9rem); line-height: 1.14; }
.page-hero h1 b { font-weight: 700; }
.page-hero .hero-lead { max-width: var(--measure); }
.prose { max-width: var(--measure); }
.prose p, .prose li { color: var(--ink-2); font-size: 1.05rem; line-height: 1.75; }
.prose strong { color: var(--ink); font-weight: 600; }
.faq-list { margin-top: 2rem; border-top: 1px solid var(--rule); max-width: 54rem; }
.faq-list details { border-bottom: 1px solid var(--rule); padding: 1.1rem 0; }
.faq-list summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; color: var(--ink); display: flex; justify-content: space-between; gap: 1rem; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--accent); font-weight: 700; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list p { margin: .7rem 0 0; color: var(--ink-2); font-size: .98rem; line-height: 1.75; }
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound h1 { font-size: clamp(2rem, 6vw, 3.4rem); margin: 0 0 .6rem; }
.notfound p { color: var(--ink-2); }
.notfound .hero-actions { justify-content: center; }

/* ---------- motion ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: fadeUp .7s both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(4) { animation-delay: .18s; }
.hero-copy > :nth-child(5) { animation-delay: .26s; }
.hero-copy > :nth-child(6), .hero-copy > :nth-child(7) { animation-delay: .34s; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 62rem) {
  .hero-grid, .split-layout, .pakistan-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .architecture-flow { grid-template-columns: 1fr; }
  .architecture-flow b { display: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid span { border-bottom: 1px solid var(--rule); }
}

@media (max-width: 40rem) {
  body { font-size: 16px; }
  .section { padding: 2.75rem 0; }
  .nav-menu { flex-wrap: nowrap; width: 100%; justify-content: space-between; }
  .nav-menu > li > a, .nav-menu summary { padding: .95rem .35rem; font-size: .7rem; letter-spacing: .03em; gap: .3rem; }
  .nav-menu summary::after { width: .32rem; height: .32rem; }
  .nav-menu > li + li::before { display: none; }
  .nav-icons { width: 100%; justify-content: flex-end; border-top: 1px solid rgba(255, 255, 255, .18); }
  .capability-grid, .product-grid, .evidence-grid { grid-template-columns: 1fr; }
  .principle-item { grid-template-columns: 1fr; gap: .4rem; }
  .cta-panel { padding: 1.6rem; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .footer-meta { align-items: flex-start; }
  .wm-name { width: 160px; height: 20px; }
  .wm-sub { font-size: .8rem; letter-spacing: .1em; }
}

@media (max-width: 23rem) {
  .nav-menu > li > a, .nav-menu summary { padding-left: .2rem; padding-right: .2rem; font-size: .64rem; letter-spacing: .01em; gap: .22rem; }
}

/* Reference tables and figure tiles, used by /pvara-advisory/.
   Kept with the shared tokens so both themes follow automatically. */
.table-scroll { overflow-x: auto; border: 1px solid var(--rule); border-radius: 10px; margin-top: 1.5rem; }
.data-table { border-collapse: collapse; width: 100%; font-size: .92rem; line-height: 1.5; }
.data-table th,
.data-table td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.data-table thead th { font: 600 .72rem/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.data-table .cite { font-size: .82rem; color: var(--muted); white-space: nowrap; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; list-style: none; padding: 0; }
.stat { background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; padding: 1.1rem; min-width: 0; }
.stat b { display: block; font: 700 1.8rem/1.1 var(--serif); font-variant-numeric: tabular-nums; color: var(--accent); }
.stat span { display: block; margin-top: .25rem; font-size: .78rem; line-height: 1.4; color: var(--muted); }
@media (max-width: 760px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }

.step-list { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: .9rem; }
.step-list li { display: grid; grid-template-columns: 1.6rem 1fr; gap: .8rem; align-items: start; }
.step-list .step-n { display: inline-flex; align-items: center; justify-content: center; width: 1.6rem; height: 1.6rem; border-radius: 6px; background: var(--accent-soft); color: var(--accent); font: 600 .78rem/1 var(--sans); }

/* Approved enterprise presentation; existing component contracts remain intact. */
:root{--accent:#183552;--accent-soft:#e9eef3;--accent-2:#665844;--container:76rem;--rule:#d9dce0}

:root[data-theme="dark"]{--accent:#b5cce2;--accent-soft:#243446;--accent-2:#d6c6af;--rule:#39434d}

@media(prefers-color-scheme:dark){:root:not([data-theme="light"]){--accent:#b5cce2;--accent-soft:#243446;--accent-2:#d6c6af;--rule:#39434d}
}

.site-header{position:relative}
.navbar{--bar-hi:#d2dfec;position:relative}
.nav-wrap{justify-content:space-between;padding:1.45rem 0}
.brand{display:flex;align-items:flex-start;flex-direction:column;gap:.6rem}
.enterprise-logo{width:215px;height:auto;background:#fff;padding:5px}
.brand-caption,.edition{font-size:.62rem;letter-spacing:.13em;font-weight:600}
.edition{color:var(--muted)}
.nav-menu>li>a,.nav-menu summary{padding:1rem .9rem}
.nav-enquiry{color:#fff;font-size:.77rem;font-weight:600;text-decoration:none;border-left:1px solid #647186;padding-left:1rem}
.nav-sub{z-index:50;border-radius:0}
.nav-sub a{font-size:.85rem}
.theme-toggle{border-radius:2px}
.enterprise-hero{padding:5rem 0 2.5rem}
.enterprise-hero h1{font-size:clamp(2.6rem,5.2vw,4.8rem);line-height:1.06;max-width:17ch;font-weight:400;margin:.8rem 0 1.5rem}
.hero-lead{max-width:42rem;font-size:1.15rem;line-height:1.7;color:var(--ink-2)}
.hero-actions{display:flex;gap:.8rem;flex-wrap:wrap;margin:1.7rem 0}
.button{border-radius:2px;padding:.85rem 1.1rem;font-size:.85rem;box-shadow:none}
.button-ghost{background:transparent;color:var(--ink);border:1px solid var(--rule)}
.hero-foot{display:flex;justify-content:space-between;gap:1rem;font-size:.78rem;color:var(--muted);padding-bottom:2.7rem}
.section{padding:3.8rem 0;border-top:1px solid var(--rule)}
.section-heading{margin-bottom:1.7rem}
.section-heading h2{font-size:clamp(1.8rem,3vw,2.7rem);font-weight:400;max-width:28ch}
.eyebrow-text{font-size:.67rem;font-weight:700;letter-spacing:.14em;color:var(--ink-2)}
.section-intro{max-width:48rem;color:var(--ink-2)}
.solution-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--rule)}
.solution-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.solution-card{padding:1.7rem 1.7rem 1.7rem 0;display:flex;flex-direction:column;align-items:flex-start}
.solution-card+ .solution-card{border-left:1px solid var(--rule);padding-left:1.7rem}
.solution-card h3{font-size:1.6rem;font-weight:400;margin:1rem 0 .4rem}
.solution-card p{font-size:.94rem;color:var(--ink-2);flex:1}
.card-number{font-size:.65rem;letter-spacing:.1em;color:var(--muted)}
.text-link{font-size:.85rem;text-decoration:underline;text-underline-offset:.3em}
.priority-services{display:grid;grid-template-columns:1fr 1fr;background:#16283e;color:#f6f8fb}
.priority-services article{padding:2.3rem}
.priority-services article+article{border-left:1px solid #526073}
.priority-services h3{font-size:2rem;font-weight:400}
.priority-services p{color:#d6e1eb}
.priority-services a{color:#fff}
.service-links,.trust-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.6rem;margin-top:1.8rem}
.service-links h3,.trust-grid h3{font-size:1.2rem}
.service-links p,.trust-grid p{font-size:.9rem;color:var(--ink-2)}
.industry-links{display:grid;grid-template-columns:1fr 1fr;gap:0 2.5rem}
.industry-links a,.engagement-links a{display:flex;justify-content:space-between;padding:1rem 0;border-bottom:1px solid var(--rule);text-decoration:none}
.architecture-chain{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));list-style:none;padding:0;margin:2rem 0;border:1px solid var(--rule)}
.architecture-chain li{padding:1.3rem;font-size:.9rem}
.architecture-chain li+li{border-left:1px solid var(--rule)}
.architecture-chain span{display:block;color:var(--muted);font-size:.7rem;margin-bottom:.7rem}
.engagement-grid,.service-detail{display:grid;grid-template-columns:1fr 1fr;gap:4rem}
.engagement-grid>p{font-size:1.2rem;max-width:30rem}
.engagement-links{display:grid;grid-template-columns:1fr 1fr;gap:0 1.5rem;font-size:.88rem}
.site-footer{background:var(--surface);border-top:1px solid var(--rule);padding:3rem 0 1rem}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:2rem}
.footer-brand{font-family:var(--serif);font-size:2rem;text-decoration:none;color:var(--ink)}
.footer-grid nav a{display:block;font-size:.85rem;margin:.5rem 0}
.footer-grid h2{font-family:var(--sans);font-size:.75rem;text-transform:uppercase;letter-spacing:.1em}
.footer-bottom{display:flex;justify-content:space-between;border-top:1px solid var(--rule);padding-top:1.5rem;margin-top:2rem;font-size:.72rem;color:var(--muted)}
.note{font-size:.78rem;line-height:1.7;color:var(--ink-2)}
.update-bar{background:var(--surface);border-bottom:1px solid var(--rule);font-size:.77rem}
.update-bar .container{display:flex;gap:1.5rem;padding-top:.7rem;padding-bottom:.7rem}
.update-bar strong{white-space:nowrap;font-size:.65rem;letter-spacing:.1em}
.update-bar a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.intelligence{background:var(--surface)}
.section-topline{display:flex;justify-content:space-between;align-items:end;gap:1rem;margin-bottom:1.8rem}
.section-topline h2{font-size:2.5rem;font-weight:400;margin:.4rem 0}
.editorial-grid{display:grid;grid-template-columns:1.2fr 1fr .85fr;gap:2rem}
.editorial-feature h3{font-size:1.8rem;line-height:1.2;font-weight:400;margin:.8rem 0}
.editorial-feature h3 a,.news-list a{color:var(--ink);text-decoration:none}
.editorial-feature p{font-size:.92rem;color:var(--ink-2)}
.editorial-kicker{font-size:.66rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.news-list,.event-list{list-style:none;padding:0;margin:0}
.news-list li,.event-list li{padding:1rem 0;border-bottom:1px solid var(--rule)}
.news-list li:first-child,.event-list li:first-child{padding-top:0}
.news-list a{display:block;font-family:var(--serif);font-size:1.1rem;line-height:1.35;margin:.4rem 0}
.event-list a{display:block;font-size:.85rem;line-height:1.45;margin:.4rem 0}
.event-list time{font-size:.75rem;font-weight:700}
.editorial-column h3{font-family:var(--sans);font-size:.7rem;text-transform:uppercase;letter-spacing:.1em;margin:0 0 1.2rem}
.journal-search{display:flex;gap:.6rem;align-items:end;flex-wrap:wrap;margin:2rem 0 0;padding-top:1.5rem;border-top:1px solid var(--rule)}
.journal-search label{flex:1;min-width:12rem;font-size:.75rem;font-weight:600}
.journal-search input{display:block;width:100%;padding:.8rem;background:var(--paper);border:1px solid var(--rule);color:var(--ink);margin-top:.4rem;font:inherit}
.journal-search button{cursor:pointer;background:var(--accent);color:var(--surface);border:1px solid var(--accent);padding:.8rem 1.5rem}
.newsletter-panel{background:var(--accent-soft)}
.newsletter-panel .container{display:flex;justify-content:space-between;gap:3rem;align-items:center}
.newsletter-panel h2{font-size:2.2rem;font-weight:400}
.newsletter-panel p{max-width:42rem}
.authority-links{display:flex;flex-wrap:wrap;gap:.7rem;font-size:.8rem;margin-top:1.5rem}
.authority-links a{border:1px solid var(--rule);padding:.35rem .6rem;text-decoration:none}
[hidden]{display:none!important}

@media(max-width:1000px){.nav-icons{width:100%;justify-content:space-between}
.editorial-grid{grid-template-columns:1fr 1fr}
.editorial-column:last-child{grid-column:1/-1;border-top:1px solid var(--rule);padding-top:1rem}
.event-list{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.service-links,.trust-grid{grid-template-columns:1fr 1fr}
.edition{display:none}
.architecture-chain{grid-template-columns:1fr 1fr}
.architecture-chain li{border-bottom:1px solid var(--rule)}
}

@media(max-width:640px){.container{width:calc(100% - 32px)}
.enterprise-hero{padding-top:3rem}
.enterprise-hero h1{font-size:2.65rem}
.nav-menu{width:100%;justify-content:space-between}
.nav-menu>li>a,.nav-menu summary{font-size:.65rem;padding:.9rem .3rem}
.nav-sub{min-width:12rem;max-width:calc(100vw - 32px)}
.brand-caption{font-size:.52rem}
.solution-grid,.solution-grid.two,.priority-services,.editorial-grid,.engagement-grid,.service-detail,.industry-links,.footer-grid{grid-template-columns:1fr}
.solution-card+.solution-card{border-left:0;border-top:1px solid var(--rule);padding-left:0}
.priority-services article+article{border-left:0;border-top:1px solid #526073}
.priority-services article{padding:1.6rem}
.hero-foot,.footer-bottom,.newsletter-panel .container,.section-topline{display:block}
.hero-foot a{display:block;margin-top:1rem}
.section-topline h2{font-size:2rem}
.section{padding:2.5rem 0}
.service-links,.trust-grid,.engagement-links,.event-list{grid-template-columns:1fr}
.engagement-grid,.service-detail{gap:1rem}
.architecture-chain{grid-template-columns:1fr}
.architecture-chain li+li{border-left:0}
.update-bar .container{gap:.7rem}
.editorial-column:last-child{grid-column:auto}
.edition{display:none}
.hero-actions .button{width:100%;text-align:center}
}

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


.profile-content{max-width:60rem;padding-block:3rem}
.profile-content .hero{display:flex;gap:2rem;align-items:center;margin:2rem 0}
.profile-content .hero img{width:140px;height:140px;object-fit:cover}
.profile-content h1{font-size:2.8rem}
.profile-content section{border-top:1px solid var(--rule);padding:2rem 0}
.profile-content .actions{display:flex;gap:1rem}
.profile-content .role{margin-bottom:2rem}
.profile-content .meta,.profile-content .location{color:var(--muted)}
@media(max-width:640px){.profile-content .hero{display:block}
.profile-content h1{font-size:2.1rem}
}

.site-header{position:sticky;top:0;z-index:60}
.nav-menu details[open]{z-index:65}
.table-scroll{overflow-x:auto}
.data-table{min-width:34rem}


/* Reference-inspired RegVersa theme. */
:root{--accent:#075967;--accent-soft:#e9f5f5;--paper:#fff;--rule:#dce4e8}
h1,h2,h3{font-family:var(--sans);letter-spacing:-.035em}
.site-header{display:grid;grid-template-columns:260px minmax(0,1fr);align-items:center;gap:24px;padding:0 max(24px,calc((100% - 1280px)/2));border-top:5px solid #062237;border-bottom:1px solid var(--rule)}
.site-header .container{width:100%}.nav-wrap{padding:12px 0}.brand{gap:0;color:var(--ink)}.brand-lockup{display:flex;align-items:center;gap:10px}.enterprise-logo{width:54px;height:54px;object-fit:contain;padding:0;background:#03162e;border-radius:3px}.brand-name{font-size:22px;line-height:1.15;font-weight:800;letter-spacing:-.045em}.brand-name>span{display:block;font-size:10px;font-weight:400;letter-spacing:.09em;margin-top:5px}.brand-caption,.edition{display:none}
.navbar{background:var(--surface);--bar-ink:var(--ink);--bar-hi:#008494}.navbar-inner{flex-wrap:nowrap;gap:16px}.nav-menu{flex-wrap:nowrap}.nav-menu>li+li::before{display:none}.nav-menu>li>a,.nav-menu summary{font-size:.84rem;font-weight:600;text-transform:none;letter-spacing:0;padding:1.3rem .7rem}.nav-icons{width:auto;gap:14px;flex-shrink:0}.nav-enquiry{color:var(--ink);border:0;padding:0;font-size:.75rem}.navbar .theme-toggle{border-color:var(--rule);font-size:.75rem;padding:.3rem .5rem}.nav-sub{top:100%}
.enterprise-hero{padding:0;background:#03182f;color:#fff}.enterprise-hero-grid{display:grid;grid-template-columns:1.2fr 1fr;align-items:center;gap:2rem}.enterprise-hero-copy{padding:4rem 0}.enterprise-hero h1{font-family:var(--sans);font-size:clamp(2.5rem,4.25vw,4.2rem);font-weight:600;line-height:1.1;max-width:18ch;margin:1.4rem 0}.enterprise-hero .eyebrow-text{color:#6de9e5;font-size:.64rem;letter-spacing:.14em}.enterprise-hero .hero-lead{color:#dbe6ed;font-family:var(--sans);font-size:1.05rem;line-height:1.75;max-width:34rem}.enterprise-hero .button{background:#56e3df;color:#03182f;border-color:#56e3df;font-weight:700;padding:1rem 1.2rem}.enterprise-hero .button:hover{background:#9df6f2;border-color:#9df6f2}.enterprise-hero .button-ghost{background:transparent;color:#fff;border-color:#8199ae}.enterprise-hero .button-ghost:hover{background:#14364e}.hero-proof{font-size:.73rem;color:#b0c4d3;margin:1.8rem 0 0}.enterprise-hero-art{display:grid;place-items:center;align-self:stretch;background:#03162e}.enterprise-hero-art img{display:block;width:100%;max-width:510px;height:auto}
.solution-band{padding:2.8rem 0 3.2rem;background:#f5f1e5;color:#092337}.solution-band h2{margin:0 0 1.7rem;font-size:clamp(1.6rem,2.5vw,2rem);font-weight:600}.quick-solutions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}.quick-solutions>a{min-height:165px;display:flex;flex-direction:column;align-items:flex-start;position:relative;background:#fff;color:#092337;border:1px solid #dce4e8;border-radius:5px;padding:1.3rem;text-decoration:none;font-size:1.12rem;font-weight:600;line-height:1.35;transition:transform .18s,border-color .18s}.quick-solutions>a:hover{transform:translateY(-4px);border-color:#007a88}.solution-symbol{color:#006775;font-size:.59rem;letter-spacing:.08em;margin-bottom:1rem}.quick-solutions b{color:#007383;position:absolute;bottom:1rem;right:1rem;font-size:1.4rem}
.intelligence{background:var(--surface)}.section-heading h2,.section-topline h2{font-weight:600;font-size:clamp(1.8rem,3vw,2.5rem)}.solution-card h3{font-size:1.4rem;font-weight:600}.priority-services{background:#06263b}.priority-services .eyebrow-text{color:#70e2df}.priority-services h3{font-size:1.8rem;font-weight:600}.update-bar{font-size:.72rem}
:root[data-theme="dark"]{--accent:#81dedc;--accent-soft:#15323e;--paper:#101c27;--surface:#142431;--ink:#eff6fa;--ink-2:#c9d6df;--rule:#344855}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]){--accent:#81dedc;--accent-soft:#15323e;--paper:#101c27;--surface:#142431;--ink:#eff6fa;--ink-2:#c9d6df;--rule:#344855}}
@media(min-width:1181px){.site-header .nav-icons{margin-left:auto}}
@media(max-width:1180px){.site-header{display:block;padding:0 24px}.nav-wrap{padding:10px 0}.navbar-inner{border-top:1px solid var(--rule)}.nav-menu>li>a,.nav-menu summary{padding:1rem .7rem}}
@media(max-width:800px){.enterprise-hero-grid{grid-template-columns:1fr;gap:0}.enterprise-hero-copy{padding:3rem 0 1.5rem}.enterprise-hero h1{max-width:21ch}.enterprise-hero-art img{max-width:360px}.enterprise-hero-art{margin-bottom:2rem}.quick-solutions{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-solutions>a:last-child{grid-column:1/-1;min-height:145px}.navbar-inner{flex-wrap:wrap;gap:0}.nav-icons{width:100%;border-top:1px solid var(--rule);justify-content:space-between}.site-header{position:relative}}
@media(max-width:480px){.site-header{padding:0 16px}.nav-menu>li>a,.nav-menu summary{font-size:.73rem;padding:1rem .3rem}.enterprise-hero h1{font-size:2.55rem}.quick-solutions{gap:10px}.quick-solutions>a{padding:1rem;font-size:1rem;min-height:160px}.hero-proof{line-height:1.7}.nav-sub{min-width:12rem}}

/* Enterprise type scale: 12px labels, 14px UI, 16px body, 20–24px cards,
   28–36px section headings and a responsive 36–56px hero (at 16px root). */
:root {
  --type-label: .75rem;
  --type-ui: .875rem;
  --type-body: 1rem;
  --type-lead: 1.125rem;
  --type-card: 1.25rem;
  --type-section: clamp(1.75rem, 1.35rem + 1.3vw, 2.25rem);
  --type-display: clamp(2.25rem, 1.45rem + 2.6vw, 3.5rem);
}
body { font-size:var(--type-body); line-height:1.65; }
h1,h2,h3 { font-family:var(--sans); font-weight:600; letter-spacing:-.02em; text-wrap:balance; }
p { text-wrap:pretty; }
.enterprise-hero-grid { grid-template-columns:1fr 1fr; gap:3rem; }
.enterprise-hero-copy { padding:4rem 0; }
.enterprise-hero h1 { font-size:var(--type-display); line-height:1.12; letter-spacing:-.035em; max-width:18ch; margin:1.25rem 0 1.5rem; }
.enterprise-hero .hero-lead { font-size:var(--type-lead); line-height:1.65; max-width:46ch; }
.enterprise-hero-art { position:relative; overflow:hidden; min-width:0; margin:0; }
.enterprise-hero-art img { width:100%; max-width:none; height:100%; position:absolute; inset:0; object-fit:cover; object-position:55% center; }
.enterprise-hero .eyebrow-text,.eyebrow-text { font-size:var(--type-label); line-height:1.5; letter-spacing:.09em; font-weight:600; }
.hero-proof { font-size:.8125rem; line-height:1.6; }
.hero-actions { gap:.75rem; margin-top:1.75rem; }
.button,.enterprise-hero .button { font-size:.9375rem; line-height:1.3; font-weight:600; min-height:48px; padding:.875rem 1.125rem; }
.section-heading h2,.section-topline h2,.newsletter-panel h2,.solution-band h2 { font-size:var(--type-section); line-height:1.2; font-weight:600; letter-spacing:-.025em; }
.page-hero h1,.profile-content h1 { font-size:clamp(2rem,1.4rem + 2vw,3rem); line-height:1.15; }
.solution-card h3,.service-links h3,.trust-grid h3 { font-size:var(--type-card); line-height:1.35; font-weight:600; }
.priority-services h3,.editorial-feature h3 { font-size:clamp(1.375rem,1.1rem + .8vw,1.75rem); line-height:1.3; font-weight:600; }
.section-intro,.solution-card p,.service-links p,.trust-grid p,.editorial-feature p { font-size:var(--type-body); line-height:1.65; }
.quick-solutions>a { font-size:1.125rem; line-height:1.4; min-height:178px; padding:1.25rem 1.25rem 2rem; }
.solution-symbol,.card-number,.editorial-kicker { font-size:var(--type-label); line-height:1.5; letter-spacing:.06em; }
.news-list a { font-family:var(--sans); font-size:1rem; line-height:1.5; font-weight:600; }
.editorial-column h3 { font-size:.8125rem; line-height:1.5; letter-spacing:.07em; }
.event-list a,.text-link,.industry-links a,.engagement-links a { font-size:.9375rem; line-height:1.5; }
.note,.footer-bottom,.event-list time { font-size:.8125rem; line-height:1.6; }
.nav-menu>li>a,.nav-menu summary { font-size:.9375rem; line-height:1.25; padding:1.25rem .6rem; }
.nav-sub a { font-size:.9375rem; line-height:1.45; }
.nav-enquiry,.navbar .theme-toggle { font-size:var(--type-ui); line-height:1.4; }
.nav-enquiry { max-width:10rem; }
.brand-name { font-size:1.375rem; letter-spacing:-.025em; }
.brand-name>span { font-size:.75rem; letter-spacing:.025em; }
.update-bar,.update-bar strong { font-size:var(--type-label); line-height:1.5; }
@media(max-width:1180px) { .nav-enquiry { max-width:none; } }
@media(max-width:800px) {
  .enterprise-hero-grid { grid-template-columns:1fr; gap:0; }
  .enterprise-hero-copy { padding:3rem 0 2rem; }
  .enterprise-hero h1 { max-width:20ch; }
  .enterprise-hero-art { aspect-ratio:4/3; margin-bottom:2rem; }
  .enterprise-hero-art img { max-width:none; object-position:center; }
  .quick-solutions>a { font-size:1.125rem; }
}
@media(max-width:480px) {
  .nav-menu { flex-wrap:wrap; justify-content:flex-start; gap:0 .3rem; }
  .nav-menu>li>a,.nav-menu summary { font-size:var(--type-ui); padding:.875rem .375rem; min-height:44px; }
  .enterprise-hero h1 { font-size:var(--type-display); }
  .enterprise-hero .hero-lead { font-size:1.0625rem; }
  .quick-solutions>a { padding:1rem 1rem 2.25rem; }
  .solution-symbol { font-size:.6875rem; letter-spacing:.025em; }
}
/* Interior corporate heroes share the type system with comfortable spacing. */
.enterprise-hero > .container:not(.enterprise-hero-grid) { padding-block:3.5rem; }
@media(max-width:640px) { .enterprise-hero > .container:not(.enterprise-hero-grid) { padding-block:2.5rem; } }

/* Service enquiries */
.contact-section { scroll-margin-top:10rem; }
.contact-layout { display:grid; grid-template-columns: .8fr 1.2fr; gap:4rem; align-items:start; }
.contact-intro h2 { font-size:var(--type-section); line-height:1.2; max-width:18ch; }
.enquiry-form { padding:2rem; border:1px solid var(--rule); background:var(--surface); border-radius:6px; }
.contact-fields { display:grid; grid-template-columns:1fr 1fr; gap:1.25rem; }
.enquiry-form label { display:block; font-size:.9375rem; font-weight:600; margin-bottom:.5rem; }
.enquiry-form label span { color:var(--muted); font-size:.75rem; font-weight:400; }
.enquiry-form input,.enquiry-form textarea { display:block; width:100%; min-width:0; padding:.8rem; font:inherit; font-size:1rem; color:var(--ink); background:var(--paper); border:1px solid var(--rule); border-radius:3px; margin-bottom:1.25rem; }
.enquiry-form textarea { resize:vertical; min-height:180px; margin-bottom:.5rem; }
.enquiry-form textarea[aria-invalid="true"] { border-color:#b33939; }
.discussion-meta { display:flex; justify-content:space-between; flex-wrap:wrap; gap:.5rem; font-size:.8125rem; color:var(--muted); }
[data-word-error] { color:#b33939; }
.enquiry-form .button { margin-top:1rem; }
@media(max-width:800px) { .contact-layout { grid-template-columns:1fr; gap:1.5rem; } }
@media(max-width:480px) { .contact-fields { grid-template-columns:1fr; gap:0; } .enquiry-form { padding:1.25rem; } }

/* Hosted Zoho form owns validation, delivery and submission confirmation. */
.zoho-enquiry { min-width:0; }
.zoho-enquiry-frame { display:block; width:100%; height:980px; border:0; background:#fff; border-radius:6px; }
@media(max-width:480px) { .zoho-enquiry-frame { height:1120px; } }

/* Corporate brand lockup matches the supplied Journal header reference. */
@font-face { font-family:"RegVersa Brand"; src:url("/journal/assets/fonts/varela-round-latin.woff2") format("woff2"); font-weight:400; font-style:normal; font-display:swap; }
.site-header { grid-template-columns:290px minmax(0,1fr); }
.site-header .brand-lockup { gap:14px; }
.site-header .enterprise-logo { width:48px; height:48px; border-radius:0; }
.site-header .wm-name { width:216px; height:28px; }
.site-header .wm-sub { font-family:"RegVersa Brand",var(--sans); font-size:1rem; line-height:1.15; letter-spacing:.12em; margin-top:5px; padding-left:0; }
@media(max-width:480px) { .site-header .wm-name { width:199px; height:25px; } .site-header .wm-sub { font-size:.9375rem; letter-spacing:.1em; } }

/* Full supplied logo, with its original proportions and colours. */
.footer-brand { display:inline-block; }
.footer-logo { display:block; width:180px; max-width:100%; height:auto; }

/* Live regulatory calendar on the homepage (from the Regulatory Journal's published deadlines). */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.live-deadlines{padding:2.5rem 0;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);background:var(--surface)}
.live-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:1rem;margin-bottom:1.25rem}
.live-head h2{margin:.35rem 0 0;font-weight:400;font-size:clamp(1.5rem,2.6vw,2.1rem)}
.live-beacon{display:inline-block;width:.55rem;height:.55rem;border-radius:50%;background:#1f9d55;margin-right:.5rem;vertical-align:middle;box-shadow:0 0 0 0 rgba(31,157,85,.6);animation:live-beacon 2s infinite}
@keyframes live-beacon{0%{box-shadow:0 0 0 0 rgba(31,157,85,.55)}70%{box-shadow:0 0 0 .55rem rgba(31,157,85,0)}100%{box-shadow:0 0 0 0 rgba(31,157,85,0)}}
.live-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(19rem,1fr));gap:.75rem}
.live-card{--u:var(--accent);--u-soft:var(--accent-soft);display:grid;grid-template-columns:3.6rem minmax(0,1fr);grid-template-rows:auto auto;column-gap:.9rem;row-gap:.5rem;align-items:start;padding:.85rem 1rem .85rem .85rem;background:var(--paper);border:1px solid var(--rule);border-left:4px solid var(--u);border-radius:10px;transition:transform .15s,box-shadow .15s}
.live-card:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(16,24,40,.08)}
.live-card[data-urgency="urgent"]{--u:#b42318;--u-soft:#fdecea}
.live-card[data-urgency="soon"]{--u:#b54708;--u-soft:#fef3e6}
.live-tile{grid-row:1 / span 2;display:grid;justify-items:center;width:3.6rem;border:1px solid var(--u);border-radius:8px;overflow:hidden;background:var(--surface)}
.live-tile-m{width:100%;text-align:center;background:var(--u);color:#fff;font:700 .62rem/1.6 var(--sans);letter-spacing:.12em;text-transform:uppercase}
.live-tile-d{font:700 1.45rem/1.2 var(--sans);color:var(--ink);font-variant-numeric:tabular-nums;padding:.1rem 0 .25rem}
.live-what p{margin:0}
.live-kind{font:600 .68rem/1.4 var(--sans);letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.live-tag{display:inline-block;padding:.1rem .4rem;border-radius:4px;color:var(--accent);background:var(--accent-soft)}
.live-tag--consultation{color:#7a4b00;background:#fdf1dc}
.live-title{margin-top:.3rem!important;font:600 .98rem/1.35 var(--sans)}
.live-title a{color:var(--ink);text-decoration:none}.live-title a:hover{color:var(--accent);text-decoration:underline}
.live-left{margin:0;grid-column:2}
.live-pill{display:inline-flex;align-items:center;gap:.4rem;white-space:nowrap;font:700 .72rem/1 var(--sans);letter-spacing:.04em;text-transform:uppercase;color:var(--u);background:var(--u-soft);border:1px solid var(--u);padding:.4rem .65rem;border-radius:999px}
.live-pill b{font-size:.95rem;font-variant-numeric:tabular-nums}
.live-dot{width:.45rem;height:.45rem;border-radius:50%;background:var(--u)}
.live-card[data-urgency="urgent"] .live-dot{animation:live-beacon 1.6s infinite}
:root[data-theme="dark"] .live-card[data-urgency="urgent"]{--u:#f97066;--u-soft:#3a1d1b}
:root[data-theme="dark"] .live-card[data-urgency="soon"]{--u:#fdb022;--u-soft:#3a2a12}
:root[data-theme="dark"] .live-tag--consultation{color:#fdd38a;background:#3a2a12}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]) .live-card[data-urgency="urgent"]{--u:#f97066;--u-soft:#3a1d1b}:root:not([data-theme="light"]) .live-card[data-urgency="soon"]{--u:#fdb022;--u-soft:#3a2a12}:root:not([data-theme="light"]) .live-tag--consultation{color:#fdd38a;background:#3a2a12}}
@media (prefers-reduced-motion:reduce){.live-beacon,.live-dot{animation:none!important}.live-card{transition:none}}
.feedback-note{margin:1.5rem 0 0;padding:.9rem 1.1rem;border-left:3px solid var(--accent);background:var(--surface);font-size:.92rem;color:var(--ink-2)}

/* Section photography */
.section-figure{margin:0 0 2rem;border-radius:14px;overflow:hidden;background:#03162e;box-shadow:0 1px 0 var(--rule,#d8dee4)}
.section-figure img{display:block;width:100%;height:auto;aspect-ratio:16/7;object-fit:cover}
.enterprise-hero-art img{max-width:560px;border-radius:12px}
@media(max-width:640px){.section-figure{border-radius:10px}.section-figure img{aspect-ratio:4/3}}
