/* Authored services, company and diligence pages. Shared with the site brand. */
.services-reactor { margin: 0; }
.services-reactor img { display: block; width: 100%; height: auto; }
.services-reactor-scene { position: relative; aspect-ratio: 1; }
.services-reactor canvas { display: none; position: absolute; inset: 0; width: 100%; height: 100%; }
.services-reactor.is-rendered canvas { display: block; }
.services-reactor.is-rendered img { visibility: hidden; }
.services-page .hero-actions { margin-top: 28px; }
.editorial-hero { max-width: 1000px; padding-bottom: 48px; }
.editorial-hero .eyebrow { margin: 0; }
.editorial-page .editorial-hero h1 { max-width: 980px; }
.editorial-page h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; letter-spacing: -.015em; margin: 0; }
.editorial-page h3 { font-size: 23px; line-height: 1.3; margin: 28px 0 10px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 32px; font-size: 13px; color: var(--muted); }
.breadcrumbs a { color: var(--bone-2); }
.section-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 20px 0; border-block: 1px solid var(--navy-line); }
.section-nav a { padding: 8px 0; color: var(--bone-2); font-size: 15px; }
.section-nav a:hover, .breadcrumbs a:hover { color: var(--brass); }
.scope-note { max-width: 820px; margin: 40px 0 56px; font-size: 19px; line-height: 1.7; color: var(--bone-2); }
.editorial-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; padding: 56px 0; border-top: 1px solid var(--navy-line); position: relative; }
.section-nav + .editorial-section { border-top: 0; }
.section-heading .eyebrow { margin: 0 0 20px; }
.editorial-copy { min-width: 0; max-width: 820px; font-size: 17px; line-height: 1.75; color: var(--bone-2); }
.editorial-copy > :first-child { margin-top: 0; }
.editorial-copy > :last-child { margin-bottom: 0; }
.editorial-copy p { margin: 0 0 22px; }
.editorial-copy h3 { color: var(--bone); }
.editorial-copy a { color: var(--brass); text-decoration: underline; text-underline-offset: 4px; }
.editorial-copy a:hover { color: var(--bone); }
.anchor-alias { display: block; height: 0; scroll-margin-top: 28px; }
.editorial-section > .anchor-alias { position: absolute; top: 0; }
.review-steps { list-style: none; counter-reset: review; padding: 0; margin: 0; }
.review-steps li { counter-increment: review; position: relative; padding: 0 0 24px 48px; }
.review-steps li:last-child { padding-bottom: 0; }
.review-steps li::before { content: counter(review, decimal-leading-zero); position: absolute; left: 0; top: 5px; color: var(--brass); font: 13px var(--mono); }
.review-steps h3 { margin: 0 0 10px; }
.review-steps p { margin: 0; }
.guide-directory { padding: 56px 0; border-top: 1px solid var(--navy-line); }
.guide-directory h2 { margin: 0 0 32px; }
.guide-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.guide-link { display: flex; flex-direction: column; gap: 12px; padding: 28px 0; border-top: 1px solid var(--navy-line); }
.guide-name { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font: 27px/1.2 var(--serif); }
.guide-name > span { color: var(--brass); font: 20px var(--sans); }
.guide-description { color: var(--bone-2); font-size: 16px; line-height: 1.65; max-width: 520px; }
.guide-link:hover { border-color: var(--brass); }
.assessment-example { margin: 32px 0; padding: 32px; background: var(--bone); color: var(--navy); }
.assessment-example .eyebrow { color: var(--brass-dark); }
.assessment-example p { margin: 0 0 18px; }
.assessment-example a { color: var(--navy); }
.assessment-example a:hover { color: var(--brass-dark); }
.rating-scale { margin: 28px 0; }
.rating-scale > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px; padding: 16px 0; border-top: 1px solid var(--navy-line); }
.rating-scale dt { color: var(--bone); }
.rating-scale dd { margin: 0; font-size: 15px; }
.editorial-page .service-purpose { font-size: 20px; color: var(--bone); }
.service-deliverables { margin: 28px 0; }
.service-deliverables > div { margin: 0 0 24px; }
.service-deliverables dt { color: var(--bone); font-weight: 500; }
.service-deliverables dd { margin: 6px 0 0; }
.service-output { padding-top: 20px; border-top: 1px solid var(--navy-line); }
.service-output > span { display: block; margin-bottom: 10px; color: var(--brass); font: 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.editorial-contact { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 32px; margin-top: 40px; padding: 48px; background: var(--bone); color: var(--navy); }
.editorial-contact > div { max-width: 720px; }
.editorial-contact h2 { color: var(--navy); }
.editorial-contact p { color: var(--ink-2); margin: 18px 0 0; font-size: 17px; line-height: 1.6; }
.editorial-contact .btn { flex-shrink: 0; }

@media (max-width: 900px) {
  .editorial-section { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
  .editorial-copy { max-width: none; }
  .guide-list { gap: 0 32px; }
}
@media (max-width: 640px) {
  .editorial-hero { padding-bottom: 32px; }
  .section-nav { gap: 4px 20px; padding: 12px 0; }
  .scope-note { font-size: 17px; margin: 28px 0 36px; }
  .guide-directory { padding: 40px 0; }
  .guide-list { grid-template-columns: 1fr; }
  .guide-name { font-size: 25px; }
  .assessment-example { padding: 24px; }
  .rating-scale > div { grid-template-columns: 1fr; gap: 6px; }
  .editorial-contact { padding: 32px 24px; }
}

/* Engineering sheets: structure, assembly drawings and readable specifications. */
.editorial-page {
  --brass-dark: #73551f;
  background-image: linear-gradient(rgba(236,224,191,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(236,224,191,.018) 1px, transparent 1px);
}
.editorial-page main { padding-top: 48px; }
.editorial-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
  max-width: none;
  padding: 24px 0 64px;
}
.editorial-page .editorial-hero h1 { font-size: clamp(42px, 4.8vw, 68px); }
.editorial-page .editorial-hero .lead { font-size: 18px; line-height: 1.65; }
.engineering-plate {
  position: relative;
  margin: 0;
  border: 1px solid var(--navy-line);
  background: var(--navy);
  background-image: linear-gradient(rgba(236,224,191,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(236,224,191,.025) 1px, transparent 1px);
  background-size: 24px 24px;
}
.engineering-plate::before, .engineering-plate::after {
  content: '+'; position: absolute; color: var(--brass); font: 20px var(--mono); top: -15px; left: -7px;
}
.engineering-plate::after { top: auto; left: auto; bottom: -15px; right: -7px; }
.engineering-plate img { display: block; width: 100%; height: auto; }
.plate-index, .engineering-plate figcaption {
  display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px;
  font: 10px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--muted);
}
.plate-index { border-bottom: 1px solid var(--navy-line); color: var(--brass); }
.engineering-plate figcaption { border-top: 1px solid var(--navy-line); }
.section-nav { counter-reset: chapters; gap: 0; border: 1px solid var(--navy-line); padding: 0; background: var(--navy); }
.section-nav a { counter-increment: chapters; display: flex; align-items: baseline; gap: 12px; padding: 16px 20px; font-size: 14px; }
.section-nav a::before { content: counter(chapters, decimal-leading-zero); color: var(--brass); font: 10px var(--mono); }
.section-nav a:hover { background: var(--navy-2); }
.lifecycle-nav { display: grid; grid-template-columns: repeat(6, 1fr); margin: 0 0 48px; }
.lifecycle-nav a { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 18px; border-right: 1px solid var(--navy-line); }
.lifecycle-nav a:last-child { border-right: 0; }
.lifecycle-nav a::before { font-size: 13px; }
.editorial-section { padding-block: 64px; }
.section-heading { position: relative; }
.section-heading::before { content: ''; display: block; width: 32px; height: 3px; margin-bottom: 24px; background: var(--brass); }
.paper-section {
  background: var(--bone);
  color: var(--navy);
  padding: 40px;
  border: 0;
}
.paper-section .editorial-copy, .paper-section .service-purpose { color: var(--ink-2); }
.paper-section :is(h2, h3), .paper-section .service-deliverables dt { color: var(--navy); }
.paper-section .eyebrow, .paper-section .service-output > span { color: var(--brass-dark); }
.paper-section .editorial-copy a { color: var(--navy); }
.paper-section .editorial-copy a:hover { color: var(--brass-dark); }
.services-page .service-stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 32px 64px; margin-block: 24px; padding: 40px; border: 1px solid var(--navy-line); background-color: var(--navy); }
.services-page .service-stage.paper-section { background: var(--bone); border-color: var(--bone); }
.service-stage .editorial-copy { display: contents; }
.service-stage .service-purpose { margin: 0; align-self: center; max-width: 580px; font: 24px/1.45 var(--serif); }
.service-stage .section-heading .eyebrow { margin-bottom: 12px; }
.service-stage .section-heading::before { display: none; }
.service-stage .service-deliverables { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 8px 0 0; }
.service-stage .service-deliverables > div { margin: 0; padding-top: 20px; border-top: 1px solid var(--navy-line); }
.service-stage .service-deliverables dt { font-size: 17px; }
.service-stage .service-deliverables dd { color: var(--bone-2); font-size: 16px; line-height: 1.7; margin-top: 12px; }
.service-stage.paper-section .service-deliverables > div { border-color: rgba(12,29,54,.23); }
.service-stage.paper-section .service-deliverables dd { color: var(--ink-2); }
.service-stage .service-output { grid-column: 1 / -1; display: grid; grid-template-columns: 150px 1fr; gap: 24px; margin: 0; padding: 20px 24px; background: var(--navy-2); border: 0; font-size: 15px; line-height: 1.6; }
.service-stage .service-output > span { margin: 0; align-self: center; }
.service-stage.paper-section .service-output { background: rgba(12,29,54,.06); color: var(--navy); }
.systems-section { margin-top: 64px; padding: 48px 40px; border: 1px solid var(--brass); background: var(--navy-2); }
.systems-section .section-heading h2 { font: 64px/1 var(--mono); letter-spacing: -.07em; }
.systems-section .section-heading::after { content: ''; display: block; width: min(100%, 260px); height: 150px; margin-top: 24px; background: url('/assets/diagrams/control-loop.svg') center / contain no-repeat; }
.services-page .systems-section .section-heading::after { content: none; }
.about-page .paper-section { margin: 16px 0 64px; }
.about-page .experience-section { grid-template-columns: 1fr; gap: 32px; padding: 16px 0 64px; border-top: 0; }
.about-page .experience-section h2 { max-width: 600px; font-size: clamp(34px, 4vw, 52px); }
.about-page .experience-section .editorial-copy { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.about-page .experience-section .editorial-copy p { margin: 0; padding: 24px 0 0; border-top: 1px solid var(--navy-line); }
.about-page .team-section { grid-template-columns: 1fr; gap: 36px; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; list-style: none; padding: 0; margin: 0; }
.team-member { min-width: 0; }
.team-portrait { position: relative; aspect-ratio: 1; background: var(--navy-2); border: 1px solid var(--navy-line); }
.team-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }
.team-portrait::before, .team-portrait::after { content: ''; position: absolute; width: 16px; height: 16px; border-color: var(--brass); border-style: solid; }
.team-portrait::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.team-portrait::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.editorial-page .team-member h3 { margin: 20px 0 6px; font-size: 28px; }
.team-member p { margin: 0; color: var(--bone-2); font-size: 15px; line-height: 1.6; }
.process-section { grid-template-columns: 1fr; gap: 36px; }
.process-section .editorial-copy { max-width: none; }
.review-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--navy-line); background: var(--navy); }
.review-steps li { padding: 64px 28px 28px; border-bottom: 1px solid var(--navy-line); }
.review-steps li:nth-child(odd) { border-right: 1px solid var(--navy-line); }
.review-steps li:nth-last-child(-n+2) { border-bottom: 0; }
.review-steps li:last-child { padding-bottom: 28px; }
.review-steps li::before { top: 24px; left: 28px; }
.review-steps h3 { font-size: 27px; }
.guide-list { gap: 16px; }
.guide-link { padding: 28px; background: var(--navy); border: 1px solid var(--navy-line); position: relative; transition: background .18s, border-color .18s; }
.guide-link::before { content: ''; width: 24px; height: 3px; background: var(--brass); margin-bottom: 8px; }
.guide-link:hover { background: var(--navy-2); }
.guide-link:last-child { grid-column: 1 / -1; }
.guide-link:last-child .guide-description { max-width: 800px; }
.diligence-overview .guide-link:last-child { background: var(--bone); color: var(--navy); }
.diligence-overview .guide-link:last-child .guide-description { color: var(--ink-2); }
.diligence-overview .guide-link:last-child .guide-name > span { color: var(--brass-dark); }
.rating-scale { border: 1px solid var(--navy-line); padding: 8px 24px; background: var(--navy); }
.rating-scale > div { position: relative; padding-left: 28px; }
.rating-scale > div:first-child { border-top: 0; }
.rating-scale > div::before { content: ''; position: absolute; left: 0; top: 23px; width: 8px; height: 8px; border: 1px solid currentColor; color: #a6b9aa; background: currentColor; }
.rating-scale > div:nth-child(2)::before { color: #b9bd8b; }
.rating-scale > div:nth-child(3)::before { color: var(--brass); }
.rating-scale > div:nth-child(4)::before { color: #d39b73; }
.rating-scale > div:nth-child(5)::before { color: #d99a8c; }
.assessment-example { position: relative; border-left: 4px solid var(--brass); padding: 32px; }
.assessment-example::after { content: ''; position: absolute; right: 0; top: 0; width: 20px; height: 20px; background: linear-gradient(45deg, rgba(12,29,54,.18) 50%, var(--navy) 50%); }
.guide-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 56px; align-items: start; }
.guide-layout .section-nav { position: sticky; top: 24px; display: flex; flex-direction: column; border: 0; border-top: 1px solid var(--brass); }
.guide-layout .section-nav a { padding: 16px 12px; line-height: 1.5; border-bottom: 1px solid var(--navy-line); }
.guide-body { min-width: 0; }
.guide-body .scope-note { max-width: none; margin: 0 0 40px; padding: 24px; border-left: 2px solid var(--brass); background: var(--navy-2); font-size: 17px; }
.guide-body .editorial-section { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
.guide-body .section-heading::before { display: none; }
.guide-body .section-heading .eyebrow { margin-bottom: 12px; }
.guide-body .editorial-copy { max-width: none; }
.evidence-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 28px; border: 1px solid var(--navy-line); }
.evidence-grid > div { padding: 24px; background: var(--navy-2); }
.evidence-grid > .conclusion-panel { border-left: 1px solid var(--navy-line); background: var(--navy); }
.editorial-page .evidence-grid h3 { font: 11px/1.6 var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--brass); margin: 0 0 16px; }
.evidence-grid p { font-size: 15px; line-height: 1.75; margin: 0; }
.editorial-contact { position: relative; border-top: 4px solid var(--brass); padding: 48px; }
.editorial-contact::after { content: '+'; position: absolute; top: 12px; right: 20px; font: 22px var(--mono); color: var(--brass-dark); }

@media (max-width: 1100px) {
  .editorial-hero { gap: 32px; grid-template-columns: 1.25fr 1fr; }
  .guide-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 32px; }
  .lifecycle-nav { grid-template-columns: repeat(3, 1fr); }
  .lifecycle-nav a:nth-child(-n+3) { border-bottom: 1px solid var(--navy-line); }
  .lifecycle-nav a:nth-child(3) { border-right: 0; }
  .services-page .service-stage { gap: 28px 32px; }
}
@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editorial-hero { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); }
  .plate-index, .engineering-plate figcaption { font-size: 9px; padding: 10px; }
  .guide-layout { grid-template-columns: 1fr; gap: 28px; }
  .guide-layout .section-nav { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .services-page .service-stage { grid-template-columns: 1fr; }
  .service-stage .service-deliverables { gap: 24px; }
  .paper-section { padding: 28px 24px; }
}
@media (max-width: 640px) {
  .editorial-page main { padding-top: 24px; }
  .editorial-hero { grid-template-columns: 1fr; gap: 28px; padding: 8px 0 36px; }
  .editorial-page .editorial-hero h1 { font-size: 44px; }
  .engineering-plate img { height: 190px; object-fit: contain; }
  .plate-index, .engineering-plate figcaption { font-size: 9px; padding: 10px 14px; }
  .lifecycle-nav { margin-bottom: 24px; }
  .lifecycle-nav a { font-size: 12px; padding: 12px; gap: 16px; }
  .section-nav { display: grid; grid-template-columns: 1fr 1fr; }
  .section-nav a { padding: 12px; }
  .services-page .service-stage { padding: 24px; gap: 24px; }
  .service-stage .service-deliverables { grid-template-columns: 1fr; gap: 24px; }
  .service-stage .service-output { grid-template-columns: 1fr; gap: 10px; padding: 16px; }
  .service-stage .service-purpose { font-size: 22px; }
  .paper-section, .systems-section { padding: 28px 24px; }
  .about-page .experience-section .editorial-copy { grid-template-columns: 1fr; gap: 24px; }
  .review-steps { grid-template-columns: 1fr; }
  .review-steps li:nth-child(odd) { border-right: 0; }
  .review-steps li:nth-last-child(2) { border-bottom: 1px solid var(--navy-line); }
  .guide-link { padding: 24px; }
  .guide-layout .section-nav { grid-template-columns: 1fr 1fr; }
  .guide-layout .section-nav a { padding: 12px; }
  .evidence-grid { grid-template-columns: 1fr; }
  .evidence-grid > .conclusion-panel { border-left: 0; border-top: 1px solid var(--navy-line); }
  .evidence-grid > div { padding: 20px; }
  .editorial-contact { padding: 32px 24px; }
  /* Keep a full-width heading clear of the corner '+' mark. */
  .editorial-contact h2 { padding-right: 20px; }
  /* Paired actions in narrow copy columns wrap from ~600px; stack them at a shared width as at ≤480. */
  .editorial-copy .btn-row { display: grid; width: fit-content; max-width: 100%; }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 340px) {
  /* Two long chapter labels (e.g. "concentration") otherwise widen the nav, and the page, past the gutter. */
  .guide-layout .section-nav a { padding-inline: 10px; }
}

/* Marketing pages keep headings and prose free of decorative labels/rules. */
:is(.services-page, .about-page) .section-heading::before { display: none; }
.services-page .service-stage .service-output { display: block; padding: 0; background: none; border: 0; font-size: 16px; }

.about-page .experience-section .editorial-copy p { border: 0; padding-top: 0; }
.editorial-copy .btn { color: var(--bone); border-color: var(--bone-2); text-decoration: none; line-height: 1.5; }
.editorial-copy .btn:hover { color: var(--brass); }
.editorial-copy .btn-primary { color: var(--navy); }
.editorial-copy .btn-dark { color: var(--bone); }
.editorial-copy .btn-dark:hover { color: var(--bone); }
.paper-section .editorial-copy .btn { border-color: var(--navy); color: var(--navy); }
.paper-section .editorial-copy .btn-dark { color: var(--bone); }
.editorial-copy .btn-row { margin-top: 28px; }
/* Core team: each bio sits on the vertical centre of its portrait. */
.team-grid-bios { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 64px; }
.team-grid-bios .team-member { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 28px; align-items: center; }
/* Name and title share one line, wrapping the title underneath only when space runs out. */
.team-grid-bios .team-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; margin-bottom: 12px; }
.editorial-page .team-grid-bios .team-member h3 { margin: 0; }
.team-grid-bios .team-role { color: var(--brass); margin: 0; font-size: 16px; }
.team-grid-bios .team-bio { font-size: 15px; line-height: 1.7; }
@media (max-width: 1100px) {
  .team-grid-bios { grid-template-columns: 1fr; gap: 48px; max-width: 760px; }
  .team-grid-bios .team-member { grid-template-columns: 180px minmax(0, 1fr); }
}
@media (max-width: 640px) {
  /* A smaller portrait keeps the bio column readable just above the 480px stack. */
  .team-grid-bios .team-member { grid-template-columns: 140px minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 480px) {
  .team-grid-bios .team-member { grid-template-columns: 1fr; justify-items: center; gap: 20px; text-align: center; }
  .team-grid-bios .team-portrait { width: 200px; }
  .team-grid-bios .team-heading { justify-content: center; }
}

/* Consistent content alignment across the service mandates. */
.services-page .service-stage { grid-template-columns: minmax(0, 1fr); gap: 20px; margin: 32px 0; }
.services-page .service-stage .section-heading h2 { max-width: 850px; font-size: clamp(28px, 3vw, 40px); }
.services-page .service-stage .editorial-copy { display: block; max-width: none; }
.services-page .service-stage .service-purpose { max-width: 850px; font: 18px/1.65 var(--sans); margin: 0 0 28px; }
.services-page .service-stage .service-deliverables { gap: 20px; margin: 0 0 28px; }
.services-page .service-stage .service-deliverables:last-child { margin-bottom: 0; }
.services-page .service-stage .service-deliverables > div { padding: 24px; border: 1px solid var(--navy-line); background: var(--navy-2); }
.services-page .service-stage.paper-section .service-deliverables > div { background: rgba(255,255,255,.18); border-color: rgba(12,29,54,.22); }
.services-page .service-stage .service-deliverables dt { font-size: 18px; line-height: 1.5; }
.services-page .service-stage .service-output { max-width: 950px; }
.services-page .systems-section,
.services-page .editorial-contact { margin-top: 32px; }
/* Bone-coloured side/bottom borders (as on #capabilities) put the contact copy on the same edge as the 1px-bordered panels above. */
.services-page .editorial-contact { border-inline: 1px solid var(--bone); border-bottom: 1px solid var(--bone); }
.about-reactor { margin: 0; }
.about-reactor img { display: block; width: 100%; height: auto; }
:is(.services-page, .about-page) .editorial-hero { align-items: center; }
@media (max-width: 900px) {
  .services-page .service-stage { padding: 28px 24px; }
  .services-page .service-stage .service-deliverables { grid-template-columns: 1fr; }
  .services-page .service-stage .service-deliverables > div { padding: 20px; }
}

:is(.services-page, .about-page) .editorial-contact,
.services-page .systems-section { padding: 40px; }
@supports (grid-template-rows: subgrid) {
  .services-page .service-stage .service-deliverables > div { display: grid; grid-template-rows: subgrid; grid-row: span 2; gap: 12px; }
  .services-page .service-stage .service-deliverables dd { margin-top: 0; }
}
@media (max-width: 900px) {
  :is(.services-page, .about-page) .editorial-contact,
  .services-page .systems-section { padding: 28px 24px; }
  .services-page .service-stage .service-deliverables > div { display: block; grid-row: auto; }
  .services-page .service-stage .service-deliverables dd { margin-top: 12px; }
}

/* Compact capabilities panel; drafting accents are confined to its margins. */
.services-page #capabilities { padding: 40px; margin: 32px 0; background-color: var(--bone); color: var(--navy); border: 1px solid var(--bone); grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; }
.services-page #capabilities .editorial-copy { color: var(--ink-2); }
.services-page #capabilities .btn { color: var(--navy); border-color: var(--navy); }
.services-page #capabilities .btn:hover { background: var(--navy); color: var(--bone); }
.about-reactor-scene { position: relative; aspect-ratio: 1; }
.about-reactor canvas { display: none; position: absolute; inset: 0; width: 100%; height: 100%; }
.about-reactor.is-rendered canvas { display: block; }
.about-reactor.is-rendered img { visibility: hidden; }
@media (max-width: 900px) {
  .services-page #capabilities { grid-template-columns: 1fr; gap: 24px; padding: 28px 24px; }
}
/* The VALIS copy column is too narrow for both actions just above the breakpoint (they wrap below ~977px). */
@media (min-width: 901px) and (max-width: 1000px) {
  .services-page .systems-section .btn-row { display: grid; width: fit-content; }
}
