/* ==========================================================================
   Option 9: the Option 8 look, restructured as Consultancy + Intelligence.
   Only additions live here; tokens, type and components come from home.css.
   ========================================================================== */

/* ---- Expertise mega-menu ---- */

.topbar-links .has-mega { position: static; }

.mega { display: none; }

@media (min-width: 1141px) {
  .topbar-nav, .topbar-links { position: static; }

  .has-mega > a {
    display: inline-block;
    padding-block: 30px;
    margin-block: -30px;
  }

  .mega {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px);
    background: var(--bg);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 30px 40px -30px rgba(11, 13, 20, 0.18);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
  }

  .has-mega:hover .mega,
  .has-mega:focus-within .mega,
  .has-mega.is-open .mega {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }

  .mega-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr) minmax(0, 1.1fr);
    gap: clamp(32px, 5vw, 88px);
    max-width: 1320px;
    margin: 0 auto;
    padding: 44px clamp(20px, 4vw, 56px) 52px;
  }
}

.mega-intro h2 {
  font-family: 'Geist', 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: 1.7rem;
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-transform: none;
}

.mega-intro p {
  margin-top: 16px;
  max-width: 34ch;
  font-size: 0.92rem;
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
}

.mega-head {
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.topbar-links .mega-list a {
  display: block;
  padding: 11px 0;
  font-size: 0.98rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--ink);
}

.topbar-links .mega-list a small {
  display: block;
  margin-top: 2px;
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0;
  color: var(--ink-soft);
}

.topbar-links .mega-list a:hover { color: var(--accent); }

.mega-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }

/* ---- Hero routes ---- */

.h8-routes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}

.h8-foot .hero7-sub { max-width: 46ch; }

.text-route {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-block: 8px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-route:hover { color: var(--accent); border-color: var(--accent); }
.band-navy .text-route, .on-dark .text-route { color: #f5f5f8; }
.band-navy .text-route:hover { color: #c7b8ff; border-color: #c7b8ff; }

/* ---- 04 How we see visibility ---- */

.see9 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.see9 > li {
  position: relative;
  min-height: 250px;
  padding: 26px 26px 30px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.see9-num {
  display: block;
  font-family: 'Geist', 'Inter', system-ui, sans-serif;
  font-weight: 500;
  font-size: 3.2rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(11, 13, 20, 0.28);
}

.see9 h3 {
  margin-top: 40px;
  font-family: 'Geist', 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  letter-spacing: -0.035em;
}

.see9 p {
  margin-top: 10px;
  max-width: 34ch;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.see9-find {
  position: absolute;
  top: 26px;
  right: 24px;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.see9-foot {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  margin-top: 36px;
}

.see9-foot p {
  grid-column: 4 / span 6;
  font-size: 1.12rem;
  color: var(--ink-soft);
}

@media (max-width: 960px) {
  .see9 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .see9-foot p { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .see9 { grid-template-columns: minmax(0, 1fr); }
  .see9 > li { min-height: 0; }
  .see9 h3 { margin-top: 22px; }
}

/* ---- Section link rows ---- */

.more-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: clamp(28px, 4vw, 48px);
}

/* ---- 06b How ZNELK works: four connected layers ---- */

.loop9 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--rule-strong);
}

.loop9 > li {
  position: relative;
  padding: 26px 26px 34px 0;
}

.loop9 > li + li { padding-left: 26px; border-left: 1px solid var(--rule); }

.loop9 > li::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.loop9 > li:first-child::before { left: 0; }
.loop9 > li:last-child::before { background: var(--gold); }

.loop9-idx {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.loop9 h3 {
  margin-top: 54px;
  font-family: 'Geist', 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.loop9 > li:last-child h3 { color: var(--accent); }

.loop9 p {
  margin-top: 16px;
  max-width: 28ch;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.loop9-note {
  max-width: 62ch;
  margin-top: clamp(32px, 4vw, 56px);
  font-size: 1.12rem;
  color: var(--ink);
}

@media (max-width: 900px) {
  .loop9 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .loop9 > li:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .loop9 > li:nth-child(4) { border-top: 1px solid var(--rule); }
  .loop9 > li:nth-child(3)::before { left: 0; }
  .loop9 h3 { margin-top: 28px; }
}

@media (max-width: 560px) {
  .loop9 { grid-template-columns: minmax(0, 1fr); }
  .loop9 > li, .loop9 > li + li { padding: 24px 0 28px; border-left: 0; border-top: 1px solid var(--rule); }
  .loop9 > li::before { left: 0 !important; }
}

/* ---- 07 Intelligence on the home page ---- */

.intel9 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 110px);
  align-items: start;
}

.intel9-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.intel9-tag::before { content: ''; width: 36px; height: 1px; background: var(--gold-light); }

.intel9 h2 {
  max-width: 11ch;
  font-family: 'Geist', 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(2.8rem, 6.2vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: #f5f6fa;
  text-transform: uppercase;
}

.intel9-lede {
  max-width: 44ch;
  margin-top: 30px;
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  color: rgba(245, 246, 250, 0.84);
}

.intel9-watch {
  max-width: 44ch;
  margin-top: 26px;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  line-height: 1.9;
  text-transform: uppercase;
  color: #b9a7ff;
}

.intel9 .lp-cta { margin-top: 40px; }

.intel9-sep {
  margin-top: 26px;
  max-width: 44ch;
  font-size: 0.9rem;
  color: rgba(245, 246, 250, 0.62);
}

.ledger {
  position: relative;
  padding: 26px 26px 22px;
  border: 1px solid var(--night-rule);
  background: rgba(11, 13, 20, 0.7);
}

.ledger::before {
  content: '';
  position: absolute;
  inset: 12px -12px -12px 12px;
  z-index: -1;
  border: 1px solid var(--gold);
  opacity: 0.55;
}

.ledger-cap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--night-rule);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c7b8ff;
}

.ledger-list { position: relative; margin: 0; padding: 4px 0 0 22px; list-style: none; }

.ledger-list::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 14px;
  bottom: 18px;
  width: 1px;
  background: linear-gradient(var(--night-rule), var(--gold-light) 60%, var(--night-rule));
}

.ledger-list li {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 4px 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(199, 184, 255, 0.1);
  opacity: 1;
}

.ledger-list li:last-child { border-bottom: 0; }

.ledger-list li::before {
  content: '';
  position: absolute;
  left: -22px;
  top: 25px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #0b0d14;
  border: 1px solid var(--gold-light);
}

.ledger-list time {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c7b8ff;
  padding-top: 3px;
}

.ledger-what { font-size: 0.98rem; line-height: 1.45; color: #f5f6fa; }

.ledger-what b {
  display: block;
  margin-bottom: 3px;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.ledger-what s { color: rgba(245, 246, 250, 0.5); text-decoration-color: rgba(245, 246, 250, 0.35); }
.ledger-what i { font-style: normal; color: #b9a7ff; padding-inline: 4px; }

.ledger-sig {
  margin-top: 6px;
  padding: 16px 18px;
  border: 1px solid var(--gold);
  font-size: 0.94rem;
  line-height: 1.45;
  color: #f5f6fa;
}

.ledger-sig span {
  display: block;
  margin-bottom: 4px;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.ledger-note { margin-top: 16px; font-size: 0.74rem; color: rgba(245, 246, 250, 0.55); }

.js .ledger-list li { opacity: 0; transform: translateY(10px); transition: opacity 0.7s ease, transform 0.7s ease; transition-delay: calc(var(--i, 0) * 120ms); }
.js .ledger.in .ledger-list li { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .intel9 { grid-template-columns: minmax(0, 1fr); }
  .ledger::before { inset: 8px -6px -8px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .ledger-list li { opacity: 1; transform: none; transition: none; }
}

/* ---- 08 Selected work ---- */

.case9 { border-top: 1px solid var(--rule-strong); }

.case9-row {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 48px);
  padding: 34px 0 38px;
  border-bottom: 1px solid var(--rule);
}

.case9-meta h3 {
  font-family: 'Geist', 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.case9-meta p {
  margin-top: 10px;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.case9-col { position: relative; }

.case9-col + .case9-col::before {
  content: '→';
  position: absolute;
  left: calc(clamp(20px, 3vw, 48px) / -2 - 6px);
  top: 0;
  font-size: 0.9rem;
  color: var(--gold-ink);
}

.case9-label {
  margin-bottom: 12px;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.case9-col p:not(.case9-label) { font-size: 0.98rem; line-height: 1.55; }

.case9-result .case9-num {
  display: block;
  margin-bottom: 6px;
  font-family: 'Geist', 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 3.6vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--accent);
}

.case9-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  margin-top: 30px;
}

.case9-foot p { max-width: 60ch; font-size: 0.9rem; color: var(--ink-soft); }

@media (max-width: 960px) {
  .case9-row { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .case9-col + .case9-col::before { display: none; }
}

/* ---- 10 Specialisms and the expertise hub: ruled rows ---- */

.spec9 { border-top: 1px solid var(--rule-strong); }

.spec9 a {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1fr) 54px;
  align-items: center;
  gap: 8px clamp(16px, 3vw, 44px);
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  text-decoration: none;
  isolation: isolate;
}

.spec9 a::before {
  content: '';
  position: absolute;
  inset: 0 -22px;
  z-index: -1;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.spec9 a:hover::before,
.spec9 a:focus-visible::before { transform: scaleY(1); }

.spec9 a:hover,
.spec9 a:focus-visible { color: #f5f5f8; }

.spec9-n {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--gold-ink);
}

.spec9 a:hover .spec9-n { color: var(--gold-light); }

.spec9-t {
  font-family: 'Geist', 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(1.5rem, 2.8vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.spec9-d { font-size: 1rem; line-height: 1.5; color: var(--ink-soft); max-width: 46ch; }
.spec9 a:hover .spec9-d { color: rgba(245, 245, 248, 0.82); }

.spec9-go {
  justify-self: end;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--rule-strong);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.spec9 a:hover .spec9-go { background: var(--accent); border-color: var(--accent); color: #fff; }

.spec9-lead .spec9-t { font-size: clamp(2rem, 4vw, 3.8rem); }
.spec9-lead .spec9-d { color: var(--ink); }

@media (max-width: 760px) {
  .spec9 a { grid-template-columns: 44px minmax(0, 1fr); padding: 22px 0; }
  .spec9-d { grid-column: 2; }
  .spec9-go { display: none; }
  .spec9 a::before { inset: 0 -12px; }
}

.hub-group { margin-bottom: clamp(56px, 8vw, 110px); }
.hub-group:last-child { margin-bottom: 0; }

.hub-group-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  row-gap: 14px;
  margin-bottom: 34px;
}

.hub-group-head h2 {
  grid-column: 1 / span 6;
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  line-height: 1.02;
}

.hub-group-head p {
  grid-column: 8 / -1;
  align-self: end;
  max-width: 42ch;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

@media (max-width: 860px) {
  .hub-group-head h2, .hub-group-head p { grid-column: 1 / -1; }
}

/* ---- Page headers for hub pages (reuse lp-hero) ---- */

.lp-hero .lp-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 36px;
}

.lp-hero-single .lp-hero-grid { grid-template-columns: minmax(0, 1fr); }
.lp-hero-single h1 { max-width: 17ch; font-size: clamp(2.6rem, 6vw, 5.6rem); }
.lp-hero-single .hero7-sub { max-width: 56ch; }

/* ---- Cross-page call to action ---- */

.cta9 { overflow: hidden; }

.cta9-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}

.cta9 h2 {
  max-width: 14ch;
  font-size: clamp(2.4rem, 5.4vw, 5rem);
  line-height: 1;
  letter-spacing: -0.045em;
  color: #f5f6fa;
}

.cta9 p {
  max-width: 44ch;
  font-size: 1.08rem;
  color: rgba(245, 246, 250, 0.82);
}

.cta9 .lp-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }

.cta9-route {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--night-rule);
  font-size: 0.92rem;
  color: rgba(245, 246, 250, 0.7);
}

@media (max-width: 860px) {
  .cta9-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---- Forms: select, two-up rows, intelligence route ---- */

.form7 select {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid var(--rule-strong);
  border-radius: 0;
  background: var(--paper);
  font: 400 1rem var(--sans);
  color: var(--ink);
}

.form7 select:focus-visible {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 0;
}

.form7-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.form7-two > div { display: grid; gap: 8px; }

@media (max-width: 640px) { .form7-two { grid-template-columns: minmax(0, 1fr); } }

.route9 {
  margin-top: 40px;
  padding: 22px 24px;
  border: 1px solid var(--rule-strong);
  max-width: 46ch;
}

.route9 p:first-child {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.route9 p + p { margin-top: 8px; font-size: 0.98rem; color: var(--ink-soft); }
.route9 .text-route { margin-top: 12px; }

/* ---- Two products, kept apart (about, intelligence) ---- */

.two9 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--rule-strong);
  border-left: 1px solid var(--rule);
}

.two9 > div {
  padding: clamp(26px, 3.4vw, 46px);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.two9 .mono-label,
.mono-label {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.two9 h3 {
  margin-top: 28px;
  font-family: 'Geist', 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.two9 p:not(.mono-label) { margin-top: 14px; max-width: 40ch; color: var(--ink-soft); }
.two9 .text-route { margin-top: 24px; }

@media (max-width: 760px) { .two9 { grid-template-columns: minmax(0, 1fr); } }

/* ---- Insights: topics in progress ---- */

.topics9 { border-top: 1px solid var(--rule-strong); }

.topics9 li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1.2fr) minmax(0, 1fr) auto;
  gap: 8px clamp(16px, 3vw, 44px);
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
}

.topics9 .spec9-t { font-size: clamp(1.4rem, 2.4vw, 2.2rem); }
.topics9 p { color: var(--ink-soft); }

.status9 {
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

@media (max-width: 760px) {
  .topics9 li { grid-template-columns: 44px minmax(0, 1fr); }
  .topics9 li > :nth-child(n+3) { grid-column: 2; }
}

/* ---- Intelligence page additions ---- */

.record9 {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 100px);
  align-items: start;
}

.record9-copy h3 {
  font-family: 'Geist', 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.record9-copy p { margin-top: 16px; max-width: 42ch; color: var(--ink-soft); }
.record9-copy p + p { margin-top: 12px; }

.record9-card {
  position: relative;
  margin: 0 14px 14px 0;
  padding: clamp(22px, 3vw, 38px);
  background: var(--night);
  color: #f5f6fa;
  box-shadow: 14px 14px 0 -1px var(--paper), 14px 14px 0 0 var(--gold);
}

.record9-card dl { margin: 0; display: grid; }

.record9-card dl > div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--night-rule);
}

.record9-card dl > div:last-child { border-bottom: 0; }

.record9-card dt {
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c7b8ff;
  padding-top: 3px;
}

.record9-card dd { margin: 0; font-size: 0.94rem; line-height: 1.45; }
.record9-card .rec-key dd { color: var(--gold-light); }
.record9-cap { margin-top: 14px; font-size: 0.74rem; letter-spacing: 0.1em; color: rgba(245, 246, 250, 0.55); }

@media (max-width: 900px) {
  .record9 { grid-template-columns: minmax(0, 1fr); }
  .record9-card dl > div { grid-template-columns: 100px minmax(0, 1fr); }
}

.precursors9 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.precursors9 li {
  padding: 12px 18px;
  border: 1px solid var(--rule-strong);
  font-size: 0.96rem;
}

.pre-note { margin-top: 28px; max-width: 58ch; color: var(--ink-soft); }

.trio9 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--rule-strong);
  border-left: 1px solid var(--rule);
}

.trio9 > div {
  padding: clamp(24px, 3vw, 40px);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.trio9 h3 {
  margin-top: 22px;
  font-family: 'Geist', 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.trio9 p:not(.mono-label) { margin-top: 12px; color: var(--ink-soft); }
.trio9 ul { margin-top: 14px; display: grid; gap: 6px; }
.trio9 li { font-size: 0.96rem; padding-left: 14px; position: relative; }
.trio9 li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 6px; height: 1px; background: var(--gold); }
.trio9-foot { margin-top: 30px; max-width: 62ch; font-size: 1.08rem; }

@media (max-width: 900px) { .trio9 { grid-template-columns: minmax(0, 1fr); } }

.qlist9 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(20px, 4vw, 64px);
  margin: 0 0 clamp(32px, 4vw, 56px);
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule-strong);
}

.qlist9 li {
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 1.06rem;
}

@media (max-width: 760px) { .qlist9 { grid-template-columns: minmax(0, 1fr); } }

/* ---- About page ---- */

.principles9 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule-strong); border-left: 1px solid var(--rule); }
.principles9 > div { padding: clamp(24px, 3vw, 40px); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.principles9 h3 { font-family: 'Geist', 'Inter', system-ui, sans-serif; font-weight: 300; font-size: clamp(1.4rem, 2.2vw, 2rem); letter-spacing: -0.04em; }
.principles9 p { margin-top: 10px; max-width: 42ch; color: var(--ink-soft); }
@media (max-width: 760px) { .principles9 { grid-template-columns: minmax(0, 1fr); } }

/* ---- Page footers: secondary link row ---- */

.footer7-nav + .footer7-nav { margin-top: 0; }

.footer7-inner { grid-template-columns: 1.6fr 1fr 1.2fr 1fr; }
.footer7-meta { grid-column: 1 / -1; }
@media (max-width: 900px) { .footer7-inner { grid-template-columns: 1fr 1fr; } .footer7-brand { grid-column: 1 / -1; } }

.see9, .loop9 { list-style: none; margin: 0; padding: 0; }

/* dark bands: text colours need the band prefix to win over .band p */
.band-navy .intel9-lede { color: rgba(245, 246, 250, 0.86); }
.band-navy .intel9-watch { color: #b9a7ff; }
.band-navy .intel9-sep { color: rgba(245, 246, 250, 0.62); }
.band-navy .cta9 p, .band-navy.cta9 p { color: rgba(245, 246, 250, 0.84); }
.band-navy.cta9 .cta9-route { color: rgba(245, 246, 250, 0.7); }
.band-navy .ledger-note { color: rgba(245, 246, 250, 0.55); }
/* Dark-band labels outrank the light-band `.band p` colour */
.band .intel9-tag { color: var(--gold-light); }
.band .ledger-cap { color: #c7b8ff; }
.band-navy .hero7-sub { color: rgba(245, 246, 250, 0.84); }

/* ==========================================================================
   Buttons: one primary, one secondary, one text route (all violet, no gold).
   Sweep fill on hover, arrow that travels. Replaces the arrow-block buttons.
   ========================================================================== */

.button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  gap: 14px;
  min-height: 54px;
  padding: 0 26px;
  font: 500 0.72rem/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.button:has(.arrow) { padding: 0 26px; }

.button::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateY(101%);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.button:hover::before,
.button:focus-visible::before { transform: none; }

.button .arrow,
.button:hover .arrow {
  display: inline-block;
  width: auto;
  height: auto;
  background: none !important;
  color: inherit;
  font-size: 1rem;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.button:hover .arrow { transform: translateX(6px); }

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

/* primary */
.button.button-dark { background: var(--ink); color: #fff; }
.button.button-dark::before { background: var(--accent); }
.button.button-dark:hover { background: var(--ink); }

/* secondary */
.button.button-ghost { border-color: var(--rule-strong); color: var(--ink); }
.button.button-ghost::before { background: var(--ink); }
.button.button-ghost:hover { color: #fff; border-color: var(--ink); }

/* on dark bands */
.button.button-light { background: #f5f6fa; color: var(--ink); }
.button.button-light::before { background: #c7b8ff; }
.button.button-light:hover { background: #f5f6fa; }

.button.button-ghost-light { border-color: rgba(245, 246, 250, 0.4); color: #f5f6fa; }
.button.button-ghost-light::before { background: #f5f6fa; }
.button.button-ghost-light:hover { color: #0b0d14; border-color: #f5f6fa; }

.button.button-small { min-height: 42px; padding: 0 18px; font-size: 0.66rem; }
.button.button-small:has(.arrow) { padding: 0 18px; }

/* text route */
.text-route {
  border-bottom: 1px solid var(--accent);
  color: var(--ink);
}

.text-route:hover { color: var(--accent); border-color: var(--accent); }
.text-route .arrow { display: inline-block; transition: transform 0.3s ease; }
.text-route:hover .arrow { transform: translateX(5px); }

.band-navy .text-route { color: #f5f6fa; border-color: #b9a7ff; }
.band-navy .text-route:hover { color: #c7b8ff; border-color: #c7b8ff; }

/* ---- Compact team on the home page ---- */
.team9 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule-strong); border-left: 1px solid var(--rule); }
.team9 > li { padding: 26px 24px 30px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.team9-i { display: block; font-family: 'Geist', 'Inter', system-ui, sans-serif; font-weight: 500; font-size: 3rem; line-height: 1; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1px rgba(11, 13, 20, 0.28); }
.team9 h3 { margin-top: 28px; font-family: 'Geist', 'Inter', system-ui, sans-serif; font-weight: 300; font-size: clamp(1.25rem, 1.8vw, 1.6rem); letter-spacing: -0.035em; }
.team9-r { margin-top: 8px; font-size: 0.64rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-ink); }
.team9 p:not(.team9-r) { margin-top: 12px; font-size: 0.96rem; color: var(--ink-soft); }
@media (max-width: 960px) { .team9 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .team9 { grid-template-columns: minmax(0, 1fr); } }

/* Hero headline: keep each written line on one row on wider screens */
@media (min-width: 900px) {
  .hero8 h1 { max-width: none; }
  .hero8 .h8-l > span { white-space: nowrap; }
}

/* Hero: start the text higher, less empty space above the small line */
.hero8 {
  justify-content: flex-start;
  padding-top: clamp(48px, 8vh, 88px);
}

/* ==========================================================================
   Start a project: a step-by-step flow, like a checkout
   Without JavaScript every step shows and the form works as one page.
   ========================================================================== */

.flow9 { gap: 0; }
.flow9-head { display: none; margin-bottom: 28px; }
.js .flow9-head { display: block; }

.flow9-count {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.flow9-bar { height: 2px; margin-top: 12px; background: var(--rule); }
.flow9-bar i { display: block; height: 100%; width: 20%; background: var(--accent); transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }

.flow9-step { min-width: 0; margin: 0 0 8px; padding: 0; border: 0; display: grid; gap: 8px; }
.js .flow9-step { display: none; }
.js .flow9-step.is-active { display: grid; animation: flow9-in 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js .flow9-step.is-back.is-active { animation-name: flow9-in-back; }

@keyframes flow9-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes flow9-in-back { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }

.flow9-step legend {
  padding: 0;
  margin-bottom: 18px;
  font-family: 'Geist', 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.flow9-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.flow9-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 12px; }
@media (max-width: 760px) { .flow9-cards, .flow9-cards-3 { grid-template-columns: minmax(0, 1fr); } }

.form7 .card9 {
  position: relative;
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 16px 18px;
  border: 1px solid var(--rule-strong);
  background: var(--paper);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.card9 input { position: absolute; opacity: 0; pointer-events: none; }
.card9-t { font-weight: 500; line-height: 1.25; }
.card9-d { font-size: 0.84rem; line-height: 1.4; color: var(--ink-soft); }
.card9:hover { border-color: var(--ink); }
.card9:has(input:checked) { border-color: var(--accent); background: #f1eeff; box-shadow: inset 3px 0 0 var(--accent); }
.card9:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

.flow9-alt { margin-top: 14px; font-size: 0.92rem; color: var(--ink-soft); }

.flow9-nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.flow9-send { display: inline-flex; }
.js .flow9-send { display: none; }
.js .flow9.is-last .flow9-send { display: inline-flex; }
.js .flow9.is-last .flow9-next { display: none; }
html:not(.js) .flow9-next, html:not(.js) .flow9-back { display: none; }

.flow9-review { display: none; margin: 18px 0 4px; border-top: 1px solid var(--rule-strong); }
.js .flow9-review { display: block; }
.flow9-review div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.flow9-review dt { font-size: 0.64rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-ink); padding-top: 3px; }
.flow9-review dd { margin: 0; font-size: 0.95rem; overflow-wrap: anywhere; }

.flow9 .is-invalid { border-color: #b3261e !important; }
.flow9-error { margin-top: 6px; font-size: 0.86rem; color: #b3261e; }

.flow9-done { padding: 8px 0; }
.flow9-done h3 { margin-top: 18px; font-family: 'Geist', 'Inter', system-ui, sans-serif; font-weight: 300; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.05; letter-spacing: -0.045em; }
.flow9-done p:not(.mono-label) { margin-top: 12px; max-width: 42ch; color: var(--ink-soft); }
.flow9-done:not([hidden]) { animation: flow9-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }

@media (prefers-reduced-motion: reduce) {
  .js .flow9-step.is-active, .flow9-done:not([hidden]) { animation: none; }
  .flow9-bar i { transition: none; }
}
.flow9-hint { margin: -8px 0 14px; font-size: 0.92rem; color: var(--ink-soft); }

/* ==========================================================================
   Voice message: halo circle triggers (header, hero) open one recorder panel
   ========================================================================== */

.voice9-bubble {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.voice9-bubble:hover, [data-voice]:hover .voice9-bubble { transform: scale(1.06); }
[data-voice]:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.voice9-halo { position: absolute; inset: 0; width: 100%; height: 100%; animation: voice9-spin 40s linear infinite; }
.voice9-mic { position: relative; color: var(--accent); }
@keyframes voice9-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .voice9-halo { animation: none; } }

.voice9-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: none;
  font: 500 0.7rem var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}

.voice9-chip:hover { color: var(--accent); }


.voice9 { position: fixed; z-index: 260; top: 86px; right: clamp(14px, 2vw, 28px); }

.voice9-panel {
  width: min(380px, calc(100vw - 28px));
  max-height: calc(100vh - 120px);
  overflow: auto;
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 10px 10px 0 -1px var(--bg), 10px 10px 0 0 var(--accent);
}

.voice9-top { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--rule); }
.voice9-title { font-family: 'Geist', 'Inter', system-ui, sans-serif; font-weight: 400; font-size: 1.25rem; letter-spacing: -0.03em; }
.voice9-close { width: 32px; height: 32px; border: 0; background: none; font-size: 1.6rem; line-height: 1; color: var(--ink); cursor: pointer; }
.voice9-body { padding: 18px; }
.voice9-lede { font-size: 0.94rem; color: var(--ink-soft); }

.voice9-rec { display: flex; align-items: center; gap: 16px; margin: 18px 0 8px; }

.voice9-recbtn {
  position: relative;
  flex: none;
  width: 68px;
  height: 68px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.voice9-recbtn:hover { background: var(--accent); }
.voice9-recbtn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.voice9-recdot { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: #fff; transition: border-radius 0.2s ease, transform 0.2s ease; }
.voice9-rec.is-rec .voice9-recdot { border-radius: 3px; transform: scale(0.8); }
.voice9-rec.is-rec .voice9-recbtn { background: var(--accent); }
.voice9-rec.is-rec .voice9-recbtn::after { content: ''; position: absolute; inset: -6px; border: 1px solid var(--accent); border-radius: 50%; animation: voice9-pulse 1.4s ease-out infinite; }
@keyframes voice9-pulse { from { opacity: 0.9; transform: scale(0.9); } to { opacity: 0; transform: scale(1.35); } }
@media (prefers-reduced-motion: reduce) { .voice9-rec.is-rec .voice9-recbtn::after { animation: none; } }

.voice9-state { font-size: 0.95rem; font-weight: 500; }
.voice9-time { margin-top: 2px; font-size: 0.78rem; letter-spacing: 0.12em; color: var(--ink-soft); }
.voice9-audio { width: 100%; margin-top: 12px; }
.voice9-redo { margin-top: 6px; }
.voice9-link { border: 0; background: none; padding: 0; font: 500 0.66rem var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); border-bottom: 1px solid var(--accent); cursor: pointer; }

.voice9-form { display: grid; gap: 6px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--rule); }
.voice9-form label { margin-top: 8px; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.voice9-form input[type='text'] { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--rule-strong); border-radius: 0; background: var(--paper); font: 400 0.95rem var(--sans); color: var(--ink); }
.voice9-form input[type='text']:focus-visible { outline: 2px solid var(--accent); border-color: var(--accent); }
.voice9-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; }
.voice9-consent input { margin-top: 3px; accent-color: var(--accent); }
.voice9-form .voice9-consent label { margin: 0; font-size: 0.82rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink-soft); }
.voice9-error { margin-top: 6px; font-size: 0.86rem; color: #b3261e; }
.voice9-send { margin-top: 12px; justify-self: start; }
.voice9-send[disabled] { opacity: 0.45; pointer-events: none; }
.voice9-done p:not(.voice9-title) { margin-top: 10px; color: var(--ink-soft); }
.voice9-fallback { margin-top: 16px; color: var(--ink-soft); }

/* keep the cookie banner and the chat clear of the bubble */
body:has(.topbar.is-open) .voice9 { visibility: hidden; }

/* Step 1: condensed choices, with the short description kept */
.flow9-cards:not(.flow9-cards-3) { gap: 6px; }
.flow9-cards:not(.flow9-cards-3) .card9 { padding: 9px 12px 10px; gap: 1px; }
.flow9-cards:not(.flow9-cards-3) .card9-t { font-size: 0.9rem; line-height: 1.2; }
.flow9-cards:not(.flow9-cards-3) .card9-d { font-size: 0.76rem; line-height: 1.3; }

.band-navy .voice9-chip { color: #f5f6fa; }
.band-navy .voice9-chip:hover { color: #c7b8ff; }

/* Step 1: question on the left, a large voice circle on the right, in one row */
.flow9-qrow { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.flow9-qtitle { font-family: 'Geist', 'Inter', system-ui, sans-serif; font-weight: 300; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.05; letter-spacing: -0.045em; color: var(--ink); }
.flow9-qrow .flow9-hint { margin: 10px 0 0; }
.voice9-big { flex: none; flex-direction: row-reverse; gap: 14px; text-align: right; font-size: 0.6rem; line-height: 1.5; }
.voice9-big .voice9-bubble { width: 96px; height: 96px; }
.voice9-big .voice9-mic { width: 28px; height: 28px; }
@media (max-width: 760px) {
  .flow9-qrow { flex-direction: column; align-items: flex-start; }
  .voice9-big { flex-direction: row; text-align: left; }
  .voice9-big .voice9-bubble { width: 72px; height: 72px; }
}
.band .flow9-qrow .flow9-qtitle { color: var(--ink); }

/* The big voice circle shows its words only on hover or keyboard focus */
.voice9-big > span:not(.voice9-bubble) { opacity: 0; transform: translateX(8px); transition: opacity 0.25s ease, transform 0.25s ease; pointer-events: none; }
.voice9-big:hover > span:not(.voice9-bubble),
.voice9-big:focus-visible > span:not(.voice9-bubble) { opacity: 1; transform: none; }
@media (max-width: 760px) { .voice9-big > span:not(.voice9-bubble) { transform: translateX(-8px); } }

/* "What brings you here?" on one line; the hover words no longer take up room */
.flow9-qtitle { white-space: nowrap; font-size: clamp(1.45rem, 2.5vw, 2.3rem); }
.voice9-big { position: relative; }
.voice9-big > span:not(.voice9-bubble) { position: absolute; right: calc(100% + 12px); top: 50%; margin-top: -1.5em; width: max-content; }
@media (max-width: 760px) {
  .flow9-qtitle { white-space: normal; }
  .voice9-big > span:not(.voice9-bubble) { position: static; margin: 0; right: auto; }
}

/* Start a project: one third for the intro, two thirds for the form */
.contact7 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(32px, 5vw, 88px); }
@media (max-width: 960px) { .contact7 { grid-template-columns: minmax(0, 1fr); } }
.contact7 h1, .contact7 h2 { font-size: clamp(2rem, 3.4vw, 3.2rem); }
.contact7 .route9 { max-width: none; }
@media (min-width: 1100px) {
  .flow9-cards:not(.flow9-cards-3) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Contact page: start close to the navigation so the first step is on screen */
.contact-page { padding-block: 20px clamp(56px, 8vw, 110px); }
.contact-page .crumbs { margin-bottom: 22px; }
.contact-page .contact7 .sec-label { margin-bottom: 14px; padding-top: 14px; }
.contact-page .flow9-head { margin-bottom: 14px; }
.contact-page .flow9-qrow { margin-bottom: 12px; }
.contact-page .flow9-nav { margin-top: 16px; }
.flow9-back[hidden], .flow9-nav[hidden], .flow9-head[hidden] { display: none !important; }
.contact-page { padding-top: 40px; }

/* Market-intelligence box in the left column: violet, visible straight away */
.flow9-wrap { display: block; }

.ribbon9 {
  display: block;
  margin-top: 26px;
  padding: 22px 22px 24px;
  background: var(--accent);
  color: #fff;
}

.ribbon9-tag { font-size: 0.62rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }
.ribbon9-q { margin-top: 8px; font-family: 'Geist', 'Inter', system-ui, sans-serif; font-weight: 400; font-size: clamp(1.3rem, 1.9vw, 1.7rem); letter-spacing: -0.03em; line-height: 1.12; }
.ribbon9-d { margin-top: 8px; font-size: 0.9rem; }
.band .ribbon9 p { color: #fff; }
.band .ribbon9 .ribbon9-tag, .band .ribbon9 .ribbon9-d { color: #e6e0ff; }
.ribbon9 .button.button-light { margin-top: 18px; background: #fff; color: var(--ink); }
.ribbon9 .button.button-light::before { background: var(--ink); }
.ribbon9 .button.button-light:hover { color: #fff; }

/* Gold microphone, and a hover message that pops like a tooltip */
.voice9-mic { color: var(--gold); }
.voice9-big > span:not(.voice9-bubble) {
  padding: 11px 16px;
  background: var(--ink);
  color: #fff;
  text-align: left;
  font-size: 0.64rem;
  line-height: 1.5;
  box-shadow: 0 10px 24px -8px rgba(11, 13, 20, 0.35);
  transform: translateX(10px) scale(0.94);
  transform-origin: right center;
  transition: opacity 0.22s ease, transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.3);
}
.voice9-big > span:not(.voice9-bubble)::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  background: var(--ink);
  transform: rotate(45deg);
}
.voice9-big:hover > span:not(.voice9-bubble),
.voice9-big:focus-visible > span:not(.voice9-bubble) { opacity: 1; transform: none; }
@media (max-width: 760px) {
  .voice9-big > span:not(.voice9-bubble) { opacity: 1; transform: none; box-shadow: none; padding: 0; background: none; color: var(--ink); }
  .voice9-big > span:not(.voice9-bubble)::after { display: none; }
}

/* ==========================================================================
   Contact page aligned with the homepage: dark intelligence panel, ruled
   option rows with a tick, a bigger heading
   ========================================================================== */

/* 1. Intelligence panel: black, violet button, gold hairline frame like the dark panels */
.ribbon9 {
  background: var(--night);
  margin-right: 12px;
  box-shadow: 10px 10px 0 -1px var(--bg), 10px 10px 0 0 var(--gold);
}
.band .ribbon9 .ribbon9-tag { color: #c7b8ff; }
.band .ribbon9 .ribbon9-d { color: rgba(245, 246, 250, 0.78); }
.ribbon9 .button.button-light { background: var(--accent); color: #fff; }
.ribbon9 .button.button-light::before { background: #f5f6fa; }
.ribbon9 .button.button-light:hover { color: var(--ink); }

/* 2. Options as ruled rows with a tick */
.flow9-cards:not(.flow9-cards-3),
.flow9-cards-3 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  border-top: 1px solid var(--rule-strong);
}
.flow9-cards-3 { grid-template-columns: minmax(0, 1fr); margin-bottom: 18px; }
@media (min-width: 1100px) { .flow9-cards:not(.flow9-cards-3) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .flow9-cards:not(.flow9-cards-3) { grid-template-columns: minmax(0, 1fr); } }

.form7 .card9,
.flow9-cards:not(.flow9-cards-3) .card9 {
  padding: 11px 44px 11px 0;
  border: 0;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  box-shadow: none;
  gap: 2px;
}

.card9::after {
  content: '';
  position: absolute;
  right: 4px;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  border: 1px solid var(--rule-strong);
  background: transparent center / 12px no-repeat;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.card9:hover { border-color: var(--rule); }
.card9:hover .card9-t { color: var(--accent); }
.card9:has(input:checked),
.card9:hover:has(input:checked) { border-color: var(--rule); background: transparent; box-shadow: none; }
.card9:has(input:checked) .card9-t { color: var(--accent); }
.card9:has(input:checked)::after {
  border-color: var(--accent);
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.4l2.6 2.6L10 3.4' fill='none' stroke='white' stroke-width='1.8'/%3E%3C/svg%3E");
}
.card9:has(input:focus-visible)::after { outline: 2px solid var(--accent); outline-offset: 2px; }

/* 3. Bigger heading, like the other page headings */
.contact7 h1, .contact7 h2 { font-size: clamp(2.5rem, 4.2vw, 4.2rem); line-height: 1.02; }
.voice9-mic { color: #b88a2c; }

/* Hero birds: a slow drift across the sky with a soft wing beat */
.h8-art .h8-birds path {
  transform-box: fill-box;
  transform-origin: 50% 70%;
  animation: bird-flap 1s ease-in-out infinite alternate, bird-drift 28s ease-in-out infinite alternate;
}
.h8-art .h8-birds path:nth-child(2) { animation-duration: 1.15s, 34s; animation-delay: -0.4s, -9s; }
.h8-art .h8-birds path:nth-child(3) { animation-duration: 0.9s, 40s; animation-delay: -0.2s, -17s; }

@keyframes bird-flap { from { scale: 1 1; } to { scale: 1 -0.45; } }
@keyframes bird-drift {
  from { translate: -30px 14px; }
  50%  { translate: 70px -10px; }
  to   { translate: 160px 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .h8-art .h8-birds path { animation: none; }
}

/* Closing "Start a project" band: much flatter */
.band.cta9 { padding-block: clamp(34px, 4vw, 52px); }
.cta9-grid { align-items: center; gap: clamp(24px, 4vw, 64px); }
.cta9 h2 { max-width: 18ch; font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.02; }
.cta9 .sec-label { margin-bottom: 14px !important; }
.cta9 p { font-size: 1rem; }
.cta9 .lp-cta { margin-top: 18px; }
.cta9-route { margin-top: 18px; padding-top: 14px; font-size: 0.86rem; }
a.chat-chip { display: inline-block; text-decoration: none; }

/* ==========================================================================
   Ask ZNELK: the chat panel in the editorial system (hairlines, square,
   type-led, violet accent). Replaces the boxed-bubble look.
   ========================================================================== */

.chat-panel {
  width: min(420px, calc(100vw - 32px));
  height: min(640px, calc(100vh - 128px - var(--chat-offset)));
  border: 1px solid var(--ink);
  background: var(--bg);
  box-shadow: 10px 10px 0 -1px var(--bg), 10px 10px 0 0 var(--accent);
}

.chat-head {
  gap: 14px;
  padding: 18px 20px 16px;
  background: var(--night);
  border-bottom: 1px solid var(--night-rule);
}

.chat-title {
  font-family: 'Geist', 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  color: #f5f6fa;
}

.chat-sub {
  margin-top: 3px;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b9a7ff;
}

.chat-close { border: 0; color: #f5f6fa; font-size: 1.5rem; width: 34px; height: 34px; }
.chat-close:hover { color: #c7b8ff; }

.chat-log { gap: 16px; padding: 22px 22px 12px; background: var(--bg); }

.chat-msg { padding: 0; font-size: 0.98rem; line-height: 1.5; }

.chat-msg-assistant {
  max-width: 92%;
  padding-left: 14px;
  border: 0;
  border-left: 1px solid var(--accent);
  background: none;
  color: var(--ink);
}

.chat-msg-user {
  max-width: 82%;
  padding: 0 0 6px;
  border-bottom: 1px solid var(--accent);
  background: none;
  color: var(--accent);
  font-weight: 500;
  text-align: right;
}

/* quick replies: ruled rows with a violet arrow, like the lists on the site */
.chat-quick { display: block; padding: 0 22px 14px; background: var(--bg); }

.chat-quick .chat-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 11px 0;
  border: 0;
  border-top: 1px solid var(--rule);
  background: none;
  color: var(--ink);
  font: 400 0.94rem/1.3 var(--sans);
  box-shadow: none;
}

.chat-quick .chat-chip:last-child { border-bottom: 1px solid var(--rule); }
.chat-quick .chat-chip::after { content: '\2192'; color: var(--accent); transition: transform 0.25s ease; }
.chat-quick .chat-chip:hover { background: none; color: var(--accent); border-color: var(--rule); }
.chat-quick .chat-chip:hover::after { transform: translateX(5px); }

.chat-form { align-items: stretch; gap: 0; padding: 0; border-top: 1px solid var(--ink); background: var(--paper); }

.chat-input {
  padding: 16px 20px;
  border: 0;
  background: transparent;
  font-size: 0.98rem;
}

.chat-input:focus-visible { outline: none; box-shadow: inset 0 -2px 0 var(--accent); }

.chat-send { width: 56px; height: auto; min-height: 56px; background: var(--ink); }
.chat-send:hover { background: var(--accent); }

.chat-legal { padding: 8px 20px 12px; background: var(--paper); font-size: 0.7rem; }

/* the floating greeting and starter questions */
.chat-greet { padding: 12px 16px; border: 1px solid var(--night-rule); font-size: 0.88rem; box-shadow: none; }
.chat-bubbles .chat-chip { padding: 10px 14px; border-color: var(--rule-strong); box-shadow: none; font-weight: 400; font-size: 0.86rem; }
.chat-bubbles .chat-chip:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* the name and email card at the end */
.chat-contact input { border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: 10px 0; }
.chat-contact input:focus-visible { outline: none; border-bottom-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }

/* ==========================================================================
   Ask ZNELK: the floating greeting as one calm card, not stacked boxes
   ========================================================================== */

.chat-bubbles {
  align-items: stretch;
  gap: 0;
  width: min(330px, calc(100vw - 40px));
  max-width: none;
  padding: 18px 20px 6px;
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 8px 8px 0 -1px var(--bg), 8px 8px 0 0 var(--accent);
  margin: 0 8px 8px 0;
}

.chat-greet-row { align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }

.chat-greet {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-family: 'Geist', 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: 1.35rem;
  line-height: 1.12;
  letter-spacing: -0.035em;
  box-shadow: none;
}

.chat-hide {
  width: 26px;
  height: 26px;
  margin: -4px -6px 0 0;
  border: 0;
  background: none;
  font-size: 1.3rem;
  color: var(--ink-soft);
}

.chat-hide:hover { color: var(--accent); }

.chat-bubbles .chat-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 11px 0;
  border: 0;
  border-top: 1px solid var(--rule);
  background: none;
  color: var(--ink);
  font: 400 0.92rem/1.3 var(--sans);
  box-shadow: none;
}

.chat-bubbles .chat-chip::after { content: '\2192'; color: var(--accent); transition: transform 0.25s ease; }
.chat-bubbles .chat-chip:hover { background: none; color: var(--accent); border-color: var(--rule); }
.chat-bubbles .chat-chip:hover::after { transform: translateX(5px); }

/* ==========================================================================
   Ask ZNELK launcher: only the turning halo, large and transparent
   ========================================================================== */

.chat-launcher {
  position: relative;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

.chat-launcher:hover,
.chat-launcher:focus-visible { transform: scale(1.3); }
.chat-launcher:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.chat-halo {
  width: 100%;
  height: 100%;
  animation: voice9-spin 36s linear infinite;
  filter: drop-shadow(0 0 5px rgba(245, 246, 250, 0.45));
}

.chat-launcher:hover .chat-halo { animation-duration: 12s; }

.chat-tip {
  position: absolute;
  right: calc(100% + 6px);
  top: 50%;
  padding: 10px 15px;
  background: var(--ink);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(8px, -50%);
  transition: opacity 0.2s ease, transform 0.25s ease;
}

.chat-launcher:hover .chat-tip,
.chat-launcher:focus-visible .chat-tip { opacity: 1; transform: translate(0, -50%); }
.chat.is-open .chat-tip { display: none; }

.chat-panel { bottom: calc(112px + var(--chat-offset)); height: min(640px, calc(100vh - 150px - var(--chat-offset))); }

@media (prefers-reduced-motion: reduce) { .chat-halo { animation: none; } }

/* "Ask ZNELK" name tag at the top of the greeting card */
.chat-greet-tag {
  margin: 0 0 10px;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

/* "Ask ZNELK" sits inside the turning halo */
.chat-word {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  font-size: 0.6rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5b3df5;
  text-shadow: 0 0 6px rgba(245, 246, 250, 0.9), 0 0 2px rgba(245, 246, 250, 0.9);
  pointer-events: none;
}
.chat-launcher:hover .chat-word { color: #4a2fd6; }
.chat-tip { display: none; }
.chat-greet-tag { display: none; }

/* No glow on the Ask ZNELK halo or its words */
.chat-halo { filter: none; }
.chat-word { text-shadow: none; }

/* Glassy greeting card and starter options */
.chat-bubbles {
  background: rgba(255, 255, 255, 0.52);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 50px rgba(30, 20, 90, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.chat-bubbles .chat-chip { border-top-color: rgba(11, 13, 20, 0.12); }
.chat-bubbles .chat-chip:first-of-type { border-top-color: rgba(11, 13, 20, 0.12); }

/* quick replies inside the open chat share the glass */
.chat-quick {
  background: rgba(255, 255, 255, 0.45);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .chat-bubbles { background: rgba(255, 255, 255, 0.94); }
  .chat-quick { background: var(--bg); }
}
.chat-bubbles { background: rgba(255, 255, 255, 0.7); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); }

/* ==========================================================================
   Greeting and starter options as separate glass bubbles
   ========================================================================== */

.chat-bubbles {
  align-items: flex-end;
  gap: 8px;
  width: auto;
  max-width: 340px;
  padding: 0;
  margin: 0 6px 6px 0;
  background: none;
  border: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.chat-greet-row { gap: 8px; margin: 0; align-items: center; }

.chat-greet,
.chat-bubbles .chat-chip {
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(30, 20, 90, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.chat-greet {
  padding: 13px 18px;
  font-size: 1.05rem;
  line-height: 1.2;
}

.chat-bubbles .chat-chip {
  width: auto;
  padding: 11px 16px;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.2), background-color 0.2s ease, box-shadow 0.2s ease;
}

.chat-bubbles .chat-chip:first-of-type { border-top: 1px solid rgba(255, 255, 255, 0.75); }
.chat-bubbles .chat-chip:hover { background: rgba(255, 255, 255, 0.85); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(30, 20, 90, 0.2), inset 0 1px 0 #fff; }

.chat-hide {
  width: 32px;
  height: 32px;
  margin: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.75);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .chat-greet, .chat-bubbles .chat-chip, .chat-hide { background: rgba(255, 255, 255, 0.95); }
}

/* The greeting bubble is violet glass */
.chat-greet {
  background: rgba(91, 61, 245, 0.82);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  box-shadow: 0 12px 34px rgba(91, 61, 245, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .chat-greet { background: #5b3df5; }
}

/* ==========================================================================
   Ask ZNELK: the open chat in the same glass-bubble language
   ========================================================================== */

.chat-panel {
  width: min(400px, calc(100vw - 32px));
  height: min(620px, calc(100vh - 230px - var(--chat-offset)));
  min-height: 380px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(247, 246, 252, 0.78);
  -webkit-backdrop-filter: blur(26px) saturate(1.6);
  backdrop-filter: blur(26px) saturate(1.6);
  box-shadow: 0 30px 80px rgba(40, 25, 120, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.chat-head {
  padding: 18px 20px 16px;
  background: rgba(91, 61, 245, 0.94);
  border-bottom: 0;
}

.chat-title { color: #fff; letter-spacing: 0.26em; }
.chat-sub { color: #dcd4ff; }
.chat-close { border-radius: 50%; color: #fff; background: rgba(255, 255, 255, 0.16); }
.chat-close:hover { background: rgba(255, 255, 255, 0.28); color: #fff; }

.chat-log { background: transparent; padding: 20px 18px 8px; gap: 10px; }

.chat-msg { max-width: 86%; padding: 11px 15px; font-size: 0.95rem; line-height: 1.45; }

.chat-msg-assistant {
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-left: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 18px 18px 18px 6px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(40, 25, 120, 0.08);
  padding-left: 15px;
}

.chat-msg-user {
  border: 0;
  border-radius: 18px 18px 6px 18px;
  background: rgba(91, 61, 245, 0.92);
  color: #fff;
  font-weight: 400;
  text-align: left;
  padding: 11px 15px;
  box-shadow: 0 8px 20px rgba(91, 61, 245, 0.28);
}

/* options: separate pills the visitor can tap */
.chat-quick {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  padding: 6px 18px 14px;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.chat-quick .chat-chip {
  display: inline-flex;
  width: auto;
  padding: 9px 15px;
  border: 1px solid rgba(91, 61, 245, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #4a2fd6;
  font: 500 0.88rem/1.25 var(--sans);
  box-shadow: 0 4px 14px rgba(40, 25, 120, 0.08);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.chat-quick .chat-chip:last-child { border-bottom: 1px solid rgba(91, 61, 245, 0.35); }
.chat-quick .chat-chip::after { display: none; }
.chat-quick .chat-chip:hover { background: #5b3df5; color: #fff; border-color: #5b3df5; transform: translateY(-1px); }

.chat-form {
  align-items: center;
  gap: 8px;
  margin: 0 14px 6px;
  padding: 5px 5px 5px 16px;
  border: 1px solid rgba(91, 61, 245, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
}

.chat-input { padding: 10px 0; }
.chat-input:focus-visible { box-shadow: none; }
.chat-form:focus-within { border-color: #5b3df5; }

.chat-send {
  width: 42px;
  height: 42px;
  min-height: 0;
  border-radius: 50%;
  background: #5b3df5;
}

.chat-send:hover { background: var(--ink); }

.chat-legal { background: transparent; padding: 6px 22px 14px; }

.chat-contact input { background: rgba(255, 255, 255, 0.8); border: 1px solid rgba(91, 61, 245, 0.25); border-radius: 12px; padding: 10px 12px; }
.chat-contact input:focus-visible { border-color: #5b3df5; box-shadow: none; }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .chat-panel { background: #f7f6fc; }
}

/* Type floor: labels and tags stay readable (12px minimum), tag lists 14px */
.see9-find, .loop9-idx, .s8-kick, .stat-source, .s8-go, .intel9-tag, .t8-idx, .footer7-head, .b8-label,
.mono-label, .ledger-what b, .xp-label, .notice-tag, .case9-label, .case9-meta p, .hero-kicker, .sec-label,
.tile-kicker, .intel9-watch, .ledger-note, .team9-r, .spec9-n, .lp-card-kicker, .lp-card-source, .status9 {
  font-size: 0.75rem;
}
.s8-tags li, .disciplines li, .ledger-list time { font-size: 0.875rem; }
.text-route, .s8-go { font-size: 0.75rem; }
.button, .button.button-small, .button.button-dark, .button.button-ghost, .button.button-light { font-size: 0.75rem; }

/* Ways to work together: two equal, separate halves */
.ways9 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--rule-strong);
}

.ways9-col { padding: clamp(26px, 3.4vw, 48px) clamp(20px, 3vw, 44px) clamp(28px, 3.6vw, 52px) 0; }
.ways9-col + .ways9-col { padding-left: clamp(20px, 3vw, 44px); padding-right: 0; border-left: 1px solid var(--rule); }

.ways9-idx { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.2em; color: var(--gold-ink); }

.ways9 h3 {
  margin-top: 18px;
  font-family: 'Geist', 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.ways9-lede { margin-top: 14px; max-width: 34ch; font-size: 1.08rem; color: var(--ink); }
.ways9 .t8-list { margin-top: 26px; }
.ways9-note { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 0.95rem; color: var(--ink-soft); }
.ways9-foot { margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--rule-strong); font-size: 1rem; color: var(--ink-soft); }

@media (max-width: 760px) {
  .ways9 { grid-template-columns: minmax(0, 1fr); }
  .ways9-col, .ways9-col + .ways9-col { padding: 26px 0 30px; border-left: 0; }
  .ways9-col + .ways9-col { border-top: 1px solid var(--rule-strong); }
}

/* ==========================================================================
   How ZNELK works as a small roadmap: four connected steps on one line
   ========================================================================== */

.road9 {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* the line that joins the steps */
.road9::before {
  content: '';
  position: absolute;
  left: 18px;
  right: 0;
  top: 17px;
  height: 1px;
  background: var(--ink);
}

.road9::after {
  content: '';
  position: absolute;
  right: 0;
  top: 13px;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
  transform: rotate(45deg);
}

.road9 > li { position: relative; padding: 0 0 6px; }

.road9-node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--bg);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink);
}

.road9 > li.is-last .road9-node { background: var(--accent); border-color: var(--accent); color: #fff; }

.road9 h3 {
  margin-top: 18px;
  font-family: 'Geist', 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.road9 > li.is-last h3 { color: var(--accent); }
.road9 p { margin-top: 8px; max-width: 24ch; font-size: 0.95rem; color: var(--ink-soft); }

/* two brackets: the first two steps are the consultancy, the last two feed the product */
.road9-brackets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin-top: 22px;
}

.road9-brackets span {
  padding-top: 8px;
  border-top: 1px solid var(--rule-strong);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.road9-brackets span:last-child { color: var(--accent); border-top-color: var(--accent); }

@media (max-width: 760px) {
  .road9 { grid-template-columns: minmax(0, 1fr); gap: 22px 0; }
  .road9::before { left: 17px; right: auto; top: 18px; bottom: 30px; width: 1px; height: auto; }
  .road9::after { display: none; }
  .road9 > li { padding-left: 54px; min-height: 36px; }
  .road9-node { position: absolute; left: 0; top: 0; }
  .road9 h3 { margin-top: 0; }
  .road9-brackets { display: none; }
}

.loop9-note { margin-top: 22px; font-size: 1rem; }

/* Ways to work together: the same roadmap, two connected steps */
.road9-two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 44px; }
.road9-two + .road9-brackets { gap: 0 44px; }
.road9-two p { max-width: none; }
.road9-lede { margin-top: 10px; font-size: 1.05rem; color: var(--ink); }
.road9-ex { margin-top: 12px; font-size: 0.9rem; line-height: 1.6; color: var(--ink-soft); }
.road9-end { margin-top: 12px; font-size: 0.9rem; color: var(--ink); }
.ways9-foot { margin-top: 26px; padding-top: 0; border-top: 0; }

/* Ruled rows: purple pixels on hover, on top of the dark fill */
.spec9 a .row-pixels {
  position: absolute;
  inset: 0 -22px;
  z-index: -1;
  width: calc(100% + 44px);
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.spec9 a:hover .row-pixels,
.spec9 a:focus-visible .row-pixels { opacity: 1; }
@media (max-width: 760px) { .spec9 a .row-pixels { inset: 0 -12px; width: calc(100% + 24px); } }

/* Ruled rows: the pixel field covers only the title end of the row, and the
   short description pops up on hover */
.spec9 a::before {
  inset: 0 auto 0 -22px;
  width: calc(56% + 22px);
}

.spec9 a .row-pixels {
  inset: 0 auto 0 -22px;
  width: calc(56% + 22px);
}

.spec9 a:hover,
.spec9 a:focus-visible { color: var(--ink); }

.spec9 a:hover .spec9-t,
.spec9 a:focus-visible .spec9-t { color: #fff; }

.spec9 a:hover .spec9-n,
.spec9 a:focus-visible .spec9-n { color: var(--gold-light); }

.spec9 .spec9-d {
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  transform-origin: left center;
  transition: opacity 0.3s ease 0.08s, transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.3) 0.08s;
}

.spec9 a:hover .spec9-d,
.spec9 a:focus-visible .spec9-d { opacity: 1; transform: none; color: var(--ink); }

/* no hover on touch screens, and phones stack the row: show the line */
@media (hover: none), (max-width: 760px) {
  .spec9 .spec9-d { opacity: 1; transform: none; }
  .spec9 a::before, .spec9 a .row-pixels { width: calc(100% + 24px); inset: 0 -12px; }
}

/* The pixel patch is exactly the number + title columns, so the description never overlaps it */
.spec9 a {
  --g: clamp(16px, 3vw, 44px);
  grid-template-columns: 64px minmax(0, 1.25fr) minmax(0, 0.8fr) 54px;
  column-gap: var(--g);
}

.spec9 a::before,
.spec9 a .row-pixels {
  position: absolute;
  grid-column: 1 / 3;
  grid-row: 1;
  inset: 0 calc(var(--g) / -2) 0 -22px;
  width: auto;
}

.spec9 .spec9-d { padding-left: 4px; }

@media (hover: none), (max-width: 760px) {
  .spec9 a { grid-template-columns: 44px minmax(0, 1fr); }
  .spec9 a::before, .spec9 a .row-pixels { grid-column: 1 / -1; inset: 0 -12px; }
}

/* Dark base with pixels in the arrow's purple-blue */
.spec9 a::before { background: var(--ink); }

/* canvas is a replaced element: give it the patch's exact size */
.spec9 a .row-pixels {
  inset: 0 auto 0 -22px;
  width: calc(100% + 22px + var(--g) / 2);
  height: 100%;
}
@media (hover: none), (max-width: 760px) {
  .spec9 a .row-pixels { inset: 0 -12px; width: calc(100% + 24px); }
}

/* The patch should span the full row height, padding included */
.spec9 a { --py: 26px; }
.spec9 a::before,
.spec9 a .row-pixels {
  top: calc(var(--py) * -1);
  bottom: calc(var(--py) * -1);
  height: auto;
}
.spec9 a .row-pixels { height: calc(100% + var(--py) * 2); bottom: auto; }
@media (max-width: 760px) { .spec9 a { --py: 22px; } }

/* ==========================================================================
   Specialisms on the home page: a dark pixel-field band, rows in light type
   ========================================================================== */

.spec-dark .spec9 { border-top-color: rgba(199, 184, 255, 0.35); }

.spec-dark .spec9 a {
  color: #f5f6fa;
  border-bottom-color: rgba(199, 184, 255, 0.18);
}

.spec-dark .spec9 a .row-pixels { display: none; }

.spec-dark .spec9 a::before {
  position: absolute;
  grid-column: 1 / -1;
  grid-row: 1;
  inset: calc(var(--py) * -1) -22px;
  width: auto;
  background: rgba(91, 61, 245, 0.62);
}

.spec-dark .spec9 .spec9-t { color: #f5f6fa; }
.spec-dark .spec9 .spec9-n { color: var(--gold-light); }
.spec-dark .spec9 .spec9-d { color: rgba(245, 246, 250, 0.88); }
.spec-dark .spec9 a:hover,
.spec-dark .spec9 a:focus-visible { color: #fff; }
.spec-dark .spec9 a:hover .spec9-d,
.spec-dark .spec9 a:focus-visible .spec9-d { color: #fff; }

.spec-dark .spec9-go { border-color: rgba(245, 246, 250, 0.45); color: #f5f6fa; }
.spec-dark .spec9 a:hover .spec9-go { background: #fff; border-color: #fff; color: var(--accent); }

.spec-dark .sec-head { border-top-color: rgba(199, 184, 255, 0.35); }
.spec-dark .more-row .text-route { color: #f5f6fa; border-color: #b9a7ff; }

/* section-wide pixel field behind the specialisms rows */
.spec-dark { position: relative; isolation: isolate; background: #0b0d14; }
.spec-dark .pixel-canvas { display: none; }
.spec-dark .sec-pixels { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.spec-dark > .wrap { position: relative; z-index: 1; }
.spec-dark .spec9 a::before { background: rgba(91, 61, 245, 0.85); }

/* quieter field, and a darker plate behind the headline and intro */
.spec-dark .sec-head { position: relative; isolation: isolate; }
.spec-dark .sec-head::before { content: none; }
.spec-dark .sec-label { color: #e6e2f5; }
.spec-dark .sec-head .sec-note { color: rgba(245, 246, 250, 0.9); }
.spec-dark .spec9 a::before { background: rgba(91, 61, 245, 0.88); }

/* Homepage hero headline in the same weight, tracking and leading as the sub landing pages */
.hero8 h1 {
  font-weight: 350;
  line-height: 1;
  letter-spacing: -0.055em;
}

/* What we do page: calm rows, no pixels or dark fill. The title turns violet and slides, the description appears. */
.hub9 .spec9 a::before,
.hub9 .spec9 a .row-pixels { display: none; }
.hub9 .spec9 a:hover,
.hub9 .spec9 a:focus-visible { color: var(--ink); }
.hub9 .spec9 .spec9-t { transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), color 0.3s ease; }
.hub9 .spec9 a:hover .spec9-t,
.hub9 .spec9 a:focus-visible .spec9-t { color: var(--accent); transform: translateX(14px); }
.hub9 .spec9 a:hover .spec9-n,
.hub9 .spec9 a:focus-visible .spec9-n { color: var(--gold-ink); }
.hub9 .spec9 a:hover .spec9-d,
.hub9 .spec9 a:focus-visible .spec9-d { color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) { .hub9 .spec9 a:hover .spec9-t { transform: none; } }

/* Services column of the menu panel: grouped like the What we do page */
.mega-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.mega-group + .mega-group { margin-top: 22px; }
.mega-sub {
  margin: 0 0 8px;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Compact menu panel: names only, three short columns */
@media (min-width: 1141px) {
  .mega-inner { padding: 28px clamp(20px, 4vw, 56px) 32px; gap: clamp(28px, 4vw, 64px); }
  .mega-inner { grid-template-columns: minmax(0, 0.7fr) minmax(0, 2.1fr) minmax(0, 0.9fr); }
  .mega-groups { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 20px; }
  .mega .mega-list a { font-size: 0.92rem; }
  .mega .mega-list a small { display: none; }
  .mega .mega-list a { padding-block: 5px; }
  .mega-intro h2 { font-size: 1.45rem; }
  .mega-intro p { font-size: 0.95rem; }
  .mega .mega-head { margin-bottom: 10px; padding-bottom: 8px; }
}

/* What we do page: tighter rhythm */
.hub9 { padding-block: clamp(44px, 6vw, 84px); }
.hub9 .hub-group { margin-bottom: clamp(36px, 4.5vw, 60px); }
.hub9 .hub-group:last-child { margin-bottom: 0; }
.hub9 .hub-group-head { margin-bottom: 18px; row-gap: 8px; }
.hub9 .hub-group-head h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.hub9 .hub-group-head p { font-size: 0.98rem; }
.hub9 .spec9 a { padding: 13px 0; grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, 1fr) 44px; }
.hub9 .spec9-t { font-size: clamp(1.3rem, 2.1vw, 2rem); }
.hub9 .spec9-lead .spec9-t { font-size: clamp(1.3rem, 2.1vw, 2rem); }
.hub9 .spec9-go { width: 38px; height: 38px; }

/* What we do hero: ink painting at the right, the three outcomes along the bottom */
.hub-hero .wrap { position: relative; }
.hub-hero .ab9-trail { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ab9-trail 4.2s cubic-bezier(.45,.1,.25,1) 1.4s forwards; }
.hub-hero .ab9-summit { opacity: 0; animation: ab9-summit 1.6s ease 4.8s forwards; }
@keyframes ab9-trail { to { stroke-dashoffset: 0; } }
@keyframes ab9-summit { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hub-hero .ab9-trail { stroke-dashoffset: 0; animation: none; }
  .hub-hero .ab9-summit { opacity: 1; animation: none; }
}
.hub-three {
  list-style: none; margin: clamp(40px, 6vw, 80px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--rule-strong);
}
.hub-three li + li { border-left: 1px solid var(--rule); }
.hub-three a { display: block; padding: 22px 24px 0; color: var(--ink); text-decoration: none; }
.hub-three li:first-child a { padding-left: 0; }
.hub-three-n { display: block; font-size: 0.72rem; letter-spacing: 0.16em; color: var(--gold-ink); }
.hub-three-t { display: block; margin-top: 10px; font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 2.9rem); line-height: 1; transition: color 0.3s ease, transform 0.45s cubic-bezier(.2,.7,.2,1); }
.hub-three-d { display: block; margin-top: 12px; max-width: 30ch; font-size: 0.92rem; line-height: 1.5; color: var(--ink-soft); }
.hub-three a:hover .hub-three-t, .hub-three a:focus-visible .hub-three-t { color: var(--accent); transform: translateX(10px); }
@media (max-width: 760px) {
  .hub-three { grid-template-columns: minmax(0, 1fr); }
  .hub-three li + li { border-left: 0; border-top: 1px solid var(--rule); }
  .hub-three a, .hub-three li:first-child a { padding: 18px 0; }
}

/* What we do: the short line beside each group heading, small caps in violet */
.hub9 .hub-group-head p {
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  max-width: 46ch;
}

.mega-head-2 { margin-top: 26px; }

/* What we do: three ways to work together. Three ruled columns on desktop, numbered rows on phones. */
.ways3 { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.ways3-n { user-select: none; }
.ways3 h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.05; letter-spacing: -0.01em; }
.ways3 p { margin: 0; font-size: 0.98rem; line-height: 1.55; color: var(--ink-soft); }
.ways3-go { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); text-decoration: none; white-space: nowrap; padding-bottom: 4px; border-bottom: 1px solid var(--accent); }
.ways3-go:hover { color: var(--ink); border-color: var(--ink); }

@media (min-width: 861px) {
  .ways3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ways3 li { display: flex; flex-direction: column; align-items: flex-start; padding: 24px 28px 8px; }
  .ways3 li:first-child { padding-left: 0; }
  .ways3 li + li { border-left: 1px solid var(--rule); }
  .ways3-n { font-size: 0.72rem; letter-spacing: 0.16em; color: var(--gold-ink); }
  .ways3 h3 { margin-top: 10px; font-size: clamp(1.7rem, 2.8vw, 2.5rem); }
  .ways3 p { margin: 12px 0 18px; max-width: 32ch; }
  .ways3-go { margin-top: auto; }
}

@media (max-width: 860px) {
  .ways3 li {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    gap: 6px 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--rule);
  }
  .ways3-n { grid-row: 1 / span 3; font-family: var(--serif); font-size: 3rem; line-height: 0.9; color: transparent; -webkit-text-stroke: 1px var(--gold-ink); }
  .ways3 h3 { font-size: 1.6rem; }
  .ways3 p { max-width: 46ch; }
  .ways3-go { justify-self: start; margin-top: 6px; }
}

/* A section label promoted to a heading keeps the label look */
.band h2.sec-label { font: inherit; font-size: 0.75rem; font-weight: 600; line-height: 1.6; letter-spacing: 0.16em; text-transform: uppercase; }

/* 404 */
#not-found { padding-block: clamp(96px, 16vh, 180px); }
#not-found h1 { max-width: 17ch; margin: 22px 0 0; font-size: clamp(2.6rem, 6vw, 5.6rem); line-height: 1.02; }
#not-found .lp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
