/* RSOL Technology — Growth Monograph
   UI/UX Pro Max editorial system, reconciled with the locked RSOL identity. */

:root {
  --folio-gutter: clamp(1.25rem, 4vw, 4rem);
  --chapter-rule: rgba(10, 13, 18, .22);
  --type-route-title: clamp(3.75rem, 7vw, 7.25rem);
}

/* Core-page storytelling additions: shared brief, capability route, response path. */
.team-section--about .team-brief {
  display: grid;
  grid-template-columns: minmax(190px, .72fr) minmax(180px, 1fr) minmax(190px, .72fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  margin-top: clamp(2rem, 4vw, 3.5rem);
  padding: clamp(1.1rem, 2.2vw, 1.75rem);
  border: 1px solid var(--ink);
  background: var(--paper-2);
  box-shadow: 10px 12px 0 var(--cyan);
}
.team-brief__source, .team-brief__result { display: grid; gap: .45rem; }
.team-brief__source span, .team-brief__result span { color: var(--cyan-dark); font: 650 .72rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.team-brief__source strong, .team-brief__result strong { font: 650 clamp(1rem, 1.5vw, 1.25rem)/1.2 var(--display); }
.team-brief__line { position: relative; display: flex; justify-content: space-between; align-items: center; min-height: 32px; }
.team-brief__line::before, .team-brief__line::after { content: ""; position: absolute; top: 50%; height: 1px; background: var(--ink); }
.team-brief__line::before { left: 0; right: 50%; }
.team-brief__line::after { left: 50%; right: 0; }
.team-brief__line i { z-index: 1; width: 9px; height: 9px; border: 1px solid var(--ink); background: var(--paper); transform: rotate(45deg); }
.team-brief__line i:nth-child(3) { width: 15px; height: 15px; background: var(--cyan); }

.capability-route { overflow: hidden; }
.capability-route__heading { display: grid; grid-template-columns: minmax(0, .9fr) minmax(280px, .7fr); gap: clamp(2rem, 7vw, 7rem); align-items: end; margin-bottom: clamp(3rem, 6vw, 5.5rem); }
.capability-route__heading h2 { max-width: 12ch; margin-bottom: 0; color: var(--on-ink); }
.capability-route__heading .lead { margin: 0; color: var(--on-ink-muted); }
.capability-route__map { display: grid; grid-template-columns: minmax(0, 1fr) minmax(70px, .3fr) minmax(0, 1.2fr) minmax(70px, .3fr) minmax(0, 1fr); align-items: stretch; }
.capability-route__node { min-height: 240px; display: flex; flex-direction: column; padding: clamp(1.25rem, 2.5vw, 2rem); border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.035); }
.capability-route__node--system { border-color: var(--cyan); background: var(--cyan); color: var(--ink); box-shadow: 12px 14px 0 rgba(51,199,224,.18); }
.capability-route__node > span { margin-bottom: auto; color: var(--cyan); font: 650 .72rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.capability-route__node--system > span { color: var(--utility-on-cyan); }
.capability-route__node > strong { max-width: 13ch; font: 650 clamp(1.4rem, 2.4vw, 2.3rem)/1.02 var(--display); }
.capability-route__node > small { max-width: 29ch; margin-top: 1rem; color: var(--on-ink-muted); font-size: .85rem; }
.capability-route__chips { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 1.2rem; }
.capability-route__chips i { min-height: 34px; display: grid; place-items: center; border: 1px solid var(--ink); font: 650 .62rem/1 var(--mono); font-style: normal; }
.capability-route__connector { position: relative; min-height: 1px; }
.capability-route__connector::before { content: ""; position: absolute; top: 50%; right: 0; left: 0; height: 1px; background: rgba(255,255,255,.55); }
.capability-route__connector::after { content: ""; position: absolute; top: calc(50% - 4px); right: 0; width: 8px; height: 8px; border-top: 1px solid var(--cyan); border-right: 1px solid var(--cyan); transform: rotate(45deg); }
.capability-route__connector i { position: absolute; z-index: 1; top: calc(50% - 4px); left: calc(50% - 4px); width: 9px; height: 9px; background: var(--cyan); transform: rotate(45deg); }

.contact-response { padding: clamp(2.5rem, 5vw, 4.5rem) 0; border-block: 1px solid var(--ink); background: var(--cyan); }
.contact-response__heading { display: grid; grid-template-columns: minmax(220px, .6fr) minmax(0, 1.4fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.contact-response__heading h2 { max-width: 18ch; margin: 0; }
.contact-response__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; border-top: 1px solid var(--ink); list-style: none; }
.contact-response__steps li { min-height: 210px; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 1rem; padding: 1.5rem 1.5rem 1.5rem 0; border-bottom: 1px solid var(--ink); }
.contact-response__steps li + li { padding-left: 1.5rem; border-left: 1px solid var(--ink); }
.contact-response__steps span { font: 650 .72rem/1.2 var(--mono); }
.contact-response__steps div { display: flex; flex-direction: column; }
.contact-response__steps strong { max-width: 14ch; font: 650 clamp(1.2rem, 2vw, 1.75rem)/1.1 var(--display); }
.contact-response__steps p { margin: auto 0 0; color: rgba(10,13,18,.72); font-size: .9rem; }

@media (max-width: 900px) {
  .capability-route__heading { grid-template-columns: 1fr; }
  .capability-route__map { grid-template-columns: 1fr; }
  .capability-route__node { min-height: 210px; }
  .capability-route__connector { min-height: 72px; }
  .capability-route__connector::before { top: 0; bottom: 0; left: 50%; width: 1px; height: auto; }
  .capability-route__connector::after { top: auto; right: auto; bottom: 1px; left: calc(50% - 4px); transform: rotate(135deg); }
  .capability-route__connector i { top: calc(50% - 4px); left: calc(50% - 4px); }
}
@media (max-width: 820px) {
  .contact-response__heading, .contact-response__steps { grid-template-columns: 1fr; }
  .contact-response__steps li { min-height: 0; }
  .contact-response__steps li + li { padding-left: 0; border-left: 0; }
  .contact-response__steps p { margin-top: 1.5rem; }
}
@media (max-width: 760px) {
  .team-section--about .team-brief { grid-template-columns: 1fr; }
  .team-brief__line { min-height: 48px; flex-direction: column; }
  .team-brief__line::before, .team-brief__line::after { top: 0; bottom: 0; left: 50%; right: auto; width: 1px; height: auto; }
  .team-brief__line::after { display: none; }
}
@media (max-width: 520px) {
  .capability-route__chips { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .capability-route__chips i { font-size: .56rem; }
}

html { background: var(--ink); }
body { min-width: 320px; }
main { counter-reset: monograph-chapter; }
a, button, summary { -webkit-tap-highlight-color: rgba(51, 199, 224, .24); }
button, summary, [role="button"] { cursor: pointer; }

/* Sticky editorial top bar ------------------------------------------------- */
@media (min-width: 861px) {
  html { scroll-padding-top: 94px; }

  .site-header {
    position: sticky;
    inset: 0 auto auto;
    width: 100%;
    height: auto;
    border: 0;
    border-bottom: 1px solid var(--rule-dark);
  }

  .site-header::after { content: none; }

  .site-header__inner {
    width: min(100%, var(--max));
    min-height: 78px;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: clamp(1.25rem, 2.25vw, 2.5rem);
    margin-inline: auto;
    padding: 0 var(--gutter);
  }

  .site-logo { order: 0; padding: 0; border: 0; }
  .logo-lockup { align-items: center; }
  .logo-lockup__mark { width: 42px; height: 42px; }
  .logo-lockup__name { font-size: 1.45rem; }

  .primary-nav {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(.75rem, 1.6vw, 1.5rem);
    margin: 0 0 0 auto;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }
  .primary-nav.is-open { visibility: visible; opacity: 1; pointer-events: auto; }
  .primary-nav__list { flex-direction: row; align-items: center; justify-content: flex-end; gap: clamp(1rem, 2.2vw, 2.25rem); }
  .primary-nav__list li,
  .primary-nav__list li:last-child { border: 0; }
  .primary-nav__list a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: .35rem 0;
    font-family: var(--display);
    font-size: .88rem;
    letter-spacing: 0;
    text-transform: none;
  }
  .primary-nav__list a::before { content: none; }
  .primary-nav__list a::after { right: 0; width: auto; }

  .nav-toggle {
    order: 3;
    width: auto;
    min-width: 92px;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: .7rem;
    margin-left: 0;
    padding: .65rem 0 .65rem .8rem;
    border: 0;
    color: var(--on-ink);
    font: 600 .72rem/1 var(--mono);
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .nav-toggle__label--close { display: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__label--open { display: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__label--close { display: inline; }

  .header-cta {
    order: 2;
    flex: 0 0 auto;
    width: auto;
    min-height: 48px;
    display: inline-flex;
    margin: 0;
    padding-inline: 1.25rem;
    text-align: center;
    white-space: nowrap;
  }

  .site-progress {
    inset: auto 0 -1px;
    width: 100%;
    height: 2px;
    transform: scaleX(var(--site-progress, 0));
    transform-origin: left;
  }

  main, .site-footer { margin-left: 0; }
  .skip-link:focus { left: 0; }

  html.no-js .nav-toggle { display: none; }
  html.no-js .primary-nav { visibility: visible; opacity: 1; pointer-events: auto; }
}

@media (min-width: 861px) and (max-width: 1100px) {
  .primary-nav { gap: .75rem; }
  .primary-nav__list { gap: clamp(.65rem, 1.2vw, 1rem); }
  .primary-nav__list a { font-size: .78rem; }
  .header-cta { min-height: 44px; padding-inline: .9rem; font-size: .78rem; }
}

/* Cover system ------------------------------------------------------------ */
.work-hero {
  min-height: min(920px, 100dvh);
  display: flex;
  align-items: stretch;
  padding: 0;
  background: var(--cyan);
  color: var(--ink);
}
.work-hero::before {
  opacity: .16;
  background-image:
    linear-gradient(rgba(10,13,18,.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,13,18,.15) 1px, transparent 1px);
  background-size: 100% 72px, 72px 100%;
}
.work-hero__frame { width: 100%; display: flex; }
.work-sheet, .work-sheet--proof-first {
  width: 100%;
  overflow: visible;
  display: flex;
  flex-direction: column;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ink);
}
.work-sheet__meta {
  min-height: 76px;
  align-items: center;
  margin-inline: var(--gutter);
  padding: 1rem 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.work-sheet__meta dl > div, .work-sheet__meta small { border-color: rgba(10,13,18,.32); }
.work-sheet__meta dt, .work-sheet__meta small { color: rgba(10,13,18,.68); }
.signal-square { background: var(--ink); }

.work-hero__main, .work-hero__main--simple {
  flex: 1;
  min-height: 0;
  display: grid;
  align-content: center;
  padding: clamp(4rem, 8vw, 8rem) var(--gutter) clamp(3rem, 6vw, 6rem);
  background: transparent;
}
.work-hero__main--simple::after {
  content: "ISSUE 01 / BUSINESS GROWTH";
  align-self: end;
  justify-self: end;
  margin-top: 3rem;
  font: 600 .66rem/1 var(--mono);
  letter-spacing: .13em;
}
.work-hero__copy { max-width: 1180px; }
.work-hero__copy .sheet-kicker { color: var(--ink); }
.work-hero__copy .sheet-kicker::before { width: 40px; }
.work-hero__copy h1, .work-hero__main--simple .work-hero__copy h1 {
  max-width: 11ch;
  font-size: clamp(4rem, 8.6vw, 9rem);
  line-height: .82;
  letter-spacing: -.04em;
}
.work-hero__copy > p {
  max-width: 54ch;
  margin-top: 2rem;
  color: rgba(10,13,18,.76);
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
}
.work-hero__assurance { color: rgba(10,13,18,.7) !important; }
.work-hero__actions .btn-primary { border-color: var(--ink); background: var(--ink); color: var(--cyan); }
@media (hover: hover) and (pointer: fine) {
  .work-hero__actions .btn-primary:hover { background: var(--white); color: var(--ink); box-shadow: 7px 7px 0 var(--ink); }
}
.work-hero__actions .text-action { color: var(--ink); }

/* Homepage cover: keep the content sheet clear while preserving its depth.
   The legacy back-sheet crossed the cover at intermediate widths, so depth is
   drawn as a contained bottom shadow instead of another overlapping layer. */
.home .work-sheet,
.home .work-sheet--proof-first {
  overflow: hidden;
  border-radius: 3px;
  background: var(--paper);
}
.home .work-hero__frame::before { display: none; }
@media (min-width: 861px) {
  .home .work-sheet,
  .home .work-sheet--proof-first {
    box-shadow:
      0 14px 24px rgba(220,225,228,.72),
      0 34px 68px -18px rgba(10,13,18,.28);
  }
  .home .work-hero__frame::after { display: block; background: var(--ink); }
}

.page-hero {
  min-height: clamp(560px, 72vh, 820px);
  display: flex;
  align-items: center;
  padding-block: clamp(5rem, 9vw, 9rem);
  background: var(--cyan);
  border-bottom: 1px solid var(--ink);
}
.page-hero::before {
  content: "RSOL / FIELD NOTE";
  position: absolute;
  top: 2rem;
  right: var(--gutter);
  font: 600 .65rem/1 var(--mono);
  letter-spacing: .12em;
}
.page-hero::after { width: clamp(110px, 18vw, 280px); height: 10px; background: var(--ink); }
.page-hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(270px, .42fr); align-items: center; }
.page-hero__copy h1 { max-width: 11ch; font-size: var(--type-route-title); line-height: .86; letter-spacing: -.04em; }
.page-hero__copy .lead { max-width: 50ch; color: rgba(10,13,18,.73); }
.page-hero .eyebrow { color: var(--ink); }
.page-hero__signal { border: 1px solid var(--ink); background: rgba(255,255,255,.28); box-shadow: 14px 16px 0 var(--ink) !important; }
.page-hero__signal::after { background: var(--white); box-shadow: none; }

/* Interior chapters share the cyan cover stock but not one repeated layout.
   Each artifact translates the route's job into a publication object: a
   charter, connected map, gatefold, edition stack, or project brief. */
.page-hero--about::before { content: "RSOL / PARTNERSHIP NOTE"; }
.page-hero--services::before { content: "RSOL / CAPABILITY MAP"; }
.page-hero--process::before { content: "RSOL / METHOD GATEFOLD"; }
.page-hero--pricing::before { content: "RSOL / EDITION GUIDE"; }
.page-hero--contact::before { content: "RSOL / PROJECT BRIEF"; }

.page-hero--about .page-hero__grid {
  grid-template-columns: minmax(0, .95fr) minmax(390px, .68fr);
  align-items: end;
}
.page-hero--about .page-hero__visual { min-height: 420px; align-self: end; }
.page-hero--about .page-hero__visual::before { inset: 8% 4% 14% 0; }
.page-hero--about .page-hero__visual::after { top: 8%; right: 0; width: 54%; height: 34%; }
.page-hero--about .page-hero__artifact { width: min(100%, 520px); }
.page-hero--about .hero-charter {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--paper);
  box-shadow: 14px 16px 0 var(--ink), 0 30px 54px rgba(10,13,18,.14);
  transform: rotate(-2.25deg);
}
.page-hero--about .hero-charter span {
  min-height: 108px;
  align-content: end;
  border-right: 1px solid var(--rule);
  border-bottom: 0;
}
.page-hero--about .hero-charter span:nth-child(2) { border-right: 0; }
.page-hero--about .hero-charter strong { grid-column: 1 / -1; }

.page-hero--services .page-hero__grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .7fr);
  gap: clamp(2.5rem, 5vw, 6rem);
}
.page-hero--services .page-hero__copy h1 {
  max-width: 13ch;
  font-size: clamp(4rem, 6.4vw, 6.6rem);
}
.page-hero--services .page-hero__visual { min-height: 460px; }
.page-hero--services .page-hero__visual::before { inset: 2% 4% 4%; }
.page-hero--services .page-hero__visual::after { top: 0; right: 0; width: 62%; height: 32%; }
.page-hero--services .page-hero__artifact { width: min(100%, 560px); }
.page-hero--services .hero-service-console {
  padding: clamp(1rem, 2.2vw, 1.4rem);
  border: 1px solid var(--ink);
  background: rgba(255,255,255,.92);
  box-shadow: 14px 16px 0 var(--ink), 0 30px 48px rgba(10,13,18,.16);
}
.page-hero--services .hero-service-console header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 .15rem .8rem;
  color: rgba(10,13,18,.66);
  font: 600 .64rem/1.25 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.page-hero--services .hero-service-console__tracks {
  border-top: 1px solid var(--ink);
}
.page-hero--services .hero-service-console__tracks span {
  display: grid;
  grid-template-columns: minmax(7.8rem, .62fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  min-height: 38px;
  border-bottom: 1px solid rgba(10,13,18,.18);
}
.page-hero--services .hero-service-console__tracks b {
  font: 550 .74rem/1.2 var(--mono);
  letter-spacing: .025em;
}
.page-hero--services .hero-service-console__tracks i {
  position: relative;
  height: 1px;
  background: rgba(10,13,18,.34);
}
.page-hero--services .hero-service-console__tracks i::before,
.page-hero--services .hero-service-console__tracks i::after {
  content: "";
  position: absolute;
}
.page-hero--services .hero-service-console__tracks i::before {
  top: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--cyan-dark);
  transform: scaleX(var(--route-scale, .72));
  transform-origin: left;
  transition: transform 360ms var(--motion-state, cubic-bezier(.2, 0, 0, 1));
}
.page-hero--services .hero-service-console__tracks i::after {
  top: -4px;
  right: 0;
  width: 8px;
  height: 8px;
  border: 1px solid var(--ink);
  background: var(--cyan);
}
.page-hero--services .hero-service-console__tracks span:nth-child(1) { --route-scale: .54; }
.page-hero--services .hero-service-console__tracks span:nth-child(2) { --route-scale: .67; }
.page-hero--services .hero-service-console__tracks span:nth-child(3) { --route-scale: .82; }
.page-hero--services .hero-service-console__tracks span:nth-child(4) { --route-scale: .61; }
.page-hero--services .hero-service-console__tracks span:nth-child(5) { --route-scale: .74; }
.page-hero--services .hero-service-console__tracks span:nth-child(6) { --route-scale: .46; }
.page-hero--services .hero-service-console__tracks span:nth-child(7) { --route-scale: .70; }
.page-hero--services .hero-service-console__tracks span:nth-child(8) { --route-scale: .88; }
.page-hero--services .hero-service-console > strong {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
  padding: .9rem 1rem;
  background: var(--ink);
  color: var(--on-ink);
  font: 650 clamp(1.05rem, 2.2vw, 1.5rem)/1 var(--display);
  letter-spacing: -.02em;
  transition: transform 360ms var(--ease), box-shadow 360ms var(--ease);
}
.page-hero--services .hero-service-console > strong small {
  color: var(--cyan);
  font: 600 .63rem/1.25 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.page-hero--process {
  min-height: 0;
  padding-block: clamp(4.5rem, 6vw, 5rem) clamp(3rem, 4vw, 4rem);
}
.page-hero--process .page-hero__grid {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.75rem, 3vw, 2.5rem);
  align-content: center;
}
.page-hero--process .page-hero__copy { max-width: 940px; }
.page-hero--process .page-hero__copy h1 { max-width: 13ch; }
.page-hero--process .page-hero__visual { width: 100%; min-height: 160px; }
.page-hero--process .page-hero__visual::before { inset: 8% 1% 0 4%; }
.page-hero--process .page-hero__visual::after { top: -12%; right: 2%; width: 26%; height: 58%; }
.page-hero--process .page-hero__artifact { width: 100%; }
.page-hero--process .hero-ledger {
  grid-template-columns: repeat(9, minmax(0, 1fr));
  background: var(--paper);
  box-shadow: 16px 18px 0 var(--ink), 0 28px 52px rgba(10,13,18,.14);
  transform: rotate(.45deg);
}
.page-hero--process .hero-ledger span {
  position: relative;
  min-height: 72px;
  overflow: hidden;
  border-bottom: 0;
  animation: process-gatefold-cell 760ms var(--motion-enter, cubic-bezier(.16,1,.3,1)) both;
}
.page-hero--process .hero-ledger span::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: var(--cyan-dark);
  transform: scaleX(0);
  transform-origin: left;
  animation: process-gatefold-signal 840ms var(--motion-enter, cubic-bezier(.16,1,.3,1)) both;
}
.page-hero--process .hero-ledger span:nth-child(1) { animation-delay: 40ms; }
.page-hero--process .hero-ledger span:nth-child(2) { animation-delay: 80ms; }
.page-hero--process .hero-ledger span:nth-child(3) { animation-delay: 120ms; }
.page-hero--process .hero-ledger span:nth-child(4) { animation-delay: 160ms; }
.page-hero--process .hero-ledger span:nth-child(5) { animation-delay: 200ms; }
.page-hero--process .hero-ledger span:nth-child(6) { animation-delay: 240ms; }
.page-hero--process .hero-ledger span:nth-child(7) { animation-delay: 280ms; }
.page-hero--process .hero-ledger span:nth-child(8) { animation-delay: 320ms; }
.page-hero--process .hero-ledger span:nth-child(9) { animation-delay: 360ms; }
.page-hero--process .hero-ledger span:nth-child(1)::after { animation-delay: 40ms; }
.page-hero--process .hero-ledger span:nth-child(2)::after { animation-delay: 80ms; }
.page-hero--process .hero-ledger span:nth-child(3)::after { animation-delay: 120ms; }
.page-hero--process .hero-ledger span:nth-child(4)::after { animation-delay: 160ms; }
.page-hero--process .hero-ledger span:nth-child(5)::after { animation-delay: 200ms; }
.page-hero--process .hero-ledger span:nth-child(6)::after { animation-delay: 240ms; }
.page-hero--process .hero-ledger span:nth-child(7)::after { animation-delay: 280ms; }
.page-hero--process .hero-ledger span:nth-child(8)::after { animation-delay: 320ms; }
.page-hero--process .hero-ledger span:nth-child(9)::after { animation-delay: 360ms; }
.page-hero--process .hero-ledger span:nth-child(3n) { border-right: 1px solid var(--rule); }
.page-hero--process .hero-ledger span:nth-child(9) { border-right: 0; }

@keyframes process-gatefold-cell {
  from { opacity: .2; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes process-gatefold-signal {
  0% { transform: scaleX(0); transform-origin: left; }
  55% { transform: scaleX(1); transform-origin: left; }
  56% { transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}

.page-hero--pricing .page-hero__grid {
  grid-template-columns: minmax(0, 1fr) minmax(390px, .7fr);
  gap: clamp(3rem, 6vw, 7rem);
}
.page-hero--pricing .page-hero__visual { min-height: 470px; }
.page-hero--pricing .page-hero__visual::before { inset: 6% 2% 8% 12%; }
.page-hero--pricing .page-hero__visual::after { top: 0; right: 4%; width: 48%; height: 28%; }
.page-hero--pricing .page-hero__artifact { width: min(100%, 500px); }
.page-hero--pricing .hero-fit {
  gap: .85rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.page-hero--pricing .hero-fit span {
  min-height: 68px;
  padding: .85rem 1rem;
  border: 1px solid var(--ink);
  background: var(--paper);
  box-shadow: 9px 10px 0 var(--ink);
}
.page-hero--pricing .hero-fit span:nth-child(1) { width: 76%; transform: translateX(0); }
.page-hero--pricing .hero-fit span:nth-child(2) { width: 84%; transform: translateX(5%); }
.page-hero--pricing .hero-fit span:nth-child(3) { width: 92%; transform: translateX(9%); }
.page-hero--pricing .hero-fit span:nth-child(4) { width: 100%; transform: translateX(13%); background: var(--ink); color: var(--on-ink); box-shadow: 9px 10px 0 var(--white); }
.page-hero--pricing .hero-fit span:nth-child(4) i { box-shadow: 5px 5px 0 var(--white); }

.page-hero--contact .page-hero__grid {
  grid-template-columns: minmax(300px, .56fr) minmax(0, 1.08fr);
  grid-template-areas: "visual copy";
  gap: clamp(3rem, 8vw, 9rem);
}
.page-hero--contact .page-hero__copy { grid-area: copy; }
.page-hero--contact .page-hero__copy h1 {
  max-width: 13ch;
  overflow-wrap: normal;
  word-break: normal;
}
.page-hero--contact .page-hero__visual { grid-area: visual; min-height: 440px; }
.page-hero--contact .page-hero__visual::before { inset: 4% 10% 12% 0; }
.page-hero--contact .page-hero__visual::after { top: 4%; right: 1%; width: 52%; height: 30%; }
.page-hero--contact .page-hero__artifact { width: min(100%, 390px); }
.page-hero--contact .hero-brief {
  box-shadow: -14px 16px 0 var(--ink), 0 30px 54px rgba(10,13,18,.14);
  transform: rotate(2deg);
}
.page-hero--contact .hero-brief span { min-height: 66px; align-content: center; }

/* Numbered editorial chapters -------------------------------------------- */
.sheet-section, main > .section:not(.page-hero):not(.final-cta) {
  counter-increment: monograph-chapter;
}
.sheet-section__inner, main > .section:not(.page-hero):not(.final-cta) > .container {
  position: relative;
}
.sheet-section__inner::before,
main > .section:not(.page-hero):not(.final-cta) > .container::before {
  content: "CHAPTER " counter(monograph-chapter, decimal-leading-zero);
  position: absolute;
  top: 1.2rem;
  right: var(--gutter);
  color: var(--muted);
  font: 600 .62rem/1 var(--mono);
  letter-spacing: .12em;
}
.sheet-section__inner { border-top-color: var(--chapter-rule); }
.sheet-heading { margin-bottom: clamp(3.5rem, 7vw, 7rem); }
.sheet-heading h2 { max-width: 14ch; font-size: clamp(2.65rem, 5.1vw, 5.5rem); line-height: .92; letter-spacing: -.04em; }
.sheet-heading--split { grid-template-columns: minmax(0, 1.2fr) minmax(260px, .52fr); }
.sheet-heading--split p { align-self: end; }
.eyebrow, .sheet-kicker, .work-state { letter-spacing: .12em; }

/* Evidence plates and operating indexes --------------------------------- */
.client-exhibits { gap: clamp(5rem, 10vw, 10rem); }
.client-exhibit { position: relative; }
.client-exhibit::before {
  content: "EVIDENCE PLATE";
  position: absolute;
  top: -1.7rem;
  right: 0;
  color: var(--muted);
  font: 600 .62rem/1 var(--mono);
  letter-spacing: .12em;
}
.client-exhibit__browser { border-radius: 0; box-shadow: 18px 20px 0 var(--cyan), 0 34px 64px rgba(10,13,18,.14); }
.client-exhibit:nth-child(even) .client-exhibit__browser { box-shadow: -18px 20px 0 var(--ink), 0 34px 64px rgba(10,13,18,.16); }
.preview-loader__scrim { background: linear-gradient(90deg, rgba(10,13,18,.96), rgba(10,13,18,.78) 48%, rgba(10,13,18,.08)); }

.method-work__list { border-top-width: 2px; }
.method-work__list li { min-height: 92px; padding-block: 1.8rem; }
.method-work__list li.is-decision { box-shadow: 12px 14px 0 var(--cyan); }
.capability-pillar { min-height: 190px; padding-block: clamp(2rem, 4vw, 4rem); }
.capability-pillar__number, .method-work__number { font-size: .68rem; letter-spacing: .12em; }
.service-group-heading { padding-top: clamp(5rem, 9vw, 9rem); }
.service-block__summary { min-height: 126px; }
.service-block[open] { box-shadow: 12px 14px 0 var(--cyan); }

.package-card, .package-guide article, .case-summary, .booking-form { border-radius: 0; }
.package-card { min-height: 100%; }
.package-card--recommended { background: var(--ink); color: var(--on-ink); }
.package-card--recommended p, .package-card--recommended li { color: var(--on-ink-muted); }
.case-summary { border-color: var(--ink); }
.booking-form { box-shadow: 12px 14px 0 var(--paper-2); }
.booking-form:focus-within { box-shadow: 12px 14px 0 var(--cyan), 0 24px 44px rgba(10,13,18,.12); }

.team-card { min-height: 290px; }
.team-card__mark { margin-bottom: 5rem; }
.faq-item__question { min-height: 94px; }
.faq-item__icon, .service-block__toggle { border-radius: 0; }

/* Closing issue ----------------------------------------------------------- */
.final-cta { min-height: clamp(480px, 58vh, 680px); display: flex; align-items: center; }
.final-cta::after { height: 12px; }
.final-cta__copy h2 { max-width: 12ch; font-size: clamp(3rem, 6vw, 6rem); line-height: .9; letter-spacing: -.04em; }
.site-footer { padding-top: clamp(5rem, 8vw, 8rem); }
.site-footer__grid { grid-template-columns: 1.3fr repeat(3, .55fr); }
.site-footer__brand .logo-lockup { margin-bottom: 2rem; }
.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.5rem;
  margin-top: 1.75rem;
}
.site-footer__social a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border-bottom: 1px solid rgba(51, 199, 224, .5);
  font-family: var(--display);
  font-weight: 650;
}
.site-footer__links a { min-width: 44px; }

/* Homepage restraint pass ------------------------------------------------
   Framing is reserved for the hero, interactive system, client evidence,
   and closing CTA. Supporting sections rely on space and typography. */
.home .sheet-section__inner { border-top: 0; }
.home .sheet-section__inner::before { display: none; }
.home .sheet-heading--split p { padding-top: 0; border-top: 0; }

/* The dark plate follows the active outcome instead of remaining fixed. */
.home .diagnosis-outcome,
.home .diagnosis-outcome.is-current {
  border: 0;
  background: transparent;
  box-shadow: none;
}
.home .diagnosis-outcome::after { opacity: 0; }
.home .diagnosis-outcome.is-current {
  border: 0;
  background: var(--ink);
  box-shadow: 8px 10px 0 var(--cyan-dark), 0 24px 44px -24px rgba(10,13,18,.32);
}
.home .diagnosis-outcome.is-current::after { opacity: .42; }
.home .diagnosis-outcome__copy { border-top: 0; }
.home .diagnosis__compare {
  gap: clamp(2rem, 7vw, 7rem);
  border-block: 0;
}
.home .diagnosis__compare article,
.home .diagnosis__compare article:first-child,
.home .diagnosis__compare article + article { padding: 0; border-left: 0; }
.home .diagnosis__compare article + article { padding-left: 0; border-left: 0; }

/* The progress rail owns the Method section; rows no longer need boxes. */
.home .method-work__list li,
.home .method-work__list li:is(:hover,.is-current):not(.is-decision) {
  border: 0;
  background: transparent;
  box-shadow: none;
}
.home .method-work__list li { margin-bottom: clamp(.5rem, 1.2vw, 1rem); }
.home .method-work__list li:is(:hover,.is-current):not(.is-decision) {
  background: rgba(255,255,255,.5);
  transform: translateX(5px);
}
.home .method-work__number,
.home .method-work__list li:nth-child(even) .method-work__number {
  width: 40px;
  height: 40px;
  left: -70px;
  border-radius: 50%;
  box-shadow: none;
  transform: translateY(-50%);
}
.home .method-work__list li:is(:hover,.is-current) .method-work__number { box-shadow: none; transform: translateY(-50%) scale(1.06); }
.home .method-work__list li.is-decision,
.home .method-work__list li.is-decision:is(:hover,.is-current) {
  background: var(--ink);
  box-shadow: 7px 9px 0 var(--cyan);
  transform: translateX(5px);
}

/* Client browsers remain the proof moment; surrounding labels and data open up. */
.home .client-exhibit { border-top: 0; }
.home .client-exhibit::before { display: none; }
.home .client-exhibit__browser,
.home .client-exhibit:nth-child(even) .client-exhibit__browser {
  box-shadow: 8px 10px 0 var(--cyan), 0 28px 54px -30px rgba(10,13,18,.4);
}
.home .client-exhibit dl { gap: clamp(1.5rem, 4vw, 4rem); border-bottom: 0; }
.home .client-exhibit dl > div,
.home .client-exhibit dl > div + div { padding-inline: 0; border-left: 0; }

/* Collaboration reads as one field. The custom diagrams keep the character. */
.team-section .team-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(.65rem, 1.4vw, 1.25rem);
  align-items: stretch;
}
.team-section .team-card:nth-child(n) {
  grid-column: auto;
  min-width: 0;
  padding-inline: clamp(.75rem, 1.4vw, 1.25rem);
}
.team-section .team-grid::before { display: none; }
.team-section .team-card {
  border: 0;
  background: transparent;
  box-shadow: none;
}
.team-section .team-card__mark { box-shadow: 6px 7px 0 var(--cyan), 0 20px 32px -20px rgba(10,13,18,.38); }
.team-section .team-card.is-pointer-focus .team-card__mark,
.team-section .team-card.is-touch-focus .team-card__mark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cyan);
  box-shadow: 4px 5px 0 var(--cyan), 0 26px 40px -20px rgba(10,13,18,.42);
}
@media (hover: hover) and (pointer: fine) {
  .team-section .team-card:hover {
    --team-lift: -4px;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .team-section .team-card:hover .team-card__mark {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--cyan);
    box-shadow: 4px 5px 0 var(--cyan), 0 26px 40px -20px rgba(10,13,18,.42);
  }
}

/* Services editorial breathing pass --------------------------------------
   Detailed capability content remains available on demand. The default page
   state gives each decision a pause and lets one comparison instrument carry
   the visual story instead of presenting every supporting explanation at
   once. */
#services-in-detail {
  padding-block: clamp(7rem, 12vw, 11rem);
}

#services-in-detail .sheet-heading {
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

body.page:not(.home) #services-in-detail .service-index {
  gap: clamp(.75rem, 1.4vw, 1.15rem);
}

body.page:not(.home) #services-in-detail .service-block {
  padding-inline: clamp(.75rem, 2vw, 1.5rem);
  transition: background-color 220ms var(--ease), box-shadow 280ms var(--ease), transform 280ms var(--ease);
}

body.page:not(.home) #services-in-detail .service-block__summary {
  min-height: clamp(126px, 10vw, 150px);
}

body.page:not(.home) #services-in-detail .service-block[open] {
  margin-block: clamp(.75rem, 1.5vw, 1.25rem);
  padding-inline: clamp(1.25rem, 3vw, 2.5rem);
}

@media (hover: hover) and (pointer: fine) {
  body.page:not(.home) #services-in-detail .service-block:not([open]):hover {
    background: rgba(255, 255, 255, .42);
    transform: translateX(.35rem);
  }
}

.capability-route,
.industries,
.difference-section,
.technology-system,
.engagement-bridge {
  padding-block: clamp(7rem, 11vw, 10rem);
}

.industries .sheet-heading {
  margin-bottom: clamp(4.5rem, 8vw, 7rem);
}

body.page .industries .industry-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(2.5rem, 5vw, 5rem) clamp(2rem, 4vw, 4rem);
}

body.page .industries .industry-card {
  grid-column: auto;
  grid-template-columns: 1.65rem minmax(0, 1fr);
  column-gap: .65rem;
  min-height: 150px;
  align-content: start;
  padding: 0;
}

body.page .industries .industry-card h3 {
  font-size: clamp(.95rem, 1.05vw, 1.05rem);
  letter-spacing: -.02em;
}

.industries .industry-card strong {
  grid-column: 2;
  max-width: 34ch;
  margin-top: auto;
  padding-top: 1.75rem;
  color: var(--muted);
  font: 550 .86rem/1.55 var(--body);
}

.difference-section__intro {
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

.difference-section .difference-ledger {
  margin-top: 0;
}

.difference-section .difference-proof {
  margin-top: clamp(7rem, 12vw, 11rem);
}

.technology-system .technology-logos {
  margin-top: clamp(4rem, 8vw, 7rem);
}

.technology-system__decision {
  margin-top: clamp(4rem, 8vw, 7rem);
}

.engagement-bridge__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .55fr);
  gap: clamp(4rem, 10vw, 10rem);
  align-items: end;
}

.engagement-bridge h2 {
  max-width: 13ch;
  margin-bottom: 0;
}

.engagement-bridge__action .lead {
  margin: 0;
}

.engagement-bridge__action .text-action {
  margin-top: clamp(2rem, 4vw, 3rem);
}

@media (max-width: 860px) {
  #services-in-detail,
  .capability-route,
  .industries,
  .difference-section,
  .technology-system,
  .engagement-bridge {
    padding-block: clamp(5rem, 16vw, 7rem);
  }

  #services-in-detail .sheet-heading,
  .industries .sheet-heading,
  .difference-section__intro {
    margin-bottom: clamp(3rem, 10vw, 4.5rem);
  }

  .engagement-bridge__layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  body.page .industries .industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  body.page .industries .industry-grid {
    grid-template-columns: 1fr;
  }
}

/* FAQ needs one separator per question, not a frame around the list and icon. */
.home .faq-list { border-top: 0; }
.home .faq-item__icon { border: 0; background: var(--paper-2); }
.home .faq-item__question[aria-expanded="true"] .faq-item__icon { background: var(--ink); }

/* Site-wide restraint pass -----------------------------------------------
   Interior pages keep their functional ledgers, diagrams, and tables. The
   repeated chapter furniture and secondary card framing are removed so the
   signature objects have room to carry the page. */
body.page .sheet-section__inner::before,
body.page main > .section:not(.page-hero):not(.final-cta) > .container::before {
  display: none;
}

body.page .sheet-section__inner {
  border-top: 0;
}

body.page .sheet-heading--split p {
  padding-top: 0;
  border-top: 0;
}

body.page:not(.home) .service-block[open] {
  box-shadow: 6px 8px 0 rgba(51, 199, 224, .42);
}

body.page:not(.home) .process-phase--decision {
  box-shadow: none;
}

.team-heading,
.team-section .sheet-section__inner > .team-heading {
  max-width: none;
  font-size: clamp(2.3rem, 3.5vw, 3.75rem);
  line-height: .96;
  letter-spacing: -.04em;
  white-space: nowrap;
}

/* Footer links always use the dark-surface palette. The global link color is
   intentionally darker for paper backgrounds and must not bleed in here. */
.site-footer a,
.site-footer a:visited,
.site-footer .primary-nav__list a,
.site-footer .primary-nav__list a:visited,
.site-footer__contact a,
.site-footer__contact a:visited {
  color: var(--white);
  transition: color 180ms var(--ease);
}

.site-footer a:hover,
.site-footer a:focus-visible,
.site-footer .primary-nav__list a:hover,
.site-footer .primary-nav__list a:focus-visible,
.site-footer__contact a:hover,
.site-footer__contact a:focus-visible {
  color: var(--cyan);
}

.site-footer__contact a {
  text-decoration: underline;
  text-decoration-color: rgba(51, 199, 224, .5);
  text-underline-offset: .32em;
  text-decoration-thickness: 1px;
}

/* Site-wide hierarchy pass ----------------------------------------------
   Full-width rules are reserved for functional tables, accordions, and
   interactive tools. Editorial groups use whitespace and small cyan cues. */
body.page .page-hero {
  border-bottom: 0;
}

/* Services: the accordion remains structured; surrounding indexes breathe. */
.service-index,
.service-group-heading {
  border-top: 0;
  border-bottom: 0;
}

.technology-logos {
  border: 0;
}

.technology-logo {
  border-right: 0;
  opacity: .76;
  transition: opacity 220ms var(--ease), transform 320ms cubic-bezier(.2,0,0,1);
}

.technology-logo:focus-within {
  opacity: 1;
  transform: translateY(-3px);
}
@media (hover: hover) and (pointer: fine) {
  .technology-logo:hover { opacity: 1; transform: translateY(-3px); }
}

.technology-capabilities {
  border-top: 0;
}

.technology-capability {
  border-bottom: 0;
}

/* Process: phase boundaries remain, but activity lists stop looking like
   miniature tables inside every phase. */
.process-phase__activities {
  gap: .45rem 2rem;
  border-top: 0;
}

.process-phase__activities li {
  position: relative;
  padding: .55rem 0 .55rem 1.25rem;
  border-bottom: 0;
}

.process-phase__activities li::before {
  content: "";
  position: absolute;
  top: 1.15em;
  left: 0;
  width: .65rem;
  height: 2px;
  background: var(--cyan-dark);
}

.process-phase--decision .process-phase__activities li::before {
  background: var(--cyan);
}

/* Process story instrument -------------------------------------------------
   A single sticky scene turns the long method ledger into a visible journey.
   Scroll owns the route progress; the phase sheets remain the complete source
   of truth and collapse back to normal document flow on smaller screens. */
.process-story {
  display: grid;
  grid-template-columns: minmax(330px, .78fr) minmax(0, 1fr);
  gap: clamp(3.5rem, 7vw, 8rem);
  align-items: start;
  margin-top: clamp(3rem, 7vw, 7rem);
}

.process-story__instrument {
  position: sticky;
  top: clamp(86px, 10vh, 118px);
  height: min(74vh, 720px);
  min-height: 590px;
  z-index: 3;
  filter: drop-shadow(0 28px 42px rgba(10,13,18,.13));
  transform: translateY(calc((var(--process-progress, 0) - .5) * 18px));
  transition: transform 120ms linear;
}

.process-story__frame {
  --story-pad: clamp(1rem, 2.2vw, 1.5rem);
  position: relative;
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  overflow: hidden;
  padding: var(--story-pad);
  background:
    linear-gradient(rgba(10,13,18,.052) 1px, transparent 1px) 0 0 / 100% 12.5%,
    linear-gradient(90deg, rgba(10,13,18,.052) 1px, transparent 1px) 0 0 / 12.5% 100%,
    var(--paper);
  color: var(--ink);
  box-shadow: 13px 15px 0 var(--cyan), 0 28px 52px -36px rgba(10,13,18,.4);
  isolation: isolate;
}

.process-story__frame::before,
.process-story__frame::after {
  content: "";
  position: absolute;
  z-index: 4;
  width: 46px;
  height: 46px;
  pointer-events: none;
}
.process-story__frame::before { inset: 0 auto auto 0; border-top: 7px solid var(--ink); border-left: 7px solid var(--ink); }
.process-story__frame::after { inset: auto 0 0 auto; border-right: 7px solid var(--cyan-dark); border-bottom: 7px solid var(--cyan-dark); }

.process-story__status,
.process-story__footer {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font: 600 var(--type-label)/1.3 var(--mono);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.process-story__status {
  margin: calc(-1 * var(--story-pad)) calc(-1 * var(--story-pad)) 0;
  padding: 1rem var(--story-pad);
  border-bottom: 0;
  background: var(--ink);
  color: var(--utility-on-ink);
}
.process-story__status i { color: var(--on-ink-muted); font-style: normal; }
.process-story__footer { padding-top: .9rem; border-top: 1px solid var(--rule); }

.process-story__map { position: relative; min-height: 300px; overflow: hidden; }
.process-story__map svg { position: absolute; inset: 5%; width: 90%; height: 90%; overflow: visible; }
.process-story__route { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: square; stroke-linejoin: bevel; }
.process-story__route--ghost { stroke: rgba(10,13,18,.2); stroke-width: 1.5; }
.process-story__route--signal {
  stroke: var(--cyan-dark);
  stroke-width: 3;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--process-progress, 0));
  filter: drop-shadow(0 0 5px rgba(23,111,127,.34));
  transition: stroke-dashoffset 140ms linear;
}
.process-story__scan {
  position: absolute;
  z-index: 0;
  inset: 0;
  height: 18%;
  background: linear-gradient(180deg, transparent, rgba(51,199,224,.06), rgba(51,199,224,.16), transparent);
  transform: translateY(calc(var(--process-progress, 0) * 455%));
  opacity: .58;
  pointer-events: none;
}
.process-story__node {
  position: absolute;
  z-index: 2;
  left: var(--node-x);
  top: var(--node-y);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(10,13,18,.34);
  background: var(--paper);
  color: rgba(10,13,18,.58);
  transform: translate(-50%, -50%);
  transition: color 320ms var(--motion-state, cubic-bezier(.2,0,0,1)), background-color 320ms var(--motion-state, cubic-bezier(.2,0,0,1)), transform 480ms var(--motion-enter, cubic-bezier(.16,1,.3,1)), box-shadow 480ms var(--motion-enter, cubic-bezier(.16,1,.3,1));
}
.process-story__node b { font: 600 .58rem/1 var(--mono); }
.process-story__node.is-passed { border-color: var(--cyan-dark); color: var(--white); background: var(--cyan-dark); }
.process-story__node.is-current {
  z-index: 3;
  color: var(--cyan);
  border-color: var(--ink);
  background: var(--ink);
  transform: translate(-50%, -50%) scale(1.36);
  box-shadow: 0 0 0 6px rgba(51,199,224,.22), 0 0 24px rgba(23,111,127,.24);
}
.process-story__node.is-current::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid var(--cyan-dark);
  animation: process-node-lock 1200ms var(--motion-enter, cubic-bezier(.16,1,.3,1)) both;
}

.process-story__core {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: clamp(112px, 12vw, 148px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: .45rem;
  border: 1px solid rgba(10,13,18,.34);
  background: rgba(255,255,255,.84);
  transform: translate(-50%, -50%) rotate(calc((var(--process-progress, 0) - .5) * 4deg));
  box-shadow: 0 0 0 10px rgba(220,225,228,.72), 0 0 0 11px rgba(23,111,127,.24);
}
.process-story__core::before,
.process-story__core::after { content: ""; position: absolute; background: rgba(51,199,224,.35); }
.process-story__core::before { width: calc(100% + 30px); height: 1px; }
.process-story__core::after { width: 1px; height: calc(100% + 30px); }
.process-story__core span,
.process-story__core strong { position: relative; z-index: 1; text-align: center; text-transform: uppercase; }
.process-story__core span { color: var(--muted); font: 600 .55rem/1.2 var(--mono); letter-spacing: .1em; }
.process-story__core strong { max-width: 8ch; color: var(--ink); font: 650 clamp(.85rem, 1.15vw, 1.05rem)/1.05 var(--display); letter-spacing: -.02em; }

.process-story__readout { position: relative; z-index: 5; min-height: 132px; padding: 1rem 0 1.1rem; border-top: 1px solid var(--rule); }
.process-story__readout > span { color: var(--cyan-dark); font: 600 var(--type-label)/1 var(--mono); letter-spacing: .08em; }
.process-story__readout strong { display: block; margin-top: .45rem; color: var(--ink); font: 650 clamp(1.55rem, 2.6vw, 2.3rem)/.95 var(--display); letter-spacing: -.035em; }
.process-story__readout p { max-width: 38ch; margin: .65rem 0 0; color: var(--muted); font-size: var(--type-small); }
.process-story__readout.is-changing > * { animation: process-readout-in 520ms var(--motion-enter, cubic-bezier(.16,1,.3,1)) both; }

.process-story .process-ledger__phases { min-width: 0; }
.process-story .process-phase {
  min-height: 72vh;
  align-items: center;
  padding-block: clamp(4rem, 9vw, 8rem);
  border-top: 0;
  opacity: .46;
  transition: opacity 420ms var(--motion-state, cubic-bezier(.2,0,0,1));
}
.process-story .process-phase > div:last-child {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--white);
  box-shadow: 10px 12px 0 rgba(10,13,18,.07);
  transform: translateX(0) rotate(.3deg);
  transition: transform 560ms var(--motion-enter, cubic-bezier(.16,1,.3,1)), box-shadow 560ms var(--motion-enter, cubic-bezier(.16,1,.3,1));
}
.process-story .process-phase:nth-child(even) > div:last-child { transform: translateX(0) rotate(-.35deg); }
.process-story .process-phase.is-current { opacity: 1; }
.process-story .process-phase.is-current > div:last-child {
  transform: translateX(10px) rotate(0);
  box-shadow: 12px 14px 0 rgba(51,199,224,.22), 0 28px 48px -34px rgba(10,13,18,.42);
}
.process-story .process-phase.is-current > div:last-child::before {
  content: "Current phase";
  position: absolute;
  top: 0;
  right: 0;
  padding: .55rem .7rem;
  background: var(--ink);
  color: var(--cyan);
  font: 600 var(--type-label)/1 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

@keyframes process-readout-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes process-node-lock {
  from { opacity: 0; transform: scale(1.55); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 1050px) {
  .process-story { grid-template-columns: 1fr; gap: 3rem; }
  .process-story__instrument { position: relative; top: auto; height: 620px; min-height: 0; }
  .process-story .process-phase { min-height: 0; opacity: 1; }
  .process-story .process-phase > div:last-child,
  .process-story .process-phase:nth-child(even) > div:last-child { transform: none; }
  .process-story .process-phase.is-current > div:last-child { transform: translateX(6px); }
}

@media (max-width: 640px) {
  .process-story { margin-top: 2.5rem; }
  .process-story__instrument { height: 540px; }
  .process-story__frame { padding: 1rem; box-shadow: 8px 9px 0 var(--cyan); }
  .process-story__status i { display: none; }
  .process-story__map { min-height: 255px; }
  .process-story__core { width: 104px; }
  .process-story__node { width: 28px; height: 28px; }
  .process-story__readout { min-height: 128px; }
  .process-story__footer { font-size: .58rem; }
  .process-story .process-phase { grid-template-columns: 56px minmax(0, 1fr); gap: 1rem; padding-block: 3rem; }
  .process-story .process-phase > div:last-child { padding: 1.35rem; }
  .process-story .process-phase.is-current > div:last-child::before { position: static; display: inline-block; margin-bottom: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero--process .hero-ledger span,
  .page-hero--process .hero-ledger span::after { animation: none; }
  .process-ledger { --process-progress: 1; }
  .process-story__instrument,
  .process-story__route--signal,
  .process-story__scan,
  .process-story__core,
  .process-story__readout > *,
  .process-story .process-phase,
  .process-story .process-phase > div:last-child { transition: none; animation: none; transform: none; }
  .process-story__core { transform: translate(-50%, -50%); }
  .process-story__node { transition: none; animation: none; transform: translate(-50%, -50%); }
  .process-story__node.is-current { transform: translate(-50%, -50%); }
}

/* Inside Every Project ----------------------------------------------------
   The supporting act is a project record, not another hero. It carries less
   visual power than the sticky roadmap but retains RSOL's authored depth. */
.inside-project {
  position: relative;
  overflow: hidden;
  background: var(--cyan);
  color: var(--ink);
}
.inside-project::before {
  content: "WORKING RECORD";
  position: absolute;
  right: -1.5vw;
  top: 1rem;
  color: rgba(10,13,18,.065);
  font: 700 clamp(5rem, 13vw, 12rem)/.8 var(--display);
  letter-spacing: -.07em;
  white-space: nowrap;
  pointer-events: none;
}
.inside-project .eyebrow { color: var(--ink); }
.inside-project__header {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .58fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
}
.inside-project__header h2 { max-width: 12ch; }
.inside-project__header .lead { color: var(--copy-on-cyan); }
.inside-project__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.inside-project__facts div { min-width: 0; padding: 1.25rem .9rem; border-right: 1px solid rgba(10,13,18,.28); }
.inside-project__facts div:last-child { border-right: 0; }
.inside-project__facts dt { font: 700 clamp(1.25rem, 2.2vw, 2rem)/1 var(--display); letter-spacing: -.03em; }
.inside-project__facts dd { margin: .45rem 0 0; color: rgba(10,13,18,.68); font: 600 .62rem/1.3 var(--mono); letter-spacing: .07em; text-transform: uppercase; }

.inside-project__record {
  position: relative;
  z-index: 1;
  margin-top: clamp(3rem, 6vw, 5rem);
  background: var(--ink);
  color: var(--on-ink);
  box-shadow: 15px 17px 0 rgba(255,255,255,.76), 0 34px 70px -35px rgba(10,13,18,.5);
}
.inside-project__toolbar {
  min-height: 62px;
  display: grid;
  grid-template-columns: auto minmax(100px, 1fr) auto;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  padding: .65rem .75rem .65rem 1.25rem;
  border-bottom: 1px solid var(--rule-dark);
  color: var(--utility-on-ink);
  font: 600 var(--type-label)/1.2 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.inside-project__meter { height: 2px; overflow: hidden; background: var(--rule-dark); }
.inside-project__meter i { display: block; width: 100%; height: 100%; background: var(--cyan); transform: scaleX(var(--inside-progress, 0)); transform-origin: left; transition: transform 160ms linear; }
.inside-project__controls { display: flex; gap: .5rem; }
.inside-project__controls button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--rule-dark);
  background: transparent;
  color: var(--cyan);
  cursor: pointer;
  transition: background-color 180ms var(--motion-state, cubic-bezier(.2,0,0,1)), color 180ms var(--motion-state, cubic-bezier(.2,0,0,1)), transform 180ms var(--motion-state, cubic-bezier(.2,0,0,1));
}
.inside-project__controls button:disabled { color: var(--on-ink-muted); cursor: default; opacity: .45; }
@media (hover: hover) and (pointer: fine) {
  .inside-project__controls button:not(:disabled):hover { background: var(--cyan); color: var(--ink); transform: translateY(-2px); }
}

.inside-project__record .inside-project__timeline {
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--ink);
  box-shadow: none;
  scrollbar-color: var(--cyan) var(--ink-2);
}
.inside-project__record .inside-project__timeline .node-timeline {
  min-width: 3080px;
  gap: 0;
  counter-reset: project-stage;
}
.inside-project__record .node-timeline__step {
  min-width: 280px;
  min-height: 330px;
  counter-increment: project-stage;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  align-content: start;
  gap: 1rem;
  padding: 4.75rem 1.5rem 1.75rem;
  overflow: hidden;
  border-right: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
  scroll-snap-align: start;
  transition: background-color 420ms var(--motion-state, cubic-bezier(.2,0,0,1)), color 420ms var(--motion-state, cubic-bezier(.2,0,0,1));
}
.inside-project__record .node-timeline__step::before {
  content: counter(project-stage, decimal-leading-zero);
  position: absolute;
  top: 1.25rem;
  right: 1.35rem;
  color: rgba(10,13,18,.42);
  font: 600 .68rem/1 var(--mono);
  letter-spacing: .08em;
}
.inside-project__record .node-timeline__step:nth-child(3n + 2) { background: var(--white); }
.inside-project__record .node-timeline__step:nth-child(4n) { background: var(--ink-2); color: var(--on-ink); }
.inside-project__record .node-timeline__step:nth-child(4n)::before { color: var(--utility-on-ink); }
.inside-project__record .node-timeline__connector { top: 36px; left: -50%; width: 100%; }
.inside-project__record .node-timeline__node { width: 46px; height: 46px; }
.inside-project__record .process-stage-icon :is(path, circle) {
  stroke-linecap: square;
  stroke-linejoin: miter;
  vector-effect: non-scaling-stroke;
}
.inside-project__record .node-timeline__step:nth-child(4n) .process-stage-icon :is(path, circle) { stroke: var(--utility-on-ink); }
.inside-project__record .node-timeline__title { max-width: 12ch; font-size: clamp(1.3rem, 1.8vw, 1.65rem); }
.inside-project__record .node-timeline__desc { color: var(--muted); font-size: var(--type-small); }
.inside-project__record .node-timeline__step:nth-child(4n) .node-timeline__desc { color: var(--on-ink-muted); }
.inside-project__record .node-timeline__step.is-active .node-timeline__node { transform: translateY(-3px); }
.inside-project__record .node-timeline__step.is-active .node-timeline__node :is(circle, path) { stroke: var(--cyan-dark); }
.inside-project__record .node-timeline__step:nth-child(4n).is-active .node-timeline__node :is(circle, path) { stroke: var(--cyan); }

@media (max-width: 900px) {
  .inside-project__header { grid-template-columns: 1fr; gap: 2rem; }
  .inside-project__facts { width: min(100%, 620px); }
  .inside-project__record { box-shadow: 8px 9px 0 rgba(255,255,255,.76); }
  .inside-project__toolbar { grid-template-columns: 1fr; gap: .8rem; padding: 1rem; }
  .inside-project__meter { display: none; }
  .inside-project__controls { display: none; }
  .inside-project__record .inside-project__timeline { overflow: visible; }
  .inside-project__record .inside-project__timeline .node-timeline { min-width: 0; gap: 1px; }
  .inside-project__record .node-timeline__step {
    min-width: 0;
    min-height: 0;
    flex: 0 0 auto;
    grid-template-rows: auto auto auto;
    padding: 4.5rem 1.35rem 1.5rem;
    border-right: 0;
  }
  .inside-project__record .node-timeline__connector { top: -1px; left: 22px; width: 2px; height: 2.5rem; }
}

@media (max-width: 520px) {
  .inside-project__facts { grid-template-columns: 1fr; }
  .inside-project__facts div { display: grid; grid-template-columns: 72px 1fr; align-items: baseline; border-right: 0; border-bottom: 1px solid rgba(10,13,18,.2); }
  .inside-project__facts div:last-child { border-bottom: 0; }
  .inside-project__facts dd { margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .inside-project__meter i,
  .inside-project__controls button,
  .inside-project__record .node-timeline__step,
  .inside-project__record .node-timeline__node { transition: none; transform: none; }
}

/* Process outcomes -------------------------------------------------------
   The narrative resolves into a business-value ledger. It stays quieter
   than the roadmap and working record while making the reason for RSOL's
   process explicit before the final invitation. */
.process-outcomes {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
}
.process-outcomes__notation {
  position: absolute;
  left: -.035em;
  bottom: -.09em;
  color: rgba(10,13,18,.035);
  font: 700 clamp(6rem, 16vw, 15rem)/.76 var(--display);
  letter-spacing: -.075em;
  pointer-events: none;
  white-space: nowrap;
}
.process-outcomes__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(420px, 1.18fr);
  gap: clamp(3rem, 9vw, 9rem);
  align-items: start;
}
.process-outcomes__header h2 {
  max-width: 11ch;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.process-outcomes__header .lead {
  max-width: 47ch;
  color: var(--muted);
}
.process-outcomes__ledger {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
  counter-reset: outcome;
}
.process-outcomes__ledger li {
  position: relative;
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  padding: clamp(1.5rem, 3vw, 2.2rem) 0;
  border-bottom: 1px solid var(--rule);
}
.process-outcomes__ledger li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 3.5rem;
  height: 2px;
  background: var(--cyan-dark);
}
.process-outcomes__number {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  box-shadow: 5px 5px 0 rgba(51,199,224,.45);
  font: 650 .68rem/1 var(--mono);
  letter-spacing: .08em;
}
.process-outcomes__ledger h3 {
  max-width: 28ch;
  margin: 0 0 .55rem;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: 1.12;
}
.process-outcomes__ledger p {
  max-width: 52ch;
  margin: 0;
  color: var(--muted);
  font-size: var(--type-small);
}

@media (max-width: 900px) {
  .process-outcomes__layout { grid-template-columns: 1fr; gap: 3rem; }
  .process-outcomes__header h2 { max-width: 13ch; }
}

@media (max-width: 520px) {
  .process-outcomes__ledger li { grid-template-columns: 2.9rem minmax(0, 1fr); }
  .process-outcomes__number { width: 2.35rem; height: 2.35rem; box-shadow: 4px 4px 0 rgba(51,199,224,.45); }
  .process-outcomes__ledger li::after { width: 2.35rem; }
}

/* Packages: whitespace separates the offers; the recommended dark card is
   the single framed decision point. */
.package-grid {
  gap: clamp(1rem, 2vw, 1.5rem);
  border: 0;
}

.package-grid .package-card {
  border: 0;
}

.package-policy {
  padding: .25rem 0;
  border-left: 0;
  background: transparent;
}

/* Case studies: labels and generous spacing replace repeated full-width
   separators. The live-browser frame and previous/next navigation stay. */
.case-study__field {
  border-top: 0;
}

.case-study__label {
  position: relative;
  padding-left: 1.25rem;
}

.case-study__label::before {
  content: "";
  position: absolute;
  top: .45em;
  left: 0;
  width: .65rem;
  height: 2px;
  background: var(--cyan-dark);
}

/* Contact facts read as one open row instead of three adjacent boxes. */
.contact-info {
  gap: clamp(1.5rem, 4vw, 4rem);
  border-top: 0;
}

.contact-info > div,
.contact-info > div:last-child {
  padding-inline: 0;
  border-right: 0;
}

/* Responsive publication behavior --------------------------------------- */
@media (max-width: 1100px) {
  .site-header { position: sticky; }
  .work-hero { min-height: calc(100dvh - 78px); }
  .work-sheet { min-height: inherit; }
  .page-hero { min-height: 660px; }
  .work-hero__copy h1, .work-hero__main--simple .work-hero__copy h1 { font-size: clamp(4rem, 10vw, 7rem); }
}

@media (max-width: 860px) {
  .primary-nav { box-shadow: none; }
  .page-hero { min-height: 0; }
  .page-hero__grid { grid-template-columns: 1fr; gap: 4rem; }
  .page-hero__signal { width: min(100%, 540px); justify-self: end; }
  .page-hero--about .page-hero__grid,
  .page-hero--services .page-hero__grid,
  .page-hero--process .page-hero__grid,
  .page-hero--pricing .page-hero__grid,
  .page-hero--contact .page-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "visual";
    gap: 3.5rem;
  }
  .page-hero--about .page-hero__copy,
  .page-hero--services .page-hero__copy,
  .page-hero--process .page-hero__copy,
  .page-hero--pricing .page-hero__copy,
  .page-hero--contact .page-hero__copy { grid-area: copy; }
  .page-hero--about .page-hero__visual,
  .page-hero--services .page-hero__visual,
  .page-hero--process .page-hero__visual,
  .page-hero--pricing .page-hero__visual,
  .page-hero--contact .page-hero__visual {
    grid-area: visual;
    width: min(100%, 620px);
    min-height: 340px;
    justify-self: end;
  }
  .page-hero--process .page-hero__visual { width: 100%; min-height: 210px; }
  .page-hero--process .hero-ledger { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page-hero--process .hero-ledger span { min-height: 58px; border-bottom: 1px solid var(--rule); }
  .page-hero--process .hero-ledger span:nth-child(3n) { border-right: 0; }
  .page-hero--pricing .hero-fit span:nth-child(n) { max-width: calc(100% - 12%); }
  .sheet-heading--split { grid-template-columns: 1fr; }
  .client-exhibit:nth-child(even) .client-exhibit__browser { box-shadow: 12px 14px 0 var(--ink); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  /* Footer lists reuse the navigation markup, but should not inherit the
     oversized mobile-menu treatment. Keep the type quiet and the tap area safe. */
  .site-footer .primary-nav__list {
    align-items: flex-start;
    gap: .25rem;
    border-top: 0;
  }
  .site-footer .primary-nav__list li { border-bottom: 0; }
  .site-footer .primary-nav__list a {
    min-height: 44px;
    display: inline-flex;
    grid-template-columns: none;
    gap: 0;
    padding: .25rem 0;
    font-size: .92rem;
    letter-spacing: -.01em;
  }
  .site-footer .primary-nav__list a::before,
  .site-footer .primary-nav__list a::after { content: none; }
  .team-heading,
  .team-section .sheet-section__inner > .team-heading {
    font-size: clamp(2.5rem, 8vw, 4rem);
    white-space: normal;
  }
  .team-section .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow-x: visible;
    scroll-snap-type: none;
  }
  .team-section .team-card:nth-child(n) {
    min-height: 270px;
    scroll-snap-align: none;
  }
  .team-section .team-card:nth-child(5) { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root {
    --folio-gutter: 1rem;
    --type-route-title: clamp(3rem, 12.5vw, 4rem);
  }
  .work-hero { min-height: calc(100svh - 70px); }
  .work-hero__frame { padding-inline: 0; }
  .work-sheet__meta { min-height: 60px; margin-inline: 1rem; }
  .work-hero__main, .work-hero__main--simple { padding: 3.5rem 1rem 2rem; }
  .work-hero__copy h1, .work-hero__main--simple .work-hero__copy h1 {
    max-width: 10ch;
    font-size: clamp(3.25rem, 15.8vw, 5.25rem);
    line-height: .84;
  }
  .work-hero__main--simple::after { justify-self: start; }
  .work-hero__actions { width: 100%; }
  .work-hero__actions .btn { min-height: 52px; }
  .page-hero { padding-block: 5.5rem 4rem; }
  .page-hero::before { top: 1.25rem; right: 1rem; }
  .page-hero__copy h1 { font-size: var(--type-route-title); line-height: .88; }
  .page-hero__signal { aspect-ratio: 1.55; box-shadow: 8px 9px 0 var(--ink) !important; }
  .page-hero--about .page-hero__grid,
  .page-hero--services .page-hero__grid,
  .page-hero--process .page-hero__grid,
  .page-hero--pricing .page-hero__grid,
  .page-hero--contact .page-hero__grid { gap: 2.5rem; }
  .page-hero--services .page-hero__copy h1 { font-size: var(--type-route-title); }
  .page-hero--about .page-hero__visual,
  .page-hero--services .page-hero__visual,
  .page-hero--pricing .page-hero__visual,
  .page-hero--contact .page-hero__visual { min-height: 285px; }
  .page-hero--about .hero-charter span { min-height: 84px; }
  .page-hero--services .page-hero__visual { min-height: 380px; }
  .page-hero--services .hero-service-console { padding: .85rem; box-shadow: 8px 9px 0 var(--ink); }
  .page-hero--services .hero-service-console__tracks span { grid-template-columns: minmax(6.7rem, .58fr) minmax(0, 1fr); min-height: 34px; gap: .75rem; }
  .page-hero--services .hero-service-console > strong { padding: .8rem; }
  .page-hero--process .page-hero__visual { min-height: 250px; }
  .page-hero--process .hero-ledger { box-shadow: 8px 9px 0 var(--ink), 0 18px 34px rgba(10,13,18,.12); }
  .page-hero--pricing .hero-fit span { min-height: 58px; padding: .7rem .8rem; box-shadow: 6px 7px 0 var(--ink); }
  .page-hero--pricing .hero-fit span:nth-child(4) { box-shadow: 6px 7px 0 var(--white); }
  .page-hero--contact .page-hero__copy h1 { max-width: 13ch; }
  .page-hero--contact .hero-brief { box-shadow: -8px 9px 0 var(--ink), 0 18px 34px rgba(10,13,18,.12); }
  .sheet-section__inner::before,
  main > .section:not(.page-hero):not(.final-cta) > .container::before { top: .8rem; right: 1rem; }
  .sheet-heading h2 { font-size: clamp(2.4rem, 10.5vw, 3.8rem); }
  .client-exhibit::before { display: none; }
  .client-exhibit__browser, .client-exhibit:nth-child(even) .client-exhibit__browser { box-shadow: 8px 9px 0 var(--cyan); }
  .service-block[open], .method-work__list li.is-decision { box-shadow: none; }
  .team-card { min-height: 0; }
  .final-cta { min-height: 0; }
  .final-cta__copy h2 { font-size: clamp(2.7rem, 11.5vw, 4.4rem); }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__brand { grid-column: auto; }
  .team-section .team-grid { grid-template-columns: 1fr; }
  .team-section .team-card:nth-child(5) { grid-column: auto; }
}

/* Integrated Connected Core wordmark --------------------------------------
   The supplied circuit symbol is the O in RSOL. Live letterforms retain
   sharp small-screen rendering; the icon is optically sized rather than
   treated as a separate badge, so the name reads as one authored mark. */
.logo-lockup {
  --logo-cap-size: 1.52rem;
  --logo-core-size: calc(var(--logo-cap-size) * .8);
  --logo-core-ratio: 1.071;
  --logo-letter-gap: .14rem;
  display: inline-grid;
  grid-template-columns: max-content;
  color: inherit;
  line-height: 1;
  vertical-align: middle;
}
.logo-lockup__word {
  min-height: var(--logo-core-size);
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--logo-letter-gap);
  color: inherit;
}
.logo-lockup__letters {
  font-family: var(--display);
  font-size: var(--logo-cap-size);
  font-weight: 700;
  line-height: .8;
  letter-spacing: 0;
}
.logo-lockup__core {
  width: calc(var(--logo-core-size) * var(--logo-core-ratio));
  height: var(--logo-core-size);
  display: inline-grid;
  place-items: center;
  flex: 0 0 calc(var(--logo-core-size) * var(--logo-core-ratio));
  margin: 0;
  padding: 0;
  border: 0;
}
.logo-lockup__mark,
.site-footer .logo-lockup__mark {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  margin: 0;
  padding: 0;
  border: 0;
}
.site-footer .logo-lockup {
  --logo-cap-size: 2.05rem;
  --logo-letter-gap: .2rem;
}

@media (max-width: 640px) {
  .site-header .logo-lockup {
    --logo-cap-size: 1.36rem;
    --logo-letter-gap: .12rem;
  }
}

/* Public website map -----------------------------------------------------
   An editorial index rather than a field of cards: one continuous ledger
   makes page purpose, section depth, and onward relationships easy to scan. */
.page-hero--site-map .page-hero__grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .6fr);
}
.page-hero--site-map .page-hero__copy h1 { max-width: 12ch; }
.machine-map__summary {
  display: grid;
  border-block: 1px solid var(--ink);
}
.machine-map__summary span {
  min-height: 76px;
  display: grid;
  grid-template-columns: 4rem 1fr;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.machine-map__summary span:last-child { border-bottom: 0; }
.machine-map__summary strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -.05em;
}
.machine-map__pages { border-top: 1px solid var(--ink); }
.machine-map__page {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  column-gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(2.5rem, 5vw, 5rem);
  border-bottom: 1px solid var(--ink);
}
.machine-map__page-head {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 1.25rem;
  align-content: start;
}
.machine-map__index,
.machine-map__label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.machine-map__page h3 {
  margin: 0 0 .85rem;
  font-size: clamp(1.75rem, 3vw, 3.1rem);
  letter-spacing: -.055em;
}
.machine-map__page h3 a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--ink);
  text-decoration: none;
}
.machine-map__page h3 a span {
  color: var(--cyan-dark);
  font-size: .55em;
  transition: transform .25s ease;
}
.machine-map__page h3 a:hover span,
.machine-map__page h3 a:focus-visible span { transform: translate(.18rem, -.18rem); }
.machine-map__page-head p {
  max-width: 44ch;
  margin: 0;
  color: var(--muted);
}
.machine-map__section-list { min-width: 0; }
.machine-map__section-list > .machine-map__label { display: block; margin-bottom: .75rem; }
.machine-map__section-list ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
  list-style: none;
}
.machine-map__section-list li { border-bottom: 1px solid var(--rule); }
.machine-map__section-list li:nth-child(odd) { border-right: 1px solid var(--rule); }
.machine-map__section-list a {
  min-height: 100%;
  display: grid;
  gap: .4rem;
  padding: 1rem clamp(.85rem, 2vw, 1.35rem);
  color: var(--ink);
  text-decoration: none;
  transition: background-color .25s ease, color .25s ease;
}
.machine-map__section-list a:hover,
.machine-map__section-list a:focus-visible {
  color: var(--ink);
  background: rgba(51, 199, 224, .12);
}
.machine-map__section-list strong {
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: -.025em;
}
.machine-map__section-list a span {
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.55;
}
.machine-map__relations {
  grid-column: 2;
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  padding-top: 1.25rem;
}
.machine-map__relations p {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem 1.25rem;
  margin: 0;
}
.machine-map__relations a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: .82rem;
  font-weight: 600;
  text-underline-offset: .25em;
}
.machine-map__formats-grid {
  display: grid;
  grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 8vw, 8rem);
  align-items: start;
}
.machine-map__formats h2 { max-width: 9ch; }
.machine-map__formats ul {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}
.machine-map__formats li { border-bottom: 1px solid var(--rule); }
.machine-map__formats a {
  display: grid;
  grid-template-columns: minmax(9rem, .45fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 1.2rem 0;
  color: var(--ink);
  text-decoration: none;
}
.machine-map__formats a:hover strong,
.machine-map__formats a:focus-visible strong { color: var(--cyan-dark); }
.machine-map__formats strong { font-family: var(--display); transition: color .2s ease; }
.machine-map__formats a span { color: var(--muted); }

@media (max-width: 860px) {
  .page-hero--site-map .page-hero__grid,
  .machine-map__page,
  .machine-map__formats-grid { grid-template-columns: 1fr; }
  .machine-map__relations { grid-column: 1; }
  .machine-map__page { row-gap: 2.5rem; }
}

@media (max-width: 640px) {
  .machine-map__summary span { min-height: 64px; }
  .machine-map__section-list ol { grid-template-columns: 1fr; }
  .machine-map__section-list li:nth-child(odd) { border-right: 0; }
  .machine-map__relations { grid-template-columns: 1fr; gap: .6rem; }
  .machine-map__formats a { grid-template-columns: 1fr; gap: .3rem; }
}

@media (prefers-reduced-motion: reduce) {
  .site-progress { transition: none !important; }
}

/* Cross-page line hierarchy correction -----------------------------------
   RSOL's rules now behave like punctuation: they clarify a control, a true
   comparison, or a signature instrument. Whitespace, rhythm, and restrained
   surface changes carry ordinary editorial grouping so pages do not read as
   wireframes or spreadsheets. The Process roadmap and form controls remain
   intentionally structured. */

/* Shared editorial lists: release the full-width row and column frames. */
.home .work-hero::before {
  display: none;
}

body.page .work-principles,
body.page .scope__rows,
body.page .capability-pillars,
body.page .values-list,
body.page .industry-grid,
body.page .package-guide,
body.page .difference-proof__grid,
body.page .engagement-scope,
body.page .optional-addons,
body.page .optional-addons__index,
body.page .case-channel-proof__grid,
body.page .machine-map__pages,
body.page .machine-map__section-list ol,
body.page .machine-map__formats ul {
  border: 0;
}

body.page .work-principles,
body.page .scope__rows,
body.page .industry-grid,
body.page .package-guide,
body.page .difference-proof__grid,
body.page .engagement-scope,
body.page .optional-addons__index,
body.page .case-channel-proof__grid {
  gap: clamp(.9rem, 2vw, 1.6rem);
  overflow: visible;
}

body.page .work-principles li,
body.page .scope__rows article,
body.page .scope__rows article:nth-child(odd),
body.page .scope__rows article:nth-child(even),
body.page .capability-pillar,
body.page .values-list__item,
body.page .industry-card,
body.page .industry-card:nth-child(n),
body.page .package-guide article,
body.page .package-guide article:nth-child(n),
body.page .difference-proof__grid a,
body.page .difference-proof__grid a + a,
body.page .engagement-scope li,
body.page .engagement-scope li:nth-child(odd),
body.page .engagement-scope li:nth-child(even),
body.page .optional-addons__index li,
body.page .case-channel-card,
body.page .case-channel-card + .case-channel-card,
body.page .machine-map__page,
body.page .machine-map__section-list li,
body.page .machine-map__section-list li:nth-child(odd),
body.page .machine-map__formats li {
  border: 0;
}

body.page .work-principles li {
  min-height: 0;
  align-items: start;
  padding: .7rem 0;
}

body.page .scope__rows article,
body.page .scope__rows article:nth-child(odd),
body.page .scope__rows article:nth-child(even) {
  min-height: 0;
  padding: clamp(1rem, 2vw, 1.5rem) 0;
}

body.page .capability-pillars {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.75rem);
}

body.page .capability-pillar {
  padding: clamp(1.25rem, 2.5vw, 2rem) 0;
}

body.page .values-list {
  display: grid;
  gap: clamp(.8rem, 1.8vw, 1.35rem);
}

body.page .values-list__item {
  padding: clamp(1.15rem, 2vw, 1.65rem) 0;
}

body.page .industry-card {
  padding: clamp(1.15rem, 2vw, 1.75rem) 0;
}

body.page .package-guide article {
  padding: .75rem 0;
}

body.page .difference-proof__grid a,
body.page .case-channel-card {
  background: rgba(255, 255, 255, .035);
}

body.page .difference-proof__grid a {
  min-height: 270px;
}

@media (hover: hover) and (pointer: fine) {
  body.page .difference-proof__grid a:hover {
    background: var(--ink);
    color: var(--on-ink);
  }

  body.page .difference-proof__grid a:hover p {
    color: var(--on-ink-muted);
  }

  body.page .difference-proof__grid a:hover :is(span, em) {
    color: var(--cyan);
  }
}

body.page .difference-proof__grid a:focus-visible {
  background: var(--ink);
  color: var(--on-ink);
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

body.page .difference-proof__grid a:focus-visible p {
  color: var(--on-ink-muted);
}

body.page .difference-proof__grid a:focus-visible :is(span, em) {
  color: var(--cyan);
}

/* Accordions still signal state, but no longer form a ruled ledger. */
body.page:not(.home) .service-index {
  display: grid;
  gap: .5rem;
}

body.page:not(.home) .service-block {
  border: 0;
}

body.page:not(.home) .service-block[open] {
  padding-inline: clamp(1rem, 2.5vw, 2rem);
  background: var(--white);
  box-shadow: 7px 9px 0 rgba(51, 199, 224, .28);
}

body.page:not(.home) .service-block__fields,
body.page:not(.home) .service-block__fields > div {
  border: 0;
}

body.page:not(.home) .service-block__fields {
  display: grid;
  gap: .25rem;
}

body.page:not(.home) .service-block__fields > div {
  padding-block: .75rem;
}

/* About and proof pages keep signature objects, not frames around every row. */
body.page .about-questions {
  display: grid;
  gap: .45rem;
}

body.page .about-questions li,
body.page .outcome-list,
body.page .outcome-list li,
body.page .case-summary,
body.page .case-summary__outcome {
  border: 0;
}

body.page .about-questions li,
body.page .outcome-list li {
  padding-block: .8rem;
}

body.page .case-summary__outcome {
  padding-top: 1.4rem;
  padding-bottom: 0;
}

/* Portfolio uses photography and role clarity as the hierarchy. */
body.page .portfolio-hero {
  border-bottom: 0;
  background-image: none;
}

body.page .portfolio-hero__footer,
body.page .portfolio-hero__proof,
body.page .portfolio-proof-key,
body.page .portfolio-proof-key__items,
body.page .portfolio-proof-key__items article,
body.page .portfolio-proof-key__items article + article {
  border: 0;
}

body.page .portfolio-proof-key__items {
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

body.page .portfolio-proof-key__items article,
body.page .portfolio-proof-key__items article + article {
  padding: 0;
}

/* Pricing retains its actual comparison table. Discovery and add-on lists
   become open editorial groups rather than a second and third table. */
body.page .pricing-bridge__evidence,
body.page .pricing-bridge__evidence > div,
body.page .scope-resolver__output ul,
body.page .scope-resolver__output li,
body.page .package-card__scope,
body.page .pricing-scope-note,
body.page .support-promise__coverage,
body.page .support-promise__coverage li {
  border: 0;
}

body.page .pricing-bridge__evidence,
body.page .scope-resolver__output ul,
body.page .support-promise__coverage {
  display: grid;
  gap: .35rem 2rem;
}

body.page .pricing-bridge__evidence > div,
body.page .scope-resolver__output li,
body.page .support-promise__coverage li {
  padding-block: .65rem;
}

/* Contact: the three-step response is one sequence, not a three-cell table. */
body.page .contact-response {
  border: 0;
}

body.page .contact-response__steps {
  gap: clamp(.8rem, 2vw, 1.5rem);
  border: 0;
}

body.page .contact-response__steps li,
body.page .contact-response__steps li + li {
  min-height: 190px;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border: 0;
  background: rgba(255, 255, 255, .18);
}

/* The sitemap is intentionally index-like, but whitespace—not a cell grid—
   owns its hierarchy. */
body.page .machine-map__summary {
  gap: .35rem;
  border: 0;
}

body.page .machine-map__summary span,
body.page .machine-map__page {
  border: 0;
}

body.page .machine-map__pages {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
}

body.page .machine-map__page {
  padding-block: clamp(1.5rem, 3vw, 2.75rem);
}

body.page .machine-map__section-list ol {
  gap: .3rem 1.25rem;
}

body.page .machine-map__section-list a {
  padding-inline: 0;
}

@media (max-width: 760px) {
  body.page .work-principles,
  body.page .package-guide,
  body.page .difference-proof__grid,
  body.page .case-channel-proof__grid,
  body.page .contact-response__steps {
    gap: .75rem;
  }

  body.page .contact-response__steps li,
  body.page .contact-response__steps li + li {
    min-height: 0;
    padding: 1.25rem;
  }
}
