/* ==========================================================================
   Risk Management Solutions — Base styles (scaffold only)
   ========================================================================== */

/* Custom properties — placeholders for the future design system */
:root {
  --color-text: #1a1a1a;
  --color-background: #fbfaf7;
  --color-border: #d9d9d9;
  --color-focus: #0b5fff;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --container-max: 72rem;
  --header-height: 4rem;
}

/* Box sizing and basic reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  max-width: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  min-height: 100vh;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-background);
  overflow-wrap: break-word;
}

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

main,
section,
.container,
.firm-shell,
.global-header__inner {
  min-width: 0;
}

input,
button,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

/* Accessibility */
.skip-link {
  position: absolute;
  left: var(--space-sm);
  top: -100%;
  z-index: 1000;
  padding: var(--space-xs) var(--space-sm);
  background: var(--color-background);
  border: 2px solid var(--color-focus);
  text-decoration: none;
}

.skip-link:focus {
  top: var(--space-sm);
}

:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

/* Layout */
.container {
  width: min(100% - 2rem, var(--container-max));
  margin-inline: auto;
}

main {
  flex: 1;
}

/* Header / navigation scaffold */
.site-header {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface, var(--rms-paper));
}

.site-header--light {
  color: #0d1b24;
  border-bottom-color: var(--rms-rule);
  background: rgba(251, 250, 247, 0.96);
}

.site-header--dark {
  color: var(--rms-ivory);
  border-bottom-color: rgba(166, 173, 179, 0.16);
  background: rgba(7, 19, 29, 0.97);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  min-height: var(--header-height);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  text-decoration: none;
}

.site-header .global-brand__logo,
.site-logo .global-brand__logo {
  display: block;
  width: auto;
  height: 2.5rem;
  opacity: 1;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--color-border);
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin-inline: auto;
  background: var(--color-text);
}

.primary-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
}

.primary-nav a {
  text-decoration: none;
}

.primary-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

/* Legal / utility pages (Privacy) — full-bleed sections, firm-shell content */
.privacy-page {
  color: var(--rms-slate, #263746);
  background: var(--rms-paper, #fbfaf7);
  font-family: var(--rms-sans, "Inter", Arial, sans-serif);
}

.privacy-page h1 {
  margin: 0;
  font-family: var(--rms-serif, "Source Serif 4", Georgia, serif);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.page-hero {
  width: 100%;
  margin-inline: 0;
  padding: clamp(5rem, 8vw, 7.5rem) 0 clamp(3rem, 5vw, 4.5rem);
  background:
    var(--rms-paper, #fbfaf7) url("../images/planning-field-light.svg") center / cover;
  border-bottom: 1px solid var(--rms-rule, #d9dad5);
}

.page-hero__copy .eyebrow,
.page-hero__copy h1,
.page-hero__copy .page-intro {
  max-width: 44rem;
}

.page-hero .eyebrow {
  color: var(--rms-teal, #2c6e6a);
}

.page-hero h1 {
  margin-top: 1.2rem;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.96;
}

.page-intro {
  margin-top: 1.5rem;
  color: var(--rms-muted, #5f6b72);
  font-size: 1.05rem;
  line-height: 1.75;
}

.page-content {
  width: 100%;
  margin-inline: 0;
  background: var(--rms-paper, #fbfaf7);
}

.page-content__body {
  max-width: 44rem;
}

.page-content__body p + p {
  margin-top: 1.35rem;
}

.page-content__body a {
  color: var(--rms-teal, #2c6e6a);
  text-underline-offset: 0.2em;
}

.page-content__body a:hover {
  color: var(--rms-ink, #0b1620);
}

/* Footer scaffold */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-md);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
}

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

.footer-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

/* ==========================================================================
   Approved brand identity
   ========================================================================== */
:root {
  --color-text: #121a22;
  --color-background: #f5f5f2;
  --color-border: #d4d8d8;
  --color-focus: #1f7a74;
  --font-sans: "Inter", Arial, sans-serif;
  --rms-ink: #07131d;
  --rms-slate: #121a22;
  --rms-ivory: #f5f5f2;
  --rms-paper: #fafaf7;
  --rms-steel: #a6adb3;
  --rms-teal: #1f7a74;
  --rms-teal-deep: #0d5d5a;
  --rms-cognac: #b68149;
  --rms-rule: #d4d8d8;
  --rms-muted: #5d6871;
}

.home-page {
  color: var(--rms-slate);
  background: var(--rms-paper);
}

.home-page :focus-visible {
  outline: 2px solid #59aaa3;
  outline-offset: 3px;
}

/* Global header themes */
.global-header {
  position: relative;
  z-index: 50;
  border-bottom: 1px solid transparent;
}

.global-header.is-stuck {
  position: sticky;
  top: 0;
  box-shadow: 0 12px 32px rgba(2, 8, 13, 0.16);
  backdrop-filter: blur(14px);
}

.global-header--dark {
  color: var(--rms-ivory);
  border-bottom-color: rgba(166, 173, 179, 0.16);
  background: rgba(7, 19, 29, 0.97);
}

.global-header--light {
  color: #0d1b24;
  border-bottom-color: var(--rms-rule);
  background: rgba(251, 250, 247, 0.96);
}

.global-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  width: fit-content;
  color: inherit;
  text-decoration: none;
}

.global-brand__logo {
  display: block;
  width: auto;
  height: 2.85rem;
  opacity: 1;
}

.global-header--dark .global-nav a {
  color: rgba(245, 245, 242, 0.78);
  font-size: 0.81rem;
}

.global-header--dark .global-nav a:hover,
.global-header--dark .global-nav a:focus-visible {
  color: #ffffff;
}

.global-header--dark .global-nav a::after {
  background: #59aaa3;
  transition-duration: 240ms;
}

.global-header--light .global-nav a {
  color: #34434d;
  font-size: 0.81rem;
}

.global-header--light .global-nav a:hover,
.global-header--light .global-nav a:focus-visible {
  color: var(--rms-ink);
}

.global-header--light .global-nav a::after {
  background: var(--rms-teal);
  transition-duration: 240ms;
}

.global-header--light .global-nav a[aria-current="page"] {
  color: var(--rms-ink);
}

.global-header--dark .button--header {
  color: var(--rms-ivory);
  border-color: rgba(245, 245, 242, 0.28);
  background: transparent;
}

.global-header--light .button--header {
  color: var(--rms-ink);
  border-color: rgba(13, 27, 36, 0.28);
  background: transparent;
}

.global-header--light .global-nav-toggle__lines,
.global-header--light .global-nav-toggle__lines::before,
.global-header--light .global-nav-toggle__lines::after {
  background: var(--rms-ink);
}

/* Alias names requested for theme clarity */
.site-header--light.global-header,
.global-header.site-header--light {
  color: #0d1b24;
  border-bottom-color: var(--rms-rule);
  background: rgba(251, 250, 247, 0.96);
}

.site-header--dark.global-header,
.global-header.site-header--dark {
  color: var(--rms-ivory);
  border-bottom-color: rgba(166, 173, 179, 0.16);
  background: rgba(7, 19, 29, 0.97);
}

.global-nav-toggle {
  color: var(--rms-ivory);
  border-color: rgba(166, 173, 179, 0.3);
}

.button--header {
  color: #ffffff;
  background: var(--rms-teal-deep);
  border-color: rgba(95, 169, 162, 0.46);
}

.button--header:hover {
  color: #ffffff;
  background: var(--rms-teal);
  border-color: #59aaa3;
}

/* Dark assessment-led hero */
.hero {
  background:
    radial-gradient(circle at 77% 43%, rgba(31, 122, 116, 0.16), transparent 28%),
    radial-gradient(circle at 16% 86%, rgba(182, 129, 73, 0.06), transparent 25%),
    var(--rms-ink);
}

.hero::before {
  background-color: var(--rms-ink);
}

.hero h1 {
  color: var(--rms-ivory);
}

.hero__summary {
  color: #c4cacc;
}

@media (min-width: 62.0625rem) {
  .hero {
    grid-template-columns: minmax(0, 1.34fr) minmax(23rem, 0.66fr);
    gap: clamp(2.75rem, 4.5vw, 5rem);
  }

  .hero h1 {
    max-width: 55rem;
    font-size: clamp(3.9rem, 6vw, 7.5rem);
    line-height: 0.88;
  }

  .hero__summary {
    max-width: 49rem;
  }

  .risk-cycle {
    width: min(100%, 31rem);
  }

  .philosophy {
    padding-top: clamp(5rem, 7vw, 7rem);
  }
}

@media (min-width: 80rem) {
  .hero h1 {
    margin-top: 1.65rem;
  }

  .hero .hero__summary {
    margin-top: 2.75rem;
    line-height: 1.82;
  }

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

  .risk-cycle {
    width: min(106%, 33rem);
  }
}

.hero .eyebrow,
.risk-cycle__center span {
  color: #72b6b0;
}

.risk-cycle__paths {
  stroke: rgba(89, 170, 163, 0.3);
}

.risk-cycle__paths path {
  stroke: rgba(89, 170, 163, 0.38);
}

.risk-cycle__paths marker path {
  fill: #72b6b0;
}

.risk-stage {
  background: rgba(7, 19, 29, 0.9);
  border-color: rgba(89, 170, 163, 0.18);
}

.risk-stage.is-active {
  background: rgba(13, 62, 62, 0.96);
  border-color: rgba(114, 182, 176, 0.78);
  box-shadow: 0 0 0 4px rgba(31, 122, 116, 0.1);
}

.risk-cycle__signal {
  background: #c59359;
  border-color: var(--rms-ink);
}

/* Consistent dark sections and refined accents */
.section-dark {
  background-color: var(--rms-ink);
}

.text-link span,
.process__number {
  color: var(--rms-cognac);
}

.capability-card:hover {
  border-color: rgba(31, 122, 116, 0.4);
}

/* Approved footer identity */
.site-footer.site-footer--executive {
  padding: 0;
  color: #c9d0d0;
  background: #050f17;
  border: 0;
}

.footer-brand-identity {
  display: inline-flex;
  width: fit-content;
  text-decoration: none;
}

.footer-logo {
  display: block;
  width: min(100%, 16.25rem);
  height: auto;
}

.footer-brand-block p,
.footer-legal {
  color: #8f9a9f;
}

.footer-nav-group a:hover,
.footer-contact a:hover,
.footer-legal a:hover {
  color: #72b6b0;
}

/* ==========================================================================
   Assessment methodology sequence
   ========================================================================== */
.process__stage {
  --methodology-accent: var(--rms-teal);
  outline-offset: 0.5rem;
}

.process__stage:nth-child(6) {
  --methodology-accent: var(--rms-cognac);
}

.process::after {
  position: absolute;
  top: 2.95rem;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--rms-teal);
  content: "";
  pointer-events: none;
  transform: scaleX(var(--methodology-progress, 0));
  transform-origin: left center;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.methodology.is-resetting .process::after {
  transition: none;
}

.process__node {
  transition:
    transform 220ms ease-out,
    box-shadow 220ms ease-out,
    outline-color 220ms ease-out;
}

.process__node::after {
  position: absolute;
  inset: -0.42rem;
  border: 1px solid var(--methodology-accent);
  border-radius: inherit;
  content: "";
  opacity: 0;
  pointer-events: none;
}

.process__stage strong {
  transition: color 220ms ease-out;
}

.process__number {
  display: inline-block;
  width: fit-content;
  transform-origin: left center;
  transition:
    color 220ms ease-out,
    transform 220ms ease-out;
}

.process__stage:focus,
.process__stage.is-stage-focused {
  outline: 2px solid color-mix(in srgb, var(--methodology-accent) 62%, transparent);
}

.process__stage.is-active .process__node,
.process__stage:hover .process__node,
.process__stage:focus .process__node,
.process__stage.is-stage-focused .process__node {
  box-shadow:
    0 0 0 0.38rem color-mix(in srgb, var(--methodology-accent) 13%, transparent),
    0 0 1rem color-mix(in srgb, var(--methodology-accent) 14%, transparent);
  outline-color: var(--methodology-accent);
  transform: scale(1.14);
}

.process__stage.is-active strong,
.process__stage:hover strong,
.process__stage:focus strong,
.process__stage.is-stage-focused strong {
  color: #07131d;
}

.process__stage.is-active .process__number {
  color: var(--methodology-accent);
  transform: scale(1.1);
}

.process__stage.is-active .process__node::after {
  animation: methodology-active-halo 420ms ease-out;
}

@keyframes methodology-active-halo {
  0% {
    opacity: 0;
    transform: scale(0.82);
  }

  35% {
    opacity: 0.48;
  }

  100% {
    opacity: 0;
    transform: scale(1.72);
  }
}

/* ==========================================================================
   Firm page
   ========================================================================== */
.firm-page {
  color: var(--rms-slate);
  background: var(--rms-paper);
}

.firm-page :focus-visible {
  outline: 2px solid #59aaa3;
  outline-offset: 3px;
}

.firm-page h1,
.firm-page h2,
.firm-page h3 {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.firm-page .global-nav a[aria-current="page"] {
  color: #ffffff;
}

.firm-page .global-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.firm-shell {
  width: min(100%, var(--rms-max));
  margin-inline: auto;
  padding-inline: var(--rms-gutter);
  min-width: 0;
}

/* Desktop-only line breaks (legacy). Prefer .heading-line spans for multi-line titles. */
.break-desktop {
  display: inline;
}

/* Explicit multi-line heading segments — block layout so words never concatenate */
.heading-line {
  display: block;
}

.firm-section {
  padding-block: clamp(6rem, 9vw, 9rem);
}

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

.firm-section-heading .eyebrow {
  grid-column: 1 / span 3;
}

.firm-section-heading h2 {
  grid-column: 4 / span 8;
  max-width: 56rem;
  font-size: clamp(3rem, 5vw, 5.4rem);
  line-height: 0.98;
}

/* Firm hero */
.firm-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(25rem, 0.92fr);
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
  width: 100%;
  min-height: 44rem;
  margin-inline: 0;
  padding: clamp(5.5rem, 8vw, 8rem) var(--rms-page-inline);
  color: var(--rms-ivory);
  isolation: isolate;
}

.firm-hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  background:
    radial-gradient(circle at 78% 40%, rgba(31, 122, 116, 0.16), transparent 30%),
    radial-gradient(circle at 14% 84%, rgba(182, 129, 73, 0.06), transparent 25%),
    var(--rms-ink) url("../images/planning-field-dark.svg") center / cover;
  content: "";
}

.firm-hero::after {
  position: absolute;
  right: var(--rms-page-inline);
  bottom: 1.3rem;
  color: rgba(201, 211, 211, 0.32);
  content: "CONTINUUM 03 / ADVISORY 01 / DATUM 00";
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.firm-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 49rem;
}

.firm-hero__copy .eyebrow {
  color: #72b6b0;
}

.firm-hero h1 {
  margin-top: 1.5rem;
  max-width: 52rem;
  color: var(--rms-ivory);
  font-size: clamp(4rem, 6.3vw, 7rem);
  line-height: 0.92;
}

.firm-hero__copy > p:last-child {
  max-width: 44rem;
  margin-top: 2.5rem;
  color: #c4cacc;
  font-size: clamp(1.05rem, 1.25vw, 1.22rem);
  line-height: 1.75;
}

.continuum-map {
  position: relative;
  width: min(100%, 34rem);
  justify-self: end;
  padding: 1rem 1rem 1.2rem;
  border: 1px solid rgba(114, 182, 176, 0.17);
  background: rgba(7, 19, 29, 0.38);
}

.continuum-map__meta {
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.8rem;
  color: rgba(201, 211, 211, 0.62);
  font-size: 0.53rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.continuum-map svg {
  overflow: visible;
}

.continuum-map__grid {
  fill: none;
  stroke: rgba(114, 182, 176, 0.08);
  stroke-width: 1;
}

.continuum-map__contours {
  fill: none;
  stroke: rgba(166, 173, 179, 0.1);
  stroke-width: 1;
}

.continuum-map__route {
  fill: none;
  stroke: rgba(114, 182, 176, 0.68);
  stroke-dasharray: 5 7;
  stroke-width: 1.5;
}

.continuum-map__route-progress {
  fill: none;
  stroke: #72b6b0;
  stroke-dasharray: 5 7;
  stroke-width: 1.5;
}

.continuum-map__route-mask {
  fill: none;
  stroke: #ffffff;
  stroke-linecap: round;
  stroke-width: 8;
}

.continuum-map__node {
  fill: rgba(7, 19, 29, 0.9);
  stroke: #72b6b0;
  stroke-width: 1;
}

.continuum-map__node--four {
  fill: rgba(182, 129, 73, 0.16);
  stroke: #c59359;
}

.continuum-map__labels {
  fill: rgba(245, 245, 242, 0.7);
  font-family: "Inter", Arial, sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.07em;
}

.continuum-map__node,
.continuum-map__label {
  transition:
    opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.continuum-map__node circle:nth-of-type(2) {
  transition:
    fill 260ms ease-out,
    stroke 260ms ease-out;
}

.js .continuum-map.is-sequence-ready:not(.is-complete) .continuum-map__route {
  opacity: 0.16;
}

.js .continuum-map.is-sequence-ready:not(.is-complete) .continuum-map__node {
  opacity: 0.42;
}

.js .continuum-map.is-sequence-ready:not(.is-complete) .continuum-map__label {
  opacity: 0.45;
}

.js .continuum-map.is-sequence-ready .continuum-map__route-mask {
  transition: stroke-dashoffset var(--continuum-duration, 3.5s) cubic-bezier(0.45, 0, 0.18, 1);
}

.js .continuum-map.is-animating .continuum-map__node.is-active,
.js .continuum-map.is-animating .continuum-map__node.is-complete,
.js .continuum-map.is-animating .continuum-map__label.is-active,
.js .continuum-map.is-animating .continuum-map__label.is-complete {
  opacity: 1;
}

.js .continuum-map.is-animating .continuum-map__label.is-active {
  fill: var(--rms-ivory);
}

.js .continuum-map.is-animating .continuum-map__node.is-active circle {
  animation: continuum-stage-pulse 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js .continuum-map.is-animating .continuum-map__node.is-active circle:nth-of-type(2) {
  fill: #72b6b0;
  stroke: #9acbc7;
}

.js .continuum-map.is-animating .continuum-map__node--four.is-active circle:nth-of-type(2) {
  fill: #c59359;
  stroke: #d8b084;
}

.js .continuum-map.is-complete .continuum-map__route-progress {
  opacity: 0;
}

@keyframes continuum-stage-pulse {
  0% {
    filter: drop-shadow(0 0 0 rgba(114, 182, 176, 0));
    stroke-width: 1;
  }

  45% {
    filter: drop-shadow(0 0 5px rgba(114, 182, 176, 0.5));
    stroke-width: 1.8;
  }

  100% {
    filter: drop-shadow(0 0 0 rgba(114, 182, 176, 0));
    stroke-width: 1;
  }
}

.continuum-map figcaption {
  padding-top: 0.9rem;
  border-top: 1px solid rgba(114, 182, 176, 0.13);
  color: rgba(201, 211, 211, 0.62);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

/* Integrated Security Model — shared continuum graphic */
.security-model {
  position: relative;
  width: min(100%, 38rem);
  margin: 0;
  padding: 1.1rem 1.1rem 1.25rem;
  border: 1px solid rgba(114, 182, 176, 0.17);
  background: rgba(7, 19, 29, 0.92);
  color: var(--rms-ivory);
}

.capability-hero .security-model {
  justify-self: end;
  width: min(100%, 36rem);
  background:
    radial-gradient(circle at 78% 18%, rgba(31, 122, 116, 0.18), transparent 34%),
    rgba(7, 19, 29, 0.94);
}

.security-model__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  color: rgba(201, 211, 211, 0.62);
  font-size: 0.53rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.security-model svg {
  display: block;
  width: 100%;
  overflow: visible;
}

.security-model__grid {
  fill: none;
  stroke: rgba(114, 182, 176, 0.08);
  stroke-width: 1;
}

.security-model__contours {
  fill: none;
  stroke: rgba(166, 173, 179, 0.1);
  stroke-width: 1;
}

.security-model__route {
  fill: none;
  stroke: rgba(114, 182, 176, 0.42);
  stroke-dasharray: 5 7;
  stroke-width: 1.5;
}

.security-model__route-progress {
  fill: none;
  stroke: #72b6b0;
  stroke-dasharray: 5 7;
  stroke-width: 1.55;
}

.security-model__route-mask {
  fill: none;
  stroke: #ffffff;
  stroke-linecap: round;
  stroke-width: 8;
}

.security-model__level > circle {
  fill: rgba(7, 19, 29, 0.92);
  stroke: #72b6b0;
  stroke-width: 1;
}

.security-model__level > path {
  fill: none;
  stroke: #72b6b0;
  stroke-width: 1;
}

.security-model__label {
  fill: rgba(245, 245, 242, 0.88);
  font-family: "Inter", Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.security-model__annotation {
  fill: rgba(166, 173, 179, 0.55);
  font-family: "Inter", Arial, sans-serif;
  font-size: 8px;
  letter-spacing: 0.06em;
}

.security-model__coordinate {
  fill: rgba(166, 173, 179, 0.42);
  font-family: "Inter", Arial, sans-serif;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.security-model__level,
.security-model__label,
.security-model__annotation {
  transition:
    opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.security-model__level circle:nth-of-type(2) {
  transition:
    fill 260ms ease-out,
    stroke 260ms ease-out;
}

.js .security-model.is-sequence-ready:not(.is-complete) .security-model__route {
  opacity: 0.18;
}

.js .security-model.is-sequence-ready:not(.is-complete) .security-model__level {
  opacity: 0.4;
}

.js .security-model.is-sequence-ready:not(.is-complete) .security-model__label,
.js .security-model.is-sequence-ready:not(.is-complete) .security-model__annotation {
  opacity: 0.42;
}

.js .security-model.is-sequence-ready .security-model__route-mask {
  transition: stroke-dashoffset var(--security-model-duration, 3.8s) cubic-bezier(0.45, 0, 0.18, 1);
}

.js .security-model.is-animating .security-model__level.is-active,
.js .security-model.is-animating .security-model__level.is-complete {
  opacity: 1;
}

.js .security-model.is-animating .security-model__label.is-active,
.js .security-model.is-animating .security-model__label.is-complete,
.js .security-model.is-animating .security-model__level.is-active .security-model__annotation,
.js .security-model.is-animating .security-model__level.is-complete .security-model__annotation {
  opacity: 1;
}

.js .security-model.is-animating .security-model__label.is-active {
  fill: var(--rms-ivory);
}

.js .security-model.is-animating .security-model__level.is-active circle {
  animation: security-model-stage-pulse 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js .security-model.is-animating .security-model__level.is-active circle:nth-of-type(2) {
  fill: #72b6b0;
  stroke: #9acbc7;
}

.js .security-model.is-complete .security-model__route-progress {
  opacity: 0;
}

@keyframes security-model-stage-pulse {
  0% {
    filter: drop-shadow(0 0 0 rgba(114, 182, 176, 0));
    stroke-width: 1;
  }

  45% {
    filter: drop-shadow(0 0 5px rgba(114, 182, 176, 0.48));
    stroke-width: 1.75;
  }

  100% {
    filter: drop-shadow(0 0 0 rgba(114, 182, 176, 0));
    stroke-width: 1;
  }
}

.security-model__statement {
  margin: 0;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(114, 182, 176, 0.13);
  color: rgba(232, 235, 230, 0.88);
  font-family: var(--rms-serif);
  font-size: 0.98rem;
  line-height: 1.45;
}

.security-model__caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin: 0.9rem 0 0;
  padding: 0;
  color: rgba(201, 211, 211, 0.58);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.security-model__caption i {
  width: 2.4rem;
  height: 1px;
  background: rgba(114, 182, 176, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .security-model__level,
  .security-model__label,
  .security-model__annotation,
  .security-model__level circle:nth-of-type(2) {
    transition: none;
  }

  .js .security-model.is-animating .security-model__level.is-active circle {
    animation: none;
  }
}

/* Leadership profiles */
.leadership {
  background:
    linear-gradient(rgba(250, 250, 247, 0.96), rgba(250, 250, 247, 0.96)),
    url("../images/planning-field-light.svg") center / cover;
}

.leadership__intro {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: clamp(4rem, 7vw, 7rem);
}

.leadership__intro .eyebrow {
  grid-column: 1 / span 3;
}

.leadership__intro h2 {
  grid-column: 4 / span 8;
  max-width: 52rem;
  font-size: clamp(3rem, 5vw, 5.4rem);
  line-height: 0.98;
}

.leadership__intro > p {
  grid-column: 7 / span 5;
  max-width: 38rem;
  margin-top: 1rem;
  color: #46535c;
  font-size: 1.02rem;
  line-height: 1.75;
}

.leader-profile {
  display: grid;
  grid-template-columns: minmax(19rem, 0.74fr) minmax(0, 1.26fr);
  gap: clamp(4rem, 8vw, 9rem);
  align-items: start;
}

.leader-profile + .leader-profile {
  margin-top: clamp(5rem, 9vw, 8.5rem);
  padding-top: clamp(4rem, 7vw, 6.5rem);
  border-top: 1px solid var(--rms-rule);
}

.leader-profile--reverse {
  grid-template-columns: minmax(0, 1.26fr) minmax(19rem, 0.74fr);
}

.leader-profile--reverse .leader-portrait {
  order: 2;
}

.leader-profile--reverse .leader-profile__content {
  order: 1;
}

.leader-profile--pending-portrait {
  grid-template-columns: 1fr;
  max-width: 52rem;
}

.leader-profile--pending-portrait .leader-profile__content {
  max-width: 48rem;
}

.leader-portrait {
  position: relative;
}

.leadership-portrait {
  aspect-ratio: 399 / 400;
  overflow: hidden;
  border: 1px solid rgba(84, 157, 151, 0.28);
  background: #101c22;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.leadership-profile-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.leader-portrait__placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 4 / 5;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  overflow: hidden;
  color: var(--rms-ivory);
  background:
    linear-gradient(145deg, transparent 38%, rgba(31, 122, 116, 0.16)),
    var(--rms-slate);
}

.leader-portrait__placeholder::before,
.leader-portrait__placeholder::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.leader-portrait__placeholder::before {
  inset: 1.2rem;
  border: 1px solid rgba(166, 173, 179, 0.2);
  background:
    linear-gradient(rgba(114, 182, 176, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(114, 182, 176, 0.12) 1px, transparent 1px);
  background-size: 3.5rem 3.5rem;
}

.leader-portrait__placeholder::after {
  top: 17%;
  left: 50%;
  width: 42%;
  aspect-ratio: 1;
  border: 1px solid rgba(114, 182, 176, 0.3);
  border-radius: 50%;
  box-shadow:
    0 6.5rem 0 2.2rem rgba(114, 182, 176, 0.08),
    0 6.5rem 0 2.25rem rgba(114, 182, 176, 0.2);
  transform: translateX(-50%);
}

.leader-portrait__placeholder span,
.leader-portrait__placeholder strong {
  position: relative;
  z-index: 1;
}

.leader-portrait__placeholder span {
  color: rgba(245, 245, 242, 0.62);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.leader-portrait__placeholder strong {
  margin-block: 0.35rem;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 500;
}

.leader-portrait > p {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.85rem;
  color: var(--rms-muted);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.leader-profile__content {
  padding-top: 1rem;
}

.leader-profile__content h3 {
  margin-top: 1.1rem;
  font-size: clamp(3.2rem, 5.5vw, 5.8rem);
  line-height: 0.94;
}

.leader-profile__role {
  margin-top: 0.85rem;
  color: var(--rms-teal-deep);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.leader-profile__biography {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2.5rem;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--rms-rule);
}

.leader-profile__biography p {
  color: #44515a;
  line-height: 1.75;
}

.leader-profile__biography p:first-child {
  color: var(--rms-slate);
  font-size: 1.1rem;
}

.leader-profile__biography p:last-child {
  grid-column: 1 / -1;
  max-width: 50rem;
  padding-top: 0.5rem;
}

.advisor-expertise {
  margin-top: clamp(4.5rem, 8vw, 7.5rem);
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  border-top: 1px solid var(--rms-rule);
}

.advisor-expertise__heading {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.advisor-expertise__heading .eyebrow {
  grid-column: 1 / span 3;
}

.advisor-expertise__heading h3 {
  grid-column: 4 / span 8;
  max-width: 42rem;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1;
}

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

.advisor-expertise__card {
  min-height: 16rem;
  padding: clamp(1.6rem, 2.5vw, 2.4rem);
}

.advisor-expertise__card:nth-child(3n + 2),
.advisor-expertise__card:nth-child(3n + 3) {
  border-left: 1px solid var(--rms-rule);
}

.advisor-expertise__card:nth-child(n + 4) {
  border-top: 1px solid var(--rms-rule);
}

.advisor-expertise__card > span {
  color: var(--rms-teal-deep);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.advisor-expertise__card h4 {
  margin-top: 3.5rem;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.advisor-expertise__card p {
  margin-top: 0.8rem;
  color: #46535c;
  font-size: 0.9rem;
  line-height: 1.65;
}

/* Firm philosophy */
.firm-philosophy {
  position: relative;
  overflow: hidden;
  color: var(--rms-ivory);
  background:
    radial-gradient(circle at 82% 18%, rgba(31, 122, 116, 0.14), transparent 28%),
    var(--rms-slate);
}

.firm-philosophy::before {
  position: absolute;
  inset: 0;
  background: url("../images/planning-field-dark.svg") center / cover;
  content: "";
  opacity: 0.5;
  pointer-events: none;
}

.firm-philosophy .firm-shell {
  position: relative;
  z-index: 1;
}

.firm-philosophy__intro {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
}

.firm-philosophy__intro .eyebrow {
  grid-column: 1 / span 3;
}

.firm-philosophy__intro h2 {
  grid-column: 4 / span 8;
  max-width: 58rem;
  font-size: clamp(3.2rem, 5.5vw, 6rem);
  line-height: 0.96;
}

.firm-philosophy__intro > div {
  grid-column: 7 / span 5;
  margin-top: 3rem;
  color: #bdc5c7;
  font-size: 1.02rem;
  line-height: 1.8;
}

.firm-philosophy__intro > div p + p {
  margin-top: 1.25rem;
}

.firm-philosophy__principles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: clamp(4rem, 7vw, 7rem);
  border-top: 1px solid rgba(166, 173, 179, 0.25);
  border-bottom: 1px solid rgba(166, 173, 179, 0.25);
}

.philosophy-principle {
  min-height: 19rem;
  padding: clamp(1.5rem, 2.2vw, 2.2rem);
}

.philosophy-principle + .philosophy-principle {
  border-left: 1px solid rgba(166, 173, 179, 0.25);
}

.philosophy-principle > span {
  color: #72b6b0;
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.philosophy-principle h3 {
  margin-top: 5rem;
  color: var(--rms-ivory);
  font-size: clamp(1.55rem, 2vw, 2.15rem);
}

.philosophy-principle p {
  margin-top: 0.85rem;
  color: #aeb8bb;
  font-size: 0.88rem;
  line-height: 1.65;
}

/* Career continuum */
.career-continuum {
  background: #eef0ed;
}

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

.career-card {
  min-height: 32rem;
  padding: clamp(2rem, 3.5vw, 3.5rem);
}

.career-card + .career-card {
  border-left: 1px solid var(--rms-rule);
}

.career-card__icon {
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 5rem;
  color: var(--rms-teal);
}

.career-card__icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
}

.career-card > p {
  color: var(--rms-muted);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.career-card h3 {
  margin-top: 1rem;
  font-size: clamp(2rem, 3vw, 3.25rem);
  line-height: 1;
}

.career-card ul {
  margin-top: 2rem;
  color: #46535c;
}

.career-card li {
  padding-block: 0.52rem;
  border-top: 1px solid rgba(93, 104, 113, 0.2);
  font-size: 0.88rem;
}

/* Why the background matters */
.background-value {
  position: relative;
  overflow: hidden;
  color: var(--rms-ivory);
  background: var(--rms-ink);
  isolation: isolate;
}

.background-value::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../images/planning-field-dark.svg") center / cover;
  content: "";
  opacity: 0.65;
  pointer-events: none;
}

.background-value .firm-shell {
  position: relative;
  z-index: 1;
}

.background-value__intro {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
}

.background-value__intro .eyebrow {
  grid-column: 1 / span 3;
}

.background-value__intro h2 {
  grid-column: 4 / span 8;
  max-width: 59rem;
  font-size: clamp(3.2rem, 5.5vw, 6rem);
  line-height: 0.96;
}

.background-value__intro > div {
  grid-column: 7 / span 5;
  margin-top: 3rem;
  color: #bdc5c7;
  font-size: 1.02rem;
  line-height: 1.8;
}

.background-value__intro > div p + p {
  margin-top: 1.25rem;
}

.background-value__principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(4rem, 8vw, 8rem);
  border-top: 1px solid rgba(166, 173, 179, 0.25);
  border-bottom: 1px solid rgba(166, 173, 179, 0.25);
}

.value-principle {
  position: relative;
  z-index: 1;
  display: block;
  box-sizing: border-box;
  min-height: 17rem;
  padding: 2rem;
  color: inherit;
  text-decoration: none;
  transition: background-color 160ms ease-out;
}

.value-principle + .value-principle {
  border-left: 1px solid rgba(166, 173, 179, 0.25);
}

.value-principle:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

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

.value-principle:hover h3,
.value-principle:focus-visible h3 {
  color: #eef0eb;
}

.value-principle > span {
  color: #72b6b0;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.value-principle h3 {
  margin-top: 4.5rem;
  color: var(--rms-ivory);
  font-size: clamp(1.6rem, 2.3vw, 2.3rem);
  transition: color 160ms ease-out;
}

.value-principle p {
  max-width: 20rem;
  margin-top: 0.8rem;
  color: #aeb8bb;
  line-height: 1.65;
}

/* Independence */
.independence {
  background:
    linear-gradient(90deg, rgba(31, 122, 116, 0.04), transparent 42%),
    var(--rms-paper);
}

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

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

.independence__heading h2 {
  margin-top: 1.2rem;
  font-size: clamp(3rem, 5vw, 5.4rem);
  line-height: 0.96;
}

.independence__body {
  grid-column: 7 / span 5;
  padding-top: 2.1rem;
}

.independence__body > p {
  color: #46535c;
  line-height: 1.8;
}

.independence__body .independence__lead {
  margin-bottom: 1.5rem;
  color: var(--rms-slate);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  line-height: 1.35;
}

.independence__scope {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 3rem;
  border-top: 1px solid var(--rms-rule);
  border-bottom: 1px solid var(--rms-rule);
}

.independence__scope span {
  padding-block: 1rem;
  color: var(--rms-teal-deep);
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.independence__scope span + span {
  border-left: 1px solid var(--rms-rule);
}

/* Operating principles */
.operating-principles {
  color: var(--rms-ivory);
  background:
    radial-gradient(circle at 80% 15%, rgba(31, 122, 116, 0.13), transparent 28%),
    var(--rms-slate);
}

.operating-principles__list {
  border-top: 1px solid rgba(166, 173, 179, 0.25);
}

.operating-principles__list li {
  display: grid;
  grid-template-columns: 1fr 7fr;
  gap: 1.5rem;
  padding-block: 2rem;
  border-bottom: 1px solid rgba(166, 173, 179, 0.25);
}

.operating-principles__list > li > span {
  color: #72b6b0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.11em;
}

.operating-principles__list li > div {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
}

.operating-principles__list h3 {
  color: var(--rms-ivory);
  font-size: clamp(1.55rem, 2.5vw, 2.55rem);
  line-height: 1;
}

.operating-principles__list p {
  max-width: 35rem;
  color: #aeb8bb;
  line-height: 1.7;
}

/* Credentials */
.firm-credentials {
  background: #eef0ed;
}

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

.firm-credentials__layout > div:first-child {
  grid-column: 1 / span 6;
}

.firm-credentials h2 {
  max-width: 38rem;
  margin-top: 1rem;
  font-size: clamp(2.8rem, 4.5vw, 4.8rem);
  line-height: 0.98;
}

.firm-credentials__summary,
.firm-credentials__status {
  grid-column: 8 / span 5;
  padding: 2rem;
  border: 1px solid var(--rms-rule);
  background: rgba(250, 250, 247, 0.6);
}

.firm-credentials__summary p,
.firm-credentials__status p {
  color: #4b5861;
  line-height: 1.7;
}

.firm-credentials__summary p + p {
  margin-top: 1rem;
}

.firm-credentials__status span {
  display: block;
  margin-bottom: 1rem;
  color: var(--rms-teal-deep);
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Firm CTA */
.firm-cta {
  position: relative;
  width: 100%;
  min-height: 38rem;
  padding: clamp(6rem, 10vw, 10rem) var(--rms-page-inline);
  overflow: hidden;
  color: var(--rms-ivory);
  background: var(--rms-teal-deep);
}

.firm-cta__content {
  position: relative;
  z-index: 2;
  max-width: 67rem;
}

.firm-cta h2 {
  margin-top: 1.2rem;
  font-size: clamp(3.2rem, 6vw, 6.5rem);
  line-height: 0.94;
}

.firm-cta__content > p:not(.eyebrow) {
  max-width: 48rem;
  margin-top: 2rem;
  color: rgba(245, 245, 242, 0.78);
  font-size: 1.05rem;
  line-height: 1.7;
}

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

.firm-cta__diagram {
  position: absolute;
  right: -5%;
  bottom: -22%;
  display: flex;
  gap: 1.2rem;
  align-items: flex-end;
  width: 30%;
  height: 75%;
  opacity: 0.13;
  transform: rotate(8deg);
}

.firm-cta__diagram span {
  flex: 1;
  border: 1px solid var(--rms-ivory);
}

.firm-cta__diagram span:nth-child(1) {
  height: 38%;
}

.firm-cta__diagram span:nth-child(2) {
  height: 66%;
}

.firm-cta__diagram span:nth-child(3) {
  height: 100%;
}

cite {
  font-style: italic;
}

/* Firm overview / veteran-owned designation */
.firm-overview {
  background: var(--rms-paper);
  border-bottom: 1px solid var(--rms-rule);
}

.firm-overview__intro {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
}

.firm-overview__intro .eyebrow {
  grid-column: 1 / span 3;
}

.firm-overview__intro h2 {
  grid-column: 4 / span 8;
  max-width: 48rem;
  font-size: clamp(3rem, 5vw, 5.2rem);
  line-height: 0.98;
}

.firm-overview__intro > div {
  grid-column: 7 / span 5;
  margin-top: 2.5rem;
  color: #46535c;
  font-size: 1.02rem;
  line-height: 1.8;
}

.firm-overview__intro > div p + p {
  margin-top: 1.25rem;
}

.company-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(3.5rem, 6vw, 5.5rem);
  border-top: 1px solid var(--rms-rule);
  border-bottom: 1px solid var(--rms-rule);
}

.company-facts li {
  padding: 1.35rem 1.5rem;
  color: var(--rms-teal-deep);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.company-facts li + li {
  border-left: 1px solid var(--rms-rule);
}

/* Contact page */
.contact-page {
  color: var(--rms-slate);
  background: var(--rms-paper);
}

.contact-page :focus-visible {
  outline: 2px solid #59aaa3;
  outline-offset: 3px;
}

.contact-page h1,
.contact-page h2 {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.contact-page .global-nav a[aria-current="page"] {
  color: #ffffff;
}

.contact-page .global-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.contact-hero {
  position: relative;
  padding: clamp(5.5rem, 8vw, 8rem) 0 clamp(4.5rem, 7vw, 6.5rem);
  color: var(--rms-ivory);
  isolation: isolate;
}

.contact-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  background:
    radial-gradient(circle at 78% 40%, rgba(31, 122, 116, 0.16), transparent 30%),
    var(--rms-ink) url("../images/planning-field-dark.svg") center / cover;
  content: "";
  
}

.contact-hero__copy {
  max-width: 48rem;
}

.contact-hero__copy .eyebrow {
  color: #72b6b0;
}

.contact-hero h1 {
  margin-top: 1.4rem;
  font-size: clamp(3.4rem, 5.8vw, 6.4rem);
  line-height: 0.94;
}

.contact-hero__copy > p {
  max-width: 40rem;
  margin-top: 2rem;
  color: #c4cacc;
  font-size: 1.08rem;
  line-height: 1.75;
}

.contact-info__layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
}

.contact-info__intro {
  grid-column: 1 / span 6;
}

.contact-info__intro h2 {
  margin-top: 1.1rem;
  font-size: clamp(2.6rem, 4.5vw, 4.4rem);
  line-height: 1;
}

.contact-info__intro > p {
  margin-top: 1rem;
  color: var(--rms-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.company-facts--contact {
  grid-column: 1 / -1;
  margin-top: 3rem;
}

.contact-info__action {
  grid-column: 8 / span 5;
  margin-top: 1rem;
}

.contact-info__action p {
  max-width: 36rem;
  margin-bottom: 1.75rem;
  color: #46535c;
  line-height: 1.75;
}

.contact-details {
  display: grid;
  gap: 1.15rem;
  margin-bottom: 1.75rem;
}

.contact-detail {
  display: block;
  margin: 0;
  min-width: 0;
}

.contact-detail__label {
  display: block;
  margin: 0 0 0.35rem;
  color: var(--rms-muted, #5f6b72);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-detail__value {
  display: block;
  max-width: 100%;
  color: var(--rms-teal-deep);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.4;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-detail__value[href^="tel:"] {
  white-space: nowrap;
}

.contact-detail__text {
  display: block;
  max-width: 100%;
  color: #46535c;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.5;
}

.contact-detail__value:hover {
  text-decoration: underline;
}

.contact-info__action .button--primary {
  margin-top: 0.15rem;
}

/* ==========================================================================
   Consultation intake page
   ========================================================================== */
.consultation-page {
  color: var(--rms-slate);
  background: var(--rms-paper);
}

.consultation-page :focus-visible {
  outline: 2px solid var(--rms-teal);
  outline-offset: 3px;
}

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

.consultation-hero {
  position: relative;
  padding: clamp(5.5rem, 8vw, 8rem) 0 clamp(4.5rem, 7vw, 6.5rem);
  color: var(--rms-ivory);
  isolation: isolate;
}

.consultation-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  background:
    radial-gradient(circle at 78% 40%, rgba(31, 122, 116, 0.16), transparent 30%),
    var(--rms-ink) url("../images/planning-field-dark.svg") center / cover;
  content: "";
  
}

.consultation-hero__copy {
  max-width: 48rem;
}

.consultation-hero__copy .eyebrow {
  color: #72b6b0;
}

.consultation-hero h1 {
  margin-top: 1.4rem;
  font-size: clamp(3.4rem, 5.8vw, 6.4rem);
  line-height: 0.94;
}

.consultation-hero__copy > p {
  max-width: 40rem;
  margin-top: 2rem;
  color: #c4cacc;
  font-size: 1.08rem;
  line-height: 1.75;
}

.consultation-form-section {
  background: var(--rms-paper);
  background-image: url("../images/planning-field-light.svg");
  background-position: center;
  background-size: cover;
}

.consultation-form-intro {
  max-width: 42rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.consultation-form-intro h2 {
  margin-top: 1rem;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1;
}

.consultation-form-intro > p {
  margin-top: 1.25rem;
  color: #5d676d;
  line-height: 1.7;
}

.intake-form {
  max-width: 58rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--rms-rule);
  background: rgba(250, 250, 247, 0.88);
}

.intake-form__honey {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.intake-form__section {
  margin: 0;
  padding: 0 0 clamp(2rem, 4vw, 2.75rem);
  border: 0;
  border-bottom: 1px solid var(--rms-rule);
}

.intake-form__section + .intake-form__section {
  margin-top: clamp(2rem, 4vw, 2.75rem);
}

.intake-form__section > legend {
  padding: 0;
  color: var(--rms-teal-deep);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.intake-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
  margin-top: 1.5rem;
}

.intake-form__grid--project {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.intake-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.intake-field--full {
  grid-column: 1 / -1;
}

.intake-field > label,
.intake-field__choice > legend {
  color: var(--rms-ink);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.intake-field input[type="text"],
.intake-field input[type="email"],
.intake-field input[type="tel"],
.intake-field select,
.intake-field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid #c8ced0;
  border-radius: 0.2rem;
  color: var(--rms-ink);
  background: #fff;
  transition: border-color 160ms ease-out, box-shadow 160ms ease-out;
}

.intake-field textarea {
  min-height: 8rem;
  resize: vertical;
}

.intake-field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #5d676d 50%),
    linear-gradient(135deg, #5d676d 50%, transparent 50%);
  background-position:
    calc(100% - 1.15rem) calc(50% - 0.15rem),
    calc(100% - 0.85rem) calc(50% - 0.15rem);
  background-size: 0.35rem 0.35rem, 0.35rem 0.35rem;
  background-repeat: no-repeat;
}

.intake-field input:focus-visible,
.intake-field select:focus-visible,
.intake-field textarea:focus-visible {
  border-color: var(--rms-teal);
  box-shadow: 0 0 0 3px rgba(31, 122, 116, 0.18);
  outline: none;
}

.intake-field.is-invalid input,
.intake-field.is-invalid select,
.intake-field.is-invalid textarea {
  border-color: #9b3b3b;
}

.intake-field__error {
  margin: 0;
  color: #9b3b3b;
  font-size: 0.78rem;
  line-height: 1.4;
}

.intake-field__choice {
  margin: 0;
  padding: 0;
  border: 0;
}

.intake-field__choice > legend {
  margin-bottom: 0.65rem;
}

.intake-choice-list,
.intake-check-grid {
  display: grid;
  gap: 0.65rem;
}

.intake-check-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.intake-choice {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  min-height: 2.4rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid transparent;
  color: #3f4a51;
  font-size: 0.92rem;
  line-height: 1.4;
  cursor: pointer;
}

.intake-choice:hover {
  border-color: var(--rms-rule);
  background: rgba(255, 255, 255, 0.7);
}

.intake-choice input {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin-top: 0.2rem;
  accent-color: var(--rms-teal-deep);
}

.intake-field--other {
  margin-top: 1rem;
}

.intake-form__submit {
  display: grid;
  gap: 1.25rem;
  justify-items: start;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}

.intake-form__hint {
  margin: 0 0 1rem;
  color: #6a747a;
  font-size: 0.9rem;
}

.intake-form__consent {
  max-width: 40rem;
  margin: 0;
  color: #46535c;
  font-size: 0.92rem;
  line-height: 1.65;
}

.intake-form__consent a {
  color: var(--rms-teal-deep);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.intake-form__note {
  max-width: 40rem;
  margin: 0;
  color: #6a747a;
  font-size: 0.88rem;
  line-height: 1.65;
}

.intake-form__direct-contact {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.intake-form__direct-contact .contact-detail__value {
  font-size: 0.95rem;
}

.intake-check-grid.is-invalid {
  outline: 1px solid rgba(166, 68, 68, 0.45);
  outline-offset: 0.35rem;
}

.intake-form__status {
  margin: 0;
  color: var(--rms-teal-deep);
  font-size: 0.9rem;
}

.intake-form__status.is-error {
  color: #9b3b3b;
}

@media (max-width: 48rem) {
  .intake-form__grid,
  .intake-form__grid--project,
  .intake-check-grid {
    grid-template-columns: 1fr;
  }

  .intake-form {
    padding: 1.35rem 1.1rem 1.6rem;
  }
}

/* ==========================================================================
   Methodology page
   ========================================================================== */
.methodology-page {
  color: var(--rms-slate);
  background: var(--rms-paper);
}

.methodology-page :focus-visible {
  outline: 2px solid #59aaa3;
  outline-offset: 3px;
}

.methodology-page h1,
.methodology-page h2,
.methodology-page h3 {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.methodology-page .global-nav a[aria-current="page"] {
  color: #ffffff;
}

.methodology-page .global-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.method-hero {
  position: relative;
  padding: clamp(5.5rem, 8vw, 8rem) 0 clamp(4.5rem, 7vw, 6.5rem);
  color: var(--rms-ivory);
  isolation: isolate;
}

.method-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(22rem, 0.85fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.method-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  background:
    radial-gradient(circle at 78% 40%, rgba(31, 122, 116, 0.16), transparent 30%),
    var(--rms-ink) url("../images/planning-field-dark.svg") center / cover;
  content: "";
  
}

.method-hero__copy {
  max-width: 52rem;
}

.method-hero .security-model {
  width: min(100%, 34rem);
  justify-self: end;
  background:
    radial-gradient(circle at 78% 18%, rgba(31, 122, 116, 0.2), transparent 34%),
    rgba(7, 19, 29, 0.72);
}

.method-hero__copy .eyebrow {
  color: #72b6b0;
}

.method-hero h1 {
  margin-top: 1.4rem;
  font-size: clamp(3.4rem, 5.8vw, 6.4rem);
  line-height: 0.94;
}

.method-hero__copy > p {
  max-width: 42rem;
  margin-top: 2rem;
  color: #c4cacc;
  font-size: 1.08rem;
  line-height: 1.75;
}

.method-process {
  background: var(--rms-paper);
}

.method-stages {
  border-top: 1px solid var(--rms-rule);
}

.method-stages li {
  display: grid;
  grid-template-columns: 1fr 7fr;
  gap: 1.5rem;
  padding-block: 2rem;
  border-bottom: 1px solid var(--rms-rule);
}

.method-stages > li > span {
  color: var(--rms-teal-deep);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.11em;
}

.method-stages h3 {
  font-size: clamp(1.55rem, 2.4vw, 2.4rem);
  line-height: 1;
}

.method-stages p {
  max-width: 42rem;
  margin-top: 0.75rem;
  color: #46535c;
  line-height: 1.7;
}

.method-perspective {
  color: var(--rms-ivory);
  background:
    radial-gradient(circle at 80% 20%, rgba(31, 122, 116, 0.14), transparent 28%),
    var(--rms-slate);
}

.method-perspective__layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.method-perspective__copy {
  grid-column: 1 / span 8;
  max-width: 48rem;
}

.method-perspective__copy .eyebrow {
  color: #72b6b0;
}

.method-perspective h2 {
  margin-top: 1.2rem;
  font-size: clamp(3rem, 5vw, 5.2rem);
  line-height: 0.98;
}

.method-perspective__copy > p {
  margin-top: 1.5rem;
  color: #b5bec1;
  font-size: 1.02rem;
  line-height: 1.8;
}

.method-perspective .text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 2.25rem;
  color: var(--rms-ivory);
  text-decoration: none;
  border-bottom: 1px solid rgba(114, 182, 176, 0.55);
  padding-bottom: 0.2rem;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.method-perspective .text-link:hover,
.method-perspective .text-link:focus-visible {
  color: #72b6b0;
}

/* ==========================================================================
   Insights page
   ========================================================================== */
.insights-page {
  color: var(--rms-slate);
  background: var(--rms-paper);
}

.insights-page :focus-visible {
  outline: 2px solid #59aaa3;
  outline-offset: 3px;
}

.insights-page h1,
.insights-page h2,
.insights-page h3 {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.insights-page .global-nav a[aria-current="page"] {
  color: #ffffff;
}

.insights-page .global-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.insights-hero {
  position: relative;
  padding: clamp(5.5rem, 8vw, 8rem) 0 clamp(4.5rem, 7vw, 6.5rem);
  color: var(--rms-ivory);
  isolation: isolate;
}

.insights-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  background:
    radial-gradient(circle at 78% 40%, rgba(31, 122, 116, 0.16), transparent 30%),
    var(--rms-ink) url("../images/planning-field-dark.svg") center / cover;
  content: "";
  
}

.insights-hero__copy {
  max-width: 52rem;
}

.insights-hero__copy .eyebrow {
  color: #72b6b0;
}

.insights-hero h1 {
  margin-top: 1.4rem;
  font-size: clamp(3.4rem, 5.8vw, 6.4rem);
  line-height: 0.94;
}

.insights-hero__copy > p {
  max-width: 42rem;
  margin-top: 2rem;
  color: #c4cacc;
  font-size: 1.08rem;
  line-height: 1.75;
}

.publications {
  background:
    linear-gradient(rgba(250, 250, 247, 0.96), rgba(250, 250, 247, 0.96)),
    url("../images/planning-field-light.svg") center / cover;
}

.book-series {
  display: grid;
  grid-template-columns: minmax(16rem, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2.75rem, 5vw, 5.5rem);
  align-items: center;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}

.book-series__visual {
  display: flex;
  justify-content: center;
}

.book-series__stage {
  position: relative;
  width: min(100%, 28rem);
  aspect-ratio: 1.05 / 1;
  margin: 0;
}

.book-series__cover {
  position: absolute;
  margin: 0;
  width: 40%;
  filter: drop-shadow(0 12px 24px rgba(13, 27, 36, 0.14));
}

.book-series__cover img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.book-series__cover--left {
  top: 11%;
  left: 0;
  z-index: 1;
  transform: rotate(-3.5deg);
}

.book-series__cover--center {
  top: 2%;
  left: 50%;
  z-index: 3;
  width: 46%;
  transform: translateX(-50%);
  filter: drop-shadow(0 16px 30px rgba(13, 27, 36, 0.18));
}

.book-series__cover--right {
  top: 13%;
  right: 0;
  left: auto;
  z-index: 2;
  transform: rotate(3.5deg);
}

.book-series__category {
  color: var(--rms-teal-deep);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.book-series__content h3 {
  margin-top: 0.9rem;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2.2rem, 3.6vw, 3.4rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.book-series__titles {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.book-series__titles li {
  position: relative;
  padding-left: 1rem;
  color: var(--rms-slate);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.45;
}

.book-series__titles li + li {
  margin-top: 0.65rem;
}

.book-series__titles li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--rms-teal);
  content: "";
  transform: translateY(-50%);
}

.book-series__content > p {
  max-width: 38rem;
  margin-top: 1.5rem;
  margin-bottom: 0;
  color: #46535c;
  line-height: 1.75;
}

.book-series__author {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
  color: var(--rms-muted) !important;
  font-size: 0.95rem;
}

.publications__pipeline {
  margin-top: clamp(3rem, 5vw, 4.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--rms-rule);
}

.publications__note {
  max-width: 42rem;
  color: var(--rms-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}
