/* ==========================================================================
   Reltic - Independent Commercial Advisory
   Dark SaaS design system (variant B).
   Near-black canvas, amber accent taken from the Reltic mark, glass panels,
   gradient headline highlight, Inter + IBM Plex Mono.
   ========================================================================== */

/* --------------------------------------------------------------- 1. Tokens */

:root {
  --bg: #0B1117;
  --bg-2: #0F161D;
  --bg-3: #131C24;

  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);

  --text: #E6EDF3;
  --text-2: rgba(230, 237, 243, 0.68);
  --text-3: rgba(230, 237, 243, 0.45);
  --white: #FFFFFF;

  --accent: #F5993A;
  --accent-2: #FFC98A;
  --accent-soft: rgba(245, 153, 58, 0.15);
  --on-accent: #10161B;

  --ok: #16A34A;

  /* Inter across the whole site. Full weight range, so the scale is
     400 body, 500 interface and labels, 600 headings. */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --font-display: var(--font-sans);
  --font-mono: var(--font-sans);

  --wrap: 1200px;
  --wrap-mid: 1000px;
  --wrap-narrow: 820px;
  --gutter: clamp(20px, 4vw, 32px);
  --section-y: clamp(64px, 8vw, 112px);

  --header-h: 72px;

  --r-sm: 10px;
  --r: 14px;
  --r-lg: 18px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

/* ----------------------------------------------------------- 2. Base reset */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-2);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

/* Nothing is allowed to push the page wider than the viewport */
body, p, li, h1, h2, h3, h4, h5, summary, td, th { overflow-wrap: break-word; }
table { max-width: 100%; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

h1, h2, h3, h4, h5 {
  margin: 0;
  color: var(--white);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

/* Display face on the two largest levels only. To run the whole site on
   Inter instead, delete the font-family line in this block. */
h1, h2 { font-weight: 600; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.06; letter-spacing: -0.026em; }
h2 { font-size: clamp(1.9rem, 3.3vw, 2.75rem); letter-spacing: -0.022em; line-height: 1.14; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); letter-spacing: -0.018em; }
h4 { font-size: 1.0625rem; letter-spacing: -0.014em; font-weight: 600; }
h5 { font-size: 1rem; font-weight: 600; }

/* Gradient highlight, the signature of this layout */
h1 em, h2 em, h3 em, .grad {
  font-style: normal;
  background: linear-gradient(92deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }

ul, ol { margin: 0 0 1.15em; padding-left: 1.2em; }
li { margin-bottom: 0.45em; }

strong { color: var(--white); font-weight: 600; }

hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

::selection { background: var(--accent); color: var(--on-accent); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--accent);
  color: var(--on-accent);
  padding: 12px 20px;
  font-size: 0.9rem;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; top: 0; }

/* -------------------------------------------------------- 3. Layout tools */

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

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(48px, 5.5vw, 76px); }

/* Elevated panel sections replace the old light "paper" sections */
.section--paper,
.section--band {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}
.section--dark { background: var(--bg); }
.section--line-top { border-top: 1px solid var(--line); }

.grid { display: grid; gap: clamp(20px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}

.stack > * + * { margin-top: 1.15em; }

/* --------------------------------------------------------- 4. Type helpers */

/* Pill badge */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-2);
  margin: 0 0 24px;
  line-height: 1.4;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.eyebrow--plain::before { display: none; }

.lede {
  font-size: clamp(1.0625rem, 1.4vw, 1.175rem);
  line-height: 1.62;
  color: var(--text-2);
}

.muted { color: var(--text-2); }
.small { font-size: 0.9rem; line-height: 1.6; }
.mono { font-family: var(--font-mono); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head .lede { margin-top: 20px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lede { margin-inline: auto; }

.prose h2 { margin-top: 2.2em; margin-bottom: 0.55em; }
.prose h3 { margin-top: 1.9em; margin-bottom: 0.5em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }

.stack a:not(.btn):not(.link-arrow),
.faq .a a,
.sector a:not(.btn):not(.link-arrow) {
  color: var(--white);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}
.stack a:not(.btn):not(.link-arrow):hover,
.faq .a a:hover,
.sector a:not(.btn):not(.link-arrow):hover { color: var(--accent); }

/* ---------------------------------------------------------- 5. Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  padding: 0 20px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease),
    color 0.22s var(--ease), transform 0.22s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn svg { flex: none; transition: transform 0.22s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary,
.btn--dark { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover,
.btn--dark:hover { background: var(--accent-2); }

.btn--ghost,
.btn--ghost-light {
  border-color: var(--line-2);
  color: var(--white);
  background: transparent;
}
.btn--ghost:hover,
.btn--ghost-light:hover { border-color: rgba(255, 255, 255, 0.4); background: var(--surface); }

.btn--sm { height: 40px; padding: 0 16px; font-size: 0.875rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  transition: gap 0.22s var(--ease), color 0.22s var(--ease);
}
.link-arrow svg { flex: none; }
.link-arrow:hover { gap: 13px; color: var(--accent); }

/* ------------------------------------------------------------ 6. Header */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 17, 23, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header.is-scrolled { background: rgba(11, 17, 23, 0.92); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand img { height: 20px; width: auto; }
.brand__tag {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  border-left: 1px solid var(--line-2);
  padding-left: 11px;
  line-height: 1.35;
  max-width: 130px;
}

.nav { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  font-size: 0.905rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--r-sm);
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav__link:hover { color: var(--white); background: var(--surface); }
.nav__link[aria-current="page"] { color: var(--white); }
.nav__link .chev { transition: transform 0.22s var(--ease); opacity: 0.7; }
.nav__item.is-open .nav__link .chev { transform: rotate(180deg); }
.nav__item.is-open .nav__link { color: var(--white); }

.nav__panel {
  position: absolute;
  top: calc(100% + 12px);
  left: -8px;
  min-width: 340px;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.nav__item.is-open .nav__panel { opacity: 1; visibility: visible; transform: translateY(0); }

.nav__panel a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  transition: background 0.18s var(--ease);
}
.nav__panel a:hover { background: var(--surface-2); }
.nav__panel .t { display: block; font-size: 0.9rem; font-weight: 600; color: var(--white); }
.nav__panel .d { display: block; font-size: 0.79rem; color: var(--text-3); line-height: 1.45; margin-top: 2px; }

.header__cta { display: flex; align-items: center; gap: 10px; flex: none; }
.header__phone {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s var(--ease);
}
.header__phone small { display: none; }
.header__phone:hover { color: var(--white); }

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: transparent;
  cursor: pointer;
  position: relative;
  flex: none;
}
.burger span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 20.5px; }
.burger span:nth-child(3) { top: 26px; }
.burger.is-active span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  background: var(--bg);
  overflow-y: auto;
  padding: 20px var(--gutter) 56px;
}
.mobile-nav.is-open { display: block; }
body.nav-locked { overflow: hidden; }

.mobile-nav details { border-bottom: 1px solid var(--line); }
.mobile-nav summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 0;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary::after { content: "+"; color: var(--accent); font-size: 1.2rem; }
.mobile-nav details[open] summary::after { content: "\2013"; }
.mobile-nav .sub { padding: 0 0 14px 2px; display: grid; gap: 2px; }
.mobile-nav .sub a { padding: 9px 0; color: var(--text-2); font-size: 0.95rem; }
.mobile-nav > a {
  display: block;
  padding: 16px 0;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--white);
  border-bottom: 1px solid var(--line);
}
.mobile-nav .m-foot { margin-top: 26px; display: grid; gap: 10px; }

/* --------------------------------------------------------------- 7. Hero */

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
  text-align: center;
}

/* Glow behind the headline */
.hero::before {
  content: "";
  position: absolute;
  top: -320px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1150px, 130vw);
  height: 760px;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(245, 153, 58, 0.17) 0%, transparent 62%);
  pointer-events: none;
}
/* Faint grid */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 0%, transparent 75%);
  pointer-events: none;
}

.hero__inner { padding-block: clamp(64px, 9vw, 120px) clamp(56px, 7vw, 96px); }
.hero h1 { max-width: 19ch; margin-inline: auto; }
.hero--page h1 { max-width: 22ch; }

.hero__lede {
  margin: 22px auto 0;
  max-width: 58ch;
  font-size: clamp(1.0625rem, 1.4vw, 1.175rem);
  line-height: 1.62;
  color: var(--text-2);
}
.hero .btn-row { margin-top: 32px; justify-content: center; }
.hero .eyebrow { margin-bottom: 22px; }

/* Hero carrying the sector artwork behind the overlay */
.hero--image { background-size: cover; background-position: center; }
.hero--image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(11, 17, 23, 0.86) 0%, rgba(11, 17, 23, 0.72) 45%, rgba(11, 17, 23, 0.94) 100%);
}
.hero--image .hero__inner { position: relative; z-index: 1; }

/* Media panel beside body copy */
.media {
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg-3);
}
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media__cap {
  padding: 14px 18px;
  font-size: 0.8125rem;
  color: var(--text-3);
  border-top: 1px solid var(--line);
}
.section--light .media { border-color: var(--l-line); }
.section--light .media__cap { color: var(--l-text-3); border-color: var(--l-line); }

/* Positioning line under a service H1 */
.strapline {
  margin: 18px auto 0;
  max-width: 46ch;
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  color: var(--accent-2);
}

/* Deliverables band under a service hero */
.deliverables { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.deliverable {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(20px, 2.2vw, 26px);
}
.deliverable .no {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 10px;
}
.deliverable p { font-size: 0.9375rem; color: var(--text); margin: 0; line-height: 1.5; }
.section--light .deliverable { background: var(--l-surface); border-color: var(--l-line); }
.section--light .deliverable p { color: var(--l-text); }
@media (max-width: 760px) { .deliverables { grid-template-columns: 1fr; } }

/* Product panel under the hero */
.hero__meta,
.hero-stats {
  margin-top: clamp(44px, 5vw, 68px);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  text-align: left;
}
.hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.hero__meta > div,
.hero-stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px;
}
.hero__meta .k,
.hero-stat .k {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
}
.hero__meta .v {
  font-size: 0.95rem;
  color: var(--white);
  line-height: 1.5;
  font-weight: 500;
}
.hero-stat .n {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.hero-stat .n i {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex: none;
  font-style: normal;
}
.hero-stat .d { font-size: 0.875rem; color: var(--text-2); line-height: 1.55; }
.hero-stat .d strong { color: var(--white); font-weight: 600; }

.hero-boxes { display: none; }

.crumbs {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.crumbs a { color: var(--text-3); transition: color 0.2s var(--ease); }
.crumbs a:hover { color: var(--white); }
.crumbs span { color: rgba(255, 255, 255, 0.22); }

/* ------------------------------------------------------- 8. Cards, panels */

.panel,
.svc,
.negatives > div,
.aud-card,
.fact,
.quote,
.news,
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.svc:hover,
.negatives > div:hover,
.aud-card:hover,
.card:hover { border-color: var(--line-2); background: var(--surface-2); transform: translateY(-3px); }

/* Icon tile shared by cards */
.svc__num,
.negatives .x,
.iconbox .ic,
.card__holder .icon,
.step .n {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 16px;
  flex: none;
}

/* Services */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 24px);
}
/* Four items never sit three across with one orphaned underneath. */
.svc-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .svc-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.svc { padding: clamp(22px, 2.4vw, 28px); display: flex; flex-direction: column; }
.svc h3 { margin-bottom: 10px; }
.svc p { font-size: 0.9rem; color: var(--text-2); line-height: 1.62; }
.svc .link-arrow { margin-top: auto; padding-top: 20px; }

/* Negatives */
.negatives { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 24px); }
.negatives > div { padding: clamp(22px, 2.4vw, 28px); }
.negatives h3 { margin-bottom: 8px; }
.negatives p { font-size: 0.9rem; color: var(--text-2); line-height: 1.62; }

/* Statement */
.statement { border-left: 2px solid var(--accent); padding-left: clamp(18px, 2.2vw, 28px); }
.statement p {
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  line-height: 1.3;
  letter-spacing: -0.028em;
  font-weight: 600;
  color: var(--white);
  text-wrap: balance;
}
.statement .attrib {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* Audience */
.audience { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 28px); }
.aud-card { padding: clamp(26px, 3vw, 36px); display: flex; flex-direction: column; }
.aud-card__tag {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 20px;
}
.aud-card__tag--alt { background: var(--surface-2); color: var(--text); }
.aud-card h3 { margin-bottom: 12px; }
.aud-card p { color: var(--text-2); font-size: 0.9375rem; }
.aud-card ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.aud-card li { position: relative; padding-left: 20px; font-size: 0.9rem; color: var(--text-2); margin-bottom: 9px; }
.aud-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.aud-card .link-arrow { margin-top: 24px; }

/* Lifecycle / steps */
.lifecycle { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); margin-top: clamp(26px, 3vw, 40px); }
.lifecycle__step { padding-top: 22px; border-top: 1px solid var(--line); position: relative; }
.lifecycle__step::after {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 34px;
  height: 2px;
  background: var(--accent);
}
.lifecycle__step .n {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 10px;
}
.lifecycle__step h3 { margin-bottom: 8px; }
.lifecycle__step p { font-size: 0.85rem; color: var(--text-2); line-height: 1.6; }

.steps { display: grid; gap: 22px; margin-top: 30px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step .n { margin-bottom: 0; }
.step h3 { margin-bottom: 5px; }
.step p { font-size: 0.9rem; color: var(--text-2); line-height: 1.6; }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 9px; }
.tag {
  font-size: 0.85rem;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-2);
  background: var(--surface);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
a.tag:hover { border-color: var(--accent); color: var(--white); }

/* Sector rows */
.sector {
  border-top: 1px solid var(--line);
  padding: clamp(24px, 2.6vw, 34px) 0;
  display: grid;
  grid-template-columns: minmax(0, 0.36fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 48px);
  align-items: start;
}
.sector:last-child { border-bottom: 1px solid var(--line); }
.sector .n {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.sector p { color: var(--text-2); font-size: 0.9375rem; }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 24px); }
.fact { padding: clamp(22px, 2.4vw, 30px); }
.fact .big {
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 12px;
}
.fact .big em {
  font-style: normal;
  background: linear-gradient(92deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fact p { font-size: 0.9rem; color: var(--text-2); }

/* Icon boxes */
.iconbox { margin-bottom: 30px; }
.iconbox .ic { width: 40px; height: 40px; }
.iconbox h5 { margin-bottom: 6px; color: var(--white); }
.iconbox p { font-size: 0.9rem; color: var(--text-2); line-height: 1.6; }
.iconbox--right { text-align: left; }

/* Cards with media */
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2vw, 24px); }
.card { overflow: hidden; display: block; }
.card__img { aspect-ratio: 16 / 10; background: var(--bg-3); }
.card__img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; transition: opacity 0.4s var(--ease); }
.card:hover .card__img img { opacity: 0.85; }
.card__holder { padding: 22px; }
.card__holder h3 { margin-bottom: 8px; }
.card__holder p { font-size: 0.9rem; color: var(--text-2); line-height: 1.6; }
.card__holder .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 0.85rem; font-weight: 500; color: var(--accent); }

/* Case rows */
.cases { display: grid; }
.case {
  padding: 26px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  border-top: 1px solid var(--line);
}
.case:last-child { border-bottom: 1px solid var(--line); }
.case p { color: var(--text-2); font-size: 0.9rem; margin-top: 6px; max-width: 70ch; }
.case .go {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  color: var(--white);
  flex: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.case:hover .go { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* Quotes and notes */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2vw, 24px); }
.quote { padding: clamp(24px, 2.6vw, 34px); }
.quote + .quote { background: var(--surface); }
.quote .mark { font-size: 2.4rem; line-height: 1; color: var(--accent); margin-bottom: 10px; }
.quote p { font-size: 1rem; line-height: 1.62; color: var(--text); }
.quote .who { margin-top: 20px; }
.quote .who h3 { color: var(--white); }
.quote .who span { font-size: 0.875rem; color: var(--text-3); }
.quote--placeholder { border-style: dashed; background: transparent; }
.quote--placeholder p { color: var(--text-3); font-style: italic; }

.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 24px); }
.news { overflow: hidden; }
.news__img { aspect-ratio: 16 / 10; background: var(--bg-3); }
.news__img img { width: 100%; height: 100%; object-fit: cover; }
.news__body { padding: 24px; }
.news__meta { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }
.news h3 { margin-bottom: 8px; }
.news p { font-size: 0.9rem; color: var(--text-2); line-height: 1.6; }
.news--placeholder { border-style: dashed; background: transparent; }

/* Progress bars */
.bars { display: grid; gap: 26px; }
.bar__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 10px; }
.bar__meta h5 { color: var(--white); font-size: 0.9375rem; font-weight: 600; }
.bar__meta .v { color: var(--accent); font-size: 0.9375rem; font-weight: 600; font-family: var(--font-mono); }
.bar__track { height: 5px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.bar__fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 999px; }

/* Figures band: a row of stat tiles, one number each */
.counter-band {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
  padding-block: clamp(56px, 7vw, 96px);
}
.counter-band__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: end;
}
.counter-band__head h2 { max-width: 16ch; }
.counter-band__head p { color: var(--text-2); max-width: 48ch; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(32px, 4vw, 48px);
}
.stat {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(24px, 2.6vw, 34px);
  overflow: hidden;
}
.stat::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 46px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.stat .k {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
}
.stat .n {
  font-size: clamp(2.75rem, 5vw, 4rem);
  line-height: 0.95;
  font-weight: 600;
  letter-spacing: -0.04em;
  background: linear-gradient(92deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}
.stat .lbl { font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 8px; letter-spacing: -0.014em; }
.stat p { font-size: 0.9rem; color: var(--text-2); line-height: 1.6; }

.section--light .stat { background: var(--l-surface); border-color: var(--l-line); }
.section--light .stat .lbl { color: var(--l-text); }
.section--light .stat p { color: var(--l-text-2); }
.section--light .stat .k { color: var(--l-text-3); }

/* Partners strip */
.partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 40px;
  padding-block: clamp(32px, 4vw, 52px);
  border-top: 1px solid var(--line);
}
.partners span {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.placeholder-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px dashed rgba(245, 153, 58, 0.5);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 18px;
}

/* Unused in this variant */
.slide, .slider__dots, .diag-link, .choose-media, .arch { display: none; }

/* -------------------------------------------------------------- 15. FAQ */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  font-size: clamp(1rem, 1.3vw, 1.075rem);
  font-weight: 600;
  color: var(--white);
  position: relative;
  transition: color 0.2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary::after,
.faq summary::before {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  background: var(--accent);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.faq summary::before { width: 13px; height: 1.5px; margin-top: -0.75px; }
.faq summary::after { width: 1.5px; height: 13px; margin-top: -6.5px; right: 13.75px; }
.faq details[open] summary::after { transform: rotate(90deg); opacity: 0; }
.faq .a { padding: 0 clamp(0px, 6vw, 80px) 26px 0; color: var(--text-2); max-width: 76ch; }

/* --------------------------------------------------------- 16. CTA band */

.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.cta-band::before {
  content: "";
  position: absolute;
  bottom: -320px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1000px, 130vw);
  height: 640px;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(245, 153, 58, 0.16) 0%, transparent 62%);
}
.cta-band__inner {
  padding-block: clamp(56px, 7vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
.cta-band h2 { max-width: 18ch; }
.cta-band p { margin-top: 16px; color: var(--text-2); max-width: 46ch; }
.cta-band__side { display: grid; gap: 12px; justify-items: start; }
.cta-band__side .contact-line { font-family: var(--font-mono); font-size: 0.875rem; color: var(--text-3); }
.cta-band__side .contact-line a { color: var(--white); }
.cta-band__side .contact-line a:hover { color: var(--accent); }

/* --------------------------------------------------------- 17. Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(30px, 4vw, 64px);
  align-items: start;
}
/* The form starts level with the heading rather than with the label chip. */
@media (min-width: 961px) {
  .contact-grid > *:nth-child(2) { padding-top: clamp(40px, 5vw, 76px); }
}
.contact-detail { border-top: 1px solid var(--line); padding: 18px 0; }
.contact-detail .k {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 7px;
}
.contact-detail .v { font-size: 0.9875rem; color: var(--white); line-height: 1.5; }
.contact-detail a:hover { color: var(--accent); }

.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.825rem; font-weight: 500; color: var(--text); }
.field .hint { font-size: 0.775rem; color: var(--text-3); font-weight: 400; }
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 0.925rem;
  color: var(--text);
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--surface);
  width: 100%;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field select option { background: var(--bg-3); color: var(--text); }
.field textarea { resize: vertical; min-height: 128px; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface-2);
}
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form__note { font-size: 0.8rem; color: var(--text-3); line-height: 1.55; }
.hp { position: absolute; left: -9999px; }

.strip-form { display: flex; gap: 10px; max-width: 560px; margin: 26px auto 0; flex-wrap: wrap; }
.strip-form input {
  flex: 1 1 240px;
  height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--surface);
  font-family: inherit;
  font-size: 0.925rem;
  color: var(--text);
}
.strip-form input:focus { outline: none; border-color: var(--accent); }

/* --------------------------------------------------------- 18. Footer */

.footer { background: var(--bg-2); border-top: 1px solid var(--line); color: var(--text-2); font-size: 0.9rem; }

/* Call to action sits inside the footer rather than as a floating band */
.footer__cta {
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.footer__cta::before {
  content: "";
  position: absolute;
  bottom: -260px;
  left: 12%;
  width: min(760px, 100vw);
  height: 520px;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(245, 153, 58, 0.13) 0%, transparent 62%);
  pointer-events: none;
}
.footer__cta-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(48px, 6vw, 84px) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.footer__cta h2 { max-width: 20ch; margin-bottom: 14px; }
.footer__cta p { color: var(--text-2); max-width: 48ch; }
.footer__cta-side { display: grid; gap: 18px; justify-items: start; }
.footer__contact { display: grid; gap: 6px; }
.footer__contact a { font-size: 0.9375rem; color: var(--white); }
.footer__contact a:hover { color: var(--accent); }
.footer__contact span {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  display: block;
  margin-bottom: 2px;
}

@media (max-width: 860px) {
  .footer__cta-inner { grid-template-columns: 1fr; }
  .footer__cta-side { justify-items: stretch; }
}
.footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.6fr);
  gap: clamp(30px, 4vw, 64px);
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(48px, 5.5vw, 76px) var(--gutter) clamp(36px, 4vw, 52px);
}
.footer__left img { height: 20px; margin-bottom: 20px; }
.footer__left > p { color: var(--text-2); max-width: 34ch; margin-bottom: 26px; }
.footer__right { display: block; }
.footer h5 { font-size: 0.9375rem; color: var(--white); margin-bottom: 12px; }
.footer h5.small-title {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
  margin-bottom: 14px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: var(--text-2); transition: color 0.2s var(--ease); }
.footer a:hover { color: var(--white); }
.footer__block { margin-bottom: 24px; }
.footer__note { color: var(--text-2); max-width: 46ch; font-size: 0.9rem; }
.footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); margin-top: 30px; }
.footer__bottom { border-top: 1px solid var(--line); }
.footer__bottom-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 20px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.79rem;
  color: var(--text-3);
  line-height: 1.6;
}
.footer__bottom-inner a { color: var(--text-3); }

/* ------------------------------------------------- 18d. Light sections
   Light panels that break up the dark canvas. Everything inside is
   re-inked; the amber accent and the chart palette carry across. */

/* The section immediately above the footer is always light, so the dark
   footer lands against a contrast edge rather than against more dark. */
.section--light {
  background: #F6F8FA;
  border-block: 1px solid rgba(11, 22, 31, 0.08);
  color: #43535F;

  --l-surface: #FFFFFF;
  --l-line: rgba(11, 22, 31, 0.11);
  --l-line-2: rgba(11, 22, 31, 0.2);
  --l-text: #0F1B24;
  --l-text-2: #43535F;
  --l-text-3: #6B7A85;
}

/* Two light sections in a row read as one block, so drop the seam. */
.section--light + .section--light { border-top: 0; }

.section--light h1,
.section--light h2,
.section--light h3,
.section--light h4,
.section--light h5 { color: var(--l-text); }

.section--light p,
.section--light .lede,
.section--light .muted { color: var(--l-text-2); }

.section--light .eyebrow {
  background: var(--l-surface);
  border-color: var(--l-line);
  color: var(--l-text-2);
}

.section--light .svc,
.section--light .negatives > div,
.section--light .aud-card,
.section--light .fact,
.section--light .quote,
.section--light .news,
.section--light .card,
.section--light .panel {
  background: var(--l-surface);
  border-color: var(--l-line);
}
.section--light .svc:hover,
.section--light .negatives > div:hover,
.section--light .aud-card:hover,
.section--light .card:hover {
  background: var(--l-surface);
  border-color: var(--l-line-2);
}

.section--light .svc p,
.section--light .negatives p,
.section--light .aud-card p,
.section--light .aud-card li,
.section--light .fact p,
.section--light .sector p,
.section--light .case p,
.section--light .lifecycle__step p,
.section--light .step p,
.section--light .iconbox p,
.section--light .news p,
.section--light .faq .a { color: var(--l-text-2); }

.section--light .statement p { color: var(--l-text); }
.section--light .statement .attrib,
.section--light .lifecycle__step .n,
.section--light .contact-detail .k,
.section--light .news__meta,
.section--light .partners span { color: var(--l-text-3); }

.section--light .link-arrow { color: var(--l-text); }
.section--light .link-arrow:hover { color: #B36A15; }

.section--light .btn--ghost,
.section--light .btn--ghost-light { border-color: var(--l-line-2); color: var(--l-text); }
.section--light .btn--ghost:hover,
.section--light .btn--ghost-light:hover { background: var(--l-surface); border-color: var(--l-text-3); }

.section--light .faq,
.section--light .faq details,
.section--light .sector,
.section--light .sector:last-child,
.section--light .case,
.section--light .case:last-child,
.section--light .lifecycle__step,
.section--light .contact-detail,
.section--light .aud-card ul,
.section--light .partners { border-color: var(--l-line); }

.section--light .faq summary { color: var(--l-text); }
.section--light .tag { background: var(--l-surface); border-color: var(--l-line); color: var(--l-text-2); }
.section--light .case .go { border-color: var(--l-line-2); color: var(--l-text); }
.section--light .bar__track { background: rgba(11, 22, 31, 0.1); }
.section--light .stack a:not(.btn):not(.link-arrow) { color: var(--l-text); }

/* Forms on a light band */
.section--light .field label { color: var(--l-text); }
.section--light .field .hint,
.section--light .form__note { color: var(--l-text-3); }
.section--light .field input,
.section--light .field select,
.section--light .field textarea {
  background: var(--l-surface);
  border-color: var(--l-line-2);
  color: var(--l-text);
}
.section--light .field input::placeholder,
.section--light .field textarea::placeholder { color: var(--l-text-3); }
.section--light .field select option { background: #FFFFFF; color: #0F1B24; }
.section--light .field input:focus,
.section--light .field select:focus,
.section--light .field textarea:focus { background: var(--l-surface); }
.section--light .contact-detail .v { color: var(--l-text); }
.section--light .statement { border-left-color: var(--accent); }

/* --------------------------------------------------- 18e. Figures / charts
   Reltic palette, stepped per surface and validated, not eyeballed.

   s1/s2  two-series categorical (amber + a cool counterpart)
          dark  #C97516 / #3F8FC4 - CVD dE 21.8, both inside the dark
                lightness band, both >= 3:1 on the chart surface
          light #D07714 / #2E7FB8 - CVD dE 21.7, both >= 3:1 on white

   o1..o4 single-hue ordinal amber ramp, light to dark, for the cost plan
          build-up. Runs from least certain (lightest) to measured
          (darkest). Monotone lightness, every adjacent gap >= 0.06,
          light end clears the 2:1 floor on both surfaces.

   The UI accent stays #F5993A. Chart steps differ from it on purpose:
   a mark on a chart surface has to clear that surface, a button does not. */

.figure {
  --s1: #C97516;
  --s2: #3F8FC4;
  --o1: #FFDDB0;
  --o2: #FFB25D;
  --o3: #E07F1E;
  --o4: #A85E12;
  --f-ink: #FFFFFF;
  --f-ink-2: rgba(230, 237, 243, 0.72);
  --f-muted: rgba(230, 237, 243, 0.48);
  --f-grid: rgba(255, 255, 255, 0.1);
  --f-axis: rgba(255, 255, 255, 0.22);
  --f-surface: #131C24;
  --f-neutral: rgba(255, 255, 255, 0.18);

  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(20px, 2.4vw, 30px);
}

.section--light .figure {
  --s1: #D07714;
  --s2: #2E7FB8;
  --o1: #EA9F4C;
  --o2: #D07714;
  --o3: #9C560F;
  --o4: #623509;
  --f-ink: #0F1B24;
  --f-ink-2: #43535F;
  --f-muted: #6B7A85;
  --f-grid: rgba(11, 22, 31, 0.09);
  --f-axis: rgba(11, 22, 31, 0.2);
  --f-surface: #FFFFFF;
  --f-neutral: rgba(11, 22, 31, 0.16);

  background: var(--l-surface);
  border-color: var(--l-line);
}

.figure__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--f-ink);
  margin-bottom: 4px;
  letter-spacing: -0.012em;
}
.figure__sub { font-size: 0.8125rem; color: var(--f-muted); margin-bottom: 20px; line-height: 1.5; }
.figure svg { width: 100%; height: auto; overflow: visible; }
.figure svg text { font-family: var(--font-sans); }

.figure__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
  font-size: 0.8125rem;
  color: var(--f-ink-2);
}
.figure__legend span { display: inline-flex; align-items: center; gap: 7px; }
.figure__legend i { width: 10px; height: 10px; border-radius: 3px; flex: none; }

.figure__note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--f-grid);
  font-size: 0.75rem;
  color: var(--f-muted);
  line-height: 1.5;
}

.figure-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2vw, 24px); }

/* Table twin, so no value is reachable only by looking at a mark */
.figure table { width: 100%; border-collapse: collapse; font-size: 0.8125rem; margin-top: 16px; }
.figure th, .figure td { text-align: left; padding: 7px 10px 7px 0; border-bottom: 1px solid var(--f-grid); color: var(--f-ink-2); }
.figure th { color: var(--f-muted); font-weight: 500; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; }
.figure details summary {
  cursor: pointer;
  font-size: 0.75rem;
  color: var(--f-muted);
  margin-top: 14px;
  list-style: none;
}
.figure details summary::-webkit-details-marker { display: none; }
.figure details summary::before { content: "+ "; color: var(--s2); }
.figure details[open] summary::before { content: "\2013 "; }

@media (max-width: 860px) { .figure-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------- 18f. Mega panel */

.nav__item--mega { position: static; }

.nav__panel--mega {
  left: 50%;
  transform: translate(-50%, -6px);
  width: min(1180px, calc(100vw - 40px));
  min-width: 0;
  padding: 0;
  overflow: hidden;
}
.nav__item--mega.is-open .nav__panel--mega { transform: translate(-50%, 0); }

.mega {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 0.95fr);
}
.mega__col { padding: 26px 24px 28px; border-right: 1px solid var(--line); }
.mega__col:last-child { border-right: 0; background: rgba(255, 255, 255, 0.02); }

.mega__title {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
}

.mega__item {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
  padding: 9px 10px;
  border-radius: var(--r-sm);
  transition: background 0.16s var(--ease);
}
.mega__item:hover { background: var(--surface-2); }
.mega__item .no {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--accent);
  padding-top: 3px;
}
.mega__item .t { display: block; font-size: 0.9rem; font-weight: 600; color: var(--white); }
.mega__item .d { display: block; font-size: 0.78rem; color: var(--text-3); line-height: 1.45; margin-top: 2px; }

.mega__note {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 16px;
  font-size: 0.8125rem;
  color: var(--text-2);
  line-height: 1.55;
}
.mega__note strong { color: var(--white); }

@media (max-width: 1180px) { .mega { grid-template-columns: 1fr 1fr; } .mega__col:nth-child(2) { border-right: 0; } }

/* --------------------------------------------------- 18g. Audience toggle */

.toggle {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
  margin-bottom: 28px;
}
.toggle button {
  border: 0;
  background: transparent;
  color: var(--text-2);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.toggle button[aria-selected="true"] { background: var(--accent); color: var(--on-accent); }
.section--light .toggle { background: var(--l-surface); border-color: var(--l-line-2); }
.section--light .toggle button { color: var(--l-text-2); }
.section--light .toggle button[aria-selected="true"] { color: var(--on-accent); }

.disclosure {
  border-left: 2px solid var(--accent);
  padding-left: 16px;
  font-size: 0.9375rem;
  color: var(--text-2);
  max-width: 70ch;
  margin-bottom: clamp(28px, 3vw, 40px);
}
.section--light .disclosure { color: var(--l-text-2); }

/* --------------------------------------------------- 18h. Service accordion */

.acc { border-top: 1px solid var(--line); margin-top: clamp(28px, 3vw, 44px); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none;
  cursor: pointer;
  padding: 34px 56px 34px 0;
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  transition: opacity 0.2s var(--ease);
}
.acc summary:hover { opacity: 0.82; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .no { font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent); }
.acc summary .t { font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 600; color: var(--white); letter-spacing: -0.018em; }
.acc summary .s { display: block; font-size: 0.9375rem; font-weight: 400; color: var(--text-2); margin-top: 8px; }
.acc summary::after,
.acc summary::before {
  content: "";
  position: absolute;
  right: 10px;
  top: 46px;
  background: var(--accent);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.acc summary::before { width: 14px; height: 1.5px; }
.acc summary::after { width: 1.5px; height: 14px; right: 16.25px; top: 40px; }
.acc details[open] summary::after { transform: rotate(90deg); opacity: 0; }
.acc details[open] summary { padding-bottom: 8px; }
.acc__body { padding: 0 0 38px 62px; max-width: 78ch; }
.acc__body p { color: var(--text-2); }
.acc__chips { display: flex; flex-wrap: wrap; gap: 9px; margin: 22px 0 24px; }
.acc__chips span {
  font-size: 0.8125rem;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-2);
  background: var(--surface);
}
.acc__links { display: flex; flex-wrap: wrap; gap: 10px 22px; }

.section--light .acc,
.section--light .acc details { border-color: var(--l-line); }
.section--light .acc summary .t { color: var(--l-text); }
.section--light .acc summary .s,
.section--light .acc__body p { color: var(--l-text-2); }
.section--light .acc__chips span { background: var(--l-surface); border-color: var(--l-line); color: var(--l-text-2); }

@media (max-width: 700px) { .acc__body { padding-left: 0; } }

/* ------------------------------------------------------- 18i. Industry tiles */

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.tile {
  position: relative;
  display: block;
  min-height: 320px;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-3);
  isolation: isolate;
}
.tile__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  opacity: 0.92;
  transition: transform 0.7s var(--ease), opacity 0.4s var(--ease);
}
.tile:hover .tile__bg { opacity: 1; }
.tile:hover .tile__bg { transform: scale(1.05); }
/* Scrim: guarantees caption contrast on every tile, whatever the image */
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(6, 10, 14, 0.92) 0%, rgba(6, 10, 14, 0.72) 34%, rgba(6, 10, 14, 0.12) 72%);
}
.tile__cap { position: absolute; left: 24px; right: 24px; bottom: 24px; }
.tile__cap h3 { color: #FFFFFF; margin-bottom: 5px; }
.tile__cap p { color: rgba(255, 255, 255, 0.78); font-size: 0.85rem; line-height: 1.5; margin: 0; }
.section--light .tile__cap h3 { color: #FFFFFF; }
.section--light .tile__cap p { color: rgba(255, 255, 255, 0.78); }

/* --------------------------------------------------- 18j. Groups, process */

/* Four client groups on one row, each carrying its own side tag, so the
   lender card is a peer rather than an orphan under a row of three. */
.groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 22px); }
.groups .aud-card { padding: clamp(24px, 2.4vw, 30px); }
.groups .aud-card h3 { font-size: 1.125rem; margin-bottom: 10px; }
.groups .aud-card p { font-size: 0.9rem; }

.group__label {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 5px 11px;
  margin-bottom: 18px;
}
.group__label--lender { color: var(--white); background: rgba(255, 255, 255, 0.1); }
.groups .aud-card--lender { border-color: rgba(245, 153, 58, 0.4); }

@media (max-width: 1080px) { .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px)  { .groups { grid-template-columns: 1fr; } }

.process { display: grid; gap: 0; border-top: 1px solid var(--line); }
.process__step {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 40px);
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.process__step .no { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--accent); padding-top: 4px; }
.process__step h3 { margin-bottom: 7px; }
.process__step p { color: var(--text-2); font-size: 0.9375rem; max-width: 72ch; }
.section--light .process,
.section--light .process__step { border-color: var(--l-line); }
.section--light .process__step p { color: var(--l-text-2); }

/* Specimen inset */
.spec {
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: clamp(30px, 4vw, 56px);
  max-width: 940px;
  margin-inline: auto;
}
.spec .btn-row { margin-top: 26px; }
.spec__second { margin-top: 16px; font-size: 0.875rem; color: var(--text-3); }

/* Scenario cards */
.scen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 24px); }
.scen__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(24px, 2.6vw, 32px);
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.scen__card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.scen__tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.scen__card .lead { color: var(--white); font-size: 1rem; font-weight: 600; line-height: 1.5; margin-bottom: 12px; }
.scen__card p { font-size: 0.9rem; color: var(--text-2); line-height: 1.6; }
.scen__card .link-arrow { margin-top: auto; padding-top: 22px; }
.section--light .scen__card { background: var(--l-surface); border-color: var(--l-line); }
.section--light .scen__card .lead { color: var(--l-text); }
.section--light .scen__card p { color: var(--l-text-2); }

/* Mono response line */
.mono-line {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--accent);
}
.meta-line {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 30px;
}

@media (max-width: 960px) {
  .tiles, .scen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .tiles, .scen { grid-template-columns: 1fr; }
  .mega { grid-template-columns: 1fr; }
  .mega__col { border-right: 0; border-bottom: 1px solid var(--line); }
  .process__step { grid-template-columns: 1fr; gap: 8px; }
}

/* ------------------------------------------------------- 18k. Consent bar */

.consent {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 300;
  background: var(--bg-3);
  border-top: 1px solid var(--line-2);
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.45);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease);
}
.consent.is-in { transform: none; }

.consent__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  flex-wrap: wrap;
}
.consent__text {
  margin: 0;
  flex: 1 1 420px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-2);
}
.consent__text a { color: var(--white); border-bottom: 1px solid var(--accent); }
.consent__actions { display: flex; gap: 10px; flex: none; }
.consent__actions .btn { width: auto; }

@media (max-width: 620px) {
  .consent__actions { width: 100%; }
  .consent__actions .btn { flex: 1; }
}

/* --------------------------------------------------------- 18m. Projects
   A ledger rather than a portfolio wall. Reads like a schedule, which is
   the document this practice actually produces, and it carries thirty
   entries without the page turning into a scroll. */

.ledger { border-top: 1px solid var(--line); }
.lrow {
  display: grid;
  grid-template-columns: 132px minmax(0, 1.9fr) minmax(0, 0.8fr) minmax(0, 0.9fr) auto;
  gap: clamp(16px, 2vw, 26px);
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: opacity 0.2s var(--ease);
}
a.lrow:hover { opacity: 0.82; }
.lrow--head {
  padding: 0 0 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
}
.lrow .art {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}
.lrow h3 { font-size: 1.05rem; margin-bottom: 4px; letter-spacing: -0.016em; }
.lrow p { margin: 0; font-size: 0.85rem; color: var(--text-2); line-height: 1.5; }
.lrow .v { font-size: 0.95rem; color: var(--white); font-weight: 500; }
.lrow .go {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  color: var(--white);
  flex: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
a.lrow:hover .go { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

.pending {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px dashed rgba(245, 153, 58, 0.5);
  border-radius: 6px;
  padding: 3px 9px;
}

.section--light .ledger,
.section--light .lrow,
.section--light .lrow--head { border-color: var(--l-line); }
.section--light .lrow .art { background: #EDF1F4; border-color: var(--l-line); }
.section--light .lrow p { color: var(--l-text-2); }
.section--light .lrow .v { color: var(--l-text); }
.section--light .lrow--head { color: var(--l-text-3); }
.section--light .lrow .go { border-color: var(--l-line); color: var(--l-text); }

@media (max-width: 1000px) {
  .lrow { grid-template-columns: 96px minmax(0, 1fr) auto; }
  .lrow .col-hide { display: none; }
}
@media (max-width: 560px) {
  .lrow { grid-template-columns: 72px minmax(0, 1fr); }
  .lrow .go { display: none; }
}

/* ------------------------------------------------------------- 18l. Blog */

.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 24px); }
.cat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(24px, 2.6vw, 32px);
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.cat-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.cat-card .n { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 14px; }
.cat-card h3 { margin-bottom: 10px; }
.cat-card p { font-size: 0.9rem; color: var(--text-2); line-height: 1.6; }
.cat-card .link-arrow { margin-top: auto; padding-top: 20px; }
.section--light .cat-card { background: var(--l-surface); border-color: var(--l-line); }
.section--light .cat-card p { color: var(--l-text-2); }

.post-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.post-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  gap: clamp(16px, 2.5vw, 32px);
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  transition: opacity 0.2s var(--ease);
}
.post-row:hover { opacity: 0.82; }
.post-row .date { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-3); letter-spacing: 0.06em; }
.post-row h2,
.post-row h3 {
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.25;
  letter-spacing: -0.018em;
  font-weight: 600;
  margin-bottom: 6px;
}
.post-row p { font-size: 0.9rem; color: var(--text-2); margin: 0; max-width: 74ch; }
.post-row .go { font-size: 0.85rem; color: var(--accent); white-space: nowrap; }
.section--light .post-list, .section--light .post-row { border-color: var(--l-line); }
.section--light .post-row p { color: var(--l-text-2); }
.section--light .post-row .date { color: var(--l-text-3); }

/* Article body */
.article { max-width: 76ch; }
.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--text-3);
  margin-bottom: 26px;
}
.section--light .article__meta { color: var(--l-text-3); }
.article h2 { font-size: clamp(1.45rem, 2.3vw, 1.9rem); margin: 2.1em 0 0.6em; }
.article h3 { font-size: 1.15rem; margin: 1.7em 0 0.5em; }
.article p { margin-bottom: 1.15em; }
.article ul { margin: 0 0 1.3em; padding-left: 1.15em; }
.article li { margin-bottom: 0.5em; }
.article li::marker { color: var(--accent); }
.article > p:first-of-type { font-size: 1.0625rem; }
.article a:not(.btn) {
  color: var(--white);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
}
.section--light .article a:not(.btn) { color: var(--l-text); }
.article blockquote {
  margin: 1.6em 0;
  padding-left: clamp(18px, 2.2vw, 28px);
  border-left: 2px solid var(--accent);
  font-size: 1.0625rem;
  color: var(--text);
}
.section--light .article blockquote { color: var(--l-text); }

.article__cta {
  margin-top: clamp(36px, 4vw, 52px);
  padding-top: clamp(28px, 3vw, 36px);
  border-top: 1px solid var(--line);
}
.section--light .article__cta { border-color: var(--l-line); }

/* Next steps, as cards rather than a bare list of links */
.next-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 24px); }
.next-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(22px, 2.4vw, 28px);
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.next-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.next-card .k {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.next-card h3 { margin-bottom: 8px; }
.next-card p { font-size: 0.9rem; color: var(--text-2); line-height: 1.6; }
.next-card .link-arrow { margin-top: auto; padding-top: 18px; }
.section--light .next-card { background: var(--l-surface); border-color: var(--l-line); }
.section--light .next-card p { color: var(--l-text-2); }
@media (max-width: 860px) { .next-grid { grid-template-columns: 1fr; } }

.article__related { margin-top: clamp(32px, 3.5vw, 44px); }
.article__related h3 { margin-bottom: 14px; }
.article__related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.article__related a { font-size: 0.9375rem; }

@media (max-width: 860px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-row { grid-template-columns: 1fr; gap: 8px; }
  .post-row .go { display: none; }
}
@media (max-width: 620px) { .cat-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------- 19. Reveal */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.07s; }
.reveal[data-delay="2"] { transition-delay: 0.14s; }
.reveal[data-delay="3"] { transition-delay: 0.21s; }

.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  width: 0;
  z-index: 200;
  transition: width 0.1s linear;
}

/* ------------------------------------------------------- 20. Responsive */

@media (max-width: 1080px) {
  .split { grid-template-columns: 1fr; }
  .cta-band__inner { grid-template-columns: 1fr; }
  .footer__main { grid-template-columns: 1fr; }
  .lifecycle { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 26px; }
  .hero__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid, .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .nav, .header__phone { display: none; }
  .burger { display: block; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .negatives, .facts, .contact-grid, .stats { grid-template-columns: 1fr; }
  .counter-band__head { grid-template-columns: 1fr; align-items: start; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stats { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .audience, .grid-2, .grid-3, .svc-grid, .svc-grid--4, .quotes, .card-grid, .news-grid,
  .deliverables, .next-grid, .facts, .cat-grid, .tiles, .scen { grid-template-columns: 1fr; }
  .split, .contact-grid, .footer__cta-inner, .footer__main, .footer__cols { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 30px; }
  .acc summary { padding: 24px 40px 24px 0; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; }
  .acc summary::before, .acc summary::after { top: 36px; }
  .acc summary::after { top: 30px; }
  .prose table, .article table { display: block; overflow-x: auto; white-space: nowrap; }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; }
  .sector, .case { grid-template-columns: 1fr; gap: 12px; }
  .lifecycle { grid-template-columns: 1fr; }
  .field-row, .footer__cols { grid-template-columns: 1fr; }
  .hero__meta { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .brand__tag { display: none; }
}

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

@media print {
  .header, .mobile-nav, .cta-band, .progress { display: none; }
  body { background: #fff; color: #000; font-size: 11pt; }
}


/* ---------------------------------------------------------------------
   Problem set
   Every page has to answer a problem, not describe a subject. Each row
   states what goes wrong, what it costs the client, and what we do about
   it. Three columns on desktop so the eye reads across the pair; stacked
   on mobile with the response kept visually attached to its problem.
   --------------------------------------------------------------------- */

.pset { margin-top: clamp(30px, 4vw, 46px); border-top: 1px solid var(--line); }
.prow {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(18px, 2.4vw, 34px);
  padding: clamp(24px, 3vw, 34px) 0;
  border-bottom: 1px solid var(--line);
}
.prow__n {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  padding-top: 3px;
}
.prow__p > h3 {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 10px;
}
.prow__p > p { color: var(--text-2); margin: 0; }
.prow__r {
  border-left: 1px solid var(--line);
  padding-left: clamp(18px, 2.2vw, 30px);
}
.prow__k {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 10px;
}
.prow__r > p { color: var(--text-2); margin: 0; }
.prow__out {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.875rem;
  color: var(--text);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 5px 13px;
}

.section--light .pset,
.section--light .prow { border-color: var(--l-line); }
.section--light .prow__p > h3 { color: var(--l-text); }
.section--light .prow__p > p,
.section--light .prow__r > p { color: var(--l-text-2); }
.section--light .prow__r { border-left-color: var(--l-line); }
.section--light .prow__out { color: var(--l-text); border-color: var(--l-line); background: var(--l-surface); }

@media (max-width: 860px) {
  .prow { grid-template-columns: 32px minmax(0, 1fr); row-gap: 18px; }
  .prow__r {
    grid-column: 2;
    border-left: 0;
    padding-left: 0;
    padding-top: 16px;
    border-top: 1px dashed var(--line-2);
  }
  .section--light .prow__r { border-top-color: var(--l-line); }
}

/* ---------------------------------------------------------------------
   Loose section heads
   These pages write the eyebrow, the h2 and the lede as siblings rather
   than wrapping them in .section-head, so the rhythm has to come from the
   sequence. h2 carries margin: 0 by default, which left headings sitting
   directly on top of the component underneath.
   --------------------------------------------------------------------- */

.section .wrap > h2 + p,
.section .wrap > h2 + .lede { margin-top: 20px; }

.section .wrap > h2 + .svc-grid,
.section .wrap > h2 + .deliverables,
.section .wrap > h2 + .next-grid,
.section .wrap > h2 + .faq,
.section .wrap > h2 + .acc,
.section .wrap > h2 + .pset,
.section .wrap > h2 + .tiles,
.section .wrap > h2 + .steps,
.section .wrap > h2 + .ledger,
.section .wrap > p + .svc-grid,
.section .wrap > p + .deliverables,
.section .wrap > p + .next-grid,
.section .wrap > p + .faq,
.section .wrap > p + .acc,
.section .wrap > p + .pset,
.section .wrap > p + .tiles,
.section .wrap > p + .steps,
.section .wrap > p + .ledger { margin-top: clamp(36px, 4.5vw, 58px); }

/* Same problem one level down, inside a .split column. */
.split h2 + p,
.split h2 + .lede { margin-top: 18px; }

@media (max-width: 700px) {
  .section .wrap > h2 + .svc-grid,
  .section .wrap > h2 + .deliverables,
  .section .wrap > h2 + .next-grid,
  .section .wrap > h2 + .faq,
  .section .wrap > h2 + .acc,
  .section .wrap > h2 + .pset,
  .section .wrap > h2 + .tiles,
  .section .wrap > h2 + .steps,
  .section .wrap > h2 + .ledger,
  .section .wrap > p + .svc-grid,
  .section .wrap > p + .deliverables,
  .section .wrap > p + .next-grid,
  .section .wrap > p + .faq,
  .section .wrap > p + .acc,
  .section .wrap > p + .pset,
  .section .wrap > p + .tiles,
  .section .wrap > p + .steps,
  .section .wrap > p + .ledger { margin-top: 30px; }
}
/* Section head that runs to the container width instead of the 720px
   reading column, so a head sits over cards of the same width. */
.section-head--wide { max-width: none; }
.section-head--wide .lede { max-width: none; }
/* Naglowki w kartach i krokach podniesione z h4 na h3, zeby nie robic
   przeskoku w hierarchii. Rozmiar zostaje taki jak byl. */
.negatives h3,
.lifecycle__step h3,
.step h3,
.news h3,
.process__step h3,
.next-card h3,
.article__related h3,
.quote .who h3 { font-size: 1.0625rem; letter-spacing: -0.014em; font-weight: 600; line-height: 1.3; }
.article__related h3 { font-size: 0.9375rem; letter-spacing: 0.02em; }

/* ---------------------------------------------------------------------
   Enquiry attachments
   A bare file input carries no styling and no explanation, so it gets a
   frame that matches the other fields and a hint line underneath.
   --------------------------------------------------------------------- */

.field input[type="file"] {
  width: 100%;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--text-2);
  background: var(--surface);
  border: 1px dashed var(--line-2);
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
}
.field input[type="file"]::file-selector-button {
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  margin-right: 12px;
  padding: 7px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.field input[type="file"]:hover { border-color: var(--accent); }
.field input[type="file"]::file-selector-button:hover {
  background: var(--accent); border-color: var(--accent); color: var(--on-accent);
}
.field__hint { margin-top: 8px; font-size: 0.8125rem; line-height: 1.5; color: var(--text-3); }
.field__files:empty { display: none; }
.field__files { color: var(--accent); }

.section--light .field input[type="file"] {
  background: var(--l-surface);
  border-color: var(--l-line);
  color: var(--l-text-2);
}
.section--light .field input[type="file"]::file-selector-button {
  border-color: var(--l-line); color: var(--l-text);
}
.section--light .field__hint { color: var(--l-text-3); }


/* Cztery karty w siatce trojkolumnowej zostawiaja sierote w drugim rzedzie.
   Przy czterech pozycjach siatka przechodzi na dwie kolumny, czyli 2x2. */
.deliverables--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .deliverables--4 { grid-template-columns: 1fr; } }

/* ------------------------------------------------- 18f. Tinted sections
   The dark canvas is now reserved for the hero and the footer. Every other
   section reads as light, in a cooler tone than .section--light so the two
   alternate down the page. The rules below mirror the .section--light block
   for sections that carry no modifier, which is why they are generated
   rather than written by hand. Cards keep the dark treatment further down:
   the weight the dark canvas used to carry has moved into them. */

main .section:not(.section--light) .media {
  border-color: var(--l-line);
}

main .section:not(.section--light) .media__cap {
  color: var(--l-text-3); border-color: var(--l-line);
}

main .section:not(.section--light) .deliverable {
  background: var(--l-surface); border-color: var(--l-line);
}

main .section:not(.section--light) .deliverable p {
  color: var(--l-text);
}

main .section:not(.section--light) .stat {
  background: var(--l-surface); border-color: var(--l-line);
}

main .section:not(.section--light) .stat .lbl {
  color: var(--l-text);
}

main .section:not(.section--light) .stat p {
  color: var(--l-text-2);
}

main .section:not(.section--light) .stat .k {
  color: var(--l-text-3);
}

main .section:not(.section--light) {
  background: #F6F8FA;
  border-block: 1px solid rgba(11, 22, 31, 0.08);
  color: #43535F;
  --l-surface: #FFFFFF;
  --l-line: rgba(11, 22, 31, 0.11);
  --l-line-2: rgba(11, 22, 31, 0.2);
  --l-text: #0F1B24;
  --l-text-2: #43535F;
  --l-text-3: #6B7A85;
}

main .section:not(.section--light) + main .section:not(.section--light) {
  border-top: 0;
}

main .section:not(.section--light) h1,
main .section:not(.section--light) h2,
main .section:not(.section--light) h3,
main .section:not(.section--light) h4,
main .section:not(.section--light) h5 {
  color: var(--l-text);
}

main .section:not(.section--light) p,
main .section:not(.section--light) .lede,
main .section:not(.section--light) .muted {
  color: var(--l-text-2);
}

main .section:not(.section--light) .eyebrow {
  background: var(--l-surface);
  border-color: var(--l-line);
  color: var(--l-text-2);
}

main .section:not(.section--light) .svc,
main .section:not(.section--light) .negatives > div,
main .section:not(.section--light) .aud-card,
main .section:not(.section--light) .fact,
main .section:not(.section--light) .quote,
main .section:not(.section--light) .news,
main .section:not(.section--light) .card,
main .section:not(.section--light) .panel {
  background: var(--l-surface);
  border-color: var(--l-line);
}

main .section:not(.section--light) .svc:hover,
main .section:not(.section--light) .negatives > div:hover,
main .section:not(.section--light) .aud-card:hover,
main .section:not(.section--light) .card:hover {
  background: var(--l-surface);
  border-color: var(--l-line-2);
}

main .section:not(.section--light) .svc p,
main .section:not(.section--light) .negatives p,
main .section:not(.section--light) .aud-card p,
main .section:not(.section--light) .aud-card li,
main .section:not(.section--light) .fact p,
main .section:not(.section--light) .sector p,
main .section:not(.section--light) .case p,
main .section:not(.section--light) .lifecycle__step p,
main .section:not(.section--light) .step p,
main .section:not(.section--light) .iconbox p,
main .section:not(.section--light) .news p,
main .section:not(.section--light) .faq .a {
  color: var(--l-text-2);
}

main .section:not(.section--light) .statement p {
  color: var(--l-text);
}

main .section:not(.section--light) .statement .attrib,
main .section:not(.section--light) .lifecycle__step .n,
main .section:not(.section--light) .contact-detail .k,
main .section:not(.section--light) .news__meta,
main .section:not(.section--light) .partners span {
  color: var(--l-text-3);
}

main .section:not(.section--light) .link-arrow {
  color: var(--l-text);
}

main .section:not(.section--light) .link-arrow:hover {
  color: #B36A15;
}

main .section:not(.section--light) .btn--ghost,
main .section:not(.section--light) .btn--ghost-light {
  border-color: var(--l-line-2); color: var(--l-text);
}

main .section:not(.section--light) .btn--ghost:hover,
main .section:not(.section--light) .btn--ghost-light:hover {
  background: var(--l-surface); border-color: var(--l-text-3);
}

main .section:not(.section--light) .faq,
main .section:not(.section--light) .faq details,
main .section:not(.section--light) .sector,
main .section:not(.section--light) .sector:last-child,
main .section:not(.section--light) .case,
main .section:not(.section--light) .case:last-child,
main .section:not(.section--light) .lifecycle__step,
main .section:not(.section--light) .contact-detail,
main .section:not(.section--light) .aud-card ul,
main .section:not(.section--light) .partners {
  border-color: var(--l-line);
}

main .section:not(.section--light) .faq summary {
  color: var(--l-text);
}

main .section:not(.section--light) .tag {
  background: var(--l-surface); border-color: var(--l-line); color: var(--l-text-2);
}

main .section:not(.section--light) .case .go {
  border-color: var(--l-line-2); color: var(--l-text);
}

main .section:not(.section--light) .bar__track {
  background: rgba(11, 22, 31, 0.1);
}

main .section:not(.section--light) .stack a:not(.btn):not(.link-arrow) {
  color: var(--l-text);
}

main .section:not(.section--light) .field label {
  color: var(--l-text);
}

main .section:not(.section--light) .field .hint,
main .section:not(.section--light) .form__note {
  color: var(--l-text-3);
}

main .section:not(.section--light) .field input,
main .section:not(.section--light) .field select,
main .section:not(.section--light) .field textarea {
  background: var(--l-surface);
  border-color: var(--l-line-2);
  color: var(--l-text);
}

main .section:not(.section--light) .field input::placeholder,
main .section:not(.section--light) .field textarea::placeholder {
  color: var(--l-text-3);
}

main .section:not(.section--light) .field select option {
  background: #FFFFFF; color: #0F1B24;
}

main .section:not(.section--light) .field input:focus,
main .section:not(.section--light) .field select:focus,
main .section:not(.section--light) .field textarea:focus {
  background: var(--l-surface);
}

main .section:not(.section--light) .contact-detail .v {
  color: var(--l-text);
}

main .section:not(.section--light) .statement {
  border-left-color: var(--accent);
}

main .section:not(.section--light) .figure {
  --s1: #D07714;
  --s2: #2E7FB8;
  --o1: #EA9F4C;
  --o2: #D07714;
  --o3: #9C560F;
  --o4: #623509;
  --f-ink: #0F1B24;
  --f-ink-2: #43535F;
  --f-muted: #6B7A85;
  --f-grid: rgba(11, 22, 31, 0.09);
  --f-axis: rgba(11, 22, 31, 0.2);
  --f-surface: #FFFFFF;
  --f-neutral: rgba(11, 22, 31, 0.16);
  background: var(--l-surface);
  border-color: var(--l-line);
}

main .section:not(.section--light) .toggle {
  background: var(--l-surface); border-color: var(--l-line-2);
}

main .section:not(.section--light) .toggle button {
  color: var(--l-text-2);
}

main .section:not(.section--light) .toggle button[aria-selected="true"] {
  color: var(--on-accent);
}

main .section:not(.section--light) .disclosure {
  color: var(--l-text-2);
}

main .section:not(.section--light) .acc,
main .section:not(.section--light) .acc details {
  border-color: var(--l-line);
}

main .section:not(.section--light) .acc summary .t {
  color: var(--l-text);
}

main .section:not(.section--light) .acc summary .s,
main .section:not(.section--light) .acc__body p {
  color: var(--l-text-2);
}

main .section:not(.section--light) .acc__chips span {
  background: var(--l-surface); border-color: var(--l-line); color: var(--l-text-2);
}

main .section:not(.section--light) .tile__cap h3 {
  color: #FFFFFF;
}

main .section:not(.section--light) .tile__cap p {
  color: rgba(255, 255, 255, 0.78);
}

main .section:not(.section--light) .process,
main .section:not(.section--light) .process__step {
  border-color: var(--l-line);
}

main .section:not(.section--light) .process__step p {
  color: var(--l-text-2);
}

main .section:not(.section--light) .scen__card {
  background: var(--l-surface); border-color: var(--l-line);
}

main .section:not(.section--light) .scen__card .lead {
  color: var(--l-text);
}

main .section:not(.section--light) .scen__card p {
  color: var(--l-text-2);
}

main .section:not(.section--light) .ledger,
main .section:not(.section--light) .lrow,
main .section:not(.section--light) .lrow--head {
  border-color: var(--l-line);
}

main .section:not(.section--light) .lrow .art {
  background: #EDF1F4; border-color: var(--l-line);
}

main .section:not(.section--light) .lrow p {
  color: var(--l-text-2);
}

main .section:not(.section--light) .lrow .v {
  color: var(--l-text);
}

main .section:not(.section--light) .lrow--head {
  color: var(--l-text-3);
}

main .section:not(.section--light) .lrow .go {
  border-color: var(--l-line); color: var(--l-text);
}

main .section:not(.section--light) .cat-card {
  background: var(--l-surface); border-color: var(--l-line);
}

main .section:not(.section--light) .cat-card p {
  color: var(--l-text-2);
}

main .section:not(.section--light) .post-list,
main .section:not(.section--light) .post-row {
  border-color: var(--l-line);
}

main .section:not(.section--light) .post-row p {
  color: var(--l-text-2);
}

main .section:not(.section--light) .post-row .date {
  color: var(--l-text-3);
}

main .section:not(.section--light) .article__meta {
  color: var(--l-text-3);
}

main .section:not(.section--light) .article a:not(.btn) {
  color: var(--l-text);
}

main .section:not(.section--light) .article blockquote {
  color: var(--l-text);
}

main .section:not(.section--light) .article__cta {
  border-color: var(--l-line);
}

main .section:not(.section--light) .next-card {
  background: var(--l-surface); border-color: var(--l-line);
}

main .section:not(.section--light) .next-card p {
  color: var(--l-text-2);
}

main .section:not(.section--light) .pset,
main .section:not(.section--light) .prow {
  border-color: var(--l-line);
}

main .section:not(.section--light) .prow__p > h3 {
  color: var(--l-text);
}

main .section:not(.section--light) .prow__p > p,
main .section:not(.section--light) .prow__r > p {
  color: var(--l-text-2);
}

main .section:not(.section--light) .prow__r {
  border-left-color: var(--l-line);
}

main .section:not(.section--light) .prow__out {
  color: var(--l-text); border-color: var(--l-line); background: var(--l-surface);
}

main .section:not(.section--light) .field input[type="file"] {
  background: var(--l-surface);
  border-color: var(--l-line);
  color: var(--l-text-2);
}

main .section:not(.section--light) .field input[type="file"]::file-selector-button {
  border-color: var(--l-line); color: var(--l-text);
}

main .section:not(.section--light) .field__hint {
  color: var(--l-text-3);
}

@media (max-width: 860px) {
  main .section:not(.section--light) .prow__r {
    border-top-color: var(--l-line);
  }
}


/* The cooler tone, plus the seams between the two light tones. */
main .section:not(.section--light) { background: #E7EEF5; }
main .section:not(.section--light) + .section { border-top: 0; }
main .section--light + .section:not(.section--light) { border-top: 0; }

/* Cards go back to dark. Everything around them stays light. */
main .section:not(.section--light) .aud-card,
main .section:not(.section--light) .scen__card,
main .section:not(.section--light) .svc,
main .section:not(.section--light) .news,
main .section:not(.section--light) .card,
main .section:not(.section--light) .next-card,
main .section:not(.section--light) .fact,
main .section:not(.section--light) .cat-card,
main .section:not(.section--light) .negatives > div,
main .section:not(.section--light) .panel {
  background: var(--bg-2);
  border-color: rgba(255, 255, 255, 0.10);
  color: var(--text-2);
}
main .section:not(.section--light) .aud-card:hover,
main .section:not(.section--light) .scen__card:hover,
main .section:not(.section--light) .svc:hover,
main .section:not(.section--light) .card:hover,
main .section:not(.section--light) .next-card:hover,
main .section:not(.section--light) .negatives > div:hover {
  background: var(--bg-3);
  border-color: rgba(255, 255, 255, 0.20);
}
main .section:not(.section--light) .aud-card h3,
main .section:not(.section--light) .scen__card h3,
main .section:not(.section--light) .svc h3,
main .section:not(.section--light) .news h3,
main .section:not(.section--light) .card h3,
main .section:not(.section--light) .next-card h3,
main .section:not(.section--light) .fact h3,
main .section:not(.section--light) .cat-card h3,
main .section:not(.section--light) .negatives > div h3,
main .section:not(.section--light) .scen__card .lead { color: var(--white); }

main .section:not(.section--light) .aud-card p,
main .section:not(.section--light) .aud-card li,
main .section:not(.section--light) .scen__card p,
main .section:not(.section--light) .svc p,
main .section:not(.section--light) .news p,
main .section:not(.section--light) .card p,
main .section:not(.section--light) .next-card p,
main .section:not(.section--light) .fact p,
main .section:not(.section--light) .cat-card p,
main .section:not(.section--light) .negatives > div p { color: var(--text-2); }

main .section:not(.section--light) .aud-card .link-arrow,
main .section:not(.section--light) .scen__card .link-arrow,
main .section:not(.section--light) .svc .link-arrow,
main .section:not(.section--light) .news .link-arrow,
main .section:not(.section--light) .card .link-arrow,
main .section:not(.section--light) .next-card .link-arrow,
main .section:not(.section--light) .cat-card .link-arrow { color: var(--text); }
main .section:not(.section--light) .aud-card .link-arrow:hover,
main .section:not(.section--light) .scen__card .link-arrow:hover,
main .section:not(.section--light) .svc .link-arrow:hover,
main .section:not(.section--light) .card .link-arrow:hover,
main .section:not(.section--light) .next-card .link-arrow:hover { color: var(--accent); }

main .section:not(.section--light) .next-card .k,
main .section:not(.section--light) .news .k,
main .section:not(.section--light) .cat-card .k { color: var(--text-3); }

main .section:not(.section--light) .aud-card__tag,
main .section:not(.section--light) .group__label,
main .section:not(.section--light) .scen__tag {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--text-2);
}
main .section:not(.section--light) .aud-card li::before { background: var(--accent); }
main .section:not(.section--light) .svc__num {
  background: rgba(255, 255, 255, 0.07);
  color: var(--accent);
}

/* The specimen inset is dark by default, so the light inking has to be
   undone inside it or its copy disappears into its own background. */
main .section:not(.section--light) .spec { border-color: rgba(255, 255, 255, 0.16); }
main .section:not(.section--light) .spec h2,
main .section:not(.section--light) .spec h3 { color: var(--white); }
main .section:not(.section--light) .spec p,
main .section:not(.section--light) .spec .lede,
main .section:not(.section--light) .spec .muted { color: var(--text-2); }
main .section:not(.section--light) .spec__second { color: var(--text-3); }
main .section:not(.section--light) .spec .eyebrow {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--text-2);
}
main .section:not(.section--light) .spec a:not(.btn) { color: var(--text); }
main .section:not(.section--light) .spec a:not(.btn):hover { color: var(--accent); }
main .section:not(.section--light) .spec .btn--ghost,
main .section:not(.section--light) .spec .btn--ghost-light {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.24);
}

