/* ==========================================================================
   Risk Management Solutions — Version 6 homepage
   Modern Enterprise × Premium Consulting × Editorial × Architectural
   ========================================================================== */

:root {
  --rms-ink: #0b1620;
  --rms-slate: #263746;
  --rms-ivory: #f5f2ea;
  --rms-paper: #fbfaf7;
  --rms-steel: #9aa5ac;
  --rms-teal: #2c6e6a;
  --rms-cognac: #b57a3a;
  --rms-rule: #d9dad5;
  --rms-muted: #5f6b72;
  --rms-serif: "Source Serif 4", Georgia, serif;
  --rms-sans: "Inter", Arial, sans-serif;
  --rms-max: 90rem;
  --rms-gutter: clamp(1.25rem, 5vw, 5rem);
  /* Full-bleed sections: edge-to-edge background, centered content column */
  --rms-page-inline: max(
    var(--rms-gutter),
    calc((100vw - var(--rms-max)) / 2 + var(--rms-gutter))
  );
}

html {
  background-color: var(--rms-paper);
}

.home-page {
  overflow-x: hidden;
  color: var(--rms-ink);
  background: var(--rms-paper);
  font-family: var(--rms-sans);
  line-height: 1.6;
}

.home-page main {
  overflow: clip;
}

.home-page h1,
.home-page h2,
.home-page h3,
.home-page p {
  margin: 0;
}

.home-page h1,
.home-page h2 {
  font-family: var(--rms-serif);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.home-page a {
  text-underline-offset: 0.2em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.home-page .skip-link {
  color: var(--rms-paper);
  background: var(--rms-ink);
  border-color: var(--rms-teal);
}

.home-page :focus-visible {
  outline-color: var(--rms-teal);
}

/* Global production navigation */
.global-header__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(1.5rem, 3.5vw, 4.5rem);
  align-items: center;
  width: 100%;
  /* TEMP COMPOSITION NOTE — production header height: 92px */
  min-height: 5.75rem;
  margin-inline: 0;
  padding-inline: var(--rms-page-inline);
}

.global-nav {
  justify-self: end;
}

.global-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1.35rem, 2.1vw, 2.5rem);
}

.global-nav a {
  position: relative;
  display: block;
  padding-block: 2.1rem;
  font-size: 0.81rem;
  font-weight: 500;
  text-decoration: none;
}

.global-nav a::after {
  position: absolute;
  right: 0;
  bottom: 1.55rem;
  left: 0;
  height: 1px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease-out;
}

.global-nav a:hover::after,
.global-nav a:focus-visible::after,
.global-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.global-nav__mobile-cta {
  display: none;
}

.global-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--rms-rule);
  color: var(--rms-ink);
  background: transparent;
  cursor: pointer;
}

.global-nav-toggle__lines,
.global-nav-toggle__lines::before,
.global-nav-toggle__lines::after {
  display: block;
  width: 1.15rem;
  height: 1px;
  background: currentColor;
  transition: transform 160ms ease-out;
}

.global-nav-toggle__lines {
  position: relative;
}

.global-nav-toggle__lines::before,
.global-nav-toggle__lines::after {
  position: absolute;
  left: 0;
  content: "";
}

.global-nav-toggle__lines::before {
  top: -0.32rem;
}

.global-nav-toggle__lines::after {
  top: 0.32rem;
}

.global-nav-toggle[aria-expanded="true"] .global-nav-toggle__lines {
  background: transparent;
}

.global-nav-toggle[aria-expanded="true"] .global-nav-toggle__lines::before {
  top: 0;
  transform: rotate(45deg);
}

.global-nav-toggle[aria-expanded="true"] .global-nav-toggle__lines::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Shared controls */
.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding-inline: 1.25rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-decoration: none;
  transition:
    color 160ms ease-out,
    background-color 160ms ease-out,
    border-color 160ms ease-out;
}

.button--header {
  min-height: 2.75rem;
  color: var(--rms-paper);
  background: var(--rms-ink);
  white-space: nowrap;
}

.button--header:hover,
.button--primary:hover {
  background: var(--rms-slate);
}

.button--primary {
  color: var(--rms-paper);
  background: var(--rms-ink);
}

.button--secondary {
  border-color: #aeb4b3;
  color: var(--rms-ink);
  background: transparent;
}

.button--secondary:hover {
  border-color: var(--rms-ink);
  background: #ffffff;
}

.button--light {
  color: var(--rms-ink);
  background: var(--rms-ivory);
}

.button--light:hover {
  background: #ffffff;
}

.button--outline-light {
  border-color: #65737d;
  color: var(--rms-paper);
}

.button--outline-light:hover {
  border-color: var(--rms-paper);
  background: rgba(255, 255, 255, 0.05);
}

.text-link {
  display: inline-flex;
  gap: 0.8rem;
  align-items: center;
  width: fit-content;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--rms-steel);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-decoration: none;
}

.text-link span {
  color: var(--rms-cognac);
  transition: transform 160ms ease-out;
}

.text-link:hover span {
  transform: translateX(0.22rem);
}

.eyebrow {
  color: var(--rms-teal);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: #8db8b4;
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(25rem, 0.82fr);
  gap: clamp(3rem, 5vw, 6rem);
  /* TEMP COMPOSITION NOTE — align both hero columns to the top */
  align-items: start;
  width: 100%;
  /* TEMP COMPOSITION NOTE — compact desktop hero min-height: 680px */
  min-height: 42.5rem;
  margin-inline: 0;
  /* TEMP COMPOSITION NOTE — desktop hero top padding: 72px */
  padding: 4.5rem var(--rms-page-inline) 3.5rem;
  color: var(--rms-paper);
  background:
    radial-gradient(circle at 77% 43%, rgba(46, 118, 112, 0.14), transparent 28%),
    radial-gradient(circle at 16% 86%, rgba(181, 122, 58, 0.07), transparent 25%),
    #0b1720;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  background-color: #0b1720;
  background-image: url("../images/planning-field-dark.svg");
  background-position: center;
  background-size: cover;
  content: "";
  pointer-events: none;
}

.hero::after {
  position: absolute;
  right: var(--rms-page-inline);
  bottom: 1.5rem;
  color: rgba(201, 211, 211, 0.36);
  content: "GRID 04 / DATUM 00 / READINESS 06";
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 50rem;
  margin-top: 1.4rem;
  color: #f5f2e9;
  font-size: clamp(3.25rem, 5vw, 6.3rem);
  line-height: 0.89;
}

.hero .eyebrow {
  color: #8db8b4;
}

.hero__summary {
  max-width: 45rem;
  margin-top: 2.4rem;
  color: #bdc6c8;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.75;
}

.hero .button-group {
  margin-top: 2.3rem;
}

.hero__trust {
  margin-top: 1.35rem;
  color: rgba(201, 211, 211, 0.72);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.hero .button--primary {
  color: #10202b;
  background: #f1eee5;
  border-color: #f1eee5;
}

.hero .button--primary:hover {
  color: #10202b;
  background: #fff;
  border-color: #fff;
}

.hero .button--secondary {
  color: #eef0eb;
  border-color: rgba(238, 240, 235, 0.35);
}

.hero .button--secondary:hover {
  color: #fff;
  border-color: rgba(238, 240, 235, 0.7);
  background: rgba(255, 255, 255, 0.04);
}

.risk-cycle {
  position: relative;
  z-index: 1;
  width: min(100%, 35rem);
  margin-inline: auto;
  padding: 1rem 0 0;
}

.risk-cycle__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
  color: rgba(209, 218, 216, 0.48);
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.risk-cycle__diagram {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
}

.risk-cycle__paths {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: rgba(141, 184, 180, 0.28);
  stroke-width: 1;
}

.risk-cycle__paths path {
  stroke: rgba(141, 184, 180, 0.34);
}

.risk-cycle__paths marker path {
  fill: #8db8b4;
  stroke: none;
}

.risk-cycle__outer-ring {
  stroke: rgba(199, 209, 208, 0.12);
  stroke-dasharray: 2 8;
}

.risk-cycle__main-ring {
  stroke: rgba(141, 184, 180, 0.22);
}

.risk-cycle__inner-ring {
  stroke: rgba(181, 122, 58, 0.22);
  stroke-dasharray: 3 7;
}

.risk-cycle__crosshair {
  stroke: rgba(181, 122, 58, 0.45) !important;
}

.risk-cycle__stages {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.risk-stage {
  position: absolute;
  display: grid;
  gap: 0.1rem;
  min-width: 6rem;
  padding: 0.55rem 0.7rem;
  color: rgba(220, 226, 224, 0.6);
  text-align: center;
  background: rgba(11, 23, 32, 0.88);
  border: 1px solid rgba(141, 184, 180, 0.16);
  transform: translate(-50%, -50%);
  transition:
    color 450ms ease,
    border-color 450ms ease,
    background-color 450ms ease,
    box-shadow 450ms ease;
}

.risk-stage:nth-child(1) {
  top: 16.5%;
  left: 50%;
}

.risk-stage:nth-child(2) {
  top: 33.25%;
  left: 78.9%;
}

.risk-stage:nth-child(3) {
  top: 66.75%;
  left: 78.9%;
}

.risk-stage:nth-child(4) {
  top: 83.5%;
  left: 50%;
}

.risk-stage:nth-child(5) {
  top: 66.75%;
  left: 21.1%;
}

.risk-stage:nth-child(6) {
  top: 33.25%;
  left: 21.1%;
}

.risk-stage span {
  color: rgba(181, 122, 58, 0.7);
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.risk-stage strong {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.risk-stage.is-active {
  color: #f4f3ed;
  background: rgba(17, 42, 49, 0.96);
  border-color: rgba(141, 184, 180, 0.72);
  box-shadow: 0 0 0 4px rgba(141, 184, 180, 0.06);
}

.risk-stage.is-active span {
  color: #d1a66f;
}

.risk-cycle__center {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  gap: 0.2rem;
  width: 36%;
  color: #f3f1e8;
  text-align: center;
  transform: translate(-50%, -50%);
}

.risk-cycle__center span,
.risk-cycle__center strong {
  font-size: clamp(0.64rem, 1vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.risk-cycle__center span {
  color: #8db8b4;
}

.risk-cycle__signal {
  position: absolute;
  z-index: 4;
  top: 16.5%;
  left: 50%;
  width: 0.55rem;
  height: 0.55rem;
  background: #d1a66f;
  border: 2px solid #0b1720;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(209, 166, 111, 0.17);
  transform: translate(-50%, -50%);
  transition:
    top 900ms cubic-bezier(0.4, 0, 0.2, 1),
    left 900ms cubic-bezier(0.4, 0, 0.2, 1);
}

.risk-cycle__signal::after {
  position: absolute;
  inset: -0.35rem;
  border: 1px solid rgba(209, 166, 111, 0.55);
  border-radius: inherit;
  animation: readiness-pulse 2.4s ease-out infinite;
  content: "";
}

.risk-cycle__context {
  position: absolute;
  color: rgba(203, 213, 211, 0.3);
  font-size: 0.48rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.risk-cycle__context--people {
  top: 3%;
  left: 12%;
}

.risk-cycle__context--technology {
  top: 50%;
  right: -2%;
  transform: rotate(90deg);
}

.risk-cycle__context--process {
  right: 12%;
  bottom: 3%;
}

.risk-cycle__context--response {
  top: 50%;
  left: -1%;
  transform: rotate(-90deg);
}

.risk-cycle__microcopy {
  margin-top: 0.65rem;
  color: rgba(218, 225, 222, 0.58);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.risk-cycle:hover .risk-cycle__signal::after,
.risk-cycle:focus-within .risk-cycle__signal::after {
  animation-play-state: paused;
}

@keyframes readiness-pulse {
  0% {
    opacity: 0.8;
    transform: scale(0.55);
  }

  70%,
  100% {
    opacity: 0;
    transform: scale(1.65);
  }
}

/* Shared section structure */
.section {
  width: 100%;
  margin-inline: 0;
  padding: clamp(6rem, 11vw, 11rem) var(--rms-page-inline);
}

.section-dark {
  padding: clamp(6rem, 10vw, 10rem) var(--rms-page-inline);
  color: var(--rms-paper);
  background-color: var(--rms-ink);
  background-image: url("../images/planning-field-dark.svg");
  background-position: center;
  background-size: cover;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
  width: 100%;
  margin-inline: 0;
}

.section-heading {
  grid-column: 1 / span 5;
}

.section-heading h2,
.section-intro h2,
.methodology__intro h2,
.founder h2,
.closing-cta h2 {
  margin-top: 1.2rem;
  font-size: clamp(3rem, 5.4vw, 5.8rem);
  line-height: 0.94;
}

.section-intro {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: end;
  margin-bottom: clamp(3.5rem, 6vw, 6rem);
}

.section-intro > div {
  grid-column: 1 / span 8;
}

.section-intro > p {
  grid-column: 9 / -1;
  max-width: 28rem;
  color: var(--rms-muted);
  font-size: 0.94rem;
  line-height: 1.75;
}

.section-intro--dark > p {
  color: #aeb6b9;
}

/* Philosophy */
.philosophy__body {
  grid-column: 7 / -1;
  max-width: 43rem;
}

.lead {
  font-family: var(--rms-serif);
  font-size: clamp(1.4rem, 2.1vw, 2rem);
  line-height: 1.4;
  letter-spacing: -0.015em;
}

.philosophy__body > p:nth-child(2) {
  max-width: 39rem;
  margin-top: 1.8rem;
  color: #aeb6b9;
  line-height: 1.8;
}

.philosophy__principles {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 3rem;
  border-top: 1px solid #3a4751;
  border-bottom: 1px solid #3a4751;
}

.philosophy__principles a {
  position: relative;
  z-index: 1;
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 3.1rem;
  padding: 1rem 0.75rem;
  color: #d7d9d6;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: color 160ms ease-out, background-color 160ms ease-out;
}

.philosophy__principles a + a {
  border-left: 1px solid #3a4751;
}

.philosophy__principles a:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.04);
}

.philosophy__principles a:focus-visible {
  outline: 2px solid var(--rms-teal);
  outline-offset: -2px;
}

/* Capabilities */
.capabilities {
  background: var(--rms-paper);
}

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

.capability-card {
  position: relative;
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
  min-height: 12rem;
  padding: 2rem;
  border-bottom: 1px solid var(--rms-rule);
}

.capability-card:nth-child(odd) {
  border-right: 1px solid var(--rms-rule);
}

.capability-card::before {
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--rms-teal);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease-out;
}

.capability-card:hover::before {
  transform: scaleX(1);
}

.capability-card > span {
  color: var(--rms-teal);
  font-size: 0.66rem;
  font-weight: 600;
}

.capability-card h3 {
  font-family: var(--rms-serif);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.capability-card p {
  grid-column: 2 / span 1;
  max-width: 29rem;
  color: var(--rms-muted);
  font-size: 0.83rem;
  line-height: 1.65;
}

.capability-card a {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: end;
  color: var(--rms-ink);
  font-size: 0;
  text-decoration: none;
}

.capability-card a span {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--rms-rule);
  color: var(--rms-cognac);
  font-size: 1rem;
  transition:
    color 160ms ease-out,
    background-color 160ms ease-out,
    transform 160ms ease-out;
}

.capability-card:hover a span {
  color: var(--rms-paper);
  background: var(--rms-ink);
  transform: translateX(0.15rem);
}

/* Methodology */
.methodology {
  border-top: 1px solid var(--rms-rule);
  background-color: var(--rms-ivory);
  background-image: url("../images/planning-field-light.svg");
  background-position: center;
  background-size: cover;
}

.methodology__intro {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: end;
}

.methodology__intro .eyebrow {
  grid-column: 1 / -1;
}

.methodology__intro h2 {
  grid-column: 1 / span 8;
}

.methodology__intro > p:last-child {
  grid-column: 9 / -1;
  color: var(--rms-muted);
  font-size: 0.94rem;
  line-height: 1.75;
}

.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: clamp(4rem, 8vw, 7rem);
}

.process::before {
  position: absolute;
  top: 2.95rem;
  right: 0;
  left: 0;
  height: 1px;
  background: #adb3b1;
  content: "";
}

.process li {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 10rem;
  padding-right: 1rem;
}

.process__number {
  color: #7b858a;
  font-size: 0.62rem;
  font-weight: 600;
}

.process__node {
  position: relative;
  z-index: 1;
  width: 1rem;
  height: 1rem;
  margin-top: 1.95rem;
  border: 3px solid var(--rms-ivory);
  border-radius: 50%;
  background: var(--rms-teal);
  outline: 1px solid var(--rms-teal);
}

.process li:last-child .process__node {
  background: var(--rms-cognac);
  outline-color: var(--rms-cognac);
}

.process strong {
  margin-top: 1.35rem;
  font-family: var(--rms-serif);
  font-size: 1.3rem;
  font-weight: 500;
}

.process small {
  margin-top: 0.25rem;
  color: var(--rms-muted);
  font-size: 0.68rem;
}

.methodology > .text-link {
  margin-top: 2.5rem;
}

/* Industries */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #3a4751;
  border-left: 1px solid #3a4751;
}

.industry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 13rem;
  padding: 1.5rem;
  border-right: 1px solid #3a4751;
  border-bottom: 1px solid #3a4751;
  color: var(--rms-paper);
  text-decoration: none;
  transition: background-color 180ms ease-out;
}

.industry-card:hover {
  background: var(--rms-slate);
}

.industry-card > span {
  color: #7e8c95;
  font-size: 0.62rem;
}

.industry-card strong {
  max-width: 13rem;
  margin-top: auto;
  font-family: var(--rms-serif);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.15;
}

.industry-card i {
  position: absolute;
  top: 1.3rem;
  right: 1.3rem;
  color: #8db8b4;
  font-size: 0.9rem;
  font-style: normal;
  transition: transform 160ms ease-out;
}

.industry-card:hover i {
  transform: translate(0.15rem, -0.15rem);
}

/* Founder / leadership intro */
.founder {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.leadership-intro {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.leadership-intro__content {
  grid-column: 1 / span 8;
  max-width: 46rem;
}

.leadership-intro__content h2 {
  margin-top: 1.1rem;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.98;
}

.leadership-intro__content > p {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  max-width: 42rem;
  color: var(--rms-muted);
  line-height: 1.8;
}

.capabilities__action {
  display: flex;
  justify-content: flex-start;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.founder__portrait {
  grid-column: 1 / span 5;
}

.portrait-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  color: var(--rms-paper);
  background: var(--rms-slate);
}

.portrait-placeholder::before,
.portrait-placeholder::after {
  position: absolute;
  content: "";
}

.portrait-placeholder::before {
  width: 70%;
  height: 70%;
  border: 1px solid rgba(245, 242, 234, 0.18);
  transform: rotate(45deg);
}

.portrait-placeholder::after {
  top: 8%;
  right: 8%;
  bottom: 8%;
  left: 8%;
  border-top: 1px solid rgba(245, 242, 234, 0.14);
  border-bottom: 1px solid rgba(245, 242, 234, 0.14);
}

.portrait-placeholder > span {
  position: relative;
  z-index: 1;
  font-family: var(--rms-serif);
  font-size: clamp(4rem, 8vw, 8rem);
  letter-spacing: -0.07em;
}

.portrait-placeholder > small {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  color: #aeb8bc;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.founder__caption {
  display: flex;
  justify-content: space-between;
  padding-top: 0.8rem;
  color: var(--rms-muted);
  font-size: 0.64rem;
  line-height: 1.45;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.founder__caption span:last-child {
  text-align: right;
}

.founder__content {
  grid-column: 7 / -1;
  max-width: 42rem;
}

.founder__content .lead {
  margin-top: 1.8rem;
}

.founder__content > p:not(.eyebrow):not(.lead) {
  margin-top: 1.5rem;
  color: var(--rms-muted);
  line-height: 1.8;
}

.founder__content .founder__note {
  padding-left: 1rem;
  border-left: 2px solid var(--rms-cognac);
  font-size: 0.76rem;
}

.founder__content .text-link {
  margin-top: 2rem;
}

/* Closing CTA */
.closing-cta {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
  width: 100%;
  min-height: 40rem;
  padding: clamp(6rem, 10vw, 10rem) var(--rms-page-inline);
  overflow: hidden;
  color: var(--rms-paper);
  background: var(--rms-teal);
}

.closing-cta__content {
  position: relative;
  z-index: 2;
  grid-column: 1 / span 9;
}

.closing-cta h2 {
  max-width: 64rem;
}

.closing-cta .button-group {
  margin-top: 2.5rem;
}

.closing-cta__mark {
  position: absolute;
  right: -5%;
  bottom: -18%;
  display: flex;
  gap: 1.2rem;
  align-items: flex-end;
  width: 32%;
  height: 75%;
  opacity: 0.12;
  transform: rotate(8deg);
}

.closing-cta__mark span {
  flex: 1;
  border: 1px solid var(--rms-paper);
}

.closing-cta__mark span:nth-child(1) {
  height: 38%;
}

.closing-cta__mark span:nth-child(2) {
  height: 66%;
}

.closing-cta__mark span:nth-child(3) {
  height: 100%;
}

/* Executive footer */
.site-footer--executive {
  padding: 0;
  border: 0;
  color: #c9cecd;
  background: #071018;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 0.8fr 1fr 1.2fr;
  gap: 3rem;
  width: 100%;
  margin-inline: 0;
  padding: 5rem var(--rms-page-inline);
}

.footer-wordmark {
  color: var(--rms-paper);
  font-family: var(--rms-serif);
  font-size: 1.8rem;
  line-height: 0.94;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.footer-brand-block p {
  margin-top: 1.3rem;
  color: #7f8b91;
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-brand-block .footer-veteran {
  margin-top: 0.55rem;
  color: #6d7a81;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
}

.footer-nav-group > p,
.footer-contact > p {
  margin-bottom: 1.2rem;
  color: #7f8b91;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-nav-group ul {
  display: grid;
  gap: 0.7rem;
}

.footer-nav-group a {
  color: #c9cecd;
  font-size: 0.76rem;
  text-decoration: none;
}

.footer-nav-group a:hover,
.footer-contact a:hover {
  color: var(--rms-paper);
}

.footer-contact a {
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #3d4850;
  color: var(--rms-paper);
  font-family: var(--rms-serif);
  font-size: 1.15rem;
  text-decoration: none;
}

.footer-contact a span {
  color: #8db8b4;
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-inline: 0;
  padding: 1.2rem var(--rms-page-inline);
  border-top: 1px solid #25313a;
  color: #748087;
  font-size: 0.63rem;
}

.footer-legal div {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  text-decoration: none;
}

/* Restrained reveal motion */
.js .reveal {
  opacity: 0;
  transform: translateY(0.75rem);
  transition:
    opacity 420ms ease-out,
    transform 420ms ease-out;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .hero .reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 78rem) {
  .global-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .global-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    justify-self: stretch;
    width: 100%;
    padding: 1rem var(--rms-gutter) 1.5rem;
    border-top: 1px solid var(--rms-rule);
    border-bottom: 1px solid var(--rms-rule);
    background: var(--rms-paper);
  }

  .global-nav.is-open {
    display: block;
  }

  .global-nav ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .global-nav a {
    padding: 0.85rem 0;
  }

  .global-nav a::after {
    right: 2rem;
    bottom: 0.55rem;
  }

  .global-nav__mobile-cta {
    display: block;
  }

  .global-nav__mobile-cta a {
    width: fit-content;
    margin-top: 0.6rem;
    padding: 0.75rem 1rem;
    color: var(--rms-paper);
    background: var(--rms-ink);
  }

  .global-nav__mobile-cta a::after {
    display: none;
  }

  .global-nav-toggle {
    display: flex;
    grid-column: 3;
  }

  .button--header {
    justify-self: end;
    grid-column: 2;
    grid-row: 1;
  }

  .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(24rem, 0.85fr);
    gap: 3rem;
  }
}

@media (max-width: 62rem) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__content {
    max-width: 54rem;
  }

  .risk-cycle {
    width: min(100%, 34rem);
    margin-left: auto;
  }

  .section-heading {
    grid-column: 1 / span 6;
  }

  .philosophy__body {
    grid-column: 7 / -1;
  }

  .section-intro > div,
  .methodology__intro h2 {
    grid-column: 1 / span 7;
  }

  .section-intro > p,
  .methodology__intro > p:last-child {
    grid-column: 8 / -1;
  }

  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-contact {
    grid-column: 1 / -1;
    max-width: 28rem;
  }

  .process {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .process::before {
    top: 0;
    bottom: 0;
    left: 0.48rem;
    width: 1px;
    height: auto;
  }

  .process li {
    display: grid;
    grid-template-columns: 2rem 1fr;
    min-height: 0;
    padding: 0 0 2.2rem 0;
  }

  .process__number {
    grid-column: 2;
    grid-row: 1;
  }

  .process__node {
    grid-column: 1;
    grid-row: 1 / span 3;
    margin-top: 0.3rem;
  }

  .process strong {
    grid-column: 2;
    margin-top: 0.2rem;
  }

  .process small {
    grid-column: 2;
  }
}

@media (max-width: 48rem) {
  .global-header__inner {
    min-height: 4.75rem;
  }

  .global-brand__logo {
    height: 2rem;
  }

  .button--header {
    display: none;
  }

  .global-nav-toggle {
    justify-self: end;
  }

  .global-nav ul {
    grid-template-columns: 1fr;
  }

  .global-nav a {
    padding-block: 0.72rem;
    font-size: 0.86rem;
  }

  .hero {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 14vw, 5rem);
  }

  .hero__summary {
    margin-top: 1.8rem;
  }

  .risk-cycle {
    width: min(100%, 30rem);
    margin-inline: auto;
  }

  .section-grid,
  .section-intro,
  .methodology__intro,
  .founder,
  .leadership-intro {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .philosophy__body,
  .section-intro > div,
  .section-intro > p,
  .methodology__intro .eyebrow,
  .methodology__intro h2,
  .methodology__intro > p:last-child,
  .founder__portrait,
  .founder__content,
  .leadership-intro__content,
  .closing-cta__content {
    grid-column: 1 / -1;
  }

  .philosophy__body,
  .section-intro > p,
  .methodology__intro > p:last-child,
  .founder__content,
  .leadership-intro__content {
    margin-top: 2rem;
  }

  .section-heading h2,
  .section-intro h2,
  .methodology__intro h2,
  .founder h2,
  .closing-cta h2 {
    font-size: clamp(2.4rem, 10vw, 3.8rem);
    line-height: 1.05;
  }

  .philosophy__principles {
    grid-template-columns: 1fr;
  }

  .philosophy__principles a + a {
    border-top: 1px solid #3a4751;
    border-left: 0;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .capability-card:nth-child(odd) {
    border-right: 0;
  }

  .process {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .process::before {
    top: 0;
    bottom: 0;
    left: 0.48rem;
    width: 1px;
    height: auto;
  }

  .process li {
    display: grid;
    grid-template-columns: 2rem 1fr;
    min-height: 0;
    padding: 0 0 2.2rem 0;
  }

  .process__number {
    grid-column: 2;
    grid-row: 1;
  }

  .process__node {
    grid-column: 1;
    grid-row: 1 / span 3;
    margin-top: 0.3rem;
  }

  .process strong {
    grid-column: 2;
    margin-top: 0.2rem;
  }

  .process small {
    grid-column: 2;
  }

  .founder__portrait {
    width: min(100%, 30rem);
  }

  .closing-cta {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 4.5rem;
  }

  .closing-cta__content {
    grid-column: 1 / -1;
  }

  .industry-grid {
    grid-template-columns: 1fr;
  }

  .industry-card strong {
    max-width: none;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand-block,
  .footer-nav-group,
  .footer-contact {
    grid-column: 1;
  }

  .capability-card {
    grid-template-columns: 2.25rem minmax(0, 1fr);
    min-height: 0;
    padding: 1.5rem 0.75rem;
  }

  .capability-card p {
    grid-column: 2;
  }

  .capability-card a {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 11vw, 4.2rem);
    line-height: 1.05;
  }

  /* Stack operational readiness stages instead of shrinking the circular diagram */
  .risk-cycle__diagram {
    aspect-ratio: auto;
  }

  .risk-cycle__paths,
  .risk-cycle__signal,
  .risk-cycle__center,
  .risk-cycle__context {
    display: none;
  }

  .risk-cycle__stages {
    position: static;
    display: grid;
    gap: 0.65rem;
  }

  .risk-stage {
    position: static;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem 1rem;
    width: 100%;
    min-width: 0;
    padding: 0.85rem 1rem;
    text-align: left;
    transform: none;
  }

  .risk-stage span {
    letter-spacing: 0.08em;
  }

  .risk-stage strong {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
  }

  .risk-cycle__meta {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 34rem) {
  .button-group {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero {
    padding-top: 4rem;
  }

  .risk-cycle__context {
    display: none;
  }

  .risk-cycle__microcopy {
    font-size: 0.55rem;
  }

  .industry-card {
    min-height: 9rem;
  }

  .footer-legal {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .risk-cycle__signal {
    transition: none;
  }

  .risk-cycle__signal::after {
    animation: none;
  }

  .js .reveal,
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
